From 777df362585b60a67d0bae304efd84b402b7541e Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Wed, 19 Jun 2024 11:43:36 +0900 Subject: [PATCH 01/11] Update README.md (#565) Co-authored-by: Abigail Hartman --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 73f7597f7f..05e7008c7a 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,7 @@ Note: settings starting with `AZURE_SEARCH` are only needed when using Azure Ope |AZURE_SEARCH_TOP_K|5|The number of documents to retrieve from Azure AI Search.| |AZURE_SEARCH_ENABLE_IN_DOMAIN|True|Limits responses to only queries relating to your data.| |AZURE_SEARCH_CONTENT_COLUMNS||List of fields in your Azure AI Search index that contains the text content of your documents to use when formulating a bot response. Represent these as a string joined with "|", e.g. `"product_description|product_manual"`| -|AZURE_SEARCH_FILENAME_COLUMN|| Field from your Azure AI Search index that gives a unique idenitfier of the source of your data to display in the UI.| +|AZURE_SEARCH_FILENAME_COLUMN|| Field from your Azure AI Search index that gives a unique identifier of the source of your data to display in the UI.| |AZURE_SEARCH_TITLE_COLUMN||Field from your Azure AI Search index that gives a relevant title or header for your data content to display in the UI.| |AZURE_SEARCH_URL_COLUMN||Field from your Azure AI Search index that contains a URL for the document, e.g. an Azure Blob Storage URI. This value is not currently used.| |AZURE_SEARCH_VECTOR_COLUMNS||List of fields in your Azure AI Search index that contain vector embeddings of your documents to use when formulating a bot response. Represent these as a string joined with "|", e.g. `"product_description|product_manual"`| From bd16c6488eba124cb4536eac7b4b85faf17f043a Mon Sep 17 00:00:00 2001 From: Abigail Hartman Date: Wed, 19 Jun 2024 10:13:11 -0700 Subject: [PATCH 02/11] Fix docker login issue in CI pipeline (#935) --- .github/workflows/docker-image-build.yml | 2 +- .github/workflows/docker-image-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image-build.yml b/.github/workflows/docker-image-build.yml index 0f54bdbc23..c2c573ca79 100644 --- a/.github/workflows/docker-image-build.yml +++ b/.github/workflows/docker-image-build.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Azure Container Registry Login - uses: Azure/docker-login@v1 + uses: Azure/docker-login@v2 with: # Container registry username username: ${{ secrets.SAMPLEAPP_ACR_USERNAME }} diff --git a/.github/workflows/docker-image-publish.yml b/.github/workflows/docker-image-publish.yml index 4cfca2010b..7a3ccdc1ba 100644 --- a/.github/workflows/docker-image-publish.yml +++ b/.github/workflows/docker-image-publish.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Azure Container Registry Login - uses: Azure/docker-login@v1 + uses: Azure/docker-login@v2 with: # Container registry username username: ${{ secrets.SAMPLEAPP_ACR_USERNAME }} From 7fac3250d5d78674bca03b884fea707db2c3ce1e Mon Sep 17 00:00:00 2001 From: Abigail Hartman Date: Wed, 19 Jun 2024 12:47:34 -0700 Subject: [PATCH 03/11] Remove docker login step from the build workflow (#943) --- .github/workflows/docker-image-build.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/docker-image-build.yml b/.github/workflows/docker-image-build.yml index c2c573ca79..44f852dbd7 100644 --- a/.github/workflows/docker-image-build.yml +++ b/.github/workflows/docker-image-build.yml @@ -12,16 +12,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Azure Container Registry Login - uses: Azure/docker-login@v2 - with: - # Container registry username - username: ${{ secrets.SAMPLEAPP_ACR_USERNAME }} - # Container registry password - password: ${{ secrets.SAMPLEAPP_ACR_PASSWORD }} - # Container registry server url - login-server: sampleappaoaichatgpt.azurecr.io - - uses: actions/checkout@v3 - name: Build the Docker image run: From cd03c6aee30ddd3bed3d69cd8452f320e6c04f15 Mon Sep 17 00:00:00 2001 From: Slava Reznitsky <30771358+slreznit@users.noreply.github.com> Date: Thu, 20 Jun 2024 02:49:31 +0300 Subject: [PATCH 04/11] Add more headers and conversation-id to Defender for AI (#858) --- app.py | 3 ++- backend/security/ms_defender_utils.py | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index e80a8642b0..04299e823d 100644 --- a/app.py +++ b/app.py @@ -207,7 +207,8 @@ def prepare_model_args(request_body, request_headers): user_json = None if (MS_DEFENDER_ENABLED): authenticated_user_details = get_authenticated_user_details(request_headers) - user_json = get_msdefender_user_json(authenticated_user_details, request_headers) + conversation_id = request_body.get("conversation_id", None) + user_json = get_msdefender_user_json(authenticated_user_details, request_headers, conversation_id) model_args = { "messages": messages, diff --git a/backend/security/ms_defender_utils.py b/backend/security/ms_defender_utils.py index 1c62e782b2..8785c253fb 100644 --- a/backend/security/ms_defender_utils.py +++ b/backend/security/ms_defender_utils.py @@ -1,11 +1,14 @@ import json -def get_msdefender_user_json(authenticated_user_details, request_headers): +def get_msdefender_user_json(authenticated_user_details, request_headers, conversation_id): auth_provider = authenticated_user_details.get('auth_provider') - source_ip = request_headers.get('X-Forwarded-For', request_headers.get('Remote-Addr', '')) + source_ip = request_headers.get('Remote-Addr', '') + header_names = ['User-Agent', 'X-Forwarded-For', 'Forwarded', 'X-Real-IP', 'True-Client-IP', 'CF-Connecting-IP'] user_args = { "EndUserId": authenticated_user_details.get('user_principal_id'), "EndUserIdType": "EntraId" if auth_provider == "aad" else auth_provider, "SourceIp": source_ip.split(':')[0], #remove port + "SourceRequestHeaders": {header: request_headers[header] for header in header_names if header in request_headers}, + "ConversationId": conversation_id, } return json.dumps(user_args) \ No newline at end of file From 3bf8484facb313af724b6c294173c13461897909 Mon Sep 17 00:00:00 2001 From: Ian Cassidy Date: Thu, 20 Jun 2024 12:00:00 -0400 Subject: [PATCH 05/11] Bug: fix generate title function (#933) --- .env.sample | 1 + app.py | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.env.sample b/.env.sample index 41e29fbe34..ad51840680 100644 --- a/.env.sample +++ b/.env.sample @@ -37,6 +37,7 @@ AZURE_COSMOSDB_CONVERSATIONS_CONTAINER=conversations AZURE_COSMOSDB_ACCOUNT_KEY= AZURE_COSMOSDB_ENABLE_FEEDBACK=False # Chat with data: common settings +DATASOURCE_TYPE= SEARCH_TOP_K=5 SEARCH_STRICTNESS=3 SEARCH_ENABLE_IN_DOMAIN=True diff --git a/app.py b/app.py index 04299e823d..84872aa5fd 100644 --- a/app.py +++ b/app.py @@ -836,9 +836,9 @@ async def ensure_cosmos(): return jsonify({"error": "CosmosDB is not working"}), 500 -async def generate_title(conversation_messages): +async def generate_title(conversation_messages) -> str: ## make sure the messages are sorted by _ts descending - title_prompt = 'Summarize the conversation so far into a 4-word or less title. Do not use any quotation marks or punctuation. Respond with a json object in the format {{"title": string}}. Do not include any other commentary or description.' + title_prompt = "Summarize the conversation so far into a 4-word or less title. Do not use any quotation marks or punctuation. Do not include any other commentary or description." messages = [ {"role": msg["role"], "content": msg["content"]} @@ -847,14 +847,15 @@ async def generate_title(conversation_messages): messages.append({"role": "user", "content": title_prompt}) try: - azure_openai_client = init_openai_client(use_data=False) + azure_openai_client = init_openai_client() response = await azure_openai_client.chat.completions.create( model=app_settings.azure_openai.model, messages=messages, temperature=1, max_tokens=64 ) - title = json.loads(response.choices[0].message.content)["title"] + title = response.choices[0].message.content return title except Exception as e: + logging.exception("Exception while generating title", e) return messages[-2]["content"] From ea5bec73fbac6d1f09068f7a2f16d20908b68be5 Mon Sep 17 00:00:00 2001 From: DOliana Date: Fri, 21 Jun 2024 01:10:49 +0200 Subject: [PATCH 06/11] Eable entra ID authentication (#910) Co-authored-by: Denis Oliana --- README.md | 26 ++++++++++++++++++++------ app.py | 2 +- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 05e7008c7a..e2fed1eb7f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Please see the [section below](#add-an-identity-provider) for important informat These variables are required: - `AZURE_OPENAI_RESOURCE` - `AZURE_OPENAI_MODEL` - - `AZURE_OPENAI_KEY` + - `AZURE_OPENAI_KEY` (optional if using Entra ID) These variables are optional: - `AZURE_OPENAI_TEMPERATURE` @@ -58,7 +58,7 @@ NOTE: You may find you need to set: MacOS: `export NODE_OPTIONS="--max-old-space - `DATASOURCE_TYPE` (should be set to `AzureCognitiveSearch`) - `AZURE_SEARCH_SERVICE` - `AZURE_SEARCH_INDEX` - - `AZURE_SEARCH_KEY` + - `AZURE_SEARCH_KEY` (optional if using Entra ID) These variables are optional: - `AZURE_SEARCH_USE_SEMANTIC_SEARCH` @@ -188,6 +188,20 @@ The Citation panel is defined at the end of `frontend/src/pages/chat/Chat.tsx`. ``` +### Using Entra ID + +The app uses Azure OpenAI on your data [(see documentation)](https://learn.microsoft.com/en-us/azure/ai-services/openai/references/on-your-data). To enable Entra ID for intra-service authentication + +1. Enable managed identity on Azure OpenAI +2. Configure AI search to allow access from Azure OpenAI + 1. Enable Role Based Access control on the used AI search instance [(see documentation)](https://learn.microsoft.com/en-us/azure/search/search-security-enable-roles) + 2. Assign `Search Index Data Reader` and `Search Service Contributor` to the identity of the Azure OpenAI instance +3. Do not configure `AZURE_SEARCH_KEY` and `AZURE_OPENAI_KEY` to use Entra ID authentication. +4. Configure the webapp identity + 1. Enable managed identity in the app service that hosts the webapp + 2. Go to the Azure OpenAI instance and assign the role `Cognitive Services OpenAI User` to the identity of the webapp + +Note: RBAC assignments can take a few minutes before becoming effective. ### Best Practices We recommend keeping these best practices in mind: @@ -207,7 +221,7 @@ Note: settings starting with `AZURE_SEARCH` are only needed when using Azure Ope | --- | --- | ------------- | |AZURE_SEARCH_SERVICE||The name of your Azure AI Search resource| |AZURE_SEARCH_INDEX||The name of your Azure AI Search Index| -|AZURE_SEARCH_KEY||An **admin key** for your Azure AI Search resource| +|AZURE_SEARCH_KEY||An **admin key** for your Azure AI Search resource.| |AZURE_SEARCH_USE_SEMANTIC_SEARCH|False|Whether or not to use semantic search| |AZURE_SEARCH_QUERY_TYPE|simple|Query type: simple, semantic, vector, vectorSimpleHybrid, or vectorSemanticHybrid. Takes precedence over AZURE_SEARCH_USE_SEMANTIC_SEARCH| |AZURE_SEARCH_SEMANTIC_SEARCH_CONFIG||The name of the semantic search configuration to use if using semantic search.| @@ -220,11 +234,11 @@ Note: settings starting with `AZURE_SEARCH` are only needed when using Azure Ope |AZURE_SEARCH_VECTOR_COLUMNS||List of fields in your Azure AI Search index that contain vector embeddings of your documents to use when formulating a bot response. Represent these as a string joined with "|", e.g. `"product_description|product_manual"`| |AZURE_SEARCH_PERMITTED_GROUPS_COLUMN||Field from your Azure AI Search index that contains AAD group IDs that determine document-level access control.| |AZURE_SEARCH_STRICTNESS|3|Integer from 1 to 5 specifying the strictness for the model limiting responses to your data.| -|AZURE_OPENAI_RESOURCE||the name of your Azure OpenAI resource| +|AZURE_OPENAI_RESOURCE||the name of your Azure OpenAI resource (only one of AZURE_OPENAI_RESOURCE/AZURE_OPENAI_ENDPOINT is required)| |AZURE_OPENAI_MODEL||The name of your model deployment| -|AZURE_OPENAI_ENDPOINT||The endpoint of your Azure OpenAI resource.| +|AZURE_OPENAI_ENDPOINT||The endpoint of your Azure OpenAI resource (only one of AZURE_OPENAI_RESOURCE/AZURE_OPENAI_ENDPOINT is required)| |AZURE_OPENAI_MODEL_NAME|gpt-35-turbo-16k|The name of the model| -|AZURE_OPENAI_KEY||One of the API keys of your Azure OpenAI resource| +|AZURE_OPENAI_KEY||One of the API keys of your Azure OpenAI resource (optional if using Entra ID)| |AZURE_OPENAI_TEMPERATURE|0|What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. A value of 0 is recommended when using your data.| |AZURE_OPENAI_TOP_P|1.0|An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. We recommend setting this to 1.0 when using your data.| |AZURE_OPENAI_MAX_TOKENS|1000|The maximum number of tokens allowed for the generated answer.| diff --git a/app.py b/app.py index 84872aa5fd..aab516842f 100644 --- a/app.py +++ b/app.py @@ -126,7 +126,7 @@ def init_openai_client(): aoai_api_key = app_settings.azure_openai.key ad_token_provider = None if not aoai_api_key: - logging.debug("No AZURE_OPENAI_KEY found, using Azure AD auth") + logging.debug("No AZURE_OPENAI_KEY found, using Azure Entra ID auth") ad_token_provider = get_bearer_token_provider( DefaultAzureCredential(), "https://cognitiveservices.azure.com/.default" ) From e9c8954be4f20fd99ea47530ed612582e0207c5a Mon Sep 17 00:00:00 2001 From: Ian Seabock Date: Thu, 20 Jun 2024 16:28:52 -0700 Subject: [PATCH 07/11] Do not sanitize links (#944) Co-authored-by: Ian Seabock (Centific Technologies Inc) --- frontend/src/components/Answer/Answer.tsx | 4 ++-- .../{xssAllowTags.ts => sanatizeAllowables.ts} | 2 ++ frontend/src/pages/chat/Chat.tsx | 3 +-- static/assets/{index-252b88f2.js => index-2e11eaf6.js} | 10 +++++----- .../{index-252b88f2.js.map => index-2e11eaf6.js.map} | 2 +- static/index.html | 2 +- 6 files changed, 12 insertions(+), 11 deletions(-) rename frontend/src/constants/{xssAllowTags.ts => sanatizeAllowables.ts} (90%) rename static/assets/{index-252b88f2.js => index-2e11eaf6.js} (93%) rename static/assets/{index-252b88f2.js.map => index-2e11eaf6.js.map} (69%) diff --git a/frontend/src/components/Answer/Answer.tsx b/frontend/src/components/Answer/Answer.tsx index 877145a791..10087a1c16 100644 --- a/frontend/src/components/Answer/Answer.tsx +++ b/frontend/src/components/Answer/Answer.tsx @@ -10,7 +10,7 @@ import remarkGfm from 'remark-gfm' import supersub from 'remark-supersub' import Plot from 'react-plotly.js' import { AskResponse, Citation, Feedback, historyMessageFeedback } from '../../api' -import { XSSAllowTags } from '../../constants/xssAllowTags' +import { XSSAllowTags, XSSAllowAttributes } from '../../constants/sanatizeAllowables' import { AppStateContext } from '../../state/AppProvider' import { parseAnswer } from './AnswerParser' @@ -253,7 +253,7 @@ export const Answer = ({ answer, onCitationClicked, onExectResultClicked }: Prop remarkPlugins={[remarkGfm, supersub]} children={ SANITIZE_ANSWER - ? DOMPurify.sanitize(parsedAnswer.markdownFormatText, { ALLOWED_TAGS: XSSAllowTags }) + ? DOMPurify.sanitize(parsedAnswer.markdownFormatText, { ALLOWED_TAGS: XSSAllowTags, ALLOWED_ATTR: XSSAllowAttributes }) : parsedAnswer.markdownFormatText } className={styles.answerText} diff --git a/frontend/src/constants/xssAllowTags.ts b/frontend/src/constants/sanatizeAllowables.ts similarity index 90% rename from frontend/src/constants/xssAllowTags.ts rename to frontend/src/constants/sanatizeAllowables.ts index 371ae39cf6..81178fe38c 100644 --- a/frontend/src/constants/xssAllowTags.ts +++ b/frontend/src/constants/sanatizeAllowables.ts @@ -42,3 +42,5 @@ export const XSSAllowTags = [ 'ol', 'li' ] + +export const XSSAllowAttributes = ['href'] diff --git a/frontend/src/pages/chat/Chat.tsx b/frontend/src/pages/chat/Chat.tsx index f3222d0689..7d1fcd4490 100644 --- a/frontend/src/pages/chat/Chat.tsx +++ b/frontend/src/pages/chat/Chat.tsx @@ -13,7 +13,7 @@ import { nord } from 'react-syntax-highlighter/dist/esm/styles/prism' import styles from './Chat.module.css' import Contoso from '../../assets/Contoso.svg' -import { XSSAllowTags } from '../../constants/xssAllowTags' +import { XSSAllowTags } from '../../constants/sanatizeAllowables' import { ChatMessage, @@ -32,7 +32,6 @@ import { CosmosDBStatus, ErrorMessage, ExecResults, - AzureSqlServerCodeExecResult } from "../../api"; import { Answer } from "../../components/Answer"; import { QuestionInput } from "../../components/QuestionInput"; diff --git a/static/assets/index-252b88f2.js b/static/assets/index-2e11eaf6.js similarity index 93% rename from static/assets/index-252b88f2.js rename to static/assets/index-2e11eaf6.js index 48d0439667..d2f9dfd5cd 100644 --- a/static/assets/index-252b88f2.js +++ b/static/assets/index-2e11eaf6.js @@ -146,7 +146,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho */var i=function(S){var U=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,K=0,k={},D={manual:S.Prism&&S.Prism.manual,disableWorkerMessageHandler:S.Prism&&S.Prism.disableWorkerMessageHandler,util:{encode:function l(s){return s instanceof r?new r(s.type,l(s.content),s.alias):Array.isArray(s)?s.map(l):s.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(v){var l=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(v.stack)||[])[1];if(l){var s=document.getElementsByTagName("script");for(var h in s)if(s[h].src==l)return s[h]}return null}},isActive:function(l,s,h){for(var v="no-"+s;l;){var u=l.classList;if(u.contains(s))return!0;if(u.contains(v))return!1;l=l.parentElement}return!!h}},languages:{plain:k,plaintext:k,text:k,txt:k,extend:function(l,s){var h=D.util.clone(D.languages[l]);for(var v in s)h[v]=s[v];return h},insertBefore:function(l,s,h,v){v=v||D.languages;var u=v[l],b={};for(var m in u)if(u.hasOwnProperty(m)){if(m==s)for(var C in h)h.hasOwnProperty(C)&&(b[C]=h[C]);h.hasOwnProperty(m)||(b[m]=u[m])}var g=v[l];return v[l]=b,D.languages.DFS(D.languages,function(f,x){x===g&&f!=l&&(this[f]=b)}),b},DFS:function l(s,h,v,u){u=u||{};var b=D.util.objId;for(var m in s)if(s.hasOwnProperty(m)){h.call(s,m,s[m],v||m);var C=s[m],g=D.util.type(C);g==="Object"&&!u[b(C)]?(u[b(C)]=!0,l(C,h,null,u)):g==="Array"&&!u[b(C)]&&(u[b(C)]=!0,l(C,h,m,u))}}},plugins:{},highlightAll:function(l,s){D.highlightAllUnder(document,l,s)},highlightAllUnder:function(l,s,h){var v={callback:h,container:l,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};D.hooks.run("before-highlightall",v),v.elements=Array.prototype.slice.apply(v.container.querySelectorAll(v.selector)),D.hooks.run("before-all-elements-highlight",v);for(var u=0,b;b=v.elements[u++];)D.highlightElement(b,s===!0,v.callback)},highlightElement:function(l,s,h){var v=D.util.getLanguage(l),u=D.languages[v];D.util.setLanguage(l,v);var b=l.parentElement;b&&b.nodeName.toLowerCase()==="pre"&&D.util.setLanguage(b,v);var m=l.textContent,C={element:l,language:v,grammar:u,code:m};function g(x){C.highlightedCode=x,D.hooks.run("before-insert",C),C.element.innerHTML=C.highlightedCode,D.hooks.run("after-highlight",C),D.hooks.run("complete",C),h&&h.call(C.element)}if(D.hooks.run("before-sanity-check",C),b=C.element.parentElement,b&&b.nodeName.toLowerCase()==="pre"&&!b.hasAttribute("tabindex")&&b.setAttribute("tabindex","0"),!C.code){D.hooks.run("complete",C),h&&h.call(C.element);return}if(D.hooks.run("before-highlight",C),!C.grammar){g(D.util.encode(C.code));return}if(s&&S.Worker){var f=new Worker(D.filename);f.onmessage=function(x){g(x.data)},f.postMessage(JSON.stringify({language:C.language,code:C.code,immediateClose:!0}))}else g(D.highlight(C.code,C.grammar,C.language))},highlight:function(l,s,h){var v={code:l,grammar:s,language:h};if(D.hooks.run("before-tokenize",v),!v.grammar)throw new Error('The language "'+v.language+'" has no grammar.');return v.tokens=D.tokenize(v.code,v.grammar),D.hooks.run("after-tokenize",v),r.stringify(D.util.encode(v.tokens),v.language)},tokenize:function(l,s){var h=s.rest;if(h){for(var v in h)s[v]=h[v];delete s.rest}var u=new o;return _(u,u.head,l),A(l,u,s,u.head,0),p(u)},hooks:{all:{},add:function(l,s){var h=D.hooks.all;h[l]=h[l]||[],h[l].push(s)},run:function(l,s){var h=D.hooks.all[l];if(!(!h||!h.length))for(var v=0,u;u=h[v++];)u(s)}},Token:r};S.Prism=D;function r(l,s,h,v){this.type=l,this.content=s,this.alias=h,this.length=(v||"").length|0}r.stringify=function l(s,h){if(typeof s=="string")return s;if(Array.isArray(s)){var v="";return s.forEach(function(g){v+=l(g,h)}),v}var u={type:s.type,content:l(s.content,h),tag:"span",classes:["token",s.type],attributes:{},language:h},b=s.alias;b&&(Array.isArray(b)?Array.prototype.push.apply(u.classes,b):u.classes.push(b)),D.hooks.run("wrap",u);var m="";for(var C in u.attributes)m+=" "+C+'="'+(u.attributes[C]||"").replace(/"/g,""")+'"';return"<"+u.tag+' class="'+u.classes.join(" ")+'"'+m+">"+u.content+""};function c(l,s,h,v){l.lastIndex=s;var u=l.exec(h);if(u&&v&&u[1]){var b=u[1].length;u.index+=b,u[0]=u[0].slice(b)}return u}function A(l,s,h,v,u,b){for(var m in h)if(!(!h.hasOwnProperty(m)||!h[m])){var C=h[m];C=Array.isArray(C)?C:[C];for(var g=0;g=b.reach);d+=I.value.length,I=I.next){var L=I.value;if(s.length>l.length)return;if(!(L instanceof r)){var E=1,B;if(R){if(B=c(P,d,l,M),!B||B.index>=l.length)break;var G=B.index,z=B.index+B[0].length,Y=d;for(Y+=I.value.length;G>=Y;)I=I.next,Y+=I.value.length;if(Y-=I.value.length,d=Y,I.value instanceof r)continue;for(var H=I;H!==s.tail&&(Yb.reach&&(b.reach=$);var re=I.prev;V&&(re=_(s,re,V),d+=V.length),T(s,re,E);var ae=new r(m,x?D.tokenize(W,x):W,N,W);if(I=_(s,re,ae),j&&_(s,I,j),E>1){var oe={cause:m+","+g,reach:$};A(l,s,h,I.prev,d,oe),b&&oe.reach>b.reach&&(b.reach=oe.reach)}}}}}}function o(){var l={value:null,prev:null,next:null},s={value:null,prev:l,next:null};l.next=s,this.head=l,this.tail=s,this.length=0}function _(l,s,h){var v=s.next,u={value:h,prev:s,next:v};return s.next=u,v.prev=u,l.length++,u}function T(l,s,h){for(var v=s.next,u=0;u/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(i,S){var U={};U["language-"+S]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[S]},U.cdata=/^$/i;var K={"included-cdata":{pattern://i,inside:U}};K["language-"+S]={pattern:/[\s\S]+/,inside:e.languages[S]};var k={};k[i]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:K},e.languages.insertBefore("markup","cdata",k)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,i){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:e.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var Xge=PI;PI.displayName="css";PI.aliases=[];function PI(e){(function(t){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var S=t.languages.markup;S&&(S.tag.addInlined("style","css"),S.tag.addAttribute("style","css"))})(e)}var $ge=OI;OI.displayName="clike";OI.aliases=[];function OI(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var Zge=FI;FI.displayName="javascript";FI.aliases=["js"];function FI(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}var Mx=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Bp=="object"?Bp:{},Jge=hme();Mx.Prism={manual:!0,disableWorkerMessageHandler:!0};var Qge=_9,qge=Rge,Aj=I9,eme=Kge,tme=Xge,rme=$ge,nme=Zge;Jge();var BI={}.hasOwnProperty;function Sj(){}Sj.prototype=Aj;var zl=new Sj,ame=zl;zl.highlight=ome;zl.register=nb;zl.alias=ime;zl.registered=sme;zl.listLanguages=lme;nb(eme);nb(tme);nb(rme);nb(nme);zl.util.encode=fme;zl.Token.stringify=ume;function nb(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");zl.languages[e.displayName]===void 0&&e(zl)}function ime(e,t){var i=zl.languages,S=e,U,K,k,D;t&&(S={},S[e]=t);for(U in S)for(K=S[U],K=typeof K=="string"?[K]:K,k=K.length,D=-1;++D code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var Z4,eO;function pme(){if(eO)return Z4;eO=1,Z4=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return Z4}var J4,tO;function gme(){if(tO)return J4;tO=1,J4=e,e.displayName="abnf",e.aliases=[];function e(t){(function(i){var S="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";i.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+S+"|<"+S+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return J4}var Q4,rO;function mme(){if(rO)return Q4;rO=1,Q4=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return Q4}var q4,nO;function yme(){if(nO)return q4;nO=1,q4=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return q4}var e5,aO;function xme(){if(aO)return e5;aO=1,e5=e,e.displayName="agda",e.aliases=[];function e(t){(function(i){i.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return e5}var t5,iO;function bme(){if(iO)return t5;iO=1,t5=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return t5}var r5,oO;function Tme(){if(oO)return r5;oO=1,r5=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return r5}var n5,sO;function Eme(){if(sO)return n5;sO=1,n5=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return n5}var a5,lO;function zI(){if(lO)return a5;lO=1,a5=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return a5}var i5,uO;function wme(){if(uO)return i5;uO=1;var e=zI();i5=t,t.displayName="apex",t.aliases=[];function t(i){i.register(e),function(S){var U=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,K=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return U.source});function k(r){return RegExp(r.replace(//g,function(){return K}),"i")}var D={keyword:U,punctuation:/[()\[\]{};,:.<>]/};S.languages.apex={comment:S.languages.clike.comment,string:S.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:S.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:k(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:D},{pattern:k(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:D},{pattern:k(/(?=\s*\w+\s*[;=,(){:])/.source),inside:D}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:U,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(i)}return i5}var o5,cO;function Ame(){if(cO)return o5;cO=1,o5=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return o5}var s5,fO;function Sme(){if(fO)return s5;fO=1,s5=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return s5}var l5,dO;function Cme(){if(dO)return l5;dO=1,l5=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return l5}var u5,hO;function Sg(){if(hO)return u5;hO=1,u5=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return u5}var c5,vO;function UI(){if(vO)return c5;vO=1;var e=Sg();c5=t,t.displayName="cpp",t.aliases=[];function t(i){i.register(e),function(S){var U=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,K=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return U.source});S.languages.cpp=S.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return U.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:U,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),S.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return K})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),S.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:S.languages.cpp}}}}),S.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),S.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:S.languages.extend("cpp",{})}}),S.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},S.languages.cpp["base-clause"])}(i)}return c5}var f5,pO;function _me(){if(pO)return f5;pO=1;var e=UI();f5=t,t.displayName="arduino",t.aliases=["ino"];function t(i){i.register(e),i.languages.arduino=i.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),i.languages.ino=i.languages.arduino}return f5}var d5,gO;function Mme(){if(gO)return d5;gO=1,d5=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return d5}var h5,mO;function Rme(){if(mO)return h5;mO=1,h5=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(i){var S={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},U=i.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:S,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:S.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:S,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function K(k){k=k.split(" ");for(var D={},r=0,c=k.length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return p5}var g5,bO;function i3(){if(bO)return g5;bO=1,g5=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(i){function S(E,B){return E.replace(/<<(\d+)>>/g,function(z,Y){return"(?:"+B[+Y]+")"})}function U(E,B,z){return RegExp(S(E,B),z||"")}function K(E,B){for(var z=0;z>/g,function(){return"(?:"+E+")"});return E.replace(/<>/g,"[^\\s\\S]")}var k={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function D(E){return"\\b(?:"+E.trim().replace(/ /g,"|")+")\\b"}var r=D(k.typeDeclaration),c=RegExp(D(k.type+" "+k.typeDeclaration+" "+k.contextual+" "+k.other)),A=D(k.typeDeclaration+" "+k.contextual+" "+k.other),o=D(k.type+" "+k.typeDeclaration+" "+k.other),_=K(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),T=K(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,y=S(/<<0>>(?:\s*<<1>>)?/.source,[p,_]),a=S(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[A,y]),n=/\[\s*(?:,\s*)*\]/.source,l=S(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[a,n]),s=S(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[_,T,n]),h=S(/\(<<0>>+(?:,<<0>>+)+\)/.source,[s]),v=S(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[h,a,n]),u={keyword:c,punctuation:/[<>()?,.:[\]]/},b=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,m=/"(?:\\.|[^\\"\r\n])*"/.source,C=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:U(/(^|[^$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0},{pattern:U(/(^|[^@$\\])<<0>>/.source,[m]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:U(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[a]),lookbehind:!0,inside:u},{pattern:U(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,v]),lookbehind:!0,inside:u},{pattern:U(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:U(/(\b<<0>>\s+)<<1>>/.source,[r,y]),lookbehind:!0,inside:u},{pattern:U(/(\bcatch\s*\(\s*)<<0>>/.source,[a]),lookbehind:!0,inside:u},{pattern:U(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:U(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[l]),lookbehind:!0,inside:u},{pattern:U(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[v,o,p]),inside:u}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:U(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:U(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:U(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[T]),lookbehind:!0,alias:"class-name",inside:u},"return-type":{pattern:U(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[v,a]),inside:u,alias:"class-name"},"constructor-invocation":{pattern:U(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[v]),lookbehind:!0,inside:u,alias:"class-name"},"generic-method":{pattern:U(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,_]),inside:{function:U(/^<<0>>/.source,[p]),generic:{pattern:RegExp(_),alias:"class-name",inside:u}}},"type-list":{pattern:U(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[r,y,p,v,c.source,T,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:U(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[y,T]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:c,"class-name":{pattern:RegExp(v),greedy:!0,inside:u},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var g=m+"|"+b,f=S(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[g]),x=K(S(/[^"'/()]|<<0>>|\(<>*\)/.source,[f]),2),M=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,R=S(/<<0>>(?:\s*\(<<1>>*\))?/.source,[a,x]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:U(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[M,R]),lookbehind:!0,greedy:!0,inside:{target:{pattern:U(/^<<0>>(?=\s*:)/.source,[M]),alias:"keyword"},"attribute-arguments":{pattern:U(/\(<<0>>*\)/.source,[x]),inside:i.languages.csharp},"class-name":{pattern:RegExp(a),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,w=K(S(/[^"'/()]|<<0>>|\(<>*\)/.source,[f]),2),P=S(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[w,N]),I=K(S(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[g]),2),d=S(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,N]);function L(E,B){return{interpolation:{pattern:U(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[E]),lookbehind:!0,inside:{"format-string":{pattern:U(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[B,N]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:U(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:L(P,w)},{pattern:U(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[d]),lookbehind:!0,greedy:!0,inside:L(d,I)}],char:{pattern:RegExp(b),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp})(t)}return g5}var m5,TO;function kme(){if(TO)return m5;TO=1;var e=i3();m5=t,t.displayName="aspnet",t.aliases=[];function t(i){i.register(e),i.languages.aspnet=i.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:i.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:i.languages.csharp}}}),i.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.insertBefore("inside","punctuation",{directive:i.languages.aspnet.directive},i.languages.aspnet.tag.inside["attr-value"]),i.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),i.languages.insertBefore("aspnet",i.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:i.languages.csharp||{}}})}return m5}var y5,EO;function Dme(){if(EO)return y5;EO=1,y5=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return y5}var x5,wO;function Nme(){if(wO)return x5;wO=1,x5=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return x5}var b5,AO;function Pme(){if(AO)return b5;AO=1,b5=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(i){function S(A,o){return A.replace(/<<(\d+)>>/g,function(_,T){return o[+T]})}function U(A,o,_){return RegExp(S(A,o),_||"")}var K=/bool|clip|float|int|string|val/.source,k=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),D=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),r=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),c=[k,D,r].join("|");i.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:U(/\b(?:<<0>>)\s+("?)\w+\1/.source,[K],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:U(/\b(?:<<0>>)\b/.source,[c],"i"),alias:"function"},"type-cast":{pattern:U(/\b(?:<<0>>)(?=\s*\()/.source,[K],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},i.languages.avs=i.languages.avisynth})(t)}return b5}var T5,SO;function Ome(){if(SO)return T5;SO=1,T5=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return T5}var E5,CO;function Cj(){if(CO)return E5;CO=1,E5=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(i){var S="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",U={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},K={bash:U,environment:{pattern:RegExp("\\$"+S),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+S),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+S),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:K},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:U}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:K},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:K.entity}}],environment:{pattern:RegExp("\\$?"+S),alias:"constant"},variable:K.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},U.inside=i.languages.bash;for(var k=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],D=K.variable[1].inside,r=0;r?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return w5}var A5,MO;function Fme(){if(MO)return A5;MO=1,A5=e,e.displayName="batch",e.aliases=[];function e(t){(function(i){var S=/%%?[~:\w]+%?|!\S+!/,U={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},K=/"(?:[\\"]"|[^"])*"(?!")/,k=/(?:\b|-)\d+\b/;i.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:K,parameter:U,variable:S,number:k,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:K,parameter:U,variable:S,number:k,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:K,parameter:U,variable:[S,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:k,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:K,parameter:U,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:S,number:k,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return A5}var S5,RO;function Bme(){if(RO)return S5;RO=1,S5=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return S5}var C5,IO;function zme(){if(IO)return C5;IO=1,C5=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return C5}var _5,LO;function Ume(){if(LO)return _5;LO=1,_5=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return _5}var M5,kO;function Hme(){if(kO)return M5;kO=1;var e=Sg();M5=t,t.displayName="bison",t.aliases=[];function t(i){i.register(e),i.languages.bison=i.languages.extend("c",{}),i.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:i.languages.c}},comment:i.languages.c.comment,string:i.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return M5}var R5,DO;function Gme(){if(DO)return R5;DO=1,R5=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return R5}var I5,NO;function Vme(){if(NO)return I5;NO=1,I5=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return I5}var L5,PO;function Wme(){if(PO)return L5;PO=1,L5=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return L5}var k5,OO;function Yme(){if(OO)return k5;OO=1,k5=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return k5}var D5,FO;function jme(){if(FO)return D5;FO=1,D5=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return D5}var N5,BO;function Kme(){if(BO)return N5;BO=1,N5=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return N5}var P5,zO;function Xme(){if(zO)return P5;zO=1;var e=UI();P5=t,t.displayName="chaiscript",t.aliases=[];function t(i){i.register(e),i.languages.chaiscript=i.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[i.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),i.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),i.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return P5}var O5,UO;function $me(){if(UO)return O5;UO=1,O5=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return O5}var F5,HO;function Zme(){if(HO)return F5;HO=1,F5=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return F5}var B5,GO;function Jme(){if(GO)return B5;GO=1,B5=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?: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|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|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|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|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|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return B5}var z5,VO;function Qme(){if(VO)return z5;VO=1,z5=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return z5}var U5,WO;function qme(){if(WO)return U5;WO=1,U5=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(i){var S=/#(?!\{).+/,U={pattern:/#\{[^}]+\}/,alias:"variable"};i.languages.coffeescript=i.languages.extend("javascript",{comment:S,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:U}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:S,interpolation:U}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:U}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript})(t)}return U5}var H5,YO;function eye(){if(YO)return H5;YO=1,H5=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return H5}var G5,jO;function tye(){if(jO)return G5;jO=1,G5=e,e.displayName="coq",e.aliases=[];function e(t){(function(i){for(var S=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,U=0;U<2;U++)S=S.replace(//g,function(){return S});S=S.replace(//g,"[]"),i.languages.coq={comment:RegExp(S),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return S})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(S),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return G5}var V5,KO;function o3(){if(KO)return V5;KO=1,V5=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var S={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var U="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",K=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+U+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:S,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:S,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+K),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+K+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+U),greedy:!0,inside:{interpolation:S,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:S,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:S,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+U),greedy:!0,inside:{interpolation:S,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:S,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby})(t)}return V5}var W5,XO;function rye(){if(XO)return W5;XO=1;var e=o3();W5=t,t.displayName="crystal",t.aliases=[];function t(i){i.register(e),function(S){S.languages.crystal=S.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,S.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),S.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:S.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:S.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(i)}return W5}var Y5,$O;function nye(){if($O)return Y5;$O=1;var e=i3();Y5=t,t.displayName="cshtml",t.aliases=["razor"];function t(i){i.register(e),function(S){var U=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,K=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function k(a,n){for(var l=0;l/g,function(){return"(?:"+a+")"});return a.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+K+")").replace(//g,"(?:"+U+")")}var D=k(/\((?:[^()'"@/]|||)*\)/.source,2),r=k(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),c=k(/\{(?:[^{}'"@/]|||)*\}/.source,2),A=k(/<(?:[^<>'"@/]|||)*>/.source,2),o=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,_=/(?!\d)[^\s>\/=$<%]+/.source+o+/\s*\/?>/.source,T=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+o+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+_+"|"+k(/<\1/.source+o+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+_+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},i.languages.css.atrule.inside["selector-function-argument"].inside=U,i.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var K={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},k={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};i.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:K,number:k,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:K,number:k})})(t)}return K5}var X5,QO;function oye(){if(QO)return X5;QO=1,X5=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return X5}var $5,qO;function sye(){if(qO)return $5;qO=1,$5=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return $5}var Z5,eF;function lye(){if(eF)return Z5;eF=1,Z5=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return Z5}var J5,tF;function uye(){if(tF)return J5;tF=1,J5=e,e.displayName="dart",e.aliases=[];function e(t){(function(i){var S=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],U=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,K={pattern:RegExp(U+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};i.languages.dart=i.languages.extend("clike",{"class-name":[K,{pattern:RegExp(U+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:K.inside}],keyword:S,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),i.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.dart}}},string:/[\s\S]+/}},string:void 0}),i.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),i.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":K,keyword:S,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return J5}var Q5,rF;function cye(){if(rF)return Q5;rF=1,Q5=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(i){i.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return Q5}var q5,nF;function fye(){if(nF)return q5;nF=1,q5=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return q5}var eC,aF;function dye(){if(aF)return eC;aF=1,eC=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return eC}var tC,iF;function hye(){if(iF)return tC;iF=1,tC=e,e.displayName="diff",e.aliases=[];function e(t){(function(i){i.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var S={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(S).forEach(function(U){var K=S[U],k=[];/^\w+$/.test(U)||k.push(/\w+/.exec(U)[0]),U==="diff"&&k.push("bold"),i.languages.diff[U]={pattern:RegExp("^(?:["+K+`].*(?:\r ?| |(?![\\s\\S])))+`,"m"),alias:k,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(U)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:S})})(t)}return tC}var rC,oF;function td(){if(oF)return rC;oF=1,rC=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(i){function S(U,K){return"___"+U.toUpperCase()+K+"___"}Object.defineProperties(i.languages["markup-templating"]={},{buildPlaceholders:{value:function(U,K,k,D){if(U.language===K){var r=U.tokenStack=[];U.code=U.code.replace(k,function(c){if(typeof D=="function"&&!D(c))return c;for(var A=r.length,o;U.code.indexOf(o=S(K,A))!==-1;)++A;return r[A]=c,o}),U.grammar=i.languages.markup}}},tokenizePlaceholders:{value:function(U,K){if(U.language!==K||!U.tokenStack)return;U.grammar=i.languages[K];var k=0,D=Object.keys(U.tokenStack);function r(c){for(var A=0;A=D.length);A++){var o=c[A];if(typeof o=="string"||o.content&&typeof o.content=="string"){var _=D[k],T=U.tokenStack[_],p=typeof o=="string"?o:o.content,y=S(K,_),a=p.indexOf(y);if(a>-1){++k;var n=p.substring(0,a),l=new i.Token(K,i.tokenize(T,U.grammar),"language-"+K,T),s=p.substring(a+y.length),h=[];n&&h.push.apply(h,r([n])),h.push(l),s&&h.push.apply(h,r([s])),typeof o=="string"?c.splice.apply(c,[A,1].concat(h)):o.content=h}}else o.content&&r(o.content)}return c}r(U.tokens)}}})})(t)}return rC}var nC,sF;function vye(){if(sF)return nC;sF=1;var e=td();nC=t,t.displayName="django",t.aliases=["jinja2"];function t(i){i.register(e),function(S){S.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var U=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,K=S.languages["markup-templating"];S.hooks.add("before-tokenize",function(k){K.buildPlaceholders(k,"django",U)}),S.hooks.add("after-tokenize",function(k){K.tokenizePlaceholders(k,"django")}),S.languages.jinja2=S.languages.django,S.hooks.add("before-tokenize",function(k){K.buildPlaceholders(k,"jinja2",U)}),S.hooks.add("after-tokenize",function(k){K.tokenizePlaceholders(k,"jinja2")})}(i)}return nC}var aC,lF;function pye(){if(lF)return aC;lF=1,aC=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return aC}var iC,uF;function gye(){if(uF)return iC;uF=1,iC=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(i){var S=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,U=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return S}),K=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,k=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return K}),D={pattern:RegExp(K),greedy:!0},r={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function c(A,o){return A=A.replace(//g,function(){return k}).replace(//g,function(){return U}),RegExp(A,o)}i.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:c(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[D,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:c(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:c(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:c(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:r,string:D,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:r},i.languages.dockerfile=i.languages.docker})(t)}return iC}var oC,cF;function mye(){if(cF)return oC;cF=1,oC=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(i){var S="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",U={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:i.languages.markup}};function K(k,D){return RegExp(k.replace(//g,function(){return S}),D)}i.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:K(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:U},"attr-value":{pattern:K(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:U},"attr-name":{pattern:K(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:U},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:K(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:U},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},i.languages.gv=i.languages.dot})(t)}return oC}var sC,fF;function yye(){if(fF)return sC;fF=1,sC=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return sC}var lC,dF;function xye(){if(dF)return lC;dF=1,lC=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return lC}var uC,hF;function bye(){if(hF)return uC;hF=1,uC=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return uC}var cC,vF;function Tye(){if(vF)return cC;vF=1;var e=td();cC=t,t.displayName="ejs",t.aliases=["eta"];function t(i){i.register(e),function(S){S.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:S.languages.javascript}},S.hooks.add("before-tokenize",function(U){var K=/<%(?!%)[\s\S]+?%>/g;S.languages["markup-templating"].buildPlaceholders(U,"ejs",K)}),S.hooks.add("after-tokenize",function(U){S.languages["markup-templating"].tokenizePlaceholders(U,"ejs")}),S.languages.eta=S.languages.ejs}(i)}return cC}var fC,pF;function Eye(){if(pF)return fC;pF=1,fC=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(i){i.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return fC}var dC,gF;function wye(){if(gF)return dC;gF=1,dC=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return dC}var hC,mF;function Aye(){if(mF)return hC;mF=1;var e=o3(),t=td();hC=i,i.displayName="erb",i.aliases=[];function i(S){S.register(e),S.register(t),function(U){U.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:U.languages.ruby}},U.hooks.add("before-tokenize",function(K){var k=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;U.languages["markup-templating"].buildPlaceholders(K,"erb",k)}),U.hooks.add("after-tokenize",function(K){U.languages["markup-templating"].tokenizePlaceholders(K,"erb")})}(S)}return hC}var vC,yF;function Sye(){if(yF)return vC;yF=1,vC=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return vC}var pC,xF;function Mj(){if(xF)return pC;xF=1,pC=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return pC}var gC,bF;function Cye(){if(bF)return gC;bF=1;var e=Mj(),t=td();gC=i,i.displayName="etlua",i.aliases=[];function i(S){S.register(e),S.register(t),function(U){U.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:U.languages.lua}},U.hooks.add("before-tokenize",function(K){var k=/<%[\s\S]+?%>/g;U.languages["markup-templating"].buildPlaceholders(K,"etlua",k)}),U.hooks.add("after-tokenize",function(K){U.languages["markup-templating"].tokenizePlaceholders(K,"etlua")})}(S)}return gC}var mC,TF;function _ye(){if(TF)return mC;TF=1,mC=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return mC}var yC,EF;function Mye(){if(EF)return yC;EF=1,yC=e,e.displayName="factor",e.aliases=[];function e(t){(function(i){var S={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},U={number:/\\[^\s']|%\w/},K={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:S},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:S},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:S}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:U.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:U},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:U}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:U}},k=function(A){return(A+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},D=function(A){return new RegExp("(^|\\s)(?:"+A.map(k).join("|")+")(?=\\s|$)")},r={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(r).forEach(function(A){K[A].pattern=D(r[A])});var c=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];K.combinators.pattern=D(c),i.languages.factor=K})(t)}return yC}var xC,wF;function Rye(){if(wF)return xC;wF=1,xC=e,e.displayName="$false",e.aliases=[];function e(t){(function(i){i.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return bC}var TC,SF;function Lye(){if(SF)return TC;SF=1,TC=e,e.displayName="flow",e.aliases=[];function e(t){(function(i){i.languages.flow=i.languages.extend("javascript",{}),i.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),i.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete i.languages.flow.parameter,i.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(i.languages.flow.keyword)||(i.languages.flow.keyword=[i.languages.flow.keyword]),i.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}return TC}var EC,CF;function kye(){if(CF)return EC;CF=1,EC=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return EC}var wC,_F;function Dye(){if(_F)return wC;_F=1,wC=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return wC}var AC,MF;function Nye(){if(MF)return AC;MF=1;var e=td();AC=t,t.displayName="ftl",t.aliases=[];function t(i){i.register(e),function(S){for(var U=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,K=0;K<2;K++)U=U.replace(//g,function(){return U});U=U.replace(//g,/[^\s\S]/.source);var k={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return U})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return U})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};k.string[1].inside.interpolation.inside.rest=k,S.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:k}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:k}}}},S.hooks.add("before-tokenize",function(D){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return U}),"gi");S.languages["markup-templating"].buildPlaceholders(D,"ftl",r)}),S.hooks.add("after-tokenize",function(D){S.languages["markup-templating"].tokenizePlaceholders(D,"ftl")})}(i)}return AC}var SC,RF;function Pye(){if(RF)return SC;RF=1,SC=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return SC}var CC,IF;function Oye(){if(IF)return CC;IF=1,CC=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return CC}var _C,LF;function Fye(){if(LF)return _C;LF=1,_C=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return _C}var MC,kF;function Bye(){if(kF)return MC;kF=1,MC=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return MC}var RC,DF;function zye(){if(DF)return RC;DF=1,RC=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(i){var S=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;i.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+S+")(?:"+S+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(S),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return RC}var IC,NF;function Uye(){if(NF)return IC;NF=1,IC=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return IC}var LC,PF;function Hye(){if(PF)return LC;PF=1;var e=Sg();LC=t,t.displayName="glsl",t.aliases=[];function t(i){i.register(e),i.languages.glsl=i.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return LC}var kC,OF;function Gye(){if(OF)return kC;OF=1,kC=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return kC}var DC,FF;function Vye(){if(FF)return DC;FF=1,DC=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return DC}var NC,BF;function Wye(){if(BF)return NC;BF=1,NC=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return NC}var PC,zF;function Yye(){if(zF)return PC;zF=1,PC=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return PC}var OC,UF;function jye(){if(UF)return OC;UF=1,OC=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(S){if(S.language!=="graphql")return;var U=S.tokens.filter(function(n){return typeof n!="string"&&n.type!=="comment"&&n.type!=="scalar"}),K=0;function k(n){return U[K+n]}function D(n,l){l=l||0;for(var s=0;s0)){var p=r(/^\{$/,/^\}$/);if(p===-1)continue;for(var y=K;y=0&&c(a,"variable-input")}}}}})}return OC}var FC,HF;function Kye(){if(HF)return FC;HF=1,FC=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(i){if(i.language==="groovy"&&i.type==="string"){var S=i.content.value[0];if(S!="'"){var U=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;S==="$"&&(U=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),i.content.value=i.content.value.replace(/</g,"<").replace(/&/g,"&"),i.content=t.highlight(i.content.value,{expression:{pattern:U,lookbehind:!0,inside:t.languages.groovy}}),i.classes.push(S==="/"?"regex":"gstring")}}})}return FC}var BC,GF;function Xye(){if(GF)return BC;GF=1;var e=o3();BC=t,t.displayName="haml",t.aliases=[];function t(i){i.register(e),function(S){S.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:S.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:S.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:S.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:S.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:S.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:S.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:S.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var U="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",K=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],k={},D=0,r=K.length;D@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},S.hooks.add("before-tokenize",function(U){var K=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;S.languages["markup-templating"].buildPlaceholders(U,"handlebars",K)}),S.hooks.add("after-tokenize",function(U){S.languages["markup-templating"].tokenizePlaceholders(U,"handlebars")}),S.languages.hbs=S.languages.handlebars}(i)}return zC}var UC,WF;function HI(){if(WF)return UC;WF=1,UC=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return UC}var HC,YF;function Zye(){if(YF)return HC;YF=1,HC=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return HC}var GC,jF;function Jye(){if(jF)return GC;jF=1,GC=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return GC}var VC,KF;function Qye(){if(KF)return VC;KF=1;var e=Sg();VC=t,t.displayName="hlsl",t.aliases=[];function t(i){i.register(e),i.languages.hlsl=i.languages.extend("c",{"class-name":[i.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return VC}var WC,XF;function qye(){if(XF)return WC;XF=1,WC=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return WC}var YC,$F;function exe(){if($F)return YC;$F=1,YC=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return YC}var jC,ZF;function txe(){if(ZF)return jC;ZF=1,jC=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return jC}var KC,JF;function rxe(){if(JF)return KC;JF=1,KC=e,e.displayName="http",e.aliases=[];function e(t){(function(i){function S(o){return RegExp("(^(?:"+o+"):[ ]*(?![ ]))[^]+","i")}i.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:i.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:S(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:i.languages.csp},{pattern:S(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:i.languages.hpkp},{pattern:S(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:i.languages.hsts},{pattern:S(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var U=i.languages,K={"application/javascript":U.javascript,"application/json":U.json||U.javascript,"application/xml":U.xml,"text/xml":U.xml,"text/html":U.html,"text/css":U.css,"text/plain":U.plain},k={"application/json":!0,"application/xml":!0};function D(o){var _=o.replace(/^[a-z]+\//,""),T="\\w+/(?:[\\w.-]+\\+)+"+_+"(?![+\\w.-])";return"(?:"+o+"|"+T+")"}var r;for(var c in K)if(K[c]){r=r||{};var A=k[c]?D(c):c;r[c.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+A+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:K[c]}}r&&i.languages.insertBefore("http","header",r)})(t)}return KC}var XC,QF;function nxe(){if(QF)return XC;QF=1,XC=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return XC}var $C,qF;function axe(){if(qF)return $C;qF=1,$C=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return $C}var ZC,e7;function ixe(){if(e7)return ZC;e7=1,ZC=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(i){function S(c,A){return A<=0?/[]/.source:c.replace(//g,function(){return S(c,A-1)})}var U=/'[{}:=,](?:[^']|'')*'(?!')/,K={pattern:/''/,greedy:!0,alias:"operator"},k={pattern:U,greedy:!0,inside:{escape:K}},D=S(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return U.source}),8),r={pattern:RegExp(D),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};i.languages["icu-message-format"]={argument:{pattern:RegExp(D),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":r,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":r,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+S(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:K,string:k},r.inside.message.inside=i.languages["icu-message-format"],i.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=i.languages["icu-message-format"]})(t)}return ZC}var JC,t7;function oxe(){if(t7)return JC;t7=1;var e=HI();JC=t,t.displayName="idris",t.aliases=["idr"];function t(i){i.register(e),i.languages.idris=i.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),i.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),i.languages.idr=i.languages.idris}return JC}var QC,r7;function sxe(){if(r7)return QC;r7=1,QC=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return QC}var qC,n7;function lxe(){if(n7)return qC;n7=1,qC=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(i){i.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},i.languages.gitignore=i.languages.ignore,i.languages.hgignore=i.languages.ignore,i.languages.npmignore=i.languages.ignore})(t)}return qC}var e_,a7;function uxe(){if(a7)return e_;a7=1,e_=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return e_}var t_,i7;function cxe(){if(i7)return t_;i7=1,t_=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return t_}var r_,o7;function fxe(){if(o7)return r_;o7=1,r_=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return n_}var a_,l7;function GI(){if(l7)return a_;l7=1,a_=e,e.displayName="java",e.aliases=[];function e(t){(function(i){var S=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,U=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,K={pattern:RegExp(U+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[K,{pattern:RegExp(U+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:K.inside}],keyword:S,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":K,keyword:S,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return S.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return a_}var i_,u7;function s3(){if(u7)return i_;u7=1,i_=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(i){var S=i.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function U(k,D){var r="doc-comment",c=i.languages[k];if(c){var A=c[r];if(!A){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},c=i.languages.insertBefore(k,"comment",o),A=c[r]}if(A instanceof RegExp&&(A=c[r]={pattern:A}),Array.isArray(A))for(var _=0,T=A.length;_)?|/.source.replace(//g,function(){return k});U.languages.javadoc=U.languages.extend("javadoclike",{}),U.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+D+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:U.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:K,lookbehind:!0,inside:U.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:K,lookbehind:!0,inside:{tag:U.languages.markup.tag,entity:U.languages.markup.entity,code:{pattern:/.+/,inside:U.languages.java,alias:"language-java"}}}}}],tag:U.languages.markup.tag,entity:U.languages.markup.entity}),U.languages.javadoclike.addSupport("java",U.languages.javadoc)}(S)}return o_}var s_,f7;function vxe(){if(f7)return s_;f7=1,s_=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return s_}var l_,d7;function pxe(){if(d7)return l_;d7=1,l_=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return l_}var u_,h7;function gxe(){if(h7)return u_;h7=1,u_=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return u_}var c_,v7;function mxe(){if(v7)return c_;v7=1,c_=e,e.displayName="jq",e.aliases=[];function e(t){(function(i){var S=/\\\((?:[^()]|\([^()]*\))*\)/.source,U=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return S})),K={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+S),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},k=i.languages.jq={comment:/#.*/,property:{pattern:RegExp(U.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:K},string:{pattern:U,lookbehind:!0,greedy:!0,inside:K},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};K.interpolation.inside.content.inside=k})(t)}return c_}var f_,p7;function yxe(){if(p7)return f_;p7=1,f_=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(i){i.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+i.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),i.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+i.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),i.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function S(c,A){return RegExp(c.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),A)}i.languages.insertBefore("javascript","keyword",{imports:{pattern:S(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:i.languages.javascript},exports:{pattern:S(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:i.languages.javascript}}),i.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),i.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),i.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:S(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var U=["function","function-variable","method","method-variable","property-access"],K=0;K=b.length)return;var f=C[g];if(typeof f=="string"||typeof f.content=="string"){var x=b[s],M=typeof f=="string"?f:f.content,R=M.indexOf(x);if(R!==-1){++s;var N=M.substring(0,R),w=o(h[x]),P=M.substring(R+x.length),I=[];if(N&&I.push(N),I.push(w),P){var d=[P];m(d),I.push.apply(I,d)}typeof f=="string"?(C.splice.apply(C,[g,1].concat(I)),g+=I.length-1):f.content=I}}else{var L=f.content;Array.isArray(L)?m(L):m([L])}}}return m(u),new i.Token(n,u,"language-"+n,y)}var T={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};i.hooks.add("after-tokenize",function(y){if(!(y.language in T))return;function a(n){for(var l=0,s=n.length;l]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var S=i.languages.extend("typescript",{});delete S["class-name"],i.languages.typescript["class-name"].inside=S,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:S}}}}),i.languages.ts=i.languages.typescript})(t)}return h_}var v_,y7;function bxe(){if(y7)return v_;y7=1;var e=s3(),t=VI();v_=i,i.displayName="jsdoc",i.aliases=[];function i(S){S.register(e),S.register(t),function(U){var K=U.languages.javascript,k=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,D="(@(?:arg|argument|param|property)\\s+(?:"+k+"\\s+)?)";U.languages.jsdoc=U.languages.extend("javadoclike",{parameter:{pattern:RegExp(D+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),U.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(D+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:K,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return k})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+k),lookbehind:!0,inside:{string:K.string,number:K.number,boolean:K.boolean,keyword:U.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:K,alias:"language-javascript"}}}}),U.languages.javadoclike.addSupport("javascript",U.languages.jsdoc)}(S)}return v_}var p_,x7;function WI(){if(x7)return p_;x7=1,p_=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return p_}var g_,b7;function Txe(){if(b7)return g_;b7=1;var e=WI();g_=t,t.displayName="json5",t.aliases=[];function t(i){i.register(e),function(S){var U=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;S.languages.json5=S.languages.extend("json",{property:[{pattern:RegExp(U.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:U,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(i)}return g_}var m_,T7;function Exe(){if(T7)return m_;T7=1;var e=WI();m_=t,t.displayName="jsonp",t.aliases=[];function t(i){i.register(e),i.languages.jsonp=i.languages.extend("json",{punctuation:/[{}[\]();,.]/}),i.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return m_}var y_,E7;function wxe(){if(E7)return y_;E7=1,y_=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return y_}var x_,w7;function Rj(){if(w7)return x_;w7=1,x_=e,e.displayName="jsx",e.aliases=[];function e(t){(function(i){var S=i.util.clone(i.languages.javascript),U=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,K=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,k=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function D(A,o){return A=A.replace(//g,function(){return U}).replace(//g,function(){return K}).replace(//g,function(){return k}),RegExp(A,o)}k=D(k).source,i.languages.jsx=i.languages.extend("markup",S),i.languages.jsx.tag.pattern=D(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),i.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,i.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,i.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,i.languages.jsx.tag.inside.comment=S.comment,i.languages.insertBefore("inside","attr-name",{spread:{pattern:D(//.source),inside:i.languages.jsx}},i.languages.jsx.tag),i.languages.insertBefore("inside","special-attr",{script:{pattern:D(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:i.languages.jsx}}},i.languages.jsx.tag);var r=function(A){return A?typeof A=="string"?A:typeof A.content=="string"?A.content:A.content.map(r).join(""):""},c=function(A){for(var o=[],_=0;_0&&o[o.length-1].tagName===r(T.content[0].content[1])&&o.pop():T.content[T.content.length-1].content==="/>"||o.push({tagName:r(T.content[0].content[1]),openedBraces:0}):o.length>0&&T.type==="punctuation"&&T.content==="{"?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&T.type==="punctuation"&&T.content==="}"?o[o.length-1].openedBraces--:p=!0),(p||typeof T=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var y=r(T);_0&&(typeof A[_-1]=="string"||A[_-1].type==="plain-text")&&(y=r(A[_-1])+y,A.splice(_-1,1),_--),A[_]=new i.Token("plain-text",y,null,y)}T.content&&typeof T.content!="string"&&c(T.content)}};i.hooks.add("after-tokenize",function(A){A.language!=="jsx"&&A.language!=="tsx"||c(A.tokens)})})(t)}return x_}var b_,A7;function Axe(){if(A7)return b_;A7=1,b_=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return b_}var T_,S7;function Sxe(){if(S7)return T_;S7=1,T_=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return T_}var E_,C7;function Cxe(){if(C7)return E_;C7=1,E_=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return E_}var w_,_7;function _xe(){if(_7)return w_;_7=1,w_=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var S={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:S},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:S},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin})(t)}return w_}var A_,M7;function Mxe(){if(M7)return A_;M7=1,A_=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(i){var S=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function U(K,k){return RegExp(K.replace(//g,S),k)}i.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:U(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:U(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:U(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:U(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:U(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:U(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:U(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:U(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},i.languages.kum=i.languages.kumir})(t)}return A_}var S_,R7;function Rxe(){if(R7)return S_;R7=1,S_=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return S_}var C_,I7;function Ixe(){if(I7)return C_;I7=1,C_=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(i){var S=/\\(?:[^a-z()[\]]|[a-z*]+)/i,U={"equation-command":{pattern:S,alias:"regex"}};i.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:U,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:U,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:S,alias:"selector"},punctuation:/[[\]{}&]/},i.languages.tex=i.languages.latex,i.languages.context=i.languages.latex})(t)}return C_}var __,L7;function l3(){if(L7)return __;L7=1;var e=td();__=t,t.displayName="php",t.aliases=[];function t(i){i.register(e),function(S){var U=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,K=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],k=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,D=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,r=/[{}\[\](),:;]/;S.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:U,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:K,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:k,operator:D,punctuation:r};var c={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:S.languages.php},A=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:c}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:c}}];S.languages.insertBefore("php","variable",{string:A,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:U,string:A,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:K,number:k,operator:D,punctuation:r}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),S.hooks.add("before-tokenize",function(o){if(/<\?/.test(o.code)){var _=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;S.languages["markup-templating"].buildPlaceholders(o,"php",_)}}),S.hooks.add("after-tokenize",function(o){S.languages["markup-templating"].tokenizePlaceholders(o,"php")})}(i)}return __}var M_,k7;function Lxe(){if(k7)return M_;k7=1;var e=td(),t=l3();M_=i,i.displayName="latte",i.aliases=[];function i(S){S.register(e),S.register(t),function(U){U.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:U.languages.php}};var K=U.languages.extend("markup",{});U.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:U.languages.php}}}}}},K.tag),U.hooks.add("before-tokenize",function(k){if(k.language==="latte"){var D=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;U.languages["markup-templating"].buildPlaceholders(k,"latte",D),k.grammar=K}}),U.hooks.add("after-tokenize",function(k){U.languages["markup-templating"].tokenizePlaceholders(k,"latte")})}(S)}return M_}var R_,D7;function kxe(){if(D7)return R_;D7=1,R_=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return R_}var I_,N7;function YI(){if(N7)return I_;N7=1,I_=e,e.displayName="scheme",e.aliases=[];function e(t){(function(i){i.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(S({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function S(U){for(var K in U)U[K]=U[K].replace(/<[\w\s]+>/g,function(k){return"(?:"+U[k].trim()+")"});return U[K]}})(t)}return I_}var L_,P7;function Dxe(){if(P7)return L_;P7=1;var e=YI();L_=t,t.displayName="lilypond",t.aliases=[];function t(i){i.register(e),function(S){for(var U=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,K=5,k=0;k/g,function(){return U});U=U.replace(//g,/[^\s\S]/.source);var D=S.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return U}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:S.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};D["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=D,S.languages.ly=D}(i)}return L_}var k_,O7;function Nxe(){if(O7)return k_;O7=1;var e=td();k_=t,t.displayName="liquid",t.aliases=[];function t(i){i.register(e),i.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},i.hooks.add("before-tokenize",function(S){var U=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,K=!1;i.languages["markup-templating"].buildPlaceholders(S,"liquid",U,function(k){var D=/^\{%-?\s*(\w+)/.exec(k);if(D){var r=D[1];if(r==="raw"&&!K)return K=!0,!0;if(r==="endraw")return K=!1,!0}return!K})}),i.hooks.add("after-tokenize",function(S){i.languages["markup-templating"].tokenizePlaceholders(S,"liquid")})}return k_}var D_,F7;function Pxe(){if(F7)return D_;F7=1,D_=e,e.displayName="lisp",e.aliases=[];function e(t){(function(i){function S(y){return RegExp(/(\()/.source+"(?:"+y+")"+/(?=[\s\)])/.source)}function U(y){return RegExp(/([\s([])/.source+"(?:"+y+")"+/(?=[\s)])/.source)}var K=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,k="&"+K,D="(\\()",r="(?=\\))",c="(?=\\s)",A=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,o={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+K+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+K),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+K),alias:"property"},splice:{pattern:RegExp(",@?"+K),alias:["symbol","variable"]},keyword:[{pattern:RegExp(D+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+c),lookbehind:!0},{pattern:RegExp(D+"(?:append|by|collect|concat|do|finally|for|in|return)"+c),lookbehind:!0}],declare:{pattern:S(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:S(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:U(/nil|t/.source),lookbehind:!0},number:{pattern:U(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(D+"def(?:const|custom|group|var)\\s+"+K),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(K)}},defun:{pattern:RegExp(D+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+K+/\s+\(/.source+A+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+K),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(D+"lambda\\s+\\(\\s*(?:&?"+K+"(?:\\s+&?"+K+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(D+K),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},_={"lisp-marker":RegExp(k),varform:{pattern:RegExp(/\(/.source+K+/\s+(?=\S)/.source+A+/\)/.source),inside:o},argument:{pattern:RegExp(/(^|[\s(])/.source+K),lookbehind:!0,alias:"variable"},rest:o},T="\\S+(?:\\s+\\S+)*",p={pattern:RegExp(D+A+r),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+T),inside:_},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+T),inside:_},keys:{pattern:RegExp("&key\\s+"+T+"(?:\\s+&allow-other-keys)?"),inside:_},argument:{pattern:RegExp(K),alias:"variable"},punctuation:/[()]/}};o.lambda.inside.arguments=p,o.defun.inside.arguments=i.util.clone(p),o.defun.inside.arguments.inside.sublist=p,i.languages.lisp=o,i.languages.elisp=o,i.languages.emacs=o,i.languages["emacs-lisp"]=o})(t)}return D_}var N_,B7;function Oxe(){if(B7)return N_;B7=1,N_=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return N_}var P_,z7;function Fxe(){if(z7)return P_;z7=1,P_=e,e.displayName="llvm",e.aliases=[];function e(t){(function(i){i.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return P_}var O_,U7;function Bxe(){if(U7)return O_;U7=1,O_=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return O_}var F_,H7;function zxe(){if(H7)return F_;H7=1,F_=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return F_}var B_,G7;function Uxe(){if(G7)return B_;G7=1,B_=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return B_}var z_,V7;function Hxe(){if(V7)return z_;V7=1,z_=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return z_}var U_,W7;function Gxe(){if(W7)return U_;W7=1,U_=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(i){var S=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function U(_){return _=_.replace(//g,function(){return S}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+_+")")}var K=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,k=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return K}),D=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+k+D+"(?:"+k+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+k+D+")(?:"+k+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(K),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+k+")"+D+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+k+"$"),inside:{"table-header":{pattern:RegExp(K),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:U(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:U(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:U(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:U(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(_){["url","bold","italic","strike","code-snippet"].forEach(function(T){_!==T&&(i.languages.markdown[_].inside.content.inside[T]=i.languages.markdown[T])})}),i.hooks.add("after-tokenize",function(_){if(_.language!=="markdown"&&_.language!=="md")return;function T(p){if(!(!p||typeof p=="string"))for(var y=0,a=p.length;y",quot:'"'},A=String.fromCodePoint||String.fromCharCode;function o(_){var T=_.replace(r,"");return T=T.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(p,y){if(y=y.toLowerCase(),y[0]==="#"){var a;return y[1]==="x"?a=parseInt(y.slice(2),16):a=Number(y.slice(1)),A(a)}else{var n=c[y];return n||p}}),T}i.languages.md=i.languages.markdown})(t)}return U_}var H_,Y7;function Vxe(){if(Y7)return H_;Y7=1,H_=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return H_}var G_,j7;function Wxe(){if(j7)return G_;j7=1,G_=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(i){var S=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;i.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+S.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+S.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:S,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return G_}var V_,K7;function Yxe(){if(K7)return V_;K7=1,V_=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|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|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|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|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)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return V_}var W_,X7;function jxe(){if(X7)return W_;X7=1,W_=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return W_}var Y_,$7;function Kxe(){if($7)return Y_;$7=1,Y_=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return Y_}var j_,Z7;function Xxe(){if(Z7)return j_;Z7=1,j_=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(i){var S=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],U=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];S=S.map(function(k){return k.replace("$","\\$")});var K="(?:"+S.join("|")+")\\b";i.languages.mongodb=i.languages.extend("javascript",{}),i.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+K+"(?:\\1)?$")}}}),i.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},i.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+U.join("|")+")\\b"),alias:"keyword"}})})(t)}return j_}var K_,J7;function $xe(){if(J7)return K_;J7=1,K_=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return K_}var X_,Q7;function Zxe(){if(Q7)return X_;Q7=1,X_=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return X_}var $_,q7;function Jxe(){if(q7)return $_;q7=1,$_=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return $_}var Z_,eB;function Qxe(){if(eB)return Z_;eB=1,Z_=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return Z_}var J_,tB;function qxe(){if(tB)return J_;tB=1,J_=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return J_}var Q_,rB;function e2e(){if(rB)return Q_;rB=1,Q_=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(i){var S=/\{[^\r\n\[\]{}]*\}/,U={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:S,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};i.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:S,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:U}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:S,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:U},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},i.languages.nani=i.languages.naniscript,i.hooks.add("after-tokenize",function(D){var r=D.tokens;r.forEach(function(c){if(typeof c!="string"&&c.type==="generic-text"){var A=k(c);K(A)||(c.type="bad-line",c.content=A)}})});function K(D){for(var r="[]{}",c=[],A=0;A=&|$!]/}}return q_}var eM,aB;function r2e(){if(aB)return eM;aB=1,eM=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return eM}var tM,iB;function n2e(){if(iB)return tM;iB=1,tM=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return tM}var rM,oB;function a2e(){if(oB)return rM;oB=1,rM=e,e.displayName="nginx",e.aliases=[];function e(t){(function(i){var S=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;i.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:S}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:S}},punctuation:/[{};]/}})(t)}return rM}var nM,sB;function i2e(){if(sB)return nM;sB=1,nM=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return nM}var aM,lB;function o2e(){if(lB)return aM;lB=1,aM=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return aM}var iM,uB;function s2e(){if(uB)return iM;uB=1,iM=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return iM}var oM,cB;function l2e(){if(cB)return oM;cB=1;var e=Sg();oM=t,t.displayName="objectivec",t.aliases=["objc"];function t(i){i.register(e),i.languages.objectivec=i.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete i.languages.objectivec["class-name"],i.languages.objc=i.languages.objectivec}return oM}var sM,fB;function u2e(){if(fB)return sM;fB=1,sM=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return sM}var lM,dB;function c2e(){if(dB)return lM;dB=1;var e=Sg();lM=t,t.displayName="opencl",t.aliases=[];function t(i){i.register(e),function(S){S.languages.opencl=S.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),S.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var U={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};S.languages.insertBefore("c","keyword",U),S.languages.cpp&&(U["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},S.languages.insertBefore("cpp","keyword",U))}(i)}return lM}var uM,hB;function f2e(){if(hB)return uM;hB=1,uM=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return uM}var cM,vB;function d2e(){if(vB)return cM;vB=1,cM=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return cM}var fM,pB;function h2e(){if(pB)return fM;pB=1,fM=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var i=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return i=i.map(function(S){return S.split("").join(" *")}).join("|"),RegExp("\\b(?:"+i+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return fM}var dM,gB;function v2e(){if(gB)return dM;gB=1,dM=e,e.displayName="parser",e.aliases=[];function e(t){(function(i){var S=i.languages.parser=i.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});S=i.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:S.keyword,variable:S.variable,function:S.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:S.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:S.punctuation}}}),i.languages.insertBefore("inside","punctuation",{expression:S.expression,keyword:S.keyword,variable:S.variable,function:S.function,escape:S.escape,"parser-punctuation":{pattern:S.punctuation,alias:"punctuation"}},S.tag.inside["attr-value"])})(t)}return dM}var hM,mB;function p2e(){if(mB)return hM;mB=1,hM=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return hM}var vM,yB;function g2e(){if(yB)return vM;yB=1,vM=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(i){var S=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,U=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return S}),K=i.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return U}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return U}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return U})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},k=["comment","keyword","builtin","operator","punctuation"].reduce(function(D,r){return D[r]=K[r],D},{});K["class-name"].forEach(function(D){D.inside=k})})(t)}return vM}var pM,xB;function m2e(){if(xB)return pM;xB=1,pM=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return pM}var gM,bB;function y2e(){if(bB)return gM;bB=1,gM=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return gM}var mM,TB;function x2e(){if(TB)return mM;TB=1,mM=e,e.displayName="perl",e.aliases=[];function e(t){(function(i){var S=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;i.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,S].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,S].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,S+/\s*/.source+S].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return mM}var yM,EB;function b2e(){if(EB)return yM;EB=1;var e=l3();yM=t,t.displayName="phpExtras",t.aliases=[];function t(i){i.register(e),i.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return yM}var xM,wB;function T2e(){if(wB)return xM;wB=1;var e=l3(),t=s3();xM=i,i.displayName="phpdoc",i.aliases=[];function i(S){S.register(e),S.register(t),function(U){var K=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;U.languages.phpdoc=U.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+K+"\\s+)?)\\$\\w+"),lookbehind:!0}}),U.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+K),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),U.languages.javadoclike.addSupport("php",U.languages.phpdoc)}(S)}return xM}var bM,AB;function E2e(){if(AB)return bM;AB=1;var e=zI();bM=t,t.displayName="plsql",t.aliases=[];function t(i){i.register(e),i.languages.plsql=i.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),i.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return bM}var TM,SB;function w2e(){if(SB)return TM;SB=1,TM=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return TM}var EM,CB;function A2e(){if(CB)return EM;CB=1,EM=e,e.displayName="powershell",e.aliases=[];function e(t){(function(i){var S=i.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};S.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:S},boolean:S.boolean,variable:S.variable}})(t)}return EM}var wM,_B;function S2e(){if(_B)return wM;_B=1,wM=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return wM}var AM,MB;function C2e(){if(MB)return AM;MB=1,AM=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return AM}var SM,RB;function _2e(){if(RB)return SM;RB=1,SM=e,e.displayName="promql",e.aliases=[];function e(t){(function(i){var S=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],U=["on","ignoring","group_right","group_left","by","without"],K=["offset"],k=S.concat(U,K);i.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+U.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+k.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return SM}var CM,IB;function M2e(){if(IB)return CM;IB=1,CM=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return CM}var _M,LB;function R2e(){if(LB)return _M;LB=1,_M=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(i){var S=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;i.languages.protobuf=i.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),i.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:S}},builtin:S,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return _M}var MM,kB;function I2e(){if(kB)return MM;kB=1,MM=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return MM}var RM,DB;function L2e(){if(DB)return RM;DB=1,RM=e,e.displayName="pug",e.aliases=[];function e(t){(function(i){i.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:i.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:i.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:i.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:i.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:i.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:i.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:i.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:i.languages.javascript}],punctuation:/[.\-!=|]+/};for(var S=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,U=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],K={},k=0,D=U.length;k",function(){return r.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[r.language,"language-"+r.language],inside:i.languages[r.language]}}})}i.languages.insertBefore("pug","filter",K)})(t)}return RM}var IM,NB;function k2e(){if(NB)return IM;NB=1,IM=e,e.displayName="puppet",e.aliases=[];function e(t){(function(i){i.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var S=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:i.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];i.languages.puppet.heredoc[0].inside.interpolation=S,i.languages.puppet.string.inside["double-quoted"].inside.interpolation=S})(t)}return IM}var LM,PB;function D2e(){if(PB)return LM;PB=1,LM=e,e.displayName="pure",e.aliases=[];function e(t){(function(i){i.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var S=["c",{lang:"c++",alias:"cpp"},"fortran"],U=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;S.forEach(function(K){var k=K;if(typeof K!="string"&&(k=K.alias,K=K.lang),i.languages[k]){var D={};D["inline-lang-"+k]={pattern:RegExp(U.replace("",K.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:i.util.clone(i.languages.pure["inline-lang"].inside)},D["inline-lang-"+k].inside.rest=i.util.clone(i.languages[k]),i.languages.insertBefore("pure","inline-lang",D)}}),i.languages.c&&(i.languages.pure["inline-lang"].inside.rest=i.util.clone(i.languages.c))})(t)}return LM}var kM,OB;function N2e(){if(OB)return kM;OB=1,kM=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|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|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return kM}var DM,FB;function P2e(){if(FB)return DM;FB=1;var e=HI();DM=t,t.displayName="purescript",t.aliases=["purs"];function t(i){i.register(e),i.languages.purescript=i.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[i.languages.haskell.operator[0],i.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),i.languages.purs=i.languages.purescript}return DM}var NM,BB;function O2e(){if(BB)return NM;BB=1,NM=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return NM}var PM,zB;function F2e(){if(zB)return PM;zB=1,PM=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return PM}var OM,UB;function B2e(){if(UB)return OM;UB=1,OM=e,e.displayName="qml",e.aliases=[];function e(t){(function(i){for(var S=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,U=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,K=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return S}).replace(//g,function(){return U}),k=0;k<2;k++)K=K.replace(//g,function(){return K});K=K.replace(//g,"[^\\s\\S]"),i.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return K}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return K}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return OM}var FM,HB;function z2e(){if(HB)return FM;HB=1,FM=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return FM}var BM,GB;function U2e(){if(GB)return BM;GB=1,BM=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(i){function S(p,y){return p.replace(/<<(\d+)>>/g,function(a,n){return"(?:"+y[+n]+")"})}function U(p,y,a){return RegExp(S(p,y),a||"")}function K(p,y){for(var a=0;a>/g,function(){return"(?:"+p+")"});return p.replace(/<>/g,"[^\\s\\S]")}var k={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function D(p){return"\\b(?:"+p.trim().replace(/ /g,"|")+")\\b"}var r=RegExp(D(k.type+" "+k.other)),c=/\b[A-Za-z_]\w*\b/.source,A=S(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[c]),o={keyword:r,punctuation:/[<>()?,.:[\]]/},_=/"(?:\\.|[^\\"])*"/.source;i.languages.qsharp=i.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:U(/(^|[^$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:U(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[A]),lookbehind:!0,inside:o},{pattern:U(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[A]),lookbehind:!0,inside:o}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),i.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var T=K(S(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[_]),2);i.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:U(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[T]),greedy:!0,inside:{interpolation:{pattern:U(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[T]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:i.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return BM}var zM,VB;function H2e(){if(VB)return zM;VB=1,zM=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return zM}var UM,WB;function G2e(){if(WB)return UM;WB=1;var e=YI();UM=t,t.displayName="racket",t.aliases=["rkt"];function t(i){i.register(e),i.languages.racket=i.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),i.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),i.languages.rkt=i.languages.racket}return UM}var HM,YB;function V2e(){if(YB)return HM;YB=1,HM=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}return HM}var GM,jB;function W2e(){if(jB)return GM;jB=1,GM=e,e.displayName="regex",e.aliases=[];function e(t){(function(i){var S={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},U=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,K={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},k={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},D="(?:[^\\\\-]|"+U.source+")",r=RegExp(D+"-"+D),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};i.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:U,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":S,"char-set":k,escape:U}},"special-escape":S,"char-set":K,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:U,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return VM}var WM,XB;function j2e(){if(XB)return WM;XB=1,WM=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return WM}var YM,$B;function K2e(){if($B)return YM;$B=1,YM=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return YM}var jM,ZB;function X2e(){if(ZB)return jM;ZB=1,jM=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return jM}var KM,JB;function $2e(){if(JB)return KM;JB=1,KM=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return KM}var XM,QB;function Z2e(){if(QB)return XM;QB=1,XM=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(i){var S={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},U={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function K(c,A){var o={};o["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var _ in A)o[_]=A[_];return o.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},o.variable=U,o.comment=S,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return c}),"im"),alias:"section",inside:o}}var k={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},D={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:U}},r={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:U}};i.languages.robotframework={settings:K("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:K("Variables"),"test-cases":K("Test Cases",{"test-name":D,documentation:k,property:r}),keywords:K("Keywords",{"keyword-name":D,documentation:k,property:r}),tasks:K("Tasks",{"task-name":D,documentation:k,property:r}),comment:S},i.languages.robot=i.languages.robotframework})(t)}return XM}var $M,qB;function J2e(){if(qB)return $M;qB=1,$M=e,e.displayName="rust",e.aliases=[];function e(t){(function(i){for(var S=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,U=0;U<2;U++)S=S.replace(//g,function(){return S});S=S.replace(//g,function(){return/[^\s\S]/.source}),i.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+S),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},i.languages.rust["closure-params"].inside.rest=i.languages.rust,i.languages.rust.attribute.inside.string=i.languages.rust.string})(t)}return $M}var ZM,ez;function Q2e(){if(ez)return ZM;ez=1,ZM=e,e.displayName="sas",e.aliases=[];function e(t){(function(i){var S=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,U=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,K={pattern:RegExp(S+"[bx]"),alias:"number"},k={pattern:/&[a-z_]\w*/i},D={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},r={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},c=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],A={pattern:RegExp(S),greedy:!0},o=/[$%@.(){}\[\];,\\]/,_={pattern:/%?\b\w+(?=\()/,alias:"keyword"},T={function:_,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":k,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:U,"numeric-constant":K,punctuation:o,string:A},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},y={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},a={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},n={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},l=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,s={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return l}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return l}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:c,function:_,"arg-value":T["arg-value"],operator:T.operator,argument:T.arg,number:U,"numeric-constant":K,punctuation:o,string:A}},h={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};i.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return S}),"im"),alias:"language-sql",inside:i.languages.sql},"global-statements":a,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:U,"numeric-constant":K,punctuation:o,string:A}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:c,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return S}),"im"),lookbehind:!0,alias:"language-groovy",inside:i.languages.groovy},keyword:h,"submit-statement":n,"global-statements":a,number:U,"numeric-constant":K,punctuation:o,string:A}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:c,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return S}),"im"),lookbehind:!0,alias:"language-lua",inside:i.languages.lua},keyword:h,"submit-statement":n,"global-statements":a,number:U,"numeric-constant":K,punctuation:o,string:A}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:c,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:T}},"cas-actions":s,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:T},step:r,keyword:h,function:_,format:p,altformat:y,"global-statements":a,number:U,"numeric-constant":K,punctuation:o,string:A}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return S}),"im"),lookbehind:!0,inside:T},"macro-keyword":D,"macro-variable":k,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":D,"macro-variable":k,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:o}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:c,number:U,"numeric-constant":K}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:T},"cas-actions":s,comment:c,function:_,format:p,altformat:y,"numeric-constant":K,datetime:{pattern:RegExp(S+"(?:dt?|t)"),alias:"number"},string:A,step:r,keyword:h,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:U,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:o}})(t)}return ZM}var JM,tz;function q2e(){if(tz)return JM;tz=1,JM=e,e.displayName="sass",e.aliases=[];function e(t){(function(i){i.languages.sass=i.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),i.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete i.languages.sass.atrule;var S=/\$[-\w]+|#\{\$[-\w]+\}/,U=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];i.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:S,operator:U}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:S,operator:U,important:i.languages.sass.important}}}),delete i.languages.sass.property,delete i.languages.sass.important,i.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return JM}var QM,rz;function ebe(){if(rz)return QM;rz=1;var e=GI();QM=t,t.displayName="scala",t.aliases=[];function t(i){i.register(e),i.languages.scala=i.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),i.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.scala}}},string:/[\s\S]+/}}}),delete i.languages.scala["class-name"],delete i.languages.scala.function}return QM}var qM,nz;function tbe(){if(nz)return qM;nz=1,qM=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return qM}var e6,az;function rbe(){if(az)return e6;az=1;var e=Cj();e6=t,t.displayName="shellSession",t.aliases=[];function t(i){i.register(e),function(S){var U=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");S.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return U}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:S.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},S.languages["sh-session"]=S.languages.shellsession=S.languages["shell-session"]}(i)}return e6}var t6,iz;function nbe(){if(iz)return t6;iz=1,t6=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return t6}var r6,oz;function abe(){if(oz)return r6;oz=1,r6=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return r6}var n6,sz;function ibe(){if(sz)return n6;sz=1;var e=td();n6=t,t.displayName="smarty",t.aliases=[];function t(i){i.register(e),function(S){S.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:S.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},S.languages.smarty["embedded-php"].inside.smarty.inside=S.languages.smarty,S.languages.smarty.string[0].inside.interpolation.inside.expression.inside=S.languages.smarty;var U=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,K=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return U.source}),"g");S.hooks.add("before-tokenize",function(k){var D="{literal}",r="{/literal}",c=!1;S.languages["markup-templating"].buildPlaceholders(k,"smarty",K,function(A){return A===r&&(c=!1),c?!1:(A===D&&(c=!0),!0)})}),S.hooks.add("after-tokenize",function(k){S.languages["markup-templating"].tokenizePlaceholders(k,"smarty")})}(i)}return n6}var a6,lz;function obe(){if(lz)return a6;lz=1,a6=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(i){var S=/\b(?: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|where|while|with|withtype)\b/i;i.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return S.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:S,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},i.languages.sml["class-name"][0].inside=i.languages.sml,i.languages.smlnj=i.languages.sml})(t)}return a6}var i6,uz;function sbe(){if(uz)return i6;uz=1,i6=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return i6}var o6,cz;function lbe(){if(cz)return o6;cz=1,o6=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(i){var S={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};i.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:S}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:S}},guid:S,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},i.languages.sln=i.languages["solution-file"]})(t)}return o6}var s6,fz;function ube(){if(fz)return s6;fz=1;var e=td();s6=t,t.displayName="soy",t.aliases=[];function t(i){i.register(e),function(S){var U=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,K=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;S.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:U,greedy:!0},number:K,punctuation:/[\[\].?]/}},string:{pattern:U,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:K,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},S.hooks.add("before-tokenize",function(k){var D=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,r="{literal}",c="{/literal}",A=!1;S.languages["markup-templating"].buildPlaceholders(k,"soy",D,function(o){return o===c&&(A=!1),A?!1:(o===r&&(A=!0),!0)})}),S.hooks.add("after-tokenize",function(k){S.languages["markup-templating"].tokenizePlaceholders(k,"soy")})}(i)}return s6}var l6,dz;function Ij(){if(dz)return l6;dz=1,l6=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return l6}var u6,hz;function cbe(){if(hz)return u6;hz=1;var e=Ij();u6=t,t.displayName="sparql",t.aliases=["rq"];function t(i){i.register(e),i.languages.sparql=i.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),i.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),i.languages.rq=i.languages.sparql}return u6}var c6,vz;function fbe(){if(vz)return c6;vz=1,c6=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return c6}var f6,pz;function dbe(){if(pz)return f6;pz=1,f6=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|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|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|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|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|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|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|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|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|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|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|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_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|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|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|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|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|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|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|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|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|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|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|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|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|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|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|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|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|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|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|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|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|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return f6}var d6,gz;function hbe(){if(gz)return d6;gz=1,d6=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return d6}var h6,mz;function vbe(){if(mz)return h6;mz=1,h6=e,e.displayName="stan",e.aliases=[];function e(t){(function(i){var S=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;i.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+S.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,S],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},i.languages.stan.constraint.inside.expression.inside=i.languages.stan})(t)}return h6}var v6,yz;function pbe(){if(yz)return v6;yz=1,v6=e,e.displayName="stylus",e.aliases=[];function e(t){(function(i){var S={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},U={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},K={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:S,number:U,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:S,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:U,punctuation:/[{}()\[\];:,]/};K.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:K}},K.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:K}},i.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:K}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:K}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:K}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:K.interpolation}},rest:K}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:K.interpolation,comment:K.comment,punctuation:/[{},]/}},func:K.func,string:K.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:K.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return v6}var p6,xz;function gbe(){if(xz)return p6;xz=1,p6=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(i){i.inside.interpolation.inside=t.languages.swift})}return p6}var g6,bz;function mbe(){if(bz)return g6;bz=1,g6=e,e.displayName="systemd",e.aliases=[];function e(t){(function(i){var S={pattern:/^[;#].*/m,greedy:!0},U=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;i.languages.systemd={comment:S,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+U+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+U+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:S,quoted:{pattern:RegExp(/(^|\s)/.source+U),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return g6}var m6,Tz;function jI(){if(Tz)return m6;Tz=1,m6=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(i){function S(K,k,D){return{pattern:RegExp("<#"+K+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+K+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:k,alias:D}}}}function U(K){var k=i.languages[K],D="language-"+K;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:S("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:S("=",k,D),"class-feature":S("\\+",k,D),standard:S("",k,D)}}}}i.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:U})})(t)}return m6}var y6,Ez;function ybe(){if(Ez)return y6;Ez=1;var e=jI(),t=i3();y6=i,i.displayName="t4Cs",i.aliases=[];function i(S){S.register(e),S.register(t),S.languages.t4=S.languages["t4-cs"]=S.languages["t4-templating"].createT4("csharp")}return y6}var x6,wz;function Lj(){if(wz)return x6;wz=1;var e=_j();x6=t,t.displayName="vbnet",t.aliases=[];function t(i){i.register(e),i.languages.vbnet=i.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return x6}var b6,Az;function xbe(){if(Az)return b6;Az=1;var e=jI(),t=Lj();b6=i,i.displayName="t4Vb",i.aliases=[];function i(S){S.register(e),S.register(t),S.languages["t4-vb"]=S.languages["t4-templating"].createT4("vbnet")}return b6}var T6,Sz;function kj(){if(Sz)return T6;Sz=1,T6=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(i){var S=/[*&][^\s[\]{},]+/,U=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,K="(?:"+U.source+"(?:[ ]+"+S.source+")?|"+S.source+"(?:[ ]+"+U.source+")?)",k=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),D=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function r(c,A){A=(A||"").replace(/m/g,"")+"m";var o=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return K}).replace(/<>/g,function(){return c});return RegExp(o,A)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return K})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return K}).replace(/<>/g,function(){return"(?:"+k+"|"+D+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:r(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:r(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:r(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:r(D),lookbehind:!0,greedy:!0},number:{pattern:r(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:U,important:S,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(t)}return T6}var E6,Cz;function bbe(){if(Cz)return E6;Cz=1;var e=kj();E6=t,t.displayName="tap",t.aliases=[];function t(i){i.register(e),i.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:i.languages.yaml,alias:"language-yaml"}}}return E6}var w6,_z;function Tbe(){if(_z)return w6;_z=1,w6=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return w6}var A6,Mz;function Ebe(){if(Mz)return A6;Mz=1,A6=e,e.displayName="textile",e.aliases=[];function e(t){(function(i){var S=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,U=/\)|\((?![^|()\n]+\))/.source;function K(_,T){return RegExp(_.replace(//g,function(){return"(?:"+S+")"}).replace(//g,function(){return"(?:"+U+")"}),T||"")}var k={css:{pattern:/\{[^{}]+\}/,inside:{rest:i.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},D=i.languages.textile=i.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:K(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:K(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:k},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:K(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:K(/(^[*#]+)+/.source),lookbehind:!0,inside:k},punctuation:/^[*#]+/}},table:{pattern:K(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:K(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:k},punctuation:/\||^\./}},inline:{pattern:K(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:K(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:K(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:K(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:K(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:K(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:K(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:K(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:K(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:k},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:K(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:K(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:K(/(^")+/.source),lookbehind:!0,inside:k},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:K(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:K(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:K(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:k},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),r=D.phrase.inside,c={inline:r.inline,link:r.link,image:r.image,footnote:r.footnote,acronym:r.acronym,mark:r.mark};D.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var A=r.inline.inside;A.bold.inside=c,A.italic.inside=c,A.inserted.inside=c,A.deleted.inside=c,A.span.inside=c;var o=r.table.inside;o.inline=c.inline,o.link=c.link,o.image=c.image,o.footnote=c.footnote,o.acronym=c.acronym,o.mark=c.mark})(t)}return A6}var S6,Rz;function wbe(){if(Rz)return S6;Rz=1,S6=e,e.displayName="toml",e.aliases=[];function e(t){(function(i){var S=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function U(K){return K.replace(/__/g,function(){return S})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(U(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(U(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return S6}var C6,Iz;function Abe(){if(Iz)return C6;Iz=1,C6=e,e.displayName="tremor",e.aliases=[];function e(t){(function(i){i.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var S=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+S+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+S+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(S),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor})(t)}return C6}var _6,Lz;function Sbe(){if(Lz)return _6;Lz=1;var e=Rj(),t=VI();_6=i,i.displayName="tsx",i.aliases=[];function i(S){S.register(e),S.register(t),function(U){var K=U.util.clone(U.languages.typescript);U.languages.tsx=U.languages.extend("jsx",K),delete U.languages.tsx.parameter,delete U.languages.tsx["literal-property"];var k=U.languages.tsx.tag;k.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+k.pattern.source+")",k.pattern.flags),k.lookbehind=!0}(S)}return _6}var M6,kz;function Cbe(){if(kz)return M6;kz=1;var e=td();M6=t,t.displayName="tt2",t.aliases=[];function t(i){i.register(e),function(S){S.languages.tt2=S.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),S.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),S.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),S.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete S.languages.tt2.string,S.hooks.add("before-tokenize",function(U){var K=/\[%[\s\S]+?%\]/g;S.languages["markup-templating"].buildPlaceholders(U,"tt2",K)}),S.hooks.add("after-tokenize",function(U){S.languages["markup-templating"].tokenizePlaceholders(U,"tt2")})}(i)}return M6}var R6,Dz;function _be(){if(Dz)return R6;Dz=1;var e=td();R6=t,t.displayName="twig",t.aliases=[];function t(i){i.register(e),i.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},i.hooks.add("before-tokenize",function(S){if(S.language==="twig"){var U=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;i.languages["markup-templating"].buildPlaceholders(S,"twig",U)}}),i.hooks.add("after-tokenize",function(S){i.languages["markup-templating"].tokenizePlaceholders(S,"twig")})}return R6}var I6,Nz;function Mbe(){if(Nz)return I6;Nz=1,I6=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(i){var S=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;i.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:S}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:S,number:/^\d+$/,punctuation:/[,|:]/}},keyword:S,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript})(t)}return I6}var L6,Pz;function Rbe(){if(Pz)return L6;Pz=1,L6=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return L6}var k6,Oz;function Ibe(){if(Oz)return k6;Oz=1,k6=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return k6}var D6,Fz;function Lbe(){if(Fz)return D6;Fz=1,D6=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return D6}var N6,Bz;function kbe(){if(Bz)return N6;Bz=1,N6=e,e.displayName="v",e.aliases=[];function e(t){(function(i){var S={pattern:/[\s\S]+/,inside:null};i.languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":S}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),S.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})})(t)}return N6}var P6,zz;function Dbe(){if(zz)return P6;zz=1,P6=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return P6}var O6,Uz;function Nbe(){if(Uz)return O6;Uz=1,O6=e,e.displayName="velocity",e.aliases=[];function e(t){(function(i){i.languages.velocity=i.languages.extend("markup",{});var S={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};S.variable.inside={string:S.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:S.number,boolean:S.boolean,punctuation:S.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:S}},variable:S.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity})(t)}return O6}var F6,Hz;function Pbe(){if(Hz)return F6;Hz=1,F6=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|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|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return F6}var B6,Gz;function Obe(){if(Gz)return B6;Gz=1,B6=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return B6}var z6,Vz;function Fbe(){if(Vz)return z6;Vz=1,z6=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return z6}var U6,Wz;function Bbe(){if(Wz)return U6;Wz=1,U6=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return U6}var H6,Yz;function zbe(){if(Yz)return H6;Yz=1,H6=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return H6}var G6,jz;function Ube(){if(jz)return G6;jz=1,G6=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\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|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\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/,punctuation:/[()]/}}return G6}var V6,Kz;function Hbe(){if(Kz)return V6;Kz=1,V6=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(i){var S=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,U="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+S+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,K={};i.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+S),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:K},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+U),lookbehind:!0,inside:K},{pattern:RegExp("("+/\bcallback\s+/.source+S+/\s*=\s*/.source+")"+U),lookbehind:!0,inside:K},{pattern:RegExp(/(\btypedef\b\s*)/.source+U),lookbehind:!0,inside:K},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+S),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+S),lookbehind:!0},RegExp(S+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+S),lookbehind:!0},{pattern:RegExp(U+"(?="+/\s*(?:\.{3}\s*)?/.source+S+/\s*[(),;=]/.source+")"),inside:K}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var k in i.languages["web-idl"])k!=="class-name"&&(K[k]=i.languages["web-idl"][k]);i.languages.webidl=i.languages["web-idl"]})(t)}return V6}var W6,Xz;function Gbe(){if(Xz)return W6;Xz=1,W6=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return W6}var Y6,$z;function Vbe(){if($z)return Y6;$z=1,Y6=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return Y6}var j6,Zz;function Wbe(){if(Zz)return j6;Zz=1,j6=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return j6}var K6,Jz;function Ybe(){if(Jz)return K6;Jz=1,K6=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(i){i.languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora})(t)}return K6}var X6,Qz;function jbe(){if(Qz)return X6;Qz=1,X6=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(i){function S(D,r){i.languages[D]&&i.languages.insertBefore(D,"comment",{"doc-comment":r})}var U=i.languages.markup.tag,K={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:U}},k={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:U}};S("csharp",K),S("fsharp",K),S("vbnet",k)})(t)}return X6}var $6,qz;function Kbe(){if(qz)return $6;qz=1,$6=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return $6}var Z6,eU;function Xbe(){if(eU)return Z6;eU=1,Z6=e,e.displayName="xquery",e.aliases=[];function e(t){(function(i){i.languages.xquery=i.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),i.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,i.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,i.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:i.languages.xquery,alias:"language-xquery"};var S=function(K){return typeof K=="string"?K:typeof K.content=="string"?K.content:K.content.map(S).join("")},U=function(K){for(var k=[],D=0;D0&&k[k.length-1].tagName===S(r.content[0].content[1])&&k.pop():r.content[r.content.length-1].content==="/>"||k.push({tagName:S(r.content[0].content[1]),openedBraces:0}):k.length>0&&r.type==="punctuation"&&r.content==="{"&&(!K[D+1]||K[D+1].type!=="punctuation"||K[D+1].content!=="{")&&(!K[D-1]||K[D-1].type!=="plain-text"||K[D-1].content!=="{")?k[k.length-1].openedBraces++:k.length>0&&k[k.length-1].openedBraces>0&&r.type==="punctuation"&&r.content==="}"?k[k.length-1].openedBraces--:r.type!=="comment"&&(c=!0)),(c||typeof r=="string")&&k.length>0&&k[k.length-1].openedBraces===0){var A=S(r);D0&&(typeof K[D-1]=="string"||K[D-1].type==="plain-text")&&(A=S(K[D-1])+A,K.splice(D-1,1),D--),/^\s+$/.test(A)?K[D]=A:K[D]=new i.Token("plain-text",A,null,A)}r.content&&typeof r.content!="string"&&U(r.content)}};i.hooks.add("after-tokenize",function(K){K.language==="xquery"&&U(K.tokens)})})(t)}return Z6}var J6,tU;function $be(){if(tU)return J6;tU=1,J6=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return J6}var Q6,rU;function Zbe(){if(rU)return Q6;rU=1,Q6=e,e.displayName="zig",e.aliases=[];function e(t){(function(i){function S(A){return function(){return A}}var U=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,K="\\b(?!"+U.source+")(?!\\d)\\w+\\b",k=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,D=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,S(k)),r=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,S(K)),c="(?!\\s)(?:!?\\s*(?:"+D+"\\s*)*"+r+")+";i.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,S(c)).replace(//g,S(k))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,S(c)).replace(//g,S(k))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:U,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},i.languages.zig["class-name"].forEach(function(A){A.inside===null&&(A.inside=i.languages.zig)})})(t)}return Q6}var qr=ame,Jbe=qr;qr.register(pme());qr.register(gme());qr.register(mme());qr.register(yme());qr.register(xme());qr.register(bme());qr.register(Tme());qr.register(Eme());qr.register(wme());qr.register(Ame());qr.register(Sme());qr.register(Cme());qr.register(_me());qr.register(Mme());qr.register(Rme());qr.register(Ime());qr.register(Lme());qr.register(kme());qr.register(Dme());qr.register(Nme());qr.register(Pme());qr.register(Ome());qr.register(Cj());qr.register(_j());qr.register(Fme());qr.register(Bme());qr.register(zme());qr.register(Ume());qr.register(Hme());qr.register(Gme());qr.register(Vme());qr.register(Wme());qr.register(Yme());qr.register(jme());qr.register(Sg());qr.register(Kme());qr.register(Xme());qr.register($me());qr.register(Zme());qr.register(Jme());qr.register(Qme());qr.register(qme());qr.register(eye());qr.register(tye());qr.register(UI());qr.register(rye());qr.register(i3());qr.register(nye());qr.register(aye());qr.register(iye());qr.register(oye());qr.register(sye());qr.register(lye());qr.register(uye());qr.register(cye());qr.register(fye());qr.register(dye());qr.register(hye());qr.register(vye());qr.register(pye());qr.register(gye());qr.register(mye());qr.register(yye());qr.register(xye());qr.register(bye());qr.register(Tye());qr.register(Eye());qr.register(wye());qr.register(Aye());qr.register(Sye());qr.register(Cye());qr.register(_ye());qr.register(Mye());qr.register(Rye());qr.register(Iye());qr.register(Lye());qr.register(kye());qr.register(Dye());qr.register(Nye());qr.register(Pye());qr.register(Oye());qr.register(Fye());qr.register(Bye());qr.register(zye());qr.register(Uye());qr.register(Hye());qr.register(Gye());qr.register(Vye());qr.register(Wye());qr.register(Yye());qr.register(jye());qr.register(Kye());qr.register(Xye());qr.register($ye());qr.register(HI());qr.register(Zye());qr.register(Jye());qr.register(Qye());qr.register(qye());qr.register(exe());qr.register(txe());qr.register(rxe());qr.register(nxe());qr.register(axe());qr.register(ixe());qr.register(oxe());qr.register(sxe());qr.register(lxe());qr.register(uxe());qr.register(cxe());qr.register(fxe());qr.register(dxe());qr.register(GI());qr.register(hxe());qr.register(s3());qr.register(vxe());qr.register(pxe());qr.register(gxe());qr.register(mxe());qr.register(yxe());qr.register(xxe());qr.register(bxe());qr.register(WI());qr.register(Txe());qr.register(Exe());qr.register(wxe());qr.register(Rj());qr.register(Axe());qr.register(Sxe());qr.register(Cxe());qr.register(_xe());qr.register(Mxe());qr.register(Rxe());qr.register(Ixe());qr.register(Lxe());qr.register(kxe());qr.register(Dxe());qr.register(Nxe());qr.register(Pxe());qr.register(Oxe());qr.register(Fxe());qr.register(Bxe());qr.register(zxe());qr.register(Mj());qr.register(Uxe());qr.register(Hxe());qr.register(Gxe());qr.register(td());qr.register(Vxe());qr.register(Wxe());qr.register(Yxe());qr.register(jxe());qr.register(Kxe());qr.register(Xxe());qr.register($xe());qr.register(Zxe());qr.register(Jxe());qr.register(Qxe());qr.register(qxe());qr.register(e2e());qr.register(t2e());qr.register(r2e());qr.register(n2e());qr.register(a2e());qr.register(i2e());qr.register(o2e());qr.register(s2e());qr.register(l2e());qr.register(u2e());qr.register(c2e());qr.register(f2e());qr.register(d2e());qr.register(h2e());qr.register(v2e());qr.register(p2e());qr.register(g2e());qr.register(m2e());qr.register(y2e());qr.register(x2e());qr.register(b2e());qr.register(l3());qr.register(T2e());qr.register(E2e());qr.register(w2e());qr.register(A2e());qr.register(S2e());qr.register(C2e());qr.register(_2e());qr.register(M2e());qr.register(R2e());qr.register(I2e());qr.register(L2e());qr.register(k2e());qr.register(D2e());qr.register(N2e());qr.register(P2e());qr.register(O2e());qr.register(F2e());qr.register(B2e());qr.register(z2e());qr.register(U2e());qr.register(H2e());qr.register(G2e());qr.register(V2e());qr.register(W2e());qr.register(Y2e());qr.register(j2e());qr.register(K2e());qr.register(X2e());qr.register($2e());qr.register(Z2e());qr.register(o3());qr.register(J2e());qr.register(Q2e());qr.register(q2e());qr.register(ebe());qr.register(YI());qr.register(tbe());qr.register(rbe());qr.register(nbe());qr.register(abe());qr.register(ibe());qr.register(obe());qr.register(sbe());qr.register(lbe());qr.register(ube());qr.register(cbe());qr.register(fbe());qr.register(dbe());qr.register(zI());qr.register(hbe());qr.register(vbe());qr.register(pbe());qr.register(gbe());qr.register(mbe());qr.register(ybe());qr.register(jI());qr.register(xbe());qr.register(bbe());qr.register(Tbe());qr.register(Ebe());qr.register(wbe());qr.register(Abe());qr.register(Sbe());qr.register(Cbe());qr.register(Ij());qr.register(_be());qr.register(VI());qr.register(Mbe());qr.register(Rbe());qr.register(Ibe());qr.register(Lbe());qr.register(kbe());qr.register(Dbe());qr.register(Lj());qr.register(Nbe());qr.register(Pbe());qr.register(Obe());qr.register(Fbe());qr.register(Bbe());qr.register(zbe());qr.register(Ube());qr.register(Hbe());qr.register(Gbe());qr.register(Vbe());qr.register(Wbe());qr.register(Ybe());qr.register(jbe());qr.register(Kbe());qr.register(Xbe());qr.register(kj());qr.register($be());qr.register(Zbe());var Dj=Xve(Jbe,vme);Dj.supportedLanguages=$ve;const L9=Dj,k9={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2E3440",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2E3440",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#636f88"},prolog:{color:"#636f88"},doctype:{color:"#636f88"},cdata:{color:"#636f88"},punctuation:{color:"#81A1C1"},".namespace":{Opacity:".7"},property:{color:"#81A1C1"},tag:{color:"#81A1C1"},constant:{color:"#81A1C1"},symbol:{color:"#81A1C1"},deleted:{color:"#81A1C1"},number:{color:"#B48EAD"},boolean:{color:"#81A1C1"},selector:{color:"#A3BE8C"},"attr-name":{color:"#A3BE8C"},string:{color:"#A3BE8C"},char:{color:"#A3BE8C"},builtin:{color:"#A3BE8C"},inserted:{color:"#A3BE8C"},operator:{color:"#81A1C1"},entity:{color:"#81A1C1",cursor:"help"},url:{color:"#81A1C1"},".language-css .token.string":{color:"#81A1C1"},".style .token.string":{color:"#81A1C1"},variable:{color:"#81A1C1"},atrule:{color:"#88C0D0"},"attr-value":{color:"#88C0D0"},function:{color:"#88C0D0"},"class-name":{color:"#88C0D0"},keyword:{color:"#81A1C1"},regex:{color:"#EBCB8B"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Qbe="_container_18aqj_1",qbe="_chatRoot_18aqj_8",eTe="_chatContainer_18aqj_18",tTe="_chatEmptyState_18aqj_32",rTe="_chatEmptyStateTitle_18aqj_40",nTe="_chatEmptyStateSubtitle_18aqj_52",aTe="_chatIcon_18aqj_64",iTe="_chatMessageStream_18aqj_69",oTe="_chatMessageUser_18aqj_81",sTe="_chatMessageUserMessage_18aqj_87",lTe="_chatMessageGpt_18aqj_107",uTe="_chatMessageError_18aqj_113",cTe="_chatMessageErrorContent_18aqj_127",fTe="_chatInput_18aqj_139",dTe="_clearChatBroom_18aqj_152",hTe="_clearChatBroomNoCosmos_18aqj_168",vTe="_newChatIcon_18aqj_184",pTe="_stopGeneratingContainer_18aqj_200",gTe="_stopGeneratingIcon_18aqj_217",mTe="_stopGeneratingText_18aqj_223",yTe="_citationPanel_18aqj_238",xTe="_citationPanelHeaderContainer_18aqj_258",bTe="_citationPanelHeader_18aqj_258",TTe="_citationPanelDismiss_18aqj_273",ETe="_citationPanelTitle_18aqj_284",wTe="_citationPanelContent_18aqj_299",ATe="_exectResultList_18aqj_311",STe="_viewSourceButton_18aqj_344",po={container:Qbe,chatRoot:qbe,chatContainer:eTe,chatEmptyState:tTe,chatEmptyStateTitle:rTe,chatEmptyStateSubtitle:nTe,chatIcon:aTe,chatMessageStream:iTe,chatMessageUser:oTe,chatMessageUserMessage:sTe,chatMessageGpt:lTe,chatMessageError:uTe,chatMessageErrorContent:cTe,chatInput:fTe,clearChatBroom:dTe,clearChatBroomNoCosmos:hTe,newChatIcon:vTe,stopGeneratingContainer:pTe,stopGeneratingIcon:gTe,stopGeneratingText:mTe,citationPanel:yTe,citationPanelHeaderContainer:xTe,citationPanelHeader:bTe,citationPanelDismiss:TTe,citationPanelTitle:ETe,citationPanelContent:wTe,exectResultList:ATe,viewSourceButton:STe},Nj="/assets/Contoso-ff70ad88.svg",Pj=["iframe","a","img","svg","h1","h2","h3","h4","h5","h6","div","p","span","small","del","img","pictrue","embed","video","audio","i","u","sup","sub","strong","strike","code","pre","body","section","article","footer","table","tr","td","th","thead","tbody","tfooter","ul","ol","li"];var vc=(e=>(e.NotConfigured="CosmosDB is not configured",e.NotWorking="CosmosDB is not working",e.InvalidCredentials="CosmosDB has invalid credentials",e.InvalidDatabase="Invalid CosmosDB database name",e.InvalidContainer="Invalid CosmosDB container name",e.Working="CosmosDB is configured and working",e))(vc||{}),jc=(e=>(e.Loading="loading",e.Success="success",e.Fail="fail",e.NotStarted="notStarted",e))(jc||{}),To=(e=>(e.Neutral="neutral",e.Positive="positive",e.Negative="negative",e.MissingCitation="missing_citation",e.WrongCitation="wrong_citation",e.OutOfScope="out_of_scope",e.InaccurateOrIrrelevant="inaccurate_or_irrelevant",e.OtherUnhelpful="other_unhelpful",e.HateSpeech="hate_speech",e.Violent="violent",e.Sexual="sexual",e.Manipulative="manipulative",e.OtherHarmful="other_harmlful",e))(To||{});async function CTe(e,t){return await fetch("/conversation",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:e.messages}),signal:t})}async function _Te(){const e=await fetch("/.auth/me");return e.ok?await e.json():(console.log("No identity provider found. Access to chat will be blocked."),[])}const Oj=async(e=0)=>await fetch(`/history/list?offset=${e}`,{method:"GET"}).then(async i=>{const S=await i.json();return Array.isArray(S)?await Promise.all(S.map(async K=>{let k=[];return k=await MTe(K.id).then(r=>r).catch(r=>(console.error("error fetching messages: ",r),[])),{id:K.id,title:K.title,date:K.createdAt,messages:k}})):(console.error("There was an issue fetching your data."),null)}).catch(i=>(console.error("There was an issue fetching your data."),null)),MTe=async e=>await fetch("/history/read",{method:"POST",body:JSON.stringify({conversation_id:e}),headers:{"Content-Type":"application/json"}}).then(async i=>{if(!i)return[];const S=await i.json(),U=[];return S!=null&&S.messages&&S.messages.forEach(K=>{const k={id:K.id,role:K.role,date:K.createdAt,content:K.content,feedback:K.feedback??void 0};U.push(k)}),U}).catch(i=>(console.error("There was an issue fetching your data."),[])),nU=async(e,t,i)=>{let S;return i?S=JSON.stringify({conversation_id:i,messages:e.messages}):S=JSON.stringify({messages:e.messages}),await fetch("/history/generate",{method:"POST",headers:{"Content-Type":"application/json"},body:S,signal:t}).then(K=>K).catch(K=>(console.error("There was an issue fetching your data."),new Response))},RTe=async(e,t)=>await fetch("/history/update",{method:"POST",body:JSON.stringify({conversation_id:t,messages:e}),headers:{"Content-Type":"application/json"}}).then(async S=>S).catch(S=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),ITe=async e=>await fetch("/history/delete",{method:"DELETE",body:JSON.stringify({conversation_id:e}),headers:{"Content-Type":"application/json"}}).then(i=>i).catch(i=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),LTe=async()=>await fetch("/history/delete_all",{method:"DELETE",body:JSON.stringify({}),headers:{"Content-Type":"application/json"}}).then(t=>t).catch(t=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),kTe=async e=>await fetch("/history/clear",{method:"POST",body:JSON.stringify({conversation_id:e}),headers:{"Content-Type":"application/json"}}).then(i=>i).catch(i=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),DTe=async(e,t)=>await fetch("/history/rename",{method:"POST",body:JSON.stringify({conversation_id:e,title:t}),headers:{"Content-Type":"application/json"}}).then(S=>S).catch(S=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),NTe=async()=>await fetch("/history/ensure",{method:"GET"}).then(async t=>{const i=await t.json();let S;return i.message?S=vc.Working:t.status===500?S=vc.NotWorking:t.status===401?S=vc.InvalidCredentials:t.status===422?S=i.error:S=vc.NotConfigured,t.ok?{cosmosDB:!0,status:S}:{cosmosDB:!1,status:S}}).catch(t=>(console.error("There was an issue fetching your data."),{cosmosDB:!1,status:t})),PTe=async()=>await fetch("/frontend_settings",{method:"GET"}).then(t=>t.json()).catch(t=>(console.error("There was an issue fetching your data."),null)),q6=async(e,t)=>await fetch("/history/message_feedback",{method:"POST",body:JSON.stringify({message_id:e,message_feedback:t}),headers:{"Content-Type":"application/json"}}).then(S=>S).catch(S=>(console.error("There was an issue logging feedback."),{...new Response,ok:!1,status:500}));function OTe(){return e=>{ry(e,["text"],(t,i,S)=>{if(t.type!=="text")return;const{value:U}=t,K=U.split(/\^/);if(K.length===1||K.length%2===0)return;const k=K.map((D,r)=>r%2===0?{type:"text",value:D}:{type:"superscript",data:{hName:"sup"},children:[{type:"text",value:D}]});S.children.splice(i,1,...k)}),ry(e,["text"],(t,i,S)=>{if(t.type!=="text")return;const{value:U}=t,K=U.split(/\~/);if(K.length===1||K.length%2===0)return;const k=K.map((D,r)=>r%2===0?{type:"text",value:D}:{type:"subscript",data:{hName:"sub"},children:[{type:"text",value:D}]});S.children.splice(i,1,...k)})}}var Fj={},Bj={};(function(e){function t(v){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},t(v)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var i=k($t),S=U(uo);function U(v){return v&&v.__esModule?v:{default:v}}function K(v){if(typeof WeakMap!="function")return null;var u=new WeakMap,b=new WeakMap;return(K=function(C){return C?b:u})(v)}function k(v,u){if(!u&&v&&v.__esModule)return v;if(v===null||t(v)!=="object"&&typeof v!="function")return{default:v};var b=K(u);if(b&&b.has(v))return b.get(v);var m={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in v)if(g!=="default"&&Object.prototype.hasOwnProperty.call(v,g)){var f=C?Object.getOwnPropertyDescriptor(v,g):null;f&&(f.get||f.set)?Object.defineProperty(m,g,f):m[g]=v[g]}return m.default=v,b&&b.set(v,m),m}function D(v,u){if(!(v instanceof u))throw new TypeError("Cannot call a class as a function")}function r(v,u){for(var b=0;b"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function a(v){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},a(v)}var n=["AfterExport","AfterPlot","Animated","AnimatingFrame","AnimationInterrupted","AutoSize","BeforeExport","BeforeHover","ButtonClicked","Click","ClickAnnotation","Deselect","DoubleClick","Framework","Hover","LegendClick","LegendDoubleClick","Relayout","Relayouting","Restyle","Redraw","Selected","Selecting","SliderChange","SliderEnd","SliderStart","SunburstClick","Transitioning","TransitionInterrupted","Unhover","WebGlContextLost"],l=["plotly_restyle","plotly_redraw","plotly_relayout","plotly_relayouting","plotly_doubleclick","plotly_animated","plotly_sunburstclick"],s=typeof window<"u";function h(v){var u=function(b){A(C,b);var m=_(C);function C(g){var f;return D(this,C),f=m.call(this,g),f.p=Promise.resolve(),f.resizeHandler=null,f.handlers={},f.syncWindowResize=f.syncWindowResize.bind(p(f)),f.syncEventHandlers=f.syncEventHandlers.bind(p(f)),f.attachUpdateEvents=f.attachUpdateEvents.bind(p(f)),f.getRef=f.getRef.bind(p(f)),f.handleUpdate=f.handleUpdate.bind(p(f)),f.figureCallback=f.figureCallback.bind(p(f)),f.updatePlotly=f.updatePlotly.bind(p(f)),f}return c(C,[{key:"updatePlotly",value:function(f,x,M){var R=this;this.p=this.p.then(function(){if(!R.unmounting){if(!R.el)throw new Error("Missing element reference");return v.react(R.el,{data:R.props.data,layout:R.props.layout,config:R.props.config,frames:R.props.frames})}}).then(function(){R.unmounting||(R.syncWindowResize(f),R.syncEventHandlers(),R.figureCallback(x),M&&R.attachUpdateEvents())}).catch(function(N){R.props.onError&&R.props.onError(N)})}},{key:"componentDidMount",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:"componentDidUpdate",value:function(f){this.unmounting=!1;var x=f.frames&&f.frames.length?f.frames.length:0,M=this.props.frames&&this.props.frames.length?this.props.frames.length:0,R=!(f.layout===this.props.layout&&f.data===this.props.data&&f.config===this.props.config&&M===x),N=f.revision!==void 0,w=f.revision!==this.props.revision;!R&&(!N||N&&!w)||this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:"componentWillUnmount",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&s&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),v.purge(this.el)}},{key:"attachUpdateEvents",value:function(){var f=this;!this.el||!this.el.removeListener||l.forEach(function(x){f.el.on(x,f.handleUpdate)})}},{key:"removeUpdateEvents",value:function(){var f=this;!this.el||!this.el.removeListener||l.forEach(function(x){f.el.removeListener(x,f.handleUpdate)})}},{key:"handleUpdate",value:function(){this.figureCallback(this.props.onUpdate)}},{key:"figureCallback",value:function(f){if(typeof f=="function"){var x=this.el,M=x.data,R=x.layout,N=this.el._transitionData?this.el._transitionData._frames:null,w={data:M,layout:R,frames:N};f(w,this.el)}}},{key:"syncWindowResize",value:function(f){var x=this;s&&(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return v.Plots.resize(x.el)},window.addEventListener("resize",this.resizeHandler),f&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null))}},{key:"getRef",value:function(f){this.el=f,this.props.debug&&s&&(window.gd=this.el)}},{key:"syncEventHandlers",value:function(){var f=this;n.forEach(function(x){var M=f.props["on"+x],R=f.handlers[x],N=Boolean(R);M&&!N?f.addEventHandler(x,M):!M&&N?f.removeEventHandler(x):M&&N&&M!==R&&(f.removeEventHandler(x),f.addEventHandler(x,M))})}},{key:"addEventHandler",value:function(f,x){this.handlers[f]=x,this.el.on(this.getPlotlyEventName(f),this.handlers[f])}},{key:"removeEventHandler",value:function(f){this.el.removeListener(this.getPlotlyEventName(f),this.handlers[f]),delete this.handlers[f]}},{key:"getPlotlyEventName",value:function(f){return"plotly_"+f.toLowerCase()}},{key:"render",value:function(){return i.default.createElement("div",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),C}(i.Component);return u.propTypes={data:S.default.arrayOf(S.default.object),config:S.default.object,layout:S.default.object,frames:S.default.arrayOf(S.default.object),revision:S.default.number,onInitialized:S.default.func,onPurge:S.default.func,onError:S.default.func,onUpdate:S.default.func,debug:S.default.bool,style:S.default.object,className:S.default.string,useResizeHandler:S.default.bool,divId:S.default.string},n.forEach(function(b){u.propTypes["on"+b]=S.default.func}),u.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:"relative",display:"inline-block"}},u}})(Bj);var D9={},FTe={get exports(){return D9},set exports(e){D9=e}};(function(e,t){(function(S,U){e.exports=U()})(self,function(){return function(){var i={79288:function(k,D,r){var c=r(3400),A={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var o in A){var _=o.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");c.addStyleRule(_,A[o])}},86712:function(k,D,r){k.exports=r(84224)},37240:function(k,D,r){k.exports=r(51132)},29744:function(k,D,r){k.exports=r(94456)},29352:function(k,D,r){k.exports=r(67244)},96144:function(k,D,r){k.exports=r(97776)},53219:function(k,D,r){k.exports=r(61712)},4624:function(k,D,r){k.exports=r(95856)},54543:function(k,D,r){k.exports=r(54272)},45e3:function(k,D,r){k.exports=r(85404)},62300:function(k,D,r){k.exports=r(26048)},6920:function(k,D,r){k.exports=r(66240)},10264:function(k,D,r){k.exports=r(40448)},32016:function(k,D,r){k.exports=r(64884)},27528:function(k,D,r){k.exports=r(15088)},75556:function(k,D,r){k.exports=r(76744)},39204:function(k,D,r){k.exports=r(94704)},73996:function(k,D,r){k.exports=r(62396)},16489:function(k,D,r){k.exports=r(32028)},5e3:function(k,D,r){k.exports=r(81932)},77280:function(k,D,r){k.exports=r(45536)},33992:function(k,D,r){k.exports=r(42600)},17600:function(k,D,r){k.exports=r(21536)},49116:function(k,D,r){k.exports=r(65664)},46808:function(k,D,r){k.exports=r(29044)},36168:function(k,D,r){k.exports=r(48928)},13792:function(k,D,r){var c=r(32016);c.register([r(37240),r(29352),r(5e3),r(33992),r(17600),r(49116),r(6920),r(67484),r(79440),r(39204),r(83096),r(36168),r(20260),r(63560),r(65832),r(46808),r(73996),r(48824),r(89904),r(25120),r(13752),r(4340),r(62300),r(29800),r(8363),r(54543),r(86636),r(42192),r(32140),r(77280),r(89296),r(56816),r(70192),r(45e3),r(27528),r(84764),r(3920),r(50248),r(4624),r(69967),r(10264),r(86152),r(53219),r(81604),r(63796),r(29744),r(89336),r(86712),r(75556),r(16489),r(97312),r(96144)]),k.exports=c},3920:function(k,D,r){k.exports=r(43480)},25120:function(k,D,r){k.exports=r(6296)},4340:function(k,D,r){k.exports=r(7404)},86152:function(k,D,r){k.exports=r(65456)},56816:function(k,D,r){k.exports=r(22020)},89296:function(k,D,r){k.exports=r(29928)},20260:function(k,D,r){k.exports=r(75792)},32140:function(k,D,r){k.exports=r(156)},84764:function(k,D,r){k.exports=r(45499)},48824:function(k,D,r){k.exports=r(3296)},69967:function(k,D,r){k.exports=r(4184)},8363:function(k,D,r){k.exports=r(36952)},86636:function(k,D,r){k.exports=r(38983)},70192:function(k,D,r){k.exports=r(11572)},81604:function(k,D,r){k.exports=r(76924)},63796:function(k,D,r){k.exports=r(62944)},89336:function(k,D,r){k.exports=r(95443)},67484:function(k,D,r){k.exports=r(34864)},97312:function(k,D,r){k.exports=r(76272)},42192:function(k,D,r){k.exports=r(97924)},29800:function(k,D,r){k.exports=r(15436)},63560:function(k,D,r){k.exports=r(5621)},89904:function(k,D,r){k.exports=r(91304)},50248:function(k,D,r){k.exports=r(41724)},65832:function(k,D,r){k.exports=r(31991)},79440:function(k,D,r){k.exports=r(22869)},13752:function(k,D,r){k.exports=r(67776)},83096:function(k,D,r){k.exports=r(95952)},72196:function(k){k.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},13916:function(k,D,r){var c=r(72196),A=r(25376),o=r(33816),_=r(31780).templatedArray;r(36208),k.exports=_("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:A({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:c.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:c.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",o.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",o.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:A({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},90272:function(k,D,r){var c=r(3400),A=r(54460),o=r(23816).draw;k.exports=function(y){var a=y._fullLayout,n=c.filterVisible(a.annotations);if(n.length&&y._fullData.length)return c.syncOrAsync([o,_],y)};function _(p){var y=p._fullLayout;c.filterVisible(y.annotations).forEach(function(a){var n=A.getFromId(p,a.xref),l=A.getFromId(p,a.yref),s=A.getRefType(a.xref),h=A.getRefType(a.yref);a._extremes={},s==="range"&&T(a,n),h==="range"&&T(a,l)})}function T(p,y){var a=y._id,n=a.charAt(0),l=p[n],s=p["a"+n],h=p[n+"ref"],v=p["a"+n+"ref"],u=p["_"+n+"padplus"],b=p["_"+n+"padminus"],m={x:1,y:-1}[n]*p[n+"shift"],C=3*p.arrowsize*p.arrowwidth||0,g=C+m,f=C-m,x=3*p.startarrowsize*p.arrowwidth||0,M=x+m,R=x-m,N;if(v===h){var w=A.findExtremes(y,[y.r2c(l)],{ppadplus:g,ppadminus:f}),P=A.findExtremes(y,[y.r2c(s)],{ppadplus:Math.max(u,M),ppadminus:Math.max(b,R)});N={min:[w.min[0],P.min[0]],max:[w.max[0],P.max[0]]}}else M=s?M+s:M,R=s?R-s:R,N=A.findExtremes(y,[y.r2c(l)],{ppadplus:Math.max(u,g,M),ppadminus:Math.max(b,f,R)});p._extremes[a]=N}},42300:function(k,D,r){var c=r(3400),A=r(24040),o=r(31780).arrayEditor;k.exports={hasClickToShow:_,onClick:T};function _(a,n){var l=p(a,n);return l.on.length>0||l.explicitOff.length>0}function T(a,n){var l=p(a,n),s=l.on,h=l.off.concat(l.explicitOff),v={},u=a._fullLayout.annotations,b,m;if(s.length||h.length){for(b=0;b.6666666666666666?lr="right":lr="center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[lr]}for(var lt=!1,pt=["x","y"],ct=0;ct1)&&(mt===vt?(He=xt.r2fraction(x["a"+nt]),(He<0||He>1)&&(lt=!0)):lt=!0),Fe=xt._offset+xt.r2p(x[nt]),Pe=.5}else{var qe=Ce==="domain";nt==="x"?($e=x[nt],Fe=qe?xt._offset+xt._length*$e:Fe=I.l+I.w*$e):($e=1-x[nt],Fe=qe?xt._offset+xt._length*$e:Fe=I.t+I.h*$e),Pe=x.showarrow?.5:$e}if(x.showarrow){Ke.head=Fe;var st=x["a"+nt];if(me=Mt*Ve(.5,x.xanchor)-at*Ve(.5,x.yanchor),mt===vt){var ut=p.getRefType(mt);ut==="domain"?(nt==="y"&&(st=1-st),Ke.tail=xt._offset+xt._length*st):ut==="paper"?nt==="y"?(st=1-st,Ke.tail=I.t+I.h*st):Ke.tail=I.l+I.w*st:Ke.tail=xt._offset+xt.r2p(st),Ne=me}else Ke.tail=Fe+st,Ne=me+st;Ke.text=Ke.tail+me;var kt=P[nt==="x"?"width":"height"];if(vt==="paper"&&(Ke.head=_.constrain(Ke.head,1,kt-1)),mt==="pixel"){var _t=-Math.max(Ke.tail-3,Ke.text),gt=Math.min(Ke.tail+3,Ke.text)-kt;_t>0?(Ke.tail+=_t,Ke.text+=_t):gt>0&&(Ke.tail-=gt,Ke.text-=gt)}Ke.tail+=Ze,Ke.head+=Ze}else me=Oe*Ve(Pe,Ye),Ne=me,Ke.text=Fe+me;Ke.text+=Ze,me+=Ze,Ne+=Ze,x["_"+nt+"padplus"]=Oe/2+Ne,x["_"+nt+"padminus"]=Oe/2-Ne,x["_"+nt+"size"]=Oe,x["_"+nt+"shift"]=me}if(lt){de.remove();return}var Ct=0,Jt=0;if(x.align!=="left"&&(Ct=(Ie-_e)*(x.align==="center"?.5:1)),x.valign!=="top"&&(Jt=(Ge-Ee)*(x.valign==="middle"?.5:1)),ke)Ae.select("svg").attr({x:ie+Ct-1,y:ie+Jt}).call(a.setClipUrl,ue?G:null,f);else{var wr=ie+Jt-Se.top,yt=ie+Ct-Se.left;ce.call(l.positionText,yt,wr).call(a.setClipUrl,ue?G:null,f)}fe.select("rect").call(a.setRect,ie,ie,Ie,Ge),Z.call(a.setRect,te/2,te/2,We-te,Be-te),de.call(a.setTranslate,Math.round(W.x.text-We/2),Math.round(W.y.text-Be/2)),$.attr({transform:"rotate("+V+","+W.x.text+","+W.y.text+")"});var qt=function(br,lr){j.selectAll(".annotation-arrow-g").remove();var Et=W.x.head,ft=W.y.head,St=W.x.tail+br,Lt=W.y.tail+lr,Nt=W.x.text+br,Zt=W.y.text+lr,Yt=_.rotationXYMatrix(V,Nt,Zt),Wt=_.apply2DTransform(Yt),ar=_.apply2DTransform2(Yt),yr=+Z.attr("width"),rr=+Z.attr("height"),Tr=Nt-.5*yr,Xe=Tr+yr,je=Zt-.5*rr,Ht=je+rr,zt=[[Tr,je,Tr,Ht],[Tr,Ht,Xe,Ht],[Xe,Ht,Xe,je],[Xe,je,Tr,je]].map(ar);if(!zt.reduce(function(Ur,Sn){return Ur^!!_.segmentsIntersect(Et,ft,Et+1e6,ft+1e6,Sn[0],Sn[1],Sn[2],Sn[3])},!1)){zt.forEach(function(Ur){var Sn=_.segmentsIntersect(St,Lt,Et,ft,Ur[0],Ur[1],Ur[2],Ur[3]);Sn&&(St=Sn.x,Lt=Sn.y)});var ir=x.arrowwidth,cr=x.arrowcolor,hr=x.arrowside,sr=j.append("g").style({opacity:y.opacity(cr)}).classed("annotation-arrow-g",!0),Vt=sr.append("path").attr("d","M"+St+","+Lt+"L"+Et+","+ft).style("stroke-width",ir+"px").call(y.stroke,y.rgb(cr));if(u(Vt,hr,x),d.annotationPosition&&Vt.node().parentNode&&!R){var xr=Et,Ar=ft;if(x.standoff){var kr=Math.sqrt(Math.pow(Et-St,2)+Math.pow(ft-Lt,2));xr+=x.standoff*(St-Et)/kr,Ar+=x.standoff*(Lt-ft)/kr}var mr=sr.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(St-xr)+","+(Lt-Ar),transform:T(xr,Ar)}).style("stroke-width",ir+6+"px").call(y.stroke,"rgba(0,0,0,0)").call(y.fill,"rgba(0,0,0,0)"),Kr,Br;h.init({element:mr.node(),gd:f,prepFn:function(){var Ur=a.getTranslate(de);Kr=Ur.x,Br=Ur.y,N&&N.autorange&&z(N._name+".autorange",!0),w&&w.autorange&&z(w._name+".autorange",!0)},moveFn:function(Ur,Sn){var an=Wt(Kr,Br),Hn=an[0]+Ur,Gn=an[1]+Sn;de.call(a.setTranslate,Hn,Gn),Y("x",C(N,Ur,"x",I,x)),Y("y",C(w,Sn,"y",I,x)),x.axref===x.xref&&Y("ax",C(N,Ur,"ax",I,x)),x.ayref===x.yref&&Y("ay",C(w,Sn,"ay",I,x)),sr.attr("transform",T(Ur,Sn)),$.attr({transform:"rotate("+V+","+Hn+","+Gn+")"})},doneFn:function(){A.call("_guiRelayout",f,H());var Ur=document.querySelector(".js-notes-box-panel");Ur&&Ur.redraw(Ur.selectedObj)}})}}};if(x.showarrow&&qt(0,0),re){var tr;h.init({element:de.node(),gd:f,prepFn:function(){tr=$.attr("transform")},moveFn:function(br,lr){var Et="pointer";if(x.showarrow)x.axref===x.xref?Y("ax",C(N,br,"ax",I,x)):Y("ax",x.ax+br),x.ayref===x.yref?Y("ay",C(w,lr,"ay",I.w,x)):Y("ay",x.ay+lr),qt(br,lr);else{if(R)return;var ft,St;if(N)ft=C(N,br,"x",I,x);else{var Lt=x._xsize/I.w,Nt=x.x+(x._xshift-x.xshift)/I.w-Lt/2;ft=h.align(Nt+br/I.w,Lt,0,1,x.xanchor)}if(w)St=C(w,lr,"y",I,x);else{var Zt=x._ysize/I.h,Yt=x.y-(x._yshift+x.yshift)/I.h-Zt/2;St=h.align(Yt-lr/I.h,Zt,0,1,x.yanchor)}Y("x",ft),Y("y",St),(!N||!w)&&(Et=h.getCursor(N?.5:ft,w?.5:St,x.xanchor,x.yanchor))}$.attr({transform:T(br,lr)+tr}),s(de,Et)},clickFn:function(br,lr){x.captureevents&&f.emit("plotly_clickannotation",oe(lr))},doneFn:function(){s(de),A.call("_guiRelayout",f,H());var br=document.querySelector(".js-notes-box-panel");br&&br.redraw(br.selectedObj)}})}}d.annotationText?ce.call(l.makeEditable,{delegate:de,gd:f}).call(se).on("edit",function(Te){x.text=Te,this.call(se),Y("text",Te),N&&N.autorange&&z(N._name+".autorange",!0),w&&w.autorange&&z(w._name+".autorange",!0),A.call("_guiRelayout",f,H())}):ce.call(se)}},33652:function(k,D,r){var c=r(33428),A=r(76308),o=r(72196),_=r(3400),T=_.strScale,p=_.strRotate,y=_.strTranslate;k.exports=function(n,l,s){var h=n.node(),v=o[s.arrowhead||0],u=o[s.startarrowhead||0],b=(s.arrowwidth||1)*(s.arrowsize||1),m=(s.arrowwidth||1)*(s.startarrowsize||1),C=l.indexOf("start")>=0,g=l.indexOf("end")>=0,f=v.backoff*b+s.standoff,x=u.backoff*m+s.startstandoff,M,R,N,w;if(h.nodeName==="line"){M={x:+n.attr("x1"),y:+n.attr("y1")},R={x:+n.attr("x2"),y:+n.attr("y2")};var P=M.x-R.x,I=M.y-R.y;if(N=Math.atan2(I,P),w=N+Math.PI,f&&x&&f+x>Math.sqrt(P*P+I*I)){$();return}if(f){if(f*f>P*P+I*I){$();return}var d=f*Math.cos(N),L=f*Math.sin(N);R.x+=d,R.y+=L,n.attr({x2:R.x,y2:R.y})}if(x){if(x*x>P*P+I*I){$();return}var E=x*Math.cos(N),B=x*Math.sin(N);M.x-=E,M.y-=B,n.attr({x1:M.x,y1:M.y})}}else if(h.nodeName==="path"){var z=h.getTotalLength(),Y="";if(z1){s=!0;break}}s?T.fullLayout._infolayer.select(".annotation-"+T.id+'[data-index="'+n+'"]').remove():(l._pdata=A(T.glplot.cameraParams,[p.xaxis.r2l(l.x)*y[0],p.yaxis.r2l(l.y)*y[1],p.zaxis.r2l(l.z)*y[2]]),c(T.graphDiv,l,n,T.id,l._xa,l._ya))}}},56864:function(k,D,r){var c=r(24040),A=r(3400);k.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:r(45899)}}},layoutAttributes:r(45899),handleDefaults:r(52808),includeBasePlot:o,convert:r(42456),draw:r(71836)};function o(_,T){var p=c.subplotsRegistry.gl3d;if(p)for(var y=p.attrRegex,a=Object.keys(_),n=0;n=0)))return n;if(u===3)h[u]>1&&(h[u]=1);else if(h[u]>=1)return n}var b=Math.round(h[0]*255)+", "+Math.round(h[1]*255)+", "+Math.round(h[2]*255);return v?"rgba("+b+", "+h[3]+")":"rgb("+b+")"}},42996:function(k,D,r){var c=r(94724),A=r(25376),o=r(92880).extendFlat,_=r(67824).overrideAll;k.exports=_({orientation:{valType:"enumerated",values:["h","v"],dflt:"v"},thicknessmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels"},thickness:{valType:"number",min:0,dflt:30},lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["left","center","right"]},xpad:{valType:"number",min:0,dflt:10},y:{valType:"number"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},ypad:{valType:"number",min:0,dflt:10},outlinecolor:c.linecolor,outlinewidth:c.linewidth,bordercolor:c.linecolor,borderwidth:{valType:"number",min:0,dflt:0},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},tickmode:c.minor.tickmode,nticks:c.nticks,tick0:c.tick0,dtick:c.dtick,tickvals:c.tickvals,ticktext:c.ticktext,ticks:o({},c.ticks,{dflt:""}),ticklabeloverflow:o({},c.ticklabeloverflow,{}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside"},ticklen:c.ticklen,tickwidth:c.tickwidth,tickcolor:c.tickcolor,ticklabelstep:c.ticklabelstep,showticklabels:c.showticklabels,labelalias:c.labelalias,tickfont:A({}),tickangle:c.tickangle,tickformat:c.tickformat,tickformatstops:c.tickformatstops,tickprefix:c.tickprefix,showtickprefix:c.showtickprefix,ticksuffix:c.ticksuffix,showticksuffix:c.showticksuffix,separatethousands:c.separatethousands,exponentformat:c.exponentformat,minexponent:c.minexponent,showexponent:c.showexponent,title:{text:{valType:"string"},font:A({}),side:{valType:"enumerated",values:["right","top","bottom"]}},_deprecated:{title:{valType:"string"},titlefont:A({}),titleside:{valType:"enumerated",values:["right","top","bottom"],dflt:"top"}}},"colorbars","from-root")},63964:function(k){k.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}},64013:function(k,D,r){var c=r(3400),A=r(31780),o=r(26332),_=r(25404),T=r(95936),p=r(42568),y=r(42996);k.exports=function(n,l,s){var h=A.newContainer(l,"colorbar"),v=n.colorbar||{};function u(W,V){return c.coerce(v,h,y,W,V)}var b=s.margin||{t:0,b:0,l:0,r:0},m=s.width-b.l-b.r,C=s.height-b.t-b.b,g=u("orientation"),f=g==="v",x=u("thicknessmode");u("thickness",x==="fraction"?30/(f?m:C):30);var M=u("lenmode");u("len",M==="fraction"?1:f?C:m);var R=u("yref"),N=u("xref"),w=R==="paper",P=N==="paper",I,d,L,E="left";f?(L="middle",E=P?"left":"right",I=P?1.02:1,d=.5):(L=w?"bottom":"top",E="center",I=.5,d=w?1.02:1),c.coerce(v,h,{x:{valType:"number",min:P?-2:0,max:P?3:1,dflt:I}},"x"),c.coerce(v,h,{y:{valType:"number",min:w?-2:0,max:w?3:1,dflt:d}},"y"),u("xanchor",E),u("xpad"),u("yanchor",L),u("ypad"),c.noneOrAll(v,h,["x","y"]),u("outlinecolor"),u("outlinewidth"),u("bordercolor"),u("borderwidth"),u("bgcolor");var B=c.coerce(v,h,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:f?["outside","inside","outside top","inside top","outside bottom","inside bottom"]:["outside","inside","outside left","inside left","outside right","inside right"]}},"ticklabelposition");u("ticklabeloverflow",B.indexOf("inside")!==-1?"hide past domain":"hide past div"),o(v,h,u,"linear");var z=s.font,Y={noAutotickangles:!0,outerTicks:!1,font:z};B.indexOf("inside")!==-1&&(Y.bgColor="black"),p(v,h,u,"linear",Y),T(v,h,u,"linear",Y),_(v,h,u,"linear",Y),u("title.text",s._dfltTitle.colorbar);var H=h.showticklabels?h.tickfont:z,G=c.extendFlat({},H,{weight:z.weight,style:z.style,variant:z.variant,color:z.color,size:c.bigFont(H.size)});c.coerceFont(u,"title.font",G),u("title.side",f?"top":"right")}},37848:function(k,D,r){var c=r(33428),A=r(49760),o=r(7316),_=r(24040),T=r(54460),p=r(86476),y=r(3400),a=y.strTranslate,n=r(92880).extendFlat,l=r(93972),s=r(43616),h=r(76308),v=r(81668),u=r(72736),b=r(94288).flipScale,m=r(28336),C=r(37668),g=r(94724),f=r(84284),x=f.LINE_SPACING,M=f.FROM_TL,R=f.FROM_BR,N=r(63964).cn;function w(B){var z=B._fullLayout,Y=z._infolayer.selectAll("g."+N.colorbar).data(P(B),function(H){return H._id});Y.enter().append("g").attr("class",function(H){return H._id}).classed(N.colorbar,!0),Y.each(function(H){var G=c.select(this);y.ensureSingle(G,"rect",N.cbbg),y.ensureSingle(G,"g",N.cbfills),y.ensureSingle(G,"g",N.cblines),y.ensureSingle(G,"g",N.cbaxis,function(V){V.classed(N.crisp,!0)}),y.ensureSingle(G,"g",N.cbtitleunshift,function(V){V.append("g").classed(N.cbtitle,!0)}),y.ensureSingle(G,"rect",N.cboutline);var W=I(G,H,B);W&&W.then&&(B._promises||[]).push(W),B._context.edits.colorbarPosition&&d(G,H,B)}),Y.exit().each(function(H){o.autoMargin(B,H._id)}).remove(),Y.order()}function P(B){var z=B._fullLayout,Y=B.calcdata,H=[],G,W,V,j;function $(Q){return n(Q,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function re(){typeof j.calc=="function"?j.calc(B,V,G):(G._fillgradient=W.reversescale?b(W.colorscale):W.colorscale,G._zrange=[W[j.min],W[j.max]])}for(var ae=0;ae1){var Ke=Math.pow(10,Math.floor(Math.log(Ze)/Math.LN10));Oe*=Ke*y.roundUp(Ze/Ke,[2,5,10]),(Math.abs(Se.start)/Se.size+1e-6)%1<2e-6&&(Mt.tick0=0)}Mt.dtick=Oe}Mt.domain=H?[xt+J/q.h,xt+Ve-J/q.h]:[xt+te/q.w,xt+Ve-te/q.w],Mt.setScale(),B.attr("transform",a(Math.round(q.l),Math.round(q.t)));var Fe=B.select("."+N.cbtitleunshift).attr("transform",a(-Math.round(q.l),-Math.round(q.t))),Ne=Mt.ticklabelposition,$e=Mt.title.font.size,Pe=B.select("."+N.cbaxis),me,Ce=0,He=0;function qe(gt,Ct){var Jt={propContainer:Mt,propName:z._propPrefix+"title",traceIndex:z._traceIndex,_meta:z._meta,placeholder:Q._dfltTitle.colorbar,containerGroup:B.select("."+N.cbtitle)},wr=gt.charAt(0)==="h"?gt.substr(1):"h"+gt;B.selectAll("."+wr+",."+wr+"-math-group").remove(),v.draw(Y,gt,n(Jt,Ct||{}))}function st(){if(H&&at||!H&&!at){var gt,Ct;Te==="top"&&(gt=te+q.l+lt*ie,Ct=J+q.t+pt*(1-xt-Ve)+3+$e*.75),Te==="bottom"&&(gt=te+q.l+lt*ie,Ct=J+q.t+pt*(1-xt)-3-$e*.25),Te==="right"&&(Ct=J+q.t+pt*Z+3+$e*.75,gt=te+q.l+lt*xt),qe(Mt._id+"title",{attributes:{x:gt,y:Ct,"text-anchor":H?"start":"middle"}})}}function ut(){if(H&&!at||!H&&at){var gt=Mt.position||0,Ct=Mt._offset+Mt._length/2,Jt,wr;if(Te==="right")wr=Ct,Jt=q.l+lt*gt+10+$e*(Mt.showticklabels?1:.5);else if(Jt=Ct,Te==="bottom"&&(wr=q.t+pt*gt+10+(Ne.indexOf("inside")===-1?Mt.tickfont.size:0)+(Mt.ticks!=="intside"&&z.ticklen||0)),Te==="top"){var yt=pe.text.split("
").length;wr=q.t+pt*gt+10-Ge-x*$e*yt}qe((H?"h":"v")+Mt._id+"title",{avoid:{selection:c.select(Y).selectAll("g."+Mt._id+"tick"),side:Te,offsetTop:H?0:q.t,offsetLeft:H?q.l:0,maxShift:H?Q.width:Q.height},attributes:{x:Jt,y:wr,"text-anchor":"middle"},transform:{rotate:H?-90:0,offset:0}})}}function kt(){if(!H&&!at||H&&at){var gt=B.select("."+N.cbtitle),Ct=gt.select("text"),Jt=[-$/2,$/2],wr=gt.select(".h"+Mt._id+"title-math-group").node(),yt=15.6;Ct.node()&&(yt=parseInt(Ct.node().style.fontSize,10)*x);var qt;if(wr?(qt=s.bBox(wr),He=qt.width,Ce=qt.height,Ce>yt&&(Jt[1]-=(Ce-yt)/2)):Ct.node()&&!Ct.classed(N.jsPlaceholder)&&(qt=s.bBox(Ct.node()),He=qt.width,Ce=qt.height),H){if(Ce){if(Ce+=5,Te==="top")Mt.domain[1]-=Ce/q.h,Jt[1]*=-1;else{Mt.domain[0]+=Ce/q.h;var tr=u.lineCount(Ct);Jt[1]+=(1-tr)*yt}gt.attr("transform",a(Jt[0],Jt[1])),Mt.setScale()}}else He&&(Te==="right"&&(Mt.domain[0]+=(He+$e/2)/q.w),gt.attr("transform",a(Jt[0],Jt[1])),Mt.setScale())}B.selectAll("."+N.cbfills+",."+N.cblines).attr("transform",H?a(0,Math.round(q.h*(1-Mt.domain[1]))):a(Math.round(q.w*Mt.domain[0]),0)),Pe.attr("transform",H?a(0,Math.round(-q.t)):a(Math.round(-q.l),0));var br=B.select("."+N.cbfills).selectAll("rect."+N.cbfill).attr("style","").data(Ee);br.enter().append("rect").classed(N.cbfill,!0).attr("style",""),br.exit().remove();var lr=we.map(Mt.c2p).map(Math.round).sort(function(Nt,Zt){return Nt-Zt});br.each(function(Nt,Zt){var Yt=[Zt===0?we[0]:(Ee[Zt]+Ee[Zt-1])/2,Zt===Ee.length-1?we[1]:(Ee[Zt]+Ee[Zt+1])/2].map(Mt.c2p).map(Math.round);H&&(Yt[1]=y.constrain(Yt[1]+(Yt[1]>Yt[0])?1:-1,lr[0],lr[1]));var Wt=c.select(this).attr(H?"x":"y",ct).attr(H?"y":"x",c.min(Yt)).attr(H?"width":"height",Math.max(Ge,2)).attr(H?"height":"width",Math.max(c.max(Yt)-c.min(Yt),2));if(z._fillgradient)s.gradient(Wt,Y,z._id,H?"vertical":"horizontalreversed",z._fillgradient,"fill");else{var ar=ke(Nt).replace("e-","");Wt.attr("fill",A(ar).toHexString())}});var Et=B.select("."+N.cblines).selectAll("path."+N.cbline).data(se.color&&se.width?Ie:[]);Et.enter().append("path").classed(N.cbline,!0),Et.exit().remove(),Et.each(function(Nt){var Zt=ct,Yt=Math.round(Mt.c2p(Nt))+se.width/2%1;c.select(this).attr("d","M"+(H?Zt+","+Yt:Yt+","+Zt)+(H?"h":"v")+Ge).call(s.lineGroupStyle,se.width,Ae(Nt),se.dash)}),Pe.selectAll("g."+Mt._id+"tick,path").remove();var ft=ct+Ge+($||0)/2-(z.ticks==="outside"?1:0),St=T.calcTicks(Mt),Lt=T.getTickSigns(Mt)[2];return T.drawTicks(Y,Mt,{vals:Mt.ticks==="inside"?T.clipEnds(Mt,St):St,layer:Pe,path:T.makeTickPath(Mt,ft,Lt),transFn:T.makeTransTickFn(Mt)}),T.drawLabels(Y,Mt,{vals:St,layer:Pe,transFn:T.makeTransTickLabelFn(Mt),labelFns:T.makeLabelFns(Mt,ft)})}function _t(){var gt,Ct=Ge+$/2;Ne.indexOf("inside")===-1&&(gt=s.bBox(Pe.node()),Ct+=H?gt.width:gt.height),me=Fe.select("text");var Jt=0,wr=H&&Te==="top",yt=!H&&Te==="right",qt=0;if(me.node()&&!me.classed(N.jsPlaceholder)){var tr,br=Fe.select(".h"+Mt._id+"title-math-group").node();br&&(H&&at||!H&&!at)?(gt=s.bBox(br),Jt=gt.width,tr=gt.height):(gt=s.bBox(Fe.node()),Jt=gt.right-q.l-(H?ct:Tt),tr=gt.bottom-q.t-(H?Tt:ct),!H&&Te==="top"&&(Ct+=gt.height,qt=gt.height)),yt&&(me.attr("transform",a(Jt/2+$e/2,0)),Jt*=2),Ct=Math.max(Ct,H?Jt:tr)}var lr=(H?te:J)*2+Ct+re+$/2,Et=0;!H&&pe.text&&de==="bottom"&&Z<=0&&(Et=lr/2,lr+=Et,qt+=Et),Q._hColorbarMoveTitle=Et,Q._hColorbarMoveCBTitle=qt;var ft=re+$,St=(H?ct:Tt)-ft/2-(H?te:0),Lt=(H?Tt:ct)-(H?Be:J+qt-Et);B.select("."+N.cbbg).attr("x",St).attr("y",Lt).attr(H?"width":"height",Math.max(lr-Et,2)).attr(H?"height":"width",Math.max(Be+ft,2)).call(h.fill,ae).call(h.stroke,z.bordercolor).style("stroke-width",re);var Nt=yt?Math.max(Jt-10,0):0;B.selectAll("."+N.cboutline).attr("x",(H?ct:Tt+te)+Nt).attr("y",(H?Tt+J-Be:ct)+(wr?Ce:0)).attr(H?"width":"height",Math.max(Ge,2)).attr(H?"height":"width",Math.max(Be-(H?2*J+Ce:2*te+Nt),2)).call(h.stroke,z.outlinecolor).style({fill:"none","stroke-width":$});var Zt=H?nt*lr:0,Yt=H?0:(1-vt)*lr-qt;if(Zt=fe?q.l-Zt:-Zt,Yt=ue?q.t-Yt:-Yt,B.attr("transform",a(Zt,Yt)),!H&&(re||A(ae).getAlpha()&&!A.equals(Q.paper_bgcolor,ae))){var Wt=Pe.selectAll("text"),ar=Wt[0].length,yr=B.select("."+N.cbbg).node(),rr=s.bBox(yr),Tr=s.getTranslate(B),Xe=2;Wt.each(function(Ar,kr){var mr=0,Kr=ar-1;if(kr===mr||kr===Kr){var Br=s.bBox(this),Ur=s.getTranslate(this),Sn;if(kr===Kr){var an=Br.right+Ur.x,Hn=rr.right+Tr.x+Tt-re-Xe+ie;Sn=Hn-an,Sn>0&&(Sn=0)}else if(kr===mr){var Gn=Br.left+Ur.x,Mr=rr.left+Tr.x+Tt+re+Xe;Sn=Mr-Gn,Sn<0&&(Sn=0)}Sn&&(ar<3?this.setAttribute("transform","translate("+Sn+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var je={},Ht=M[oe],zt=R[oe],ir=M[de],cr=R[de],hr=lr-Ge;H?(W==="pixels"?(je.y=Z,je.t=Be*ir,je.b=Be*cr):(je.t=je.b=0,je.yt=Z+G*ir,je.yb=Z-G*cr),j==="pixels"?(je.x=ie,je.l=lr*Ht,je.r=lr*zt):(je.l=hr*Ht,je.r=hr*zt,je.xl=ie-V*Ht,je.xr=ie+V*zt)):(W==="pixels"?(je.x=ie,je.l=Be*Ht,je.r=Be*zt):(je.l=je.r=0,je.xl=ie+G*Ht,je.xr=ie-G*zt),j==="pixels"?(je.y=1-Z,je.t=lr*ir,je.b=lr*cr):(je.t=hr*ir,je.b=hr*cr,je.yt=Z-V*ir,je.yb=Z+V*cr));var sr=z.y<.5?"b":"t",Vt=z.x<.5?"l":"r";Y._fullLayout._reservedMargin[z._id]={};var xr={r:Q.width-St-Zt,l:St+je.r,b:Q.height-Lt-Yt,t:Lt+je.b};fe&&ue?o.autoMargin(Y,z._id,je):fe?Y._fullLayout._reservedMargin[z._id][sr]=xr[sr]:ue||H?Y._fullLayout._reservedMargin[z._id][Vt]=xr[Vt]:Y._fullLayout._reservedMargin[z._id][sr]=xr[sr]}return y.syncOrAsync([o.previousPromises,st,kt,ut,o.previousPromises,_t],Y)}function d(B,z,Y){var H=z.orientation==="v",G=Y._fullLayout,W=G._size,V,j,$;p.init({element:B.node(),gd:Y,prepFn:function(){V=B.attr("transform"),l(B)},moveFn:function(re,ae){B.attr("transform",V+a(re,ae)),j=p.align((H?z._uFrac:z._vFrac)+re/W.w,H?z._thickFrac:z._lenFrac,0,1,z.xanchor),$=p.align((H?z._vFrac:1-z._uFrac)-ae/W.h,H?z._lenFrac:z._thickFrac,0,1,z.yanchor);var oe=p.getCursor(j,$,z.xanchor,z.yanchor);l(B,oe)},doneFn:function(){if(l(B),j!==void 0&&$!==void 0){var re={};re[z._propPrefix+"x"]=j,re[z._propPrefix+"y"]=$,z._traceIndex!==void 0?_.call("_guiRestyle",Y,re,z._traceIndex):_.call("_guiRelayout",Y,re)}}})}function L(B,z,Y){var H=z._levels,G=[],W=[],V,j,$=H.end+H.size/100,re=H.size,ae=1.001*Y[0]-.001*Y[1],oe=1.001*Y[1]-.001*Y[0];for(j=0;j<1e5&&(V=H.start+j*re,!(re>0?V>=$:V<=$));j++)V>ae&&V0?V>=$:V<=$));j++)V>Y[0]&&Vm-u?u=m-(b-m):b-m=0?f=a.colorscale.sequential:f=a.colorscale.sequentialminus,h._sync("colorscale",f)}}},95504:function(k,D,r){var c=r(3400),A=r(94288).hasColorscale,o=r(94288).extractOpts;k.exports=function(T,p){function y(u,b){var m=u["_"+b];m!==void 0&&(u[b]=m)}function a(u,b){var m=b.container?c.nestedProperty(u,b.container).get():u;if(m)if(m.coloraxis)m._colorAx=p[m.coloraxis];else{var C=o(m),g=C.auto;(g||C.min===void 0)&&y(m,b.min),(g||C.max===void 0)&&y(m,b.max),C.autocolorscale&&y(m,"colorscale")}}for(var n=0;n=0;f--,x++){var M=m[f];g[x]=[1-M[0],M[1]]}return g}function v(m,C){C=C||{};for(var g=m.domain,f=m.range,x=f.length,M=new Array(x),R=0;R1.3333333333333333-y?p:y}},67416:function(k,D,r){var c=r(3400),A=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];k.exports=function(_,T,p,y){return p==="left"?_=0:p==="center"?_=1:p==="right"?_=2:_=c.constrain(Math.floor(_*3),0,2),y==="bottom"?T=0:y==="middle"?T=1:y==="top"?T=2:T=c.constrain(Math.floor(T*3),0,2),A[T][_]}},72760:function(k,D){D.selectMode=function(r){return r==="lasso"||r==="select"},D.drawMode=function(r){return r==="drawclosedpath"||r==="drawopenpath"||r==="drawline"||r==="drawrect"||r==="drawcircle"},D.openMode=function(r){return r==="drawline"||r==="drawopenpath"},D.rectMode=function(r){return r==="select"||r==="drawline"||r==="drawrect"||r==="drawcircle"},D.freeMode=function(r){return r==="lasso"||r==="drawclosedpath"||r==="drawopenpath"},D.selectingOrDrawing=function(r){return D.freeMode(r)||D.rectMode(r)}},86476:function(k,D,r){var c=r(29128),A=r(52264),o=r(89184),_=r(3400).removeElement,T=r(33816),p=k.exports={};p.align=r(78316),p.getCursor=r(67416);var y=r(2616);p.unhover=y.wrapped,p.unhoverRaw=y.raw,p.init=function(s){var h=s.gd,v=1,u=h._context.doubleClickDelay,b=s.element,m,C,g,f,x,M,R,N;h._mouseDownTime||(h._mouseDownTime=0),b.style.pointerEvents="all",b.onmousedown=I,o?(b._ontouchstart&&b.removeEventListener("touchstart",b._ontouchstart),b._ontouchstart=I,b.addEventListener("touchstart",I,{passive:!1})):b.ontouchstart=I;function w(E,B,z){return Math.abs(E)"u"&&typeof E.clientY>"u"&&(E.clientX=m,E.clientY=C),g=new Date().getTime(),g-h._mouseDownTimeu&&(v=Math.max(v-1,1)),h._dragged)s.doneFn&&s.doneFn();else if(s.clickFn&&s.clickFn(v,M),!N){var B;try{B=new MouseEvent("click",E)}catch{var z=n(E);B=document.createEvent("MouseEvents"),B.initMouseEvent("click",E.bubbles,E.cancelable,E.view,E.detail,E.screenX,E.screenY,z[0],z[1],E.ctrlKey,E.altKey,E.shiftKey,E.metaKey,E.button,E.relatedTarget)}R.dispatchEvent(B)}h._dragging=!1,h._dragged=!1}};function a(){var l=document.createElement("div");l.className="dragcover";var s=l.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(l),l}p.coverSlip=a;function n(l){return c(l.changedTouches?l.changedTouches[0]:l,document.body)}},2616:function(k,D,r){var c=r(95924),A=r(91200),o=r(52200).getGraphDiv,_=r(92456),T=k.exports={};T.wrapped=function(p,y,a){p=o(p),p._fullLayout&&A.clear(p._fullLayout._uid+_.HOVERID),T.raw(p,y,a)},T.raw=function(y,a){var n=y._fullLayout,l=y._hoverdata;a||(a={}),!(a.target&&!y._dragged&&c.triggerHandler(y,"plotly_beforehover",a)===!1)&&(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),y._hoverdata=void 0,a.target&&l&&y.emit("plotly_unhover",{event:a,points:l}))}},98192:function(k,D){D.u={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},D.c={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},43616:function(k,D,r){var c=r(33428),A=r(3400),o=A.numberFormat,_=r(38248),T=r(49760),p=r(24040),y=r(76308),a=r(8932),n=A.strTranslate,l=r(72736),s=r(9616),h=r(84284),v=h.LINE_SPACING,u=r(13448).DESELECTDIM,b=r(43028),m=r(7152),C=r(10624).appendArrayPointValue,g=k.exports={};g.font=function(Se,_e,Ee,Ie,Ge,We,Be){A.isPlainObject(_e)&&(Be=_e.variant,We=_e.style,Ge=_e.weight,Ie=_e.color,Ee=_e.size,_e=_e.family),_e&&Se.style("font-family",_e),Ee+1&&Se.style("font-size",Ee+"px"),Ie&&Se.call(y.fill,Ie),Ge&&Se.style("font-weight",Ge),We&&Se.style("font-style",We),Be&&Se.style("font-variant",Be)},g.setPosition=function(Se,_e,Ee){Se.attr("x",_e).attr("y",Ee)},g.setSize=function(Se,_e,Ee){Se.attr("width",_e).attr("height",Ee)},g.setRect=function(Se,_e,Ee,Ie,Ge){Se.call(g.setPosition,_e,Ee).call(g.setSize,Ie,Ge)},g.translatePoint=function(Se,_e,Ee,Ie){var Ge=Ee.c2p(Se.x),We=Ie.c2p(Se.y);if(_(Ge)&&_(We)&&_e.node())_e.node().nodeName==="text"?_e.attr("x",Ge).attr("y",We):_e.attr("transform",n(Ge,We));else return!1;return!0},g.translatePoints=function(Se,_e,Ee){Se.each(function(Ie){var Ge=c.select(this);g.translatePoint(Ie,Ge,_e,Ee)})},g.hideOutsideRangePoint=function(Se,_e,Ee,Ie,Ge,We){_e.attr("display",Ee.isPtWithinRange(Se,Ge)&&Ie.isPtWithinRange(Se,We)?null:"none")},g.hideOutsideRangePoints=function(Se,_e){if(_e._hasClipOnAxisFalse){var Ee=_e.xaxis,Ie=_e.yaxis;Se.each(function(Ge){var We=Ge[0].trace,Be=We.xcalendar,Ve=We.ycalendar,lt=p.traceIs(We,"bar-like")?".bartext":".point,.textpoint";Se.selectAll(lt).each(function(pt){g.hideOutsideRangePoint(pt,c.select(this),Ee,Ie,Be,Ve)})})}},g.crispRound=function(Se,_e,Ee){return!_e||!_(_e)?Ee||0:Se._context.staticPlot?_e:_e<1?1:Math.round(_e)},g.singleLineStyle=function(Se,_e,Ee,Ie,Ge){_e.style("fill","none");var We=(((Se||[])[0]||{}).trace||{}).line||{},Be=Ee||We.width||0,Ve=Ge||We.dash||"";y.stroke(_e,Ie||We.color),g.dashLine(_e,Ve,Be)},g.lineGroupStyle=function(Se,_e,Ee,Ie){Se.style("fill","none").each(function(Ge){var We=(((Ge||[])[0]||{}).trace||{}).line||{},Be=_e||We.width||0,Ve=Ie||We.dash||"";c.select(this).call(y.stroke,Ee||We.color).call(g.dashLine,Ve,Be)})},g.dashLine=function(Se,_e,Ee){Ee=+Ee||0,_e=g.dashStyle(_e,Ee),Se.style({"stroke-dasharray":_e,"stroke-width":Ee+"px"})},g.dashStyle=function(Se,_e){_e=+_e||1;var Ee=Math.max(_e,3);return Se==="solid"?Se="":Se==="dot"?Se=Ee+"px,"+Ee+"px":Se==="dash"?Se=3*Ee+"px,"+3*Ee+"px":Se==="longdash"?Se=5*Ee+"px,"+5*Ee+"px":Se==="dashdot"?Se=3*Ee+"px,"+Ee+"px,"+Ee+"px,"+Ee+"px":Se==="longdashdot"&&(Se=5*Ee+"px,"+2*Ee+"px,"+Ee+"px,"+2*Ee+"px"),Se};function f(Se,_e,Ee,Ie){var Ge=_e.fillpattern,We=_e.fillgradient,Be=Ge&&g.getPatternAttr(Ge.shape,0,"");if(Be){var Ve=g.getPatternAttr(Ge.bgcolor,0,null),lt=g.getPatternAttr(Ge.fgcolor,0,null),pt=Ge.fgopacity,ct=g.getPatternAttr(Ge.size,0,8),nt=g.getPatternAttr(Ge.solidity,0,.3),vt=_e.uid;g.pattern(Se,"point",Ee,vt,Be,ct,nt,void 0,Ge.fillmode,Ve,lt,pt)}else if(We&&We.type!=="none"){var mt=We.type,xt="scatterfill-"+_e.uid;if(Ie&&(xt="legendfill-"+_e.uid),!Ie&&(We.start!==void 0||We.stop!==void 0)){var Tt,Mt;mt==="horizontal"?(Tt={x:We.start,y:0},Mt={x:We.stop,y:0}):mt==="vertical"&&(Tt={x:0,y:We.start},Mt={x:0,y:We.stop}),Tt.x=_e._xA.c2p(Tt.x===void 0?_e._extremes.x.min[0].val:Tt.x,!0),Tt.y=_e._yA.c2p(Tt.y===void 0?_e._extremes.y.min[0].val:Tt.y,!0),Mt.x=_e._xA.c2p(Mt.x===void 0?_e._extremes.x.max[0].val:Mt.x,!0),Mt.y=_e._yA.c2p(Mt.y===void 0?_e._extremes.y.max[0].val:Mt.y,!0),Se.call(I,Ee,xt,"linear",We.colorscale,"fill",Tt,Mt,!0,!1)}else mt==="horizontal"&&(mt=mt+"reversed"),Se.call(g.gradient,Ee,xt,mt,We.colorscale,"fill")}else _e.fillcolor&&Se.call(y.fill,_e.fillcolor)}g.singleFillStyle=function(Se,_e){var Ee=c.select(Se.node()),Ie=Ee.data(),Ge=((Ie[0]||[])[0]||{}).trace||{};f(Se,Ge,_e,!1)},g.fillGroupStyle=function(Se,_e,Ee){Se.style("stroke-width",0).each(function(Ie){var Ge=c.select(this);Ie[0].trace&&f(Ge,Ie[0].trace,_e,Ee)})};var x=r(71984);g.symbolNames=[],g.symbolFuncs=[],g.symbolBackOffs=[],g.symbolNeedLines={},g.symbolNoDot={},g.symbolNoFill={},g.symbolList=[],Object.keys(x).forEach(function(Se){var _e=x[Se],Ee=_e.n;g.symbolList.push(Ee,String(Ee),Se,Ee+100,String(Ee+100),Se+"-open"),g.symbolNames[Ee]=Se,g.symbolFuncs[Ee]=_e.f,g.symbolBackOffs[Ee]=_e.backoff||0,_e.needLine&&(g.symbolNeedLines[Ee]=!0),_e.noDot?g.symbolNoDot[Ee]=!0:g.symbolList.push(Ee+200,String(Ee+200),Se+"-dot",Ee+300,String(Ee+300),Se+"-open-dot"),_e.noFill&&(g.symbolNoFill[Ee]=!0)});var M=g.symbolNames.length,R="M0,0.5L0.5,0L0,-0.5L-0.5,0Z";g.symbolNumber=function(Se){if(_(Se))Se=+Se;else if(typeof Se=="string"){var _e=0;Se.indexOf("-open")>0&&(_e=100,Se=Se.replace("-open","")),Se.indexOf("-dot")>0&&(_e+=200,Se=Se.replace("-dot","")),Se=g.symbolNames.indexOf(Se),Se>=0&&(Se+=_e)}return Se%100>=M||Se>=400?0:Math.floor(Math.max(Se,0))};function N(Se,_e,Ee,Ie){var Ge=Se%100;return g.symbolFuncs[Ge](_e,Ee,Ie)+(Se>=200?R:"")}var w=o("~f"),P={radial:{type:"radial"},radialreversed:{type:"radial",reversed:!0},horizontal:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0}},horizontalreversed:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0},reversed:!0},vertical:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0}},verticalreversed:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0},reversed:!0}};g.gradient=function(Se,_e,Ee,Ie,Ge,We){var Be=P[Ie];return I(Se,_e,Ee,Be.type,Ge,We,Be.start,Be.stop,!1,Be.reversed)};function I(Se,_e,Ee,Ie,Ge,We,Be,Ve,lt,pt){var ct=Ge.length,nt;Ie==="linear"?nt={node:"linearGradient",attrs:{x1:Be.x,y1:Be.y,x2:Ve.x,y2:Ve.y,gradientUnits:lt?"userSpaceOnUse":"objectBoundingBox"},reversed:pt}:Ie==="radial"&&(nt={node:"radialGradient",reversed:pt});for(var vt=new Array(ct),mt=0;mt=0&&Se.i===void 0&&(Se.i=We.i),_e.style("opacity",Ie.selectedOpacityFn?Ie.selectedOpacityFn(Se):Se.mo===void 0?Be.opacity:Se.mo),Ie.ms2mrc){var lt;Se.ms==="various"||Be.size==="various"?lt=3:lt=Ie.ms2mrc(Se.ms),Se.mrc=lt,Ie.selectedSizeFn&&(lt=Se.mrc=Ie.selectedSizeFn(Se));var pt=g.symbolNumber(Se.mx||Be.symbol)||0;Se.om=pt%200>=100;var ct=ke(Se,Ee),nt=Z(Se,Ee);_e.attr("d",N(pt,lt,ct,nt))}var vt=!1,mt,xt,Tt;if(Se.so)Tt=Ve.outlierwidth,xt=Ve.outliercolor,mt=Be.outliercolor;else{var Mt=(Ve||{}).width;Tt=(Se.mlw+1||Mt+1||(Se.trace?(Se.trace.marker.line||{}).width:0)+1)-1||0,"mlc"in Se?xt=Se.mlcc=Ie.lineScale(Se.mlc):A.isArrayOrTypedArray(Ve.color)?xt=y.defaultLine:xt=Ve.color,A.isArrayOrTypedArray(Be.color)&&(mt=y.defaultLine,vt=!0),"mc"in Se?mt=Se.mcc=Ie.markerScale(Se.mc):mt=Be.color||Be.colors||"rgba(0,0,0,0)",Ie.selectedColorFn&&(mt=Ie.selectedColorFn(Se))}if(Se.om)_e.call(y.stroke,mt).style({"stroke-width":(Tt||1)+"px",fill:"none"});else{_e.style("stroke-width",(Se.isBlank?0:Tt)+"px");var at=Be.gradient,Oe=Se.mgt;Oe?vt=!0:Oe=at&&at.type,A.isArrayOrTypedArray(Oe)&&(Oe=Oe[0],P[Oe]||(Oe=0));var Ye=Be.pattern,Ze=Ye&&g.getPatternAttr(Ye.shape,Se.i,"");if(Oe&&Oe!=="none"){var Ke=Se.mgc;Ke?vt=!0:Ke=at.color;var Fe=Ee.uid;vt&&(Fe+="-"+Se.i),g.gradient(_e,Ge,Fe,Oe,[[0,Ke],[1,mt]],"fill")}else if(Ze){var Ne=!1,$e=Ye.fgcolor;!$e&&We&&We.color&&($e=We.color,Ne=!0);var Pe=g.getPatternAttr($e,Se.i,We&&We.color||null),me=g.getPatternAttr(Ye.bgcolor,Se.i,null),Ce=Ye.fgopacity,He=g.getPatternAttr(Ye.size,Se.i,8),qe=g.getPatternAttr(Ye.solidity,Se.i,.3);Ne=Ne||Se.mcc||A.isArrayOrTypedArray(Ye.shape)||A.isArrayOrTypedArray(Ye.bgcolor)||A.isArrayOrTypedArray(Ye.fgcolor)||A.isArrayOrTypedArray(Ye.size)||A.isArrayOrTypedArray(Ye.solidity);var st=Ee.uid;Ne&&(st+="-"+Se.i),g.pattern(_e,"point",Ge,st,Ze,He,qe,Se.mcc,Ye.fillmode,me,Pe,Ce)}else A.isArrayOrTypedArray(mt)?y.fill(_e,mt[Se.i]):y.fill(_e,mt);Tt&&y.stroke(_e,xt)}},g.makePointStyleFns=function(Se){var _e={},Ee=Se.marker;return _e.markerScale=g.tryColorscale(Ee,""),_e.lineScale=g.tryColorscale(Ee,"line"),p.traceIs(Se,"symbols")&&(_e.ms2mrc=b.isBubble(Se)?m(Se):function(){return(Ee.size||6)/2}),Se.selectedpoints&&A.extendFlat(_e,g.makeSelectedPointStyleFns(Se)),_e},g.makeSelectedPointStyleFns=function(Se){var _e={},Ee=Se.selected||{},Ie=Se.unselected||{},Ge=Se.marker||{},We=Ee.marker||{},Be=Ie.marker||{},Ve=Ge.opacity,lt=We.opacity,pt=Be.opacity,ct=lt!==void 0,nt=pt!==void 0;(A.isArrayOrTypedArray(Ve)||ct||nt)&&(_e.selectedOpacityFn=function(Ze){var Ke=Ze.mo===void 0?Ge.opacity:Ze.mo;return Ze.selected?ct?lt:Ke:nt?pt:u*Ke});var vt=Ge.color,mt=We.color,xt=Be.color;(mt||xt)&&(_e.selectedColorFn=function(Ze){var Ke=Ze.mcc||vt;return Ze.selected?mt||Ke:xt||Ke});var Tt=Ge.size,Mt=We.size,at=Be.size,Oe=Mt!==void 0,Ye=at!==void 0;return p.traceIs(Se,"symbols")&&(Oe||Ye)&&(_e.selectedSizeFn=function(Ze){var Ke=Ze.mrc||Tt/2;return Ze.selected?Oe?Mt/2:Ke:Ye?at/2:Ke}),_e},g.makeSelectedTextStyleFns=function(Se){var _e={},Ee=Se.selected||{},Ie=Se.unselected||{},Ge=Se.textfont||{},We=Ee.textfont||{},Be=Ie.textfont||{},Ve=Ge.color,lt=We.color,pt=Be.color;return _e.selectedTextColorFn=function(ct){var nt=ct.tc||Ve;return ct.selected?lt||nt:pt||(lt?nt:y.addOpacity(nt,u))},_e},g.selectedPointStyle=function(Se,_e){if(!(!Se.size()||!_e.selectedpoints)){var Ee=g.makeSelectedPointStyleFns(_e),Ie=_e.marker||{},Ge=[];Ee.selectedOpacityFn&&Ge.push(function(We,Be){We.style("opacity",Ee.selectedOpacityFn(Be))}),Ee.selectedColorFn&&Ge.push(function(We,Be){y.fill(We,Ee.selectedColorFn(Be))}),Ee.selectedSizeFn&&Ge.push(function(We,Be){var Ve=Be.mx||Ie.symbol||0,lt=Ee.selectedSizeFn(Be);We.attr("d",N(g.symbolNumber(Ve),lt,ke(Be,_e),Z(Be,_e))),Be.mrc2=lt}),Ge.length&&Se.each(function(We){for(var Be=c.select(this),Ve=0;Ve0?Ee:0}g.textPointStyle=function(Se,_e,Ee){if(Se.size()){var Ie;if(_e.selectedpoints){var Ge=g.makeSelectedTextStyleFns(_e);Ie=Ge.selectedTextColorFn}var We=_e.texttemplate,Be=Ee._fullLayout;Se.each(function(Ve){var lt=c.select(this),pt=We?A.extractOption(Ve,_e,"txt","texttemplate"):A.extractOption(Ve,_e,"tx","text");if(!pt&&pt!==0){lt.remove();return}if(We){var ct=_e._module.formatLabels,nt=ct?ct(Ve,_e,Be):{},vt={};C(vt,_e,Ve.i);var mt=_e._meta||{};pt=A.texttemplateString(pt,nt,Be._d3locale,vt,Ve,mt)}var xt=Ve.tp||_e.textposition,Tt=E(Ve,_e),Mt=Ie?Ie(Ve):Ve.tc||_e.textfont.color;lt.call(g.font,{family:Ve.tf||_e.textfont.family,weight:Ve.tw||_e.textfont.weight,style:Ve.ty||_e.textfont.style,variant:Ve.tv||_e.textfont.variant,size:Tt,color:Mt}).text(pt).call(l.convertToTspans,Ee).call(L,xt,Tt,Ve.mrc)})}},g.selectedTextStyle=function(Se,_e){if(!(!Se.size()||!_e.selectedpoints)){var Ee=g.makeSelectedTextStyleFns(_e);Se.each(function(Ie){var Ge=c.select(this),We=Ee.selectedTextColorFn(Ie),Be=Ie.tp||_e.textposition,Ve=E(Ie,_e);y.fill(Ge,We);var lt=p.traceIs(_e,"bar-like");L(Ge,Be,Ve,Ie.mrc2||Ie.mrc,lt)})}};var B=.5;g.smoothopen=function(Se,_e){if(Se.length<3)return"M"+Se.join("L");var Ee="M"+Se[0],Ie=[],Ge;for(Ge=1;Ge=lt||Ze>=ct&&Ze<=lt)&&(Ke<=nt&&Ke>=pt||Ke>=nt&&Ke<=pt)&&(Se=[Ze,Ke])}return Se}g.applyBackoff=re,g.makeTester=function(){var Se=A.ensureSingleById(c.select("body"),"svg","js-plotly-tester",function(Ee){Ee.attr(s.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})}),_e=A.ensureSingle(Se,"path","js-reference-point",function(Ee){Ee.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})});g.tester=Se,g.testref=_e},g.savedBBoxes={};var ae=0,oe=1e4;g.bBox=function(Se,_e,Ee){Ee||(Ee=de(Se));var Ie;if(Ee){if(Ie=g.savedBBoxes[Ee],Ie)return A.extendFlat({},Ie)}else if(Se.childNodes.length===1){var Ge=Se.childNodes[0];if(Ee=de(Ge),Ee){var We=+Ge.getAttribute("x")||0,Be=+Ge.getAttribute("y")||0,Ve=Ge.getAttribute("transform");if(!Ve){var lt=g.bBox(Ge,!1,Ee);return We&&(lt.left+=We,lt.right+=We),Be&&(lt.top+=Be,lt.bottom+=Be),lt}if(Ee+="~"+We+"~"+Be+"~"+Ve,Ie=g.savedBBoxes[Ee],Ie)return A.extendFlat({},Ie)}}var pt,ct;_e?pt=Se:(ct=g.tester.node(),pt=Se.cloneNode(!0),ct.appendChild(pt)),c.select(pt).attr("transform",null).call(l.positionText,0,0);var nt=pt.getBoundingClientRect(),vt=g.testref.node().getBoundingClientRect();_e||ct.removeChild(pt);var mt={height:nt.height,width:nt.width,left:nt.left-vt.left,top:nt.top-vt.top,right:nt.right-vt.left,bottom:nt.bottom-vt.top};return ae>=oe&&(g.savedBBoxes={},ae=0),Ee&&(g.savedBBoxes[Ee]=mt),ae++,A.extendFlat({},mt)};function de(Se){var _e=Se.getAttribute("data-unformatted");if(_e!==null)return _e+Se.getAttribute("data-math")+Se.getAttribute("text-anchor")+Se.getAttribute("style")}g.setClipUrl=function(Se,_e,Ee){Se.attr("clip-path",te(_e,Ee))};function te(Se,_e){if(!Se)return null;var Ee=_e._context,Ie=Ee._exportedPlot?"":Ee._baseUrl||"";return Ie?"url('"+Ie+"#"+Se+"')":"url(#"+Se+")"}g.getTranslate=function(Se){var _e=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,Ee=Se.attr?"attr":"getAttribute",Ie=Se[Ee]("transform")||"",Ge=Ie.replace(_e,function(We,Be,Ve){return[Be,Ve].join(" ")}).split(" ");return{x:+Ge[0]||0,y:+Ge[1]||0}},g.setTranslate=function(Se,_e,Ee){var Ie=/(\btranslate\(.*?\);?)/,Ge=Se.attr?"attr":"getAttribute",We=Se.attr?"attr":"setAttribute",Be=Se[Ge]("transform")||"";return _e=_e||0,Ee=Ee||0,Be=Be.replace(Ie,"").trim(),Be+=n(_e,Ee),Be=Be.trim(),Se[We]("transform",Be),Be},g.getScale=function(Se){var _e=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,Ee=Se.attr?"attr":"getAttribute",Ie=Se[Ee]("transform")||"",Ge=Ie.replace(_e,function(We,Be,Ve){return[Be,Ve].join(" ")}).split(" ");return{x:+Ge[0]||1,y:+Ge[1]||1}},g.setScale=function(Se,_e,Ee){var Ie=/(\bscale\(.*?\);?)/,Ge=Se.attr?"attr":"getAttribute",We=Se.attr?"attr":"setAttribute",Be=Se[Ge]("transform")||"";return _e=_e||1,Ee=Ee||1,Be=Be.replace(Ie,"").trim(),Be+="scale("+_e+","+Ee+")",Be=Be.trim(),Se[We]("transform",Be),Be};var J=/\s*sc.*/;g.setPointGroupScale=function(Se,_e,Ee){if(_e=_e||1,Ee=Ee||1,!!Se){var Ie=_e===1&&Ee===1?"":"scale("+_e+","+Ee+")";Se.each(function(){var Ge=(this.getAttribute("transform")||"").replace(J,"");Ge+=Ie,Ge=Ge.trim(),this.setAttribute("transform",Ge)})}};var ie=/translate\([^)]*\)\s*$/;g.setTextPointsScale=function(Se,_e,Ee){Se&&Se.each(function(){var Ie,Ge=c.select(this),We=Ge.select("text");if(We.node()){var Be=parseFloat(We.attr("x")||0),Ve=parseFloat(We.attr("y")||0),lt=(Ge.attr("transform")||"").match(ie);_e===1&&Ee===1?Ie=[]:Ie=[n(Be,Ve),"scale("+_e+","+Ee+")",n(-Be,-Ve)],lt&&Ie.push(lt),Ge.attr("transform",Ie.join(""))}})};function Z(Se,_e){var Ee;return Se&&(Ee=Se.mf),Ee===void 0&&(Ee=_e.marker&&_e.marker.standoff||0),!_e._geo&&!_e._xA?-Ee:Ee}g.getMarkerStandoff=Z;var ue=Math.atan2,fe=Math.cos,Q=Math.sin;function q(Se,_e){var Ee=_e[0],Ie=_e[1];return[Ee*fe(Se)-Ie*Q(Se),Ee*Q(Se)+Ie*fe(Se)]}var ce,se,pe,Te,we,Ae;function ke(Se,_e){var Ee=Se.ma;Ee===void 0&&(Ee=_e.marker.angle,(!Ee||A.isArrayOrTypedArray(Ee))&&(Ee=0));var Ie,Ge,We=_e.marker.angleref;if(We==="previous"||We==="north"){if(_e._geo){var Be=_e._geo.project(Se.lonlat);Ie=Be[0],Ge=Be[1]}else{var Ve=_e._xA,lt=_e._yA;if(Ve&<)Ie=Ve.c2p(Se.x),Ge=lt.c2p(Se.y);else return 90}if(_e._geo){var pt=Se.lonlat[0],ct=Se.lonlat[1],nt=_e._geo.project([pt,ct+1e-5]),vt=_e._geo.project([pt+1e-5,ct]),mt=ue(vt[1]-Ge,vt[0]-Ie),xt=ue(nt[1]-Ge,nt[0]-Ie),Tt;if(We==="north")Tt=Ee/180*Math.PI;else if(We==="previous"){var Mt=pt/180*Math.PI,at=ct/180*Math.PI,Oe=ce/180*Math.PI,Ye=se/180*Math.PI,Ze=Oe-Mt,Ke=fe(Ye)*Q(Ze),Fe=Q(Ye)*fe(at)-fe(Ye)*Q(at)*fe(Ze);Tt=-ue(Ke,Fe)-Math.PI,ce=pt,se=ct}var Ne=q(mt,[fe(Tt),0]),$e=q(xt,[Q(Tt),0]);Ee=ue(Ne[1]+$e[1],Ne[0]+$e[0])/Math.PI*180,We==="previous"&&!(Ae===_e.uid&&Se.i===we+1)&&(Ee=null)}if(We==="previous"&&!_e._geo)if(Ae===_e.uid&&Se.i===we+1&&_(Ie)&&_(Ge)){var Pe=Ie-pe,me=Ge-Te,Ce=_e.line&&_e.line.shape||"",He=Ce.slice(Ce.length-1);He==="h"&&(me=0),He==="v"&&(Pe=0),Ee+=ue(me,Pe)/Math.PI*180+90}else Ee=null}return pe=Ie,Te=Ge,we=Se.i,Ae=_e.uid,Ee}g.getMarkerAngle=ke},71984:function(k,D,r){var c=r(21984),A=r(33428).round,o="M0,0Z",_=Math.sqrt(2),T=Math.sqrt(3),p=Math.PI,y=Math.cos,a=Math.sin;k.exports={circle:{n:0,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f="M"+g+",0A"+g+","+g+" 0 1,1 0,-"+g+"A"+g+","+g+" 0 0,1 "+g+",0Z";return C?u(m,C,f):f}},square:{n:1,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"H-"+g+"V-"+g+"H"+g+"Z")}},diamond:{n:2,f:function(b,m,C){if(n(m))return o;var g=A(b*1.3,2);return u(m,C,"M"+g+",0L0,"+g+"L-"+g+",0L0,-"+g+"Z")}},cross:{n:3,f:function(b,m,C){if(n(m))return o;var g=A(b*.4,2),f=A(b*1.2,2);return u(m,C,"M"+f+","+g+"H"+g+"V"+f+"H-"+g+"V"+g+"H-"+f+"V-"+g+"H-"+g+"V-"+f+"H"+g+"V-"+g+"H"+f+"Z")}},x:{n:4,f:function(b,m,C){if(n(m))return o;var g=A(b*.8/_,2),f="l"+g+","+g,x="l"+g+",-"+g,M="l-"+g+",-"+g,R="l-"+g+","+g;return u(m,C,"M0,"+g+f+x+M+x+M+R+M+R+f+R+f+"Z")}},"triangle-up":{n:5,f:function(b,m,C){if(n(m))return o;var g=A(b*2/T,2),f=A(b/2,2),x=A(b,2);return u(m,C,"M-"+g+","+f+"H"+g+"L0,-"+x+"Z")}},"triangle-down":{n:6,f:function(b,m,C){if(n(m))return o;var g=A(b*2/T,2),f=A(b/2,2),x=A(b,2);return u(m,C,"M-"+g+",-"+f+"H"+g+"L0,"+x+"Z")}},"triangle-left":{n:7,f:function(b,m,C){if(n(m))return o;var g=A(b*2/T,2),f=A(b/2,2),x=A(b,2);return u(m,C,"M"+f+",-"+g+"V"+g+"L-"+x+",0Z")}},"triangle-right":{n:8,f:function(b,m,C){if(n(m))return o;var g=A(b*2/T,2),f=A(b/2,2),x=A(b,2);return u(m,C,"M-"+f+",-"+g+"V"+g+"L"+x+",0Z")}},"triangle-ne":{n:9,f:function(b,m,C){if(n(m))return o;var g=A(b*.6,2),f=A(b*1.2,2);return u(m,C,"M-"+f+",-"+g+"H"+g+"V"+f+"Z")}},"triangle-se":{n:10,f:function(b,m,C){if(n(m))return o;var g=A(b*.6,2),f=A(b*1.2,2);return u(m,C,"M"+g+",-"+f+"V"+g+"H-"+f+"Z")}},"triangle-sw":{n:11,f:function(b,m,C){if(n(m))return o;var g=A(b*.6,2),f=A(b*1.2,2);return u(m,C,"M"+f+","+g+"H-"+g+"V-"+f+"Z")}},"triangle-nw":{n:12,f:function(b,m,C){if(n(m))return o;var g=A(b*.6,2),f=A(b*1.2,2);return u(m,C,"M-"+g+","+f+"V-"+g+"H"+f+"Z")}},pentagon:{n:13,f:function(b,m,C){if(n(m))return o;var g=A(b*.951,2),f=A(b*.588,2),x=A(-b,2),M=A(b*-.309,2),R=A(b*.809,2);return u(m,C,"M"+g+","+M+"L"+f+","+R+"H-"+f+"L-"+g+","+M+"L0,"+x+"Z")}},hexagon:{n:14,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b/2,2),x=A(b*T/2,2);return u(m,C,"M"+x+",-"+f+"V"+f+"L0,"+g+"L-"+x+","+f+"V-"+f+"L0,-"+g+"Z")}},hexagon2:{n:15,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b/2,2),x=A(b*T/2,2);return u(m,C,"M-"+f+","+x+"H"+f+"L"+g+",0L"+f+",-"+x+"H-"+f+"L-"+g+",0Z")}},octagon:{n:16,f:function(b,m,C){if(n(m))return o;var g=A(b*.924,2),f=A(b*.383,2);return u(m,C,"M-"+f+",-"+g+"H"+f+"L"+g+",-"+f+"V"+f+"L"+f+","+g+"H-"+f+"L-"+g+","+f+"V-"+f+"Z")}},star:{n:17,f:function(b,m,C){if(n(m))return o;var g=b*1.4,f=A(g*.225,2),x=A(g*.951,2),M=A(g*.363,2),R=A(g*.588,2),N=A(-g,2),w=A(g*-.309,2),P=A(g*.118,2),I=A(g*.809,2),d=A(g*.382,2);return u(m,C,"M"+f+","+w+"H"+x+"L"+M+","+P+"L"+R+","+I+"L0,"+d+"L-"+R+","+I+"L-"+M+","+P+"L-"+x+","+w+"H-"+f+"L0,"+N+"Z")}},hexagram:{n:18,f:function(b,m,C){if(n(m))return o;var g=A(b*.66,2),f=A(b*.38,2),x=A(b*.76,2);return u(m,C,"M-"+x+",0l-"+f+",-"+g+"h"+x+"l"+f+",-"+g+"l"+f+","+g+"h"+x+"l-"+f+","+g+"l"+f+","+g+"h-"+x+"l-"+f+","+g+"l-"+f+",-"+g+"h-"+x+"Z")}},"star-triangle-up":{n:19,f:function(b,m,C){if(n(m))return o;var g=A(b*T*.8,2),f=A(b*.8,2),x=A(b*1.6,2),M=A(b*4,2),R="A "+M+","+M+" 0 0 1 ";return u(m,C,"M-"+g+","+f+R+g+","+f+R+"0,-"+x+R+"-"+g+","+f+"Z")}},"star-triangle-down":{n:20,f:function(b,m,C){if(n(m))return o;var g=A(b*T*.8,2),f=A(b*.8,2),x=A(b*1.6,2),M=A(b*4,2),R="A "+M+","+M+" 0 0 1 ";return u(m,C,"M"+g+",-"+f+R+"-"+g+",-"+f+R+"0,"+x+R+g+",-"+f+"Z")}},"star-square":{n:21,f:function(b,m,C){if(n(m))return o;var g=A(b*1.1,2),f=A(b*2,2),x="A "+f+","+f+" 0 0 1 ";return u(m,C,"M-"+g+",-"+g+x+"-"+g+","+g+x+g+","+g+x+g+",-"+g+x+"-"+g+",-"+g+"Z")}},"star-diamond":{n:22,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2),f=A(b*1.9,2),x="A "+f+","+f+" 0 0 1 ";return u(m,C,"M-"+g+",0"+x+"0,"+g+x+g+",0"+x+"0,-"+g+x+"-"+g+",0Z")}},"diamond-tall":{n:23,f:function(b,m,C){if(n(m))return o;var g=A(b*.7,2),f=A(b*1.4,2);return u(m,C,"M0,"+f+"L"+g+",0L0,-"+f+"L-"+g+",0Z")}},"diamond-wide":{n:24,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2),f=A(b*.7,2);return u(m,C,"M0,"+f+"L"+g+",0L0,-"+f+"L-"+g+",0Z")}},hourglass:{n:25,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"H-"+g+"L"+g+",-"+g+"H-"+g+"Z")},noDot:!0},bowtie:{n:26,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"V-"+g+"L-"+g+","+g+"V-"+g+"Z")},noDot:!0},"circle-cross":{n:27,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M0,"+g+"V-"+g+"M"+g+",0H-"+g+"M"+g+",0A"+g+","+g+" 0 1,1 0,-"+g+"A"+g+","+g+" 0 0,1 "+g+",0Z")},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b/_,2);return u(m,C,"M"+f+","+f+"L-"+f+",-"+f+"M"+f+",-"+f+"L-"+f+","+f+"M"+g+",0A"+g+","+g+" 0 1,1 0,-"+g+"A"+g+","+g+" 0 0,1 "+g+",0Z")},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M0,"+g+"V-"+g+"M"+g+",0H-"+g+"M"+g+","+g+"H-"+g+"V-"+g+"H"+g+"Z")},needLine:!0,noDot:!0},"square-x":{n:30,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"L-"+g+",-"+g+"M"+g+",-"+g+"L-"+g+","+g+"M"+g+","+g+"H-"+g+"V-"+g+"H"+g+"Z")},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(b,m,C){if(n(m))return o;var g=A(b*1.3,2);return u(m,C,"M"+g+",0L0,"+g+"L-"+g+",0L0,-"+g+"ZM0,-"+g+"V"+g+"M-"+g+",0H"+g)},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(b,m,C){if(n(m))return o;var g=A(b*1.3,2),f=A(b*.65,2);return u(m,C,"M"+g+",0L0,"+g+"L-"+g+",0L0,-"+g+"ZM-"+f+",-"+f+"L"+f+","+f+"M-"+f+","+f+"L"+f+",-"+f)},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2);return u(m,C,"M0,"+g+"V-"+g+"M"+g+",0H-"+g)},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"L-"+g+",-"+g+"M"+g+",-"+g+"L-"+g+","+g)},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*.85,2);return u(m,C,"M0,"+g+"V-"+g+"M"+g+",0H-"+g+"M"+f+","+f+"L-"+f+",-"+f+"M"+f+",-"+f+"L-"+f+","+f)},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(b,m,C){if(n(m))return o;var g=A(b/2,2),f=A(b,2);return u(m,C,"M"+g+","+f+"V-"+f+"M"+(g-f)+",-"+f+"V"+f+"M"+f+","+g+"H-"+f+"M-"+f+","+(g-f)+"H"+f)},needLine:!0,noFill:!0},"y-up":{n:37,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*1.6,2),x=A(b*.8,2);return u(m,C,"M-"+g+","+x+"L0,0M"+g+","+x+"L0,0M0,-"+f+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*1.6,2),x=A(b*.8,2);return u(m,C,"M-"+g+",-"+x+"L0,0M"+g+",-"+x+"L0,0M0,"+f+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*1.6,2),x=A(b*.8,2);return u(m,C,"M"+x+","+g+"L0,0M"+x+",-"+g+"L0,0M-"+f+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*1.6,2),x=A(b*.8,2);return u(m,C,"M-"+x+","+g+"L0,0M-"+x+",-"+g+"L0,0M"+f+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2);return u(m,C,"M"+g+",0H-"+g)},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2);return u(m,C,"M0,"+g+"V-"+g)},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+",-"+g+"L-"+g+","+g)},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"L-"+g+",-"+g)},needLine:!0,noDot:!0,noFill:!0},"arrow-up":{n:45,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b*2,2);return u(m,C,"M0,0L-"+g+","+f+"H"+g+"Z")},backoff:1,noDot:!0},"arrow-down":{n:46,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b*2,2);return u(m,C,"M0,0L-"+g+",-"+f+"H"+g+"Z")},noDot:!0},"arrow-left":{n:47,f:function(b,m,C){if(n(m))return o;var g=A(b*2,2),f=A(b,2);return u(m,C,"M0,0L"+g+",-"+f+"V"+f+"Z")},noDot:!0},"arrow-right":{n:48,f:function(b,m,C){if(n(m))return o;var g=A(b*2,2),f=A(b,2);return u(m,C,"M0,0L-"+g+",-"+f+"V"+f+"Z")},noDot:!0},"arrow-bar-up":{n:49,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b*2,2);return u(m,C,"M-"+g+",0H"+g+"M0,0L-"+g+","+f+"H"+g+"Z")},backoff:1,needLine:!0,noDot:!0},"arrow-bar-down":{n:50,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b*2,2);return u(m,C,"M-"+g+",0H"+g+"M0,0L-"+g+",-"+f+"H"+g+"Z")},needLine:!0,noDot:!0},"arrow-bar-left":{n:51,f:function(b,m,C){if(n(m))return o;var g=A(b*2,2),f=A(b,2);return u(m,C,"M0,-"+f+"V"+f+"M0,0L"+g+",-"+f+"V"+f+"Z")},needLine:!0,noDot:!0},"arrow-bar-right":{n:52,f:function(b,m,C){if(n(m))return o;var g=A(b*2,2),f=A(b,2);return u(m,C,"M0,-"+f+"V"+f+"M0,0L-"+g+",-"+f+"V"+f+"Z")},needLine:!0,noDot:!0},arrow:{n:53,f:function(b,m,C){if(n(m))return o;var g=p/2.5,f=2*b*y(g),x=2*b*a(g);return u(m,C,"M0,0L"+-f+","+x+"L"+f+","+x+"Z")},backoff:.9,noDot:!0},"arrow-wide":{n:54,f:function(b,m,C){if(n(m))return o;var g=p/4,f=2*b*y(g),x=2*b*a(g);return u(m,C,"M0,0L"+-f+","+x+"A "+2*b+","+2*b+" 0 0 1 "+f+","+x+"Z")},backoff:.4,noDot:!0}};function n(b){return b===null}var l,s,h,v;function u(b,m,C){if((!b||b%360===0)&&!m)return C;if(h===b&&v===m&&l===C)return s;h=b,v=m,l=C;function g(z,Y){var H=y(z),G=a(z),W=Y[0],V=Y[1]+(m||0);return[W*H-V*G,W*G+V*H]}for(var f=b/180*p,x=0,M=0,R=c(C),N="",w=0;w0,b=y._context.staticPlot;a.each(function(m){var C=m[0].trace,g=C.error_x||{},f=C.error_y||{},x;C.ids&&(x=function(w){return w.id});var M=_.hasMarkers(C)&&C.marker.maxdisplayed>0;!f.visible&&!g.visible&&(m=[]);var R=c.select(this).selectAll("g.errorbar").data(m,x);if(R.exit().remove(),!!m.length){g.visible||R.selectAll("path.xerror").remove(),f.visible||R.selectAll("path.yerror").remove(),R.style("opacity",1);var N=R.enter().append("g").classed("errorbar",!0);u&&N.style("opacity",0).transition().duration(l.duration).style("opacity",1),o.setClipUrl(R,n.layerClipId,y),R.each(function(w){var P=c.select(this),I=T(w,h,v);if(!(M&&!w.vis)){var d,L=P.select("path.yerror");if(f.visible&&A(I.x)&&A(I.yh)&&A(I.ys)){var E=f.width;d="M"+(I.x-E)+","+I.yh+"h"+2*E+"m-"+E+",0V"+I.ys,I.noYS||(d+="m-"+E+",0h"+2*E),s=!L.size(),s?L=P.append("path").style("vector-effect",b?"none":"non-scaling-stroke").classed("yerror",!0):u&&(L=L.transition().duration(l.duration).ease(l.easing)),L.attr("d",d)}else L.remove();var B=P.select("path.xerror");if(g.visible&&A(I.y)&&A(I.xh)&&A(I.xs)){var z=(g.copy_ystyle?f:g).width;d="M"+I.xh+","+(I.y-z)+"v"+2*z+"m0,-"+z+"H"+I.xs,I.noXS||(d+="m0,-"+z+"v"+2*z),s=!B.size(),s?B=P.append("path").style("vector-effect",b?"none":"non-scaling-stroke").classed("xerror",!0):u&&(B=B.transition().duration(l.duration).ease(l.easing)),B.attr("d",d)}else B.remove()}})}})};function T(p,y,a){var n={x:y.c2p(p.x),y:a.c2p(p.y)};return p.yh!==void 0&&(n.yh=a.c2p(p.yh),n.ys=a.c2p(p.ys),A(n.ys)||(n.noYS=!0,n.ys=a.c2p(p.ys,!0))),p.xh!==void 0&&(n.xh=y.c2p(p.xh),n.xs=y.c2p(p.xs),A(n.xs)||(n.noXS=!0,n.xs=y.c2p(p.xs,!0))),n}},92036:function(k,D,r){var c=r(33428),A=r(76308);k.exports=function(_){_.each(function(T){var p=T[0].trace,y=p.error_y||{},a=p.error_x||{},n=c.select(this);n.selectAll("path.yerror").style("stroke-width",y.thickness+"px").call(A.stroke,y.color),a.copy_ystyle&&(a=y),n.selectAll("path.xerror").style("stroke-width",a.thickness+"px").call(A.stroke,a.color)})}},55756:function(k,D,r){var c=r(25376),A=r(65460).hoverlabel,o=r(92880).extendFlat;k.exports={hoverlabel:{bgcolor:o({},A.bgcolor,{arrayOk:!0}),bordercolor:o({},A.bordercolor,{arrayOk:!0}),font:c({arrayOk:!0,editType:"none"}),align:o({},A.align,{arrayOk:!0}),namelength:o({},A.namelength,{arrayOk:!0}),editType:"none"}}},55056:function(k,D,r){var c=r(3400),A=r(24040);k.exports=function(T){var p=T.calcdata,y=T._fullLayout;function a(v){return function(u){return c.coerceHoverinfo({hoverinfo:u},{_module:v._module},y)}}for(var n=0;n=0&&n.indexxt[0]._length||br<0||br>Tt[0]._length)return v.unhoverRaw(Q,q)}if(q.pointerX=tr+xt[0]._offset,q.pointerY=br+Tt[0]._offset,"xval"in q?Ne=m.flat(Te,q.xval):Ne=m.p2c(xt,tr),"yval"in q?$e=m.flat(Te,q.yval):$e=m.p2c(Tt,br),!A(Ne[0])||!A($e[0]))return _.warn("Fx.hover failed",q,Q),v.unhoverRaw(Q,q)}var ft=1/0;function St(ia,_r){for(me=0;meCt&&(Ke.splice(0,Ct),ft=Ke[0].distance),Ee&&Ze!==0&&Ke.length===0){gt.distance=Ze,gt.index=!1;var On=He._module.hoverPoints(gt,kt,_t,"closest",{hoverLayer:Ae._hoverlayer});if(On&&(On=On.filter(function(Cr){return Cr.spikeDistance<=Ze})),On&&On.length){var Un,na=On.filter(function(Cr){return Cr.xa.showspikes&&Cr.xa.spikesnap!=="hovered data"});if(na.length){var ga=na[0];A(ga.x0)&&A(ga.y0)&&(Un=Nt(ga),(!Jt.vLinePoint||Jt.vLinePoint.spikeDistance>Un.spikeDistance)&&(Jt.vLinePoint=Un))}var Na=On.filter(function(Cr){return Cr.ya.showspikes&&Cr.ya.spikesnap!=="hovered data"});if(Na.length){var ci=Na[0];A(ci.x0)&&A(ci.y0)&&(Un=Nt(ci),(!Jt.hLinePoint||Jt.hLinePoint.spikeDistance>Un.spikeDistance)&&(Jt.hLinePoint=Un))}}}}}St();function Lt(ia,_r,Qr){for(var Jr=null,_n=1/0,ta,On=0;On0&&Math.abs(ia.distance)cr-1;mr--)kr(Ke[mr]);Ke=Vt,ar()}var Kr=Q._hoverdata,Br=[],Ur=Z(Q),Sn=ue(Q);for(Pe=0;Pe1||Ke.length>1)||Ie==="closest"&&wr&&Ke.length>1,Ca=h.combine(Ae.plot_bgcolor||h.background,Ae.paper_bgcolor),za=H(Ke,{gd:Q,hovermode:Ie,rotateLabels:sa,bgColor:Ca,container:Ae._hoverlayer,outerContainer:Ae._paper.node(),commonLabelOpts:Ae.hoverlabel,hoverdistance:Ae.hoverdistance}),Ya=za.hoverLabels;if(m.isUnifiedHover(Ie)||(W(Ya,sa,Ae,za.commonLabelBoundingBox),$(Ya,sa,Ae._invScaleX,Ae._invScaleY)),pe&&pe.tagName){var Pa=b.getComponentMethod("annotations","hasClickToShow")(Q,Br);l(c.select(pe),Pa?"pointer":"")}!pe||se||!oe(Q,q,Kr)||(Kr&&Q.emit("plotly_unhover",{event:q,points:Kr}),Q.emit("plotly_hover",{event:q,points:Q._hoverdata,xaxes:xt,yaxes:Tt,xvals:Ne,yvals:$e}))}function z(Q){return[Q.trace.index,Q.index,Q.x0,Q.y0,Q.name,Q.attr,Q.xa?Q.xa._id:"",Q.ya?Q.ya._id:""].join(",")}var Y=/([\s\S]*)<\/extra>/;function H(Q,q){var ce=q.gd,se=ce._fullLayout,pe=q.hovermode,Te=q.rotateLabels,we=q.bgColor,Ae=q.container,ke=q.outerContainer,Se=q.commonLabelOpts||{};if(Q.length===0)return[[]];var _e=q.fontFamily||C.HOVERFONT,Ee=q.fontSize||C.HOVERFONTSIZE,Ie=q.fontWeight||se.font.weight,Ge=q.fontStyle||se.font.style,We=q.fontVariant||se.font.variant,Be=Q[0],Ve=Be.xa,lt=Be.ya,pt=pe.charAt(0),ct=pt+"Label",nt=Be[ct];if(nt===void 0&&Ve.type==="multicategory")for(var vt=0;vtse.width-xr&&(Ar=se.width-xr),Tr.attr("d","M"+(hr-Ar)+",0L"+(hr-Ar+P)+","+Vt+P+"H"+xr+"v"+Vt+(I*2+cr.height)+"H"+-xr+"V"+Vt+P+"H"+(hr-Ar-P)+"Z"),hr=Ar,Ne.minX=hr-xr,Ne.maxX=hr+xr,Ve.side==="top"?(Ne.minY=sr-(I*2+cr.height),Ne.maxY=sr-I):(Ne.minY=sr+I,Ne.maxY=sr+(I*2+cr.height))}else{var kr,mr,Kr;lt.side==="right"?(kr="start",mr=1,Kr="",hr=Ve._offset+Ve._length):(kr="end",mr=-1,Kr="-",hr=Ve._offset),sr=lt._offset+(Be.y0+Be.y1)/2,Xe.attr("text-anchor",kr),Tr.attr("d","M0,0L"+Kr+P+","+P+"V"+(I+cr.height/2)+"h"+Kr+(I*2+cr.width)+"V-"+(I+cr.height/2)+"H"+Kr+P+"V-"+P+"Z"),Ne.minY=sr-(I+cr.height/2),Ne.maxY=sr+(I+cr.height/2),lt.side==="right"?(Ne.minX=hr+P,Ne.maxX=hr+P+(I*2+cr.width)):(Ne.minX=hr-P-(I*2+cr.width),Ne.maxX=hr-P);var Br=cr.height/2,Ur=xt-cr.top-Br,Sn="clip"+se._uid+"commonlabel"+lt._id,an;if(hr=0?Wt=Lt:Nt+yt=0?Wt=Nt:Zt+yt=0?ar=ft:St+qt=0?ar=St:Yt+qt=0,(rr.idealAlign==="top"||!Vr)&&rn?(Br-=Sn/2,rr.anchor="end"):Vr?(Br+=Sn/2,rr.anchor="start"):rr.anchor="middle",rr.crossPos=Br;else{if(rr.pos=Br,Vr=Kr+Ur/2+Mr<=Tt,rn=Kr-Ur/2-Mr>=0,(rr.idealAlign==="left"||!Vr)&&rn)Kr-=Ur/2,rr.anchor="end";else if(Vr)Kr+=Ur/2,rr.anchor="start";else{rr.anchor="middle";var Wr=Mr/2,Mn=Kr+Wr-Tt,Cn=Kr-Wr;Mn>0&&(Kr-=Mn),Cn<0&&(Kr+=-Cn)}rr.crossPos=Kr}Vt.attr("text-anchor",rr.anchor),Ar&&xr.attr("text-anchor",rr.anchor),Tr.attr("transform",p(Kr,Br)+(Te?y(x):""))}),{hoverLabels:yr,commonLabelBoundingBox:Ne}}function G(Q,q,ce,se,pe,Te){var we="",Ae="";Q.nameOverride!==void 0&&(Q.name=Q.nameOverride),Q.name&&(Q.trace._meta&&(Q.name=_.templateString(Q.name,Q.trace._meta)),we=te(Q.name,Q.nameLength));var ke=ce.charAt(0),Se=ke==="x"?"y":"x";Q.zLabel!==void 0?(Q.xLabel!==void 0&&(Ae+="x: "+Q.xLabel+"
"),Q.yLabel!==void 0&&(Ae+="y: "+Q.yLabel+"
"),Q.trace.type!=="choropleth"&&Q.trace.type!=="choroplethmapbox"&&(Ae+=(Ae?"z: ":"")+Q.zLabel)):q&&Q[ke+"Label"]===pe?Ae=Q[Se+"Label"]||"":Q.xLabel===void 0?Q.yLabel!==void 0&&Q.trace.type!=="scattercarpet"&&(Ae=Q.yLabel):Q.yLabel===void 0?Ae=Q.xLabel:Ae="("+Q.xLabel+", "+Q.yLabel+")",(Q.text||Q.text===0)&&!Array.isArray(Q.text)&&(Ae+=(Ae?"
":"")+Q.text),Q.extraText!==void 0&&(Ae+=(Ae?"
":"")+Q.extraText),Te&&Ae===""&&!Q.hovertemplate&&(we===""&&Te.remove(),Ae=we);var _e=Q.hovertemplate||!1;if(_e){var Ee=Q.hovertemplateLabels||Q;Q[ke+"Label"]!==pe&&(Ee[ke+"other"]=Ee[ke+"Val"],Ee[ke+"otherLabel"]=Ee[ke+"Label"]),Ae=_.hovertemplateString(_e,Ee,se._d3locale,Q.eventData[0]||{},Q.trace._meta),Ae=Ae.replace(Y,function(Ie,Ge){return we=te(Ge,Q.nameLength),""})}return[Ae,we]}function W(Q,q,ce,se){var pe=q?"xa":"ya",Te=q?"ya":"xa",we=0,Ae=1,ke=Q.size(),Se=new Array(ke),_e=0,Ee=se.minX,Ie=se.maxX,Ge=se.minY,We=se.maxY,Be=function(Ne){return Ne*ce._invScaleX},Ve=function(Ne){return Ne*ce._invScaleY};Q.each(function(Ne){var $e=Ne[pe],Pe=Ne[Te],me=$e._id.charAt(0)==="x",Ce=$e.range;_e===0&&Ce&&Ce[0]>Ce[1]!==me&&(Ae=-1);var He=0,qe=me?ce.width:ce.height;if(ce.hovermode==="x"||ce.hovermode==="y"){var st=V(Ne,q),ut=Ne.anchor,kt=ut==="end"?-1:1,_t,gt;if(ut==="middle")_t=Ne.crossPos+(me?Ve(st.y-Ne.by/2):Be(Ne.bx/2+Ne.tx2width/2)),gt=_t+(me?Ve(Ne.by):Be(Ne.bx));else if(me)_t=Ne.crossPos+Ve(P+st.y)-Ve(Ne.by/2-P),gt=_t+Ve(Ne.by);else{var Ct=Be(kt*P+st.x),Jt=Ct+Be(kt*Ne.bx);_t=Ne.crossPos+Math.min(Ct,Jt),gt=Ne.crossPos+Math.max(Ct,Jt)}me?Ge!==void 0&&We!==void 0&&Math.min(gt,We)-Math.max(_t,Ge)>1&&(Pe.side==="left"?(He=Pe._mainLinePosition,qe=ce.width):qe=Pe._mainLinePosition):Ee!==void 0&&Ie!==void 0&&Math.min(gt,Ie)-Math.max(_t,Ee)>1&&(Pe.side==="top"?(He=Pe._mainLinePosition,qe=ce.height):qe=Pe._mainLinePosition)}Se[_e++]=[{datum:Ne,traceIndex:Ne.trace.index,dp:0,pos:Ne.pos,posref:Ne.posref,size:Ne.by*(me?R:1)/2,pmin:He,pmax:qe}]}),Se.sort(function(Ne,$e){return Ne[0].posref-$e[0].posref||Ae*($e[0].traceIndex-Ne[0].traceIndex)});var lt,pt,ct,nt,vt,mt,xt;function Tt(Ne){var $e=Ne[0],Pe=Ne[Ne.length-1];if(pt=$e.pmin-$e.pos-$e.dp+$e.size,ct=Pe.pos+Pe.dp+Pe.size-$e.pmax,pt>.01){for(vt=Ne.length-1;vt>=0;vt--)Ne[vt].dp+=pt;lt=!1}if(!(ct<.01)){if(pt<-.01){for(vt=Ne.length-1;vt>=0;vt--)Ne[vt].dp-=ct;lt=!1}if(lt){var me=0;for(nt=0;nt$e.pmax&&me++;for(nt=Ne.length-1;nt>=0&&!(me<=0);nt--)mt=Ne[nt],mt.pos>$e.pmax-1&&(mt.del=!0,me--);for(nt=0;nt=0;vt--)Ne[vt].dp-=ct;for(nt=Ne.length-1;nt>=0&&!(me<=0);nt--)mt=Ne[nt],mt.pos+mt.dp+mt.size>$e.pmax&&(mt.del=!0,me--)}}}for(;!lt&&we<=ke;){for(we++,lt=!0,nt=0;nt.01&&Oe.pmin===Ye.pmin&&Oe.pmax===Ye.pmax){for(vt=at.length-1;vt>=0;vt--)at[vt].dp+=pt;for(Mt.push.apply(Mt,at),Se.splice(nt+1,1),xt=0,vt=Mt.length-1;vt>=0;vt--)xt+=Mt[vt].dp;for(ct=xt/Mt.length,vt=Mt.length-1;vt>=0;vt--)Mt[vt].dp-=ct;lt=!1}else nt++}Se.forEach(Tt)}for(nt=Se.length-1;nt>=0;nt--){var Ze=Se[nt];for(vt=Ze.length-1;vt>=0;vt--){var Ke=Ze[vt],Fe=Ke.datum;Fe.offset=Ke.dp,Fe.del=Ke.del}}}function V(Q,q){var ce=0,se=Q.offset;return q&&(se*=-w,ce=Q.offset*N),{x:ce,y:se}}function j(Q){var q={start:1,end:-1,middle:0}[Q.anchor],ce=q*(P+I),se=ce+q*(Q.txwidth+I),pe=Q.anchor==="middle";return pe&&(ce-=Q.tx2width/2,se+=Q.txwidth/2+I),{alignShift:q,textShiftX:ce,text2ShiftX:se}}function $(Q,q,ce,se){var pe=function(we){return we*ce},Te=function(we){return we*se};Q.each(function(we){var Ae=c.select(this);if(we.del)return Ae.remove();var ke=Ae.select("text.nums"),Se=we.anchor,_e=Se==="end"?-1:1,Ee=j(we),Ie=V(we,q),Ge=Ie.x,We=Ie.y,Be=Se==="middle";Ae.select("path").attr("d",Be?"M-"+pe(we.bx/2+we.tx2width/2)+","+Te(We-we.by/2)+"h"+pe(we.bx)+"v"+Te(we.by)+"h-"+pe(we.bx)+"Z":"M0,0L"+pe(_e*P+Ge)+","+Te(P+We)+"v"+Te(we.by/2-P)+"h"+pe(_e*we.bx)+"v-"+Te(we.by)+"H"+pe(_e*P+Ge)+"V"+Te(We-P)+"Z");var Ve=Ge+Ee.textShiftX,lt=We+we.ty0-we.by/2+I,pt=we.textAlign||"auto";pt!=="auto"&&(pt==="left"&&Se!=="start"?(ke.attr("text-anchor","start"),Ve=Be?-we.bx/2-we.tx2width/2+I:-we.bx-I):pt==="right"&&Se!=="end"&&(ke.attr("text-anchor","end"),Ve=Be?we.bx/2-we.tx2width/2-I:we.bx+I)),ke.call(n.positionText,pe(Ve),Te(lt)),we.tx2width&&(Ae.select("text.name").call(n.positionText,pe(Ee.text2ShiftX+Ee.alignShift*I+Ge),Te(We+we.ty0-we.by/2+I)),Ae.select("rect").call(s.setRect,pe(Ee.text2ShiftX+(Ee.alignShift-1)*we.tx2width/2+Ge),Te(We-we.by/2-1),pe(we.tx2width),Te(we.by+2)))})}function re(Q,q){var ce=Q.index,se=Q.trace||{},pe=Q.cd[0],Te=Q.cd[ce]||{};function we(Ie){return Ie||A(Ie)&&Ie===0}var Ae=Array.isArray(ce)?function(Ie,Ge){var We=_.castOption(pe,ce,Ie);return we(We)?We:_.extractOption({},se,"",Ge)}:function(Ie,Ge){return _.extractOption(Te,se,Ie,Ge)};function ke(Ie,Ge,We){var Be=Ae(Ge,We);we(Be)&&(Q[Ie]=Be)}if(ke("hoverinfo","hi","hoverinfo"),ke("bgcolor","hbg","hoverlabel.bgcolor"),ke("borderColor","hbc","hoverlabel.bordercolor"),ke("fontFamily","htf","hoverlabel.font.family"),ke("fontSize","hts","hoverlabel.font.size"),ke("fontColor","htc","hoverlabel.font.color"),ke("fontWeight","htw","hoverlabel.font.weight"),ke("fontStyle","hty","hoverlabel.font.style"),ke("fontVariant","htv","hoverlabel.font.variant"),ke("nameLength","hnl","hoverlabel.namelength"),ke("textAlign","hta","hoverlabel.align"),Q.posref=q==="y"||q==="closest"&&se.orientation==="h"?Q.xa._offset+(Q.x0+Q.x1)/2:Q.ya._offset+(Q.y0+Q.y1)/2,Q.x0=_.constrain(Q.x0,0,Q.xa._length),Q.x1=_.constrain(Q.x1,0,Q.xa._length),Q.y0=_.constrain(Q.y0,0,Q.ya._length),Q.y1=_.constrain(Q.y1,0,Q.ya._length),Q.xLabelVal!==void 0&&(Q.xLabel="xLabel"in Q?Q.xLabel:u.hoverLabelText(Q.xa,Q.xLabelVal,se.xhoverformat),Q.xVal=Q.xa.c2d(Q.xLabelVal)),Q.yLabelVal!==void 0&&(Q.yLabel="yLabel"in Q?Q.yLabel:u.hoverLabelText(Q.ya,Q.yLabelVal,se.yhoverformat),Q.yVal=Q.ya.c2d(Q.yLabelVal)),Q.zLabelVal!==void 0&&Q.zLabel===void 0&&(Q.zLabel=String(Q.zLabelVal)),!isNaN(Q.xerr)&&!(Q.xa.type==="log"&&Q.xerr<=0)){var Se=u.tickText(Q.xa,Q.xa.c2l(Q.xerr),"hover").text;Q.xerrneg!==void 0?Q.xLabel+=" +"+Se+" / -"+u.tickText(Q.xa,Q.xa.c2l(Q.xerrneg),"hover").text:Q.xLabel+=" ± "+Se,q==="x"&&(Q.distance+=1)}if(!isNaN(Q.yerr)&&!(Q.ya.type==="log"&&Q.yerr<=0)){var _e=u.tickText(Q.ya,Q.ya.c2l(Q.yerr),"hover").text;Q.yerrneg!==void 0?Q.yLabel+=" +"+_e+" / -"+u.tickText(Q.ya,Q.ya.c2l(Q.yerrneg),"hover").text:Q.yLabel+=" ± "+_e,q==="y"&&(Q.distance+=1)}var Ee=Q.hoverinfo||Q.trace.hoverinfo;return Ee&&Ee!=="all"&&(Ee=Array.isArray(Ee)?Ee:Ee.split("+"),Ee.indexOf("x")===-1&&(Q.xLabel=void 0),Ee.indexOf("y")===-1&&(Q.yLabel=void 0),Ee.indexOf("z")===-1&&(Q.zLabel=void 0),Ee.indexOf("text")===-1&&(Q.text=void 0),Ee.indexOf("name")===-1&&(Q.name=void 0)),Q}function ae(Q,q,ce){var se=ce.container,pe=ce.fullLayout,Te=pe._size,we=ce.event,Ae=!!q.hLinePoint,ke=!!q.vLinePoint,Se,_e;if(se.selectAll(".spikeline").remove(),!!(ke||Ae)){var Ee=h.combine(pe.plot_bgcolor,pe.paper_bgcolor);if(Ae){var Ie=q.hLinePoint,Ge,We;Se=Ie&&Ie.xa,_e=Ie&&Ie.ya;var Be=_e.spikesnap;Be==="cursor"?(Ge=we.pointerX,We=we.pointerY):(Ge=Se._offset+Ie.x,We=_e._offset+Ie.y);var Ve=o.readability(Ie.color,Ee)<1.5?h.contrast(Ee):Ie.color,lt=_e.spikemode,pt=_e.spikethickness,ct=_e.spikecolor||Ve,nt=u.getPxPosition(Q,_e),vt,mt;if(lt.indexOf("toaxis")!==-1||lt.indexOf("across")!==-1){if(lt.indexOf("toaxis")!==-1&&(vt=nt,mt=Ge),lt.indexOf("across")!==-1){var xt=_e._counterDomainMin,Tt=_e._counterDomainMax;_e.anchor==="free"&&(xt=Math.min(xt,_e.position),Tt=Math.max(Tt,_e.position)),vt=Te.l+xt*Te.w,mt=Te.l+Tt*Te.w}se.insert("line",":first-child").attr({x1:vt,x2:mt,y1:We,y2:We,"stroke-width":pt,stroke:ct,"stroke-dasharray":s.dashStyle(_e.spikedash,pt)}).classed("spikeline",!0).classed("crisp",!0),se.insert("line",":first-child").attr({x1:vt,x2:mt,y1:We,y2:We,"stroke-width":pt+2,stroke:Ee}).classed("spikeline",!0).classed("crisp",!0)}lt.indexOf("marker")!==-1&&se.insert("circle",":first-child").attr({cx:nt+(_e.side!=="right"?pt:-pt),cy:We,r:pt,fill:ct}).classed("spikeline",!0)}if(ke){var Mt=q.vLinePoint,at,Oe;Se=Mt&&Mt.xa,_e=Mt&&Mt.ya;var Ye=Se.spikesnap;Ye==="cursor"?(at=we.pointerX,Oe=we.pointerY):(at=Se._offset+Mt.x,Oe=_e._offset+Mt.y);var Ze=o.readability(Mt.color,Ee)<1.5?h.contrast(Ee):Mt.color,Ke=Se.spikemode,Fe=Se.spikethickness,Ne=Se.spikecolor||Ze,$e=u.getPxPosition(Q,Se),Pe,me;if(Ke.indexOf("toaxis")!==-1||Ke.indexOf("across")!==-1){if(Ke.indexOf("toaxis")!==-1&&(Pe=$e,me=Oe),Ke.indexOf("across")!==-1){var Ce=Se._counterDomainMin,He=Se._counterDomainMax;Se.anchor==="free"&&(Ce=Math.min(Ce,Se.position),He=Math.max(He,Se.position)),Pe=Te.t+(1-He)*Te.h,me=Te.t+(1-Ce)*Te.h}se.insert("line",":first-child").attr({x1:at,x2:at,y1:Pe,y2:me,"stroke-width":Fe,stroke:Ne,"stroke-dasharray":s.dashStyle(Se.spikedash,Fe)}).classed("spikeline",!0).classed("crisp",!0),se.insert("line",":first-child").attr({x1:at,x2:at,y1:Pe,y2:me,"stroke-width":Fe+2,stroke:Ee}).classed("spikeline",!0).classed("crisp",!0)}Ke.indexOf("marker")!==-1&&se.insert("circle",":first-child").attr({cx:at,cy:$e-(Se.side!=="top"?Fe:-Fe),r:Fe,fill:Ne}).classed("spikeline",!0)}}}function oe(Q,q,ce){if(!ce||ce.length!==Q._hoverdata.length)return!0;for(var se=ce.length-1;se>=0;se--){var pe=ce[se],Te=Q._hoverdata[se];if(pe.curveNumber!==Te.curveNumber||String(pe.pointNumber)!==String(Te.pointNumber)||String(pe.pointNumbers)!==String(Te.pointNumbers))return!0}return!1}function de(Q,q){return!q||q.vLinePoint!==Q._spikepoints.vLinePoint||q.hLinePoint!==Q._spikepoints.hLinePoint}function te(Q,q){return n.plainText(Q||"",{len:q,allowedTags:["br","sub","sup","b","i","em"]})}function J(Q,q){for(var ce=q.charAt(0),se=[],pe=[],Te=[],we=0;we1)){delete v.grid;return}if(!C&&!g&&!f){var d=w("pattern")==="independent";d&&(C=!0)}N._hasSubplotGrid=C;var L=w("roworder"),E=L==="top to bottom",B=C?.2:.1,z=C?.3:.1,Y,H;x&&v._splomGridDflt&&(Y=v._splomGridDflt.xside,H=v._splomGridDflt.yside),N._domains={x:n("x",w,B,Y,I),y:n("y",w,z,H,P,E)}}function n(h,v,u,b,m,C){var g=v(h+"gap",u),f=v("domain."+h);v(h+"side",b);for(var x=new Array(m),M=f[0],R=(f[1]-M)/(m-g),N=R*(1-g),w=0;w(n==="legend"?1:0));if(E===!1&&(s[n]=void 0),!(E===!1&&!v.uirevision)&&(b("uirevision",s.uirevision),E!==!1)){b("borderwidth");var B=b("orientation"),z=b("yref"),Y=b("xref"),H=B==="h",G=z==="paper",W=Y==="paper",V,j,$,re="left";H?(V=0,c.getComponentMethod("rangeslider","isVisible")(l.xaxis)?G?(j=1.1,$="bottom"):(j=1,$="top"):G?(j=-.1,$="top"):(j=0,$="bottom")):(j=1,$="auto",W?V=1.02:(V=1,re="right")),A.coerce(v,u,{x:{valType:"number",editType:"legend",min:W?-2:0,max:W?3:1,dflt:V}},"x"),A.coerce(v,u,{y:{valType:"number",editType:"legend",min:G?-2:0,max:G?3:1,dflt:j}},"y"),b("traceorder",w),y.isGrouped(s[n])&&b("tracegroupgap"),b("entrywidth"),b("entrywidthmode"),b("indentation"),b("itemsizing"),b("itemwidth"),b("itemclick"),b("itemdoubleclick"),b("groupclick"),b("xanchor",re),b("yanchor",$),b("valign"),A.noneOrAll(v,u,["x","y"]);var ae=b("title.text");if(ae){b("title.side",H?"left":"top");var oe=A.extendFlat({},m,{size:A.bigFont(m.size)});A.coerceFont(b,"title.font",oe)}}}}k.exports=function(l,s,h){var v,u=h.slice(),b=s.shapes;if(b)for(v=0;v1)}var q=re.hiddenlabels||[];if(!te&&(!re.showlegend||!J.length))return de.selectAll("."+ae).remove(),re._topdefs.select("#"+oe).remove(),o.autoMargin(V,ae);var ce=A.ensureSingle(de,"g",ae,function(Ee){te||Ee.attr("pointer-events","all")}),se=A.ensureSingleById(re._topdefs,"clipPath",oe,function(Ee){Ee.append("rect")}),pe=A.ensureSingle(ce,"rect","bg",function(Ee){Ee.attr("shape-rendering","crispEdges")});pe.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Te=A.ensureSingle(ce,"g","scrollbox"),we=$.title;$._titleWidth=0,$._titleHeight=0;var Ae;we.text?(Ae=A.ensureSingle(Te,"text",ae+"titletext"),Ae.attr("text-anchor","start").call(y.font,we.font).text(we.text),L(Ae,Te,V,$,f)):Te.selectAll("."+ae+"titletext").remove();var ke=A.ensureSingle(ce,"rect","scrollbar",function(Ee){Ee.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),Se=Te.selectAll("g.groups").data(J);Se.enter().append("g").attr("class","groups"),Se.exit().remove();var _e=Se.selectAll("g.traces").data(A.identity);_e.enter().append("g").attr("class","traces"),_e.exit().remove(),_e.style("opacity",function(Ee){var Ie=Ee[0].trace;return _.traceIs(Ie,"pie-like")?q.indexOf(Ee[0].label)!==-1?.5:1:Ie.visible==="legendonly"?.5:1}).each(function(){c.select(this).call(P,V,$)}).call(C,V,$).each(function(){te||c.select(this).call(d,V,ae)}),A.syncOrAsync([o.previousPromises,function(){return z(V,Se,_e,$)},function(){var Ee=re._size,Ie=$.borderwidth,Ge=$.xref==="paper",We=$.yref==="paper";if(we.text&&M(Ae,$,Ie),!te){var Be,Ve;Ge?Be=Ee.l+Ee.w*$.x-u[H($)]*$._width:Be=re.width*$.x-u[H($)]*$._width,We?Ve=Ee.t+Ee.h*(1-$.y)-u[G($)]*$._effHeight:Ve=re.height*(1-$.y)-u[G($)]*$._effHeight;var lt=Y(V,ae,Be,Ve);if(lt)return;if(re.margin.autoexpand){var pt=Be,ct=Ve;Be=Ge?A.constrain(Be,0,re.width-$._width):pt,Ve=We?A.constrain(Ve,0,re.height-$._effHeight):ct,Be!==pt&&A.log("Constrain "+ae+".x to make legend fit inside graph"),Ve!==ct&&A.log("Constrain "+ae+".y to make legend fit inside graph")}y.setTranslate(ce,Be,Ve)}if(ke.on(".drag",null),ce.on("wheel",null),te||$._height<=$._maxHeight||V._context.staticPlot){var nt=$._effHeight;te&&(nt=$._height),pe.attr({width:$._width-Ie,height:nt-Ie,x:Ie/2,y:Ie/2}),y.setTranslate(Te,0,0),se.select("rect").attr({width:$._width-2*Ie,height:nt-2*Ie,x:Ie,y:Ie}),y.setClipUrl(Te,oe,V),y.setRect(ke,0,0,0,0),delete $._scrollY}else{var vt=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),mt=$._effHeight-vt-2*s.scrollBarMargin,xt=$._height-$._effHeight,Tt=mt/xt,Mt=Math.min($._scrollY||0,xt);pe.attr({width:$._width-2*Ie+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Ie,x:Ie/2,y:Ie/2}),se.select("rect").attr({width:$._width-2*Ie+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Ie,x:Ie,y:Ie+Mt}),y.setClipUrl(Te,oe,V),$e(Mt,vt,Tt),ce.on("wheel",function(){Mt=A.constrain($._scrollY+c.event.deltaY/mt*xt,0,xt),$e(Mt,vt,Tt),Mt!==0&&Mt!==xt&&c.event.preventDefault()});var at,Oe,Ye,Ze=function(qe,st,ut){var kt=(ut-st)/Tt+qe;return A.constrain(kt,0,xt)},Ke=function(qe,st,ut){var kt=(st-ut)/Tt+qe;return A.constrain(kt,0,xt)},Fe=c.behavior.drag().on("dragstart",function(){var qe=c.event.sourceEvent;qe.type==="touchstart"?at=qe.changedTouches[0].clientY:at=qe.clientY,Ye=Mt}).on("drag",function(){var qe=c.event.sourceEvent;qe.buttons===2||qe.ctrlKey||(qe.type==="touchmove"?Oe=qe.changedTouches[0].clientY:Oe=qe.clientY,Mt=Ze(Ye,at,Oe),$e(Mt,vt,Tt))});ke.call(Fe);var Ne=c.behavior.drag().on("dragstart",function(){var qe=c.event.sourceEvent;qe.type==="touchstart"&&(at=qe.changedTouches[0].clientY,Ye=Mt)}).on("drag",function(){var qe=c.event.sourceEvent;qe.type==="touchmove"&&(Oe=qe.changedTouches[0].clientY,Mt=Ke(Ye,at,Oe),$e(Mt,vt,Tt))});Te.call(Ne)}function $e(qe,st,ut){$._scrollY=V._fullLayout[ae]._scrollY=qe,y.setTranslate(Te,0,-qe),y.setRect(ke,$._width,s.scrollBarMargin+qe*ut,s.scrollBarWidth,st),se.select("rect").attr("y",Ie+qe)}if(V._context.edits.legendPosition){var Pe,me,Ce,He;ce.classed("cursor-move",!0),p.init({element:ce.node(),gd:V,prepFn:function(){var qe=y.getTranslate(ce);Ce=qe.x,He=qe.y},moveFn:function(qe,st){var ut=Ce+qe,kt=He+st;y.setTranslate(ce,ut,kt),Pe=p.align(ut,$._width,Ee.l,Ee.l+Ee.w,$.xanchor),me=p.align(kt+$._height,-$._height,Ee.t+Ee.h,Ee.t,$.yanchor)},doneFn:function(){if(Pe!==void 0&&me!==void 0){var qe={};qe[ae+".x"]=Pe,qe[ae+".y"]=me,_.call("_guiRelayout",V,qe)}},clickFn:function(qe,st){var ut=de.selectAll("g.traces").filter(function(){var kt=this.getBoundingClientRect();return st.clientX>=kt.left&&st.clientX<=kt.right&&st.clientY>=kt.top&&st.clientY<=kt.bottom});ut.size()>0&&w(V,ce,ut,qe,st)}})}}],V)}}function N(V,j,$){var re=V[0],ae=re.width,oe=j.entrywidthmode,de=re.trace.legendwidth||j.entrywidth;return oe==="fraction"?j._maxWidth*de:$+(de||ae)}function w(V,j,$,re,ae){var oe=$.data()[0][0].trace,de={event:ae,node:$.node(),curveNumber:oe.index,expandedIndex:oe._expandedIndex,data:V.data,layout:V.layout,frames:V._transitionData._frames,config:V._context,fullData:V._fullData,fullLayout:V._fullLayout};oe._group&&(de.group=oe._group),_.traceIs(oe,"pie-like")&&(de.label=$.datum()[0].label);var te=T.triggerHandler(V,"plotly_legendclick",de);if(re===1){if(te===!1)return;j._clickTimeout=setTimeout(function(){V._fullLayout&&l($,V,re)},V._context.doubleClickDelay)}else if(re===2){j._clickTimeout&&clearTimeout(j._clickTimeout),V._legendMouseDownTime=0;var J=T.triggerHandler(V,"plotly_legenddoubleclick",de);J!==!1&&te!==!1&&l($,V,re)}}function P(V,j,$){var re=W($),ae=V.data()[0][0],oe=ae.trace,de=_.traceIs(oe,"pie-like"),te=!$._inHover&&j._context.edits.legendText&&!de,J=$._maxNameLength,ie,Z;ae.groupTitle?(ie=ae.groupTitle.text,Z=ae.groupTitle.font):(Z=$.font,$.entries?ie=ae.text:(ie=de?ae.label:oe.name,oe._meta&&(ie=A.templateString(ie,oe._meta))));var ue=A.ensureSingle(V,"text",re+"text");ue.attr("text-anchor","start").call(y.font,Z).text(te?I(ie,J):ie);var fe=$.indentation+$.itemwidth+s.itemGap*2;n.positionText(ue,fe,0),te?ue.call(n.makeEditable,{gd:j,text:ie}).call(L,V,j,$).on("edit",function(Q){this.text(I(Q,J)).call(L,V,j,$);var q=ae.trace._fullInput||{},ce={};if(_.hasTransform(q,"groupby")){var se=_.getTransformIndices(q,"groupby"),pe=se[se.length-1],Te=A.keyedContainer(q,"transforms["+pe+"].styles","target","value.name");Te.set(ae.trace._group,Q),ce=Te.constructUpdate()}else ce.name=Q;return q._isShape?_.call("_guiRelayout",j,"shapes["+oe.index+"].name",ce.name):_.call("_guiRestyle",j,ce,oe.index)}):L(ue,V,j,$)}function I(V,j){var $=Math.max(4,j);if(V&&V.trim().length>=$/2)return V;V=V||"";for(var re=$-V.length;re>0;re--)V+=" ";return V}function d(V,j,$){var re=j._context.doubleClickDelay,ae,oe=1,de=A.ensureSingle(V,"rect",$+"toggle",function(te){j._context.staticPlot||te.style("cursor","pointer").attr("pointer-events","all"),te.call(a.fill,"rgba(0,0,0,0)")});j._context.staticPlot||(de.on("mousedown",function(){ae=new Date().getTime(),ae-j._legendMouseDownTimere&&(oe=Math.max(oe-1,1)),w(j,te,V,oe,c.event)}}))}function L(V,j,$,re,ae){re._inHover&&V.attr("data-notex",!0),n.convertToTspans(V,$,function(){E(j,$,re,ae)})}function E(V,j,$,re){var ae=V.data()[0][0];if(!$._inHover&&ae&&!ae.trace.showlegend){V.remove();return}var oe=V.select("g[class*=math-group]"),de=oe.node(),te=W($);$||($=j._fullLayout[te]);var J=$.borderwidth,ie;re===f?ie=$.title.font:ae.groupTitle?ie=ae.groupTitle.font:ie=$.font;var Z=ie.size*v,ue,fe;if(de){var Q=y.bBox(de);ue=Q.height,fe=Q.width,re===f?y.setTranslate(oe,J,J+ue*.75):y.setTranslate(oe,0,ue*.25)}else{var q="."+te+(re===f?"title":"")+"text",ce=V.select(q),se=n.lineCount(ce),pe=ce.node();if(ue=Z*se,fe=pe?y.bBox(pe).width:0,re===f)$.title.side==="left"&&(fe+=s.itemGap*2),n.positionText(ce,J+s.titlePad,J+Z);else{var Te=s.itemGap*2+$.indentation+$.itemwidth;ae.groupTitle&&(Te=s.itemGap,fe-=$.indentation+$.itemwidth),n.positionText(ce,Te,-Z*((se-1)/2-.3))}}re===f?($._titleWidth=fe,$._titleHeight=ue):(ae.lineHeight=Z,ae.height=Math.max(ue,16)+3,ae.width=fe)}function B(V){var j=0,$=0,re=V.title.side;return re&&(re.indexOf("left")!==-1&&(j=V._titleWidth),re.indexOf("top")!==-1&&($=V._titleHeight)),[j,$]}function z(V,j,$,re){var ae=V._fullLayout,oe=W(re);re||(re=ae[oe]);var de=ae._size,te=g.isVertical(re),J=g.isGrouped(re),ie=re.entrywidthmode==="fraction",Z=re.borderwidth,ue=2*Z,fe=s.itemGap,Q=re.indentation+re.itemwidth+fe*2,q=2*(Z+fe),ce=G(re),se=re.y<0||re.y===0&&ce==="top",pe=re.y>1||re.y===1&&ce==="bottom",Te=re.tracegroupgap,we={};re._maxHeight=Math.max(se||pe?ae.height/2:de.h,30);var Ae=0;re._width=0,re._height=0;var ke=B(re);if(te)$.each(function(Ye){var Ze=Ye[0].height;y.setTranslate(this,Z+ke[0],Z+ke[1]+re._height+Ze/2+fe),re._height+=Ze,re._width=Math.max(re._width,Ye[0].width)}),Ae=Q+re._width,re._width+=fe+Q+ue,re._height+=q,J&&(j.each(function(Ye,Ze){y.setTranslate(this,0,Ze*re.tracegroupgap)}),re._height+=(re._lgroupsLength-1)*re.tracegroupgap);else{var Se=H(re),_e=re.x<0||re.x===0&&Se==="right",Ee=re.x>1||re.x===1&&Se==="left",Ie=pe||se,Ge=ae.width/2;re._maxWidth=Math.max(_e?Ie&&Se==="left"?de.l+de.w:Ge:Ee?Ie&&Se==="right"?de.r+de.w:Ge:de.w,2*Q);var We=0,Be=0;$.each(function(Ye){var Ze=N(Ye,re,Q);We=Math.max(We,Ze),Be+=Ze}),Ae=null;var Ve=0;if(J){var lt=0,pt=0,ct=0;j.each(function(){var Ye=0,Ze=0;c.select(this).selectAll("g.traces").each(function(Fe){var Ne=N(Fe,re,Q),$e=Fe[0].height;y.setTranslate(this,ke[0],ke[1]+Z+fe+$e/2+Ze),Ze+=$e,Ye=Math.max(Ye,Ne),we[Fe[0].trace.legendgroup]=Ye});var Ke=Ye+fe;pt>0&&Ke+Z+pt>re._maxWidth?(Ve=Math.max(Ve,pt),pt=0,ct+=lt+Te,lt=Ze):lt=Math.max(lt,Ze),y.setTranslate(this,pt,ct),pt+=Ke}),re._width=Math.max(Ve,pt)+Z,re._height=ct+lt+q}else{var nt=$.size(),vt=Be+ue+(nt-1)*fe=re._maxWidth&&(Ve=Math.max(Ve,Mt),xt=0,Tt+=mt,re._height+=mt,mt=0),y.setTranslate(this,ke[0]+Z+xt,ke[1]+Z+Tt+Ze/2+fe),Mt=xt+Ke+fe,xt+=Fe,mt=Math.max(mt,Ze)}),vt?(re._width=xt+ue,re._height=mt+q):(re._width=Math.max(Ve,Mt)+ue,re._height+=mt+q)}}re._width=Math.ceil(Math.max(re._width+ke[0],re._titleWidth+2*(Z+s.titlePad))),re._height=Math.ceil(Math.max(re._height+ke[1],re._titleHeight+2*(Z+s.itemGap))),re._effHeight=Math.min(re._height,re._maxHeight);var at=V._context.edits,Oe=at.legendText||at.legendPosition;$.each(function(Ye){var Ze=c.select(this).select("."+oe+"toggle"),Ke=Ye[0].height,Fe=Ye[0].trace.legendgroup,Ne=N(Ye,re,Q);J&&Fe!==""&&(Ne=we[Fe]);var $e=Oe?Q:Ae||Ne;!te&&!ie&&($e+=fe/2),y.setRect(Ze,0,-Ke/2,$e,Ke)})}function Y(V,j,$,re){var ae=V._fullLayout,oe=ae[j],de=H(oe),te=G(oe),J=oe.xref==="paper",ie=oe.yref==="paper";V._fullLayout._reservedMargin[j]={};var Z=oe.y<.5?"b":"t",ue=oe.x<.5?"l":"r",fe={r:ae.width-$,l:$+oe._width,b:ae.height-re,t:re+oe._effHeight};if(J&&ie)return o.autoMargin(V,j,{x:oe.x,y:oe.y,l:oe._width*u[de],r:oe._width*b[de],b:oe._effHeight*b[te],t:oe._effHeight*u[te]});J?V._fullLayout._reservedMargin[j][Z]=fe[Z]:ie||oe.orientation==="v"?V._fullLayout._reservedMargin[j][ue]=fe[ue]:V._fullLayout._reservedMargin[j][Z]=fe[Z]}function H(V){return A.isRightAnchor(V)?"right":A.isCenterAnchor(V)?"center":"left"}function G(V){return A.isBottomAnchor(V)?"bottom":A.isMiddleAnchor(V)?"middle":"top"}function W(V){return V._id||"legend"}},35456:function(k,D,r){var c=r(24040),A=r(42451);k.exports=function(_,T,p){var y=T._inHover,a=A.isGrouped(T),n=A.isReversed(T),l={},s=[],h=!1,v={},u=0,b=0,m,C;function g(V,j,$){if(T.visible!==!1&&!(p&&V!==T._id))if(j===""||!A.isGrouped(T)){var re="~~i"+u;s.push(re),l[re]=[$],u++}else s.indexOf(j)===-1?(s.push(j),h=!0,l[j]=[$]):l[j].push($)}for(m=0;m<_.length;m++){var f=_[m],x=f[0],M=x.trace,R=M.legend,N=M.legendgroup;if(!(!y&&(!M.visible||!M.showlegend)))if(c.traceIs(M,"pie-like"))for(v[N]||(v[N]={}),C=0;CE&&(L=E)}I[m][0]._groupMinRank=L,I[m][0]._preGroupSort=m}var B=function(V,j){return V[0]._groupMinRank-j[0]._groupMinRank||V[0]._preGroupSort-j[0]._preGroupSort},z=function(V,j){return V.trace.legendrank-j.trace.legendrank||V._preSort-j._preSort};for(I.forEach(function(V,j){V[0]._preGroupSort=j}),I.sort(B),m=0;m0)ue=J.width;else return 0;return P?Z:Math.min(ue,ie)};M.each(function(te){var J=c.select(this),ie=o.ensureSingle(J,"g","layers");ie.style("opacity",te[0].trace.opacity);var Z=N.indentation,ue=N.valign,fe=te[0].lineHeight,Q=te[0].height;if(ue==="middle"&&Z===0||!fe||!Q)ie.attr("transform",null);else{var q={top:1,bottom:-1}[ue],ce=q*(.5*(fe-Q+3))||0,se=N.indentation;ie.attr("transform",_(se,ce))}var pe=ie.selectAll("g.legendfill").data([te]);pe.enter().append("g").classed("legendfill",!0);var Te=ie.selectAll("g.legendlines").data([te]);Te.enter().append("g").classed("legendlines",!0);var we=ie.selectAll("g.legendsymbols").data([te]);we.enter().append("g").classed("legendsymbols",!0),we.selectAll("g.legendpoints").data([te]).enter().append("g").classed("legendpoints",!0)}).each(de).each(Y).each(G).each(H).each(V).each(ae).each(re).each(B).each(z).each(j).each($);function B(te){var J=g(te),ie=J.showFill,Z=J.showLine,ue=J.showGradientLine,fe=J.showGradientFill,Q=J.anyFill,q=J.anyLine,ce=te[0],se=ce.trace,pe,Te,we=y(se),Ae=we.colorscale,ke=we.reversescale,Se=function(Ve){if(Ve.size())if(ie)T.fillGroupStyle(Ve,R,!0);else{var lt="legendfill-"+se.uid;T.gradient(Ve,R,lt,C(ke),Ae,"fill")}},_e=function(Ve){if(Ve.size()){var lt="legendline-"+se.uid;T.lineGroupStyle(Ve),T.gradient(Ve,R,lt,C(ke),Ae,"stroke")}},Ee=a.hasMarkers(se)||!Q?"M5,0":q?"M5,-2":"M5,-3",Ie=c.select(this),Ge=Ie.select(".legendfill").selectAll("path").data(ie||fe?[te]:[]);if(Ge.enter().append("path").classed("js-fill",!0),Ge.exit().remove(),Ge.attr("d",Ee+"h"+I+"v6h-"+I+"z").call(Se),Z||ue){var We=E(void 0,se.line,b,v);Te=o.minExtend(se,{line:{width:We}}),pe=[o.minExtend(ce,{trace:Te})]}var Be=Ie.select(".legendlines").selectAll("path").data(Z||ue?[pe]:[]);Be.enter().append("path").classed("js-line",!0),Be.exit().remove(),Be.attr("d",Ee+(ue?"l"+I+",0.0001":"h"+I)).call(Z?T.lineGroupStyle:_e)}function z(te){var J=g(te),ie=J.anyFill,Z=J.anyLine,ue=J.showLine,fe=J.showMarker,Q=te[0],q=Q.trace,ce=!fe&&!Z&&!ie&&a.hasText(q),se,pe;function Te(Ge,We,Be,Ve){var lt=o.nestedProperty(q,Ge).get(),pt=o.isArrayOrTypedArray(lt)&&We?We(lt):lt;if(P&&pt&&Ve!==void 0&&(pt=Ve),Be){if(ptBe[1])return Be[1]}return pt}function we(Ge){return Q._distinct&&Q.index&&Ge[Q.index]?Ge[Q.index]:Ge[0]}if(fe||ce||ue){var Ae={},ke={};if(fe){Ae.mc=Te("marker.color",we),Ae.mx=Te("marker.symbol",we),Ae.mo=Te("marker.opacity",o.mean,[.2,1]),Ae.mlc=Te("marker.line.color",we),Ae.mlw=Te("marker.line.width",o.mean,[0,5],u),ke.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Se=Te("marker.size",o.mean,[2,16],h);Ae.ms=Se,ke.marker.size=Se}ue&&(ke.line={width:Te("line.width",we,[0,10],v)}),ce&&(Ae.tx="Aa",Ae.tp=Te("textposition",we),Ae.ts=10,Ae.tc=Te("textfont.color",we),Ae.tf=Te("textfont.family",we),Ae.tw=Te("textfont.weight",we),Ae.ty=Te("textfont.style",we),Ae.tv=Te("textfont.variant",we)),se=[o.minExtend(Q,Ae)],pe=o.minExtend(q,ke),pe.selectedpoints=null,pe.texttemplate=null}var _e=c.select(this).select("g.legendpoints"),Ee=_e.selectAll("path.scatterpts").data(fe?se:[]);Ee.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",L),Ee.exit().remove(),Ee.call(T.pointStyle,pe,R),fe&&(se[0].mrc=3);var Ie=_e.selectAll("g.pointtext").data(ce?se:[]);Ie.enter().append("g").classed("pointtext",!0).append("text").attr("transform",L),Ie.exit().remove(),Ie.selectAll("text").call(T.textPointStyle,pe,R)}function Y(te){var J=te[0].trace,ie=J.type==="waterfall";if(te[0]._distinct&&ie){var Z=te[0].trace[te[0].dir].marker;return te[0].mc=Z.color,te[0].mlw=Z.line.width,te[0].mlc=Z.line.color,W(te,this,"waterfall")}var ue=[];J.visible&&ie&&(ue=te[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var fe=c.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(ue);fe.enter().append("path").classed("legendwaterfall",!0).attr("transform",L).style("stroke-miterlimit",1),fe.exit().remove(),fe.each(function(Q){var q=c.select(this),ce=J[Q[0]].marker,se=E(void 0,ce.line,m,u);q.attr("d",Q[1]).style("stroke-width",se+"px").call(p.fill,ce.color),se&&q.call(p.stroke,ce.line.color)})}function H(te){W(te,this)}function G(te){W(te,this,"funnel")}function W(te,J,ie){var Z=te[0].trace,ue=Z.marker||{},fe=ue.line||{},Q=ue.cornerradius?"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z":"M6,6H-6V-6H6Z",q=ie?Z.visible&&Z.type===ie:A.traceIs(Z,"bar"),ce=c.select(J).select("g.legendpoints").selectAll("path.legend"+ie).data(q?[te]:[]);ce.enter().append("path").classed("legend"+ie,!0).attr("d",Q).attr("transform",L),ce.exit().remove(),ce.each(function(se){var pe=c.select(this),Te=se[0],we=E(Te.mlw,ue.line,m,u);pe.style("stroke-width",we+"px");var Ae=Te.mcc;if(!N._inHover&&"mc"in Te){var ke=y(ue),Se=ke.mid;Se===void 0&&(Se=(ke.max+ke.min)/2),Ae=T.tryColorscale(ue,"")(Se)}var _e=Ae||Te.mc||ue.color,Ee=ue.pattern,Ie=Ee&&T.getPatternAttr(Ee.shape,0,"");if(Ie){var Ge=T.getPatternAttr(Ee.bgcolor,0,null),We=T.getPatternAttr(Ee.fgcolor,0,null),Be=Ee.fgopacity,Ve=f(Ee.size,8,10),lt=f(Ee.solidity,.5,1),pt="legend-"+Z.uid;pe.call(T.pattern,"legend",R,pt,Ie,Ve,lt,Ae,Ee.fillmode,Ge,We,Be)}else pe.call(p.fill,_e);we&&p.stroke(pe,Te.mlc||fe.color)})}function V(te){var J=te[0].trace,ie=c.select(this).select("g.legendpoints").selectAll("path.legendbox").data(J.visible&&A.traceIs(J,"box-violin")?[te]:[]);ie.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",L),ie.exit().remove(),ie.each(function(){var Z=c.select(this);if((J.boxpoints==="all"||J.points==="all")&&p.opacity(J.fillcolor)===0&&p.opacity((J.line||{}).color)===0){var ue=o.minExtend(J,{marker:{size:P?h:o.constrain(J.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});ie.call(T.pointStyle,ue,R)}else{var fe=E(void 0,J.line,m,u);Z.style("stroke-width",fe+"px").call(p.fill,J.fillcolor),fe&&p.stroke(Z,J.line.color)}})}function j(te){var J=te[0].trace,ie=c.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(J.visible&&J.type==="candlestick"?[te,te]:[]);ie.enter().append("path").classed("legendcandle",!0).attr("d",function(Z,ue){return ue?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",L).style("stroke-miterlimit",1),ie.exit().remove(),ie.each(function(Z,ue){var fe=c.select(this),Q=J[ue?"increasing":"decreasing"],q=E(void 0,Q.line,m,u);fe.style("stroke-width",q+"px").call(p.fill,Q.fillcolor),q&&p.stroke(fe,Q.line.color)})}function $(te){var J=te[0].trace,ie=c.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(J.visible&&J.type==="ohlc"?[te,te]:[]);ie.enter().append("path").classed("legendohlc",!0).attr("d",function(Z,ue){return ue?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",L).style("stroke-miterlimit",1),ie.exit().remove(),ie.each(function(Z,ue){var fe=c.select(this),Q=J[ue?"increasing":"decreasing"],q=E(void 0,Q.line,m,u);fe.style("fill","none").call(T.dashLine,Q.line.dash,q),q&&p.stroke(fe,Q.line.color)})}function re(te){oe(te,this,"pie")}function ae(te){oe(te,this,"funnelarea")}function oe(te,J,ie){var Z=te[0],ue=Z.trace,fe=ie?ue.visible&&ue.type===ie:A.traceIs(ue,ie),Q=c.select(J).select("g.legendpoints").selectAll("path.legend"+ie).data(fe?[te]:[]);if(Q.enter().append("path").classed("legend"+ie,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",L),Q.exit().remove(),Q.size()){var q=ue.marker||{},ce=E(l(q.line.width,Z.pts),q.line,m,u),se="pieLike",pe=o.minExtend(ue,{marker:{line:{width:ce}}},se),Te=o.minExtend(Z,{trace:pe},se);n(Q,Te,pe,R)}}function de(te){var J=te[0].trace,ie,Z=[];if(J.visible)switch(J.type){case"histogram2d":case"heatmap":Z=[["M-15,-2V4H15V-2Z"]],ie=!0;break;case"choropleth":case"choroplethmapbox":Z=[["M-6,-6V6H6V-6Z"]],ie=!0;break;case"densitymapbox":Z=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],ie="radial";break;case"cone":Z=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],ie=!1;break;case"streamtube":Z=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],ie=!1;break;case"surface":Z=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],ie=!0;break;case"mesh3d":Z=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],ie=!1;break;case"volume":Z=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],ie=!0;break;case"isosurface":Z=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],ie=!1;break}var ue=c.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(Z);ue.enter().append("path").classed("legend3dandfriends",!0).attr("transform",L).style("stroke-miterlimit",1),ue.exit().remove(),ue.each(function(fe,Q){var q=c.select(this),ce=y(J),se=ce.colorscale,pe=ce.reversescale,Te=function(Se){if(Se.size()){var _e="legendfill-"+J.uid;T.gradient(Se,R,_e,C(pe,ie==="radial"),se,"fill")}},we;if(se){if(!ie){var ke=se.length;we=Q===0?se[pe?ke-1:0][1]:Q===1?se[pe?0:ke-1][1]:se[Math.floor((ke-1)/2)][1]}}else{var Ae=J.vertexcolor||J.facecolor||J.color;we=o.isArrayOrTypedArray(Ae)?Ae[Q]||Ae[0]:Ae}q.attr("d",fe[0]),we?q.call(p.fill,we):q.call(Te)})}};function C(x,M){var R=M?"radial":"horizontal";return R+(x?"":"reversed")}function g(x){var M=x[0].trace,R=M.contours,N=a.hasLines(M),w=a.hasMarkers(M),P=M.visible&&M.fill&&M.fill!=="none",I=!1,d=!1;if(R){var L=R.coloring;L==="lines"?I=!0:N=L==="none"||L==="heatmap"||R.showlines,R.type==="constraint"?P=R._operation!=="=":(L==="fill"||L==="heatmap")&&(d=!0)}return{showMarker:w,showLine:N,showFill:P,showGradientLine:I,showGradientFill:d,anyLine:N||I,anyFill:P||d}}function f(x,M,R){return x&&o.isArrayOrTypedArray(x)?M:x>R?R:x}},66540:function(k,D,r){r(76052),k.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},44248:function(k,D,r){var c=r(24040),A=r(7316),o=r(79811),_=r(9224),T=r(4016).eraseActiveShape,p=r(3400),y=p._,a=k.exports={};a.toImage={name:"toImage",title:function(x){var M=x._context.toImageButtonOptions||{},R=M.format||"png";return R==="png"?y(x,"Download plot as a png"):y(x,"Download plot")},icon:_.camera,click:function(x){var M=x._context.toImageButtonOptions,R={format:M.format||"png"};p.notifier(y(x,"Taking snapshot - this may take a few seconds"),"long"),R.format!=="svg"&&p.isIE()&&(p.notifier(y(x,"IE only supports svg. Changing format to svg."),"long"),R.format="svg"),["filename","width","height","scale"].forEach(function(N){N in M&&(R[N]=M[N])}),c.call("downloadImage",x,R).then(function(N){p.notifier(y(x,"Snapshot succeeded")+" - "+N,"long")}).catch(function(){p.notifier(y(x,"Sorry, there was a problem downloading your snapshot!"),"long")})}},a.sendDataToCloud={name:"sendDataToCloud",title:function(x){return y(x,"Edit in Chart Studio")},icon:_.disk,click:function(x){A.sendDataToCloud(x)}},a.editInChartStudio={name:"editInChartStudio",title:function(x){return y(x,"Edit in Chart Studio")},icon:_.pencil,click:function(x){A.sendDataToCloud(x)}},a.zoom2d={name:"zoom2d",_cat:"zoom",title:function(x){return y(x,"Zoom")},attr:"dragmode",val:"zoom",icon:_.zoombox,click:n},a.pan2d={name:"pan2d",_cat:"pan",title:function(x){return y(x,"Pan")},attr:"dragmode",val:"pan",icon:_.pan,click:n},a.select2d={name:"select2d",_cat:"select",title:function(x){return y(x,"Box Select")},attr:"dragmode",val:"select",icon:_.selectbox,click:n},a.lasso2d={name:"lasso2d",_cat:"lasso",title:function(x){return y(x,"Lasso Select")},attr:"dragmode",val:"lasso",icon:_.lasso,click:n},a.drawclosedpath={name:"drawclosedpath",title:function(x){return y(x,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:_.drawclosedpath,click:n},a.drawopenpath={name:"drawopenpath",title:function(x){return y(x,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:_.drawopenpath,click:n},a.drawline={name:"drawline",title:function(x){return y(x,"Draw line")},attr:"dragmode",val:"drawline",icon:_.drawline,click:n},a.drawrect={name:"drawrect",title:function(x){return y(x,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:_.drawrect,click:n},a.drawcircle={name:"drawcircle",title:function(x){return y(x,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:_.drawcircle,click:n},a.eraseshape={name:"eraseshape",title:function(x){return y(x,"Erase active shape")},icon:_.eraseshape,click:T},a.zoomIn2d={name:"zoomIn2d",_cat:"zoomin",title:function(x){return y(x,"Zoom in")},attr:"zoom",val:"in",icon:_.zoom_plus,click:n},a.zoomOut2d={name:"zoomOut2d",_cat:"zoomout",title:function(x){return y(x,"Zoom out")},attr:"zoom",val:"out",icon:_.zoom_minus,click:n},a.autoScale2d={name:"autoScale2d",_cat:"autoscale",title:function(x){return y(x,"Autoscale")},attr:"zoom",val:"auto",icon:_.autoscale,click:n},a.resetScale2d={name:"resetScale2d",_cat:"resetscale",title:function(x){return y(x,"Reset axes")},attr:"zoom",val:"reset",icon:_.home,click:n},a.hoverClosestCartesian={name:"hoverClosestCartesian",_cat:"hoverclosest",title:function(x){return y(x,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:_.tooltip_basic,gravity:"ne",click:n},a.hoverCompareCartesian={name:"hoverCompareCartesian",_cat:"hoverCompare",title:function(x){return y(x,"Compare data on hover")},attr:"hovermode",val:function(x){return x._fullLayout._isHoriz?"y":"x"},icon:_.tooltip_compare,gravity:"ne",click:n};function n(x,M){var R=M.currentTarget,N=R.getAttribute("data-attr"),w=R.getAttribute("data-val")||!0,P=x._fullLayout,I={},d=o.list(x,null,!0),L=P._cartesianSpikesEnabled,E,B;if(N==="zoom"){var z=w==="in"?.5:2,Y=(1+z)/2,H=(1-z)/2,G;for(B=0;B1?(oe=["toggleHover"],de=["resetViews"]):I?(ae=["zoomInGeo","zoomOutGeo"],oe=["hoverClosestGeo"],de=["resetGeo"]):P?(oe=["hoverClosest3d"],de=["resetCameraDefault3d","resetCameraLastSave3d"]):z?(ae=["zoomInMapbox","zoomOutMapbox"],oe=["toggleHover"],de=["resetViewMapbox"]):E?oe=["hoverClosestGl2d"]:d?oe=["hoverClosestPie"]:G?(oe=["hoverClosestCartesian","hoverCompareCartesian"],de=["resetViewSankey"]):oe=["toggleHover"],w&&(oe=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(h(C)||V)&&(oe=[]),(w||E)&&!W&&(ae=["zoomIn2d","zoomOut2d","autoScale2d"],de[0]!=="resetViews"&&(de=["resetScale2d"])),P?te=["zoom3d","pan3d","orbitRotation","tableRotation"]:(w||E)&&!W||B?te=["zoom2d","pan2d"]:z||I?te=["pan2d"]:Y&&(te=["zoom2d"]),s(C)&&te.push("select2d","lasso2d");var J=[],ie=function(Q){J.indexOf(Q)===-1&&oe.indexOf(Q)!==-1&&J.push(Q)};if(Array.isArray(R)){for(var Z=[],ue=0;ue0);if(f){var x=a(s,h,v);C("x",x[0]),C("y",x[1]),c.noneOrAll(l,s,["x","y"]),C("xanchor"),C("yanchor"),c.coerceFont(C,"font",h.font);var M=C("bgcolor");C("activecolor",A.contrast(M,p.lightAmount,p.darkAmount)),C("bordercolor"),C("borderwidth")}};function y(n,l,s,h){var v=h.calendar;function u(C,g){return c.coerce(n,l,T.buttons,C,g)}var b=u("visible");if(b){var m=u("step");m!=="all"&&(v&&v!=="gregorian"&&(m==="month"||m==="year")?l.stepmode="backward":u("stepmode"),u("count")),u("label")}}function a(n,l,s){for(var h=s.filter(function(m){return l[m].anchor===n._id}),v=0,u=0;u=_e.max)ke=se[Se+1];else if(Ae<_e.min)break}return ke+ce*Ae},fe=0;fe=_e.pmax)ke=se[Se+1];else if(Ae<_e.pmin)break}return(Ae-ke)/ce}}}if(V.rangemode!=="match"){var pe=W.r2l(V.range[0]),Te=W.r2l(V.range[1]),we=Te-pe;G.d2pOppAxis=function(Ae){return(Ae-pe)/we*G._height}}H.call(g,P,Y,G).call(f,P,Y,G).call(x,P,Y,G).call(R,P,Y,G,V).call(N,P,Y,G).call(w,P,Y,G),b(H,P,Y,G),C(H,P,Y,G,W,V),Y.side==="bottom"&&a.draw(P,Y._id+"title",{propContainer:Y,propName:Y._name+".title",placeholder:I._dfltTitle.x,attributes:{x:Y._offset+Y._length/2,y:te+G._height+G._offsetShift+10+1.5*Y.title.font.size,"text-anchor":"middle"}})}))};function u(P){return typeof P.clientX=="number"?P.clientX:P.touches&&P.touches.length>0?P.touches[0].clientX:0}function b(P,I,d,L){if(I._context.staticPlot)return;var E=P.select("rect."+v.slideBoxClassName).node(),B=P.select("rect."+v.grabAreaMinClassName).node(),z=P.select("rect."+v.grabAreaMaxClassName).node();function Y(){var H=c.event,G=H.target,W=u(H),V=W-P.node().getBoundingClientRect().left,j=L.d2p(d._rl[0]),$=L.d2p(d._rl[1]),re=s.coverSlip();this.addEventListener("touchmove",ae),this.addEventListener("touchend",oe),re.addEventListener("mousemove",ae),re.addEventListener("mouseup",oe);function ae(de){var te=u(de),J=+te-W,ie,Z,ue;switch(G){case E:if(ue="ew-resize",j+J>d._length||$+J<0)return;ie=j+J,Z=$+J;break;case B:if(ue="col-resize",j+J>d._length)return;ie=j+J,Z=$;break;case z:if(ue="col-resize",$+J<0)return;ie=j,Z=$+J;break;default:ue="ew-resize",ie=V,Z=V+J;break}if(Z=0;Y--){var H=R.append("path").attr(w).style("opacity",Y?.1:P).call(_.stroke,d).call(_.fill,I).call(T.dashLine,Y?"solid":E,Y?4+L:L);if(h(H,m,f),B){var G=p(m.layout,"selections",f);H.style({cursor:"move"});var W={element:H.node(),plotinfo:x,gd:m,editHelpers:G,isActiveSelection:!0},V=c(N,m);A(V,H,W)}else H.style("pointer-events",Y?"all":"none");z[Y]=H}var j=z[0],$=z[1];$.node().addEventListener("click",function(){return v(m,j)})}}function h(m,C,g){var f=g.xref+g.yref;T.setClipUrl(m,"clip"+C._fullLayout._uid+f,C)}function v(m,C){if(l(m)){var g=C.node(),f=+g.getAttribute("data-index");if(f>=0){if(f===m._fullLayout._activeSelectionIndex){b(m);return}m._fullLayout._activeSelectionIndex=f,m._fullLayout._deactivateSelection=b,n(m)}}}function u(m){if(l(m)){var C=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=C,m._fullLayout._deactivateSelection=b,n(m)}}function b(m){if(l(m)){var C=m._fullLayout._activeSelectionIndex;C>=0&&(o(m),delete m._fullLayout._activeSelectionIndex,n(m))}}},34200:function(k,D,r){var c=r(98192).u,A=r(92880).extendFlat;k.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:A({},c,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},81004:function(k){k.exports=function(r,c,A){A("newselection.mode");var o=A("newselection.line.width");o&&(A("newselection.line.color"),A("newselection.line.dash")),A("activeselection.fillcolor"),A("activeselection.opacity")}},5968:function(k,D,r){var c=r(72760),A=c.selectMode,o=r(1936),_=o.clearOutline,T=r(9856),p=T.readPaths,y=T.writePaths,a=T.fixDatesForPaths;k.exports=function(l,s){if(l.length){var h=l[0][0];if(h){var v=h.getAttribute("d"),u=s.gd,b=u._fullLayout.newselection,m=s.plotinfo,C=m.xaxis,g=m.yaxis,f=s.isActiveSelection,x=s.dragmode,M=(u.layout||{}).selections||[];if(!A(x)&&f!==void 0){var R=u._fullLayout._activeSelectionIndex;if(R=0){Ct._fullLayout._deactivateShape(Ct);return}if(!st){var Gn=Jt.clickmode;d.done(Kr).then(function(){if(d.clear(Kr),an===2){for(sr.remove(),ir=0;ir-1&&oe(Hn,Ct,$e.xaxes,$e.yaxes,$e.subplot,$e,sr),Gn==="event"&&Ye(Ct,void 0);p.click(Ct,Hn,tr.id)}).catch(w.error)}},$e.doneFn=function(){kr.remove(),d.done(Kr).then(function(){d.clear(Kr),!wr&&zt&&$e.selectionDefs&&(zt.subtract=Tr,$e.selectionDefs.push(zt),$e.mergedPolygons.length=0,[].push.apply($e.mergedPolygons,Ht)),(wr||st)&&Q($e,wr),$e.doneFnCompleted&&$e.doneFnCompleted(Br),ut&&Ye(Ct,hr)}).catch(w.error)}}function oe(Ke,Fe,Ne,$e,Pe,me,Ce){var He=Fe._hoverdata,qe=Fe._fullLayout,st=qe.clickmode,ut=st.indexOf("event")>-1,kt=[],_t,gt,Ct,Jt,wr,yt,qt,tr,br,lr;if(pe(He)){Z(Ke,Fe,me),_t=ce(Fe,Ne,$e,Pe);var Et=Te(He,_t),ft=Et.pointNumbers.length>0;if(ft?Ae(_t,Et):ke(_t)&&(qt=we(Et))){for(Ce&&Ce.remove(),lr=0;lr<_t.length;lr++)gt=_t[lr],gt._module.selectPoints(gt,!1);Se(Fe,_t),Q(me),ut&&Ze(Fe)}else{tr=Ke.shiftKey&&(qt!==void 0?qt:we(Et)),Ct=de(Et.pointNumber,Et.searchInfo,tr);var St=me.selectionDefs.concat([Ct]);for(Jt=ie(St),lr=0;lr<_t.length;lr++)if(wr=_t[lr]._module.selectPoints(_t[lr],Jt),yt=Ie(wr,_t[lr]),kt.length)for(var Lt=0;Lt=0}function fe(Ke){return Ke._fullLayout._activeSelectionIndex>=0}function Q(Ke,Fe){var Ne=Ke.dragmode,$e=Ke.plotinfo,Pe=Ke.gd;ue(Pe)&&Pe._fullLayout._deactivateShape(Pe),fe(Pe)&&Pe._fullLayout._deactivateSelection(Pe);var me=Pe._fullLayout,Ce=me._zoomlayer,He=s(Ne),qe=v(Ne);if(He||qe){var st=Ce.selectAll(".select-outline-"+$e.id);if(st&&Pe._fullLayout._outlining){var ut;He&&(ut=M(st,Ke)),ut&&o.call("_guiRelayout",Pe,{shapes:ut});var kt;qe&&!re(Ke)&&(kt=R(st,Ke)),kt&&(Pe._fullLayout._noEmitSelectedAtStart=!0,o.call("_guiRelayout",Pe,{selections:kt}).then(function(){Fe&&N(Pe)})),Pe._fullLayout._outlining=!1}}$e.selection={},$e.selection.selectionDefs=Ke.selectionDefs=[],$e.selection.mergedPolygons=Ke.mergedPolygons=[]}function q(Ke){return Ke._id}function ce(Ke,Fe,Ne,$e){if(!Ke.calcdata)return[];var Pe=[],me=Fe.map(q),Ce=Ne.map(q),He,qe,st;for(st=0;st0,me=Pe?$e[0]:Ne;return Fe.selectedpoints?Fe.selectedpoints.indexOf(me)>-1:!1}function Ae(Ke,Fe){var Ne=[],$e,Pe,me,Ce;for(Ce=0;Ce0&&Ne.push($e);if(Ne.length===1&&(me=Ne[0]===Fe.searchInfo,me&&(Pe=Fe.searchInfo.cd[0].trace,Pe.selectedpoints.length===Fe.pointNumbers.length))){for(Ce=0;Ce1||(Fe+=$e.selectedpoints.length,Fe>1)))return!1;return Fe===1}function Se(Ke,Fe,Ne){var $e;for($e=0;$e-1&&Fe;if(!Ce&&Fe){var an=nt(Ke,!0);if(an.length){var Hn=an[0].xref,Gn=an[0].yref;if(Hn&&Gn){var Mr=xt(an),Vr=Mt([L(Ke,Hn,"x"),L(Ke,Gn,"y")]);Vr(Br,Mr)}}Ke._fullLayout._noEmitSelectedAtStart?Ke._fullLayout._noEmitSelectedAtStart=!1:Sn&&Ye(Ke,Br),_t._reselect=!1}if(!Ce&&_t._deselect){var rn=_t._deselect;He=rn.xref,qe=rn.yref,lt(He,qe,ut)||pt(Ke,He,qe,$e),Sn&&(Br.points.length?Ye(Ke,Br):Ze(Ke)),_t._deselect=!1}return{eventData:Br,selectionTesters:Ne}}function Ve(Ke){var Fe=Ke.calcdata;if(Fe)for(var Ne=0;Ne0?g+b:b;return{ppad:b,ppadplus:m?x:M,ppadminus:m?M:x}}else return{ppad:b}}function a(n,l,s,h,v){var u=n.type==="category"||n.type==="multicategory"?n.r2c:n.d2c;if(l!==void 0)return[u(l),u(s)];if(h){var b=1/0,m=-1/0,C=h.match(o.segmentRE),g,f,x,M,R;for(n.type==="date"&&(u=_.decodeDate(u)),g=0;gm&&(m=R)));if(m>=b)return[b,m]}}},85448:function(k){k.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},43712:function(k,D,r){var c=r(3400),A=r(54460),o=r(51272),_=r(46056),T=r(65152);k.exports=function(n,l){o(n,l,{name:"shapes",handleItemDefaults:y})};function p(a,n){return a?"bottom":n.indexOf("top")!==-1?"top":n.indexOf("bottom")!==-1?"bottom":"middle"}function y(a,n,l){function s(te,J){return c.coerce(a,n,_,te,J)}n._isShape=!0;var h=s("visible");if(h){var v=s("showlegend");v&&(s("legend"),s("legendwidth"),s("legendgroup"),s("legendgrouptitle.text"),c.coerceFont(s,"legendgrouptitle.font"),s("legendrank"));var u=s("path"),b=u?"path":"rect",m=s("type",b),C=m!=="path";C&&delete n.path,s("editable"),s("layer"),s("opacity"),s("fillcolor"),s("fillrule");var g=s("line.width");g&&(s("line.color"),s("line.dash"));for(var f=s("xsizemode"),x=s("ysizemode"),M=["x","y"],R=0;R<2;R++){var N=M[R],w=N+"anchor",P=N==="x"?f:x,I={_fullLayout:l},d,L,E,B=A.coerceRef(a,n,I,N,void 0,"paper"),z=A.getRefType(B);if(z==="range"?(d=A.getFromId(I,B),d._shapeIndices.push(n._index),E=T.rangeToShapePosition(d),L=T.shapePositionToRange(d)):L=E=c.identity,C){var Y=.25,H=.75,G=N+"0",W=N+"1",V=a[G],j=a[W];a[G]=L(a[G],!0),a[W]=L(a[W],!0),P==="pixel"?(s(G,0),s(W,10)):(A.coercePosition(n,I,s,B,G,Y),A.coercePosition(n,I,s,B,W,H)),n[G]=E(n[G]),n[W]=E(n[W]),a[G]=V,a[W]=j}if(P==="pixel"){var $=a[w];a[w]=L(a[w],!0),A.coercePosition(n,I,s,B,w,.25),n[w]=E(n[w]),a[w]=$}}C&&c.noneOrAll(a,n,["x0","x1","y0","y1"]);var re=m==="line",ae,oe;if(C&&(ae=s("label.texttemplate")),ae||(oe=s("label.text")),oe||ae){s("label.textangle");var de=s("label.textposition",re?"middle":"middle center");s("label.xanchor"),s("label.yanchor",p(re,de)),s("label.padding"),c.coerceFont(s,"label.font",l.font)}}}},60728:function(k,D,r){var c=r(3400),A=r(54460),o=r(72736),_=r(43616),T=r(9856).readPaths,p=r(65152),y=p.getPathString,a=r(97728),n=r(84284).FROM_TL;k.exports=function(v,u,b,m){if(m.selectAll(".shape-label").remove(),!!(b.label.text||b.label.texttemplate)){var C;if(b.label.texttemplate){var g={};if(b.type!=="path"){var f=A.getFromId(v,b.xref),x=A.getFromId(v,b.yref);for(var M in a){var R=a[M](b,f,x);R!==void 0&&(g[M]=R)}}C=c.texttemplateStringForShapes(b.label.texttemplate,{},v._fullLayout._d3locale,g)}else C=b.label.text;var N={"data-index":u},w=b.label.font,P={"data-notex":1},I=m.append("g").attr(N).classed("shape-label",!0),d=I.append("text").attr(P).classed("shape-label-text",!0).text(C),L,E,B,z;if(b.path){var Y=y(v,b),H=T(Y,v);L=1/0,B=1/0,E=-1/0,z=-1/0;for(var G=0;G=h?m=v-b:m=b-v,-180/Math.PI*Math.atan2(m,C)}function s(h,v,u,b,m,C,g){var f=m.label.textposition,x=m.label.textangle,M=m.label.padding,R=m.type,N=Math.PI/180*C,w=Math.sin(N),P=Math.cos(N),I=m.label.xanchor,d=m.label.yanchor,L,E,B,z;if(R==="line"){f==="start"?(L=h,E=v):f==="end"?(L=u,E=b):(L=(h+u)/2,E=(v+b)/2),I==="auto"&&(f==="start"?x==="auto"?u>h?I="left":uh?I="right":uh?I="right":uh?I="left":u1&&!(Ee.length===2&&Ee[1][0]==="Z")&&(te===0&&(Ee[0][0]="M"),L[de]=Ee,H(),G())}}function se(Ee,Ie){if(Ee===2){de=+Ie.srcElement.getAttribute("data-i"),te=+Ie.srcElement.getAttribute("data-j");var Ge=L[de];!C(Ge)&&!g(Ge)&&ce()}}function pe(Ee){ae=[];for(var Ie=0;IeH&&Ne>G&&!Ze.shiftKey?h.getCursor($e/Fe,1-Pe/Ne):"move";v(L,me),lt=me.split("-")[0]}}function vt(Ze){g(d)||(W&&(J=Ee(E.xanchor)),V&&(ie=Ie(E.yanchor)),E.type==="path"?Te=E.path:(ae=W?E.x0:Ee(E.x0),oe=V?E.y0:Ie(E.y0),de=W?E.x1:Ee(E.x1),te=V?E.y1:Ie(E.y1)),aete?(Z=oe,q="y0",ue=te,ce="y1"):(Z=te,q="y1",ue=oe,ce="y0"),nt(Ze),at(z,E),Ye(L,E,d),Ve.moveFn=lt==="move"?Tt:Mt,Ve.altKey=Ze.altKey)}function mt(){g(d)||(v(L),Oe(z),M(L,d,E),A.call("_guiRelayout",d,Y.getUpdateObj()))}function xt(){g(d)||Oe(z)}function Tt(Ze,Ke){if(E.type==="path"){var Fe=function(Pe){return Pe},Ne=Fe,$e=Fe;W?re("xanchor",E.xanchor=Ge(J+Ze)):(Ne=function(me){return Ge(Ee(me)+Ze)},Ae&&Ae.type==="date"&&(Ne=b.encodeDate(Ne))),V?re("yanchor",E.yanchor=We(ie+Ke)):($e=function(me){return We(Ie(me)+Ke)},Se&&Se.type==="date"&&($e=b.encodeDate($e))),re("path",E.path=N(Te,Ne,$e))}else W?re("xanchor",E.xanchor=Ge(J+Ze)):(re("x0",E.x0=Ge(ae+Ze)),re("x1",E.x1=Ge(de+Ze))),V?re("yanchor",E.yanchor=We(ie+Ke)):(re("y0",E.y0=We(oe+Ke)),re("y1",E.y1=We(te+Ke)));L.attr("d",m(d,E)),at(z,E),y(d,B,E,we)}function Mt(Ze,Ke){if($){var Fe=function(yt){return yt},Ne=Fe,$e=Fe;W?re("xanchor",E.xanchor=Ge(J+Ze)):(Ne=function(qt){return Ge(Ee(qt)+Ze)},Ae&&Ae.type==="date"&&(Ne=b.encodeDate(Ne))),V?re("yanchor",E.yanchor=We(ie+Ke)):($e=function(qt){return We(Ie(qt)+Ke)},Se&&Se.type==="date"&&($e=b.encodeDate($e))),re("path",E.path=N(Te,Ne,$e))}else if(j){if(lt==="resize-over-start-point"){var Pe=ae+Ze,me=V?oe-Ke:oe+Ke;re("x0",E.x0=W?Pe:Ge(Pe)),re("y0",E.y0=V?me:We(me))}else if(lt==="resize-over-end-point"){var Ce=de+Ze,He=V?te-Ke:te+Ke;re("x1",E.x1=W?Ce:Ge(Ce)),re("y1",E.y1=V?He:We(He))}}else{var qe=function(yt){return lt.indexOf(yt)!==-1},st=qe("n"),ut=qe("s"),kt=qe("w"),_t=qe("e"),gt=st?Z+Ke:Z,Ct=ut?ue+Ke:ue,Jt=kt?fe+Ze:fe,wr=_t?Q+Ze:Q;V&&(st&&(gt=Z-Ke),ut&&(Ct=ue-Ke)),(!V&&Ct-gt>G||V&>-Ct>G)&&(re(q,E[q]=V?gt:We(gt)),re(ce,E[ce]=V?Ct:We(Ct))),wr-Jt>H&&(re(se,E[se]=W?Jt:Ge(Jt)),re(pe,E[pe]=W?wr:Ge(wr)))}L.attr("d",m(d,E)),at(z,E),y(d,B,E,we)}function at(Ze,Ke){(W||V)&&Fe();function Fe(){var Ne=Ke.type!=="path",$e=Ze.selectAll(".visual-cue").data([0]),Pe=1;$e.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":Pe}).classed("visual-cue",!0);var me=Ee(W?Ke.xanchor:o.midRange(Ne?[Ke.x0,Ke.x1]:b.extractPathCoords(Ke.path,u.paramIsX))),Ce=Ie(V?Ke.yanchor:o.midRange(Ne?[Ke.y0,Ke.y1]:b.extractPathCoords(Ke.path,u.paramIsY)));if(me=b.roundPositionForSharpStrokeRendering(me,Pe),Ce=b.roundPositionForSharpStrokeRendering(Ce,Pe),W&&V){var He="M"+(me-1-Pe)+","+(Ce-1-Pe)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";$e.attr("d",He)}else if(W){var qe="M"+(me-1-Pe)+","+(Ce-9-Pe)+"v18 h2 v-18 Z";$e.attr("d",qe)}else{var st="M"+(me-9-Pe)+","+(Ce-1-Pe)+"h18 v2 h-18 Z";$e.attr("d",st)}}}function Oe(Ze){Ze.selectAll(".visual-cue").remove()}function Ye(Ze,Ke,Fe){var Ne=Ke.xref,$e=Ke.yref,Pe=_.getFromId(Fe,Ne),me=_.getFromId(Fe,$e),Ce="";Ne!=="paper"&&!Pe.autorange&&(Ce+=Ne),$e!=="paper"&&!me.autorange&&(Ce+=$e),l.setClipUrl(Ze,Ce?"clip"+Fe._fullLayout._uid+Ce:null,Fe)}}function N(d,L,E){return d.replace(u.segmentRE,function(B){var z=0,Y=B.charAt(0),H=u.paramIsX[Y],G=u.paramIsY[Y],W=u.numParams[Y],V=B.substr(1).replace(u.paramRE,function(j){return z>=W||(H[z]?j=L(j):G[z]&&(j=E(j)),z++),j});return Y+V})}function w(d,L){if(f(d)){var E=L.node(),B=+E.getAttribute("data-index");if(B>=0){if(B===d._fullLayout._activeShapeIndex){P(d);return}d._fullLayout._activeShapeIndex=B,d._fullLayout._deactivateShape=P,C(d)}}}function P(d){if(f(d)){var L=d._fullLayout._activeShapeIndex;L>=0&&(a(d),delete d._fullLayout._activeShapeIndex,C(d))}}function I(d){if(f(d)){a(d);var L=d._fullLayout._activeShapeIndex,E=(d.layout||{}).shapes||[];if(L0&&xg&&(x="X"),x});return u>g&&(f=f.replace(/[\s,]*X.*/,""),A.log("Ignoring extra params in segment "+v)),b+f})}},41592:function(k,D,r){var c=r(4016);k.exports={moduleType:"component",name:"shapes",layoutAttributes:r(46056),supplyLayoutDefaults:r(43712),supplyDrawNewShapeDefaults:r(65144),includeBasePlot:r(36632)("shapes"),calcAutorange:r(96084),draw:c.draw,drawOne:c.drawOne}},97728:function(k){function D(v,u){return u?u.d2l(v):v}function r(v,u){return u?u.l2d(v):v}function c(v){return v.x0}function A(v){return v.x1}function o(v){return v.y0}function _(v){return v.y1}function T(v,u){return D(v.x1,u)-D(v.x0,u)}function p(v,u,b){return D(v.y1,b)-D(v.y0,b)}function y(v,u){return Math.abs(T(v,u))}function a(v,u,b){return Math.abs(p(v,u,b))}function n(v,u,b){return v.type!=="line"?void 0:Math.sqrt(Math.pow(T(v,u),2)+Math.pow(p(v,u,b),2))}function l(v,u){return r((D(v.x1,u)+D(v.x0,u))/2,u)}function s(v,u,b){return r((D(v.y1,b)+D(v.y0,b))/2,b)}function h(v,u,b){return v.type!=="line"?void 0:p(v,u,b)/T(v,u)}k.exports={x0:c,x1:A,y0:o,y1:_,slope:h,dx:T,dy:p,width:y,height:a,length:n,xcenter:l,ycenter:s}},89861:function(k,D,r){var c=r(25376),A=r(66741),o=r(92880).extendDeepAll,_=r(67824).overrideAll,T=r(85656),p=r(31780).templatedArray,y=r(60876),a=p("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});k.exports=_(p("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:o(A({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:T.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:c({})},font:c({}),activebgcolor:{valType:"color",dflt:y.gripBgActiveColor},bgcolor:{valType:"color",dflt:y.railBgColor},bordercolor:{valType:"color",dflt:y.railBorderColor},borderwidth:{valType:"number",min:0,dflt:y.railBorderWidth},ticklen:{valType:"number",min:0,dflt:y.tickLength},tickcolor:{valType:"color",dflt:y.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:y.minorTickLength}}),"arraydraw","from-root")},60876:function(k){k.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},8132:function(k,D,r){var c=r(3400),A=r(51272),o=r(89861),_=r(60876),T=_.name,p=o.steps;k.exports=function(l,s){A(l,s,{name:T,handleItemDefaults:y})};function y(n,l,s){function h(x,M){return c.coerce(n,l,o,x,M)}for(var v=A(n,l,{name:"steps",handleItemDefaults:a}),u=0,b=0;b0?[0]:[]);$.enter().append("g").classed(n.containerClassName,!0).style("cursor",W?null:"ew-resize");function re(te){te._commandObserver&&(te._commandObserver.remove(),delete te._commandObserver),A.autoMargin(G,u(te))}if($.exit().each(function(){c.select(this).selectAll("g."+n.groupClassName).each(re)}).remove(),j.length!==0){var ae=$.selectAll("g."+n.groupClassName).data(j,m);ae.enter().append("g").classed(n.groupClassName,!0),ae.exit().each(re).remove();for(var oe=0;oe0&&(ae=ae.transition().duration(G.transition.duration).ease(G.transition.easing)),ae.attr("transform",p(re-n.gripWidth*.5,G._dims.currentValueTotalHeight))}}function E(H,G){var W=H._dims;return W.inputAreaStart+n.stepInset+(W.inputAreaLength-2*n.stepInset)*Math.min(1,Math.max(0,G))}function B(H,G){var W=H._dims;return Math.min(1,Math.max(0,(G-n.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*n.stepInset-2*W.inputAreaStart)))}function z(H,G,W){var V=W._dims,j=T.ensureSingle(H,"rect",n.railTouchRectClass,function($){$.call(P,G,H,W).style("pointer-events","all")});j.attr({width:V.inputAreaLength,height:Math.max(V.inputAreaWidth,n.tickOffset+W.ticklen+V.labelHeight)}).call(o.fill,W.bgcolor).attr("opacity",0),_.setTranslate(j,0,V.currentValueTotalHeight)}function Y(H,G){var W=G._dims,V=W.inputAreaLength-n.railInset*2,j=T.ensureSingle(H,"rect",n.railRectClass);j.attr({width:V,height:n.railWidth,rx:n.railRadius,ry:n.railRadius,"shape-rendering":"crispEdges"}).call(o.stroke,G.bordercolor).call(o.fill,G.bgcolor).style("stroke-width",G.borderwidth+"px"),_.setTranslate(j,n.railInset,(W.inputAreaWidth-n.railWidth)*.5+W.currentValueTotalHeight)}},97544:function(k,D,r){var c=r(60876);k.exports={moduleType:"component",name:c.name,layoutAttributes:r(89861),supplyLayoutDefaults:r(8132),draw:r(79664)}},81668:function(k,D,r){var c=r(33428),A=r(38248),o=r(7316),_=r(24040),T=r(3400),p=T.strTranslate,y=r(43616),a=r(76308),n=r(72736),l=r(13448),s=r(84284).OPPOSITE_SIDE,h=/ [XY][0-9]* /;function v(u,b,m){var C=m.propContainer,g=m.propName,f=m.placeholder,x=m.traceIndex,M=m.avoid||{},R=m.attributes,N=m.transform,w=m.containerGroup,P=u._fullLayout,I=1,d=!1,L=C.title,E=(L&&L.text?L.text:"").trim(),B=L&&L.font?L.font:{},z=B.family,Y=B.size,H=B.color,G=B.weight,W=B.style,V=B.variant,j;g==="title.text"?j="titleText":g.indexOf("axis")!==-1?j="axisTitleText":g.indexOf("colorbar"!==-1)&&(j="colorbarTitleText");var $=u._context.edits[j];E===""?I=0:E.replace(h," % ")===f.replace(h," % ")&&(I=.2,d=!0,$||(E="")),m._meta?E=T.templateString(E,m._meta):P._meta&&(E=T.templateString(E,P._meta));var re=E||$,ae;w||(w=T.ensureSingle(P._infolayer,"g","g-"+b),ae=P._hColorbarMoveTitle);var oe=w.selectAll("text").data(re?[0]:[]);if(oe.enter().append("text"),oe.text(E).attr("class",b),oe.exit().remove(),!re)return w;function de(Z){T.syncOrAsync([te,J],Z)}function te(Z){var ue;return!N&&ae&&(N={}),N?(ue="",N.rotate&&(ue+="rotate("+[N.rotate,R.x,R.y]+")"),(N.offset||ae)&&(ue+=p(0,(N.offset||0)-(ae||0)))):ue=null,Z.attr("transform",ue),Z.style({"font-family":z,"font-size":c.round(Y,2)+"px",fill:a.rgb(H),opacity:I*a.opacity(H),"font-weight":G,"font-style":W,"font-variant":V}).attr(R).call(n.convertToTspans,u),o.previousPromises(u)}function J(Z){var ue=c.select(Z.node().parentNode);if(M&&M.selection&&M.side&&E){ue.attr("transform",null);var fe=s[M.side],Q=M.side==="left"||M.side==="top"?-1:1,q=A(M.pad)?M.pad:2,ce=y.bBox(ue.node()),se={t:0,b:0,l:0,r:0},pe=u._fullLayout._reservedMargin;for(var Te in pe)for(var we in pe[Te]){var Ae=pe[Te][we];se[we]=Math.max(se[we],Ae)}var ke={left:se.l,top:se.t,right:P.width-se.r,bottom:P.height-se.b},Se=M.maxShift||Q*(ke[M.side]-ce[M.side]),_e=0;if(Se<0)_e=Se;else{var Ee=M.offsetLeft||0,Ie=M.offsetTop||0;ce.left-=Ee,ce.right-=Ee,ce.top-=Ie,ce.bottom-=Ie,M.selection.each(function(){var We=y.bBox(this);T.bBoxIntersect(ce,We,q)&&(_e=Math.max(_e,Q*(We[M.side]-ce[fe])+q))}),_e=Math.min(Se,_e),C._titleScoot=Math.abs(_e)}if(_e>0||Se<0){var Ge={left:[-_e,0],right:[_e,0],top:[0,-_e],bottom:[0,_e]}[M.side];ue.attr("transform",p(Ge[0],Ge[1]))}}}oe.call(de);function ie(){I=0,d=!0,oe.text(f).on("mouseover.opacity",function(){c.select(this).transition().duration(l.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){c.select(this).transition().duration(l.HIDE_PLACEHOLDER).style("opacity",0)})}return $&&(E?oe.on(".opacity",null):ie(),oe.call(n.makeEditable,{gd:u}).on("edit",function(Z){x!==void 0?_.call("_guiRestyle",u,g,Z,x):_.call("_guiRelayout",u,g,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(de)}).on("input",function(Z){this.text(Z||" ").call(n.positionText,R.x,R.y)})),oe.classed("js-placeholder",d),w}k.exports={draw:v}},88444:function(k,D,r){var c=r(25376),A=r(22548),o=r(92880).extendFlat,_=r(67824).overrideAll,T=r(66741),p=r(31780).templatedArray,y=p("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});k.exports=_(p("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:y,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:o(T({editType:"arraydraw"}),{}),font:c({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:A.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},73712:function(k){k.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},91384:function(k,D,r){var c=r(3400),A=r(51272),o=r(88444),_=r(73712),T=_.name,p=o.buttons;k.exports=function(l,s){var h={name:T,handleItemDefaults:y};A(l,s,h)};function y(n,l,s){function h(b,m){return c.coerce(n,l,o,b,m)}var v=A(n,l,{name:"buttons",handleItemDefaults:a}),u=h("visible",v.length>0);u&&(h("active"),h("direction"),h("type"),h("showactive"),h("x"),h("y"),c.noneOrAll(n,l,["x","y"]),h("xanchor"),h("yanchor"),h("pad.t"),h("pad.r"),h("pad.b"),h("pad.l"),c.coerceFont(h,"font",s.font),h("bgcolor",s.paper_bgcolor),h("bordercolor"),h("borderwidth"))}function a(n,l){function s(v,u){return c.coerce(n,l,p,v,u)}var h=s("visible",n.method==="skip"||Array.isArray(n.args));h&&(s("method"),s("args"),s("args2"),s("label"),s("execute"))}},14420:function(k,D,r){var c=r(33428),A=r(7316),o=r(76308),_=r(43616),T=r(3400),p=r(72736),y=r(31780).arrayEditor,a=r(84284).LINE_SPACING,n=r(73712),l=r(37400);k.exports=function(B){var z=B._fullLayout,Y=T.filterVisible(z[n.name]);function H(oe){A.autoMargin(B,I(oe))}var G=z._menulayer.selectAll("g."+n.containerClassName).data(Y.length>0?[0]:[]);if(G.enter().append("g").classed(n.containerClassName,!0).style("cursor","pointer"),G.exit().each(function(){c.select(this).selectAll("g."+n.headerGroupClassName).each(H)}).remove(),Y.length!==0){var W=G.selectAll("g."+n.headerGroupClassName).data(Y,s);W.enter().append("g").classed(n.headerGroupClassName,!0);for(var V=T.ensureSingle(G,"g",n.dropdownButtonGroupClassName,function(oe){oe.style("pointer-events","all")}),j=0;jR,B=T.barLength+2*T.barPad,z=T.barWidth+2*T.barPad,Y=v,H=b+m;H+z>h&&(H=h-z);var G=this.container.selectAll("rect.scrollbar-horizontal").data(E?[0]:[]);G.exit().on(".drag",null).remove(),G.enter().append("rect").classed("scrollbar-horizontal",!0).call(A.fill,T.barColor),E?(this.hbar=G.attr({rx:T.barRadius,ry:T.barRadius,x:Y,y:H,width:B,height:z}),this._hbarXMin=Y+B/2,this._hbarTranslateMax=R-B):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=m>N,V=T.barWidth+2*T.barPad,j=T.barLength+2*T.barPad,$=v+u,re=b;$+V>s&&($=s-V);var ae=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);ae.exit().on(".drag",null).remove(),ae.enter().append("rect").classed("scrollbar-vertical",!0).call(A.fill,T.barColor),W?(this.vbar=ae.attr({rx:T.barRadius,ry:T.barRadius,x:$,y:re,width:V,height:j}),this._vbarYMin=re+j/2,this._vbarTranslateMax=N-j):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var oe=this.id,de=w-.5,te=W?P+V+.5:P+.5,J=I-.5,ie=E?d+z+.5:d+.5,Z=l._topdefs.selectAll("#"+oe).data(E||W?[0]:[]);if(Z.exit().remove(),Z.enter().append("clipPath").attr("id",oe).append("rect"),E||W?(this._clipRect=Z.select("rect").attr({x:Math.floor(de),y:Math.floor(J),width:Math.ceil(te)-Math.floor(de),height:Math.ceil(ie)-Math.floor(J)}),this.container.call(o.setClipUrl,oe,this.gd),this.bg.attr({x:v,y:b,width:u,height:m})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(o.setClipUrl,null),delete this._clipRect),E||W){var ue=c.behavior.drag().on("dragstart",function(){c.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(ue);var fe=c.behavior.drag().on("dragstart",function(){c.event.sourceEvent.preventDefault(),c.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));E&&this.hbar.on(".drag",null).call(fe),W&&this.vbar.on(".drag",null).call(fe)}this.setTranslate(a,n)},T.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(o.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},T.prototype._onBoxDrag=function(){var y=this.translateX,a=this.translateY;this.hbar&&(y-=c.event.dx),this.vbar&&(a-=c.event.dy),this.setTranslate(y,a)},T.prototype._onBoxWheel=function(){var y=this.translateX,a=this.translateY;this.hbar&&(y+=c.event.deltaY),this.vbar&&(a+=c.event.deltaY),this.setTranslate(y,a)},T.prototype._onBarDrag=function(){var y=this.translateX,a=this.translateY;if(this.hbar){var n=y+this._hbarXMin,l=n+this._hbarTranslateMax,s=_.constrain(c.event.x,n,l),h=(s-n)/(l-n),v=this.position.w-this._box.w;y=h*v}if(this.vbar){var u=a+this._vbarYMin,b=u+this._vbarTranslateMax,m=_.constrain(c.event.y,u,b),C=(m-u)/(b-u),g=this.position.h-this._box.h;a=C*g}this.setTranslate(y,a)},T.prototype.setTranslate=function(y,a){var n=this.position.w-this._box.w,l=this.position.h-this._box.h;if(y=_.constrain(y||0,0,n),a=_.constrain(a||0,0,l),this.translateX=y,this.translateY=a,this.container.call(o.setTranslate,this._box.l-this.position.l-y,this._box.t-this.position.t-a),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+y-.5),y:Math.floor(this.position.t+a-.5)}),this.hbar){var s=y/n;this.hbar.call(o.setTranslate,y+s*this._hbarTranslateMax,a)}if(this.vbar){var h=a/l;this.vbar.call(o.setTranslate,y,a+h*this._vbarTranslateMax)}}},84284:function(k){k.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},36208:function(k){k.exports={axisRefDescription:function(D,r,c){return["If set to a",D,"axis id (e.g. *"+D+"* or","*"+D+"2*), the `"+D+"` position refers to a",D,"coordinate. If set to *paper*, the `"+D+"`","position refers to the distance from the",r,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",r,"("+c+"). If set to a",D,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",r,"of the domain of that axis: e.g.,","*"+D+"2 domain* refers to the domain of the second",D," axis and a",D,"position of 0.5 refers to the","point between the",r,"and the",c,"of the domain of the","second",D,"axis."].join(" ")}}},48164:function(k){k.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},26880:function(k){k.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},69104:function(k){k.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},99168:function(k){k.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87792:function(k){k.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},13448:function(k){k.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},39032:function(k){k.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},2264:function(k,D){D.CSS_DECLARATIONS=[["image-rendering","optimizeSpeed"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-crisp-edges"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","optimize-contrast"],["image-rendering","crisp-edges"],["image-rendering","pixelated"]],D.STYLE=D.CSS_DECLARATIONS.map(function(r){return r.join(": ")+"; "}).join("")},9616:function(k,D){D.xmlns="http://www.w3.org/2000/xmlns/",D.svg="http://www.w3.org/2000/svg",D.xlink="http://www.w3.org/1999/xlink",D.svgAttrs={xmlns:D.svg,"xmlns:xlink":D.xlink}},64884:function(k,D,r){D.version=r(25788).version,r(88324),r(79288);for(var c=r(24040),A=D.register=c.register,o=r(22448),_=Object.keys(o),T=0;T<_.length;T++){var p=_[T];p.charAt(0)!=="_"&&(D[p]=o[p]),A({moduleType:"apiMethod",name:p,fn:o[p]})}A(r(65875)),A([r(79180),r(56864),r(22676),r(41592),r(7402),r(76908),r(97544),r(49692),r(41152),r(12704),r(64968),r(8932),r(55080),r(2780),r(93024),r(45460)]),A([r(6580),r(11680)]),window.PlotlyLocales&&Array.isArray(window.PlotlyLocales)&&(A(window.PlotlyLocales),delete window.PlotlyLocales),D.Icons=r(9224);var y=r(93024),a=r(7316);D.Plots={resize:a.resize,graphJson:a.graphJson,sendDataToCloud:a.sendDataToCloud},D.Fx={hover:y.hover,unhover:y.unhover,loneHover:y.loneHover,loneUnhover:y.loneUnhover},D.Snapshot=r(78904),D.PlotSchema=r(73060)},9224:function(k){k.exports={undo:{width:857.1,height:1e3,path:"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z",transform:"matrix(1 0 0 -1 0 850)"},home:{width:928.6,height:1e3,path:"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z",transform:"matrix(1 0 0 -1 0 850)"},"camera-retro":{width:1e3,height:1e3,path:"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z",transform:"matrix(1 0 0 -1 0 850)"},zoombox:{width:1e3,height:1e3,path:"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z",transform:"matrix(1 0 0 -1 0 850)"},pan:{width:1e3,height:1e3,path:"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z",transform:"matrix(1 0 0 -1 0 850)"},zoom_plus:{width:875,height:1e3,path:"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},zoom_minus:{width:875,height:1e3,path:"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},autoscale:{width:1e3,height:1e3,path:"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_basic:{width:1500,height:1e3,path:"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_compare:{width:1125,height:1e3,path:"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z",transform:"matrix(1 0 0 -1 0 850)"},plotlylogo:{width:1542,height:1e3,path:"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z",transform:"matrix(1 0 0 -1 0 850)"},"z-axis":{width:1e3,height:1e3,path:"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z",transform:"matrix(1 0 0 -1 0 850)"},"3d_rotate":{width:1e3,height:1e3,path:"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z",transform:"matrix(1 0 0 -1 0 850)"},camera:{width:1e3,height:1e3,path:"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z",transform:"matrix(1 0 0 -1 0 850)"},movie:{width:1e3,height:1e3,path:"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z",transform:"matrix(1 0 0 -1 0 850)"},question:{width:857.1,height:1e3,path:"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z",transform:"matrix(1 0 0 -1 0 850)"},disk:{width:857.1,height:1e3,path:"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z",transform:"matrix(1 0 0 -1 0 850)"},drawopenpath:{width:70,height:70,path:"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z",transform:"matrix(1 0 0 1 -15 -15)"},drawclosedpath:{width:90,height:90,path:"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z",transform:"matrix(1 0 0 1 -5 -5)"},lasso:{width:1031,height:1e3,path:"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z",transform:"matrix(1 0 0 -1 0 850)"},selectbox:{width:1e3,height:1e3,path:"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z",transform:"matrix(1 0 0 -1 0 850)"},drawline:{width:70,height:70,path:"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z",transform:"matrix(1 0 0 1 -15 -15)"},drawrect:{width:80,height:80,path:"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z",transform:"matrix(1 0 0 1 -10 -10)"},drawcircle:{width:80,height:80,path:"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z",transform:"matrix(1 0 0 1 -10 -10)"},eraseshape:{width:80,height:80,path:"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z",transform:"matrix(1 0 0 1 -10 -10)"},spikeline:{width:1e3,height:1e3,path:"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z",transform:"matrix(1.5 0 0 -1.5 0 850)"},pencil:{width:1792,height:1792,path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z",transform:"matrix(1 0 0 1 0 1)"},newplotlylogo:{name:"newplotlylogo",svg:["",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},98308:function(k,D){D.isLeftAnchor=function(c){return c.xanchor==="left"||c.xanchor==="auto"&&c.x<=.3333333333333333},D.isCenterAnchor=function(c){return c.xanchor==="center"||c.xanchor==="auto"&&c.x>.3333333333333333&&c.x<.6666666666666666},D.isRightAnchor=function(c){return c.xanchor==="right"||c.xanchor==="auto"&&c.x>=.6666666666666666},D.isTopAnchor=function(c){return c.yanchor==="top"||c.yanchor==="auto"&&c.y>=.6666666666666666},D.isMiddleAnchor=function(c){return c.yanchor==="middle"||c.yanchor==="auto"&&c.y>.3333333333333333&&c.y<.6666666666666666},D.isBottomAnchor=function(c){return c.yanchor==="bottom"||c.yanchor==="auto"&&c.y<=.3333333333333333}},11864:function(k,D,r){var c=r(20435),A=c.mod,o=c.modHalf,_=Math.PI,T=2*_;function p(C){return C/180*_}function y(C){return C/_*180}function a(C){return Math.abs(C[1]-C[0])>T-1e-14}function n(C,g){return o(g-C,T)}function l(C,g){return Math.abs(n(C,g))}function s(C,g){if(a(g))return!0;var f,x;g[0]x&&(x+=T);var M=A(C,T),R=M+T;return M>=f&&M<=x||R>=f&&R<=x}function h(C,g,f,x){if(!s(g,x))return!1;var M,R;return f[0]=M&&C<=R}function v(C,g,f,x,M,R,N){M=M||0,R=R||0;var w=a([f,x]),P,I,d,L,E;w?(P=0,I=_,d=T):f"u"?void 0:Uint8ClampedArray,i1:typeof Int8Array>"u"?void 0:Int8Array,u1:typeof Uint8Array>"u"?void 0:Uint8Array,i2:typeof Int16Array>"u"?void 0:Int16Array,u2:typeof Uint16Array>"u"?void 0:Uint16Array,i4:typeof Int32Array>"u"?void 0:Int32Array,u4:typeof Uint32Array>"u"?void 0:Uint32Array,f4:typeof Float32Array>"u"?void 0:Float32Array,f8:typeof Float64Array>"u"?void 0:Float64Array};n.uint8c=n.u1c,n.uint8=n.u1,n.int8=n.i1,n.uint16=n.u2,n.int16=n.i2,n.uint32=n.u4,n.int32=n.i4,n.float32=n.f4,n.float64=n.f8;function l(v){return v.constructor===ArrayBuffer}D.isArrayBuffer=l,D.decodeTypedArraySpec=function(v){var u=[],b=s(v),m=b.dtype,C=n[m];if(!C)throw new Error('Error in dtype: "'+m+'"');var g=C.BYTES_PER_ELEMENT,f=b.bdata;l(f)||(f=c(f));var x=b.shape===void 0?[f.byteLength/g]:(""+b.shape).split(",");x.reverse();var M=x.length,R,N,w=+x[0],P=g*w,I=0;if(M===1)u=new C(f);else if(M===2)for(R=+x[1],N=0;NC.max?b.set(m):b.set(+u)}},integer:{coerceFunction:function(u,b,m,C){u%1||!c(u)||C.min!==void 0&&uC.max?b.set(m):b.set(+u)}},string:{coerceFunction:function(u,b,m,C){if(typeof u!="string"){var g=typeof u=="number";C.strict===!0||!g?b.set(m):b.set(String(u))}else C.noBlank&&!u?b.set(m):b.set(u)}},color:{coerceFunction:function(u,b,m){A(u).isValid()?b.set(u):b.set(m)}},colorlist:{coerceFunction:function(u,b,m){function C(g){return A(g).isValid()}!Array.isArray(u)||!u.length?b.set(m):u.every(C)?b.set(u):b.set(m)}},colorscale:{coerceFunction:function(u,b,m){b.set(_.get(u,m))}},angle:{coerceFunction:function(u,b,m){u==="auto"?b.set("auto"):c(u)?b.set(n(+u,360)):b.set(m)}},subplotid:{coerceFunction:function(u,b,m,C){var g=C.regex||a(m);if(typeof u=="string"&&g.test(u)){b.set(u);return}b.set(m)},validateFunction:function(u,b){var m=b.dflt;return u===m?!0:typeof u!="string"?!1:!!a(m).test(u)}},flaglist:{coerceFunction:function(u,b,m,C){if((C.extras||[]).indexOf(u)!==-1){b.set(u);return}if(typeof u!="string"){b.set(m);return}for(var g=u.split("+"),f=0;f=f&&H<=x?H:p}if(typeof H!="string"&&typeof H!="number")return p;H=String(H);var $=C(G),re=H.charAt(0);$&&(re==="G"||re==="g")&&(H=H.substr(1),G="");var ae=$&&G.substr(0,7)==="chinese",oe=H.match(ae?b:u);if(!oe)return p;var de=oe[1],te=oe[3]||"1",J=Number(oe[5]||1),ie=Number(oe[7]||0),Z=Number(oe[9]||0),ue=Number(oe[11]||0);if($){if(de.length===2)return p;de=Number(de);var fe;try{var Q=h.getComponentMethod("calendars","getCal")(G);if(ae){var q=te.charAt(te.length-1)==="i";te=parseInt(te,10),fe=Q.newDate(de,Q.toMonthIndex(de,te,q),J)}else fe=Q.newDate(de,Number(te),J)}catch{return p}return fe?(fe.toJD()-s)*y+ie*a+Z*n+ue*l:p}de.length===2?de=(Number(de)+2e3-m)%100+m:de=Number(de),te-=1;var ce=new Date(Date.UTC(2e3,te,J,ie,Z));return ce.setUTCFullYear(de),ce.getUTCMonth()!==te||ce.getUTCDate()!==J?p:ce.getTime()+ue*l},f=D.MIN_MS=D.dateTime2ms("-9999"),x=D.MAX_MS=D.dateTime2ms("9999-12-31 23:59:59.9999"),D.isDateTime=function(H,G){return D.dateTime2ms(H,G)!==p};function M(H,G){return String(H+Math.pow(10,G)).substr(1)}var R=90*y,N=3*a,w=5*n;D.ms2DateTime=function(H,G,W){if(typeof H!="number"||!(H>=f&&H<=x))return p;G||(G=0);var V=Math.floor(_(H+.05,1)*10),j=Math.round(H-V/10),$,re,ae,oe,de,te;if(C(W)){var J=Math.floor(j/y)+s,ie=Math.floor(_(H,y));try{$=h.getComponentMethod("calendars","getCal")(W).fromJD(J).formatDate("yyyy-mm-dd")}catch{$=v("G%Y-%m-%d")(new Date(j))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;re=G=f+y&&H<=x-y))return p;var G=Math.floor(_(H+.05,1)*10),W=new Date(Math.round(H-G/10)),V=c("%Y-%m-%d")(W),j=W.getHours(),$=W.getMinutes(),re=W.getSeconds(),ae=W.getUTCMilliseconds()*10+G;return P(V,j,$,re,ae)};function P(H,G,W,V,j){if((G||W||V||j)&&(H+=" "+M(G,2)+":"+M(W,2),(V||j)&&(H+=":"+M(V,2),j))){for(var $=4;j%10===0;)$-=1,j/=10;H+="."+M(j,$)}return H}D.cleanDate=function(H,G,W){if(H===p)return G;if(D.isJSDate(H)||typeof H=="number"&&isFinite(H)){if(C(W))return o.error("JS Dates and milliseconds are incompatible with world calendars",H),G;if(H=D.ms2DateTimeLocal(+H),!H&&G!==void 0)return G}else if(!D.isDateTime(H,W))return o.error("unrecognized date",H),G;return H};var I=/%\d?f/g,d=/%h/g,L={1:"1",2:"1",3:"2",4:"2"};function E(H,G,W,V){H=H.replace(I,function($){var re=Math.min(+$.charAt(1)||6,6),ae=(G/1e3%1+2).toFixed(re).substr(2).replace(/0+$/,"")||"0";return ae});var j=new Date(Math.floor(G+.05));if(H=H.replace(d,function(){return L[W("%q")(j)]}),C(V))try{H=h.getComponentMethod("calendars","worldCalFmt")(H,G,V)}catch{return"Invalid"}return W(H)(j)}var B=[59,59.9,59.99,59.999,59.9999];function z(H,G){var W=_(H+.05,y),V=M(Math.floor(W/a),2)+":"+M(_(Math.floor(W/n),60),2);if(G!=="M"){A(G)||(G=0);var j=Math.min(_(H/l,60),B[G]),$=(100+j).toFixed(G).substr(1);G>0&&($=$.replace(/0+$/,"").replace(/[\.]$/,"")),V+=":"+$}return V}D.formatDate=function(H,G,W,V,j,$){if(j=C(j)&&j,!G)if(W==="y")G=$.year;else if(W==="m")G=$.month;else if(W==="d")G=$.dayMonth+` +]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+U+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:S,quoted:{pattern:RegExp(/(^|\s)/.source+U),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return g6}var m6,Tz;function jI(){if(Tz)return m6;Tz=1,m6=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(i){function S(K,k,D){return{pattern:RegExp("<#"+K+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+K+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:k,alias:D}}}}function U(K){var k=i.languages[K],D="language-"+K;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:S("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:S("=",k,D),"class-feature":S("\\+",k,D),standard:S("",k,D)}}}}i.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:U})})(t)}return m6}var y6,Ez;function ybe(){if(Ez)return y6;Ez=1;var e=jI(),t=i3();y6=i,i.displayName="t4Cs",i.aliases=[];function i(S){S.register(e),S.register(t),S.languages.t4=S.languages["t4-cs"]=S.languages["t4-templating"].createT4("csharp")}return y6}var x6,wz;function Lj(){if(wz)return x6;wz=1;var e=_j();x6=t,t.displayName="vbnet",t.aliases=[];function t(i){i.register(e),i.languages.vbnet=i.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return x6}var b6,Az;function xbe(){if(Az)return b6;Az=1;var e=jI(),t=Lj();b6=i,i.displayName="t4Vb",i.aliases=[];function i(S){S.register(e),S.register(t),S.languages["t4-vb"]=S.languages["t4-templating"].createT4("vbnet")}return b6}var T6,Sz;function kj(){if(Sz)return T6;Sz=1,T6=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(i){var S=/[*&][^\s[\]{},]+/,U=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,K="(?:"+U.source+"(?:[ ]+"+S.source+")?|"+S.source+"(?:[ ]+"+U.source+")?)",k=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),D=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function r(c,A){A=(A||"").replace(/m/g,"")+"m";var o=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return K}).replace(/<>/g,function(){return c});return RegExp(o,A)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return K})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return K}).replace(/<>/g,function(){return"(?:"+k+"|"+D+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:r(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:r(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:r(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:r(D),lookbehind:!0,greedy:!0},number:{pattern:r(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:U,important:S,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(t)}return T6}var E6,Cz;function bbe(){if(Cz)return E6;Cz=1;var e=kj();E6=t,t.displayName="tap",t.aliases=[];function t(i){i.register(e),i.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:i.languages.yaml,alias:"language-yaml"}}}return E6}var w6,_z;function Tbe(){if(_z)return w6;_z=1,w6=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return w6}var A6,Mz;function Ebe(){if(Mz)return A6;Mz=1,A6=e,e.displayName="textile",e.aliases=[];function e(t){(function(i){var S=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,U=/\)|\((?![^|()\n]+\))/.source;function K(_,T){return RegExp(_.replace(//g,function(){return"(?:"+S+")"}).replace(//g,function(){return"(?:"+U+")"}),T||"")}var k={css:{pattern:/\{[^{}]+\}/,inside:{rest:i.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},D=i.languages.textile=i.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:K(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:K(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:k},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:K(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:K(/(^[*#]+)+/.source),lookbehind:!0,inside:k},punctuation:/^[*#]+/}},table:{pattern:K(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:K(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:k},punctuation:/\||^\./}},inline:{pattern:K(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:K(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:K(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:K(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:K(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:K(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:K(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:K(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:K(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:k},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:K(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:K(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:K(/(^")+/.source),lookbehind:!0,inside:k},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:K(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:K(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:K(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:k},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),r=D.phrase.inside,c={inline:r.inline,link:r.link,image:r.image,footnote:r.footnote,acronym:r.acronym,mark:r.mark};D.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var A=r.inline.inside;A.bold.inside=c,A.italic.inside=c,A.inserted.inside=c,A.deleted.inside=c,A.span.inside=c;var o=r.table.inside;o.inline=c.inline,o.link=c.link,o.image=c.image,o.footnote=c.footnote,o.acronym=c.acronym,o.mark=c.mark})(t)}return A6}var S6,Rz;function wbe(){if(Rz)return S6;Rz=1,S6=e,e.displayName="toml",e.aliases=[];function e(t){(function(i){var S=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function U(K){return K.replace(/__/g,function(){return S})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(U(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(U(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return S6}var C6,Iz;function Abe(){if(Iz)return C6;Iz=1,C6=e,e.displayName="tremor",e.aliases=[];function e(t){(function(i){i.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var S=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+S+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+S+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(S),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor})(t)}return C6}var _6,Lz;function Sbe(){if(Lz)return _6;Lz=1;var e=Rj(),t=VI();_6=i,i.displayName="tsx",i.aliases=[];function i(S){S.register(e),S.register(t),function(U){var K=U.util.clone(U.languages.typescript);U.languages.tsx=U.languages.extend("jsx",K),delete U.languages.tsx.parameter,delete U.languages.tsx["literal-property"];var k=U.languages.tsx.tag;k.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+k.pattern.source+")",k.pattern.flags),k.lookbehind=!0}(S)}return _6}var M6,kz;function Cbe(){if(kz)return M6;kz=1;var e=td();M6=t,t.displayName="tt2",t.aliases=[];function t(i){i.register(e),function(S){S.languages.tt2=S.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),S.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),S.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),S.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete S.languages.tt2.string,S.hooks.add("before-tokenize",function(U){var K=/\[%[\s\S]+?%\]/g;S.languages["markup-templating"].buildPlaceholders(U,"tt2",K)}),S.hooks.add("after-tokenize",function(U){S.languages["markup-templating"].tokenizePlaceholders(U,"tt2")})}(i)}return M6}var R6,Dz;function _be(){if(Dz)return R6;Dz=1;var e=td();R6=t,t.displayName="twig",t.aliases=[];function t(i){i.register(e),i.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},i.hooks.add("before-tokenize",function(S){if(S.language==="twig"){var U=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;i.languages["markup-templating"].buildPlaceholders(S,"twig",U)}}),i.hooks.add("after-tokenize",function(S){i.languages["markup-templating"].tokenizePlaceholders(S,"twig")})}return R6}var I6,Nz;function Mbe(){if(Nz)return I6;Nz=1,I6=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(i){var S=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;i.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:S}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:S,number:/^\d+$/,punctuation:/[,|:]/}},keyword:S,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript})(t)}return I6}var L6,Pz;function Rbe(){if(Pz)return L6;Pz=1,L6=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return L6}var k6,Oz;function Ibe(){if(Oz)return k6;Oz=1,k6=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return k6}var D6,Fz;function Lbe(){if(Fz)return D6;Fz=1,D6=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return D6}var N6,Bz;function kbe(){if(Bz)return N6;Bz=1,N6=e,e.displayName="v",e.aliases=[];function e(t){(function(i){var S={pattern:/[\s\S]+/,inside:null};i.languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":S}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),S.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})})(t)}return N6}var P6,zz;function Dbe(){if(zz)return P6;zz=1,P6=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return P6}var O6,Uz;function Nbe(){if(Uz)return O6;Uz=1,O6=e,e.displayName="velocity",e.aliases=[];function e(t){(function(i){i.languages.velocity=i.languages.extend("markup",{});var S={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};S.variable.inside={string:S.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:S.number,boolean:S.boolean,punctuation:S.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:S}},variable:S.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity})(t)}return O6}var F6,Hz;function Pbe(){if(Hz)return F6;Hz=1,F6=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|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|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return F6}var B6,Gz;function Obe(){if(Gz)return B6;Gz=1,B6=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return B6}var z6,Vz;function Fbe(){if(Vz)return z6;Vz=1,z6=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return z6}var U6,Wz;function Bbe(){if(Wz)return U6;Wz=1,U6=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return U6}var H6,Yz;function zbe(){if(Yz)return H6;Yz=1,H6=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return H6}var G6,jz;function Ube(){if(jz)return G6;jz=1,G6=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\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|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\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/,punctuation:/[()]/}}return G6}var V6,Kz;function Hbe(){if(Kz)return V6;Kz=1,V6=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(i){var S=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,U="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+S+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,K={};i.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+S),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:K},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+U),lookbehind:!0,inside:K},{pattern:RegExp("("+/\bcallback\s+/.source+S+/\s*=\s*/.source+")"+U),lookbehind:!0,inside:K},{pattern:RegExp(/(\btypedef\b\s*)/.source+U),lookbehind:!0,inside:K},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+S),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+S),lookbehind:!0},RegExp(S+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+S),lookbehind:!0},{pattern:RegExp(U+"(?="+/\s*(?:\.{3}\s*)?/.source+S+/\s*[(),;=]/.source+")"),inside:K}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var k in i.languages["web-idl"])k!=="class-name"&&(K[k]=i.languages["web-idl"][k]);i.languages.webidl=i.languages["web-idl"]})(t)}return V6}var W6,Xz;function Gbe(){if(Xz)return W6;Xz=1,W6=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return W6}var Y6,$z;function Vbe(){if($z)return Y6;$z=1,Y6=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return Y6}var j6,Zz;function Wbe(){if(Zz)return j6;Zz=1,j6=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return j6}var K6,Jz;function Ybe(){if(Jz)return K6;Jz=1,K6=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(i){i.languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora})(t)}return K6}var X6,Qz;function jbe(){if(Qz)return X6;Qz=1,X6=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(i){function S(D,r){i.languages[D]&&i.languages.insertBefore(D,"comment",{"doc-comment":r})}var U=i.languages.markup.tag,K={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:U}},k={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:U}};S("csharp",K),S("fsharp",K),S("vbnet",k)})(t)}return X6}var $6,qz;function Kbe(){if(qz)return $6;qz=1,$6=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return $6}var Z6,eU;function Xbe(){if(eU)return Z6;eU=1,Z6=e,e.displayName="xquery",e.aliases=[];function e(t){(function(i){i.languages.xquery=i.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),i.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,i.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,i.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:i.languages.xquery,alias:"language-xquery"};var S=function(K){return typeof K=="string"?K:typeof K.content=="string"?K.content:K.content.map(S).join("")},U=function(K){for(var k=[],D=0;D0&&k[k.length-1].tagName===S(r.content[0].content[1])&&k.pop():r.content[r.content.length-1].content==="/>"||k.push({tagName:S(r.content[0].content[1]),openedBraces:0}):k.length>0&&r.type==="punctuation"&&r.content==="{"&&(!K[D+1]||K[D+1].type!=="punctuation"||K[D+1].content!=="{")&&(!K[D-1]||K[D-1].type!=="plain-text"||K[D-1].content!=="{")?k[k.length-1].openedBraces++:k.length>0&&k[k.length-1].openedBraces>0&&r.type==="punctuation"&&r.content==="}"?k[k.length-1].openedBraces--:r.type!=="comment"&&(c=!0)),(c||typeof r=="string")&&k.length>0&&k[k.length-1].openedBraces===0){var A=S(r);D0&&(typeof K[D-1]=="string"||K[D-1].type==="plain-text")&&(A=S(K[D-1])+A,K.splice(D-1,1),D--),/^\s+$/.test(A)?K[D]=A:K[D]=new i.Token("plain-text",A,null,A)}r.content&&typeof r.content!="string"&&U(r.content)}};i.hooks.add("after-tokenize",function(K){K.language==="xquery"&&U(K.tokens)})})(t)}return Z6}var J6,tU;function $be(){if(tU)return J6;tU=1,J6=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return J6}var Q6,rU;function Zbe(){if(rU)return Q6;rU=1,Q6=e,e.displayName="zig",e.aliases=[];function e(t){(function(i){function S(A){return function(){return A}}var U=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,K="\\b(?!"+U.source+")(?!\\d)\\w+\\b",k=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,D=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,S(k)),r=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,S(K)),c="(?!\\s)(?:!?\\s*(?:"+D+"\\s*)*"+r+")+";i.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,S(c)).replace(//g,S(k))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,S(c)).replace(//g,S(k))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:U,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},i.languages.zig["class-name"].forEach(function(A){A.inside===null&&(A.inside=i.languages.zig)})})(t)}return Q6}var qr=ame,Jbe=qr;qr.register(pme());qr.register(gme());qr.register(mme());qr.register(yme());qr.register(xme());qr.register(bme());qr.register(Tme());qr.register(Eme());qr.register(wme());qr.register(Ame());qr.register(Sme());qr.register(Cme());qr.register(_me());qr.register(Mme());qr.register(Rme());qr.register(Ime());qr.register(Lme());qr.register(kme());qr.register(Dme());qr.register(Nme());qr.register(Pme());qr.register(Ome());qr.register(Cj());qr.register(_j());qr.register(Fme());qr.register(Bme());qr.register(zme());qr.register(Ume());qr.register(Hme());qr.register(Gme());qr.register(Vme());qr.register(Wme());qr.register(Yme());qr.register(jme());qr.register(Sg());qr.register(Kme());qr.register(Xme());qr.register($me());qr.register(Zme());qr.register(Jme());qr.register(Qme());qr.register(qme());qr.register(eye());qr.register(tye());qr.register(UI());qr.register(rye());qr.register(i3());qr.register(nye());qr.register(aye());qr.register(iye());qr.register(oye());qr.register(sye());qr.register(lye());qr.register(uye());qr.register(cye());qr.register(fye());qr.register(dye());qr.register(hye());qr.register(vye());qr.register(pye());qr.register(gye());qr.register(mye());qr.register(yye());qr.register(xye());qr.register(bye());qr.register(Tye());qr.register(Eye());qr.register(wye());qr.register(Aye());qr.register(Sye());qr.register(Cye());qr.register(_ye());qr.register(Mye());qr.register(Rye());qr.register(Iye());qr.register(Lye());qr.register(kye());qr.register(Dye());qr.register(Nye());qr.register(Pye());qr.register(Oye());qr.register(Fye());qr.register(Bye());qr.register(zye());qr.register(Uye());qr.register(Hye());qr.register(Gye());qr.register(Vye());qr.register(Wye());qr.register(Yye());qr.register(jye());qr.register(Kye());qr.register(Xye());qr.register($ye());qr.register(HI());qr.register(Zye());qr.register(Jye());qr.register(Qye());qr.register(qye());qr.register(exe());qr.register(txe());qr.register(rxe());qr.register(nxe());qr.register(axe());qr.register(ixe());qr.register(oxe());qr.register(sxe());qr.register(lxe());qr.register(uxe());qr.register(cxe());qr.register(fxe());qr.register(dxe());qr.register(GI());qr.register(hxe());qr.register(s3());qr.register(vxe());qr.register(pxe());qr.register(gxe());qr.register(mxe());qr.register(yxe());qr.register(xxe());qr.register(bxe());qr.register(WI());qr.register(Txe());qr.register(Exe());qr.register(wxe());qr.register(Rj());qr.register(Axe());qr.register(Sxe());qr.register(Cxe());qr.register(_xe());qr.register(Mxe());qr.register(Rxe());qr.register(Ixe());qr.register(Lxe());qr.register(kxe());qr.register(Dxe());qr.register(Nxe());qr.register(Pxe());qr.register(Oxe());qr.register(Fxe());qr.register(Bxe());qr.register(zxe());qr.register(Mj());qr.register(Uxe());qr.register(Hxe());qr.register(Gxe());qr.register(td());qr.register(Vxe());qr.register(Wxe());qr.register(Yxe());qr.register(jxe());qr.register(Kxe());qr.register(Xxe());qr.register($xe());qr.register(Zxe());qr.register(Jxe());qr.register(Qxe());qr.register(qxe());qr.register(e2e());qr.register(t2e());qr.register(r2e());qr.register(n2e());qr.register(a2e());qr.register(i2e());qr.register(o2e());qr.register(s2e());qr.register(l2e());qr.register(u2e());qr.register(c2e());qr.register(f2e());qr.register(d2e());qr.register(h2e());qr.register(v2e());qr.register(p2e());qr.register(g2e());qr.register(m2e());qr.register(y2e());qr.register(x2e());qr.register(b2e());qr.register(l3());qr.register(T2e());qr.register(E2e());qr.register(w2e());qr.register(A2e());qr.register(S2e());qr.register(C2e());qr.register(_2e());qr.register(M2e());qr.register(R2e());qr.register(I2e());qr.register(L2e());qr.register(k2e());qr.register(D2e());qr.register(N2e());qr.register(P2e());qr.register(O2e());qr.register(F2e());qr.register(B2e());qr.register(z2e());qr.register(U2e());qr.register(H2e());qr.register(G2e());qr.register(V2e());qr.register(W2e());qr.register(Y2e());qr.register(j2e());qr.register(K2e());qr.register(X2e());qr.register($2e());qr.register(Z2e());qr.register(o3());qr.register(J2e());qr.register(Q2e());qr.register(q2e());qr.register(ebe());qr.register(YI());qr.register(tbe());qr.register(rbe());qr.register(nbe());qr.register(abe());qr.register(ibe());qr.register(obe());qr.register(sbe());qr.register(lbe());qr.register(ube());qr.register(cbe());qr.register(fbe());qr.register(dbe());qr.register(zI());qr.register(hbe());qr.register(vbe());qr.register(pbe());qr.register(gbe());qr.register(mbe());qr.register(ybe());qr.register(jI());qr.register(xbe());qr.register(bbe());qr.register(Tbe());qr.register(Ebe());qr.register(wbe());qr.register(Abe());qr.register(Sbe());qr.register(Cbe());qr.register(Ij());qr.register(_be());qr.register(VI());qr.register(Mbe());qr.register(Rbe());qr.register(Ibe());qr.register(Lbe());qr.register(kbe());qr.register(Dbe());qr.register(Lj());qr.register(Nbe());qr.register(Pbe());qr.register(Obe());qr.register(Fbe());qr.register(Bbe());qr.register(zbe());qr.register(Ube());qr.register(Hbe());qr.register(Gbe());qr.register(Vbe());qr.register(Wbe());qr.register(Ybe());qr.register(jbe());qr.register(Kbe());qr.register(Xbe());qr.register(kj());qr.register($be());qr.register(Zbe());var Dj=Xve(Jbe,vme);Dj.supportedLanguages=$ve;const L9=Dj,k9={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2E3440",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2E3440",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#636f88"},prolog:{color:"#636f88"},doctype:{color:"#636f88"},cdata:{color:"#636f88"},punctuation:{color:"#81A1C1"},".namespace":{Opacity:".7"},property:{color:"#81A1C1"},tag:{color:"#81A1C1"},constant:{color:"#81A1C1"},symbol:{color:"#81A1C1"},deleted:{color:"#81A1C1"},number:{color:"#B48EAD"},boolean:{color:"#81A1C1"},selector:{color:"#A3BE8C"},"attr-name":{color:"#A3BE8C"},string:{color:"#A3BE8C"},char:{color:"#A3BE8C"},builtin:{color:"#A3BE8C"},inserted:{color:"#A3BE8C"},operator:{color:"#81A1C1"},entity:{color:"#81A1C1",cursor:"help"},url:{color:"#81A1C1"},".language-css .token.string":{color:"#81A1C1"},".style .token.string":{color:"#81A1C1"},variable:{color:"#81A1C1"},atrule:{color:"#88C0D0"},"attr-value":{color:"#88C0D0"},function:{color:"#88C0D0"},"class-name":{color:"#88C0D0"},keyword:{color:"#81A1C1"},regex:{color:"#EBCB8B"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Qbe="_container_18aqj_1",qbe="_chatRoot_18aqj_8",eTe="_chatContainer_18aqj_18",tTe="_chatEmptyState_18aqj_32",rTe="_chatEmptyStateTitle_18aqj_40",nTe="_chatEmptyStateSubtitle_18aqj_52",aTe="_chatIcon_18aqj_64",iTe="_chatMessageStream_18aqj_69",oTe="_chatMessageUser_18aqj_81",sTe="_chatMessageUserMessage_18aqj_87",lTe="_chatMessageGpt_18aqj_107",uTe="_chatMessageError_18aqj_113",cTe="_chatMessageErrorContent_18aqj_127",fTe="_chatInput_18aqj_139",dTe="_clearChatBroom_18aqj_152",hTe="_clearChatBroomNoCosmos_18aqj_168",vTe="_newChatIcon_18aqj_184",pTe="_stopGeneratingContainer_18aqj_200",gTe="_stopGeneratingIcon_18aqj_217",mTe="_stopGeneratingText_18aqj_223",yTe="_citationPanel_18aqj_238",xTe="_citationPanelHeaderContainer_18aqj_258",bTe="_citationPanelHeader_18aqj_258",TTe="_citationPanelDismiss_18aqj_273",ETe="_citationPanelTitle_18aqj_284",wTe="_citationPanelContent_18aqj_299",ATe="_exectResultList_18aqj_311",STe="_viewSourceButton_18aqj_344",po={container:Qbe,chatRoot:qbe,chatContainer:eTe,chatEmptyState:tTe,chatEmptyStateTitle:rTe,chatEmptyStateSubtitle:nTe,chatIcon:aTe,chatMessageStream:iTe,chatMessageUser:oTe,chatMessageUserMessage:sTe,chatMessageGpt:lTe,chatMessageError:uTe,chatMessageErrorContent:cTe,chatInput:fTe,clearChatBroom:dTe,clearChatBroomNoCosmos:hTe,newChatIcon:vTe,stopGeneratingContainer:pTe,stopGeneratingIcon:gTe,stopGeneratingText:mTe,citationPanel:yTe,citationPanelHeaderContainer:xTe,citationPanelHeader:bTe,citationPanelDismiss:TTe,citationPanelTitle:ETe,citationPanelContent:wTe,exectResultList:ATe,viewSourceButton:STe},Nj="/assets/Contoso-ff70ad88.svg",Pj=["iframe","a","img","svg","h1","h2","h3","h4","h5","h6","div","p","span","small","del","img","pictrue","embed","video","audio","i","u","sup","sub","strong","strike","code","pre","body","section","article","footer","table","tr","td","th","thead","tbody","tfooter","ul","ol","li"],CTe=["href"];var vc=(e=>(e.NotConfigured="CosmosDB is not configured",e.NotWorking="CosmosDB is not working",e.InvalidCredentials="CosmosDB has invalid credentials",e.InvalidDatabase="Invalid CosmosDB database name",e.InvalidContainer="Invalid CosmosDB container name",e.Working="CosmosDB is configured and working",e))(vc||{}),jc=(e=>(e.Loading="loading",e.Success="success",e.Fail="fail",e.NotStarted="notStarted",e))(jc||{}),To=(e=>(e.Neutral="neutral",e.Positive="positive",e.Negative="negative",e.MissingCitation="missing_citation",e.WrongCitation="wrong_citation",e.OutOfScope="out_of_scope",e.InaccurateOrIrrelevant="inaccurate_or_irrelevant",e.OtherUnhelpful="other_unhelpful",e.HateSpeech="hate_speech",e.Violent="violent",e.Sexual="sexual",e.Manipulative="manipulative",e.OtherHarmful="other_harmlful",e))(To||{});async function _Te(e,t){return await fetch("/conversation",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:e.messages}),signal:t})}async function MTe(){const e=await fetch("/.auth/me");return e.ok?await e.json():(console.log("No identity provider found. Access to chat will be blocked."),[])}const Oj=async(e=0)=>await fetch(`/history/list?offset=${e}`,{method:"GET"}).then(async i=>{const S=await i.json();return Array.isArray(S)?await Promise.all(S.map(async K=>{let k=[];return k=await RTe(K.id).then(r=>r).catch(r=>(console.error("error fetching messages: ",r),[])),{id:K.id,title:K.title,date:K.createdAt,messages:k}})):(console.error("There was an issue fetching your data."),null)}).catch(i=>(console.error("There was an issue fetching your data."),null)),RTe=async e=>await fetch("/history/read",{method:"POST",body:JSON.stringify({conversation_id:e}),headers:{"Content-Type":"application/json"}}).then(async i=>{if(!i)return[];const S=await i.json(),U=[];return S!=null&&S.messages&&S.messages.forEach(K=>{const k={id:K.id,role:K.role,date:K.createdAt,content:K.content,feedback:K.feedback??void 0};U.push(k)}),U}).catch(i=>(console.error("There was an issue fetching your data."),[])),nU=async(e,t,i)=>{let S;return i?S=JSON.stringify({conversation_id:i,messages:e.messages}):S=JSON.stringify({messages:e.messages}),await fetch("/history/generate",{method:"POST",headers:{"Content-Type":"application/json"},body:S,signal:t}).then(K=>K).catch(K=>(console.error("There was an issue fetching your data."),new Response))},ITe=async(e,t)=>await fetch("/history/update",{method:"POST",body:JSON.stringify({conversation_id:t,messages:e}),headers:{"Content-Type":"application/json"}}).then(async S=>S).catch(S=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),LTe=async e=>await fetch("/history/delete",{method:"DELETE",body:JSON.stringify({conversation_id:e}),headers:{"Content-Type":"application/json"}}).then(i=>i).catch(i=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),kTe=async()=>await fetch("/history/delete_all",{method:"DELETE",body:JSON.stringify({}),headers:{"Content-Type":"application/json"}}).then(t=>t).catch(t=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),DTe=async e=>await fetch("/history/clear",{method:"POST",body:JSON.stringify({conversation_id:e}),headers:{"Content-Type":"application/json"}}).then(i=>i).catch(i=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),NTe=async(e,t)=>await fetch("/history/rename",{method:"POST",body:JSON.stringify({conversation_id:e,title:t}),headers:{"Content-Type":"application/json"}}).then(S=>S).catch(S=>(console.error("There was an issue fetching your data."),{...new Response,ok:!1,status:500})),PTe=async()=>await fetch("/history/ensure",{method:"GET"}).then(async t=>{const i=await t.json();let S;return i.message?S=vc.Working:t.status===500?S=vc.NotWorking:t.status===401?S=vc.InvalidCredentials:t.status===422?S=i.error:S=vc.NotConfigured,t.ok?{cosmosDB:!0,status:S}:{cosmosDB:!1,status:S}}).catch(t=>(console.error("There was an issue fetching your data."),{cosmosDB:!1,status:t})),OTe=async()=>await fetch("/frontend_settings",{method:"GET"}).then(t=>t.json()).catch(t=>(console.error("There was an issue fetching your data."),null)),q6=async(e,t)=>await fetch("/history/message_feedback",{method:"POST",body:JSON.stringify({message_id:e,message_feedback:t}),headers:{"Content-Type":"application/json"}}).then(S=>S).catch(S=>(console.error("There was an issue logging feedback."),{...new Response,ok:!1,status:500}));function FTe(){return e=>{ry(e,["text"],(t,i,S)=>{if(t.type!=="text")return;const{value:U}=t,K=U.split(/\^/);if(K.length===1||K.length%2===0)return;const k=K.map((D,r)=>r%2===0?{type:"text",value:D}:{type:"superscript",data:{hName:"sup"},children:[{type:"text",value:D}]});S.children.splice(i,1,...k)}),ry(e,["text"],(t,i,S)=>{if(t.type!=="text")return;const{value:U}=t,K=U.split(/\~/);if(K.length===1||K.length%2===0)return;const k=K.map((D,r)=>r%2===0?{type:"text",value:D}:{type:"subscript",data:{hName:"sub"},children:[{type:"text",value:D}]});S.children.splice(i,1,...k)})}}var Fj={},Bj={};(function(e){function t(v){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},t(v)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var i=k($t),S=U(uo);function U(v){return v&&v.__esModule?v:{default:v}}function K(v){if(typeof WeakMap!="function")return null;var u=new WeakMap,b=new WeakMap;return(K=function(C){return C?b:u})(v)}function k(v,u){if(!u&&v&&v.__esModule)return v;if(v===null||t(v)!=="object"&&typeof v!="function")return{default:v};var b=K(u);if(b&&b.has(v))return b.get(v);var m={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in v)if(g!=="default"&&Object.prototype.hasOwnProperty.call(v,g)){var f=C?Object.getOwnPropertyDescriptor(v,g):null;f&&(f.get||f.set)?Object.defineProperty(m,g,f):m[g]=v[g]}return m.default=v,b&&b.set(v,m),m}function D(v,u){if(!(v instanceof u))throw new TypeError("Cannot call a class as a function")}function r(v,u){for(var b=0;b"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function a(v){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},a(v)}var n=["AfterExport","AfterPlot","Animated","AnimatingFrame","AnimationInterrupted","AutoSize","BeforeExport","BeforeHover","ButtonClicked","Click","ClickAnnotation","Deselect","DoubleClick","Framework","Hover","LegendClick","LegendDoubleClick","Relayout","Relayouting","Restyle","Redraw","Selected","Selecting","SliderChange","SliderEnd","SliderStart","SunburstClick","Transitioning","TransitionInterrupted","Unhover","WebGlContextLost"],l=["plotly_restyle","plotly_redraw","plotly_relayout","plotly_relayouting","plotly_doubleclick","plotly_animated","plotly_sunburstclick"],s=typeof window<"u";function h(v){var u=function(b){A(C,b);var m=_(C);function C(g){var f;return D(this,C),f=m.call(this,g),f.p=Promise.resolve(),f.resizeHandler=null,f.handlers={},f.syncWindowResize=f.syncWindowResize.bind(p(f)),f.syncEventHandlers=f.syncEventHandlers.bind(p(f)),f.attachUpdateEvents=f.attachUpdateEvents.bind(p(f)),f.getRef=f.getRef.bind(p(f)),f.handleUpdate=f.handleUpdate.bind(p(f)),f.figureCallback=f.figureCallback.bind(p(f)),f.updatePlotly=f.updatePlotly.bind(p(f)),f}return c(C,[{key:"updatePlotly",value:function(f,x,M){var R=this;this.p=this.p.then(function(){if(!R.unmounting){if(!R.el)throw new Error("Missing element reference");return v.react(R.el,{data:R.props.data,layout:R.props.layout,config:R.props.config,frames:R.props.frames})}}).then(function(){R.unmounting||(R.syncWindowResize(f),R.syncEventHandlers(),R.figureCallback(x),M&&R.attachUpdateEvents())}).catch(function(N){R.props.onError&&R.props.onError(N)})}},{key:"componentDidMount",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:"componentDidUpdate",value:function(f){this.unmounting=!1;var x=f.frames&&f.frames.length?f.frames.length:0,M=this.props.frames&&this.props.frames.length?this.props.frames.length:0,R=!(f.layout===this.props.layout&&f.data===this.props.data&&f.config===this.props.config&&M===x),N=f.revision!==void 0,w=f.revision!==this.props.revision;!R&&(!N||N&&!w)||this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:"componentWillUnmount",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&s&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),v.purge(this.el)}},{key:"attachUpdateEvents",value:function(){var f=this;!this.el||!this.el.removeListener||l.forEach(function(x){f.el.on(x,f.handleUpdate)})}},{key:"removeUpdateEvents",value:function(){var f=this;!this.el||!this.el.removeListener||l.forEach(function(x){f.el.removeListener(x,f.handleUpdate)})}},{key:"handleUpdate",value:function(){this.figureCallback(this.props.onUpdate)}},{key:"figureCallback",value:function(f){if(typeof f=="function"){var x=this.el,M=x.data,R=x.layout,N=this.el._transitionData?this.el._transitionData._frames:null,w={data:M,layout:R,frames:N};f(w,this.el)}}},{key:"syncWindowResize",value:function(f){var x=this;s&&(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return v.Plots.resize(x.el)},window.addEventListener("resize",this.resizeHandler),f&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null))}},{key:"getRef",value:function(f){this.el=f,this.props.debug&&s&&(window.gd=this.el)}},{key:"syncEventHandlers",value:function(){var f=this;n.forEach(function(x){var M=f.props["on"+x],R=f.handlers[x],N=Boolean(R);M&&!N?f.addEventHandler(x,M):!M&&N?f.removeEventHandler(x):M&&N&&M!==R&&(f.removeEventHandler(x),f.addEventHandler(x,M))})}},{key:"addEventHandler",value:function(f,x){this.handlers[f]=x,this.el.on(this.getPlotlyEventName(f),this.handlers[f])}},{key:"removeEventHandler",value:function(f){this.el.removeListener(this.getPlotlyEventName(f),this.handlers[f]),delete this.handlers[f]}},{key:"getPlotlyEventName",value:function(f){return"plotly_"+f.toLowerCase()}},{key:"render",value:function(){return i.default.createElement("div",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),C}(i.Component);return u.propTypes={data:S.default.arrayOf(S.default.object),config:S.default.object,layout:S.default.object,frames:S.default.arrayOf(S.default.object),revision:S.default.number,onInitialized:S.default.func,onPurge:S.default.func,onError:S.default.func,onUpdate:S.default.func,debug:S.default.bool,style:S.default.object,className:S.default.string,useResizeHandler:S.default.bool,divId:S.default.string},n.forEach(function(b){u.propTypes["on"+b]=S.default.func}),u.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:"relative",display:"inline-block"}},u}})(Bj);var D9={},BTe={get exports(){return D9},set exports(e){D9=e}};(function(e,t){(function(S,U){e.exports=U()})(self,function(){return function(){var i={79288:function(k,D,r){var c=r(3400),A={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var o in A){var _=o.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");c.addStyleRule(_,A[o])}},86712:function(k,D,r){k.exports=r(84224)},37240:function(k,D,r){k.exports=r(51132)},29744:function(k,D,r){k.exports=r(94456)},29352:function(k,D,r){k.exports=r(67244)},96144:function(k,D,r){k.exports=r(97776)},53219:function(k,D,r){k.exports=r(61712)},4624:function(k,D,r){k.exports=r(95856)},54543:function(k,D,r){k.exports=r(54272)},45e3:function(k,D,r){k.exports=r(85404)},62300:function(k,D,r){k.exports=r(26048)},6920:function(k,D,r){k.exports=r(66240)},10264:function(k,D,r){k.exports=r(40448)},32016:function(k,D,r){k.exports=r(64884)},27528:function(k,D,r){k.exports=r(15088)},75556:function(k,D,r){k.exports=r(76744)},39204:function(k,D,r){k.exports=r(94704)},73996:function(k,D,r){k.exports=r(62396)},16489:function(k,D,r){k.exports=r(32028)},5e3:function(k,D,r){k.exports=r(81932)},77280:function(k,D,r){k.exports=r(45536)},33992:function(k,D,r){k.exports=r(42600)},17600:function(k,D,r){k.exports=r(21536)},49116:function(k,D,r){k.exports=r(65664)},46808:function(k,D,r){k.exports=r(29044)},36168:function(k,D,r){k.exports=r(48928)},13792:function(k,D,r){var c=r(32016);c.register([r(37240),r(29352),r(5e3),r(33992),r(17600),r(49116),r(6920),r(67484),r(79440),r(39204),r(83096),r(36168),r(20260),r(63560),r(65832),r(46808),r(73996),r(48824),r(89904),r(25120),r(13752),r(4340),r(62300),r(29800),r(8363),r(54543),r(86636),r(42192),r(32140),r(77280),r(89296),r(56816),r(70192),r(45e3),r(27528),r(84764),r(3920),r(50248),r(4624),r(69967),r(10264),r(86152),r(53219),r(81604),r(63796),r(29744),r(89336),r(86712),r(75556),r(16489),r(97312),r(96144)]),k.exports=c},3920:function(k,D,r){k.exports=r(43480)},25120:function(k,D,r){k.exports=r(6296)},4340:function(k,D,r){k.exports=r(7404)},86152:function(k,D,r){k.exports=r(65456)},56816:function(k,D,r){k.exports=r(22020)},89296:function(k,D,r){k.exports=r(29928)},20260:function(k,D,r){k.exports=r(75792)},32140:function(k,D,r){k.exports=r(156)},84764:function(k,D,r){k.exports=r(45499)},48824:function(k,D,r){k.exports=r(3296)},69967:function(k,D,r){k.exports=r(4184)},8363:function(k,D,r){k.exports=r(36952)},86636:function(k,D,r){k.exports=r(38983)},70192:function(k,D,r){k.exports=r(11572)},81604:function(k,D,r){k.exports=r(76924)},63796:function(k,D,r){k.exports=r(62944)},89336:function(k,D,r){k.exports=r(95443)},67484:function(k,D,r){k.exports=r(34864)},97312:function(k,D,r){k.exports=r(76272)},42192:function(k,D,r){k.exports=r(97924)},29800:function(k,D,r){k.exports=r(15436)},63560:function(k,D,r){k.exports=r(5621)},89904:function(k,D,r){k.exports=r(91304)},50248:function(k,D,r){k.exports=r(41724)},65832:function(k,D,r){k.exports=r(31991)},79440:function(k,D,r){k.exports=r(22869)},13752:function(k,D,r){k.exports=r(67776)},83096:function(k,D,r){k.exports=r(95952)},72196:function(k){k.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},13916:function(k,D,r){var c=r(72196),A=r(25376),o=r(33816),_=r(31780).templatedArray;r(36208),k.exports=_("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:A({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:c.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:c.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",o.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",o.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:A({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},90272:function(k,D,r){var c=r(3400),A=r(54460),o=r(23816).draw;k.exports=function(y){var a=y._fullLayout,n=c.filterVisible(a.annotations);if(n.length&&y._fullData.length)return c.syncOrAsync([o,_],y)};function _(p){var y=p._fullLayout;c.filterVisible(y.annotations).forEach(function(a){var n=A.getFromId(p,a.xref),l=A.getFromId(p,a.yref),s=A.getRefType(a.xref),h=A.getRefType(a.yref);a._extremes={},s==="range"&&T(a,n),h==="range"&&T(a,l)})}function T(p,y){var a=y._id,n=a.charAt(0),l=p[n],s=p["a"+n],h=p[n+"ref"],v=p["a"+n+"ref"],u=p["_"+n+"padplus"],b=p["_"+n+"padminus"],m={x:1,y:-1}[n]*p[n+"shift"],C=3*p.arrowsize*p.arrowwidth||0,g=C+m,f=C-m,x=3*p.startarrowsize*p.arrowwidth||0,M=x+m,R=x-m,N;if(v===h){var w=A.findExtremes(y,[y.r2c(l)],{ppadplus:g,ppadminus:f}),P=A.findExtremes(y,[y.r2c(s)],{ppadplus:Math.max(u,M),ppadminus:Math.max(b,R)});N={min:[w.min[0],P.min[0]],max:[w.max[0],P.max[0]]}}else M=s?M+s:M,R=s?R-s:R,N=A.findExtremes(y,[y.r2c(l)],{ppadplus:Math.max(u,g,M),ppadminus:Math.max(b,f,R)});p._extremes[a]=N}},42300:function(k,D,r){var c=r(3400),A=r(24040),o=r(31780).arrayEditor;k.exports={hasClickToShow:_,onClick:T};function _(a,n){var l=p(a,n);return l.on.length>0||l.explicitOff.length>0}function T(a,n){var l=p(a,n),s=l.on,h=l.off.concat(l.explicitOff),v={},u=a._fullLayout.annotations,b,m;if(s.length||h.length){for(b=0;b.6666666666666666?lr="right":lr="center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[lr]}for(var lt=!1,pt=["x","y"],ct=0;ct1)&&(mt===vt?(He=xt.r2fraction(x["a"+nt]),(He<0||He>1)&&(lt=!0)):lt=!0),Fe=xt._offset+xt.r2p(x[nt]),Pe=.5}else{var qe=Ce==="domain";nt==="x"?($e=x[nt],Fe=qe?xt._offset+xt._length*$e:Fe=I.l+I.w*$e):($e=1-x[nt],Fe=qe?xt._offset+xt._length*$e:Fe=I.t+I.h*$e),Pe=x.showarrow?.5:$e}if(x.showarrow){Ke.head=Fe;var st=x["a"+nt];if(me=Mt*Ve(.5,x.xanchor)-at*Ve(.5,x.yanchor),mt===vt){var ut=p.getRefType(mt);ut==="domain"?(nt==="y"&&(st=1-st),Ke.tail=xt._offset+xt._length*st):ut==="paper"?nt==="y"?(st=1-st,Ke.tail=I.t+I.h*st):Ke.tail=I.l+I.w*st:Ke.tail=xt._offset+xt.r2p(st),Ne=me}else Ke.tail=Fe+st,Ne=me+st;Ke.text=Ke.tail+me;var kt=P[nt==="x"?"width":"height"];if(vt==="paper"&&(Ke.head=_.constrain(Ke.head,1,kt-1)),mt==="pixel"){var _t=-Math.max(Ke.tail-3,Ke.text),gt=Math.min(Ke.tail+3,Ke.text)-kt;_t>0?(Ke.tail+=_t,Ke.text+=_t):gt>0&&(Ke.tail-=gt,Ke.text-=gt)}Ke.tail+=Ze,Ke.head+=Ze}else me=Oe*Ve(Pe,Ye),Ne=me,Ke.text=Fe+me;Ke.text+=Ze,me+=Ze,Ne+=Ze,x["_"+nt+"padplus"]=Oe/2+Ne,x["_"+nt+"padminus"]=Oe/2-Ne,x["_"+nt+"size"]=Oe,x["_"+nt+"shift"]=me}if(lt){de.remove();return}var Ct=0,Jt=0;if(x.align!=="left"&&(Ct=(Ie-_e)*(x.align==="center"?.5:1)),x.valign!=="top"&&(Jt=(Ge-Ee)*(x.valign==="middle"?.5:1)),ke)Ae.select("svg").attr({x:ie+Ct-1,y:ie+Jt}).call(a.setClipUrl,ue?G:null,f);else{var wr=ie+Jt-Se.top,yt=ie+Ct-Se.left;ce.call(l.positionText,yt,wr).call(a.setClipUrl,ue?G:null,f)}fe.select("rect").call(a.setRect,ie,ie,Ie,Ge),Z.call(a.setRect,te/2,te/2,We-te,Be-te),de.call(a.setTranslate,Math.round(W.x.text-We/2),Math.round(W.y.text-Be/2)),$.attr({transform:"rotate("+V+","+W.x.text+","+W.y.text+")"});var qt=function(br,lr){j.selectAll(".annotation-arrow-g").remove();var Et=W.x.head,ft=W.y.head,St=W.x.tail+br,Lt=W.y.tail+lr,Nt=W.x.text+br,Zt=W.y.text+lr,Yt=_.rotationXYMatrix(V,Nt,Zt),Wt=_.apply2DTransform(Yt),ar=_.apply2DTransform2(Yt),yr=+Z.attr("width"),rr=+Z.attr("height"),Tr=Nt-.5*yr,Xe=Tr+yr,je=Zt-.5*rr,Ht=je+rr,zt=[[Tr,je,Tr,Ht],[Tr,Ht,Xe,Ht],[Xe,Ht,Xe,je],[Xe,je,Tr,je]].map(ar);if(!zt.reduce(function(Ur,Sn){return Ur^!!_.segmentsIntersect(Et,ft,Et+1e6,ft+1e6,Sn[0],Sn[1],Sn[2],Sn[3])},!1)){zt.forEach(function(Ur){var Sn=_.segmentsIntersect(St,Lt,Et,ft,Ur[0],Ur[1],Ur[2],Ur[3]);Sn&&(St=Sn.x,Lt=Sn.y)});var ir=x.arrowwidth,cr=x.arrowcolor,hr=x.arrowside,sr=j.append("g").style({opacity:y.opacity(cr)}).classed("annotation-arrow-g",!0),Vt=sr.append("path").attr("d","M"+St+","+Lt+"L"+Et+","+ft).style("stroke-width",ir+"px").call(y.stroke,y.rgb(cr));if(u(Vt,hr,x),d.annotationPosition&&Vt.node().parentNode&&!R){var xr=Et,Ar=ft;if(x.standoff){var kr=Math.sqrt(Math.pow(Et-St,2)+Math.pow(ft-Lt,2));xr+=x.standoff*(St-Et)/kr,Ar+=x.standoff*(Lt-ft)/kr}var mr=sr.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(St-xr)+","+(Lt-Ar),transform:T(xr,Ar)}).style("stroke-width",ir+6+"px").call(y.stroke,"rgba(0,0,0,0)").call(y.fill,"rgba(0,0,0,0)"),Kr,Br;h.init({element:mr.node(),gd:f,prepFn:function(){var Ur=a.getTranslate(de);Kr=Ur.x,Br=Ur.y,N&&N.autorange&&z(N._name+".autorange",!0),w&&w.autorange&&z(w._name+".autorange",!0)},moveFn:function(Ur,Sn){var an=Wt(Kr,Br),Hn=an[0]+Ur,Gn=an[1]+Sn;de.call(a.setTranslate,Hn,Gn),Y("x",C(N,Ur,"x",I,x)),Y("y",C(w,Sn,"y",I,x)),x.axref===x.xref&&Y("ax",C(N,Ur,"ax",I,x)),x.ayref===x.yref&&Y("ay",C(w,Sn,"ay",I,x)),sr.attr("transform",T(Ur,Sn)),$.attr({transform:"rotate("+V+","+Hn+","+Gn+")"})},doneFn:function(){A.call("_guiRelayout",f,H());var Ur=document.querySelector(".js-notes-box-panel");Ur&&Ur.redraw(Ur.selectedObj)}})}}};if(x.showarrow&&qt(0,0),re){var tr;h.init({element:de.node(),gd:f,prepFn:function(){tr=$.attr("transform")},moveFn:function(br,lr){var Et="pointer";if(x.showarrow)x.axref===x.xref?Y("ax",C(N,br,"ax",I,x)):Y("ax",x.ax+br),x.ayref===x.yref?Y("ay",C(w,lr,"ay",I.w,x)):Y("ay",x.ay+lr),qt(br,lr);else{if(R)return;var ft,St;if(N)ft=C(N,br,"x",I,x);else{var Lt=x._xsize/I.w,Nt=x.x+(x._xshift-x.xshift)/I.w-Lt/2;ft=h.align(Nt+br/I.w,Lt,0,1,x.xanchor)}if(w)St=C(w,lr,"y",I,x);else{var Zt=x._ysize/I.h,Yt=x.y-(x._yshift+x.yshift)/I.h-Zt/2;St=h.align(Yt-lr/I.h,Zt,0,1,x.yanchor)}Y("x",ft),Y("y",St),(!N||!w)&&(Et=h.getCursor(N?.5:ft,w?.5:St,x.xanchor,x.yanchor))}$.attr({transform:T(br,lr)+tr}),s(de,Et)},clickFn:function(br,lr){x.captureevents&&f.emit("plotly_clickannotation",oe(lr))},doneFn:function(){s(de),A.call("_guiRelayout",f,H());var br=document.querySelector(".js-notes-box-panel");br&&br.redraw(br.selectedObj)}})}}d.annotationText?ce.call(l.makeEditable,{delegate:de,gd:f}).call(se).on("edit",function(Te){x.text=Te,this.call(se),Y("text",Te),N&&N.autorange&&z(N._name+".autorange",!0),w&&w.autorange&&z(w._name+".autorange",!0),A.call("_guiRelayout",f,H())}):ce.call(se)}},33652:function(k,D,r){var c=r(33428),A=r(76308),o=r(72196),_=r(3400),T=_.strScale,p=_.strRotate,y=_.strTranslate;k.exports=function(n,l,s){var h=n.node(),v=o[s.arrowhead||0],u=o[s.startarrowhead||0],b=(s.arrowwidth||1)*(s.arrowsize||1),m=(s.arrowwidth||1)*(s.startarrowsize||1),C=l.indexOf("start")>=0,g=l.indexOf("end")>=0,f=v.backoff*b+s.standoff,x=u.backoff*m+s.startstandoff,M,R,N,w;if(h.nodeName==="line"){M={x:+n.attr("x1"),y:+n.attr("y1")},R={x:+n.attr("x2"),y:+n.attr("y2")};var P=M.x-R.x,I=M.y-R.y;if(N=Math.atan2(I,P),w=N+Math.PI,f&&x&&f+x>Math.sqrt(P*P+I*I)){$();return}if(f){if(f*f>P*P+I*I){$();return}var d=f*Math.cos(N),L=f*Math.sin(N);R.x+=d,R.y+=L,n.attr({x2:R.x,y2:R.y})}if(x){if(x*x>P*P+I*I){$();return}var E=x*Math.cos(N),B=x*Math.sin(N);M.x-=E,M.y-=B,n.attr({x1:M.x,y1:M.y})}}else if(h.nodeName==="path"){var z=h.getTotalLength(),Y="";if(z1){s=!0;break}}s?T.fullLayout._infolayer.select(".annotation-"+T.id+'[data-index="'+n+'"]').remove():(l._pdata=A(T.glplot.cameraParams,[p.xaxis.r2l(l.x)*y[0],p.yaxis.r2l(l.y)*y[1],p.zaxis.r2l(l.z)*y[2]]),c(T.graphDiv,l,n,T.id,l._xa,l._ya))}}},56864:function(k,D,r){var c=r(24040),A=r(3400);k.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:r(45899)}}},layoutAttributes:r(45899),handleDefaults:r(52808),includeBasePlot:o,convert:r(42456),draw:r(71836)};function o(_,T){var p=c.subplotsRegistry.gl3d;if(p)for(var y=p.attrRegex,a=Object.keys(_),n=0;n=0)))return n;if(u===3)h[u]>1&&(h[u]=1);else if(h[u]>=1)return n}var b=Math.round(h[0]*255)+", "+Math.round(h[1]*255)+", "+Math.round(h[2]*255);return v?"rgba("+b+", "+h[3]+")":"rgb("+b+")"}},42996:function(k,D,r){var c=r(94724),A=r(25376),o=r(92880).extendFlat,_=r(67824).overrideAll;k.exports=_({orientation:{valType:"enumerated",values:["h","v"],dflt:"v"},thicknessmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels"},thickness:{valType:"number",min:0,dflt:30},lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["left","center","right"]},xpad:{valType:"number",min:0,dflt:10},y:{valType:"number"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},ypad:{valType:"number",min:0,dflt:10},outlinecolor:c.linecolor,outlinewidth:c.linewidth,bordercolor:c.linecolor,borderwidth:{valType:"number",min:0,dflt:0},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},tickmode:c.minor.tickmode,nticks:c.nticks,tick0:c.tick0,dtick:c.dtick,tickvals:c.tickvals,ticktext:c.ticktext,ticks:o({},c.ticks,{dflt:""}),ticklabeloverflow:o({},c.ticklabeloverflow,{}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside"},ticklen:c.ticklen,tickwidth:c.tickwidth,tickcolor:c.tickcolor,ticklabelstep:c.ticklabelstep,showticklabels:c.showticklabels,labelalias:c.labelalias,tickfont:A({}),tickangle:c.tickangle,tickformat:c.tickformat,tickformatstops:c.tickformatstops,tickprefix:c.tickprefix,showtickprefix:c.showtickprefix,ticksuffix:c.ticksuffix,showticksuffix:c.showticksuffix,separatethousands:c.separatethousands,exponentformat:c.exponentformat,minexponent:c.minexponent,showexponent:c.showexponent,title:{text:{valType:"string"},font:A({}),side:{valType:"enumerated",values:["right","top","bottom"]}},_deprecated:{title:{valType:"string"},titlefont:A({}),titleside:{valType:"enumerated",values:["right","top","bottom"],dflt:"top"}}},"colorbars","from-root")},63964:function(k){k.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}},64013:function(k,D,r){var c=r(3400),A=r(31780),o=r(26332),_=r(25404),T=r(95936),p=r(42568),y=r(42996);k.exports=function(n,l,s){var h=A.newContainer(l,"colorbar"),v=n.colorbar||{};function u(W,V){return c.coerce(v,h,y,W,V)}var b=s.margin||{t:0,b:0,l:0,r:0},m=s.width-b.l-b.r,C=s.height-b.t-b.b,g=u("orientation"),f=g==="v",x=u("thicknessmode");u("thickness",x==="fraction"?30/(f?m:C):30);var M=u("lenmode");u("len",M==="fraction"?1:f?C:m);var R=u("yref"),N=u("xref"),w=R==="paper",P=N==="paper",I,d,L,E="left";f?(L="middle",E=P?"left":"right",I=P?1.02:1,d=.5):(L=w?"bottom":"top",E="center",I=.5,d=w?1.02:1),c.coerce(v,h,{x:{valType:"number",min:P?-2:0,max:P?3:1,dflt:I}},"x"),c.coerce(v,h,{y:{valType:"number",min:w?-2:0,max:w?3:1,dflt:d}},"y"),u("xanchor",E),u("xpad"),u("yanchor",L),u("ypad"),c.noneOrAll(v,h,["x","y"]),u("outlinecolor"),u("outlinewidth"),u("bordercolor"),u("borderwidth"),u("bgcolor");var B=c.coerce(v,h,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:f?["outside","inside","outside top","inside top","outside bottom","inside bottom"]:["outside","inside","outside left","inside left","outside right","inside right"]}},"ticklabelposition");u("ticklabeloverflow",B.indexOf("inside")!==-1?"hide past domain":"hide past div"),o(v,h,u,"linear");var z=s.font,Y={noAutotickangles:!0,outerTicks:!1,font:z};B.indexOf("inside")!==-1&&(Y.bgColor="black"),p(v,h,u,"linear",Y),T(v,h,u,"linear",Y),_(v,h,u,"linear",Y),u("title.text",s._dfltTitle.colorbar);var H=h.showticklabels?h.tickfont:z,G=c.extendFlat({},H,{weight:z.weight,style:z.style,variant:z.variant,color:z.color,size:c.bigFont(H.size)});c.coerceFont(u,"title.font",G),u("title.side",f?"top":"right")}},37848:function(k,D,r){var c=r(33428),A=r(49760),o=r(7316),_=r(24040),T=r(54460),p=r(86476),y=r(3400),a=y.strTranslate,n=r(92880).extendFlat,l=r(93972),s=r(43616),h=r(76308),v=r(81668),u=r(72736),b=r(94288).flipScale,m=r(28336),C=r(37668),g=r(94724),f=r(84284),x=f.LINE_SPACING,M=f.FROM_TL,R=f.FROM_BR,N=r(63964).cn;function w(B){var z=B._fullLayout,Y=z._infolayer.selectAll("g."+N.colorbar).data(P(B),function(H){return H._id});Y.enter().append("g").attr("class",function(H){return H._id}).classed(N.colorbar,!0),Y.each(function(H){var G=c.select(this);y.ensureSingle(G,"rect",N.cbbg),y.ensureSingle(G,"g",N.cbfills),y.ensureSingle(G,"g",N.cblines),y.ensureSingle(G,"g",N.cbaxis,function(V){V.classed(N.crisp,!0)}),y.ensureSingle(G,"g",N.cbtitleunshift,function(V){V.append("g").classed(N.cbtitle,!0)}),y.ensureSingle(G,"rect",N.cboutline);var W=I(G,H,B);W&&W.then&&(B._promises||[]).push(W),B._context.edits.colorbarPosition&&d(G,H,B)}),Y.exit().each(function(H){o.autoMargin(B,H._id)}).remove(),Y.order()}function P(B){var z=B._fullLayout,Y=B.calcdata,H=[],G,W,V,j;function $(Q){return n(Q,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function re(){typeof j.calc=="function"?j.calc(B,V,G):(G._fillgradient=W.reversescale?b(W.colorscale):W.colorscale,G._zrange=[W[j.min],W[j.max]])}for(var ae=0;ae1){var Ke=Math.pow(10,Math.floor(Math.log(Ze)/Math.LN10));Oe*=Ke*y.roundUp(Ze/Ke,[2,5,10]),(Math.abs(Se.start)/Se.size+1e-6)%1<2e-6&&(Mt.tick0=0)}Mt.dtick=Oe}Mt.domain=H?[xt+J/q.h,xt+Ve-J/q.h]:[xt+te/q.w,xt+Ve-te/q.w],Mt.setScale(),B.attr("transform",a(Math.round(q.l),Math.round(q.t)));var Fe=B.select("."+N.cbtitleunshift).attr("transform",a(-Math.round(q.l),-Math.round(q.t))),Ne=Mt.ticklabelposition,$e=Mt.title.font.size,Pe=B.select("."+N.cbaxis),me,Ce=0,He=0;function qe(gt,Ct){var Jt={propContainer:Mt,propName:z._propPrefix+"title",traceIndex:z._traceIndex,_meta:z._meta,placeholder:Q._dfltTitle.colorbar,containerGroup:B.select("."+N.cbtitle)},wr=gt.charAt(0)==="h"?gt.substr(1):"h"+gt;B.selectAll("."+wr+",."+wr+"-math-group").remove(),v.draw(Y,gt,n(Jt,Ct||{}))}function st(){if(H&&at||!H&&!at){var gt,Ct;Te==="top"&&(gt=te+q.l+lt*ie,Ct=J+q.t+pt*(1-xt-Ve)+3+$e*.75),Te==="bottom"&&(gt=te+q.l+lt*ie,Ct=J+q.t+pt*(1-xt)-3-$e*.25),Te==="right"&&(Ct=J+q.t+pt*Z+3+$e*.75,gt=te+q.l+lt*xt),qe(Mt._id+"title",{attributes:{x:gt,y:Ct,"text-anchor":H?"start":"middle"}})}}function ut(){if(H&&!at||!H&&at){var gt=Mt.position||0,Ct=Mt._offset+Mt._length/2,Jt,wr;if(Te==="right")wr=Ct,Jt=q.l+lt*gt+10+$e*(Mt.showticklabels?1:.5);else if(Jt=Ct,Te==="bottom"&&(wr=q.t+pt*gt+10+(Ne.indexOf("inside")===-1?Mt.tickfont.size:0)+(Mt.ticks!=="intside"&&z.ticklen||0)),Te==="top"){var yt=pe.text.split("
").length;wr=q.t+pt*gt+10-Ge-x*$e*yt}qe((H?"h":"v")+Mt._id+"title",{avoid:{selection:c.select(Y).selectAll("g."+Mt._id+"tick"),side:Te,offsetTop:H?0:q.t,offsetLeft:H?q.l:0,maxShift:H?Q.width:Q.height},attributes:{x:Jt,y:wr,"text-anchor":"middle"},transform:{rotate:H?-90:0,offset:0}})}}function kt(){if(!H&&!at||H&&at){var gt=B.select("."+N.cbtitle),Ct=gt.select("text"),Jt=[-$/2,$/2],wr=gt.select(".h"+Mt._id+"title-math-group").node(),yt=15.6;Ct.node()&&(yt=parseInt(Ct.node().style.fontSize,10)*x);var qt;if(wr?(qt=s.bBox(wr),He=qt.width,Ce=qt.height,Ce>yt&&(Jt[1]-=(Ce-yt)/2)):Ct.node()&&!Ct.classed(N.jsPlaceholder)&&(qt=s.bBox(Ct.node()),He=qt.width,Ce=qt.height),H){if(Ce){if(Ce+=5,Te==="top")Mt.domain[1]-=Ce/q.h,Jt[1]*=-1;else{Mt.domain[0]+=Ce/q.h;var tr=u.lineCount(Ct);Jt[1]+=(1-tr)*yt}gt.attr("transform",a(Jt[0],Jt[1])),Mt.setScale()}}else He&&(Te==="right"&&(Mt.domain[0]+=(He+$e/2)/q.w),gt.attr("transform",a(Jt[0],Jt[1])),Mt.setScale())}B.selectAll("."+N.cbfills+",."+N.cblines).attr("transform",H?a(0,Math.round(q.h*(1-Mt.domain[1]))):a(Math.round(q.w*Mt.domain[0]),0)),Pe.attr("transform",H?a(0,Math.round(-q.t)):a(Math.round(-q.l),0));var br=B.select("."+N.cbfills).selectAll("rect."+N.cbfill).attr("style","").data(Ee);br.enter().append("rect").classed(N.cbfill,!0).attr("style",""),br.exit().remove();var lr=we.map(Mt.c2p).map(Math.round).sort(function(Nt,Zt){return Nt-Zt});br.each(function(Nt,Zt){var Yt=[Zt===0?we[0]:(Ee[Zt]+Ee[Zt-1])/2,Zt===Ee.length-1?we[1]:(Ee[Zt]+Ee[Zt+1])/2].map(Mt.c2p).map(Math.round);H&&(Yt[1]=y.constrain(Yt[1]+(Yt[1]>Yt[0])?1:-1,lr[0],lr[1]));var Wt=c.select(this).attr(H?"x":"y",ct).attr(H?"y":"x",c.min(Yt)).attr(H?"width":"height",Math.max(Ge,2)).attr(H?"height":"width",Math.max(c.max(Yt)-c.min(Yt),2));if(z._fillgradient)s.gradient(Wt,Y,z._id,H?"vertical":"horizontalreversed",z._fillgradient,"fill");else{var ar=ke(Nt).replace("e-","");Wt.attr("fill",A(ar).toHexString())}});var Et=B.select("."+N.cblines).selectAll("path."+N.cbline).data(se.color&&se.width?Ie:[]);Et.enter().append("path").classed(N.cbline,!0),Et.exit().remove(),Et.each(function(Nt){var Zt=ct,Yt=Math.round(Mt.c2p(Nt))+se.width/2%1;c.select(this).attr("d","M"+(H?Zt+","+Yt:Yt+","+Zt)+(H?"h":"v")+Ge).call(s.lineGroupStyle,se.width,Ae(Nt),se.dash)}),Pe.selectAll("g."+Mt._id+"tick,path").remove();var ft=ct+Ge+($||0)/2-(z.ticks==="outside"?1:0),St=T.calcTicks(Mt),Lt=T.getTickSigns(Mt)[2];return T.drawTicks(Y,Mt,{vals:Mt.ticks==="inside"?T.clipEnds(Mt,St):St,layer:Pe,path:T.makeTickPath(Mt,ft,Lt),transFn:T.makeTransTickFn(Mt)}),T.drawLabels(Y,Mt,{vals:St,layer:Pe,transFn:T.makeTransTickLabelFn(Mt),labelFns:T.makeLabelFns(Mt,ft)})}function _t(){var gt,Ct=Ge+$/2;Ne.indexOf("inside")===-1&&(gt=s.bBox(Pe.node()),Ct+=H?gt.width:gt.height),me=Fe.select("text");var Jt=0,wr=H&&Te==="top",yt=!H&&Te==="right",qt=0;if(me.node()&&!me.classed(N.jsPlaceholder)){var tr,br=Fe.select(".h"+Mt._id+"title-math-group").node();br&&(H&&at||!H&&!at)?(gt=s.bBox(br),Jt=gt.width,tr=gt.height):(gt=s.bBox(Fe.node()),Jt=gt.right-q.l-(H?ct:Tt),tr=gt.bottom-q.t-(H?Tt:ct),!H&&Te==="top"&&(Ct+=gt.height,qt=gt.height)),yt&&(me.attr("transform",a(Jt/2+$e/2,0)),Jt*=2),Ct=Math.max(Ct,H?Jt:tr)}var lr=(H?te:J)*2+Ct+re+$/2,Et=0;!H&&pe.text&&de==="bottom"&&Z<=0&&(Et=lr/2,lr+=Et,qt+=Et),Q._hColorbarMoveTitle=Et,Q._hColorbarMoveCBTitle=qt;var ft=re+$,St=(H?ct:Tt)-ft/2-(H?te:0),Lt=(H?Tt:ct)-(H?Be:J+qt-Et);B.select("."+N.cbbg).attr("x",St).attr("y",Lt).attr(H?"width":"height",Math.max(lr-Et,2)).attr(H?"height":"width",Math.max(Be+ft,2)).call(h.fill,ae).call(h.stroke,z.bordercolor).style("stroke-width",re);var Nt=yt?Math.max(Jt-10,0):0;B.selectAll("."+N.cboutline).attr("x",(H?ct:Tt+te)+Nt).attr("y",(H?Tt+J-Be:ct)+(wr?Ce:0)).attr(H?"width":"height",Math.max(Ge,2)).attr(H?"height":"width",Math.max(Be-(H?2*J+Ce:2*te+Nt),2)).call(h.stroke,z.outlinecolor).style({fill:"none","stroke-width":$});var Zt=H?nt*lr:0,Yt=H?0:(1-vt)*lr-qt;if(Zt=fe?q.l-Zt:-Zt,Yt=ue?q.t-Yt:-Yt,B.attr("transform",a(Zt,Yt)),!H&&(re||A(ae).getAlpha()&&!A.equals(Q.paper_bgcolor,ae))){var Wt=Pe.selectAll("text"),ar=Wt[0].length,yr=B.select("."+N.cbbg).node(),rr=s.bBox(yr),Tr=s.getTranslate(B),Xe=2;Wt.each(function(Ar,kr){var mr=0,Kr=ar-1;if(kr===mr||kr===Kr){var Br=s.bBox(this),Ur=s.getTranslate(this),Sn;if(kr===Kr){var an=Br.right+Ur.x,Hn=rr.right+Tr.x+Tt-re-Xe+ie;Sn=Hn-an,Sn>0&&(Sn=0)}else if(kr===mr){var Gn=Br.left+Ur.x,Mr=rr.left+Tr.x+Tt+re+Xe;Sn=Mr-Gn,Sn<0&&(Sn=0)}Sn&&(ar<3?this.setAttribute("transform","translate("+Sn+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var je={},Ht=M[oe],zt=R[oe],ir=M[de],cr=R[de],hr=lr-Ge;H?(W==="pixels"?(je.y=Z,je.t=Be*ir,je.b=Be*cr):(je.t=je.b=0,je.yt=Z+G*ir,je.yb=Z-G*cr),j==="pixels"?(je.x=ie,je.l=lr*Ht,je.r=lr*zt):(je.l=hr*Ht,je.r=hr*zt,je.xl=ie-V*Ht,je.xr=ie+V*zt)):(W==="pixels"?(je.x=ie,je.l=Be*Ht,je.r=Be*zt):(je.l=je.r=0,je.xl=ie+G*Ht,je.xr=ie-G*zt),j==="pixels"?(je.y=1-Z,je.t=lr*ir,je.b=lr*cr):(je.t=hr*ir,je.b=hr*cr,je.yt=Z-V*ir,je.yb=Z+V*cr));var sr=z.y<.5?"b":"t",Vt=z.x<.5?"l":"r";Y._fullLayout._reservedMargin[z._id]={};var xr={r:Q.width-St-Zt,l:St+je.r,b:Q.height-Lt-Yt,t:Lt+je.b};fe&&ue?o.autoMargin(Y,z._id,je):fe?Y._fullLayout._reservedMargin[z._id][sr]=xr[sr]:ue||H?Y._fullLayout._reservedMargin[z._id][Vt]=xr[Vt]:Y._fullLayout._reservedMargin[z._id][sr]=xr[sr]}return y.syncOrAsync([o.previousPromises,st,kt,ut,o.previousPromises,_t],Y)}function d(B,z,Y){var H=z.orientation==="v",G=Y._fullLayout,W=G._size,V,j,$;p.init({element:B.node(),gd:Y,prepFn:function(){V=B.attr("transform"),l(B)},moveFn:function(re,ae){B.attr("transform",V+a(re,ae)),j=p.align((H?z._uFrac:z._vFrac)+re/W.w,H?z._thickFrac:z._lenFrac,0,1,z.xanchor),$=p.align((H?z._vFrac:1-z._uFrac)-ae/W.h,H?z._lenFrac:z._thickFrac,0,1,z.yanchor);var oe=p.getCursor(j,$,z.xanchor,z.yanchor);l(B,oe)},doneFn:function(){if(l(B),j!==void 0&&$!==void 0){var re={};re[z._propPrefix+"x"]=j,re[z._propPrefix+"y"]=$,z._traceIndex!==void 0?_.call("_guiRestyle",Y,re,z._traceIndex):_.call("_guiRelayout",Y,re)}}})}function L(B,z,Y){var H=z._levels,G=[],W=[],V,j,$=H.end+H.size/100,re=H.size,ae=1.001*Y[0]-.001*Y[1],oe=1.001*Y[1]-.001*Y[0];for(j=0;j<1e5&&(V=H.start+j*re,!(re>0?V>=$:V<=$));j++)V>ae&&V0?V>=$:V<=$));j++)V>Y[0]&&Vm-u?u=m-(b-m):b-m=0?f=a.colorscale.sequential:f=a.colorscale.sequentialminus,h._sync("colorscale",f)}}},95504:function(k,D,r){var c=r(3400),A=r(94288).hasColorscale,o=r(94288).extractOpts;k.exports=function(T,p){function y(u,b){var m=u["_"+b];m!==void 0&&(u[b]=m)}function a(u,b){var m=b.container?c.nestedProperty(u,b.container).get():u;if(m)if(m.coloraxis)m._colorAx=p[m.coloraxis];else{var C=o(m),g=C.auto;(g||C.min===void 0)&&y(m,b.min),(g||C.max===void 0)&&y(m,b.max),C.autocolorscale&&y(m,"colorscale")}}for(var n=0;n=0;f--,x++){var M=m[f];g[x]=[1-M[0],M[1]]}return g}function v(m,C){C=C||{};for(var g=m.domain,f=m.range,x=f.length,M=new Array(x),R=0;R1.3333333333333333-y?p:y}},67416:function(k,D,r){var c=r(3400),A=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];k.exports=function(_,T,p,y){return p==="left"?_=0:p==="center"?_=1:p==="right"?_=2:_=c.constrain(Math.floor(_*3),0,2),y==="bottom"?T=0:y==="middle"?T=1:y==="top"?T=2:T=c.constrain(Math.floor(T*3),0,2),A[T][_]}},72760:function(k,D){D.selectMode=function(r){return r==="lasso"||r==="select"},D.drawMode=function(r){return r==="drawclosedpath"||r==="drawopenpath"||r==="drawline"||r==="drawrect"||r==="drawcircle"},D.openMode=function(r){return r==="drawline"||r==="drawopenpath"},D.rectMode=function(r){return r==="select"||r==="drawline"||r==="drawrect"||r==="drawcircle"},D.freeMode=function(r){return r==="lasso"||r==="drawclosedpath"||r==="drawopenpath"},D.selectingOrDrawing=function(r){return D.freeMode(r)||D.rectMode(r)}},86476:function(k,D,r){var c=r(29128),A=r(52264),o=r(89184),_=r(3400).removeElement,T=r(33816),p=k.exports={};p.align=r(78316),p.getCursor=r(67416);var y=r(2616);p.unhover=y.wrapped,p.unhoverRaw=y.raw,p.init=function(s){var h=s.gd,v=1,u=h._context.doubleClickDelay,b=s.element,m,C,g,f,x,M,R,N;h._mouseDownTime||(h._mouseDownTime=0),b.style.pointerEvents="all",b.onmousedown=I,o?(b._ontouchstart&&b.removeEventListener("touchstart",b._ontouchstart),b._ontouchstart=I,b.addEventListener("touchstart",I,{passive:!1})):b.ontouchstart=I;function w(E,B,z){return Math.abs(E)"u"&&typeof E.clientY>"u"&&(E.clientX=m,E.clientY=C),g=new Date().getTime(),g-h._mouseDownTimeu&&(v=Math.max(v-1,1)),h._dragged)s.doneFn&&s.doneFn();else if(s.clickFn&&s.clickFn(v,M),!N){var B;try{B=new MouseEvent("click",E)}catch{var z=n(E);B=document.createEvent("MouseEvents"),B.initMouseEvent("click",E.bubbles,E.cancelable,E.view,E.detail,E.screenX,E.screenY,z[0],z[1],E.ctrlKey,E.altKey,E.shiftKey,E.metaKey,E.button,E.relatedTarget)}R.dispatchEvent(B)}h._dragging=!1,h._dragged=!1}};function a(){var l=document.createElement("div");l.className="dragcover";var s=l.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(l),l}p.coverSlip=a;function n(l){return c(l.changedTouches?l.changedTouches[0]:l,document.body)}},2616:function(k,D,r){var c=r(95924),A=r(91200),o=r(52200).getGraphDiv,_=r(92456),T=k.exports={};T.wrapped=function(p,y,a){p=o(p),p._fullLayout&&A.clear(p._fullLayout._uid+_.HOVERID),T.raw(p,y,a)},T.raw=function(y,a){var n=y._fullLayout,l=y._hoverdata;a||(a={}),!(a.target&&!y._dragged&&c.triggerHandler(y,"plotly_beforehover",a)===!1)&&(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),y._hoverdata=void 0,a.target&&l&&y.emit("plotly_unhover",{event:a,points:l}))}},98192:function(k,D){D.u={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},D.c={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},43616:function(k,D,r){var c=r(33428),A=r(3400),o=A.numberFormat,_=r(38248),T=r(49760),p=r(24040),y=r(76308),a=r(8932),n=A.strTranslate,l=r(72736),s=r(9616),h=r(84284),v=h.LINE_SPACING,u=r(13448).DESELECTDIM,b=r(43028),m=r(7152),C=r(10624).appendArrayPointValue,g=k.exports={};g.font=function(Se,_e,Ee,Ie,Ge,We,Be){A.isPlainObject(_e)&&(Be=_e.variant,We=_e.style,Ge=_e.weight,Ie=_e.color,Ee=_e.size,_e=_e.family),_e&&Se.style("font-family",_e),Ee+1&&Se.style("font-size",Ee+"px"),Ie&&Se.call(y.fill,Ie),Ge&&Se.style("font-weight",Ge),We&&Se.style("font-style",We),Be&&Se.style("font-variant",Be)},g.setPosition=function(Se,_e,Ee){Se.attr("x",_e).attr("y",Ee)},g.setSize=function(Se,_e,Ee){Se.attr("width",_e).attr("height",Ee)},g.setRect=function(Se,_e,Ee,Ie,Ge){Se.call(g.setPosition,_e,Ee).call(g.setSize,Ie,Ge)},g.translatePoint=function(Se,_e,Ee,Ie){var Ge=Ee.c2p(Se.x),We=Ie.c2p(Se.y);if(_(Ge)&&_(We)&&_e.node())_e.node().nodeName==="text"?_e.attr("x",Ge).attr("y",We):_e.attr("transform",n(Ge,We));else return!1;return!0},g.translatePoints=function(Se,_e,Ee){Se.each(function(Ie){var Ge=c.select(this);g.translatePoint(Ie,Ge,_e,Ee)})},g.hideOutsideRangePoint=function(Se,_e,Ee,Ie,Ge,We){_e.attr("display",Ee.isPtWithinRange(Se,Ge)&&Ie.isPtWithinRange(Se,We)?null:"none")},g.hideOutsideRangePoints=function(Se,_e){if(_e._hasClipOnAxisFalse){var Ee=_e.xaxis,Ie=_e.yaxis;Se.each(function(Ge){var We=Ge[0].trace,Be=We.xcalendar,Ve=We.ycalendar,lt=p.traceIs(We,"bar-like")?".bartext":".point,.textpoint";Se.selectAll(lt).each(function(pt){g.hideOutsideRangePoint(pt,c.select(this),Ee,Ie,Be,Ve)})})}},g.crispRound=function(Se,_e,Ee){return!_e||!_(_e)?Ee||0:Se._context.staticPlot?_e:_e<1?1:Math.round(_e)},g.singleLineStyle=function(Se,_e,Ee,Ie,Ge){_e.style("fill","none");var We=(((Se||[])[0]||{}).trace||{}).line||{},Be=Ee||We.width||0,Ve=Ge||We.dash||"";y.stroke(_e,Ie||We.color),g.dashLine(_e,Ve,Be)},g.lineGroupStyle=function(Se,_e,Ee,Ie){Se.style("fill","none").each(function(Ge){var We=(((Ge||[])[0]||{}).trace||{}).line||{},Be=_e||We.width||0,Ve=Ie||We.dash||"";c.select(this).call(y.stroke,Ee||We.color).call(g.dashLine,Ve,Be)})},g.dashLine=function(Se,_e,Ee){Ee=+Ee||0,_e=g.dashStyle(_e,Ee),Se.style({"stroke-dasharray":_e,"stroke-width":Ee+"px"})},g.dashStyle=function(Se,_e){_e=+_e||1;var Ee=Math.max(_e,3);return Se==="solid"?Se="":Se==="dot"?Se=Ee+"px,"+Ee+"px":Se==="dash"?Se=3*Ee+"px,"+3*Ee+"px":Se==="longdash"?Se=5*Ee+"px,"+5*Ee+"px":Se==="dashdot"?Se=3*Ee+"px,"+Ee+"px,"+Ee+"px,"+Ee+"px":Se==="longdashdot"&&(Se=5*Ee+"px,"+2*Ee+"px,"+Ee+"px,"+2*Ee+"px"),Se};function f(Se,_e,Ee,Ie){var Ge=_e.fillpattern,We=_e.fillgradient,Be=Ge&&g.getPatternAttr(Ge.shape,0,"");if(Be){var Ve=g.getPatternAttr(Ge.bgcolor,0,null),lt=g.getPatternAttr(Ge.fgcolor,0,null),pt=Ge.fgopacity,ct=g.getPatternAttr(Ge.size,0,8),nt=g.getPatternAttr(Ge.solidity,0,.3),vt=_e.uid;g.pattern(Se,"point",Ee,vt,Be,ct,nt,void 0,Ge.fillmode,Ve,lt,pt)}else if(We&&We.type!=="none"){var mt=We.type,xt="scatterfill-"+_e.uid;if(Ie&&(xt="legendfill-"+_e.uid),!Ie&&(We.start!==void 0||We.stop!==void 0)){var Tt,Mt;mt==="horizontal"?(Tt={x:We.start,y:0},Mt={x:We.stop,y:0}):mt==="vertical"&&(Tt={x:0,y:We.start},Mt={x:0,y:We.stop}),Tt.x=_e._xA.c2p(Tt.x===void 0?_e._extremes.x.min[0].val:Tt.x,!0),Tt.y=_e._yA.c2p(Tt.y===void 0?_e._extremes.y.min[0].val:Tt.y,!0),Mt.x=_e._xA.c2p(Mt.x===void 0?_e._extremes.x.max[0].val:Mt.x,!0),Mt.y=_e._yA.c2p(Mt.y===void 0?_e._extremes.y.max[0].val:Mt.y,!0),Se.call(I,Ee,xt,"linear",We.colorscale,"fill",Tt,Mt,!0,!1)}else mt==="horizontal"&&(mt=mt+"reversed"),Se.call(g.gradient,Ee,xt,mt,We.colorscale,"fill")}else _e.fillcolor&&Se.call(y.fill,_e.fillcolor)}g.singleFillStyle=function(Se,_e){var Ee=c.select(Se.node()),Ie=Ee.data(),Ge=((Ie[0]||[])[0]||{}).trace||{};f(Se,Ge,_e,!1)},g.fillGroupStyle=function(Se,_e,Ee){Se.style("stroke-width",0).each(function(Ie){var Ge=c.select(this);Ie[0].trace&&f(Ge,Ie[0].trace,_e,Ee)})};var x=r(71984);g.symbolNames=[],g.symbolFuncs=[],g.symbolBackOffs=[],g.symbolNeedLines={},g.symbolNoDot={},g.symbolNoFill={},g.symbolList=[],Object.keys(x).forEach(function(Se){var _e=x[Se],Ee=_e.n;g.symbolList.push(Ee,String(Ee),Se,Ee+100,String(Ee+100),Se+"-open"),g.symbolNames[Ee]=Se,g.symbolFuncs[Ee]=_e.f,g.symbolBackOffs[Ee]=_e.backoff||0,_e.needLine&&(g.symbolNeedLines[Ee]=!0),_e.noDot?g.symbolNoDot[Ee]=!0:g.symbolList.push(Ee+200,String(Ee+200),Se+"-dot",Ee+300,String(Ee+300),Se+"-open-dot"),_e.noFill&&(g.symbolNoFill[Ee]=!0)});var M=g.symbolNames.length,R="M0,0.5L0.5,0L0,-0.5L-0.5,0Z";g.symbolNumber=function(Se){if(_(Se))Se=+Se;else if(typeof Se=="string"){var _e=0;Se.indexOf("-open")>0&&(_e=100,Se=Se.replace("-open","")),Se.indexOf("-dot")>0&&(_e+=200,Se=Se.replace("-dot","")),Se=g.symbolNames.indexOf(Se),Se>=0&&(Se+=_e)}return Se%100>=M||Se>=400?0:Math.floor(Math.max(Se,0))};function N(Se,_e,Ee,Ie){var Ge=Se%100;return g.symbolFuncs[Ge](_e,Ee,Ie)+(Se>=200?R:"")}var w=o("~f"),P={radial:{type:"radial"},radialreversed:{type:"radial",reversed:!0},horizontal:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0}},horizontalreversed:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0},reversed:!0},vertical:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0}},verticalreversed:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0},reversed:!0}};g.gradient=function(Se,_e,Ee,Ie,Ge,We){var Be=P[Ie];return I(Se,_e,Ee,Be.type,Ge,We,Be.start,Be.stop,!1,Be.reversed)};function I(Se,_e,Ee,Ie,Ge,We,Be,Ve,lt,pt){var ct=Ge.length,nt;Ie==="linear"?nt={node:"linearGradient",attrs:{x1:Be.x,y1:Be.y,x2:Ve.x,y2:Ve.y,gradientUnits:lt?"userSpaceOnUse":"objectBoundingBox"},reversed:pt}:Ie==="radial"&&(nt={node:"radialGradient",reversed:pt});for(var vt=new Array(ct),mt=0;mt=0&&Se.i===void 0&&(Se.i=We.i),_e.style("opacity",Ie.selectedOpacityFn?Ie.selectedOpacityFn(Se):Se.mo===void 0?Be.opacity:Se.mo),Ie.ms2mrc){var lt;Se.ms==="various"||Be.size==="various"?lt=3:lt=Ie.ms2mrc(Se.ms),Se.mrc=lt,Ie.selectedSizeFn&&(lt=Se.mrc=Ie.selectedSizeFn(Se));var pt=g.symbolNumber(Se.mx||Be.symbol)||0;Se.om=pt%200>=100;var ct=ke(Se,Ee),nt=Z(Se,Ee);_e.attr("d",N(pt,lt,ct,nt))}var vt=!1,mt,xt,Tt;if(Se.so)Tt=Ve.outlierwidth,xt=Ve.outliercolor,mt=Be.outliercolor;else{var Mt=(Ve||{}).width;Tt=(Se.mlw+1||Mt+1||(Se.trace?(Se.trace.marker.line||{}).width:0)+1)-1||0,"mlc"in Se?xt=Se.mlcc=Ie.lineScale(Se.mlc):A.isArrayOrTypedArray(Ve.color)?xt=y.defaultLine:xt=Ve.color,A.isArrayOrTypedArray(Be.color)&&(mt=y.defaultLine,vt=!0),"mc"in Se?mt=Se.mcc=Ie.markerScale(Se.mc):mt=Be.color||Be.colors||"rgba(0,0,0,0)",Ie.selectedColorFn&&(mt=Ie.selectedColorFn(Se))}if(Se.om)_e.call(y.stroke,mt).style({"stroke-width":(Tt||1)+"px",fill:"none"});else{_e.style("stroke-width",(Se.isBlank?0:Tt)+"px");var at=Be.gradient,Oe=Se.mgt;Oe?vt=!0:Oe=at&&at.type,A.isArrayOrTypedArray(Oe)&&(Oe=Oe[0],P[Oe]||(Oe=0));var Ye=Be.pattern,Ze=Ye&&g.getPatternAttr(Ye.shape,Se.i,"");if(Oe&&Oe!=="none"){var Ke=Se.mgc;Ke?vt=!0:Ke=at.color;var Fe=Ee.uid;vt&&(Fe+="-"+Se.i),g.gradient(_e,Ge,Fe,Oe,[[0,Ke],[1,mt]],"fill")}else if(Ze){var Ne=!1,$e=Ye.fgcolor;!$e&&We&&We.color&&($e=We.color,Ne=!0);var Pe=g.getPatternAttr($e,Se.i,We&&We.color||null),me=g.getPatternAttr(Ye.bgcolor,Se.i,null),Ce=Ye.fgopacity,He=g.getPatternAttr(Ye.size,Se.i,8),qe=g.getPatternAttr(Ye.solidity,Se.i,.3);Ne=Ne||Se.mcc||A.isArrayOrTypedArray(Ye.shape)||A.isArrayOrTypedArray(Ye.bgcolor)||A.isArrayOrTypedArray(Ye.fgcolor)||A.isArrayOrTypedArray(Ye.size)||A.isArrayOrTypedArray(Ye.solidity);var st=Ee.uid;Ne&&(st+="-"+Se.i),g.pattern(_e,"point",Ge,st,Ze,He,qe,Se.mcc,Ye.fillmode,me,Pe,Ce)}else A.isArrayOrTypedArray(mt)?y.fill(_e,mt[Se.i]):y.fill(_e,mt);Tt&&y.stroke(_e,xt)}},g.makePointStyleFns=function(Se){var _e={},Ee=Se.marker;return _e.markerScale=g.tryColorscale(Ee,""),_e.lineScale=g.tryColorscale(Ee,"line"),p.traceIs(Se,"symbols")&&(_e.ms2mrc=b.isBubble(Se)?m(Se):function(){return(Ee.size||6)/2}),Se.selectedpoints&&A.extendFlat(_e,g.makeSelectedPointStyleFns(Se)),_e},g.makeSelectedPointStyleFns=function(Se){var _e={},Ee=Se.selected||{},Ie=Se.unselected||{},Ge=Se.marker||{},We=Ee.marker||{},Be=Ie.marker||{},Ve=Ge.opacity,lt=We.opacity,pt=Be.opacity,ct=lt!==void 0,nt=pt!==void 0;(A.isArrayOrTypedArray(Ve)||ct||nt)&&(_e.selectedOpacityFn=function(Ze){var Ke=Ze.mo===void 0?Ge.opacity:Ze.mo;return Ze.selected?ct?lt:Ke:nt?pt:u*Ke});var vt=Ge.color,mt=We.color,xt=Be.color;(mt||xt)&&(_e.selectedColorFn=function(Ze){var Ke=Ze.mcc||vt;return Ze.selected?mt||Ke:xt||Ke});var Tt=Ge.size,Mt=We.size,at=Be.size,Oe=Mt!==void 0,Ye=at!==void 0;return p.traceIs(Se,"symbols")&&(Oe||Ye)&&(_e.selectedSizeFn=function(Ze){var Ke=Ze.mrc||Tt/2;return Ze.selected?Oe?Mt/2:Ke:Ye?at/2:Ke}),_e},g.makeSelectedTextStyleFns=function(Se){var _e={},Ee=Se.selected||{},Ie=Se.unselected||{},Ge=Se.textfont||{},We=Ee.textfont||{},Be=Ie.textfont||{},Ve=Ge.color,lt=We.color,pt=Be.color;return _e.selectedTextColorFn=function(ct){var nt=ct.tc||Ve;return ct.selected?lt||nt:pt||(lt?nt:y.addOpacity(nt,u))},_e},g.selectedPointStyle=function(Se,_e){if(!(!Se.size()||!_e.selectedpoints)){var Ee=g.makeSelectedPointStyleFns(_e),Ie=_e.marker||{},Ge=[];Ee.selectedOpacityFn&&Ge.push(function(We,Be){We.style("opacity",Ee.selectedOpacityFn(Be))}),Ee.selectedColorFn&&Ge.push(function(We,Be){y.fill(We,Ee.selectedColorFn(Be))}),Ee.selectedSizeFn&&Ge.push(function(We,Be){var Ve=Be.mx||Ie.symbol||0,lt=Ee.selectedSizeFn(Be);We.attr("d",N(g.symbolNumber(Ve),lt,ke(Be,_e),Z(Be,_e))),Be.mrc2=lt}),Ge.length&&Se.each(function(We){for(var Be=c.select(this),Ve=0;Ve0?Ee:0}g.textPointStyle=function(Se,_e,Ee){if(Se.size()){var Ie;if(_e.selectedpoints){var Ge=g.makeSelectedTextStyleFns(_e);Ie=Ge.selectedTextColorFn}var We=_e.texttemplate,Be=Ee._fullLayout;Se.each(function(Ve){var lt=c.select(this),pt=We?A.extractOption(Ve,_e,"txt","texttemplate"):A.extractOption(Ve,_e,"tx","text");if(!pt&&pt!==0){lt.remove();return}if(We){var ct=_e._module.formatLabels,nt=ct?ct(Ve,_e,Be):{},vt={};C(vt,_e,Ve.i);var mt=_e._meta||{};pt=A.texttemplateString(pt,nt,Be._d3locale,vt,Ve,mt)}var xt=Ve.tp||_e.textposition,Tt=E(Ve,_e),Mt=Ie?Ie(Ve):Ve.tc||_e.textfont.color;lt.call(g.font,{family:Ve.tf||_e.textfont.family,weight:Ve.tw||_e.textfont.weight,style:Ve.ty||_e.textfont.style,variant:Ve.tv||_e.textfont.variant,size:Tt,color:Mt}).text(pt).call(l.convertToTspans,Ee).call(L,xt,Tt,Ve.mrc)})}},g.selectedTextStyle=function(Se,_e){if(!(!Se.size()||!_e.selectedpoints)){var Ee=g.makeSelectedTextStyleFns(_e);Se.each(function(Ie){var Ge=c.select(this),We=Ee.selectedTextColorFn(Ie),Be=Ie.tp||_e.textposition,Ve=E(Ie,_e);y.fill(Ge,We);var lt=p.traceIs(_e,"bar-like");L(Ge,Be,Ve,Ie.mrc2||Ie.mrc,lt)})}};var B=.5;g.smoothopen=function(Se,_e){if(Se.length<3)return"M"+Se.join("L");var Ee="M"+Se[0],Ie=[],Ge;for(Ge=1;Ge=lt||Ze>=ct&&Ze<=lt)&&(Ke<=nt&&Ke>=pt||Ke>=nt&&Ke<=pt)&&(Se=[Ze,Ke])}return Se}g.applyBackoff=re,g.makeTester=function(){var Se=A.ensureSingleById(c.select("body"),"svg","js-plotly-tester",function(Ee){Ee.attr(s.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})}),_e=A.ensureSingle(Se,"path","js-reference-point",function(Ee){Ee.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})});g.tester=Se,g.testref=_e},g.savedBBoxes={};var ae=0,oe=1e4;g.bBox=function(Se,_e,Ee){Ee||(Ee=de(Se));var Ie;if(Ee){if(Ie=g.savedBBoxes[Ee],Ie)return A.extendFlat({},Ie)}else if(Se.childNodes.length===1){var Ge=Se.childNodes[0];if(Ee=de(Ge),Ee){var We=+Ge.getAttribute("x")||0,Be=+Ge.getAttribute("y")||0,Ve=Ge.getAttribute("transform");if(!Ve){var lt=g.bBox(Ge,!1,Ee);return We&&(lt.left+=We,lt.right+=We),Be&&(lt.top+=Be,lt.bottom+=Be),lt}if(Ee+="~"+We+"~"+Be+"~"+Ve,Ie=g.savedBBoxes[Ee],Ie)return A.extendFlat({},Ie)}}var pt,ct;_e?pt=Se:(ct=g.tester.node(),pt=Se.cloneNode(!0),ct.appendChild(pt)),c.select(pt).attr("transform",null).call(l.positionText,0,0);var nt=pt.getBoundingClientRect(),vt=g.testref.node().getBoundingClientRect();_e||ct.removeChild(pt);var mt={height:nt.height,width:nt.width,left:nt.left-vt.left,top:nt.top-vt.top,right:nt.right-vt.left,bottom:nt.bottom-vt.top};return ae>=oe&&(g.savedBBoxes={},ae=0),Ee&&(g.savedBBoxes[Ee]=mt),ae++,A.extendFlat({},mt)};function de(Se){var _e=Se.getAttribute("data-unformatted");if(_e!==null)return _e+Se.getAttribute("data-math")+Se.getAttribute("text-anchor")+Se.getAttribute("style")}g.setClipUrl=function(Se,_e,Ee){Se.attr("clip-path",te(_e,Ee))};function te(Se,_e){if(!Se)return null;var Ee=_e._context,Ie=Ee._exportedPlot?"":Ee._baseUrl||"";return Ie?"url('"+Ie+"#"+Se+"')":"url(#"+Se+")"}g.getTranslate=function(Se){var _e=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,Ee=Se.attr?"attr":"getAttribute",Ie=Se[Ee]("transform")||"",Ge=Ie.replace(_e,function(We,Be,Ve){return[Be,Ve].join(" ")}).split(" ");return{x:+Ge[0]||0,y:+Ge[1]||0}},g.setTranslate=function(Se,_e,Ee){var Ie=/(\btranslate\(.*?\);?)/,Ge=Se.attr?"attr":"getAttribute",We=Se.attr?"attr":"setAttribute",Be=Se[Ge]("transform")||"";return _e=_e||0,Ee=Ee||0,Be=Be.replace(Ie,"").trim(),Be+=n(_e,Ee),Be=Be.trim(),Se[We]("transform",Be),Be},g.getScale=function(Se){var _e=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,Ee=Se.attr?"attr":"getAttribute",Ie=Se[Ee]("transform")||"",Ge=Ie.replace(_e,function(We,Be,Ve){return[Be,Ve].join(" ")}).split(" ");return{x:+Ge[0]||1,y:+Ge[1]||1}},g.setScale=function(Se,_e,Ee){var Ie=/(\bscale\(.*?\);?)/,Ge=Se.attr?"attr":"getAttribute",We=Se.attr?"attr":"setAttribute",Be=Se[Ge]("transform")||"";return _e=_e||1,Ee=Ee||1,Be=Be.replace(Ie,"").trim(),Be+="scale("+_e+","+Ee+")",Be=Be.trim(),Se[We]("transform",Be),Be};var J=/\s*sc.*/;g.setPointGroupScale=function(Se,_e,Ee){if(_e=_e||1,Ee=Ee||1,!!Se){var Ie=_e===1&&Ee===1?"":"scale("+_e+","+Ee+")";Se.each(function(){var Ge=(this.getAttribute("transform")||"").replace(J,"");Ge+=Ie,Ge=Ge.trim(),this.setAttribute("transform",Ge)})}};var ie=/translate\([^)]*\)\s*$/;g.setTextPointsScale=function(Se,_e,Ee){Se&&Se.each(function(){var Ie,Ge=c.select(this),We=Ge.select("text");if(We.node()){var Be=parseFloat(We.attr("x")||0),Ve=parseFloat(We.attr("y")||0),lt=(Ge.attr("transform")||"").match(ie);_e===1&&Ee===1?Ie=[]:Ie=[n(Be,Ve),"scale("+_e+","+Ee+")",n(-Be,-Ve)],lt&&Ie.push(lt),Ge.attr("transform",Ie.join(""))}})};function Z(Se,_e){var Ee;return Se&&(Ee=Se.mf),Ee===void 0&&(Ee=_e.marker&&_e.marker.standoff||0),!_e._geo&&!_e._xA?-Ee:Ee}g.getMarkerStandoff=Z;var ue=Math.atan2,fe=Math.cos,Q=Math.sin;function q(Se,_e){var Ee=_e[0],Ie=_e[1];return[Ee*fe(Se)-Ie*Q(Se),Ee*Q(Se)+Ie*fe(Se)]}var ce,se,pe,Te,we,Ae;function ke(Se,_e){var Ee=Se.ma;Ee===void 0&&(Ee=_e.marker.angle,(!Ee||A.isArrayOrTypedArray(Ee))&&(Ee=0));var Ie,Ge,We=_e.marker.angleref;if(We==="previous"||We==="north"){if(_e._geo){var Be=_e._geo.project(Se.lonlat);Ie=Be[0],Ge=Be[1]}else{var Ve=_e._xA,lt=_e._yA;if(Ve&<)Ie=Ve.c2p(Se.x),Ge=lt.c2p(Se.y);else return 90}if(_e._geo){var pt=Se.lonlat[0],ct=Se.lonlat[1],nt=_e._geo.project([pt,ct+1e-5]),vt=_e._geo.project([pt+1e-5,ct]),mt=ue(vt[1]-Ge,vt[0]-Ie),xt=ue(nt[1]-Ge,nt[0]-Ie),Tt;if(We==="north")Tt=Ee/180*Math.PI;else if(We==="previous"){var Mt=pt/180*Math.PI,at=ct/180*Math.PI,Oe=ce/180*Math.PI,Ye=se/180*Math.PI,Ze=Oe-Mt,Ke=fe(Ye)*Q(Ze),Fe=Q(Ye)*fe(at)-fe(Ye)*Q(at)*fe(Ze);Tt=-ue(Ke,Fe)-Math.PI,ce=pt,se=ct}var Ne=q(mt,[fe(Tt),0]),$e=q(xt,[Q(Tt),0]);Ee=ue(Ne[1]+$e[1],Ne[0]+$e[0])/Math.PI*180,We==="previous"&&!(Ae===_e.uid&&Se.i===we+1)&&(Ee=null)}if(We==="previous"&&!_e._geo)if(Ae===_e.uid&&Se.i===we+1&&_(Ie)&&_(Ge)){var Pe=Ie-pe,me=Ge-Te,Ce=_e.line&&_e.line.shape||"",He=Ce.slice(Ce.length-1);He==="h"&&(me=0),He==="v"&&(Pe=0),Ee+=ue(me,Pe)/Math.PI*180+90}else Ee=null}return pe=Ie,Te=Ge,we=Se.i,Ae=_e.uid,Ee}g.getMarkerAngle=ke},71984:function(k,D,r){var c=r(21984),A=r(33428).round,o="M0,0Z",_=Math.sqrt(2),T=Math.sqrt(3),p=Math.PI,y=Math.cos,a=Math.sin;k.exports={circle:{n:0,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f="M"+g+",0A"+g+","+g+" 0 1,1 0,-"+g+"A"+g+","+g+" 0 0,1 "+g+",0Z";return C?u(m,C,f):f}},square:{n:1,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"H-"+g+"V-"+g+"H"+g+"Z")}},diamond:{n:2,f:function(b,m,C){if(n(m))return o;var g=A(b*1.3,2);return u(m,C,"M"+g+",0L0,"+g+"L-"+g+",0L0,-"+g+"Z")}},cross:{n:3,f:function(b,m,C){if(n(m))return o;var g=A(b*.4,2),f=A(b*1.2,2);return u(m,C,"M"+f+","+g+"H"+g+"V"+f+"H-"+g+"V"+g+"H-"+f+"V-"+g+"H-"+g+"V-"+f+"H"+g+"V-"+g+"H"+f+"Z")}},x:{n:4,f:function(b,m,C){if(n(m))return o;var g=A(b*.8/_,2),f="l"+g+","+g,x="l"+g+",-"+g,M="l-"+g+",-"+g,R="l-"+g+","+g;return u(m,C,"M0,"+g+f+x+M+x+M+R+M+R+f+R+f+"Z")}},"triangle-up":{n:5,f:function(b,m,C){if(n(m))return o;var g=A(b*2/T,2),f=A(b/2,2),x=A(b,2);return u(m,C,"M-"+g+","+f+"H"+g+"L0,-"+x+"Z")}},"triangle-down":{n:6,f:function(b,m,C){if(n(m))return o;var g=A(b*2/T,2),f=A(b/2,2),x=A(b,2);return u(m,C,"M-"+g+",-"+f+"H"+g+"L0,"+x+"Z")}},"triangle-left":{n:7,f:function(b,m,C){if(n(m))return o;var g=A(b*2/T,2),f=A(b/2,2),x=A(b,2);return u(m,C,"M"+f+",-"+g+"V"+g+"L-"+x+",0Z")}},"triangle-right":{n:8,f:function(b,m,C){if(n(m))return o;var g=A(b*2/T,2),f=A(b/2,2),x=A(b,2);return u(m,C,"M-"+f+",-"+g+"V"+g+"L"+x+",0Z")}},"triangle-ne":{n:9,f:function(b,m,C){if(n(m))return o;var g=A(b*.6,2),f=A(b*1.2,2);return u(m,C,"M-"+f+",-"+g+"H"+g+"V"+f+"Z")}},"triangle-se":{n:10,f:function(b,m,C){if(n(m))return o;var g=A(b*.6,2),f=A(b*1.2,2);return u(m,C,"M"+g+",-"+f+"V"+g+"H-"+f+"Z")}},"triangle-sw":{n:11,f:function(b,m,C){if(n(m))return o;var g=A(b*.6,2),f=A(b*1.2,2);return u(m,C,"M"+f+","+g+"H-"+g+"V-"+f+"Z")}},"triangle-nw":{n:12,f:function(b,m,C){if(n(m))return o;var g=A(b*.6,2),f=A(b*1.2,2);return u(m,C,"M-"+g+","+f+"V-"+g+"H"+f+"Z")}},pentagon:{n:13,f:function(b,m,C){if(n(m))return o;var g=A(b*.951,2),f=A(b*.588,2),x=A(-b,2),M=A(b*-.309,2),R=A(b*.809,2);return u(m,C,"M"+g+","+M+"L"+f+","+R+"H-"+f+"L-"+g+","+M+"L0,"+x+"Z")}},hexagon:{n:14,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b/2,2),x=A(b*T/2,2);return u(m,C,"M"+x+",-"+f+"V"+f+"L0,"+g+"L-"+x+","+f+"V-"+f+"L0,-"+g+"Z")}},hexagon2:{n:15,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b/2,2),x=A(b*T/2,2);return u(m,C,"M-"+f+","+x+"H"+f+"L"+g+",0L"+f+",-"+x+"H-"+f+"L-"+g+",0Z")}},octagon:{n:16,f:function(b,m,C){if(n(m))return o;var g=A(b*.924,2),f=A(b*.383,2);return u(m,C,"M-"+f+",-"+g+"H"+f+"L"+g+",-"+f+"V"+f+"L"+f+","+g+"H-"+f+"L-"+g+","+f+"V-"+f+"Z")}},star:{n:17,f:function(b,m,C){if(n(m))return o;var g=b*1.4,f=A(g*.225,2),x=A(g*.951,2),M=A(g*.363,2),R=A(g*.588,2),N=A(-g,2),w=A(g*-.309,2),P=A(g*.118,2),I=A(g*.809,2),d=A(g*.382,2);return u(m,C,"M"+f+","+w+"H"+x+"L"+M+","+P+"L"+R+","+I+"L0,"+d+"L-"+R+","+I+"L-"+M+","+P+"L-"+x+","+w+"H-"+f+"L0,"+N+"Z")}},hexagram:{n:18,f:function(b,m,C){if(n(m))return o;var g=A(b*.66,2),f=A(b*.38,2),x=A(b*.76,2);return u(m,C,"M-"+x+",0l-"+f+",-"+g+"h"+x+"l"+f+",-"+g+"l"+f+","+g+"h"+x+"l-"+f+","+g+"l"+f+","+g+"h-"+x+"l-"+f+","+g+"l-"+f+",-"+g+"h-"+x+"Z")}},"star-triangle-up":{n:19,f:function(b,m,C){if(n(m))return o;var g=A(b*T*.8,2),f=A(b*.8,2),x=A(b*1.6,2),M=A(b*4,2),R="A "+M+","+M+" 0 0 1 ";return u(m,C,"M-"+g+","+f+R+g+","+f+R+"0,-"+x+R+"-"+g+","+f+"Z")}},"star-triangle-down":{n:20,f:function(b,m,C){if(n(m))return o;var g=A(b*T*.8,2),f=A(b*.8,2),x=A(b*1.6,2),M=A(b*4,2),R="A "+M+","+M+" 0 0 1 ";return u(m,C,"M"+g+",-"+f+R+"-"+g+",-"+f+R+"0,"+x+R+g+",-"+f+"Z")}},"star-square":{n:21,f:function(b,m,C){if(n(m))return o;var g=A(b*1.1,2),f=A(b*2,2),x="A "+f+","+f+" 0 0 1 ";return u(m,C,"M-"+g+",-"+g+x+"-"+g+","+g+x+g+","+g+x+g+",-"+g+x+"-"+g+",-"+g+"Z")}},"star-diamond":{n:22,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2),f=A(b*1.9,2),x="A "+f+","+f+" 0 0 1 ";return u(m,C,"M-"+g+",0"+x+"0,"+g+x+g+",0"+x+"0,-"+g+x+"-"+g+",0Z")}},"diamond-tall":{n:23,f:function(b,m,C){if(n(m))return o;var g=A(b*.7,2),f=A(b*1.4,2);return u(m,C,"M0,"+f+"L"+g+",0L0,-"+f+"L-"+g+",0Z")}},"diamond-wide":{n:24,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2),f=A(b*.7,2);return u(m,C,"M0,"+f+"L"+g+",0L0,-"+f+"L-"+g+",0Z")}},hourglass:{n:25,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"H-"+g+"L"+g+",-"+g+"H-"+g+"Z")},noDot:!0},bowtie:{n:26,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"V-"+g+"L-"+g+","+g+"V-"+g+"Z")},noDot:!0},"circle-cross":{n:27,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M0,"+g+"V-"+g+"M"+g+",0H-"+g+"M"+g+",0A"+g+","+g+" 0 1,1 0,-"+g+"A"+g+","+g+" 0 0,1 "+g+",0Z")},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b/_,2);return u(m,C,"M"+f+","+f+"L-"+f+",-"+f+"M"+f+",-"+f+"L-"+f+","+f+"M"+g+",0A"+g+","+g+" 0 1,1 0,-"+g+"A"+g+","+g+" 0 0,1 "+g+",0Z")},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M0,"+g+"V-"+g+"M"+g+",0H-"+g+"M"+g+","+g+"H-"+g+"V-"+g+"H"+g+"Z")},needLine:!0,noDot:!0},"square-x":{n:30,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"L-"+g+",-"+g+"M"+g+",-"+g+"L-"+g+","+g+"M"+g+","+g+"H-"+g+"V-"+g+"H"+g+"Z")},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(b,m,C){if(n(m))return o;var g=A(b*1.3,2);return u(m,C,"M"+g+",0L0,"+g+"L-"+g+",0L0,-"+g+"ZM0,-"+g+"V"+g+"M-"+g+",0H"+g)},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(b,m,C){if(n(m))return o;var g=A(b*1.3,2),f=A(b*.65,2);return u(m,C,"M"+g+",0L0,"+g+"L-"+g+",0L0,-"+g+"ZM-"+f+",-"+f+"L"+f+","+f+"M-"+f+","+f+"L"+f+",-"+f)},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2);return u(m,C,"M0,"+g+"V-"+g+"M"+g+",0H-"+g)},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"L-"+g+",-"+g+"M"+g+",-"+g+"L-"+g+","+g)},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*.85,2);return u(m,C,"M0,"+g+"V-"+g+"M"+g+",0H-"+g+"M"+f+","+f+"L-"+f+",-"+f+"M"+f+",-"+f+"L-"+f+","+f)},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(b,m,C){if(n(m))return o;var g=A(b/2,2),f=A(b,2);return u(m,C,"M"+g+","+f+"V-"+f+"M"+(g-f)+",-"+f+"V"+f+"M"+f+","+g+"H-"+f+"M-"+f+","+(g-f)+"H"+f)},needLine:!0,noFill:!0},"y-up":{n:37,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*1.6,2),x=A(b*.8,2);return u(m,C,"M-"+g+","+x+"L0,0M"+g+","+x+"L0,0M0,-"+f+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*1.6,2),x=A(b*.8,2);return u(m,C,"M-"+g+",-"+x+"L0,0M"+g+",-"+x+"L0,0M0,"+f+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*1.6,2),x=A(b*.8,2);return u(m,C,"M"+x+","+g+"L0,0M"+x+",-"+g+"L0,0M-"+f+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(b,m,C){if(n(m))return o;var g=A(b*1.2,2),f=A(b*1.6,2),x=A(b*.8,2);return u(m,C,"M-"+x+","+g+"L0,0M-"+x+",-"+g+"L0,0M"+f+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2);return u(m,C,"M"+g+",0H-"+g)},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(b,m,C){if(n(m))return o;var g=A(b*1.4,2);return u(m,C,"M0,"+g+"V-"+g)},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+",-"+g+"L-"+g+","+g)},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(b,m,C){if(n(m))return o;var g=A(b,2);return u(m,C,"M"+g+","+g+"L-"+g+",-"+g)},needLine:!0,noDot:!0,noFill:!0},"arrow-up":{n:45,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b*2,2);return u(m,C,"M0,0L-"+g+","+f+"H"+g+"Z")},backoff:1,noDot:!0},"arrow-down":{n:46,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b*2,2);return u(m,C,"M0,0L-"+g+",-"+f+"H"+g+"Z")},noDot:!0},"arrow-left":{n:47,f:function(b,m,C){if(n(m))return o;var g=A(b*2,2),f=A(b,2);return u(m,C,"M0,0L"+g+",-"+f+"V"+f+"Z")},noDot:!0},"arrow-right":{n:48,f:function(b,m,C){if(n(m))return o;var g=A(b*2,2),f=A(b,2);return u(m,C,"M0,0L-"+g+",-"+f+"V"+f+"Z")},noDot:!0},"arrow-bar-up":{n:49,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b*2,2);return u(m,C,"M-"+g+",0H"+g+"M0,0L-"+g+","+f+"H"+g+"Z")},backoff:1,needLine:!0,noDot:!0},"arrow-bar-down":{n:50,f:function(b,m,C){if(n(m))return o;var g=A(b,2),f=A(b*2,2);return u(m,C,"M-"+g+",0H"+g+"M0,0L-"+g+",-"+f+"H"+g+"Z")},needLine:!0,noDot:!0},"arrow-bar-left":{n:51,f:function(b,m,C){if(n(m))return o;var g=A(b*2,2),f=A(b,2);return u(m,C,"M0,-"+f+"V"+f+"M0,0L"+g+",-"+f+"V"+f+"Z")},needLine:!0,noDot:!0},"arrow-bar-right":{n:52,f:function(b,m,C){if(n(m))return o;var g=A(b*2,2),f=A(b,2);return u(m,C,"M0,-"+f+"V"+f+"M0,0L-"+g+",-"+f+"V"+f+"Z")},needLine:!0,noDot:!0},arrow:{n:53,f:function(b,m,C){if(n(m))return o;var g=p/2.5,f=2*b*y(g),x=2*b*a(g);return u(m,C,"M0,0L"+-f+","+x+"L"+f+","+x+"Z")},backoff:.9,noDot:!0},"arrow-wide":{n:54,f:function(b,m,C){if(n(m))return o;var g=p/4,f=2*b*y(g),x=2*b*a(g);return u(m,C,"M0,0L"+-f+","+x+"A "+2*b+","+2*b+" 0 0 1 "+f+","+x+"Z")},backoff:.4,noDot:!0}};function n(b){return b===null}var l,s,h,v;function u(b,m,C){if((!b||b%360===0)&&!m)return C;if(h===b&&v===m&&l===C)return s;h=b,v=m,l=C;function g(z,Y){var H=y(z),G=a(z),W=Y[0],V=Y[1]+(m||0);return[W*H-V*G,W*G+V*H]}for(var f=b/180*p,x=0,M=0,R=c(C),N="",w=0;w0,b=y._context.staticPlot;a.each(function(m){var C=m[0].trace,g=C.error_x||{},f=C.error_y||{},x;C.ids&&(x=function(w){return w.id});var M=_.hasMarkers(C)&&C.marker.maxdisplayed>0;!f.visible&&!g.visible&&(m=[]);var R=c.select(this).selectAll("g.errorbar").data(m,x);if(R.exit().remove(),!!m.length){g.visible||R.selectAll("path.xerror").remove(),f.visible||R.selectAll("path.yerror").remove(),R.style("opacity",1);var N=R.enter().append("g").classed("errorbar",!0);u&&N.style("opacity",0).transition().duration(l.duration).style("opacity",1),o.setClipUrl(R,n.layerClipId,y),R.each(function(w){var P=c.select(this),I=T(w,h,v);if(!(M&&!w.vis)){var d,L=P.select("path.yerror");if(f.visible&&A(I.x)&&A(I.yh)&&A(I.ys)){var E=f.width;d="M"+(I.x-E)+","+I.yh+"h"+2*E+"m-"+E+",0V"+I.ys,I.noYS||(d+="m-"+E+",0h"+2*E),s=!L.size(),s?L=P.append("path").style("vector-effect",b?"none":"non-scaling-stroke").classed("yerror",!0):u&&(L=L.transition().duration(l.duration).ease(l.easing)),L.attr("d",d)}else L.remove();var B=P.select("path.xerror");if(g.visible&&A(I.y)&&A(I.xh)&&A(I.xs)){var z=(g.copy_ystyle?f:g).width;d="M"+I.xh+","+(I.y-z)+"v"+2*z+"m0,-"+z+"H"+I.xs,I.noXS||(d+="m0,-"+z+"v"+2*z),s=!B.size(),s?B=P.append("path").style("vector-effect",b?"none":"non-scaling-stroke").classed("xerror",!0):u&&(B=B.transition().duration(l.duration).ease(l.easing)),B.attr("d",d)}else B.remove()}})}})};function T(p,y,a){var n={x:y.c2p(p.x),y:a.c2p(p.y)};return p.yh!==void 0&&(n.yh=a.c2p(p.yh),n.ys=a.c2p(p.ys),A(n.ys)||(n.noYS=!0,n.ys=a.c2p(p.ys,!0))),p.xh!==void 0&&(n.xh=y.c2p(p.xh),n.xs=y.c2p(p.xs),A(n.xs)||(n.noXS=!0,n.xs=y.c2p(p.xs,!0))),n}},92036:function(k,D,r){var c=r(33428),A=r(76308);k.exports=function(_){_.each(function(T){var p=T[0].trace,y=p.error_y||{},a=p.error_x||{},n=c.select(this);n.selectAll("path.yerror").style("stroke-width",y.thickness+"px").call(A.stroke,y.color),a.copy_ystyle&&(a=y),n.selectAll("path.xerror").style("stroke-width",a.thickness+"px").call(A.stroke,a.color)})}},55756:function(k,D,r){var c=r(25376),A=r(65460).hoverlabel,o=r(92880).extendFlat;k.exports={hoverlabel:{bgcolor:o({},A.bgcolor,{arrayOk:!0}),bordercolor:o({},A.bordercolor,{arrayOk:!0}),font:c({arrayOk:!0,editType:"none"}),align:o({},A.align,{arrayOk:!0}),namelength:o({},A.namelength,{arrayOk:!0}),editType:"none"}}},55056:function(k,D,r){var c=r(3400),A=r(24040);k.exports=function(T){var p=T.calcdata,y=T._fullLayout;function a(v){return function(u){return c.coerceHoverinfo({hoverinfo:u},{_module:v._module},y)}}for(var n=0;n=0&&n.indexxt[0]._length||br<0||br>Tt[0]._length)return v.unhoverRaw(Q,q)}if(q.pointerX=tr+xt[0]._offset,q.pointerY=br+Tt[0]._offset,"xval"in q?Ne=m.flat(Te,q.xval):Ne=m.p2c(xt,tr),"yval"in q?$e=m.flat(Te,q.yval):$e=m.p2c(Tt,br),!A(Ne[0])||!A($e[0]))return _.warn("Fx.hover failed",q,Q),v.unhoverRaw(Q,q)}var ft=1/0;function St(ia,_r){for(me=0;meCt&&(Ke.splice(0,Ct),ft=Ke[0].distance),Ee&&Ze!==0&&Ke.length===0){gt.distance=Ze,gt.index=!1;var On=He._module.hoverPoints(gt,kt,_t,"closest",{hoverLayer:Ae._hoverlayer});if(On&&(On=On.filter(function(Cr){return Cr.spikeDistance<=Ze})),On&&On.length){var Un,na=On.filter(function(Cr){return Cr.xa.showspikes&&Cr.xa.spikesnap!=="hovered data"});if(na.length){var ga=na[0];A(ga.x0)&&A(ga.y0)&&(Un=Nt(ga),(!Jt.vLinePoint||Jt.vLinePoint.spikeDistance>Un.spikeDistance)&&(Jt.vLinePoint=Un))}var Na=On.filter(function(Cr){return Cr.ya.showspikes&&Cr.ya.spikesnap!=="hovered data"});if(Na.length){var ci=Na[0];A(ci.x0)&&A(ci.y0)&&(Un=Nt(ci),(!Jt.hLinePoint||Jt.hLinePoint.spikeDistance>Un.spikeDistance)&&(Jt.hLinePoint=Un))}}}}}St();function Lt(ia,_r,Qr){for(var Jr=null,_n=1/0,ta,On=0;On0&&Math.abs(ia.distance)cr-1;mr--)kr(Ke[mr]);Ke=Vt,ar()}var Kr=Q._hoverdata,Br=[],Ur=Z(Q),Sn=ue(Q);for(Pe=0;Pe1||Ke.length>1)||Ie==="closest"&&wr&&Ke.length>1,Ca=h.combine(Ae.plot_bgcolor||h.background,Ae.paper_bgcolor),za=H(Ke,{gd:Q,hovermode:Ie,rotateLabels:sa,bgColor:Ca,container:Ae._hoverlayer,outerContainer:Ae._paper.node(),commonLabelOpts:Ae.hoverlabel,hoverdistance:Ae.hoverdistance}),Ya=za.hoverLabels;if(m.isUnifiedHover(Ie)||(W(Ya,sa,Ae,za.commonLabelBoundingBox),$(Ya,sa,Ae._invScaleX,Ae._invScaleY)),pe&&pe.tagName){var Pa=b.getComponentMethod("annotations","hasClickToShow")(Q,Br);l(c.select(pe),Pa?"pointer":"")}!pe||se||!oe(Q,q,Kr)||(Kr&&Q.emit("plotly_unhover",{event:q,points:Kr}),Q.emit("plotly_hover",{event:q,points:Q._hoverdata,xaxes:xt,yaxes:Tt,xvals:Ne,yvals:$e}))}function z(Q){return[Q.trace.index,Q.index,Q.x0,Q.y0,Q.name,Q.attr,Q.xa?Q.xa._id:"",Q.ya?Q.ya._id:""].join(",")}var Y=/([\s\S]*)<\/extra>/;function H(Q,q){var ce=q.gd,se=ce._fullLayout,pe=q.hovermode,Te=q.rotateLabels,we=q.bgColor,Ae=q.container,ke=q.outerContainer,Se=q.commonLabelOpts||{};if(Q.length===0)return[[]];var _e=q.fontFamily||C.HOVERFONT,Ee=q.fontSize||C.HOVERFONTSIZE,Ie=q.fontWeight||se.font.weight,Ge=q.fontStyle||se.font.style,We=q.fontVariant||se.font.variant,Be=Q[0],Ve=Be.xa,lt=Be.ya,pt=pe.charAt(0),ct=pt+"Label",nt=Be[ct];if(nt===void 0&&Ve.type==="multicategory")for(var vt=0;vtse.width-xr&&(Ar=se.width-xr),Tr.attr("d","M"+(hr-Ar)+",0L"+(hr-Ar+P)+","+Vt+P+"H"+xr+"v"+Vt+(I*2+cr.height)+"H"+-xr+"V"+Vt+P+"H"+(hr-Ar-P)+"Z"),hr=Ar,Ne.minX=hr-xr,Ne.maxX=hr+xr,Ve.side==="top"?(Ne.minY=sr-(I*2+cr.height),Ne.maxY=sr-I):(Ne.minY=sr+I,Ne.maxY=sr+(I*2+cr.height))}else{var kr,mr,Kr;lt.side==="right"?(kr="start",mr=1,Kr="",hr=Ve._offset+Ve._length):(kr="end",mr=-1,Kr="-",hr=Ve._offset),sr=lt._offset+(Be.y0+Be.y1)/2,Xe.attr("text-anchor",kr),Tr.attr("d","M0,0L"+Kr+P+","+P+"V"+(I+cr.height/2)+"h"+Kr+(I*2+cr.width)+"V-"+(I+cr.height/2)+"H"+Kr+P+"V-"+P+"Z"),Ne.minY=sr-(I+cr.height/2),Ne.maxY=sr+(I+cr.height/2),lt.side==="right"?(Ne.minX=hr+P,Ne.maxX=hr+P+(I*2+cr.width)):(Ne.minX=hr-P-(I*2+cr.width),Ne.maxX=hr-P);var Br=cr.height/2,Ur=xt-cr.top-Br,Sn="clip"+se._uid+"commonlabel"+lt._id,an;if(hr=0?Wt=Lt:Nt+yt=0?Wt=Nt:Zt+yt=0?ar=ft:St+qt=0?ar=St:Yt+qt=0,(rr.idealAlign==="top"||!Vr)&&rn?(Br-=Sn/2,rr.anchor="end"):Vr?(Br+=Sn/2,rr.anchor="start"):rr.anchor="middle",rr.crossPos=Br;else{if(rr.pos=Br,Vr=Kr+Ur/2+Mr<=Tt,rn=Kr-Ur/2-Mr>=0,(rr.idealAlign==="left"||!Vr)&&rn)Kr-=Ur/2,rr.anchor="end";else if(Vr)Kr+=Ur/2,rr.anchor="start";else{rr.anchor="middle";var Wr=Mr/2,Mn=Kr+Wr-Tt,Cn=Kr-Wr;Mn>0&&(Kr-=Mn),Cn<0&&(Kr+=-Cn)}rr.crossPos=Kr}Vt.attr("text-anchor",rr.anchor),Ar&&xr.attr("text-anchor",rr.anchor),Tr.attr("transform",p(Kr,Br)+(Te?y(x):""))}),{hoverLabels:yr,commonLabelBoundingBox:Ne}}function G(Q,q,ce,se,pe,Te){var we="",Ae="";Q.nameOverride!==void 0&&(Q.name=Q.nameOverride),Q.name&&(Q.trace._meta&&(Q.name=_.templateString(Q.name,Q.trace._meta)),we=te(Q.name,Q.nameLength));var ke=ce.charAt(0),Se=ke==="x"?"y":"x";Q.zLabel!==void 0?(Q.xLabel!==void 0&&(Ae+="x: "+Q.xLabel+"
"),Q.yLabel!==void 0&&(Ae+="y: "+Q.yLabel+"
"),Q.trace.type!=="choropleth"&&Q.trace.type!=="choroplethmapbox"&&(Ae+=(Ae?"z: ":"")+Q.zLabel)):q&&Q[ke+"Label"]===pe?Ae=Q[Se+"Label"]||"":Q.xLabel===void 0?Q.yLabel!==void 0&&Q.trace.type!=="scattercarpet"&&(Ae=Q.yLabel):Q.yLabel===void 0?Ae=Q.xLabel:Ae="("+Q.xLabel+", "+Q.yLabel+")",(Q.text||Q.text===0)&&!Array.isArray(Q.text)&&(Ae+=(Ae?"
":"")+Q.text),Q.extraText!==void 0&&(Ae+=(Ae?"
":"")+Q.extraText),Te&&Ae===""&&!Q.hovertemplate&&(we===""&&Te.remove(),Ae=we);var _e=Q.hovertemplate||!1;if(_e){var Ee=Q.hovertemplateLabels||Q;Q[ke+"Label"]!==pe&&(Ee[ke+"other"]=Ee[ke+"Val"],Ee[ke+"otherLabel"]=Ee[ke+"Label"]),Ae=_.hovertemplateString(_e,Ee,se._d3locale,Q.eventData[0]||{},Q.trace._meta),Ae=Ae.replace(Y,function(Ie,Ge){return we=te(Ge,Q.nameLength),""})}return[Ae,we]}function W(Q,q,ce,se){var pe=q?"xa":"ya",Te=q?"ya":"xa",we=0,Ae=1,ke=Q.size(),Se=new Array(ke),_e=0,Ee=se.minX,Ie=se.maxX,Ge=se.minY,We=se.maxY,Be=function(Ne){return Ne*ce._invScaleX},Ve=function(Ne){return Ne*ce._invScaleY};Q.each(function(Ne){var $e=Ne[pe],Pe=Ne[Te],me=$e._id.charAt(0)==="x",Ce=$e.range;_e===0&&Ce&&Ce[0]>Ce[1]!==me&&(Ae=-1);var He=0,qe=me?ce.width:ce.height;if(ce.hovermode==="x"||ce.hovermode==="y"){var st=V(Ne,q),ut=Ne.anchor,kt=ut==="end"?-1:1,_t,gt;if(ut==="middle")_t=Ne.crossPos+(me?Ve(st.y-Ne.by/2):Be(Ne.bx/2+Ne.tx2width/2)),gt=_t+(me?Ve(Ne.by):Be(Ne.bx));else if(me)_t=Ne.crossPos+Ve(P+st.y)-Ve(Ne.by/2-P),gt=_t+Ve(Ne.by);else{var Ct=Be(kt*P+st.x),Jt=Ct+Be(kt*Ne.bx);_t=Ne.crossPos+Math.min(Ct,Jt),gt=Ne.crossPos+Math.max(Ct,Jt)}me?Ge!==void 0&&We!==void 0&&Math.min(gt,We)-Math.max(_t,Ge)>1&&(Pe.side==="left"?(He=Pe._mainLinePosition,qe=ce.width):qe=Pe._mainLinePosition):Ee!==void 0&&Ie!==void 0&&Math.min(gt,Ie)-Math.max(_t,Ee)>1&&(Pe.side==="top"?(He=Pe._mainLinePosition,qe=ce.height):qe=Pe._mainLinePosition)}Se[_e++]=[{datum:Ne,traceIndex:Ne.trace.index,dp:0,pos:Ne.pos,posref:Ne.posref,size:Ne.by*(me?R:1)/2,pmin:He,pmax:qe}]}),Se.sort(function(Ne,$e){return Ne[0].posref-$e[0].posref||Ae*($e[0].traceIndex-Ne[0].traceIndex)});var lt,pt,ct,nt,vt,mt,xt;function Tt(Ne){var $e=Ne[0],Pe=Ne[Ne.length-1];if(pt=$e.pmin-$e.pos-$e.dp+$e.size,ct=Pe.pos+Pe.dp+Pe.size-$e.pmax,pt>.01){for(vt=Ne.length-1;vt>=0;vt--)Ne[vt].dp+=pt;lt=!1}if(!(ct<.01)){if(pt<-.01){for(vt=Ne.length-1;vt>=0;vt--)Ne[vt].dp-=ct;lt=!1}if(lt){var me=0;for(nt=0;nt$e.pmax&&me++;for(nt=Ne.length-1;nt>=0&&!(me<=0);nt--)mt=Ne[nt],mt.pos>$e.pmax-1&&(mt.del=!0,me--);for(nt=0;nt=0;vt--)Ne[vt].dp-=ct;for(nt=Ne.length-1;nt>=0&&!(me<=0);nt--)mt=Ne[nt],mt.pos+mt.dp+mt.size>$e.pmax&&(mt.del=!0,me--)}}}for(;!lt&&we<=ke;){for(we++,lt=!0,nt=0;nt.01&&Oe.pmin===Ye.pmin&&Oe.pmax===Ye.pmax){for(vt=at.length-1;vt>=0;vt--)at[vt].dp+=pt;for(Mt.push.apply(Mt,at),Se.splice(nt+1,1),xt=0,vt=Mt.length-1;vt>=0;vt--)xt+=Mt[vt].dp;for(ct=xt/Mt.length,vt=Mt.length-1;vt>=0;vt--)Mt[vt].dp-=ct;lt=!1}else nt++}Se.forEach(Tt)}for(nt=Se.length-1;nt>=0;nt--){var Ze=Se[nt];for(vt=Ze.length-1;vt>=0;vt--){var Ke=Ze[vt],Fe=Ke.datum;Fe.offset=Ke.dp,Fe.del=Ke.del}}}function V(Q,q){var ce=0,se=Q.offset;return q&&(se*=-w,ce=Q.offset*N),{x:ce,y:se}}function j(Q){var q={start:1,end:-1,middle:0}[Q.anchor],ce=q*(P+I),se=ce+q*(Q.txwidth+I),pe=Q.anchor==="middle";return pe&&(ce-=Q.tx2width/2,se+=Q.txwidth/2+I),{alignShift:q,textShiftX:ce,text2ShiftX:se}}function $(Q,q,ce,se){var pe=function(we){return we*ce},Te=function(we){return we*se};Q.each(function(we){var Ae=c.select(this);if(we.del)return Ae.remove();var ke=Ae.select("text.nums"),Se=we.anchor,_e=Se==="end"?-1:1,Ee=j(we),Ie=V(we,q),Ge=Ie.x,We=Ie.y,Be=Se==="middle";Ae.select("path").attr("d",Be?"M-"+pe(we.bx/2+we.tx2width/2)+","+Te(We-we.by/2)+"h"+pe(we.bx)+"v"+Te(we.by)+"h-"+pe(we.bx)+"Z":"M0,0L"+pe(_e*P+Ge)+","+Te(P+We)+"v"+Te(we.by/2-P)+"h"+pe(_e*we.bx)+"v-"+Te(we.by)+"H"+pe(_e*P+Ge)+"V"+Te(We-P)+"Z");var Ve=Ge+Ee.textShiftX,lt=We+we.ty0-we.by/2+I,pt=we.textAlign||"auto";pt!=="auto"&&(pt==="left"&&Se!=="start"?(ke.attr("text-anchor","start"),Ve=Be?-we.bx/2-we.tx2width/2+I:-we.bx-I):pt==="right"&&Se!=="end"&&(ke.attr("text-anchor","end"),Ve=Be?we.bx/2-we.tx2width/2-I:we.bx+I)),ke.call(n.positionText,pe(Ve),Te(lt)),we.tx2width&&(Ae.select("text.name").call(n.positionText,pe(Ee.text2ShiftX+Ee.alignShift*I+Ge),Te(We+we.ty0-we.by/2+I)),Ae.select("rect").call(s.setRect,pe(Ee.text2ShiftX+(Ee.alignShift-1)*we.tx2width/2+Ge),Te(We-we.by/2-1),pe(we.tx2width),Te(we.by+2)))})}function re(Q,q){var ce=Q.index,se=Q.trace||{},pe=Q.cd[0],Te=Q.cd[ce]||{};function we(Ie){return Ie||A(Ie)&&Ie===0}var Ae=Array.isArray(ce)?function(Ie,Ge){var We=_.castOption(pe,ce,Ie);return we(We)?We:_.extractOption({},se,"",Ge)}:function(Ie,Ge){return _.extractOption(Te,se,Ie,Ge)};function ke(Ie,Ge,We){var Be=Ae(Ge,We);we(Be)&&(Q[Ie]=Be)}if(ke("hoverinfo","hi","hoverinfo"),ke("bgcolor","hbg","hoverlabel.bgcolor"),ke("borderColor","hbc","hoverlabel.bordercolor"),ke("fontFamily","htf","hoverlabel.font.family"),ke("fontSize","hts","hoverlabel.font.size"),ke("fontColor","htc","hoverlabel.font.color"),ke("fontWeight","htw","hoverlabel.font.weight"),ke("fontStyle","hty","hoverlabel.font.style"),ke("fontVariant","htv","hoverlabel.font.variant"),ke("nameLength","hnl","hoverlabel.namelength"),ke("textAlign","hta","hoverlabel.align"),Q.posref=q==="y"||q==="closest"&&se.orientation==="h"?Q.xa._offset+(Q.x0+Q.x1)/2:Q.ya._offset+(Q.y0+Q.y1)/2,Q.x0=_.constrain(Q.x0,0,Q.xa._length),Q.x1=_.constrain(Q.x1,0,Q.xa._length),Q.y0=_.constrain(Q.y0,0,Q.ya._length),Q.y1=_.constrain(Q.y1,0,Q.ya._length),Q.xLabelVal!==void 0&&(Q.xLabel="xLabel"in Q?Q.xLabel:u.hoverLabelText(Q.xa,Q.xLabelVal,se.xhoverformat),Q.xVal=Q.xa.c2d(Q.xLabelVal)),Q.yLabelVal!==void 0&&(Q.yLabel="yLabel"in Q?Q.yLabel:u.hoverLabelText(Q.ya,Q.yLabelVal,se.yhoverformat),Q.yVal=Q.ya.c2d(Q.yLabelVal)),Q.zLabelVal!==void 0&&Q.zLabel===void 0&&(Q.zLabel=String(Q.zLabelVal)),!isNaN(Q.xerr)&&!(Q.xa.type==="log"&&Q.xerr<=0)){var Se=u.tickText(Q.xa,Q.xa.c2l(Q.xerr),"hover").text;Q.xerrneg!==void 0?Q.xLabel+=" +"+Se+" / -"+u.tickText(Q.xa,Q.xa.c2l(Q.xerrneg),"hover").text:Q.xLabel+=" ± "+Se,q==="x"&&(Q.distance+=1)}if(!isNaN(Q.yerr)&&!(Q.ya.type==="log"&&Q.yerr<=0)){var _e=u.tickText(Q.ya,Q.ya.c2l(Q.yerr),"hover").text;Q.yerrneg!==void 0?Q.yLabel+=" +"+_e+" / -"+u.tickText(Q.ya,Q.ya.c2l(Q.yerrneg),"hover").text:Q.yLabel+=" ± "+_e,q==="y"&&(Q.distance+=1)}var Ee=Q.hoverinfo||Q.trace.hoverinfo;return Ee&&Ee!=="all"&&(Ee=Array.isArray(Ee)?Ee:Ee.split("+"),Ee.indexOf("x")===-1&&(Q.xLabel=void 0),Ee.indexOf("y")===-1&&(Q.yLabel=void 0),Ee.indexOf("z")===-1&&(Q.zLabel=void 0),Ee.indexOf("text")===-1&&(Q.text=void 0),Ee.indexOf("name")===-1&&(Q.name=void 0)),Q}function ae(Q,q,ce){var se=ce.container,pe=ce.fullLayout,Te=pe._size,we=ce.event,Ae=!!q.hLinePoint,ke=!!q.vLinePoint,Se,_e;if(se.selectAll(".spikeline").remove(),!!(ke||Ae)){var Ee=h.combine(pe.plot_bgcolor,pe.paper_bgcolor);if(Ae){var Ie=q.hLinePoint,Ge,We;Se=Ie&&Ie.xa,_e=Ie&&Ie.ya;var Be=_e.spikesnap;Be==="cursor"?(Ge=we.pointerX,We=we.pointerY):(Ge=Se._offset+Ie.x,We=_e._offset+Ie.y);var Ve=o.readability(Ie.color,Ee)<1.5?h.contrast(Ee):Ie.color,lt=_e.spikemode,pt=_e.spikethickness,ct=_e.spikecolor||Ve,nt=u.getPxPosition(Q,_e),vt,mt;if(lt.indexOf("toaxis")!==-1||lt.indexOf("across")!==-1){if(lt.indexOf("toaxis")!==-1&&(vt=nt,mt=Ge),lt.indexOf("across")!==-1){var xt=_e._counterDomainMin,Tt=_e._counterDomainMax;_e.anchor==="free"&&(xt=Math.min(xt,_e.position),Tt=Math.max(Tt,_e.position)),vt=Te.l+xt*Te.w,mt=Te.l+Tt*Te.w}se.insert("line",":first-child").attr({x1:vt,x2:mt,y1:We,y2:We,"stroke-width":pt,stroke:ct,"stroke-dasharray":s.dashStyle(_e.spikedash,pt)}).classed("spikeline",!0).classed("crisp",!0),se.insert("line",":first-child").attr({x1:vt,x2:mt,y1:We,y2:We,"stroke-width":pt+2,stroke:Ee}).classed("spikeline",!0).classed("crisp",!0)}lt.indexOf("marker")!==-1&&se.insert("circle",":first-child").attr({cx:nt+(_e.side!=="right"?pt:-pt),cy:We,r:pt,fill:ct}).classed("spikeline",!0)}if(ke){var Mt=q.vLinePoint,at,Oe;Se=Mt&&Mt.xa,_e=Mt&&Mt.ya;var Ye=Se.spikesnap;Ye==="cursor"?(at=we.pointerX,Oe=we.pointerY):(at=Se._offset+Mt.x,Oe=_e._offset+Mt.y);var Ze=o.readability(Mt.color,Ee)<1.5?h.contrast(Ee):Mt.color,Ke=Se.spikemode,Fe=Se.spikethickness,Ne=Se.spikecolor||Ze,$e=u.getPxPosition(Q,Se),Pe,me;if(Ke.indexOf("toaxis")!==-1||Ke.indexOf("across")!==-1){if(Ke.indexOf("toaxis")!==-1&&(Pe=$e,me=Oe),Ke.indexOf("across")!==-1){var Ce=Se._counterDomainMin,He=Se._counterDomainMax;Se.anchor==="free"&&(Ce=Math.min(Ce,Se.position),He=Math.max(He,Se.position)),Pe=Te.t+(1-He)*Te.h,me=Te.t+(1-Ce)*Te.h}se.insert("line",":first-child").attr({x1:at,x2:at,y1:Pe,y2:me,"stroke-width":Fe,stroke:Ne,"stroke-dasharray":s.dashStyle(Se.spikedash,Fe)}).classed("spikeline",!0).classed("crisp",!0),se.insert("line",":first-child").attr({x1:at,x2:at,y1:Pe,y2:me,"stroke-width":Fe+2,stroke:Ee}).classed("spikeline",!0).classed("crisp",!0)}Ke.indexOf("marker")!==-1&&se.insert("circle",":first-child").attr({cx:at,cy:$e-(Se.side!=="top"?Fe:-Fe),r:Fe,fill:Ne}).classed("spikeline",!0)}}}function oe(Q,q,ce){if(!ce||ce.length!==Q._hoverdata.length)return!0;for(var se=ce.length-1;se>=0;se--){var pe=ce[se],Te=Q._hoverdata[se];if(pe.curveNumber!==Te.curveNumber||String(pe.pointNumber)!==String(Te.pointNumber)||String(pe.pointNumbers)!==String(Te.pointNumbers))return!0}return!1}function de(Q,q){return!q||q.vLinePoint!==Q._spikepoints.vLinePoint||q.hLinePoint!==Q._spikepoints.hLinePoint}function te(Q,q){return n.plainText(Q||"",{len:q,allowedTags:["br","sub","sup","b","i","em"]})}function J(Q,q){for(var ce=q.charAt(0),se=[],pe=[],Te=[],we=0;we1)){delete v.grid;return}if(!C&&!g&&!f){var d=w("pattern")==="independent";d&&(C=!0)}N._hasSubplotGrid=C;var L=w("roworder"),E=L==="top to bottom",B=C?.2:.1,z=C?.3:.1,Y,H;x&&v._splomGridDflt&&(Y=v._splomGridDflt.xside,H=v._splomGridDflt.yside),N._domains={x:n("x",w,B,Y,I),y:n("y",w,z,H,P,E)}}function n(h,v,u,b,m,C){var g=v(h+"gap",u),f=v("domain."+h);v(h+"side",b);for(var x=new Array(m),M=f[0],R=(f[1]-M)/(m-g),N=R*(1-g),w=0;w(n==="legend"?1:0));if(E===!1&&(s[n]=void 0),!(E===!1&&!v.uirevision)&&(b("uirevision",s.uirevision),E!==!1)){b("borderwidth");var B=b("orientation"),z=b("yref"),Y=b("xref"),H=B==="h",G=z==="paper",W=Y==="paper",V,j,$,re="left";H?(V=0,c.getComponentMethod("rangeslider","isVisible")(l.xaxis)?G?(j=1.1,$="bottom"):(j=1,$="top"):G?(j=-.1,$="top"):(j=0,$="bottom")):(j=1,$="auto",W?V=1.02:(V=1,re="right")),A.coerce(v,u,{x:{valType:"number",editType:"legend",min:W?-2:0,max:W?3:1,dflt:V}},"x"),A.coerce(v,u,{y:{valType:"number",editType:"legend",min:G?-2:0,max:G?3:1,dflt:j}},"y"),b("traceorder",w),y.isGrouped(s[n])&&b("tracegroupgap"),b("entrywidth"),b("entrywidthmode"),b("indentation"),b("itemsizing"),b("itemwidth"),b("itemclick"),b("itemdoubleclick"),b("groupclick"),b("xanchor",re),b("yanchor",$),b("valign"),A.noneOrAll(v,u,["x","y"]);var ae=b("title.text");if(ae){b("title.side",H?"left":"top");var oe=A.extendFlat({},m,{size:A.bigFont(m.size)});A.coerceFont(b,"title.font",oe)}}}}k.exports=function(l,s,h){var v,u=h.slice(),b=s.shapes;if(b)for(v=0;v1)}var q=re.hiddenlabels||[];if(!te&&(!re.showlegend||!J.length))return de.selectAll("."+ae).remove(),re._topdefs.select("#"+oe).remove(),o.autoMargin(V,ae);var ce=A.ensureSingle(de,"g",ae,function(Ee){te||Ee.attr("pointer-events","all")}),se=A.ensureSingleById(re._topdefs,"clipPath",oe,function(Ee){Ee.append("rect")}),pe=A.ensureSingle(ce,"rect","bg",function(Ee){Ee.attr("shape-rendering","crispEdges")});pe.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Te=A.ensureSingle(ce,"g","scrollbox"),we=$.title;$._titleWidth=0,$._titleHeight=0;var Ae;we.text?(Ae=A.ensureSingle(Te,"text",ae+"titletext"),Ae.attr("text-anchor","start").call(y.font,we.font).text(we.text),L(Ae,Te,V,$,f)):Te.selectAll("."+ae+"titletext").remove();var ke=A.ensureSingle(ce,"rect","scrollbar",function(Ee){Ee.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),Se=Te.selectAll("g.groups").data(J);Se.enter().append("g").attr("class","groups"),Se.exit().remove();var _e=Se.selectAll("g.traces").data(A.identity);_e.enter().append("g").attr("class","traces"),_e.exit().remove(),_e.style("opacity",function(Ee){var Ie=Ee[0].trace;return _.traceIs(Ie,"pie-like")?q.indexOf(Ee[0].label)!==-1?.5:1:Ie.visible==="legendonly"?.5:1}).each(function(){c.select(this).call(P,V,$)}).call(C,V,$).each(function(){te||c.select(this).call(d,V,ae)}),A.syncOrAsync([o.previousPromises,function(){return z(V,Se,_e,$)},function(){var Ee=re._size,Ie=$.borderwidth,Ge=$.xref==="paper",We=$.yref==="paper";if(we.text&&M(Ae,$,Ie),!te){var Be,Ve;Ge?Be=Ee.l+Ee.w*$.x-u[H($)]*$._width:Be=re.width*$.x-u[H($)]*$._width,We?Ve=Ee.t+Ee.h*(1-$.y)-u[G($)]*$._effHeight:Ve=re.height*(1-$.y)-u[G($)]*$._effHeight;var lt=Y(V,ae,Be,Ve);if(lt)return;if(re.margin.autoexpand){var pt=Be,ct=Ve;Be=Ge?A.constrain(Be,0,re.width-$._width):pt,Ve=We?A.constrain(Ve,0,re.height-$._effHeight):ct,Be!==pt&&A.log("Constrain "+ae+".x to make legend fit inside graph"),Ve!==ct&&A.log("Constrain "+ae+".y to make legend fit inside graph")}y.setTranslate(ce,Be,Ve)}if(ke.on(".drag",null),ce.on("wheel",null),te||$._height<=$._maxHeight||V._context.staticPlot){var nt=$._effHeight;te&&(nt=$._height),pe.attr({width:$._width-Ie,height:nt-Ie,x:Ie/2,y:Ie/2}),y.setTranslate(Te,0,0),se.select("rect").attr({width:$._width-2*Ie,height:nt-2*Ie,x:Ie,y:Ie}),y.setClipUrl(Te,oe,V),y.setRect(ke,0,0,0,0),delete $._scrollY}else{var vt=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),mt=$._effHeight-vt-2*s.scrollBarMargin,xt=$._height-$._effHeight,Tt=mt/xt,Mt=Math.min($._scrollY||0,xt);pe.attr({width:$._width-2*Ie+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Ie,x:Ie/2,y:Ie/2}),se.select("rect").attr({width:$._width-2*Ie+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Ie,x:Ie,y:Ie+Mt}),y.setClipUrl(Te,oe,V),$e(Mt,vt,Tt),ce.on("wheel",function(){Mt=A.constrain($._scrollY+c.event.deltaY/mt*xt,0,xt),$e(Mt,vt,Tt),Mt!==0&&Mt!==xt&&c.event.preventDefault()});var at,Oe,Ye,Ze=function(qe,st,ut){var kt=(ut-st)/Tt+qe;return A.constrain(kt,0,xt)},Ke=function(qe,st,ut){var kt=(st-ut)/Tt+qe;return A.constrain(kt,0,xt)},Fe=c.behavior.drag().on("dragstart",function(){var qe=c.event.sourceEvent;qe.type==="touchstart"?at=qe.changedTouches[0].clientY:at=qe.clientY,Ye=Mt}).on("drag",function(){var qe=c.event.sourceEvent;qe.buttons===2||qe.ctrlKey||(qe.type==="touchmove"?Oe=qe.changedTouches[0].clientY:Oe=qe.clientY,Mt=Ze(Ye,at,Oe),$e(Mt,vt,Tt))});ke.call(Fe);var Ne=c.behavior.drag().on("dragstart",function(){var qe=c.event.sourceEvent;qe.type==="touchstart"&&(at=qe.changedTouches[0].clientY,Ye=Mt)}).on("drag",function(){var qe=c.event.sourceEvent;qe.type==="touchmove"&&(Oe=qe.changedTouches[0].clientY,Mt=Ke(Ye,at,Oe),$e(Mt,vt,Tt))});Te.call(Ne)}function $e(qe,st,ut){$._scrollY=V._fullLayout[ae]._scrollY=qe,y.setTranslate(Te,0,-qe),y.setRect(ke,$._width,s.scrollBarMargin+qe*ut,s.scrollBarWidth,st),se.select("rect").attr("y",Ie+qe)}if(V._context.edits.legendPosition){var Pe,me,Ce,He;ce.classed("cursor-move",!0),p.init({element:ce.node(),gd:V,prepFn:function(){var qe=y.getTranslate(ce);Ce=qe.x,He=qe.y},moveFn:function(qe,st){var ut=Ce+qe,kt=He+st;y.setTranslate(ce,ut,kt),Pe=p.align(ut,$._width,Ee.l,Ee.l+Ee.w,$.xanchor),me=p.align(kt+$._height,-$._height,Ee.t+Ee.h,Ee.t,$.yanchor)},doneFn:function(){if(Pe!==void 0&&me!==void 0){var qe={};qe[ae+".x"]=Pe,qe[ae+".y"]=me,_.call("_guiRelayout",V,qe)}},clickFn:function(qe,st){var ut=de.selectAll("g.traces").filter(function(){var kt=this.getBoundingClientRect();return st.clientX>=kt.left&&st.clientX<=kt.right&&st.clientY>=kt.top&&st.clientY<=kt.bottom});ut.size()>0&&w(V,ce,ut,qe,st)}})}}],V)}}function N(V,j,$){var re=V[0],ae=re.width,oe=j.entrywidthmode,de=re.trace.legendwidth||j.entrywidth;return oe==="fraction"?j._maxWidth*de:$+(de||ae)}function w(V,j,$,re,ae){var oe=$.data()[0][0].trace,de={event:ae,node:$.node(),curveNumber:oe.index,expandedIndex:oe._expandedIndex,data:V.data,layout:V.layout,frames:V._transitionData._frames,config:V._context,fullData:V._fullData,fullLayout:V._fullLayout};oe._group&&(de.group=oe._group),_.traceIs(oe,"pie-like")&&(de.label=$.datum()[0].label);var te=T.triggerHandler(V,"plotly_legendclick",de);if(re===1){if(te===!1)return;j._clickTimeout=setTimeout(function(){V._fullLayout&&l($,V,re)},V._context.doubleClickDelay)}else if(re===2){j._clickTimeout&&clearTimeout(j._clickTimeout),V._legendMouseDownTime=0;var J=T.triggerHandler(V,"plotly_legenddoubleclick",de);J!==!1&&te!==!1&&l($,V,re)}}function P(V,j,$){var re=W($),ae=V.data()[0][0],oe=ae.trace,de=_.traceIs(oe,"pie-like"),te=!$._inHover&&j._context.edits.legendText&&!de,J=$._maxNameLength,ie,Z;ae.groupTitle?(ie=ae.groupTitle.text,Z=ae.groupTitle.font):(Z=$.font,$.entries?ie=ae.text:(ie=de?ae.label:oe.name,oe._meta&&(ie=A.templateString(ie,oe._meta))));var ue=A.ensureSingle(V,"text",re+"text");ue.attr("text-anchor","start").call(y.font,Z).text(te?I(ie,J):ie);var fe=$.indentation+$.itemwidth+s.itemGap*2;n.positionText(ue,fe,0),te?ue.call(n.makeEditable,{gd:j,text:ie}).call(L,V,j,$).on("edit",function(Q){this.text(I(Q,J)).call(L,V,j,$);var q=ae.trace._fullInput||{},ce={};if(_.hasTransform(q,"groupby")){var se=_.getTransformIndices(q,"groupby"),pe=se[se.length-1],Te=A.keyedContainer(q,"transforms["+pe+"].styles","target","value.name");Te.set(ae.trace._group,Q),ce=Te.constructUpdate()}else ce.name=Q;return q._isShape?_.call("_guiRelayout",j,"shapes["+oe.index+"].name",ce.name):_.call("_guiRestyle",j,ce,oe.index)}):L(ue,V,j,$)}function I(V,j){var $=Math.max(4,j);if(V&&V.trim().length>=$/2)return V;V=V||"";for(var re=$-V.length;re>0;re--)V+=" ";return V}function d(V,j,$){var re=j._context.doubleClickDelay,ae,oe=1,de=A.ensureSingle(V,"rect",$+"toggle",function(te){j._context.staticPlot||te.style("cursor","pointer").attr("pointer-events","all"),te.call(a.fill,"rgba(0,0,0,0)")});j._context.staticPlot||(de.on("mousedown",function(){ae=new Date().getTime(),ae-j._legendMouseDownTimere&&(oe=Math.max(oe-1,1)),w(j,te,V,oe,c.event)}}))}function L(V,j,$,re,ae){re._inHover&&V.attr("data-notex",!0),n.convertToTspans(V,$,function(){E(j,$,re,ae)})}function E(V,j,$,re){var ae=V.data()[0][0];if(!$._inHover&&ae&&!ae.trace.showlegend){V.remove();return}var oe=V.select("g[class*=math-group]"),de=oe.node(),te=W($);$||($=j._fullLayout[te]);var J=$.borderwidth,ie;re===f?ie=$.title.font:ae.groupTitle?ie=ae.groupTitle.font:ie=$.font;var Z=ie.size*v,ue,fe;if(de){var Q=y.bBox(de);ue=Q.height,fe=Q.width,re===f?y.setTranslate(oe,J,J+ue*.75):y.setTranslate(oe,0,ue*.25)}else{var q="."+te+(re===f?"title":"")+"text",ce=V.select(q),se=n.lineCount(ce),pe=ce.node();if(ue=Z*se,fe=pe?y.bBox(pe).width:0,re===f)$.title.side==="left"&&(fe+=s.itemGap*2),n.positionText(ce,J+s.titlePad,J+Z);else{var Te=s.itemGap*2+$.indentation+$.itemwidth;ae.groupTitle&&(Te=s.itemGap,fe-=$.indentation+$.itemwidth),n.positionText(ce,Te,-Z*((se-1)/2-.3))}}re===f?($._titleWidth=fe,$._titleHeight=ue):(ae.lineHeight=Z,ae.height=Math.max(ue,16)+3,ae.width=fe)}function B(V){var j=0,$=0,re=V.title.side;return re&&(re.indexOf("left")!==-1&&(j=V._titleWidth),re.indexOf("top")!==-1&&($=V._titleHeight)),[j,$]}function z(V,j,$,re){var ae=V._fullLayout,oe=W(re);re||(re=ae[oe]);var de=ae._size,te=g.isVertical(re),J=g.isGrouped(re),ie=re.entrywidthmode==="fraction",Z=re.borderwidth,ue=2*Z,fe=s.itemGap,Q=re.indentation+re.itemwidth+fe*2,q=2*(Z+fe),ce=G(re),se=re.y<0||re.y===0&&ce==="top",pe=re.y>1||re.y===1&&ce==="bottom",Te=re.tracegroupgap,we={};re._maxHeight=Math.max(se||pe?ae.height/2:de.h,30);var Ae=0;re._width=0,re._height=0;var ke=B(re);if(te)$.each(function(Ye){var Ze=Ye[0].height;y.setTranslate(this,Z+ke[0],Z+ke[1]+re._height+Ze/2+fe),re._height+=Ze,re._width=Math.max(re._width,Ye[0].width)}),Ae=Q+re._width,re._width+=fe+Q+ue,re._height+=q,J&&(j.each(function(Ye,Ze){y.setTranslate(this,0,Ze*re.tracegroupgap)}),re._height+=(re._lgroupsLength-1)*re.tracegroupgap);else{var Se=H(re),_e=re.x<0||re.x===0&&Se==="right",Ee=re.x>1||re.x===1&&Se==="left",Ie=pe||se,Ge=ae.width/2;re._maxWidth=Math.max(_e?Ie&&Se==="left"?de.l+de.w:Ge:Ee?Ie&&Se==="right"?de.r+de.w:Ge:de.w,2*Q);var We=0,Be=0;$.each(function(Ye){var Ze=N(Ye,re,Q);We=Math.max(We,Ze),Be+=Ze}),Ae=null;var Ve=0;if(J){var lt=0,pt=0,ct=0;j.each(function(){var Ye=0,Ze=0;c.select(this).selectAll("g.traces").each(function(Fe){var Ne=N(Fe,re,Q),$e=Fe[0].height;y.setTranslate(this,ke[0],ke[1]+Z+fe+$e/2+Ze),Ze+=$e,Ye=Math.max(Ye,Ne),we[Fe[0].trace.legendgroup]=Ye});var Ke=Ye+fe;pt>0&&Ke+Z+pt>re._maxWidth?(Ve=Math.max(Ve,pt),pt=0,ct+=lt+Te,lt=Ze):lt=Math.max(lt,Ze),y.setTranslate(this,pt,ct),pt+=Ke}),re._width=Math.max(Ve,pt)+Z,re._height=ct+lt+q}else{var nt=$.size(),vt=Be+ue+(nt-1)*fe=re._maxWidth&&(Ve=Math.max(Ve,Mt),xt=0,Tt+=mt,re._height+=mt,mt=0),y.setTranslate(this,ke[0]+Z+xt,ke[1]+Z+Tt+Ze/2+fe),Mt=xt+Ke+fe,xt+=Fe,mt=Math.max(mt,Ze)}),vt?(re._width=xt+ue,re._height=mt+q):(re._width=Math.max(Ve,Mt)+ue,re._height+=mt+q)}}re._width=Math.ceil(Math.max(re._width+ke[0],re._titleWidth+2*(Z+s.titlePad))),re._height=Math.ceil(Math.max(re._height+ke[1],re._titleHeight+2*(Z+s.itemGap))),re._effHeight=Math.min(re._height,re._maxHeight);var at=V._context.edits,Oe=at.legendText||at.legendPosition;$.each(function(Ye){var Ze=c.select(this).select("."+oe+"toggle"),Ke=Ye[0].height,Fe=Ye[0].trace.legendgroup,Ne=N(Ye,re,Q);J&&Fe!==""&&(Ne=we[Fe]);var $e=Oe?Q:Ae||Ne;!te&&!ie&&($e+=fe/2),y.setRect(Ze,0,-Ke/2,$e,Ke)})}function Y(V,j,$,re){var ae=V._fullLayout,oe=ae[j],de=H(oe),te=G(oe),J=oe.xref==="paper",ie=oe.yref==="paper";V._fullLayout._reservedMargin[j]={};var Z=oe.y<.5?"b":"t",ue=oe.x<.5?"l":"r",fe={r:ae.width-$,l:$+oe._width,b:ae.height-re,t:re+oe._effHeight};if(J&&ie)return o.autoMargin(V,j,{x:oe.x,y:oe.y,l:oe._width*u[de],r:oe._width*b[de],b:oe._effHeight*b[te],t:oe._effHeight*u[te]});J?V._fullLayout._reservedMargin[j][Z]=fe[Z]:ie||oe.orientation==="v"?V._fullLayout._reservedMargin[j][ue]=fe[ue]:V._fullLayout._reservedMargin[j][Z]=fe[Z]}function H(V){return A.isRightAnchor(V)?"right":A.isCenterAnchor(V)?"center":"left"}function G(V){return A.isBottomAnchor(V)?"bottom":A.isMiddleAnchor(V)?"middle":"top"}function W(V){return V._id||"legend"}},35456:function(k,D,r){var c=r(24040),A=r(42451);k.exports=function(_,T,p){var y=T._inHover,a=A.isGrouped(T),n=A.isReversed(T),l={},s=[],h=!1,v={},u=0,b=0,m,C;function g(V,j,$){if(T.visible!==!1&&!(p&&V!==T._id))if(j===""||!A.isGrouped(T)){var re="~~i"+u;s.push(re),l[re]=[$],u++}else s.indexOf(j)===-1?(s.push(j),h=!0,l[j]=[$]):l[j].push($)}for(m=0;m<_.length;m++){var f=_[m],x=f[0],M=x.trace,R=M.legend,N=M.legendgroup;if(!(!y&&(!M.visible||!M.showlegend)))if(c.traceIs(M,"pie-like"))for(v[N]||(v[N]={}),C=0;CE&&(L=E)}I[m][0]._groupMinRank=L,I[m][0]._preGroupSort=m}var B=function(V,j){return V[0]._groupMinRank-j[0]._groupMinRank||V[0]._preGroupSort-j[0]._preGroupSort},z=function(V,j){return V.trace.legendrank-j.trace.legendrank||V._preSort-j._preSort};for(I.forEach(function(V,j){V[0]._preGroupSort=j}),I.sort(B),m=0;m0)ue=J.width;else return 0;return P?Z:Math.min(ue,ie)};M.each(function(te){var J=c.select(this),ie=o.ensureSingle(J,"g","layers");ie.style("opacity",te[0].trace.opacity);var Z=N.indentation,ue=N.valign,fe=te[0].lineHeight,Q=te[0].height;if(ue==="middle"&&Z===0||!fe||!Q)ie.attr("transform",null);else{var q={top:1,bottom:-1}[ue],ce=q*(.5*(fe-Q+3))||0,se=N.indentation;ie.attr("transform",_(se,ce))}var pe=ie.selectAll("g.legendfill").data([te]);pe.enter().append("g").classed("legendfill",!0);var Te=ie.selectAll("g.legendlines").data([te]);Te.enter().append("g").classed("legendlines",!0);var we=ie.selectAll("g.legendsymbols").data([te]);we.enter().append("g").classed("legendsymbols",!0),we.selectAll("g.legendpoints").data([te]).enter().append("g").classed("legendpoints",!0)}).each(de).each(Y).each(G).each(H).each(V).each(ae).each(re).each(B).each(z).each(j).each($);function B(te){var J=g(te),ie=J.showFill,Z=J.showLine,ue=J.showGradientLine,fe=J.showGradientFill,Q=J.anyFill,q=J.anyLine,ce=te[0],se=ce.trace,pe,Te,we=y(se),Ae=we.colorscale,ke=we.reversescale,Se=function(Ve){if(Ve.size())if(ie)T.fillGroupStyle(Ve,R,!0);else{var lt="legendfill-"+se.uid;T.gradient(Ve,R,lt,C(ke),Ae,"fill")}},_e=function(Ve){if(Ve.size()){var lt="legendline-"+se.uid;T.lineGroupStyle(Ve),T.gradient(Ve,R,lt,C(ke),Ae,"stroke")}},Ee=a.hasMarkers(se)||!Q?"M5,0":q?"M5,-2":"M5,-3",Ie=c.select(this),Ge=Ie.select(".legendfill").selectAll("path").data(ie||fe?[te]:[]);if(Ge.enter().append("path").classed("js-fill",!0),Ge.exit().remove(),Ge.attr("d",Ee+"h"+I+"v6h-"+I+"z").call(Se),Z||ue){var We=E(void 0,se.line,b,v);Te=o.minExtend(se,{line:{width:We}}),pe=[o.minExtend(ce,{trace:Te})]}var Be=Ie.select(".legendlines").selectAll("path").data(Z||ue?[pe]:[]);Be.enter().append("path").classed("js-line",!0),Be.exit().remove(),Be.attr("d",Ee+(ue?"l"+I+",0.0001":"h"+I)).call(Z?T.lineGroupStyle:_e)}function z(te){var J=g(te),ie=J.anyFill,Z=J.anyLine,ue=J.showLine,fe=J.showMarker,Q=te[0],q=Q.trace,ce=!fe&&!Z&&!ie&&a.hasText(q),se,pe;function Te(Ge,We,Be,Ve){var lt=o.nestedProperty(q,Ge).get(),pt=o.isArrayOrTypedArray(lt)&&We?We(lt):lt;if(P&&pt&&Ve!==void 0&&(pt=Ve),Be){if(ptBe[1])return Be[1]}return pt}function we(Ge){return Q._distinct&&Q.index&&Ge[Q.index]?Ge[Q.index]:Ge[0]}if(fe||ce||ue){var Ae={},ke={};if(fe){Ae.mc=Te("marker.color",we),Ae.mx=Te("marker.symbol",we),Ae.mo=Te("marker.opacity",o.mean,[.2,1]),Ae.mlc=Te("marker.line.color",we),Ae.mlw=Te("marker.line.width",o.mean,[0,5],u),ke.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Se=Te("marker.size",o.mean,[2,16],h);Ae.ms=Se,ke.marker.size=Se}ue&&(ke.line={width:Te("line.width",we,[0,10],v)}),ce&&(Ae.tx="Aa",Ae.tp=Te("textposition",we),Ae.ts=10,Ae.tc=Te("textfont.color",we),Ae.tf=Te("textfont.family",we),Ae.tw=Te("textfont.weight",we),Ae.ty=Te("textfont.style",we),Ae.tv=Te("textfont.variant",we)),se=[o.minExtend(Q,Ae)],pe=o.minExtend(q,ke),pe.selectedpoints=null,pe.texttemplate=null}var _e=c.select(this).select("g.legendpoints"),Ee=_e.selectAll("path.scatterpts").data(fe?se:[]);Ee.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",L),Ee.exit().remove(),Ee.call(T.pointStyle,pe,R),fe&&(se[0].mrc=3);var Ie=_e.selectAll("g.pointtext").data(ce?se:[]);Ie.enter().append("g").classed("pointtext",!0).append("text").attr("transform",L),Ie.exit().remove(),Ie.selectAll("text").call(T.textPointStyle,pe,R)}function Y(te){var J=te[0].trace,ie=J.type==="waterfall";if(te[0]._distinct&&ie){var Z=te[0].trace[te[0].dir].marker;return te[0].mc=Z.color,te[0].mlw=Z.line.width,te[0].mlc=Z.line.color,W(te,this,"waterfall")}var ue=[];J.visible&&ie&&(ue=te[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var fe=c.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(ue);fe.enter().append("path").classed("legendwaterfall",!0).attr("transform",L).style("stroke-miterlimit",1),fe.exit().remove(),fe.each(function(Q){var q=c.select(this),ce=J[Q[0]].marker,se=E(void 0,ce.line,m,u);q.attr("d",Q[1]).style("stroke-width",se+"px").call(p.fill,ce.color),se&&q.call(p.stroke,ce.line.color)})}function H(te){W(te,this)}function G(te){W(te,this,"funnel")}function W(te,J,ie){var Z=te[0].trace,ue=Z.marker||{},fe=ue.line||{},Q=ue.cornerradius?"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z":"M6,6H-6V-6H6Z",q=ie?Z.visible&&Z.type===ie:A.traceIs(Z,"bar"),ce=c.select(J).select("g.legendpoints").selectAll("path.legend"+ie).data(q?[te]:[]);ce.enter().append("path").classed("legend"+ie,!0).attr("d",Q).attr("transform",L),ce.exit().remove(),ce.each(function(se){var pe=c.select(this),Te=se[0],we=E(Te.mlw,ue.line,m,u);pe.style("stroke-width",we+"px");var Ae=Te.mcc;if(!N._inHover&&"mc"in Te){var ke=y(ue),Se=ke.mid;Se===void 0&&(Se=(ke.max+ke.min)/2),Ae=T.tryColorscale(ue,"")(Se)}var _e=Ae||Te.mc||ue.color,Ee=ue.pattern,Ie=Ee&&T.getPatternAttr(Ee.shape,0,"");if(Ie){var Ge=T.getPatternAttr(Ee.bgcolor,0,null),We=T.getPatternAttr(Ee.fgcolor,0,null),Be=Ee.fgopacity,Ve=f(Ee.size,8,10),lt=f(Ee.solidity,.5,1),pt="legend-"+Z.uid;pe.call(T.pattern,"legend",R,pt,Ie,Ve,lt,Ae,Ee.fillmode,Ge,We,Be)}else pe.call(p.fill,_e);we&&p.stroke(pe,Te.mlc||fe.color)})}function V(te){var J=te[0].trace,ie=c.select(this).select("g.legendpoints").selectAll("path.legendbox").data(J.visible&&A.traceIs(J,"box-violin")?[te]:[]);ie.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",L),ie.exit().remove(),ie.each(function(){var Z=c.select(this);if((J.boxpoints==="all"||J.points==="all")&&p.opacity(J.fillcolor)===0&&p.opacity((J.line||{}).color)===0){var ue=o.minExtend(J,{marker:{size:P?h:o.constrain(J.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});ie.call(T.pointStyle,ue,R)}else{var fe=E(void 0,J.line,m,u);Z.style("stroke-width",fe+"px").call(p.fill,J.fillcolor),fe&&p.stroke(Z,J.line.color)}})}function j(te){var J=te[0].trace,ie=c.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(J.visible&&J.type==="candlestick"?[te,te]:[]);ie.enter().append("path").classed("legendcandle",!0).attr("d",function(Z,ue){return ue?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",L).style("stroke-miterlimit",1),ie.exit().remove(),ie.each(function(Z,ue){var fe=c.select(this),Q=J[ue?"increasing":"decreasing"],q=E(void 0,Q.line,m,u);fe.style("stroke-width",q+"px").call(p.fill,Q.fillcolor),q&&p.stroke(fe,Q.line.color)})}function $(te){var J=te[0].trace,ie=c.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(J.visible&&J.type==="ohlc"?[te,te]:[]);ie.enter().append("path").classed("legendohlc",!0).attr("d",function(Z,ue){return ue?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",L).style("stroke-miterlimit",1),ie.exit().remove(),ie.each(function(Z,ue){var fe=c.select(this),Q=J[ue?"increasing":"decreasing"],q=E(void 0,Q.line,m,u);fe.style("fill","none").call(T.dashLine,Q.line.dash,q),q&&p.stroke(fe,Q.line.color)})}function re(te){oe(te,this,"pie")}function ae(te){oe(te,this,"funnelarea")}function oe(te,J,ie){var Z=te[0],ue=Z.trace,fe=ie?ue.visible&&ue.type===ie:A.traceIs(ue,ie),Q=c.select(J).select("g.legendpoints").selectAll("path.legend"+ie).data(fe?[te]:[]);if(Q.enter().append("path").classed("legend"+ie,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",L),Q.exit().remove(),Q.size()){var q=ue.marker||{},ce=E(l(q.line.width,Z.pts),q.line,m,u),se="pieLike",pe=o.minExtend(ue,{marker:{line:{width:ce}}},se),Te=o.minExtend(Z,{trace:pe},se);n(Q,Te,pe,R)}}function de(te){var J=te[0].trace,ie,Z=[];if(J.visible)switch(J.type){case"histogram2d":case"heatmap":Z=[["M-15,-2V4H15V-2Z"]],ie=!0;break;case"choropleth":case"choroplethmapbox":Z=[["M-6,-6V6H6V-6Z"]],ie=!0;break;case"densitymapbox":Z=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],ie="radial";break;case"cone":Z=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],ie=!1;break;case"streamtube":Z=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],ie=!1;break;case"surface":Z=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],ie=!0;break;case"mesh3d":Z=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],ie=!1;break;case"volume":Z=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],ie=!0;break;case"isosurface":Z=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],ie=!1;break}var ue=c.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(Z);ue.enter().append("path").classed("legend3dandfriends",!0).attr("transform",L).style("stroke-miterlimit",1),ue.exit().remove(),ue.each(function(fe,Q){var q=c.select(this),ce=y(J),se=ce.colorscale,pe=ce.reversescale,Te=function(Se){if(Se.size()){var _e="legendfill-"+J.uid;T.gradient(Se,R,_e,C(pe,ie==="radial"),se,"fill")}},we;if(se){if(!ie){var ke=se.length;we=Q===0?se[pe?ke-1:0][1]:Q===1?se[pe?0:ke-1][1]:se[Math.floor((ke-1)/2)][1]}}else{var Ae=J.vertexcolor||J.facecolor||J.color;we=o.isArrayOrTypedArray(Ae)?Ae[Q]||Ae[0]:Ae}q.attr("d",fe[0]),we?q.call(p.fill,we):q.call(Te)})}};function C(x,M){var R=M?"radial":"horizontal";return R+(x?"":"reversed")}function g(x){var M=x[0].trace,R=M.contours,N=a.hasLines(M),w=a.hasMarkers(M),P=M.visible&&M.fill&&M.fill!=="none",I=!1,d=!1;if(R){var L=R.coloring;L==="lines"?I=!0:N=L==="none"||L==="heatmap"||R.showlines,R.type==="constraint"?P=R._operation!=="=":(L==="fill"||L==="heatmap")&&(d=!0)}return{showMarker:w,showLine:N,showFill:P,showGradientLine:I,showGradientFill:d,anyLine:N||I,anyFill:P||d}}function f(x,M,R){return x&&o.isArrayOrTypedArray(x)?M:x>R?R:x}},66540:function(k,D,r){r(76052),k.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},44248:function(k,D,r){var c=r(24040),A=r(7316),o=r(79811),_=r(9224),T=r(4016).eraseActiveShape,p=r(3400),y=p._,a=k.exports={};a.toImage={name:"toImage",title:function(x){var M=x._context.toImageButtonOptions||{},R=M.format||"png";return R==="png"?y(x,"Download plot as a png"):y(x,"Download plot")},icon:_.camera,click:function(x){var M=x._context.toImageButtonOptions,R={format:M.format||"png"};p.notifier(y(x,"Taking snapshot - this may take a few seconds"),"long"),R.format!=="svg"&&p.isIE()&&(p.notifier(y(x,"IE only supports svg. Changing format to svg."),"long"),R.format="svg"),["filename","width","height","scale"].forEach(function(N){N in M&&(R[N]=M[N])}),c.call("downloadImage",x,R).then(function(N){p.notifier(y(x,"Snapshot succeeded")+" - "+N,"long")}).catch(function(){p.notifier(y(x,"Sorry, there was a problem downloading your snapshot!"),"long")})}},a.sendDataToCloud={name:"sendDataToCloud",title:function(x){return y(x,"Edit in Chart Studio")},icon:_.disk,click:function(x){A.sendDataToCloud(x)}},a.editInChartStudio={name:"editInChartStudio",title:function(x){return y(x,"Edit in Chart Studio")},icon:_.pencil,click:function(x){A.sendDataToCloud(x)}},a.zoom2d={name:"zoom2d",_cat:"zoom",title:function(x){return y(x,"Zoom")},attr:"dragmode",val:"zoom",icon:_.zoombox,click:n},a.pan2d={name:"pan2d",_cat:"pan",title:function(x){return y(x,"Pan")},attr:"dragmode",val:"pan",icon:_.pan,click:n},a.select2d={name:"select2d",_cat:"select",title:function(x){return y(x,"Box Select")},attr:"dragmode",val:"select",icon:_.selectbox,click:n},a.lasso2d={name:"lasso2d",_cat:"lasso",title:function(x){return y(x,"Lasso Select")},attr:"dragmode",val:"lasso",icon:_.lasso,click:n},a.drawclosedpath={name:"drawclosedpath",title:function(x){return y(x,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:_.drawclosedpath,click:n},a.drawopenpath={name:"drawopenpath",title:function(x){return y(x,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:_.drawopenpath,click:n},a.drawline={name:"drawline",title:function(x){return y(x,"Draw line")},attr:"dragmode",val:"drawline",icon:_.drawline,click:n},a.drawrect={name:"drawrect",title:function(x){return y(x,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:_.drawrect,click:n},a.drawcircle={name:"drawcircle",title:function(x){return y(x,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:_.drawcircle,click:n},a.eraseshape={name:"eraseshape",title:function(x){return y(x,"Erase active shape")},icon:_.eraseshape,click:T},a.zoomIn2d={name:"zoomIn2d",_cat:"zoomin",title:function(x){return y(x,"Zoom in")},attr:"zoom",val:"in",icon:_.zoom_plus,click:n},a.zoomOut2d={name:"zoomOut2d",_cat:"zoomout",title:function(x){return y(x,"Zoom out")},attr:"zoom",val:"out",icon:_.zoom_minus,click:n},a.autoScale2d={name:"autoScale2d",_cat:"autoscale",title:function(x){return y(x,"Autoscale")},attr:"zoom",val:"auto",icon:_.autoscale,click:n},a.resetScale2d={name:"resetScale2d",_cat:"resetscale",title:function(x){return y(x,"Reset axes")},attr:"zoom",val:"reset",icon:_.home,click:n},a.hoverClosestCartesian={name:"hoverClosestCartesian",_cat:"hoverclosest",title:function(x){return y(x,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:_.tooltip_basic,gravity:"ne",click:n},a.hoverCompareCartesian={name:"hoverCompareCartesian",_cat:"hoverCompare",title:function(x){return y(x,"Compare data on hover")},attr:"hovermode",val:function(x){return x._fullLayout._isHoriz?"y":"x"},icon:_.tooltip_compare,gravity:"ne",click:n};function n(x,M){var R=M.currentTarget,N=R.getAttribute("data-attr"),w=R.getAttribute("data-val")||!0,P=x._fullLayout,I={},d=o.list(x,null,!0),L=P._cartesianSpikesEnabled,E,B;if(N==="zoom"){var z=w==="in"?.5:2,Y=(1+z)/2,H=(1-z)/2,G;for(B=0;B1?(oe=["toggleHover"],de=["resetViews"]):I?(ae=["zoomInGeo","zoomOutGeo"],oe=["hoverClosestGeo"],de=["resetGeo"]):P?(oe=["hoverClosest3d"],de=["resetCameraDefault3d","resetCameraLastSave3d"]):z?(ae=["zoomInMapbox","zoomOutMapbox"],oe=["toggleHover"],de=["resetViewMapbox"]):E?oe=["hoverClosestGl2d"]:d?oe=["hoverClosestPie"]:G?(oe=["hoverClosestCartesian","hoverCompareCartesian"],de=["resetViewSankey"]):oe=["toggleHover"],w&&(oe=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(h(C)||V)&&(oe=[]),(w||E)&&!W&&(ae=["zoomIn2d","zoomOut2d","autoScale2d"],de[0]!=="resetViews"&&(de=["resetScale2d"])),P?te=["zoom3d","pan3d","orbitRotation","tableRotation"]:(w||E)&&!W||B?te=["zoom2d","pan2d"]:z||I?te=["pan2d"]:Y&&(te=["zoom2d"]),s(C)&&te.push("select2d","lasso2d");var J=[],ie=function(Q){J.indexOf(Q)===-1&&oe.indexOf(Q)!==-1&&J.push(Q)};if(Array.isArray(R)){for(var Z=[],ue=0;ue0);if(f){var x=a(s,h,v);C("x",x[0]),C("y",x[1]),c.noneOrAll(l,s,["x","y"]),C("xanchor"),C("yanchor"),c.coerceFont(C,"font",h.font);var M=C("bgcolor");C("activecolor",A.contrast(M,p.lightAmount,p.darkAmount)),C("bordercolor"),C("borderwidth")}};function y(n,l,s,h){var v=h.calendar;function u(C,g){return c.coerce(n,l,T.buttons,C,g)}var b=u("visible");if(b){var m=u("step");m!=="all"&&(v&&v!=="gregorian"&&(m==="month"||m==="year")?l.stepmode="backward":u("stepmode"),u("count")),u("label")}}function a(n,l,s){for(var h=s.filter(function(m){return l[m].anchor===n._id}),v=0,u=0;u=_e.max)ke=se[Se+1];else if(Ae<_e.min)break}return ke+ce*Ae},fe=0;fe=_e.pmax)ke=se[Se+1];else if(Ae<_e.pmin)break}return(Ae-ke)/ce}}}if(V.rangemode!=="match"){var pe=W.r2l(V.range[0]),Te=W.r2l(V.range[1]),we=Te-pe;G.d2pOppAxis=function(Ae){return(Ae-pe)/we*G._height}}H.call(g,P,Y,G).call(f,P,Y,G).call(x,P,Y,G).call(R,P,Y,G,V).call(N,P,Y,G).call(w,P,Y,G),b(H,P,Y,G),C(H,P,Y,G,W,V),Y.side==="bottom"&&a.draw(P,Y._id+"title",{propContainer:Y,propName:Y._name+".title",placeholder:I._dfltTitle.x,attributes:{x:Y._offset+Y._length/2,y:te+G._height+G._offsetShift+10+1.5*Y.title.font.size,"text-anchor":"middle"}})}))};function u(P){return typeof P.clientX=="number"?P.clientX:P.touches&&P.touches.length>0?P.touches[0].clientX:0}function b(P,I,d,L){if(I._context.staticPlot)return;var E=P.select("rect."+v.slideBoxClassName).node(),B=P.select("rect."+v.grabAreaMinClassName).node(),z=P.select("rect."+v.grabAreaMaxClassName).node();function Y(){var H=c.event,G=H.target,W=u(H),V=W-P.node().getBoundingClientRect().left,j=L.d2p(d._rl[0]),$=L.d2p(d._rl[1]),re=s.coverSlip();this.addEventListener("touchmove",ae),this.addEventListener("touchend",oe),re.addEventListener("mousemove",ae),re.addEventListener("mouseup",oe);function ae(de){var te=u(de),J=+te-W,ie,Z,ue;switch(G){case E:if(ue="ew-resize",j+J>d._length||$+J<0)return;ie=j+J,Z=$+J;break;case B:if(ue="col-resize",j+J>d._length)return;ie=j+J,Z=$;break;case z:if(ue="col-resize",$+J<0)return;ie=j,Z=$+J;break;default:ue="ew-resize",ie=V,Z=V+J;break}if(Z=0;Y--){var H=R.append("path").attr(w).style("opacity",Y?.1:P).call(_.stroke,d).call(_.fill,I).call(T.dashLine,Y?"solid":E,Y?4+L:L);if(h(H,m,f),B){var G=p(m.layout,"selections",f);H.style({cursor:"move"});var W={element:H.node(),plotinfo:x,gd:m,editHelpers:G,isActiveSelection:!0},V=c(N,m);A(V,H,W)}else H.style("pointer-events",Y?"all":"none");z[Y]=H}var j=z[0],$=z[1];$.node().addEventListener("click",function(){return v(m,j)})}}function h(m,C,g){var f=g.xref+g.yref;T.setClipUrl(m,"clip"+C._fullLayout._uid+f,C)}function v(m,C){if(l(m)){var g=C.node(),f=+g.getAttribute("data-index");if(f>=0){if(f===m._fullLayout._activeSelectionIndex){b(m);return}m._fullLayout._activeSelectionIndex=f,m._fullLayout._deactivateSelection=b,n(m)}}}function u(m){if(l(m)){var C=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=C,m._fullLayout._deactivateSelection=b,n(m)}}function b(m){if(l(m)){var C=m._fullLayout._activeSelectionIndex;C>=0&&(o(m),delete m._fullLayout._activeSelectionIndex,n(m))}}},34200:function(k,D,r){var c=r(98192).u,A=r(92880).extendFlat;k.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:A({},c,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},81004:function(k){k.exports=function(r,c,A){A("newselection.mode");var o=A("newselection.line.width");o&&(A("newselection.line.color"),A("newselection.line.dash")),A("activeselection.fillcolor"),A("activeselection.opacity")}},5968:function(k,D,r){var c=r(72760),A=c.selectMode,o=r(1936),_=o.clearOutline,T=r(9856),p=T.readPaths,y=T.writePaths,a=T.fixDatesForPaths;k.exports=function(l,s){if(l.length){var h=l[0][0];if(h){var v=h.getAttribute("d"),u=s.gd,b=u._fullLayout.newselection,m=s.plotinfo,C=m.xaxis,g=m.yaxis,f=s.isActiveSelection,x=s.dragmode,M=(u.layout||{}).selections||[];if(!A(x)&&f!==void 0){var R=u._fullLayout._activeSelectionIndex;if(R=0){Ct._fullLayout._deactivateShape(Ct);return}if(!st){var Gn=Jt.clickmode;d.done(Kr).then(function(){if(d.clear(Kr),an===2){for(sr.remove(),ir=0;ir-1&&oe(Hn,Ct,$e.xaxes,$e.yaxes,$e.subplot,$e,sr),Gn==="event"&&Ye(Ct,void 0);p.click(Ct,Hn,tr.id)}).catch(w.error)}},$e.doneFn=function(){kr.remove(),d.done(Kr).then(function(){d.clear(Kr),!wr&&zt&&$e.selectionDefs&&(zt.subtract=Tr,$e.selectionDefs.push(zt),$e.mergedPolygons.length=0,[].push.apply($e.mergedPolygons,Ht)),(wr||st)&&Q($e,wr),$e.doneFnCompleted&&$e.doneFnCompleted(Br),ut&&Ye(Ct,hr)}).catch(w.error)}}function oe(Ke,Fe,Ne,$e,Pe,me,Ce){var He=Fe._hoverdata,qe=Fe._fullLayout,st=qe.clickmode,ut=st.indexOf("event")>-1,kt=[],_t,gt,Ct,Jt,wr,yt,qt,tr,br,lr;if(pe(He)){Z(Ke,Fe,me),_t=ce(Fe,Ne,$e,Pe);var Et=Te(He,_t),ft=Et.pointNumbers.length>0;if(ft?Ae(_t,Et):ke(_t)&&(qt=we(Et))){for(Ce&&Ce.remove(),lr=0;lr<_t.length;lr++)gt=_t[lr],gt._module.selectPoints(gt,!1);Se(Fe,_t),Q(me),ut&&Ze(Fe)}else{tr=Ke.shiftKey&&(qt!==void 0?qt:we(Et)),Ct=de(Et.pointNumber,Et.searchInfo,tr);var St=me.selectionDefs.concat([Ct]);for(Jt=ie(St),lr=0;lr<_t.length;lr++)if(wr=_t[lr]._module.selectPoints(_t[lr],Jt),yt=Ie(wr,_t[lr]),kt.length)for(var Lt=0;Lt=0}function fe(Ke){return Ke._fullLayout._activeSelectionIndex>=0}function Q(Ke,Fe){var Ne=Ke.dragmode,$e=Ke.plotinfo,Pe=Ke.gd;ue(Pe)&&Pe._fullLayout._deactivateShape(Pe),fe(Pe)&&Pe._fullLayout._deactivateSelection(Pe);var me=Pe._fullLayout,Ce=me._zoomlayer,He=s(Ne),qe=v(Ne);if(He||qe){var st=Ce.selectAll(".select-outline-"+$e.id);if(st&&Pe._fullLayout._outlining){var ut;He&&(ut=M(st,Ke)),ut&&o.call("_guiRelayout",Pe,{shapes:ut});var kt;qe&&!re(Ke)&&(kt=R(st,Ke)),kt&&(Pe._fullLayout._noEmitSelectedAtStart=!0,o.call("_guiRelayout",Pe,{selections:kt}).then(function(){Fe&&N(Pe)})),Pe._fullLayout._outlining=!1}}$e.selection={},$e.selection.selectionDefs=Ke.selectionDefs=[],$e.selection.mergedPolygons=Ke.mergedPolygons=[]}function q(Ke){return Ke._id}function ce(Ke,Fe,Ne,$e){if(!Ke.calcdata)return[];var Pe=[],me=Fe.map(q),Ce=Ne.map(q),He,qe,st;for(st=0;st0,me=Pe?$e[0]:Ne;return Fe.selectedpoints?Fe.selectedpoints.indexOf(me)>-1:!1}function Ae(Ke,Fe){var Ne=[],$e,Pe,me,Ce;for(Ce=0;Ce0&&Ne.push($e);if(Ne.length===1&&(me=Ne[0]===Fe.searchInfo,me&&(Pe=Fe.searchInfo.cd[0].trace,Pe.selectedpoints.length===Fe.pointNumbers.length))){for(Ce=0;Ce1||(Fe+=$e.selectedpoints.length,Fe>1)))return!1;return Fe===1}function Se(Ke,Fe,Ne){var $e;for($e=0;$e-1&&Fe;if(!Ce&&Fe){var an=nt(Ke,!0);if(an.length){var Hn=an[0].xref,Gn=an[0].yref;if(Hn&&Gn){var Mr=xt(an),Vr=Mt([L(Ke,Hn,"x"),L(Ke,Gn,"y")]);Vr(Br,Mr)}}Ke._fullLayout._noEmitSelectedAtStart?Ke._fullLayout._noEmitSelectedAtStart=!1:Sn&&Ye(Ke,Br),_t._reselect=!1}if(!Ce&&_t._deselect){var rn=_t._deselect;He=rn.xref,qe=rn.yref,lt(He,qe,ut)||pt(Ke,He,qe,$e),Sn&&(Br.points.length?Ye(Ke,Br):Ze(Ke)),_t._deselect=!1}return{eventData:Br,selectionTesters:Ne}}function Ve(Ke){var Fe=Ke.calcdata;if(Fe)for(var Ne=0;Ne0?g+b:b;return{ppad:b,ppadplus:m?x:M,ppadminus:m?M:x}}else return{ppad:b}}function a(n,l,s,h,v){var u=n.type==="category"||n.type==="multicategory"?n.r2c:n.d2c;if(l!==void 0)return[u(l),u(s)];if(h){var b=1/0,m=-1/0,C=h.match(o.segmentRE),g,f,x,M,R;for(n.type==="date"&&(u=_.decodeDate(u)),g=0;gm&&(m=R)));if(m>=b)return[b,m]}}},85448:function(k){k.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},43712:function(k,D,r){var c=r(3400),A=r(54460),o=r(51272),_=r(46056),T=r(65152);k.exports=function(n,l){o(n,l,{name:"shapes",handleItemDefaults:y})};function p(a,n){return a?"bottom":n.indexOf("top")!==-1?"top":n.indexOf("bottom")!==-1?"bottom":"middle"}function y(a,n,l){function s(te,J){return c.coerce(a,n,_,te,J)}n._isShape=!0;var h=s("visible");if(h){var v=s("showlegend");v&&(s("legend"),s("legendwidth"),s("legendgroup"),s("legendgrouptitle.text"),c.coerceFont(s,"legendgrouptitle.font"),s("legendrank"));var u=s("path"),b=u?"path":"rect",m=s("type",b),C=m!=="path";C&&delete n.path,s("editable"),s("layer"),s("opacity"),s("fillcolor"),s("fillrule");var g=s("line.width");g&&(s("line.color"),s("line.dash"));for(var f=s("xsizemode"),x=s("ysizemode"),M=["x","y"],R=0;R<2;R++){var N=M[R],w=N+"anchor",P=N==="x"?f:x,I={_fullLayout:l},d,L,E,B=A.coerceRef(a,n,I,N,void 0,"paper"),z=A.getRefType(B);if(z==="range"?(d=A.getFromId(I,B),d._shapeIndices.push(n._index),E=T.rangeToShapePosition(d),L=T.shapePositionToRange(d)):L=E=c.identity,C){var Y=.25,H=.75,G=N+"0",W=N+"1",V=a[G],j=a[W];a[G]=L(a[G],!0),a[W]=L(a[W],!0),P==="pixel"?(s(G,0),s(W,10)):(A.coercePosition(n,I,s,B,G,Y),A.coercePosition(n,I,s,B,W,H)),n[G]=E(n[G]),n[W]=E(n[W]),a[G]=V,a[W]=j}if(P==="pixel"){var $=a[w];a[w]=L(a[w],!0),A.coercePosition(n,I,s,B,w,.25),n[w]=E(n[w]),a[w]=$}}C&&c.noneOrAll(a,n,["x0","x1","y0","y1"]);var re=m==="line",ae,oe;if(C&&(ae=s("label.texttemplate")),ae||(oe=s("label.text")),oe||ae){s("label.textangle");var de=s("label.textposition",re?"middle":"middle center");s("label.xanchor"),s("label.yanchor",p(re,de)),s("label.padding"),c.coerceFont(s,"label.font",l.font)}}}},60728:function(k,D,r){var c=r(3400),A=r(54460),o=r(72736),_=r(43616),T=r(9856).readPaths,p=r(65152),y=p.getPathString,a=r(97728),n=r(84284).FROM_TL;k.exports=function(v,u,b,m){if(m.selectAll(".shape-label").remove(),!!(b.label.text||b.label.texttemplate)){var C;if(b.label.texttemplate){var g={};if(b.type!=="path"){var f=A.getFromId(v,b.xref),x=A.getFromId(v,b.yref);for(var M in a){var R=a[M](b,f,x);R!==void 0&&(g[M]=R)}}C=c.texttemplateStringForShapes(b.label.texttemplate,{},v._fullLayout._d3locale,g)}else C=b.label.text;var N={"data-index":u},w=b.label.font,P={"data-notex":1},I=m.append("g").attr(N).classed("shape-label",!0),d=I.append("text").attr(P).classed("shape-label-text",!0).text(C),L,E,B,z;if(b.path){var Y=y(v,b),H=T(Y,v);L=1/0,B=1/0,E=-1/0,z=-1/0;for(var G=0;G=h?m=v-b:m=b-v,-180/Math.PI*Math.atan2(m,C)}function s(h,v,u,b,m,C,g){var f=m.label.textposition,x=m.label.textangle,M=m.label.padding,R=m.type,N=Math.PI/180*C,w=Math.sin(N),P=Math.cos(N),I=m.label.xanchor,d=m.label.yanchor,L,E,B,z;if(R==="line"){f==="start"?(L=h,E=v):f==="end"?(L=u,E=b):(L=(h+u)/2,E=(v+b)/2),I==="auto"&&(f==="start"?x==="auto"?u>h?I="left":uh?I="right":uh?I="right":uh?I="left":u1&&!(Ee.length===2&&Ee[1][0]==="Z")&&(te===0&&(Ee[0][0]="M"),L[de]=Ee,H(),G())}}function se(Ee,Ie){if(Ee===2){de=+Ie.srcElement.getAttribute("data-i"),te=+Ie.srcElement.getAttribute("data-j");var Ge=L[de];!C(Ge)&&!g(Ge)&&ce()}}function pe(Ee){ae=[];for(var Ie=0;IeH&&Ne>G&&!Ze.shiftKey?h.getCursor($e/Fe,1-Pe/Ne):"move";v(L,me),lt=me.split("-")[0]}}function vt(Ze){g(d)||(W&&(J=Ee(E.xanchor)),V&&(ie=Ie(E.yanchor)),E.type==="path"?Te=E.path:(ae=W?E.x0:Ee(E.x0),oe=V?E.y0:Ie(E.y0),de=W?E.x1:Ee(E.x1),te=V?E.y1:Ie(E.y1)),aete?(Z=oe,q="y0",ue=te,ce="y1"):(Z=te,q="y1",ue=oe,ce="y0"),nt(Ze),at(z,E),Ye(L,E,d),Ve.moveFn=lt==="move"?Tt:Mt,Ve.altKey=Ze.altKey)}function mt(){g(d)||(v(L),Oe(z),M(L,d,E),A.call("_guiRelayout",d,Y.getUpdateObj()))}function xt(){g(d)||Oe(z)}function Tt(Ze,Ke){if(E.type==="path"){var Fe=function(Pe){return Pe},Ne=Fe,$e=Fe;W?re("xanchor",E.xanchor=Ge(J+Ze)):(Ne=function(me){return Ge(Ee(me)+Ze)},Ae&&Ae.type==="date"&&(Ne=b.encodeDate(Ne))),V?re("yanchor",E.yanchor=We(ie+Ke)):($e=function(me){return We(Ie(me)+Ke)},Se&&Se.type==="date"&&($e=b.encodeDate($e))),re("path",E.path=N(Te,Ne,$e))}else W?re("xanchor",E.xanchor=Ge(J+Ze)):(re("x0",E.x0=Ge(ae+Ze)),re("x1",E.x1=Ge(de+Ze))),V?re("yanchor",E.yanchor=We(ie+Ke)):(re("y0",E.y0=We(oe+Ke)),re("y1",E.y1=We(te+Ke)));L.attr("d",m(d,E)),at(z,E),y(d,B,E,we)}function Mt(Ze,Ke){if($){var Fe=function(yt){return yt},Ne=Fe,$e=Fe;W?re("xanchor",E.xanchor=Ge(J+Ze)):(Ne=function(qt){return Ge(Ee(qt)+Ze)},Ae&&Ae.type==="date"&&(Ne=b.encodeDate(Ne))),V?re("yanchor",E.yanchor=We(ie+Ke)):($e=function(qt){return We(Ie(qt)+Ke)},Se&&Se.type==="date"&&($e=b.encodeDate($e))),re("path",E.path=N(Te,Ne,$e))}else if(j){if(lt==="resize-over-start-point"){var Pe=ae+Ze,me=V?oe-Ke:oe+Ke;re("x0",E.x0=W?Pe:Ge(Pe)),re("y0",E.y0=V?me:We(me))}else if(lt==="resize-over-end-point"){var Ce=de+Ze,He=V?te-Ke:te+Ke;re("x1",E.x1=W?Ce:Ge(Ce)),re("y1",E.y1=V?He:We(He))}}else{var qe=function(yt){return lt.indexOf(yt)!==-1},st=qe("n"),ut=qe("s"),kt=qe("w"),_t=qe("e"),gt=st?Z+Ke:Z,Ct=ut?ue+Ke:ue,Jt=kt?fe+Ze:fe,wr=_t?Q+Ze:Q;V&&(st&&(gt=Z-Ke),ut&&(Ct=ue-Ke)),(!V&&Ct-gt>G||V&>-Ct>G)&&(re(q,E[q]=V?gt:We(gt)),re(ce,E[ce]=V?Ct:We(Ct))),wr-Jt>H&&(re(se,E[se]=W?Jt:Ge(Jt)),re(pe,E[pe]=W?wr:Ge(wr)))}L.attr("d",m(d,E)),at(z,E),y(d,B,E,we)}function at(Ze,Ke){(W||V)&&Fe();function Fe(){var Ne=Ke.type!=="path",$e=Ze.selectAll(".visual-cue").data([0]),Pe=1;$e.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":Pe}).classed("visual-cue",!0);var me=Ee(W?Ke.xanchor:o.midRange(Ne?[Ke.x0,Ke.x1]:b.extractPathCoords(Ke.path,u.paramIsX))),Ce=Ie(V?Ke.yanchor:o.midRange(Ne?[Ke.y0,Ke.y1]:b.extractPathCoords(Ke.path,u.paramIsY)));if(me=b.roundPositionForSharpStrokeRendering(me,Pe),Ce=b.roundPositionForSharpStrokeRendering(Ce,Pe),W&&V){var He="M"+(me-1-Pe)+","+(Ce-1-Pe)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";$e.attr("d",He)}else if(W){var qe="M"+(me-1-Pe)+","+(Ce-9-Pe)+"v18 h2 v-18 Z";$e.attr("d",qe)}else{var st="M"+(me-9-Pe)+","+(Ce-1-Pe)+"h18 v2 h-18 Z";$e.attr("d",st)}}}function Oe(Ze){Ze.selectAll(".visual-cue").remove()}function Ye(Ze,Ke,Fe){var Ne=Ke.xref,$e=Ke.yref,Pe=_.getFromId(Fe,Ne),me=_.getFromId(Fe,$e),Ce="";Ne!=="paper"&&!Pe.autorange&&(Ce+=Ne),$e!=="paper"&&!me.autorange&&(Ce+=$e),l.setClipUrl(Ze,Ce?"clip"+Fe._fullLayout._uid+Ce:null,Fe)}}function N(d,L,E){return d.replace(u.segmentRE,function(B){var z=0,Y=B.charAt(0),H=u.paramIsX[Y],G=u.paramIsY[Y],W=u.numParams[Y],V=B.substr(1).replace(u.paramRE,function(j){return z>=W||(H[z]?j=L(j):G[z]&&(j=E(j)),z++),j});return Y+V})}function w(d,L){if(f(d)){var E=L.node(),B=+E.getAttribute("data-index");if(B>=0){if(B===d._fullLayout._activeShapeIndex){P(d);return}d._fullLayout._activeShapeIndex=B,d._fullLayout._deactivateShape=P,C(d)}}}function P(d){if(f(d)){var L=d._fullLayout._activeShapeIndex;L>=0&&(a(d),delete d._fullLayout._activeShapeIndex,C(d))}}function I(d){if(f(d)){a(d);var L=d._fullLayout._activeShapeIndex,E=(d.layout||{}).shapes||[];if(L0&&xg&&(x="X"),x});return u>g&&(f=f.replace(/[\s,]*X.*/,""),A.log("Ignoring extra params in segment "+v)),b+f})}},41592:function(k,D,r){var c=r(4016);k.exports={moduleType:"component",name:"shapes",layoutAttributes:r(46056),supplyLayoutDefaults:r(43712),supplyDrawNewShapeDefaults:r(65144),includeBasePlot:r(36632)("shapes"),calcAutorange:r(96084),draw:c.draw,drawOne:c.drawOne}},97728:function(k){function D(v,u){return u?u.d2l(v):v}function r(v,u){return u?u.l2d(v):v}function c(v){return v.x0}function A(v){return v.x1}function o(v){return v.y0}function _(v){return v.y1}function T(v,u){return D(v.x1,u)-D(v.x0,u)}function p(v,u,b){return D(v.y1,b)-D(v.y0,b)}function y(v,u){return Math.abs(T(v,u))}function a(v,u,b){return Math.abs(p(v,u,b))}function n(v,u,b){return v.type!=="line"?void 0:Math.sqrt(Math.pow(T(v,u),2)+Math.pow(p(v,u,b),2))}function l(v,u){return r((D(v.x1,u)+D(v.x0,u))/2,u)}function s(v,u,b){return r((D(v.y1,b)+D(v.y0,b))/2,b)}function h(v,u,b){return v.type!=="line"?void 0:p(v,u,b)/T(v,u)}k.exports={x0:c,x1:A,y0:o,y1:_,slope:h,dx:T,dy:p,width:y,height:a,length:n,xcenter:l,ycenter:s}},89861:function(k,D,r){var c=r(25376),A=r(66741),o=r(92880).extendDeepAll,_=r(67824).overrideAll,T=r(85656),p=r(31780).templatedArray,y=r(60876),a=p("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});k.exports=_(p("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:o(A({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:T.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:c({})},font:c({}),activebgcolor:{valType:"color",dflt:y.gripBgActiveColor},bgcolor:{valType:"color",dflt:y.railBgColor},bordercolor:{valType:"color",dflt:y.railBorderColor},borderwidth:{valType:"number",min:0,dflt:y.railBorderWidth},ticklen:{valType:"number",min:0,dflt:y.tickLength},tickcolor:{valType:"color",dflt:y.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:y.minorTickLength}}),"arraydraw","from-root")},60876:function(k){k.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},8132:function(k,D,r){var c=r(3400),A=r(51272),o=r(89861),_=r(60876),T=_.name,p=o.steps;k.exports=function(l,s){A(l,s,{name:T,handleItemDefaults:y})};function y(n,l,s){function h(x,M){return c.coerce(n,l,o,x,M)}for(var v=A(n,l,{name:"steps",handleItemDefaults:a}),u=0,b=0;b0?[0]:[]);$.enter().append("g").classed(n.containerClassName,!0).style("cursor",W?null:"ew-resize");function re(te){te._commandObserver&&(te._commandObserver.remove(),delete te._commandObserver),A.autoMargin(G,u(te))}if($.exit().each(function(){c.select(this).selectAll("g."+n.groupClassName).each(re)}).remove(),j.length!==0){var ae=$.selectAll("g."+n.groupClassName).data(j,m);ae.enter().append("g").classed(n.groupClassName,!0),ae.exit().each(re).remove();for(var oe=0;oe0&&(ae=ae.transition().duration(G.transition.duration).ease(G.transition.easing)),ae.attr("transform",p(re-n.gripWidth*.5,G._dims.currentValueTotalHeight))}}function E(H,G){var W=H._dims;return W.inputAreaStart+n.stepInset+(W.inputAreaLength-2*n.stepInset)*Math.min(1,Math.max(0,G))}function B(H,G){var W=H._dims;return Math.min(1,Math.max(0,(G-n.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*n.stepInset-2*W.inputAreaStart)))}function z(H,G,W){var V=W._dims,j=T.ensureSingle(H,"rect",n.railTouchRectClass,function($){$.call(P,G,H,W).style("pointer-events","all")});j.attr({width:V.inputAreaLength,height:Math.max(V.inputAreaWidth,n.tickOffset+W.ticklen+V.labelHeight)}).call(o.fill,W.bgcolor).attr("opacity",0),_.setTranslate(j,0,V.currentValueTotalHeight)}function Y(H,G){var W=G._dims,V=W.inputAreaLength-n.railInset*2,j=T.ensureSingle(H,"rect",n.railRectClass);j.attr({width:V,height:n.railWidth,rx:n.railRadius,ry:n.railRadius,"shape-rendering":"crispEdges"}).call(o.stroke,G.bordercolor).call(o.fill,G.bgcolor).style("stroke-width",G.borderwidth+"px"),_.setTranslate(j,n.railInset,(W.inputAreaWidth-n.railWidth)*.5+W.currentValueTotalHeight)}},97544:function(k,D,r){var c=r(60876);k.exports={moduleType:"component",name:c.name,layoutAttributes:r(89861),supplyLayoutDefaults:r(8132),draw:r(79664)}},81668:function(k,D,r){var c=r(33428),A=r(38248),o=r(7316),_=r(24040),T=r(3400),p=T.strTranslate,y=r(43616),a=r(76308),n=r(72736),l=r(13448),s=r(84284).OPPOSITE_SIDE,h=/ [XY][0-9]* /;function v(u,b,m){var C=m.propContainer,g=m.propName,f=m.placeholder,x=m.traceIndex,M=m.avoid||{},R=m.attributes,N=m.transform,w=m.containerGroup,P=u._fullLayout,I=1,d=!1,L=C.title,E=(L&&L.text?L.text:"").trim(),B=L&&L.font?L.font:{},z=B.family,Y=B.size,H=B.color,G=B.weight,W=B.style,V=B.variant,j;g==="title.text"?j="titleText":g.indexOf("axis")!==-1?j="axisTitleText":g.indexOf("colorbar"!==-1)&&(j="colorbarTitleText");var $=u._context.edits[j];E===""?I=0:E.replace(h," % ")===f.replace(h," % ")&&(I=.2,d=!0,$||(E="")),m._meta?E=T.templateString(E,m._meta):P._meta&&(E=T.templateString(E,P._meta));var re=E||$,ae;w||(w=T.ensureSingle(P._infolayer,"g","g-"+b),ae=P._hColorbarMoveTitle);var oe=w.selectAll("text").data(re?[0]:[]);if(oe.enter().append("text"),oe.text(E).attr("class",b),oe.exit().remove(),!re)return w;function de(Z){T.syncOrAsync([te,J],Z)}function te(Z){var ue;return!N&&ae&&(N={}),N?(ue="",N.rotate&&(ue+="rotate("+[N.rotate,R.x,R.y]+")"),(N.offset||ae)&&(ue+=p(0,(N.offset||0)-(ae||0)))):ue=null,Z.attr("transform",ue),Z.style({"font-family":z,"font-size":c.round(Y,2)+"px",fill:a.rgb(H),opacity:I*a.opacity(H),"font-weight":G,"font-style":W,"font-variant":V}).attr(R).call(n.convertToTspans,u),o.previousPromises(u)}function J(Z){var ue=c.select(Z.node().parentNode);if(M&&M.selection&&M.side&&E){ue.attr("transform",null);var fe=s[M.side],Q=M.side==="left"||M.side==="top"?-1:1,q=A(M.pad)?M.pad:2,ce=y.bBox(ue.node()),se={t:0,b:0,l:0,r:0},pe=u._fullLayout._reservedMargin;for(var Te in pe)for(var we in pe[Te]){var Ae=pe[Te][we];se[we]=Math.max(se[we],Ae)}var ke={left:se.l,top:se.t,right:P.width-se.r,bottom:P.height-se.b},Se=M.maxShift||Q*(ke[M.side]-ce[M.side]),_e=0;if(Se<0)_e=Se;else{var Ee=M.offsetLeft||0,Ie=M.offsetTop||0;ce.left-=Ee,ce.right-=Ee,ce.top-=Ie,ce.bottom-=Ie,M.selection.each(function(){var We=y.bBox(this);T.bBoxIntersect(ce,We,q)&&(_e=Math.max(_e,Q*(We[M.side]-ce[fe])+q))}),_e=Math.min(Se,_e),C._titleScoot=Math.abs(_e)}if(_e>0||Se<0){var Ge={left:[-_e,0],right:[_e,0],top:[0,-_e],bottom:[0,_e]}[M.side];ue.attr("transform",p(Ge[0],Ge[1]))}}}oe.call(de);function ie(){I=0,d=!0,oe.text(f).on("mouseover.opacity",function(){c.select(this).transition().duration(l.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){c.select(this).transition().duration(l.HIDE_PLACEHOLDER).style("opacity",0)})}return $&&(E?oe.on(".opacity",null):ie(),oe.call(n.makeEditable,{gd:u}).on("edit",function(Z){x!==void 0?_.call("_guiRestyle",u,g,Z,x):_.call("_guiRelayout",u,g,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(de)}).on("input",function(Z){this.text(Z||" ").call(n.positionText,R.x,R.y)})),oe.classed("js-placeholder",d),w}k.exports={draw:v}},88444:function(k,D,r){var c=r(25376),A=r(22548),o=r(92880).extendFlat,_=r(67824).overrideAll,T=r(66741),p=r(31780).templatedArray,y=p("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});k.exports=_(p("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:y,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:o(T({editType:"arraydraw"}),{}),font:c({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:A.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},73712:function(k){k.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},91384:function(k,D,r){var c=r(3400),A=r(51272),o=r(88444),_=r(73712),T=_.name,p=o.buttons;k.exports=function(l,s){var h={name:T,handleItemDefaults:y};A(l,s,h)};function y(n,l,s){function h(b,m){return c.coerce(n,l,o,b,m)}var v=A(n,l,{name:"buttons",handleItemDefaults:a}),u=h("visible",v.length>0);u&&(h("active"),h("direction"),h("type"),h("showactive"),h("x"),h("y"),c.noneOrAll(n,l,["x","y"]),h("xanchor"),h("yanchor"),h("pad.t"),h("pad.r"),h("pad.b"),h("pad.l"),c.coerceFont(h,"font",s.font),h("bgcolor",s.paper_bgcolor),h("bordercolor"),h("borderwidth"))}function a(n,l){function s(v,u){return c.coerce(n,l,p,v,u)}var h=s("visible",n.method==="skip"||Array.isArray(n.args));h&&(s("method"),s("args"),s("args2"),s("label"),s("execute"))}},14420:function(k,D,r){var c=r(33428),A=r(7316),o=r(76308),_=r(43616),T=r(3400),p=r(72736),y=r(31780).arrayEditor,a=r(84284).LINE_SPACING,n=r(73712),l=r(37400);k.exports=function(B){var z=B._fullLayout,Y=T.filterVisible(z[n.name]);function H(oe){A.autoMargin(B,I(oe))}var G=z._menulayer.selectAll("g."+n.containerClassName).data(Y.length>0?[0]:[]);if(G.enter().append("g").classed(n.containerClassName,!0).style("cursor","pointer"),G.exit().each(function(){c.select(this).selectAll("g."+n.headerGroupClassName).each(H)}).remove(),Y.length!==0){var W=G.selectAll("g."+n.headerGroupClassName).data(Y,s);W.enter().append("g").classed(n.headerGroupClassName,!0);for(var V=T.ensureSingle(G,"g",n.dropdownButtonGroupClassName,function(oe){oe.style("pointer-events","all")}),j=0;jR,B=T.barLength+2*T.barPad,z=T.barWidth+2*T.barPad,Y=v,H=b+m;H+z>h&&(H=h-z);var G=this.container.selectAll("rect.scrollbar-horizontal").data(E?[0]:[]);G.exit().on(".drag",null).remove(),G.enter().append("rect").classed("scrollbar-horizontal",!0).call(A.fill,T.barColor),E?(this.hbar=G.attr({rx:T.barRadius,ry:T.barRadius,x:Y,y:H,width:B,height:z}),this._hbarXMin=Y+B/2,this._hbarTranslateMax=R-B):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=m>N,V=T.barWidth+2*T.barPad,j=T.barLength+2*T.barPad,$=v+u,re=b;$+V>s&&($=s-V);var ae=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);ae.exit().on(".drag",null).remove(),ae.enter().append("rect").classed("scrollbar-vertical",!0).call(A.fill,T.barColor),W?(this.vbar=ae.attr({rx:T.barRadius,ry:T.barRadius,x:$,y:re,width:V,height:j}),this._vbarYMin=re+j/2,this._vbarTranslateMax=N-j):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var oe=this.id,de=w-.5,te=W?P+V+.5:P+.5,J=I-.5,ie=E?d+z+.5:d+.5,Z=l._topdefs.selectAll("#"+oe).data(E||W?[0]:[]);if(Z.exit().remove(),Z.enter().append("clipPath").attr("id",oe).append("rect"),E||W?(this._clipRect=Z.select("rect").attr({x:Math.floor(de),y:Math.floor(J),width:Math.ceil(te)-Math.floor(de),height:Math.ceil(ie)-Math.floor(J)}),this.container.call(o.setClipUrl,oe,this.gd),this.bg.attr({x:v,y:b,width:u,height:m})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(o.setClipUrl,null),delete this._clipRect),E||W){var ue=c.behavior.drag().on("dragstart",function(){c.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(ue);var fe=c.behavior.drag().on("dragstart",function(){c.event.sourceEvent.preventDefault(),c.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));E&&this.hbar.on(".drag",null).call(fe),W&&this.vbar.on(".drag",null).call(fe)}this.setTranslate(a,n)},T.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(o.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},T.prototype._onBoxDrag=function(){var y=this.translateX,a=this.translateY;this.hbar&&(y-=c.event.dx),this.vbar&&(a-=c.event.dy),this.setTranslate(y,a)},T.prototype._onBoxWheel=function(){var y=this.translateX,a=this.translateY;this.hbar&&(y+=c.event.deltaY),this.vbar&&(a+=c.event.deltaY),this.setTranslate(y,a)},T.prototype._onBarDrag=function(){var y=this.translateX,a=this.translateY;if(this.hbar){var n=y+this._hbarXMin,l=n+this._hbarTranslateMax,s=_.constrain(c.event.x,n,l),h=(s-n)/(l-n),v=this.position.w-this._box.w;y=h*v}if(this.vbar){var u=a+this._vbarYMin,b=u+this._vbarTranslateMax,m=_.constrain(c.event.y,u,b),C=(m-u)/(b-u),g=this.position.h-this._box.h;a=C*g}this.setTranslate(y,a)},T.prototype.setTranslate=function(y,a){var n=this.position.w-this._box.w,l=this.position.h-this._box.h;if(y=_.constrain(y||0,0,n),a=_.constrain(a||0,0,l),this.translateX=y,this.translateY=a,this.container.call(o.setTranslate,this._box.l-this.position.l-y,this._box.t-this.position.t-a),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+y-.5),y:Math.floor(this.position.t+a-.5)}),this.hbar){var s=y/n;this.hbar.call(o.setTranslate,y+s*this._hbarTranslateMax,a)}if(this.vbar){var h=a/l;this.vbar.call(o.setTranslate,y,a+h*this._vbarTranslateMax)}}},84284:function(k){k.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},36208:function(k){k.exports={axisRefDescription:function(D,r,c){return["If set to a",D,"axis id (e.g. *"+D+"* or","*"+D+"2*), the `"+D+"` position refers to a",D,"coordinate. If set to *paper*, the `"+D+"`","position refers to the distance from the",r,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",r,"("+c+"). If set to a",D,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",r,"of the domain of that axis: e.g.,","*"+D+"2 domain* refers to the domain of the second",D," axis and a",D,"position of 0.5 refers to the","point between the",r,"and the",c,"of the domain of the","second",D,"axis."].join(" ")}}},48164:function(k){k.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},26880:function(k){k.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},69104:function(k){k.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},99168:function(k){k.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87792:function(k){k.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},13448:function(k){k.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},39032:function(k){k.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},2264:function(k,D){D.CSS_DECLARATIONS=[["image-rendering","optimizeSpeed"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-crisp-edges"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","optimize-contrast"],["image-rendering","crisp-edges"],["image-rendering","pixelated"]],D.STYLE=D.CSS_DECLARATIONS.map(function(r){return r.join(": ")+"; "}).join("")},9616:function(k,D){D.xmlns="http://www.w3.org/2000/xmlns/",D.svg="http://www.w3.org/2000/svg",D.xlink="http://www.w3.org/1999/xlink",D.svgAttrs={xmlns:D.svg,"xmlns:xlink":D.xlink}},64884:function(k,D,r){D.version=r(25788).version,r(88324),r(79288);for(var c=r(24040),A=D.register=c.register,o=r(22448),_=Object.keys(o),T=0;T<_.length;T++){var p=_[T];p.charAt(0)!=="_"&&(D[p]=o[p]),A({moduleType:"apiMethod",name:p,fn:o[p]})}A(r(65875)),A([r(79180),r(56864),r(22676),r(41592),r(7402),r(76908),r(97544),r(49692),r(41152),r(12704),r(64968),r(8932),r(55080),r(2780),r(93024),r(45460)]),A([r(6580),r(11680)]),window.PlotlyLocales&&Array.isArray(window.PlotlyLocales)&&(A(window.PlotlyLocales),delete window.PlotlyLocales),D.Icons=r(9224);var y=r(93024),a=r(7316);D.Plots={resize:a.resize,graphJson:a.graphJson,sendDataToCloud:a.sendDataToCloud},D.Fx={hover:y.hover,unhover:y.unhover,loneHover:y.loneHover,loneUnhover:y.loneUnhover},D.Snapshot=r(78904),D.PlotSchema=r(73060)},9224:function(k){k.exports={undo:{width:857.1,height:1e3,path:"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z",transform:"matrix(1 0 0 -1 0 850)"},home:{width:928.6,height:1e3,path:"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z",transform:"matrix(1 0 0 -1 0 850)"},"camera-retro":{width:1e3,height:1e3,path:"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z",transform:"matrix(1 0 0 -1 0 850)"},zoombox:{width:1e3,height:1e3,path:"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z",transform:"matrix(1 0 0 -1 0 850)"},pan:{width:1e3,height:1e3,path:"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z",transform:"matrix(1 0 0 -1 0 850)"},zoom_plus:{width:875,height:1e3,path:"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},zoom_minus:{width:875,height:1e3,path:"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},autoscale:{width:1e3,height:1e3,path:"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_basic:{width:1500,height:1e3,path:"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_compare:{width:1125,height:1e3,path:"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z",transform:"matrix(1 0 0 -1 0 850)"},plotlylogo:{width:1542,height:1e3,path:"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z",transform:"matrix(1 0 0 -1 0 850)"},"z-axis":{width:1e3,height:1e3,path:"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z",transform:"matrix(1 0 0 -1 0 850)"},"3d_rotate":{width:1e3,height:1e3,path:"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z",transform:"matrix(1 0 0 -1 0 850)"},camera:{width:1e3,height:1e3,path:"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z",transform:"matrix(1 0 0 -1 0 850)"},movie:{width:1e3,height:1e3,path:"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z",transform:"matrix(1 0 0 -1 0 850)"},question:{width:857.1,height:1e3,path:"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z",transform:"matrix(1 0 0 -1 0 850)"},disk:{width:857.1,height:1e3,path:"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z",transform:"matrix(1 0 0 -1 0 850)"},drawopenpath:{width:70,height:70,path:"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z",transform:"matrix(1 0 0 1 -15 -15)"},drawclosedpath:{width:90,height:90,path:"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z",transform:"matrix(1 0 0 1 -5 -5)"},lasso:{width:1031,height:1e3,path:"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z",transform:"matrix(1 0 0 -1 0 850)"},selectbox:{width:1e3,height:1e3,path:"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z",transform:"matrix(1 0 0 -1 0 850)"},drawline:{width:70,height:70,path:"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z",transform:"matrix(1 0 0 1 -15 -15)"},drawrect:{width:80,height:80,path:"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z",transform:"matrix(1 0 0 1 -10 -10)"},drawcircle:{width:80,height:80,path:"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z",transform:"matrix(1 0 0 1 -10 -10)"},eraseshape:{width:80,height:80,path:"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z",transform:"matrix(1 0 0 1 -10 -10)"},spikeline:{width:1e3,height:1e3,path:"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z",transform:"matrix(1.5 0 0 -1.5 0 850)"},pencil:{width:1792,height:1792,path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z",transform:"matrix(1 0 0 1 0 1)"},newplotlylogo:{name:"newplotlylogo",svg:["",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},98308:function(k,D){D.isLeftAnchor=function(c){return c.xanchor==="left"||c.xanchor==="auto"&&c.x<=.3333333333333333},D.isCenterAnchor=function(c){return c.xanchor==="center"||c.xanchor==="auto"&&c.x>.3333333333333333&&c.x<.6666666666666666},D.isRightAnchor=function(c){return c.xanchor==="right"||c.xanchor==="auto"&&c.x>=.6666666666666666},D.isTopAnchor=function(c){return c.yanchor==="top"||c.yanchor==="auto"&&c.y>=.6666666666666666},D.isMiddleAnchor=function(c){return c.yanchor==="middle"||c.yanchor==="auto"&&c.y>.3333333333333333&&c.y<.6666666666666666},D.isBottomAnchor=function(c){return c.yanchor==="bottom"||c.yanchor==="auto"&&c.y<=.3333333333333333}},11864:function(k,D,r){var c=r(20435),A=c.mod,o=c.modHalf,_=Math.PI,T=2*_;function p(C){return C/180*_}function y(C){return C/_*180}function a(C){return Math.abs(C[1]-C[0])>T-1e-14}function n(C,g){return o(g-C,T)}function l(C,g){return Math.abs(n(C,g))}function s(C,g){if(a(g))return!0;var f,x;g[0]x&&(x+=T);var M=A(C,T),R=M+T;return M>=f&&M<=x||R>=f&&R<=x}function h(C,g,f,x){if(!s(g,x))return!1;var M,R;return f[0]=M&&C<=R}function v(C,g,f,x,M,R,N){M=M||0,R=R||0;var w=a([f,x]),P,I,d,L,E;w?(P=0,I=_,d=T):f"u"?void 0:Uint8ClampedArray,i1:typeof Int8Array>"u"?void 0:Int8Array,u1:typeof Uint8Array>"u"?void 0:Uint8Array,i2:typeof Int16Array>"u"?void 0:Int16Array,u2:typeof Uint16Array>"u"?void 0:Uint16Array,i4:typeof Int32Array>"u"?void 0:Int32Array,u4:typeof Uint32Array>"u"?void 0:Uint32Array,f4:typeof Float32Array>"u"?void 0:Float32Array,f8:typeof Float64Array>"u"?void 0:Float64Array};n.uint8c=n.u1c,n.uint8=n.u1,n.int8=n.i1,n.uint16=n.u2,n.int16=n.i2,n.uint32=n.u4,n.int32=n.i4,n.float32=n.f4,n.float64=n.f8;function l(v){return v.constructor===ArrayBuffer}D.isArrayBuffer=l,D.decodeTypedArraySpec=function(v){var u=[],b=s(v),m=b.dtype,C=n[m];if(!C)throw new Error('Error in dtype: "'+m+'"');var g=C.BYTES_PER_ELEMENT,f=b.bdata;l(f)||(f=c(f));var x=b.shape===void 0?[f.byteLength/g]:(""+b.shape).split(",");x.reverse();var M=x.length,R,N,w=+x[0],P=g*w,I=0;if(M===1)u=new C(f);else if(M===2)for(R=+x[1],N=0;NC.max?b.set(m):b.set(+u)}},integer:{coerceFunction:function(u,b,m,C){u%1||!c(u)||C.min!==void 0&&uC.max?b.set(m):b.set(+u)}},string:{coerceFunction:function(u,b,m,C){if(typeof u!="string"){var g=typeof u=="number";C.strict===!0||!g?b.set(m):b.set(String(u))}else C.noBlank&&!u?b.set(m):b.set(u)}},color:{coerceFunction:function(u,b,m){A(u).isValid()?b.set(u):b.set(m)}},colorlist:{coerceFunction:function(u,b,m){function C(g){return A(g).isValid()}!Array.isArray(u)||!u.length?b.set(m):u.every(C)?b.set(u):b.set(m)}},colorscale:{coerceFunction:function(u,b,m){b.set(_.get(u,m))}},angle:{coerceFunction:function(u,b,m){u==="auto"?b.set("auto"):c(u)?b.set(n(+u,360)):b.set(m)}},subplotid:{coerceFunction:function(u,b,m,C){var g=C.regex||a(m);if(typeof u=="string"&&g.test(u)){b.set(u);return}b.set(m)},validateFunction:function(u,b){var m=b.dflt;return u===m?!0:typeof u!="string"?!1:!!a(m).test(u)}},flaglist:{coerceFunction:function(u,b,m,C){if((C.extras||[]).indexOf(u)!==-1){b.set(u);return}if(typeof u!="string"){b.set(m);return}for(var g=u.split("+"),f=0;f=f&&H<=x?H:p}if(typeof H!="string"&&typeof H!="number")return p;H=String(H);var $=C(G),re=H.charAt(0);$&&(re==="G"||re==="g")&&(H=H.substr(1),G="");var ae=$&&G.substr(0,7)==="chinese",oe=H.match(ae?b:u);if(!oe)return p;var de=oe[1],te=oe[3]||"1",J=Number(oe[5]||1),ie=Number(oe[7]||0),Z=Number(oe[9]||0),ue=Number(oe[11]||0);if($){if(de.length===2)return p;de=Number(de);var fe;try{var Q=h.getComponentMethod("calendars","getCal")(G);if(ae){var q=te.charAt(te.length-1)==="i";te=parseInt(te,10),fe=Q.newDate(de,Q.toMonthIndex(de,te,q),J)}else fe=Q.newDate(de,Number(te),J)}catch{return p}return fe?(fe.toJD()-s)*y+ie*a+Z*n+ue*l:p}de.length===2?de=(Number(de)+2e3-m)%100+m:de=Number(de),te-=1;var ce=new Date(Date.UTC(2e3,te,J,ie,Z));return ce.setUTCFullYear(de),ce.getUTCMonth()!==te||ce.getUTCDate()!==J?p:ce.getTime()+ue*l},f=D.MIN_MS=D.dateTime2ms("-9999"),x=D.MAX_MS=D.dateTime2ms("9999-12-31 23:59:59.9999"),D.isDateTime=function(H,G){return D.dateTime2ms(H,G)!==p};function M(H,G){return String(H+Math.pow(10,G)).substr(1)}var R=90*y,N=3*a,w=5*n;D.ms2DateTime=function(H,G,W){if(typeof H!="number"||!(H>=f&&H<=x))return p;G||(G=0);var V=Math.floor(_(H+.05,1)*10),j=Math.round(H-V/10),$,re,ae,oe,de,te;if(C(W)){var J=Math.floor(j/y)+s,ie=Math.floor(_(H,y));try{$=h.getComponentMethod("calendars","getCal")(W).fromJD(J).formatDate("yyyy-mm-dd")}catch{$=v("G%Y-%m-%d")(new Date(j))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;re=G=f+y&&H<=x-y))return p;var G=Math.floor(_(H+.05,1)*10),W=new Date(Math.round(H-G/10)),V=c("%Y-%m-%d")(W),j=W.getHours(),$=W.getMinutes(),re=W.getSeconds(),ae=W.getUTCMilliseconds()*10+G;return P(V,j,$,re,ae)};function P(H,G,W,V,j){if((G||W||V||j)&&(H+=" "+M(G,2)+":"+M(W,2),(V||j)&&(H+=":"+M(V,2),j))){for(var $=4;j%10===0;)$-=1,j/=10;H+="."+M(j,$)}return H}D.cleanDate=function(H,G,W){if(H===p)return G;if(D.isJSDate(H)||typeof H=="number"&&isFinite(H)){if(C(W))return o.error("JS Dates and milliseconds are incompatible with world calendars",H),G;if(H=D.ms2DateTimeLocal(+H),!H&&G!==void 0)return G}else if(!D.isDateTime(H,W))return o.error("unrecognized date",H),G;return H};var I=/%\d?f/g,d=/%h/g,L={1:"1",2:"1",3:"2",4:"2"};function E(H,G,W,V){H=H.replace(I,function($){var re=Math.min(+$.charAt(1)||6,6),ae=(G/1e3%1+2).toFixed(re).substr(2).replace(/0+$/,"")||"0";return ae});var j=new Date(Math.floor(G+.05));if(H=H.replace(d,function(){return L[W("%q")(j)]}),C(V))try{H=h.getComponentMethod("calendars","worldCalFmt")(H,G,V)}catch{return"Invalid"}return W(H)(j)}var B=[59,59.9,59.99,59.999,59.9999];function z(H,G){var W=_(H+.05,y),V=M(Math.floor(W/a),2)+":"+M(_(Math.floor(W/n),60),2);if(G!=="M"){A(G)||(G=0);var j=Math.min(_(H/l,60),B[G]),$=(100+j).toFixed(G).substr(1);G>0&&($=$.replace(/0+$/,"").replace(/[\.]$/,"")),V+=":"+$}return V}D.formatDate=function(H,G,W,V,j,$){if(j=C(j)&&j,!G)if(W==="y")G=$.year;else if(W==="m")G=$.month;else if(W==="d")G=$.dayMonth+` `+$.year;else return z(H,W)+` `+E($.dayMonthYear,H,V,j);return E(G,H,V,j)};var Y=3*y;D.incrementMonth=function(H,G,W){W=C(W)&&W;var V=_(H,y);if(H=Math.round(H-V),W)try{var j=Math.round(H/y)+s,$=h.getComponentMethod("calendars","getCal")(W),re=$.fromJD(j);return G%12?$.add(re,G,"m"):$.add(re,G/12,"y"),(re.toJD()-s)*y+V}catch{o.error("invalid ms "+H+" in calendar "+W)}var ae=new Date(H+Y);return ae.setUTCMonth(ae.getUTCMonth()+G)+V-Y},D.findExactDates=function(H,G){for(var W=0,V=0,j=0,$=0,re,ae,oe=C(G)&&h.getComponentMethod("calendars","getCal")(G),de=0;de0&&z[Y+1][0]<0)return Y;return null}switch(w==="RUS"||w==="FJI"?I=function(z){var Y;if(B(z)===null)Y=z;else for(Y=new Array(z.length),E=0;EY?H[G++]=[z[E][0]+360,z[E][1]]:E===Y?(H[G++]=z[E],H[G++]=[z[E][0],-90]):H[G++]=z[E];var W=l.tester(H);W.pts.pop(),P.push(W)}:I=function(z){P.push(l.tester(z))},R.type){case"MultiPolygon":for(d=0;dP&&(P=L,N=d)}else N=R;return _.default(N).geometry.coordinates}function f(M){var R=window.PlotlyGeoAssets||{},N=[];function w(E){return new Promise(function(B,z){c.json(E,function(Y,H){if(Y){delete R[E];var G=Y.status===404?'GeoJSON at URL "'+E+'" does not exist.':"Unexpected error while fetching from "+E;return z(new Error(G))}return R[E]=H,B(H)})})}function P(E){return new Promise(function(B,z){var Y=0,H=setInterval(function(){if(R[E]&&R[E]!=="pending")return clearInterval(H),B(R[E]);if(Y>100)return clearInterval(H),z("Unexpected error while fetching from "+E);Y++},50)})}for(var I=0;I0&&(T.push(p),p=[])}return p.length>0&&T.push(p),T},D.makeLine=function(A){return A.length===1?{type:"LineString",coordinates:A[0]}:{type:"MultiLineString",coordinates:A}},D.makePolygon=function(A){if(A.length===1)return{type:"Polygon",coordinates:A};for(var o=new Array(A.length),_=0;_1||R<0||R>1?null:{x:y+b*R,y:a+g*R}}D.segmentDistance=function(a,n,l,s,h,v,u,b){if(A(a,n,l,s,h,v,u,b))return 0;var m=l-a,C=s-n,g=u-h,f=b-v,x=m*m+C*C,M=g*g+f*f,R=Math.min(o(m,C,x,h-a,v-n),o(m,C,x,u-a,b-n),o(g,f,M,a-h,n-v),o(g,f,M,l-h,s-v));return Math.sqrt(R)};function o(y,a,n,l,s){var h=l*y+s*a;if(h<0)return l*l+s*s;if(h>n){var v=l-y,u=s-a;return v*v+u*u}else{var b=l*a-s*y;return b*b/n}}var _,T,p;D.getTextLocation=function(a,n,l,s){if((a!==T||s!==p)&&(_={},T=a,p=s),_[l])return _[l];var h=a.getPointAtLength(c(l-s/2,n)),v=a.getPointAtLength(c(l+s/2,n)),u=Math.atan((v.y-h.y)/(v.x-h.x)),b=a.getPointAtLength(c(l,n)),m=(b.x*4+h.x+v.x)/6,C=(b.y*4+h.y+v.y)/6,g={x:m,y:C,theta:u};return _[l]=g,g},D.clearLocationCache=function(){T=null},D.getVisibleSegment=function(a,n,l){var s=n.left,h=n.right,v=n.top,u=n.bottom,b=0,m=a.getTotalLength(),C=m,g,f;function x(R){var N=a.getPointAtLength(R);R===0?g=N:R===m&&(f=N);var w=N.xh?N.x-h:0,P=N.yu?N.y-u:0;return Math.sqrt(w*w+P*P)}for(var M=x(b);M;){if(b+=M+l,b>C)return;M=x(b)}for(M=x(C);M;){if(C-=M+l,b>C)return;M=x(C)}return{min:b,max:C,len:C-b,total:m,isClosed:b===0&&C===m&&Math.abs(g.x-f.x)<.1&&Math.abs(g.y-f.y)<.1}},D.findPointOnPath=function(a,n,l,s){s=s||{};for(var h=s.pathLength||a.getTotalLength(),v=s.tolerance||.001,u=s.iterationLimit||30,b=a.getPointAtLength(0)[l]>a.getPointAtLength(h)[l]?-1:1,m=0,C=0,g=h,f,x,M;m0?g=f:C=f,m++}return x}},33040:function(k,D,r){var c=r(38248),A=r(49760),o=r(72160),_=r(8932),T=r(22548).defaultLine,p=r(38116).isArrayOrTypedArray,y=o(T),a=1;function n(u,b){var m=u;return m[3]*=b,m}function l(u){if(c(u))return y;var b=o(u);return b.length?b:y}function s(u){return c(u)?u:a}function h(u,b,m){var C=u.color;C&&C._inputArray&&(C=C._inputArray);var g=p(C),f=p(b),x=_.extractOpts(u),M=[],R,N,w,P,I;if(x.colorscale!==void 0?R=_.makeColorScaleFuncFromTrace(u):R=l,g?N=function(L,E){return L[E]===void 0?y:o(R(L[E]))}:N=l,f?w=function(L,E){return L[E]===void 0?a:s(L[E])}:w=s,g||f)for(var d=0;d1?(A*r+A*c)/A:r+c,_=String(o).length;if(_>16){var T=String(c).length,p=String(r).length;if(_>=p+T){var y=parseFloat(o).toPrecision(12);y.indexOf("e+")===-1&&(o=+y)}}return o}},3400:function(k,D,r){var c=r(33428),A=r(94336).E9,o=r(57624).E9,_=r(38248),T=r(39032),p=T.FP_SAFE,y=-p,a=T.BADNUM,n=k.exports={};n.adjustFormat=function(fe){return!fe||/^\d[.]\df/.test(fe)||/[.]\d%/.test(fe)?fe:fe==="0.f"?"~f":/^\d%/.test(fe)?"~%":/^\ds/.test(fe)?"~s":!/^[~,.0$]/.test(fe)&&/[&fps]/.test(fe)?"~"+fe:fe};var l={};n.warnBadFormat=function(ue){var fe=String(ue);l[fe]||(l[fe]=1,n.warn('encountered bad format: "'+fe+'"'))},n.noFormat=function(ue){return String(ue)},n.numberFormat=function(ue){var fe;try{fe=o(n.adjustFormat(ue))}catch{return n.warnBadFormat(ue),n.noFormat}return fe},n.nestedProperty=r(22296),n.keyedContainer=r(37804),n.relativeAttr=r(23193),n.isPlainObject=r(63620),n.toLogRange=r(36896),n.relinkPrivateKeys=r(51528);var s=r(38116);n.isArrayBuffer=s.isArrayBuffer,n.isTypedArray=s.isTypedArray,n.isArrayOrTypedArray=s.isArrayOrTypedArray,n.isArray1D=s.isArray1D,n.ensureArray=s.ensureArray,n.concat=s.concat,n.maxRowLength=s.maxRowLength,n.minRowLength=s.minRowLength;var h=r(20435);n.mod=h.mod,n.modHalf=h.modHalf;var v=r(63064);n.valObjectMeta=v.valObjectMeta,n.coerce=v.coerce,n.coerce2=v.coerce2,n.coerceFont=v.coerceFont,n.coercePattern=v.coercePattern,n.coerceHoverinfo=v.coerceHoverinfo,n.coerceSelectionMarkerOpacity=v.coerceSelectionMarkerOpacity,n.validate=v.validate;var u=r(67555);n.dateTime2ms=u.dateTime2ms,n.isDateTime=u.isDateTime,n.ms2DateTime=u.ms2DateTime,n.ms2DateTimeLocal=u.ms2DateTimeLocal,n.cleanDate=u.cleanDate,n.isJSDate=u.isJSDate,n.formatDate=u.formatDate,n.incrementMonth=u.incrementMonth,n.dateTick0=u.dateTick0,n.dfltRange=u.dfltRange,n.findExactDates=u.findExactDates,n.MIN_MS=u.MIN_MS,n.MAX_MS=u.MAX_MS;var b=r(14952);n.findBin=b.findBin,n.sorterAsc=b.sorterAsc,n.sorterDes=b.sorterDes,n.distinctVals=b.distinctVals,n.roundUp=b.roundUp,n.sort=b.sort,n.findIndexOfMin=b.findIndexOfMin,n.sortObjectKeys=r(95376);var m=r(63084);n.aggNums=m.aggNums,n.len=m.len,n.mean=m.mean,n.median=m.median,n.midRange=m.midRange,n.variance=m.variance,n.stdev=m.stdev,n.interp=m.interp;var C=r(52248);n.init2dArray=C.init2dArray,n.transposeRagged=C.transposeRagged,n.dot=C.dot,n.translationMatrix=C.translationMatrix,n.rotationMatrix=C.rotationMatrix,n.rotationXYMatrix=C.rotationXYMatrix,n.apply3DTransform=C.apply3DTransform,n.apply2DTransform=C.apply2DTransform,n.apply2DTransform2=C.apply2DTransform2,n.convertCssMatrix=C.convertCssMatrix,n.inverseTransformMatrix=C.inverseTransformMatrix;var g=r(11864);n.deg2rad=g.deg2rad,n.rad2deg=g.rad2deg,n.angleDelta=g.angleDelta,n.angleDist=g.angleDist,n.isFullCircle=g.isFullCircle,n.isAngleInsideSector=g.isAngleInsideSector,n.isPtInsideSector=g.isPtInsideSector,n.pathArc=g.pathArc,n.pathSector=g.pathSector,n.pathAnnulus=g.pathAnnulus;var f=r(98308);n.isLeftAnchor=f.isLeftAnchor,n.isCenterAnchor=f.isCenterAnchor,n.isRightAnchor=f.isRightAnchor,n.isTopAnchor=f.isTopAnchor,n.isMiddleAnchor=f.isMiddleAnchor,n.isBottomAnchor=f.isBottomAnchor;var x=r(92348);n.segmentsIntersect=x.segmentsIntersect,n.segmentDistance=x.segmentDistance,n.getTextLocation=x.getTextLocation,n.clearLocationCache=x.clearLocationCache,n.getVisibleSegment=x.getVisibleSegment,n.findPointOnPath=x.findPointOnPath;var M=r(92880);n.extendFlat=M.extendFlat,n.extendDeep=M.extendDeep,n.extendDeepAll=M.extendDeepAll,n.extendDeepNoArrays=M.extendDeepNoArrays;var R=r(24248);n.log=R.log,n.warn=R.warn,n.error=R.error;var N=r(53756);n.counterRegex=N.counter;var w=r(91200);n.throttle=w.throttle,n.throttleDone=w.done,n.clearThrottle=w.clear;var P=r(52200);n.getGraphDiv=P.getGraphDiv,n.isPlotDiv=P.isPlotDiv,n.removeElement=P.removeElement,n.addStyleRule=P.addStyleRule,n.addRelatedStyleRule=P.addRelatedStyleRule,n.deleteRelatedStyleRule=P.deleteRelatedStyleRule,n.getFullTransformMatrix=P.getFullTransformMatrix,n.getElementTransformMatrix=P.getElementTransformMatrix,n.getElementAndAncestors=P.getElementAndAncestors,n.equalDomRects=P.equalDomRects,n.clearResponsive=r(75352),n.preserveDrawingBuffer=r(34296),n.makeTraceGroups=r(30988),n._=r(98356),n.notifier=r(41792),n.filterUnique=r(68944),n.filterVisible=r(43880),n.pushUnique=r(52416),n.increment=r(1396),n.cleanNumber=r(54037),n.ensureNumber=function(fe){return _(fe)?(fe=Number(fe),fe>p||fe=fe?!1:_(ue)&&ue>=0&&ue%1===0},n.noop=r(16628),n.identity=r(35536),n.repeat=function(ue,fe){for(var Q=new Array(fe),q=0;qQ?Math.max(Q,Math.min(fe,ue)):Math.max(fe,Math.min(Q,ue))},n.bBoxIntersect=function(ue,fe,Q){return Q=Q||0,ue.left<=fe.right+Q&&fe.left<=ue.right+Q&&ue.top<=fe.bottom+Q&&fe.top<=ue.bottom+Q},n.simpleMap=function(ue,fe,Q,q,ce){for(var se=ue.length,pe=new Array(se),Te=0;Te=Math.pow(2,Q)?ce>10?(n.warn("randstr failed uniqueness"),pe):ue(fe,Q,q,(ce||0)+1):pe},n.OptionControl=function(ue,fe){ue||(ue={}),fe||(fe="opt");var Q={};return Q.optionList=[],Q._newoption=function(q){q[fe]=ue,Q[q.name]=q,Q.optionList.push(q)},Q["_"+fe]=ue,Q},n.smooth=function(ue,fe){if(fe=Math.round(fe)||0,fe<2)return ue;var Q=ue.length,q=2*Q,ce=2*fe-1,se=new Array(ce),pe=new Array(Q),Te,we,Ae,ke;for(Te=0;Te=q&&(Ae-=q*Math.floor(Ae/q)),Ae<0?Ae=-1-Ae:Ae>=Q&&(Ae=q-1-Ae),ke+=ue[Ae]*se[we];pe[Te]=ke}return pe},n.syncOrAsync=function(ue,fe,Q){var q,ce;function se(){return n.syncOrAsync(ue,fe,Q)}for(;ue.length;)if(ce=ue.splice(0,1)[0],q=ce(fe),q&&q.then)return q.then(se);return Q&&Q(fe)},n.stripTrailingSlash=function(ue){return ue.substr(-1)==="/"?ue.substr(0,ue.length-1):ue},n.noneOrAll=function(ue,fe,Q){if(ue){var q=!1,ce=!0,se,pe;for(se=0;se0?ce:0})},n.fillArray=function(ue,fe,Q,q){if(q=q||n.identity,n.isArrayOrTypedArray(ue))for(var ce=0;ce1?ce+pe[1]:"";if(se&&(pe.length>1||Te.length>4||Q))for(;q.test(Te);)Te=Te.replace(q,"$1"+se+"$2");return Te+we},n.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var G=/^\w*$/;n.templateString=function(ue,fe){var Q={};return ue.replace(n.TEMPLATE_STRING_REGEX,function(q,ce){var se;return G.test(ce)?se=fe[ce]:(Q[ce]=Q[ce]||n.nestedProperty(fe,ce).get,se=Q[ce]()),n.isValidTextValue(se)?se:""})};var W={max:10,count:0,name:"hovertemplate"};n.hovertemplateString=function(){return oe.apply(W,arguments)};var V={max:10,count:0,name:"texttemplate"};n.texttemplateString=function(){return oe.apply(V,arguments)};var j=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function $(ue){var fe=ue.match(j);return fe?{key:fe[1],op:fe[2],number:Number(fe[3])}:{key:ue,op:null,number:null}}var re={max:10,count:0,name:"texttemplate",parseMultDiv:!0};n.texttemplateStringForShapes=function(){return oe.apply(re,arguments)};var ae=/^[:|\|]/;function oe(ue,fe,Q){var q=this,ce=arguments;fe||(fe={});var se={};return ue.replace(n.TEMPLATE_STRING_REGEX,function(pe,Te,we){var Ae=Te==="xother"||Te==="yother",ke=Te==="_xother"||Te==="_yother",Se=Te==="_xother_"||Te==="_yother_",_e=Te==="xother_"||Te==="yother_",Ee=Ae||ke||_e||Se,Ie=Te;(ke||Se)&&(Ie=Ie.substring(1)),(_e||Se)&&(Ie=Ie.substring(0,Ie.length-1));var Ge=null,We=null;if(q.parseMultDiv){var Be=$(Ie);Ie=Be.key,Ge=Be.op,We=Be.number}var Ve;if(Ee){if(Ve=fe[Ie],Ve===void 0)return""}else{var lt,pt;for(pt=3;pt=de&&pe<=te,Ae=Te>=de&&Te<=te;if(we&&(q=10*q+pe-de),Ae&&(ce=10*ce+Te-de),!we||!Ae){if(q!==ce)return q-ce;if(pe!==Te)return pe-Te}}return ce-q};var J=2e9;n.seedPseudoRandom=function(){J=2e9},n.pseudoRandom=function(){var ue=J;return J=(69069*J+1)%4294967296,Math.abs(J-ue)<429496729?n.pseudoRandom():J/4294967296},n.fillText=function(ue,fe,Q){var q=Array.isArray(Q)?function(pe){Q.push(pe)}:function(pe){Q.text=pe},ce=n.extractOption(ue,fe,"htx","hovertext");if(n.isValidTextValue(ce))return q(ce);var se=n.extractOption(ue,fe,"tx","text");if(n.isValidTextValue(se))return q(se)},n.isValidTextValue=function(ue){return ue||ue===0},n.formatPercent=function(ue,fe){fe=fe||0;for(var Q=(Math.round(100*ue*Math.pow(10,fe))*Math.pow(.1,fe)).toFixed(fe)+"%",q=0;q1&&(Ae=1):Ae=0,n.strTranslate(ce-Ae*(Q+pe),se-Ae*(q+Te))+n.strScale(Ae)+(we?"rotate("+we+(fe?"":" "+Q+" "+q)+")":"")},n.setTransormAndDisplay=function(ue,fe){ue.attr("transform",n.getTextTransform(fe)),ue.style("display",fe.scale?null:"none")},n.ensureUniformFontSize=function(ue,fe){var Q=n.extendFlat({},fe);return Q.size=Math.max(fe.size,ue._fullLayout.uniformtext.minsize||0),Q},n.join2=function(ue,fe,Q){var q=ue.length;return q>1?ue.slice(0,-1).join(fe)+Q+ue[q-1]:ue.join(fe)},n.bigFont=function(ue){return Math.round(1.2*ue)};var ie=n.getFirefoxVersion(),Z=ie!==null&&ie<86;n.getPositionFromD3Event=function(){return Z?[c.event.layerX,c.event.layerY]:[c.event.offsetX,c.event.offsetY]}},63620:function(k){k.exports=function(r){return window&&window.process&&window.process.versions?Object.prototype.toString.call(r)==="[object Object]":Object.prototype.toString.call(r)==="[object Object]"&&Object.getPrototypeOf(r).hasOwnProperty("hasOwnProperty")}},37804:function(k,D,r){var c=r(22296),A=/^\w*$/,o=0,_=1,T=2,p=3,y=4;k.exports=function(n,l,s,h){s=s||"name",h=h||"value";var v,u,b,m={};l&&l.length?(b=c(n,l),u=b.get()):u=n,l=l||"";var C={};if(u)for(v=0;v2)return m[M]=m[M]|T,f.set(x,null);if(g){for(v=M;v1){var T=["LOG:"];for(_=0;_1){var p=[];for(_=0;_"),"long")}},o.warn=function(){var _;if(c.logging>0){var T=["WARN:"];for(_=0;_0){var p=[];for(_=0;_"),"stick")}},o.error=function(){var _;if(c.logging>0){var T=["ERROR:"];for(_=0;_0){var p=[];for(_=0;_"),"stick")}}},30988:function(k,D,r){var c=r(33428);k.exports=function(o,_,T){var p=o.selectAll("g."+T.replace(/\s/g,".")).data(_,function(a){return a[0].trace.uid});p.exit().remove(),p.enter().append("g").attr("class",T),p.order();var y=o.classed("rangeplot")?"nodeRangePlot3":"node3";return p.each(function(a){a[0][y]=c.select(this)}),p}},52248:function(k,D,r){var c=r(36524);D.init2dArray=function(A,o){for(var _=new Array(A),T=0;TA/2?c-Math.round(c/A)*A:c}k.exports={mod:D,modHalf:r}},22296:function(k,D,r){var c=r(38248),A=r(38116).isArrayOrTypedArray;k.exports=function(h,v){if(c(v))v=String(v);else if(typeof v!="string"||v.substr(v.length-4)==="[-1]")throw"bad property string";var u=v.split("."),b,m,C,g;for(g=0;g/g),u=0;ua||M===A||Ml||f&&v(g))}function b(g,f){var x=g[0],M=g[1];if(x===A||xa||M===A||Ml)return!1;var R=p.length,N=p[0][0],w=p[0][1],P=0,I,d,L,E,B;for(I=1;IMath.max(d,N)||M>Math.max(L,w)))if(Ms||Math.abs(c(b,v))>a)return!0;return!1},o.filter=function(T,p){var y=[T[0]],a=0,n=0;function l(h){T.push(h);var v=y.length,u=a;y.splice(n+1);for(var b=u+1;b1){var s=T.pop();l(s)}return{addPt:l,raw:T,filtered:y}}},5048:function(k,D,r){var c=r(16576),A=r(28624);k.exports=function(_,T,p){var y=_._fullLayout,a=!0;return y._glcanvas.each(function(n){if(n.regl){n.regl.preloadCachedCode(p);return}if(!(n.pick&&!y._has("parcoords"))){try{n.regl=A({canvas:this,attributes:{antialias:!n.pick,preserveDrawingBuffer:!0},pixelRatio:_._context.plotGlPixelRatio||r.g.devicePixelRatio,extensions:T||[],cachedCode:p||{}})}catch{a=!1}n.regl||(a=!1),a&&this.addEventListener("webglcontextlost",function(l){_&&_.emit&&_.emit("plotly_webglcontextlost",{event:l,layer:n.key})},!1)}}),a||c({container:y._glcontainer.node()}),a}},34296:function(k,D,r){var c=r(38248),A=r(25928);k.exports=function(T){var p;if(T&&T.hasOwnProperty("userAgent")?p=T.userAgent:p=o(),typeof p!="string")return!0;var y=A({ua:{headers:{"user-agent":p}},tablet:!0,featureDetect:!1});if(!y)for(var a=p.split(" "),n=1;n-1;s--){var h=a[s];if(h.substr(0,8)==="Version/"){var v=h.substr(8).split(".")[0];if(c(v)&&(v=+v),v>=13)return!0}}}return y};function o(){var _;return typeof navigator<"u"&&(_=navigator.userAgent),_&&_.headers&&typeof _.headers["user-agent"]=="string"&&(_=_.headers["user-agent"]),_}},52416:function(k){k.exports=function(r,c){if(c instanceof RegExp){for(var A=c.toString(),o=0;oA.queueLength&&(T.undoQueue.queue.shift(),T.undoQueue.index--)},_.startSequence=function(T){T.undoQueue=T.undoQueue||{index:0,queue:[],sequence:!1},T.undoQueue.sequence=!0,T.undoQueue.beginSequence=!0},_.stopSequence=function(T){T.undoQueue=T.undoQueue||{index:0,queue:[],sequence:!1},T.undoQueue.sequence=!1,T.undoQueue.beginSequence=!1},_.undo=function(p){var y,a;if(!(p.undoQueue===void 0||isNaN(p.undoQueue.index)||p.undoQueue.index<=0)){for(p.undoQueue.index--,y=p.undoQueue.queue[p.undoQueue.index],p.undoQueue.inSequence=!0,a=0;a=p.undoQueue.queue.length)){for(y=p.undoQueue.queue[p.undoQueue.index],p.undoQueue.inSequence=!0,a=0;a1?(s[u-1]-s[0])/(u-1):1,C,g;for(m>=0?g=h?p:y:g=h?n:a,l+=m*T*(h?-1:1)*(m>=0?1:-1);v90&&A.log("Long binary search..."),v-1};function p(l,s){return ls}function n(l,s){return l>=s}D.sorterAsc=function(l,s){return l-s},D.sorterDes=function(l,s){return s-l},D.distinctVals=function(l){var s=l.slice();s.sort(D.sorterAsc);var h;for(h=s.length-1;h>-1&&s[h]===_;h--);for(var v=s[h]-s[0]||1,u=v/(h||1)/1e4,b=[],m,C=0;C<=h;C++){var g=s[C],f=g-m;m===void 0?(b.push(g),m=g):f>u&&(v=Math.min(v,f),b.push(g),m=g)}return{vals:b,minDiff:v}},D.roundUp=function(l,s,h){for(var v=0,u=s.length-1,b,m=0,C=h?0:1,g=h?1:0,f=h?Math.ceil:Math.floor;v0&&(v=1),h&&v)return l.sort(s)}return v?l:l.reverse()},D.findIndexOfMin=function(l,s){s=s||o;for(var h=1/0,v,u=0;uT.length)&&(p=T.length),c(_)||(_=!1),A(T[0])){for(a=new Array(p),y=0;yo.length-1)return o[o.length-1];var T=_%1;return T*o[Math.ceil(_)]+(1-T)*o[Math.floor(_)]}},43080:function(k,D,r){var c=r(72160);function A(o){return o?c(o):[0,0,0,1]}k.exports=A},9188:function(k,D,r){var c=r(2264),A=r(43616),o=r(3400),_=null;function T(){if(_!==null)return _;_=!1;var p=o.isIE()||o.isSafari()||o.isIOS();if(window.navigator.userAgent&&!p){var y=Array.from(c.CSS_DECLARATIONS).reverse(),a=window.CSS&&window.CSS.supports||window.supportsCSS;if(typeof a=="function")_=y.some(function(h){return a.apply(null,h)});else{var n=A.tester.append("image").attr("style",c.STYLE),l=window.getComputedStyle(n.node()),s=l.imageRendering;_=y.some(function(h){var v=h[1];return s===v||s===v.toLowerCase()}),n.remove()}}return _}k.exports=T},72736:function(k,D,r){var c=r(33428),A=r(3400),o=A.strTranslate,_=r(9616),T=r(84284).LINE_SPACING,p=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;D.convertToTspans=function(W,V,j){var $=W.text(),re=!W.attr("data-notex")&&V&&V._context.typesetMath&&typeof MathJax<"u"&&$.match(p),ae=c.select(W.node().parentNode);if(ae.empty())return;var oe=W.attr("class")?W.attr("class").split(" ")[0]:"text";oe+="-math",ae.selectAll("svg."+oe).remove(),ae.selectAll("g."+oe+"-group").remove(),W.style("display",null).attr({"data-unformatted":$,"data-math":"N"});function de(){ae.empty()||(oe=W.attr("class")+"-math",ae.select("svg."+oe).remove()),W.text("").style("white-space","pre");var te=z(W.node(),$);te&&W.style("pointer-events","all"),D.positionText(W),j&&j.call(W)}return re?(V&&V._promises||[]).push(new Promise(function(te){W.style("display","none");var J=parseInt(W.node().style.fontSize,10),ie={fontSize:J};s(re[2],ie,function(Z,ue,fe){ae.selectAll("svg."+oe).remove(),ae.selectAll("g."+oe+"-group").remove();var Q=Z&&Z.select("svg");if(!Q||!Q.node()){de(),te();return}var q=ae.append("g").classed(oe+"-group",!0).attr({"pointer-events":"none","data-unformatted":$,"data-math":"Y"});q.node().appendChild(Q.node()),ue&&ue.node()&&Q.node().insertBefore(ue.node().cloneNode(!0),Q.node().firstChild);var ce=fe.width,se=fe.height;Q.attr({class:oe,height:se,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var pe=W.node().style.fill||"black",Te=Q.select("g");Te.attr({fill:pe,stroke:pe});var we=Te.node().getBoundingClientRect(),Ae=we.width,ke=we.height;(Ae>ce||ke>se)&&(Q.style("overflow","hidden"),we=Q.node().getBoundingClientRect(),Ae=we.width,ke=we.height);var Se=+W.attr("x"),_e=+W.attr("y"),Ee=J||W.node().getBoundingClientRect().height,Ie=-Ee/4;if(oe[0]==="y")q.attr({transform:"rotate("+[-90,Se,_e]+")"+o(-Ae/2,Ie-ke/2)});else if(oe[0]==="l")_e=Ie-ke/2;else if(oe[0]==="a"&&oe.indexOf("atitle")!==0)Se=0,_e=Ie;else{var Ge=W.attr("text-anchor");Se=Se-Ae*(Ge==="middle"?.5:Ge==="end"?1:0),_e=_e+Ie-ke/2}Q.attr({x:Se,y:_e}),j&&j.call(W,q),te(q)})})):de(),W};var y=/(<|<|<)/g,a=/(>|>|>)/g;function n(W){return W.replace(y,"\\lt ").replace(a,"\\gt ")}var l=[["$","$"],["\\(","\\)"]];function s(W,V,j){var $=parseInt((MathJax.version||"").split(".")[0]);if($!==2&&$!==3){A.warn("No MathJax version:",MathJax.version);return}var re,ae,oe,de,te=function(){return ae=A.extendDeepAll({},MathJax.Hub.config),oe=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:l},displayAlign:"left"})},J=function(){ae=A.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=l},ie=function(){if(re=MathJax.Hub.config.menuSettings.renderer,re!=="SVG")return MathJax.Hub.setRenderer("SVG")},Z=function(){re=MathJax.config.startup.output,re!=="svg"&&(MathJax.config.startup.output="svg")},ue=function(){var pe="math-output-"+A.randstr({},64);de=c.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":V.fontSize+"px"}).text(n(W));var Te=de.node();return $===2?MathJax.Hub.Typeset(Te):MathJax.typeset([Te])},fe=function(){var pe=de.select($===2?".MathJax_SVG":".MathJax"),Te=!pe.empty()&&de.select("svg").node();if(!Te)A.log("There was an error in the tex syntax.",W),j();else{var we=Te.getBoundingClientRect(),Ae;$===2?Ae=c.select("body").select("#MathJax_SVG_glyphs"):Ae=pe.select("defs"),j(pe,Ae,we)}de.remove()},Q=function(){if(re!=="SVG")return MathJax.Hub.setRenderer(re)},q=function(){re!=="svg"&&(MathJax.config.startup.output=re)},ce=function(){return oe!==void 0&&(MathJax.Hub.processSectionDelay=oe),MathJax.Hub.Config(ae)},se=function(){MathJax.config=ae};$===2?MathJax.Hub.Queue(te,ie,ue,fe,Q,ce):$===3&&(J(),Z(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){ue(),fe(),q(),se()}))}var h={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},v={sub:"0.3em",sup:"-0.6em"},u={sub:"-0.21em",sup:"0.42em"},b="​",m=["http:","https:","mailto:","",void 0,":"],C=D.NEWLINES=/(\r\n?|\n)/g,g=/(<[^<>]*>)/,f=/<(\/?)([^ >]*)(\s+(.*))?>/i,x=//i;D.BR_TAG_ALL=//gi;var M=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,R=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,N=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,w=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function P(W,V){if(!W)return null;var j=W.match(V),$=j&&(j[3]||j[4]);return $&&E($)}var I=/(^|;)\s*color:/;D.plainText=function(W,V){V=V||{};for(var j=V.len!==void 0&&V.len!==-1?V.len:1/0,$=V.allowedTags!==void 0?V.allowedTags:["br"],re="...",ae=re.length,oe=W.split(g),de=[],te="",J=0,ie=0;ieae?de.push(Z.substr(0,q-ae)+re):de.push(Z.substr(0,q));break}te=""}}return de.join("")};var d={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},L=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function E(W){return W.replace(L,function(V,j){var $;return j.charAt(0)==="#"?$=B(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):$=d[j],$||V})}D.convertEntities=E;function B(W){if(!(W>1114111)){var V=String.fromCodePoint;if(V)return V(W);var j=String.fromCharCode;return W<=65535?j(W):j((W>>10)+55232,W%1024+56320)}}function z(W,V){V=V.replace(C," ");var j=!1,$=[],re,ae=-1;function oe(){ae++;var ke=document.createElementNS(_.svg,"tspan");c.select(ke).attr({class:"line",dy:ae*T+"em"}),W.appendChild(ke),re=ke;var Se=$;if($=[{node:ke}],Se.length>1)for(var _e=1;_e.",V);return}var Se=$.pop();ke!==Se.type&&A.log("Start tag <"+Se.type+"> doesnt match end tag <"+ke+">. Pretending it did match.",V),re=$[$.length-1].node}var ie=x.test(V);ie?oe():(re=W,$=[{node:W}]);for(var Z=V.split(g),ue=0;uep.ts+_){n();return}p.timer=setTimeout(function(){n(),p.timer=null},_)},D.done=function(A){var o=r[A];return!o||!o.timer?Promise.resolve():new Promise(function(_){var T=o.onDone;o.onDone=function(){T&&T(),_(),o.onDone=null}})},D.clear=function(A){if(A)c(r[A]),delete r[A];else for(var o in r)D.clear(o)};function c(A){A&&A.timer!==null&&(clearTimeout(A.timer),A.timer=null)}},36896:function(k,D,r){var c=r(38248);k.exports=function(o,_){if(o>0)return Math.log(o)/Math.LN10;var T=Math.log(Math.min(_[0],_[1]))/Math.LN10;return c(T)||(T=Math.log(Math.max(_[0],_[1]))/Math.LN10-6),T}},59972:function(k,D,r){var c=k.exports={},A=r(79552).locationmodeToLayer,o=r(55712).NO;c.getTopojsonName=function(_){return[_.scope.replace(/ /g,"-"),"_",_.resolution.toString(),"m"].join("")},c.getTopojsonPath=function(_,T){return _+T+".json"},c.getTopojsonFeatures=function(_,T){var p=A[_.locationmode],y=T.objects[p];return o(T,y).features}},11680:function(k){k.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},6580:function(k){k.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},69820:function(k,D,r){var c=r(24040);k.exports=function(o){for(var _=c.layoutArrayContainers,T=c.layoutArrayRegexes,p=o.split("[")[0],y,a,n=0;n0&&_.log("Clearing previous rejected promises from queue."),x._promises=[]},D.cleanLayout=function(x){var M,R;x||(x={}),x.xaxis1&&(x.xaxis||(x.xaxis=x.xaxis1),delete x.xaxis1),x.yaxis1&&(x.yaxis||(x.yaxis=x.yaxis1),delete x.yaxis1),x.scene1&&(x.scene||(x.scene=x.scene1),delete x.scene1);var N=(T.subplotsRegistry.cartesian||{}).attrRegex,w=(T.subplotsRegistry.polar||{}).attrRegex,P=(T.subplotsRegistry.ternary||{}).attrRegex,I=(T.subplotsRegistry.gl3d||{}).attrRegex,d=Object.keys(x);for(M=0;M3?(ie.x=1.02,ie.xanchor="left"):ie.x<-2&&(ie.x=-.02,ie.xanchor="right"),ie.y>3?(ie.y=1.02,ie.yanchor="bottom"):ie.y<-2&&(ie.y=-.02,ie.yanchor="top")),h(x),x.dragmode==="rotate"&&(x.dragmode="orbit"),y.clean(x),x.template&&x.template.layout&&D.cleanLayout(x.template.layout),x};function s(x,M){var R=x[M],N=M.charAt(0);R&&R!=="paper"&&(x[M]=a(R,N,!0))}function h(x){x&&((typeof x.title=="string"||typeof x.title=="number")&&(x.title={text:x.title}),M("titlefont","font"),M("titleposition","position"),M("titleside","side"),M("titleoffset","offset"));function M(R,N){var w=x[R],P=x.title&&x.title[N];w&&!P&&(x.title||(x.title={}),x.title[N]=x[R],delete x[R])}}D.cleanData=function(x){for(var M=0;M0)return x.substr(0,M)}D.hasParent=function(x,M){for(var R=g(M);R;){if(R in x)return!0;R=g(R)}return!1};var f=["x","y","z"];D.clearAxisTypes=function(x,M,R){for(var N=0;N1&&o.warn("Full array edits are incompatible with other edits",u);var M=s[""][""];if(y(M))l.set(null);else if(Array.isArray(M))l.set(M);else return o.warn("Unrecognized full array edit value",u,M),!0;return g?!1:(b(f,x),m(n),!0)}var R=Object.keys(s).map(Number).sort(_),N=l.get(),w=N||[],P=v(x,u).get(),I=[],d=-1,L=w.length,E,B,z,Y,H,G,W,V;for(E=0;Ew.length-(W?0:1)){o.warn("index out of range",u,z);continue}if(G!==void 0)H.length>1&&o.warn("Insertion & removal are incompatible with edits to the same index.",u,z),y(G)?I.push(z):W?(G==="add"&&(G={}),w.splice(z,0,G),P&&P.splice(z,0,{})):o.warn("Unrecognized full object edit value",u,z,G),d===-1&&(d=z);else for(B=0;B=0;E--)w.splice(I[E],1),P&&P.splice(I[E],1);if(w.length?N||l.set(w):l.set(null),g)return!1;if(b(f,x),C!==A){var j;if(d===-1)j=R;else{for(L=Math.max(w.length,L),j=[],E=0;E=d));E++)j.push(z);for(E=d;E=me.data.length||st<-me.data.length)throw new Error(He+" must be valid indices for gd.data.");if(Ce.indexOf(st,qe+1)>-1||st>=0&&Ce.indexOf(-me.data.length+st)>-1||st<0&&Ce.indexOf(me.data.length+st)>-1)throw new Error("each index in "+He+" must be unique.")}}function j(me,Ce,He){if(!Array.isArray(me.data))throw new Error("gd.data must be an array.");if(typeof Ce>"u")throw new Error("currentIndices is a required argument.");if(Array.isArray(Ce)||(Ce=[Ce]),V(me,Ce,"currentIndices"),typeof He<"u"&&!Array.isArray(He)&&(He=[He]),typeof He<"u"&&V(me,He,"newIndices"),typeof He<"u"&&Ce.length!==He.length)throw new Error("current and new indices must be of equal length.")}function $(me,Ce,He){var qe,st;if(!Array.isArray(me.data))throw new Error("gd.data must be an array.");if(typeof Ce>"u")throw new Error("traces must be defined.");for(Array.isArray(Ce)||(Ce=[Ce]),qe=0;qe"u")throw new Error("indices must be an integer or array of integers");V(me,He,"indices");for(var ut in Ce){if(!Array.isArray(Ce[ut])||Ce[ut].length!==He.length)throw new Error("attribute "+ut+" must be an array of length equal to indices array length");if(st&&(!(ut in qe)||!Array.isArray(qe[ut])||qe[ut].length!==Ce[ut].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}function ae(me,Ce,He,qe){var st=_.isPlainObject(qe),ut=[],kt,_t,gt,Ct,Jt;Array.isArray(He)||(He=[He]),He=W(He,me.data.length-1);for(var wr in Ce)for(var yt=0;yt=0&&Jt=0&&Jt"u")return Ct=D.redraw(me),y.add(me,st,kt,ut,_t),Ct;Array.isArray(He)||(He=[He]);try{j(me,qe,He)}catch(Jt){throw me.data.splice(me.data.length-Ce.length,Ce.length),Jt}return y.startSequence(me),y.add(me,st,kt,ut,_t),Ct=D.moveTraces(me,qe,He),y.stopSequence(me),Ct}function Z(me,Ce){me=_.getGraphDiv(me);var He=[],qe=D.addTraces,st=Z,ut=[me,He,Ce],kt=[me,Ce],_t,gt;if(typeof Ce>"u")throw new Error("indices must be an integer or array of integers.");for(Array.isArray(Ce)||(Ce=[Ce]),V(me,Ce,"indices"),Ce=W(Ce,me.data.length-1),Ce.sort(_.sorterDes),_t=0;_t"u")for(He=[],Ct=0;Ct-1&&ut.indexOf("grouptitlefont")===-1?_t(ut,ut.replace("titlefont","title.font")):ut.indexOf("titleposition")>-1?_t(ut,ut.replace("titleposition","title.position")):ut.indexOf("titleside")>-1?_t(ut,ut.replace("titleside","title.side")):ut.indexOf("titleoffset")>-1&&_t(ut,ut.replace("titleoffset","title.offset"));function _t(gt,Ct){me[Ct]=me[gt],delete me[gt]}}function we(me,Ce,He){me=_.getGraphDiv(me),M.clearPromiseQueue(me);var qe={};if(typeof Ce=="string")qe[Ce]=He;else if(_.isPlainObject(Ce))qe=_.extendFlat({},Ce);else return _.warn("Relayout fail.",Ce,He),Promise.reject();Object.keys(qe).length&&(me.changed=!0);var st=Ie(me,qe),ut=st.flags;ut.calc&&(me.calcdata=void 0);var kt=[l.previousPromises];ut.layoutReplot?kt.push(R.layoutReplot):Object.keys(qe).length&&(Ae(me,ut,st)||l.supplyDefaults(me),ut.legend&&kt.push(R.doLegend),ut.layoutstyle&&kt.push(R.layoutStyles),ut.axrange&&ke(kt,st.rangesAltered),ut.ticks&&kt.push(R.doTicksRelayout),ut.modebar&&kt.push(R.doModeBar),ut.camera&&kt.push(R.doCamera),ut.colorbars&&kt.push(R.doColorBars),kt.push(L)),kt.push(l.rehover,l.redrag,l.reselect),y.add(me,we,[me,st.undoit],we,[me,st.redoit]);var _t=_.syncOrAsync(kt,me);return(!_t||!_t.then)&&(_t=Promise.resolve(me)),_t.then(function(){return me.emit("plotly_relayout",st.eventData),me})}function Ae(me,Ce,He){var qe=me._fullLayout;if(!Ce.axrange)return!1;for(var st in Ce)if(st!=="axrange"&&Ce[st])return!1;var ut,kt,_t=function(qt,tr){return _.coerce(ut,kt,v,qt,tr)},gt={};for(var Ct in He.rangesAltered){var Jt=s.id2name(Ct);if(ut=me.layout[Jt],kt=qe[Jt],h(ut,kt,_t,gt),kt._matchGroup){for(var wr in kt._matchGroup)if(wr!==Ct){var yt=qe[s.id2name(wr)];yt.autorange=kt.autorange,yt.range=kt.range.slice(),yt._input.range=kt.range.slice()}}}return!0}function ke(me,Ce){var He=Ce?function(qe){var st=[],ut=!0;for(var kt in Ce){var _t=s.getFromId(qe,kt);if(st.push(kt),(_t.ticklabelposition||"").indexOf("inside")!==-1&&_t._anchorAxis&&st.push(_t._anchorAxis._id),_t._matchGroup)for(var gt in _t._matchGroup)Ce[gt]||st.push(gt)}return s.draw(qe,st,{skipTitle:ut})}:function(qe){return s.draw(qe,"redraw")};me.push(g,R.doAutoRangeAndConstraints,He,R.drawData,R.finalDraw)}var Se=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,_e=/^[xyz]axis[0-9]*\.autorange$/,Ee=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function Ie(me,Ce){var He=me.layout,qe=me._fullLayout,st=qe._guiEditing,ut=q(qe._preGUI,st),kt=Object.keys(Ce),_t=s.list(me),gt=_.extendDeepAll({},Ce),Ct={},Jt,wr,yt;for(Te(Ce),kt=Object.keys(Ce),wr=0;wr0&&typeof Wt.parts[rr]!="string";)rr--;var Tr=Wt.parts[rr],Xe=Wt.parts[rr-1]+"."+Tr,je=Wt.parts.slice(0,rr).join("."),Ht=T(me.layout,je).get(),zt=T(qe,je).get(),ir=Wt.get();if(ar!==void 0){Et[Yt]=ar,ft[Yt]=Tr==="reverse"?ar:Q(ir);var cr=n.getLayoutValObject(qe,Wt.parts);if(cr&&cr.impliedEdits&&ar!==null)for(var hr in cr.impliedEdits)St(_.relativeAttr(Yt,hr),cr.impliedEdits[hr]);if(["width","height"].indexOf(Yt)!==-1)if(ar){St("autosize",null);var sr=Yt==="height"?"width":"height";St(sr,qe[sr])}else qe[Yt]=me._initialAutoSize[Yt];else if(Yt==="autosize")St("width",ar?null:qe.width),St("height",ar?null:qe.height);else if(Xe.match(Se))Zt(Xe),T(qe,je+"._inputRange").set(null);else if(Xe.match(_e)){Zt(Xe),T(qe,je+"._inputRange").set(null);var Vt=T(qe,je).get();Vt._inputDomain&&(Vt._input.domain=Vt._inputDomain.slice())}else Xe.match(Ee)&&T(qe,je+"._inputDomain").set(null);if(Tr==="type"){Nt=Ht;var xr=zt.type==="linear"&&ar==="log",Ar=zt.type==="log"&&ar==="linear";if(xr||Ar){if(!Nt||!Nt.range)St(je+".autorange",!0);else if(zt.autorange)xr&&(Nt.range=Nt.range[1]>Nt.range[0]?[1,2]:[2,1]);else{var kr=Nt.range[0],mr=Nt.range[1];xr?(kr<=0&&mr<=0&&St(je+".autorange",!0),kr<=0?kr=mr/1e6:mr<=0&&(mr=kr/1e6),St(je+".range[0]",Math.log(kr)/Math.LN10),St(je+".range[1]",Math.log(mr)/Math.LN10)):(St(je+".range[0]",Math.pow(10,kr)),St(je+".range[1]",Math.pow(10,mr)))}Array.isArray(qe._subplots.polar)&&qe._subplots.polar.length&&qe[Wt.parts[0]]&&Wt.parts[1]==="radialaxis"&&delete qe[Wt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(me,zt,ar,St),a.getComponentMethod("images","convertCoords")(me,zt,ar,St)}else St(je+".autorange",!0),St(je+".range",null);T(qe,je+"._inputRange").set(null)}else if(Tr.match(w)){var Kr=T(qe,Yt).get(),Br=(ar||{}).type;(!Br||Br==="-")&&(Br="linear"),a.getComponentMethod("annotations","convertCoords")(me,Kr,Br,St),a.getComponentMethod("images","convertCoords")(me,Kr,Br,St)}var Ur=x.containerArrayMatch(Yt);if(Ur){Jt=Ur.array,wr=Ur.index;var Sn=Ur.property,an=cr||{editType:"calc"};wr!==""&&Sn===""&&(x.isAddVal(ar)?ft[Yt]=null:x.isRemoveVal(ar)?ft[Yt]=(T(He,Jt).get()||[])[wr]:_.warn("unrecognized full object value",Ce)),N.update(lr,an),Ct[Jt]||(Ct[Jt]={});var Hn=Ct[Jt][wr];Hn||(Hn=Ct[Jt][wr]={}),Hn[Sn]=ar,delete Ce[Yt]}else Tr==="reverse"?(Ht.range?Ht.range.reverse():(St(je+".autorange",!0),Ht.range=[1,0]),zt.autorange?lr.calc=!0:lr.plot=!0):(Yt==="dragmode"&&(ar===!1&&ir!==!1||ar!==!1&&ir===!1)||qe._has("scatter-like")&&qe._has("regl")&&Yt==="dragmode"&&(ar==="lasso"||ar==="select")&&!(ir==="lasso"||ir==="select")||qe._has("gl2d")?lr.plot=!0:cr?N.update(lr,cr):lr.calc=!0,Wt.set(ar))}}for(Jt in Ct){var Gn=x.applyContainerArrayChanges(me,ut(He,Jt),Ct[Jt],lr,ut);Gn||(lr.plot=!0)}for(var Mr in Lt){Nt=s.getFromId(me,Mr);var Vr=Nt&&Nt._constraintGroup;if(Vr){lr.calc=!0;for(var rn in Vr)Lt[rn]||(s.getFromId(me,rn)._constraintShrinkable=!0)}}(Ge(me)||Ce.height||Ce.width)&&(lr.plot=!0);var Wr=qe.shapes;for(wr=0;wr1;)if(qe.pop(),He=T(Ce,qe.join(".")+".uirevision").get(),He!==void 0)return He;return Ce.uirevision}function nt(me,Ce){for(var He=0;He=st.length?st[0]:st[Ct]:st}function _t(Ct){return Array.isArray(ut)?Ct>=ut.length?ut[0]:ut[Ct]:ut}function gt(Ct,Jt){var wr=0;return function(){if(Ct&&++wr===Jt)return Ct()}}return new Promise(function(Ct,Jt){function wr(){if(qe._frameQueue.length!==0){for(;qe._frameQueue.length;){var Tr=qe._frameQueue.pop();Tr.onInterrupt&&Tr.onInterrupt()}me.emit("plotly_animationinterrupted",[])}}function yt(Tr){if(Tr.length!==0){for(var Xe=0;Xeqe._timeToNext&&tr()};Tr()}var lr=0;function Et(Tr){return Array.isArray(st)?lr>=st.length?Tr.transitionOpts=st[lr]:Tr.transitionOpts=st[0]:Tr.transitionOpts=st,lr++,Tr}var ft,St,Lt=[],Nt=Ce==null,Zt=Array.isArray(Ce),Yt=!Nt&&!Zt&&_.isPlainObject(Ce);if(Yt)Lt.push({type:"object",data:Et(_.extendFlat({},Ce))});else if(Nt||["string","number"].indexOf(typeof Ce)!==-1)for(ft=0;ft0&&yryr)&&rr.push(St);Lt=rr}}Lt.length>0?yt(Lt):(me.emit("plotly_animated"),Ct())})}function Ke(me,Ce,He){if(me=_.getGraphDiv(me),Ce==null)return Promise.resolve();if(!_.isPlotDiv(me))throw new Error("This element is not a Plotly plot: "+me+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var qe,st,ut,kt,_t=me._transitionData._frames,gt=me._transitionData._frameHash;if(!Array.isArray(Ce))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+Ce);var Ct=_t.length+Ce.length*2,Jt=[],wr={};for(qe=Ce.length-1;qe>=0;qe--)if(_.isPlainObject(Ce[qe])){var yt=Ce[qe].name,qt=(gt[yt]||wr[yt]||{}).name,tr=Ce[qe].name,br=gt[qt]||wr[qt];qt&&tr&&typeof tr=="number"&&br&&PWt.index?-1:Yt.index=0;qe--){if(st=Jt[qe].frame,typeof st.name=="number"&&_.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!st.name)for(;gt[st.name="frame "+me._transitionData._counter++];);if(gt[st.name]){for(ut=0;ut<_t.length&&(_t[ut]||{}).name!==st.name;ut++);lr.push({type:"replace",index:ut,value:st}),Et.unshift({type:"replace",index:ut,value:_t[ut]})}else kt=Math.max(0,Math.min(Jt[qe].index,ft)),lr.push({type:"insert",index:kt,value:st}),Et.unshift({type:"delete",index:kt}),ft++}var St=l.modifyFrames,Lt=l.modifyFrames,Nt=[me,Et],Zt=[me,lr];return y&&y.add(me,St,Nt,Lt,Zt),l.modifyFrames(me,lr)}function Fe(me,Ce){if(me=_.getGraphDiv(me),!_.isPlotDiv(me))throw new Error("This element is not a Plotly plot: "+me);var He,qe,st=me._transitionData._frames,ut=[],kt=[];if(!Ce)for(Ce=[],He=0;He=0;He--)qe=Ce[He],ut.push({type:"delete",index:qe}),kt.unshift({type:"insert",index:qe,value:st[qe]});var _t=l.modifyFrames,gt=l.modifyFrames,Ct=[me,kt],Jt=[me,ut];return y&&y.add(me,_t,Ct,gt,Jt),l.modifyFrames(me,ut)}function Ne(me){me=_.getGraphDiv(me);var Ce=me._fullLayout||{},He=me._fullData||[];return l.cleanPlot([],{},He,Ce),l.purge(me),p.purge(me),Ce._container&&Ce._container.remove(),delete me._context,me}function $e(me){var Ce=me._fullLayout,He=me.getBoundingClientRect();if(!_.equalDomRects(He,Ce._lastBBox)){var qe=Ce._invTransform=_.inverseTransformMatrix(_.getFullTransformMatrix(me));Ce._invScaleX=Math.sqrt(qe[0][0]*qe[0][0]+qe[0][1]*qe[0][1]+qe[0][2]*qe[0][2]),Ce._invScaleY=Math.sqrt(qe[1][0]*qe[1][0]+qe[1][1]*qe[1][1]+qe[1][2]*qe[1][2]),Ce._lastBBox=He}}function Pe(me){var Ce=c.select(me),He=me._fullLayout;if(He._calcInverseTransform=$e,He._calcInverseTransform(me),He._container=Ce.selectAll(".plot-container").data([0]),He._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),He._paperdiv=He._container.selectAll(".svg-container").data([0]),He._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),He._glcontainer=He._paperdiv.selectAll(".gl-container").data([{}]),He._glcontainer.enter().append("div").classed("gl-container",!0),He._paperdiv.selectAll(".main-svg").remove(),He._paperdiv.select(".modebar-container").remove(),He._paper=He._paperdiv.insert("svg",":first-child").classed("main-svg",!0),He._toppaper=He._paperdiv.append("svg").classed("main-svg",!0),He._modebardiv=He._paperdiv.append("div"),delete He._modeBar,He._hoverpaper=He._paperdiv.append("svg").classed("main-svg",!0),!He._uid){var qe={};c.selectAll("defs").each(function(){this.id&&(qe[this.id.split("-")[1]]=1)}),He._uid=_.randstr(qe)}He._paperdiv.selectAll(".main-svg").attr(C.svgAttrs),He._defs=He._paper.append("defs").attr("id","defs-"+He._uid),He._clips=He._defs.append("g").classed("clips",!0),He._topdefs=He._toppaper.append("defs").attr("id","topdefs-"+He._uid),He._topclips=He._topdefs.append("g").classed("clips",!0),He._bgLayer=He._paper.append("g").classed("bglayer",!0),He._draggers=He._paper.append("g").classed("draglayer",!0);var st=He._paper.append("g").classed("layer-below",!0);He._imageLowerLayer=st.append("g").classed("imagelayer",!0),He._shapeLowerLayer=st.append("g").classed("shapelayer",!0),He._cartesianlayer=He._paper.append("g").classed("cartesianlayer",!0),He._polarlayer=He._paper.append("g").classed("polarlayer",!0),He._smithlayer=He._paper.append("g").classed("smithlayer",!0),He._ternarylayer=He._paper.append("g").classed("ternarylayer",!0),He._geolayer=He._paper.append("g").classed("geolayer",!0),He._funnelarealayer=He._paper.append("g").classed("funnelarealayer",!0),He._pielayer=He._paper.append("g").classed("pielayer",!0),He._iciclelayer=He._paper.append("g").classed("iciclelayer",!0),He._treemaplayer=He._paper.append("g").classed("treemaplayer",!0),He._sunburstlayer=He._paper.append("g").classed("sunburstlayer",!0),He._indicatorlayer=He._toppaper.append("g").classed("indicatorlayer",!0),He._glimages=He._paper.append("g").classed("glimages",!0);var ut=He._toppaper.append("g").classed("layer-above",!0);He._imageUpperLayer=ut.append("g").classed("imagelayer",!0),He._shapeUpperLayer=ut.append("g").classed("shapelayer",!0),He._selectionLayer=He._toppaper.append("g").classed("selectionlayer",!0),He._infolayer=He._toppaper.append("g").classed("infolayer",!0),He._menulayer=He._toppaper.append("g").classed("menulayer",!0),He._zoomlayer=He._toppaper.append("g").classed("zoomlayer",!0),He._hoverlayer=He._hoverpaper.append("g").classed("hoverlayer",!0),He._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),me.emit("plotly_framework")}D.animate=Ze,D.addFrames=Ke,D.deleteFrames=Fe,D.addTraces=ie,D.deleteTraces=Z,D.extendTraces=te,D.moveTraces=ue,D.prependTraces=J,D.newPlot=G,D._doPlot=d,D.purge=Ne,D.react=Tt,D.redraw=H,D.relayout=we,D.restyle=fe,D.setPlotConfig=E,D.update=We,D._guiRelayout=Be(we),D._guiRestyle=Be(fe),D._guiUpdate=Be(We),D._storeDirectGUIEdit=se},20556:function(k){var D={staticPlot:{valType:"boolean",dflt:!1},typesetMath:{valType:"boolean",dflt:!0},plotlyServerURL:{valType:"string",dflt:""},editable:{valType:"boolean",dflt:!1},edits:{annotationPosition:{valType:"boolean",dflt:!1},annotationTail:{valType:"boolean",dflt:!1},annotationText:{valType:"boolean",dflt:!1},axisTitleText:{valType:"boolean",dflt:!1},colorbarPosition:{valType:"boolean",dflt:!1},colorbarTitleText:{valType:"boolean",dflt:!1},legendPosition:{valType:"boolean",dflt:!1},legendText:{valType:"boolean",dflt:!1},shapePosition:{valType:"boolean",dflt:!1},titleText:{valType:"boolean",dflt:!1}},editSelection:{valType:"boolean",dflt:!0},autosizable:{valType:"boolean",dflt:!1},responsive:{valType:"boolean",dflt:!1},fillFrame:{valType:"boolean",dflt:!1},frameMargins:{valType:"number",dflt:0,min:0,max:.5},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox"},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize"},doubleClickDelay:{valType:"number",dflt:300,min:0},showAxisDragHandles:{valType:"boolean",dflt:!0},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0},showTips:{valType:"boolean",dflt:!0},showLink:{valType:"boolean",dflt:!1},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0},sendData:{valType:"boolean",dflt:!0},showSources:{valType:"any",dflt:!1},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover"},showSendToCloud:{valType:"boolean",dflt:!1},showEditInChartStudio:{valType:"boolean",dflt:!1},modeBarButtonsToRemove:{valType:"any",dflt:[]},modeBarButtonsToAdd:{valType:"any",dflt:[]},modeBarButtons:{valType:"any",dflt:!1},toImageButtonOptions:{valType:"any",dflt:{}},displaylogo:{valType:"boolean",dflt:!0},watermark:{valType:"boolean",dflt:!1},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4},setBackground:{valType:"any",dflt:"transparent"},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/"},mapboxAccessToken:{valType:"string",dflt:null},logging:{valType:"integer",min:0,max:2,dflt:1},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0},queueLength:{valType:"integer",min:0,dflt:0},globalTransforms:{valType:"any",dflt:[]},locale:{valType:"string",dflt:"en-US"},locales:{valType:"any",dflt:{}}},r={};function c(A,o){for(var _ in A){var T=A[_];T.valType?o[_]=T.dflt:(o[_]||(o[_]={}),c(T,o[_]))}}c(D,r),k.exports={configAttributes:D,dfltConfig:r}},73060:function(k,D,r){var c=r(24040),A=r(3400),o=r(45464),_=r(64859),T=r(16672),p=r(85656),y=r(20556).configAttributes,a=r(67824),n=A.extendDeepAll,l=A.isPlainObject,s=A.isArrayOrTypedArray,h=A.nestedProperty,v=A.valObjectMeta,u="_isSubplotObj",b="_isLinkedToArray",m="_arrayAttrRegexps",C="_deprecated",g=[u,b,m,C];D.IS_SUBPLOT_OBJ=u,D.IS_LINKED_TO_ARRAY=b,D.DEPRECATED=C,D.UNDERSCORE_ATTRS=g,D.get=function(){var Y={};c.allTypes.forEach(function(G){Y[G]=R(G)});var H={};return Object.keys(c.transformsRegistry).forEach(function(G){H[G]=w(G)}),{defs:{valObjects:v,metaKeys:g.concat(["description","role","editType","impliedEdits"]),editType:{traces:a.traces,layout:a.layout},impliedEdits:{}},traces:Y,layout:N(),transforms:H,frames:P(),animation:I(p),config:I(y)}},D.crawl=function(Y,H,G,W){var V=G||0;W=W||"",Object.keys(Y).forEach(function(j){var $=Y[j];if(g.indexOf(j)===-1){var re=(W?W+".":"")+j;H($,j,Y,V,re),!D.isValObject($)&&l($)&&j!=="impliedEdits"&&D.crawl($,H,V+1,re)}})},D.isValObject=function(Y){return Y&&Y.valType!==void 0},D.findArrayAttributes=function(Y){var H=[],G=[],W=[],V,j;function $(J,ie,Z,ue){G=G.slice(0,ue).concat([ie]),W=W.slice(0,ue).concat([J&&J._isLinkedToArray]);var fe=J&&(J.valType==="data_array"||J.arrayOk===!0)&&!(G[ue-1]==="colorbar"&&(ie==="ticktext"||ie==="tickvals"));fe&&re(V,0,"")}function re(J,ie,Z){var ue=J[G[ie]],fe=Z+G[ie];if(ie===G.length-1)s(ue)&&H.push(j+fe);else if(W[ie]){if(Array.isArray(ue))for(var Q=0;Q=$.length)return!1;V=(c.transformsRegistry[$[re].type]||{}).attributes,j=V&&V[H[2]],W=3}else{var ae=Y._module;if(ae||(ae=(c.modules[Y.type||o.type.dflt]||{})._module),!ae)return!1;if(V=ae.attributes,j=V&&V[G],!j){var oe=ae.basePlotModule;oe&&oe.attributes&&(j=oe.attributes[G])}j||(j=o[G])}return x(j,H,W)},D.getLayoutValObject=function(Y,H){var G=f(Y,H[0]);return x(G,H,1)};function f(Y,H){var G,W,V,j,$=Y._basePlotModules;if($){var re;for(G=0;G<$.length;G++){if(V=$[G],V.attrRegex&&V.attrRegex.test(H)){if(V.layoutAttrOverrides)return V.layoutAttrOverrides;!re&&V.layoutAttributes&&(re=V.layoutAttributes)}var ae=V.baseLayoutAttrOverrides;if(ae&&H in ae)return ae[H]}if(re)return re}var oe=Y._modules;if(oe){for(G=0;G=j.length)return!1;if(Y.dimensions===2){if(G++,H.length===G)return Y;var $=H[G];if(!M($))return!1;Y=j[V][$]}else Y=j[V]}else Y=j}}return Y}function M(Y){return Y===Math.round(Y)&&Y>=0}function R(Y){var H,G;H=c.modules[Y]._module,G=H.basePlotModule;var W={};W.type=null;var V=n({},o),j=n({},H.attributes);D.crawl(j,function(ae,oe,de,te,J){h(V,J).set(void 0),ae===void 0&&h(j,J).set(void 0)}),n(W,V),c.traceIs(Y,"noOpacity")&&delete W.opacity,c.traceIs(Y,"showLegend")||(delete W.showlegend,delete W.legendgroup),c.traceIs(Y,"noHover")&&(delete W.hoverinfo,delete W.hoverlabel),H.selectPoints||delete W.selectedpoints,n(W,j),G.attributes&&n(W,G.attributes),W.type=Y;var $={meta:H.meta||{},categories:H.categories||{},animatable:Boolean(H.animatable),type:Y,attributes:I(W)};if(H.layoutAttributes){var re={};n(re,H.layoutAttributes),$.layoutAttributes=I(re)}return H.animatable||D.crawl($,function(ae){D.isValObject(ae)&&"anim"in ae&&delete ae.anim}),$}function N(){var Y={},H,G;n(Y,_);for(H in c.subplotsRegistry)if(G=c.subplotsRegistry[H],!!G.layoutAttributes)if(Array.isArray(G.attr))for(var W=0;W=l&&(n._input||{})._templateitemname;h&&(s=l);var v=a+"["+s+"]",u;function b(){u={},h&&(u[v]={},u[v][o]=h)}b();function m(x,M){u[x]=M}function C(x,M){h?c.nestedProperty(u[v],x).set(M):u[v+"."+x]=M}function g(){var x=u;return b(),x}function f(x,M){x&&C(x,M);var R=g();for(var N in R)c.nestedProperty(y,N).set(R[N])}return{modifyBase:m,modifyItem:C,getUpdateObj:g,applyUpdate:f}}},39172:function(k,D,r){var c=r(33428),A=r(24040),o=r(7316),_=r(3400),T=r(72736),p=r(73696),y=r(76308),a=r(43616),n=r(81668),l=r(45460),s=r(54460),h=r(84284),v=r(71888),u=v.enforce,b=v.clean,m=r(19280).doAutoRange,C="start",g="middle",f="end";D.layoutStyles=function(G){return _.syncOrAsync([o.doAutoMargin,M],G)};function x(G,W,V){for(var j=0;j=G[1]||$[1]<=G[0])&&re[0]W[0])return!0}return!1}function M(G){var W=G._fullLayout,V=W._size,j=V.p,$=s.list(G,"",!0),re,ae,oe,de,te,J;if(W._paperdiv.style({width:G._context.responsive&&W.autosize&&!G._context._hasZeroWidth&&!G.layout.width?"100%":W.width+"px",height:G._context.responsive&&W.autosize&&!G._context._hasZeroHeight&&!G.layout.height?"100%":W.height+"px"}).selectAll(".main-svg").call(a.setSize,W.width,W.height),G._context.setBackground(G,W.paper_bgcolor),D.drawMainTitle(G),l.manage(G),!W._has("cartesian"))return o.previousPromises(G);function ie(Ne,$e,Pe){var me=Ne._lw/2;if(Ne._id.charAt(0)==="x"){if($e){if(Pe==="top")return $e._offset-j-me}else return V.t+V.h*(1-(Ne.position||0))+me%1;return $e._offset+$e._length+j+me}if($e){if(Pe==="right")return $e._offset+$e._length+j+me}else return V.l+V.w*(Ne.position||0)+me%1;return $e._offset-j-me}for(re=0;re<$.length;re++){de=$[re];var Z=de._anchorAxis;de._linepositions={},de._lw=a.crispRound(G,de.linewidth,1),de._mainLinePosition=ie(de,Z,de.side),de._mainMirrorPosition=de.mirror&&Z?ie(de,Z,h.OPPOSITE_SIDE[de.side]):null}var ue=[],fe=[],Q=[],q=y.opacity(W.paper_bgcolor)===1&&y.opacity(W.plot_bgcolor)===1&&W.paper_bgcolor===W.plot_bgcolor;for(ae in W._plots)if(oe=W._plots[ae],oe.mainplot)oe.bg&&oe.bg.remove(),oe.bg=void 0;else{var ce=oe.xaxis.domain,se=oe.yaxis.domain,pe=oe.plotgroup;if(x(ce,se,Q)){var Te=pe.node(),we=oe.bg=_.ensureSingle(pe,"rect","bg");Te.insertBefore(we.node(),Te.childNodes[0]),fe.push(ae)}else pe.select("rect.bg").remove(),Q.push([ce,se]),q||(ue.push(ae),fe.push(ae))}var Ae=W._bgLayer.selectAll(".bg").data(ue);for(Ae.enter().append("rect").classed("bg",!0),Ae.exit().remove(),Ae.each(function(Ne){W._plots[Ne].bg=c.select(this)}),re=0;re0){L(G,re,te,de),oe.attr({x:ae,y:re,"text-anchor":j,dy:z(W.yanchor)}).call(T.positionText,ae,re);var J=(W.text.match(T.BR_TAG_ALL)||[]).length;if(J){var ie=h.LINE_SPACING*J+h.MID_SHIFT;W.y===0&&(ie=-ie),oe.selectAll(".line").each(function(){var Z=+this.getAttribute("dy").slice(0,-2)-ie+"em";this.setAttribute("dy",Z)})}}}};function P(G,W,V,j,$){var re=W.yref==="paper"?G._fullLayout._size.h:G._fullLayout.height,ae=_.isTopAnchor(W)?j:j-$,oe=V==="b"?re-ae:ae;return _.isTopAnchor(W)&&V==="t"||_.isBottomAnchor(W)&&V==="b"?!1:oe<$}function I(G,W,V,j,$){var re=0;return V==="middle"&&(re+=$/2),G==="t"?(V==="top"&&(re+=$),re+=j-W*j):(V==="bottom"&&(re+=$),re+=W*j),re}function d(G,W,V){var j=W.y,$=W.yanchor,re=j>.5?"t":"b",ae=G._fullLayout.margin[re],oe=0;return W.yref==="paper"?oe=V+W.pad.t+W.pad.b:W.yref==="container"&&(oe=I(re,j,$,G._fullLayout.height,V)+W.pad.t+W.pad.b),oe>ae?oe:0}function L(G,W,V,j){var $="title.automargin",re=G._fullLayout.title,ae=re.y>.5?"t":"b",oe={x:re.x,y:re.y,t:0,b:0},de={};re.yref==="paper"&&P(G,re,ae,W,j)?oe[ae]=V:re.yref==="container"&&(de[ae]=V,G._fullLayout._reservedMargin[$]=de),o.allowAutoMargin(G,$),o.autoMargin(G,$,oe)}function E(G,W){var V=G.title,j=G._size,$=0;switch(W===C?$=V.pad.l:W===f&&($=-V.pad.r),V.xref){case"paper":return j.l+j.w*V.x+$;case"container":default:return G.width*V.x+$}}function B(G,W){var V=G.title,j=G._size,$=0;if(W==="0em"||!W?$=-V.pad.b:W===h.CAP_SHIFT+"em"&&($=V.pad.t),V.y==="auto")return j.t/2;switch(V.yref){case"paper":return j.t+j.h-j.h*V.y+$;case"container":default:return G.height-G.height*V.y+$}}function z(G){return G==="top"?h.CAP_SHIFT+.3+"em":G==="bottom"?"-0.3em":h.MID_SHIFT+"em"}function Y(G){var W=G.title,V=g;return _.isRightAnchor(W)?V=f:_.isLeftAnchor(W)&&(V=C),V}function H(G){var W=G.title,V="0em";return _.isTopAnchor(W)?V=h.CAP_SHIFT+"em":_.isMiddleAnchor(W)&&(V=h.MID_SHIFT+"em"),V}D.doTraceStyle=function(G){var W=G.calcdata,V=[],j;for(j=0;jH?R.push({code:"unused",traceType:E,templateCount:Y,dataCount:H}):H>Y&&R.push({code:"reused",traceType:E,templateCount:Y,dataCount:H})}}function G(W,V){for(var j in W)if(j.charAt(0)!=="_"){var $=W[j],re=v(W,j,V);A($)?(Array.isArray(W)&&$._template===!1&&$.templateitemname&&R.push({code:"missing",path:re,templateitemname:$.templateitemname}),G($,re)):Array.isArray($)&&u($)&&G($,re)}}if(G({data:w,layout:N},""),R.length)return R.map(b)};function u(m){for(var C=0;C1&&R.push(h("object","layout"))),A.supplyDefaults(N);for(var I=N._fullData,d=w.length,L=0;LE.length&&M.push(h("unused",R,d.concat(E.length)));var W=E.length,V=Array.isArray(G);V&&(W=Math.min(W,G.length));var j,$,re,ae,oe;if(B.dimensions===2)for($=0;$E[$].length&&M.push(h("unused",R,d.concat($,E[$].length)));var de=E[$].length;for(j=0;j<(V?Math.min(de,G[$].length):de);j++)re=V?G[$][j]:G,ae=L[$][j],oe=E[$][j],c.validate(ae,re)?oe!==ae&&oe!==+ae&&M.push(h("dynamic",R,d.concat($,j),ae,oe)):M.push(h("value",R,d.concat($,j),ae))}else M.push(h("array",R,d.concat($),L[$]));else for($=0;$0&&Math.round(b)===b)u=b;else return{vals:s}}for(var m=n.calendar,C=h==="start",g=h==="end",f=a[l+"period0"],x=o(f,m)||0,M=[],R=[],N=[],w=s.length,P=0;PI;)E=_(E,-u,m);for(;E<=I;)E=_(E,u,m);L=_(E,-u,m)}else{for(d=Math.round((I-x)/v),E=x+d*v;E>I;)E-=v;for(;E<=I;)E+=v;L=E-v}M[P]=C?L:g?E:(L+E)/2,R[P]=L,N[P]=E}return{vals:M,starts:R,ends:N}}},26720:function(k){k.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},19280:function(k,D,r){var c=r(33428),A=r(38248),o=r(3400),_=r(39032).FP_SAFE,T=r(24040),p=r(43616),y=r(79811),a=y.getFromId,n=y.isLinked;k.exports={applyAutorangeOptions:d,getAutoRange:l,makePadFn:h,doAutoRange:m,findExtremes:C,concatExtremes:b};function l(L,E){var B,z,Y=[],H=L._fullLayout,G=h(H,E,0),W=h(H,E,1),V=b(L,E),j=V.min,$=V.max;if(j.length===0||$.length===0)return o.simpleMap(E.range,E.r2l);var re=j[0].val,ae=$[0].val;for(B=1;B0&&(Te=ue-G(q)-W(ce),Te>fe?we/Te>Q&&(se=q,pe=ce,Q=we/Te):we/ue>Q&&(se={val:q.val,nopad:1},pe={val:ce.val,nopad:1},Q=we/ue));function Ae(Ie,Ge){return Math.max(Ie,W(Ge))}if(re===ae){var ke=re-1,Se=re+1;if(ie)if(re===0)Y=[0,1];else{var _e=(re>0?$:j).reduce(Ae,0),Ee=re/(1-Math.min(.5,_e/ue));Y=re>0?[0,Ee]:[Ee,0]}else Z?Y=[Math.max(0,ke),Math.max(1,Se)]:Y=[ke,Se]}else ie?(se.val>=0&&(se={val:0,nopad:1}),pe.val<=0&&(pe={val:0,nopad:1})):Z&&(se.val-Q*G(se)<0&&(se={val:0,nopad:1}),pe.val<=0&&(pe={val:1,nopad:1})),Q=(pe.val-se.val-s(E,q.val,ce.val))/(ue-G(se)-W(pe)),Y=[se.val-Q*G(se),pe.val+Q*W(pe)];return Y=d(Y,E),E.limitRange&&E.limitRange(),de&&Y.reverse(),o.simpleMap(Y,E.l2r||Number)}function s(L,E,B){var z=0;if(L.rangebreaks)for(var Y=L.locateBreaks(E,B),H=0;H0?B.ppadplus:B.ppadminus)||B.ppad||0),q=fe((L._m>0?B.ppadminus:B.ppadplus)||B.ppad||0),ce=fe(B.vpadplus||B.vpad),se=fe(B.vpadminus||B.vpad);if(!j){if(Z=1/0,ue=-1/0,V)for(re=0;re0&&(Z=ae),ae>ue&&ae<_&&(ue=ae);else for(re=0;re-_&&(Z=ae),ae>ue&&ae<_&&(ue=ae);E=[Z,ue],H=2}var pe={tozero:W,extrapad:G};function Te(Ae){oe=E[Ae],A(oe)&&(J=Q(Ae),ie=q(Ae),$?(de=L.c2l(oe)-se(Ae),te=L.c2l(oe)+ce(Ae)):(Z=oe-se(Ae),ue=oe+ce(Ae),V&&Z=we;re--)Te(re);return{min:z,max:Y,opts:B}}function g(L,E,B,z){x(L,E,B,z,R)}function f(L,E,B,z){x(L,E,B,z,N)}function x(L,E,B,z,Y){for(var H=z.tozero,G=z.extrapad,W=!0,V=0;V=B&&(j.extrapad||!G)){W=!1;break}else Y(E,j.val)&&j.pad<=B&&(G||!j.extrapad)&&(L.splice(V,1),V--)}if(W){var $=H&&E===0;L.push({val:E,pad:$?0:B,extrapad:$?!1:G})}}function M(L){return A(L)&&Math.abs(L)<_}function R(L,E){return L<=E}function N(L,E){return L>=E}function w(L,E){var B=E.autorangeoptions;return B&&B.minallowed!==void 0&&I(E,B.minallowed,B.maxallowed)?B.minallowed:B&&B.clipmin!==void 0&&I(E,B.clipmin,B.clipmax)?Math.max(L,E.d2l(B.clipmin)):L}function P(L,E){var B=E.autorangeoptions;return B&&B.maxallowed!==void 0&&I(E,B.minallowed,B.maxallowed)?B.maxallowed:B&&B.clipmax!==void 0&&I(E,B.clipmin,B.clipmax)?Math.min(L,E.d2l(B.clipmax)):L}function I(L,E,B){return E!==void 0&&B!==void 0?(E=L.d2l(E),B=L.d2l(B),E=V&&(H=V,B=V),G<=V&&(G=V,z=V)}}return B=w(B,E),z=P(z,E),[B,z]}},76808:function(k){k.exports=function(r,c,A){var o,_;if(A){var T=c==="reversed"||c==="min reversed"||c==="max reversed";o=A[T?1:0],_=A[T?0:1]}var p=r("autorangeoptions.minallowed",_===null?o:void 0),y=r("autorangeoptions.maxallowed",o===null?_:void 0);p===void 0&&r("autorangeoptions.clipmin"),y===void 0&&r("autorangeoptions.clipmax"),r("autorangeoptions.include")}},54460:function(k,D,r){var c=r(33428),A=r(38248),o=r(7316),_=r(24040),T=r(3400),p=T.strTranslate,y=r(72736),a=r(81668),n=r(76308),l=r(43616),s=r(94724),h=r(98728),v=r(39032),u=v.ONEMAXYEAR,b=v.ONEAVGYEAR,m=v.ONEMINYEAR,C=v.ONEMAXQUARTER,g=v.ONEAVGQUARTER,f=v.ONEMINQUARTER,x=v.ONEMAXMONTH,M=v.ONEAVGMONTH,R=v.ONEMINMONTH,N=v.ONEWEEK,w=v.ONEDAY,P=w/2,I=v.ONEHOUR,d=v.ONEMIN,L=v.ONESEC,E=v.MINUS_SIGN,B=v.BADNUM,z={K:"zeroline"},Y={K:"gridline",L:"path"},H={K:"minor-gridline",L:"path"},G={K:"tick",L:"path"},W={K:"tick",L:"text"},V={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},j=r(84284),$=j.MID_SHIFT,re=j.CAP_SHIFT,ae=j.LINE_SPACING,oe=j.OPPOSITE_SIDE,de=3,te=k.exports={};te.setConvert=r(78344);var J=r(52976),ie=r(79811),Z=ie.idSort,ue=ie.isLinked;te.id2name=ie.id2name,te.name2id=ie.name2id,te.cleanId=ie.cleanId,te.list=ie.list,te.listIds=ie.listIds,te.getFromId=ie.getFromId,te.getFromTrace=ie.getFromTrace;var fe=r(19280);te.getAutoRange=fe.getAutoRange,te.findExtremes=fe.findExtremes;var Q=1e-4;function q(Xe){var je=(Xe[1]-Xe[0])*Q;return[Xe[0]-je,Xe[1]+je]}te.coerceRef=function(Xe,je,Ht,zt,ir,cr){var hr=zt.charAt(zt.length-1),sr=Ht._fullLayout._subplots[hr+"axis"],Vt=zt+"ref",xr={};return ir||(ir=sr[0]||(typeof cr=="string"?cr:cr[0])),cr||(cr=ir),sr=sr.concat(sr.map(function(Ar){return Ar+" domain"})),xr[Vt]={valType:"enumerated",values:sr.concat(cr?typeof cr=="string"?[cr]:cr:[]),dflt:ir},T.coerce(Xe,je,xr,Vt)},te.getRefType=function(Xe){return Xe===void 0?Xe:Xe==="paper"?"paper":Xe==="pixel"?"pixel":/( domain)$/.test(Xe)?"domain":"range"},te.coercePosition=function(Xe,je,Ht,zt,ir,cr){var hr,sr,Vt=te.getRefType(zt);if(Vt!=="range")hr=T.ensureNumber,sr=Ht(ir,cr);else{var xr=te.getFromId(je,zt);cr=xr.fraction2r(cr),sr=Ht(ir,cr),hr=xr.cleanPos}Xe[ir]=hr(sr)},te.cleanPosition=function(Xe,je,Ht){var zt=Ht==="paper"||Ht==="pixel"?T.ensureNumber:te.getFromId(je,Ht).cleanPos;return zt(Xe)},te.redrawComponents=function(Xe,je){je=je||te.listIds(Xe);var Ht=Xe._fullLayout;function zt(ir,cr,hr,sr){for(var Vt=_.getComponentMethod(ir,cr),xr={},Ar=0;Ar2e-6||((Ht-Xe._forceTick0)/Xe._minDtick%1+1.000001)%1>2e-6)&&(Xe._minDtick=0))},te.saveRangeInitial=function(Xe,je){for(var Ht=te.list(Xe,"",!0),zt=!1,ir=0;irkr*.3||xr(zt)||xr(ir))){var mr=Ht.dtick/2;Xe+=Xe+mrhr){var sr=Number(Ht.substr(1));cr.exactYears>hr&&sr%12===0?Xe=te.tickIncrement(Xe,"M6","reverse")+w*1.5:cr.exactMonths>hr?Xe=te.tickIncrement(Xe,"M1","reverse")+w*15.5:Xe-=P;var Vt=te.tickIncrement(Xe,Ht);if(Vt<=zt)return Vt}return Xe}te.prepMinorTicks=function(Xe,je,Ht){if(!je.minor.dtick){delete Xe.dtick;var zt=je.dtick&&A(je._tmin),ir;if(zt){var cr=te.tickIncrement(je._tmin,je.dtick,!0);ir=[je._tmin,cr*.99+je._tmin*.01]}else{var hr=T.simpleMap(je.range,je.r2l);ir=[hr[0],.8*hr[0]+.2*hr[1]]}if(Xe.range=T.simpleMap(ir,je.l2r),Xe._isMinor=!0,te.prepTicks(Xe,Ht),zt){var sr=A(je.dtick),Vt=A(Xe.dtick),xr=sr?je.dtick:+je.dtick.substring(1),Ar=Vt?Xe.dtick:+Xe.dtick.substring(1);sr&&Vt?Ae(xr,Ar)?xr===2*N&&Ar===2*w&&(Xe.dtick=N):xr===2*N&&Ar===3*w?Xe.dtick=N:xr===N&&!(je._input.minor||{}).nticks?Xe.dtick=w:ke(xr/Ar,2.5)?Xe.dtick=xr/2:Xe.dtick=xr:String(je.dtick).charAt(0)==="M"?Vt?Xe.dtick="M1":Ae(xr,Ar)?xr>=12&&Ar===2&&(Xe.dtick="M3"):Xe.dtick=je.dtick:String(Xe.dtick).charAt(0)==="L"?String(je.dtick).charAt(0)==="L"?Ae(xr,Ar)||(Xe.dtick=ke(xr/Ar,2.5)?je.dtick/2:je.dtick):Xe.dtick="D1":Xe.dtick==="D2"&&+je.dtick>1&&(Xe.dtick=1)}Xe.range=je.range}je.minor._tick0Init===void 0&&(Xe.tick0=je.tick0)};function Ae(Xe,je){return Math.abs((Xe/je+.5)%1-.5)<.001}function ke(Xe,je){return Math.abs(Xe/je-1)<.001}te.prepTicks=function(Xe,je){var Ht=T.simpleMap(Xe.range,Xe.r2l,void 0,void 0,je);if(Xe.tickmode==="auto"||!Xe.dtick){var zt=Xe.nticks,ir;zt||(Xe.type==="category"||Xe.type==="multicategory"?(ir=Xe.tickfont?T.bigFont(Xe.tickfont.size||12):15,zt=Xe._length/ir):(ir=Xe._id.charAt(0)==="y"?40:80,zt=T.constrain(Xe._length/ir,4,9)+1),Xe._name==="radialaxis"&&(zt*=2)),Xe.minor&&Xe.minor.tickmode!=="array"||Xe.tickmode==="array"&&(zt*=100),Xe._roughDTick=Math.abs(Ht[1]-Ht[0])/zt,te.autoTicks(Xe,Xe._roughDTick),Xe._minDtick>0&&Xe.dtick0?(cr=zt-1,hr=zt):(cr=zt,hr=zt);var sr=Xe[cr].value,Vt=Xe[hr].value,xr=Math.abs(Vt-sr),Ar=Ht||xr,kr=0;Ar>=m?xr>=m&&xr<=u?kr=xr:kr=b:Ht===g&&Ar>=f?xr>=f&&xr<=C?kr=xr:kr=g:Ar>=R?xr>=R&&xr<=x?kr=xr:kr=M:Ht===N&&Ar>=N?kr=N:Ar>=w?kr=w:Ht===P&&Ar>=P?kr=P:Ht===I&&Ar>=I&&(kr=I);var mr;kr>=xr&&(kr=xr,mr=!0);var Kr=ir+kr;if(je.rangebreaks&&kr>0){for(var Br=84,Ur=0,Sn=0;SnN&&(kr=xr)}(kr>0||zt===0)&&(Xe[zt].periodX=ir+kr/2)}}te.calcTicks=function(je,Ht){for(var zt=je.type,ir=je.calendar,cr=je.ticklabelstep,hr=je.ticklabelmode==="period",sr=T.simpleMap(je.range,je.r2l,void 0,void 0,Ht),Vt=sr[1]=(Sn?0:1);an--){var Hn=!an;an?(je._dtickInit=je.dtick,je._tick0Init=je.tick0):(je.minor._dtickInit=je.minor.dtick,je.minor._tick0Init=je.minor.tick0);var Gn=an?je:T.extendFlat({},je,je.minor);if(Hn?te.prepMinorTicks(Gn,je,Ht):te.prepTicks(Gn,Ht),Gn.tickmode==="array"){an?(Br=[],mr=We(je,!Hn)):(Ur=[],Kr=We(je,!Hn));continue}if(Gn.tickmode==="sync"){Br=[],mr=Ge(je);continue}var Mr=q(sr),Vr=Mr[0],rn=Mr[1],Wr=A(Gn.dtick),Mn=zt==="log"&&!(Wr||Gn.dtick.charAt(0)==="L"),Cn=te.tickFirst(Gn,Ht);if(an){if(je._tmin=Cn,Cn=rn:Zn<=rn;Zn=te.tickIncrement(Zn,za,Vt,ir)){if(an&&sa++,Gn.rangebreaks&&!Vt){if(Zn=Ar)break}if(Br.length>kr||Zn===$n)break;$n=Zn;var Ya={value:Zn};an?(Mn&&Zn!==(Zn|0)&&(Ya.simpleLabel=!0),cr>1&&sa%cr&&(Ya.skipLabel=!0),Br.push(Ya)):(Ya.minor=!0,Ur.push(Ya))}}if(Sn){var Pa=je.minor.ticks==="inside"&&je.ticks==="outside"||je.minor.ticks==="outside"&&je.ticks==="inside";if(!Pa){for(var ia=Br.map(function(Rn){return Rn.value}),_r=[],Qr=0;Qr-1;Un--){if(Br[Un].drop){Br.splice(Un,1);continue}Br[Un].value=Wt(Br[Un].value,je);var ci=je.c2p(Br[Un].value);(na?Na>ci-ga:NaAr||jrAr&&(Ir.periodX=Ar),jrir&&mrb)je/=b,zt=ir(10),Xe.dtick="M"+12*mt(je,zt,Be);else if(cr>M)je/=M,Xe.dtick="M"+mt(je,1,Ve);else if(cr>w){if(Xe.dtick=mt(je,w,Xe._hasDayOfWeekBreaks?[1,2,7,14]:pt),!Ht){var hr=te.getTickFormat(Xe),sr=Xe.ticklabelmode==="period";sr&&(Xe._rawTick0=Xe.tick0),/%[uVW]/.test(hr)?Xe.tick0=T.dateTick0(Xe.calendar,2):Xe.tick0=T.dateTick0(Xe.calendar,1),sr&&(Xe._dowTick0=Xe.tick0)}}else cr>I?Xe.dtick=mt(je,I,Ve):cr>d?Xe.dtick=mt(je,d,lt):cr>L?Xe.dtick=mt(je,L,lt):(zt=ir(10),Xe.dtick=mt(je,zt,Be))}else if(Xe.type==="log"){Xe.tick0=0;var Vt=T.simpleMap(Xe.range,Xe.r2l);if(Xe._isMinor&&(je*=1.5),je>.7)Xe.dtick=Math.ceil(je);else if(Math.abs(Vt[1]-Vt[0])<1){var xr=1.5*Math.abs((Vt[1]-Vt[0])/je);je=Math.abs(Math.pow(10,Vt[1])-Math.pow(10,Vt[0]))/xr,zt=ir(10),Xe.dtick="L"+mt(je,zt,Be)}else Xe.dtick=je>.3?"D2":"D1"}else Xe.type==="category"||Xe.type==="multicategory"?(Xe.tick0=0,Xe.dtick=Math.ceil(Math.max(je,1))):Yt(Xe)?(Xe.tick0=0,zt=1,Xe.dtick=mt(je,zt,vt)):(Xe.tick0=0,zt=ir(10),Xe.dtick=mt(je,zt,Be));if(Xe.dtick===0&&(Xe.dtick=1),!A(Xe.dtick)&&typeof Xe.dtick!="string"){var Ar=Xe.dtick;throw Xe.dtick=1,"ax.dtick error: "+String(Ar)}};function xt(Xe){var je=Xe.dtick;if(Xe._tickexponent=0,!A(je)&&typeof je!="string"&&(je=1),(Xe.type==="category"||Xe.type==="multicategory")&&(Xe._tickround=null),Xe.type==="date"){var Ht=Xe.r2l(Xe.tick0),zt=Xe.l2r(Ht).replace(/(^-|i)/g,""),ir=zt.length;if(String(je).charAt(0)==="M")ir>10||zt.substr(5)!=="01-01"?Xe._tickround="d":Xe._tickround=+je.substr(1)%12===0?"y":"m";else if(je>=w&&ir<=10||je>=w*15)Xe._tickround="d";else if(je>=d&&ir<=16||je>=I)Xe._tickround="M";else if(je>=L&&ir<=19||je>=d)Xe._tickround="S";else{var cr=Xe.l2r(Ht+je).replace(/^-/,"").length;Xe._tickround=Math.max(ir,cr)-20,Xe._tickround<0&&(Xe._tickround=4)}}else if(A(je)||je.charAt(0)==="L"){var hr=Xe.range.map(Xe.r2d||Number);A(je)||(je=Number(je.substr(1))),Xe._tickround=2-Math.floor(Math.log(je)/Math.LN10+.01);var sr=Math.max(Math.abs(hr[0]),Math.abs(hr[1])),Vt=Math.floor(Math.log(sr)/Math.LN10+.01),xr=Xe.minexponent===void 0?3:Xe.minexponent;Math.abs(Vt)>xr&&($e(Xe.exponentformat)&&!Pe(Vt)?Xe._tickexponent=3*Math.round((Vt-1)/3):Xe._tickexponent=Vt)}else Xe._tickround=null}te.tickIncrement=function(Xe,je,Ht,zt){var ir=Ht?-1:1;if(A(je))return T.increment(Xe,ir*je);var cr=je.charAt(0),hr=ir*Number(je.substr(1));if(cr==="M")return T.incrementMonth(Xe,hr,zt);if(cr==="L")return Math.log(Math.pow(10,Xe)+hr)/Math.LN10;if(cr==="D"){var sr=je==="D2"?nt:ct,Vt=Xe+ir*.01,xr=T.roundUp(T.mod(Vt,1),sr,Ht);return Math.floor(Vt)+Math.log(c.round(Math.pow(10,xr),1))/Math.LN10}throw"unrecognized dtick "+String(je)},te.tickFirst=function(Xe,je){var Ht=Xe.r2l||Number,zt=T.simpleMap(Xe.range,Ht,void 0,void 0,je),ir=zt[1]=0&&an<=Xe._length?Sn:null};if(cr&&T.isArrayOrTypedArray(Xe.ticktext)){var kr=T.simpleMap(Xe.range,Xe.r2l),mr=(Math.abs(kr[1]-kr[0])-(Xe._lBreaks||0))/1e4;for(xr=0;xr"+sr;else{var xr=ar(Xe),Ar=Xe._trueSide||Xe.side;(!xr&&Ar==="top"||xr&&Ar==="bottom")&&(hr+="
")}je.text=hr}function at(Xe,je,Ht,zt,ir){var cr=Xe.dtick,hr=je.x,sr=Xe.tickformat,Vt=typeof cr=="string"&&cr.charAt(0);if(ir==="never"&&(ir=""),zt&&Vt!=="L"&&(cr="L3",Vt="L"),sr||Vt==="L")je.text=me(Math.pow(10,hr),Xe,ir,zt);else if(A(cr)||Vt==="D"&&T.mod(hr+.01,1)<.1){var xr=Math.round(hr),Ar=Math.abs(xr),kr=Xe.exponentformat;kr==="power"||$e(kr)&&Pe(xr)?(xr===0?je.text=1:xr===1?je.text="10":je.text="10"+(xr>1?"":E)+Ar+"",je.fontSize*=1.25):(kr==="e"||kr==="E")&&Ar>2?je.text="1"+kr+(xr>0?"+":E)+Ar:(je.text=me(Math.pow(10,hr),Xe,"","fakehover"),cr==="D1"&&Xe._id.charAt(0)==="y"&&(je.dy-=je.fontSize/6))}else if(Vt==="D")je.text=String(Math.round(Math.pow(10,T.mod(hr,1)))),je.fontSize*=.75;else throw"unrecognized dtick "+String(cr);if(Xe.dtick==="D1"){var mr=String(je.text).charAt(0);(mr==="0"||mr==="1")&&(Xe._id.charAt(0)==="y"?je.dx-=je.fontSize/4:(je.dy+=je.fontSize/2,je.dx+=(Xe.range[1]>Xe.range[0]?1:-1)*je.fontSize*(hr<0?.5:.25)))}}function Oe(Xe,je){var Ht=Xe._categories[Math.round(je.x)];Ht===void 0&&(Ht=""),je.text=String(Ht)}function Ye(Xe,je,Ht){var zt=Math.round(je.x),ir=Xe._categories[zt]||[],cr=ir[1]===void 0?"":String(ir[1]),hr=ir[0]===void 0?"":String(ir[0]);Ht?je.text=hr+" - "+cr:(je.text=cr,je.text2=hr)}function Ze(Xe,je,Ht,zt,ir){ir==="never"?ir="":Xe.showexponent==="all"&&Math.abs(je.x/Xe.dtick)<1e-6&&(ir="hide"),je.text=me(je.x,Xe,ir,zt)}function Ke(Xe,je,Ht,zt,ir){if(Xe.thetaunit==="radians"&&!Ht){var cr=je.x/180;if(cr===0)je.text="0";else{var hr=Fe(cr);if(hr[1]>=100)je.text=me(T.deg2rad(je.x),Xe,ir,zt);else{var sr=je.x<0;hr[1]===1?hr[0]===1?je.text="π":je.text=hr[0]+"π":je.text=["",hr[0],"","⁄","",hr[1],"","π"].join(""),sr&&(je.text=E+je.text)}}}else je.text=me(je.x,Xe,ir,zt)}function Fe(Xe){function je(sr,Vt){return Math.abs(sr-Vt)<=1e-6}function Ht(sr,Vt){return je(Vt,0)?sr:Ht(Vt,sr%Vt)}function zt(sr){for(var Vt=1;!je(Math.round(sr*Vt)/Vt,sr);)Vt*=10;return Vt}var ir=zt(Xe),cr=Xe*ir,hr=Math.abs(Ht(cr,ir));return[Math.round(cr/hr),Math.round(ir/hr)]}var Ne=["f","p","n","μ","m","","k","M","G","T"];function $e(Xe){return Xe==="SI"||Xe==="B"}function Pe(Xe){return Xe>14||Xe<-15}function me(Xe,je,Ht,zt){var ir=Xe<0,cr=je._tickround,hr=Ht||je.exponentformat||"B",sr=je._tickexponent,Vt=te.getTickFormat(je),xr=je.separatethousands;if(zt){var Ar={exponentformat:hr,minexponent:je.minexponent,dtick:je.showexponent==="none"?je.dtick:A(Xe)&&Math.abs(Xe)||1,range:je.showexponent==="none"?je.range.map(je.r2d):[0,Xe||1]};xt(Ar),cr=(Number(Ar._tickround)||0)+4,sr=Ar._tickexponent,je.hoverformat&&(Vt=je.hoverformat)}if(Vt)return je._numFormat(Vt)(Xe).replace(/-/g,E);var kr=Math.pow(10,-cr)/2;if(hr==="none"&&(sr=0),Xe=Math.abs(Xe),Xe"+Br+"":hr==="B"&&sr===9?Xe+="B":$e(hr)&&(Xe+=Ne[sr/3+5])}return ir?E+Xe:Xe}te.getTickFormat=function(Xe){var je;function Ht(Vt){return typeof Vt!="string"?Vt:Number(Vt.replace("M",""))*M}function zt(Vt,xr){var Ar=["L","D"];if(typeof Vt==typeof xr){if(typeof Vt=="number")return Vt-xr;var kr=Ar.indexOf(Vt.charAt(0)),mr=Ar.indexOf(xr.charAt(0));return kr===mr?Number(Vt.replace(/(L|D)/g,""))-Number(xr.replace(/(L|D)/g,"")):kr-mr}else return typeof Vt=="number"?1:-1}function ir(Vt,xr,Ar){var kr=Ar||function(Br){return Br},mr=xr[0],Kr=xr[1];return(!mr&&typeof mr!="number"||kr(mr)<=kr(Vt))&&(!Kr&&typeof Kr!="number"||kr(Kr)>=kr(Vt))}function cr(Vt,xr){var Ar=xr[0]===null,kr=xr[1]===null,mr=zt(Vt,xr[0])>=0,Kr=zt(Vt,xr[1])<=0;return(Ar||mr)&&(kr||Kr)}var hr,sr;if(Xe.tickformatstops&&Xe.tickformatstops.length>0)switch(Xe.type){case"date":case"linear":{for(je=0;je=0&&ir.unshift(ir.splice(Ar,1).shift())}});var sr={false:{left:0,right:0}};return T.syncOrAsync(ir.map(function(Vt){return function(){if(Vt){var xr=te.getFromId(Xe,Vt);Ht||(Ht={}),Ht.axShifts=sr,Ht.overlayingShiftedAx=hr;var Ar=te.drawOne(Xe,xr,Ht);return xr._shiftPusher&&rr(xr,xr._fullDepth||0,sr,!0),xr._r=xr.range.slice(),xr._rl=T.simpleMap(xr._r,xr.r2l),Ar}}}))},te.drawOne=function(Xe,je,Ht){Ht=Ht||{};var zt=Ht.axShifts||{},ir=Ht.overlayingShiftedAx||[],cr,hr,sr;je.setScale();var Vt=Xe._fullLayout,xr=je._id,Ar=xr.charAt(0),kr=te.counterLetter(xr),mr=Vt._plots[je._mainSubplot];if(!mr)return;if(je._shiftPusher=je.autoshift||ir.indexOf(je._id)!==-1||ir.indexOf(je.overlaying)!==-1,je._shiftPusher&je.anchor==="free"){var Kr=je.linewidth/2||0;je.ticks==="inside"&&(Kr+=je.ticklen),rr(je,Kr,zt,!0),rr(je,je.shift||0,zt,!1)}(Ht.skipTitle!==!0||je._shift===void 0)&&(je._shift=Tr(je,zt));var Br=mr[Ar+"axislayer"],Ur=je._mainLinePosition,Sn=Ur+=je._shift,an=je._mainMirrorPosition,Hn=je._vals=te.calcTicks(je),Gn=[je.mirror,Sn,an].join("_");for(cr=0;cr0?Fn.bottom-Nn:0,qn))));var Ma=0,Oa=0;if(je._shiftPusher&&(Ma=Math.max(qn,Fn.height>0?en==="l"?Nn-Fn.left:Fn.right-Nn:0),je.title.text!==Vt._dfltTitle[Ar]&&(Oa=(je._titleStandoff||0)+(je._titleScoot||0),en==="l"&&(Oa+=Jt(je))),je._fullDepth=Math.max(Ma,Oa)),je.automargin){aa={x:0,y:0,r:0,l:0,t:0,b:0};var Ba=[0,1],ji=typeof je._shift=="number"?je._shift:0;if(Ar==="x"){if(en==="b"?aa[en]=je._depth:(aa[en]=je._depth=Math.max(Fn.width>0?Nn-Fn.top:0,qn),Ba.reverse()),Fn.width>0){var Wi=Fn.right-(je._offset+je._length);Wi>0&&(aa.xr=1,aa.r=Wi);var xl=je._offset-Fn.left;xl>0&&(aa.xl=0,aa.l=xl)}}else if(en==="l"?(je._depth=Math.max(Fn.height>0?Nn-Fn.left:0,qn),aa[en]=je._depth-ji):(je._depth=Math.max(Fn.height>0?Fn.right-Nn:0,qn),aa[en]=je._depth+ji,Ba.reverse()),Fn.height>0){var zs=Fn.bottom-(je._offset+je._length);zs>0&&(aa.yb=0,aa.b=zs);var ws=je._offset-Fn.top;ws>0&&(aa.yt=1,aa.t=ws)}aa[kr]=je.anchor==="free"?je.position:je._anchorAxis.domain[Ba[0]],je.title.text!==Vt._dfltTitle[Ar]&&(aa[en]+=Jt(je)+(je.title.standoff||0)),je.mirror&&je.anchor!=="free"&&(ra={x:0,y:0,r:0,l:0,t:0,b:0},ra[fn]=je.linewidth,je.mirror&&je.mirror!==!0&&(ra[fn]+=qn),je.mirror===!0||je.mirror==="ticks"?ra[kr]=je._anchorAxis.domain[Ba[1]]:(je.mirror==="all"||je.mirror==="allticks")&&(ra[kr]=[je._counterDomainMin,je._counterDomainMax][Ba[1]]))}sn&&(_a=_.getComponentMethod("rangeslider","autoMarginOpts")(Xe,je)),typeof je.automargin=="string"&&(Ce(aa,je.automargin),Ce(ra,je.automargin)),o.autoMargin(Xe,lr(je),aa),o.autoMargin(Xe,Et(je),ra),o.autoMargin(Xe,ft(je),_a)}),T.syncOrAsync(xn)}};function Ce(Xe,je){if(Xe){var Ht=Object.keys(V).reduce(function(zt,ir){return je.indexOf(ir)!==-1&&V[ir].forEach(function(cr){zt[cr]=1}),zt},{});Object.keys(Xe).forEach(function(zt){Ht[zt]||(zt.length===1?Xe[zt]=0:delete Xe[zt])})}}function He(Xe,je){var Ht=[],zt,ir=function(cr,hr){var sr=cr.xbnd[hr];sr!==null&&Ht.push(T.extendFlat({},cr,{x:sr}))};if(je.length){for(zt=0;zt60?-.5*za:Xe.side==="top"!==Ar?-za:0};else if(Wr==="y"){if(Cn=!Ar&&rn==="left"||Ar&&rn==="right",Mr=Cn?1:-1,Ar&&(Mr*=-1),an=mr,Hn=Kr*Mr,Gn=0,!Ar&&Math.abs(Mn)===90&&(Mn===-90&&rn==="left"||Mn===90&&rn==="right"?Gn=re:Gn=.5),Ar){var $n=A(Mn)?+Mn:0;if($n!==0){var Zn=T.deg2rad($n);Vr=Math.abs(Math.sin(Zn))*re*Mr,Gn=0}}Sn.xFn=function(sa){return sa.dx+je-(an+sa.fontSize*Gn)*Mr+Vr*sa.fontSize},Sn.yFn=function(sa){return sa.dy+Hn+sa.fontSize*$},Sn.anchorFn=function(sa,Ca){return A(Ca)&&Math.abs(Ca)===90?"middle":Cn?"end":"start"},Sn.heightFn=function(sa,Ca,za){return Xe.side==="right"&&(Ca*=-1),Ca<-30?-za:Ca<30?-.5*za:0}}return Sn};function gt(Xe){return[Xe.text,Xe.x,Xe.axInfo,Xe.font,Xe.fontSize,Xe.fontColor].join("_")}te.drawTicks=function(Xe,je,Ht){Ht=Ht||{};var zt=je._id+"tick",ir=[].concat(je.minor&&je.minor.ticks?Ht.vals.filter(function(hr){return hr.minor&&!hr.noTick}):[]).concat(je.ticks?Ht.vals.filter(function(hr){return!hr.minor&&!hr.noTick}):[]),cr=Ht.layer.selectAll("path."+zt).data(ir,gt);cr.exit().remove(),cr.enter().append("path").classed(zt,1).classed("ticks",1).classed("crisp",Ht.crisp!==!1).each(function(hr){return n.stroke(c.select(this),hr.minor?je.minor.tickcolor:je.tickcolor)}).style("stroke-width",function(hr){return l.crispRound(Xe,hr.minor?je.minor.tickwidth:je.tickwidth,1)+"px"}).attr("d",Ht.path).style("display",null),yr(je,[G]),cr.attr("transform",Ht.transFn)},te.drawGrid=function(Xe,je,Ht){if(Ht=Ht||{},je.tickmode!=="sync"){var zt=je._id+"grid",ir=je.minor&&je.minor.showgrid,cr=ir?Ht.vals.filter(function(an){return an.minor}):[],hr=je.showgrid?Ht.vals.filter(function(an){return!an.minor}):[],sr=Ht.counterAxis;if(sr&&te.shouldShowZeroLine(Xe,je,sr))for(var Vt=je.tickmode==="array",xr=0;xr=0;Br--){var Ur=Br?mr:Kr;if(Ur){var Sn=Ur.selectAll("path."+zt).data(Br?hr:cr,gt);Sn.exit().remove(),Sn.enter().append("path").classed(zt,1).classed("crisp",Ht.crisp!==!1),Sn.attr("transform",Ht.transFn).attr("d",Ht.path).each(function(an){return n.stroke(c.select(this),an.minor?je.minor.gridcolor:je.gridcolor||"#ddd")}).style("stroke-dasharray",function(an){return l.dashStyle(an.minor?je.minor.griddash:je.griddash,an.minor?je.minor.gridwidth:je.gridwidth)}).style("stroke-width",function(an){return(an.minor?kr:je._gw)+"px"}).style("display",null),typeof Ht.path=="function"&&Sn.attr("d",Ht.path)}}yr(je,[Y,H])}},te.drawZeroLine=function(Xe,je,Ht){Ht=Ht||Ht;var zt=je._id+"zl",ir=te.shouldShowZeroLine(Xe,je,Ht.counterAxis),cr=Ht.layer.selectAll("path."+zt).data(ir?[{x:0,id:je._id}]:[]);cr.exit().remove(),cr.enter().append("path").classed(zt,1).classed("zl",1).classed("crisp",Ht.crisp!==!1).each(function(){Ht.layer.selectAll("path").sort(function(hr,sr){return Z(hr.id,sr.id)})}),cr.attr("transform",Ht.transFn).attr("d",Ht.path).call(n.stroke,je.zerolinecolor||n.defaultLine).style("stroke-width",l.crispRound(Xe,je.zerolinewidth,je._gw||1)+"px").style("display",null),yr(je,[z])},te.drawLabels=function(Xe,je,Ht){Ht=Ht||{};var zt=Xe._fullLayout,ir=je._id,cr=Ht.cls||ir+"tick",hr=Ht.vals.filter(function(_r){return _r.text}),sr=Ht.labelFns,Vt=Ht.secondary?0:je.tickangle,xr=(je._prevTickAngles||{})[cr],Ar=Ht.layer.selectAll("g."+cr).data(je.showticklabels?hr:[],gt),kr=[];Ar.enter().append("g").classed(cr,1).append("text").attr("text-anchor","middle").each(function(_r){var Qr=c.select(this),Jr=Xe._promises.length;Qr.call(y.positionText,sr.xFn(_r),sr.yFn(_r)).call(l.font,{family:_r.font,size:_r.fontSize,color:_r.fontColor,weight:_r.fontWeight,style:_r.fontStyle,variant:_r.fontVariant}).text(_r.text).call(y.convertToTspans,Xe),Xe._promises[Jr]?kr.push(Xe._promises.pop().then(function(){mr(Qr,Vt)})):mr(Qr,Vt)}),yr(je,[W]),Ar.exit().remove(),Ht.repositionOnUpdate&&Ar.each(function(_r){c.select(this).select("text").call(y.positionText,sr.xFn(_r),sr.yFn(_r))});function mr(_r,Qr){_r.each(function(Jr){var _n=c.select(this),ta=_n.select(".text-math-group"),On=sr.anchorFn(Jr,Qr),Un=Ht.transFn.call(_n.node(),Jr)+(A(Qr)&&+Qr!=0?" rotate("+Qr+","+sr.xFn(Jr)+","+(sr.yFn(Jr)-Jr.fontSize/2)+")":""),na=y.lineCount(_n),ga=ae*Jr.fontSize,Na=sr.heightFn(Jr,A(Qr)?+Qr:0,(na-1)*ga);if(Na&&(Un+=p(0,Na)),ta.empty()){var ci=_n.select("text");ci.attr({transform:Un,"text-anchor":On}),ci.style("opacity",1),je._adjustTickLabelsOverflow&&je._adjustTickLabelsOverflow()}else{var Cr=l.bBox(ta.node()).width,Yr=Cr*{end:-.5,start:.5}[On];ta.attr("transform",Un+p(Yr,0))}})}je._adjustTickLabelsOverflow=function(){var _r=je.ticklabeloverflow;if(!(!_r||_r==="allow")){var Qr=_r.indexOf("hide")!==-1,Jr=je._id.charAt(0)==="x",_n=0,ta=Jr?Xe._fullLayout.width:Xe._fullLayout.height;if(_r.indexOf("domain")!==-1){var On=T.simpleMap(je.range,je.r2l);_n=je.l2p(On[0])+je._offset,ta=je.l2p(On[1])+je._offset}var Un=Math.min(_n,ta),na=Math.max(_n,ta),ga=je.side,Na=1/0,ci=-1/0;Ar.each(function(jr){var Ln=c.select(this),Vn=Ln.select(".text-math-group");if(Vn.empty()){var Rn=l.bBox(Ln.node()),xn=0;Jr?(Rn.right>na||Rn.leftna||Rn.top+(je.tickangle?0:jr.fontSize/4)je["_visibleLabelMin_"+On._id]?jr.style("display","none"):na.K==="tick"&&!Un&&jr.style("display",null)})})})})},mr(Ar,xr+1?xr:Vt);function Kr(){return kr.length&&Promise.all(kr)}var Br=null;function Ur(){if(mr(Ar,Vt),hr.length&&je.autotickangles&&(je.type!=="log"||String(je.dtick).charAt(0)!=="D")){Br=je.autotickangles[0];var _r=0,Qr=[],Jr,_n=1;Ar.each(function(Fn){_r=Math.max(_r,Fn.fontSize);var aa=je.l2p(Fn.x),ra=br(this),_a=l.bBox(ra.node());_n=Math.max(_n,y.lineCount(ra)),Qr.push({top:0,bottom:10,height:10,left:aa-_a.width/2,right:aa+_a.width/2+2,width:_a.width+2})});var ta=(je.tickson==="boundaries"||je.showdividers)&&!Ht.secondary,On=hr.length,Un=Math.abs((hr[On-1].x-hr[0].x)*je._m)/(On-1),na=ta?Un/2:Un,ga=ta?je.ticklen:_r*1.25*_n,Na=Math.sqrt(Math.pow(na,2)+Math.pow(ga,2)),ci=na/Na,Cr=je.autotickangles.map(function(Fn){return Fn*Math.PI/180}),Yr=Cr.find(function(Fn){return Math.abs(Math.cos(Fn))<=ci});Yr===void 0&&(Yr=Cr.reduce(function(Fn,aa){return Math.abs(Math.cos(Fn))Ya*za&&(Zn=za,Mn[Wr]=Cn[Wr]=sa[Wr])}var Pa=Math.abs(Zn-$n);Pa-Mr>0?(Pa-=Mr,Mr*=1+Mr/Pa):Mr=0,je._id.charAt(0)!=="y"&&(Mr=-Mr),Mn[rn]=Hn.p2r(Hn.r2p(Cn[rn])+Vr*Mr),Hn.autorange==="min"||Hn.autorange==="max reversed"?(Mn[0]=null,Hn._rangeInitial0=void 0,Hn._rangeInitial1=void 0):(Hn.autorange==="max"||Hn.autorange==="min reversed")&&(Mn[1]=null,Hn._rangeInitial0=void 0,Hn._rangeInitial1=void 0),zt._insideTickLabelsUpdaterange[Hn._name+".range"]=Mn}var ia=T.syncOrAsync(Sn);return ia&&ia.then&&Xe._promises.push(ia),ia};function Ct(Xe,je,Ht){var zt=je._id+"divider",ir=Ht.vals,cr=Ht.layer.selectAll("path."+zt).data(ir,gt);cr.exit().remove(),cr.enter().insert("path",":first-child").classed(zt,1).classed("crisp",1).call(n.stroke,je.dividercolor).style("stroke-width",l.crispRound(Xe,je.dividerwidth,1)+"px"),cr.attr("transform",Ht.transFn).attr("d",Ht.path)}te.getPxPosition=function(Xe,je){var Ht=Xe._fullLayout._size,zt=je._id.charAt(0),ir=je.side,cr;if(je.anchor!=="free"?cr=je._anchorAxis:zt==="x"?cr={_offset:Ht.t+(1-(je.position||0))*Ht.h,_length:0}:zt==="y"&&(cr={_offset:Ht.l+(je.position||0)*Ht.w+je._shift,_length:0}),ir==="top"||ir==="left")return cr._offset;if(ir==="bottom"||ir==="right")return cr._offset+cr._length};function Jt(Xe){var je=Xe.title.font.size,Ht=(Xe.title.text.match(y.BR_TAG_ALL)||[]).length;return Xe.title.hasOwnProperty("standoff")?je*(re+Ht*ae):Ht?je*(Ht+1)*ae:je}function wr(Xe,je){var Ht=Xe._fullLayout,zt=je._id,ir=zt.charAt(0),cr=je.title.font.size,hr,sr=(je.title.text.match(y.BR_TAG_ALL)||[]).length;if(je.title.hasOwnProperty("standoff"))je.side==="bottom"||je.side==="right"?hr=je._depth+je.title.standoff+cr*re:(je.side==="top"||je.side==="left")&&(hr=je._depth+je.title.standoff+cr*($+sr*ae));else{var Vt=ar(je);if(je.type==="multicategory")hr=je._depth;else{var xr=1.5*cr;Vt&&(xr=.5*cr,je.ticks==="outside"&&(xr+=je.ticklen)),hr=10+xr+(je.linewidth?je.linewidth-1:0)}Vt||(ir==="x"?hr+=je.side==="top"?cr*(je.showticklabels?1:0):cr*(je.showticklabels?1.5:.5):hr+=je.side==="right"?cr*(je.showticklabels?1:.5):cr*(je.showticklabels?.5:0))}var Ar=te.getPxPosition(Xe,je),kr,mr,Kr;ir==="x"?(mr=je._offset+je._length/2,Kr=je.side==="top"?Ar-hr:Ar+hr):(Kr=je._offset+je._length/2,mr=je.side==="right"?Ar+hr:Ar-hr,kr={rotate:"-90",offset:0});var Br;if(je.type!=="multicategory"){var Ur=je._selections[je._id+"tick"];if(Br={selection:Ur,side:je.side},Ur&&Ur.node()&&Ur.node().parentNode){var Sn=l.getTranslate(Ur.node().parentNode);Br.offsetLeft=Sn.x,Br.offsetTop=Sn.y}je.title.hasOwnProperty("standoff")&&(Br.pad=0)}return je._titleStandoff=hr,a.draw(Xe,zt+"title",{propContainer:je,propName:je._name+".title.text",placeholder:Ht._dfltTitle[ir],avoid:Br,transform:kr,attributes:{x:mr,y:Kr,"text-anchor":"middle"}})}te.shouldShowZeroLine=function(Xe,je,Ht){var zt=T.simpleMap(je.range,je.r2l);return zt[0]*zt[1]<=0&&je.zeroline&&(je.type==="linear"||je.type==="-")&&!(je.rangebreaks&&je.maskBreaks(0)===B)&&(yt(je,0)||!qt(Xe,je,Ht,zt)||tr(Xe,je))},te.clipEnds=function(Xe,je){return je.filter(function(Ht){return yt(Xe,Ht.x)})};function yt(Xe,je){var Ht=Xe.l2p(je);return Ht>1&&Ht1)for(ir=1;ir=ir.min&&Xef*2}function s(u){return Math.max(1,(u-1)/1e3)}function h(u,b){for(var m=u.length,C=s(m),g=0,f=0,x={},M=0;Mg*2}function v(u){return _(u[0])&&_(u[1])}},28336:function(k,D,r){var c=r(38248),A=r(24040),o=r(3400),_=r(31780),T=r(51272),p=r(94724),y=r(26332),a=r(25404),n=r(95936),l=r(42568),s=r(22416),h=r(42136),v=r(96312),u=r(78344),b=r(33816).WEEKDAY_PATTERN,m=r(33816).HOUR_PATTERN;k.exports=function(M,R,N,w,P){var I=w.letter,d=w.font||{},L=w.splomStash||{},E=N("visible",!w.visibleDflt),B=R._template||{},z=R.type||B.type||"-",Y;if(z==="date"){var H=A.getComponentMethod("calendars","handleDefaults");H(M,R,"calendar",w.calendar),w.noTicklabelmode||(Y=N("ticklabelmode"))}var G="";(!w.noTicklabelposition||z==="multicategory")&&(G=o.coerce(M,R,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:Y==="period"?["outside","inside"]:I==="x"?["outside","inside","outside left","inside left","outside right","inside right"]:["outside","inside","outside top","inside top","outside bottom","inside bottom"]}},"ticklabelposition")),w.noTicklabeloverflow||N("ticklabeloverflow",G.indexOf("inside")!==-1?"hide past domain":z==="category"||z==="multicategory"?"allow":"hide past div"),u(R,P),v(M,R,N,w),s(M,R,N,w),z!=="category"&&!w.noHover&&N("hoverformat");var W=N("color"),V=W!==p.color.dflt?W:d.color,j=L.label||P._dfltTitle[I];if(l(M,R,N,z,w),!E)return R;N("title.text",j),o.coerceFont(N,"title.font",{family:d.family,weight:d.weight,style:d.style,variant:d.variant,size:o.bigFont(d.size),color:V}),y(M,R,N,z);var $=w.hasMinor;if($&&(_.newContainer(R,"minor"),y(M,R,N,z,{isMinor:!0})),n(M,R,N,z,w),a(M,R,N,w),$){var re=w.isMinor;w.isMinor=!0,a(M,R,N,w),w.isMinor=re}h(M,R,N,{dfltColor:W,bgColor:w.bgColor,showGrid:w.showGrid,hasMinor:$,attributes:p}),$&&!R.minor.ticks&&!R.minor.showgrid&&delete R.minor,(R.showline||R.ticks)&&N("mirror");var ae=z==="multicategory";if(!w.noTickson&&(z==="category"||ae)&&(R.ticks||R.showgrid)){var oe;ae&&(oe="boundaries");var de=N("tickson",oe);de==="boundaries"&&delete R.ticklabelposition}if(ae){var te=N("showdividers");te&&(N("dividercolor"),N("dividerwidth"))}if(z==="date")if(T(M,R,{name:"rangebreaks",inclusionAttr:"enabled",handleItemDefaults:C}),!R.rangebreaks.length)delete R.rangebreaks;else{for(var J=0;J=2){var I="",d,L;if(P.length===2){for(d=0;d<2;d++)if(L=f(P[d]),L){I=b;break}}var E=N("pattern",I);if(E===b)for(d=0;d<2;d++)L=f(P[d]),L&&(M.bounds[d]=P[d]=L-1);if(E)for(d=0;d<2;d++)switch(L=P[d],E){case b:if(!c(L)){M.enabled=!1;return}if(L=+L,L!==Math.floor(L)||L<0||L>=7){M.enabled=!1;return}M.bounds[d]=P[d]=L;break;case m:if(!c(L)){M.enabled=!1;return}if(L=+L,L<0||L>24){M.enabled=!1;return}M.bounds[d]=P[d]=L;break}if(R.autorange===!1){var B=R.range;if(B[0]B[1]){M.enabled=!1;return}}else if(P[0]>B[0]&&P[1]y?1:-1:+(_.substr(1)||1)-+(T.substr(1)||1)},D.ref2id=function(_){return/^[xyz]/.test(_)?_.split(" ")[0]:!1};function o(_,T){if(T&&T.length){for(var p=0;p0||c(a),l;n&&(l="array");var s=p("categoryorder",l),h;s==="array"&&(h=p("categoryarray")),!n&&s==="array"&&(s=T.categoryorder="trace"),s==="trace"?T._initialCategories=[]:s==="array"?T._initialCategories=h.slice():(h=A(T,y).sort(),s==="category ascending"?T._initialCategories=h:s==="category descending"&&(T._initialCategories=h.reverse()))}}},98728:function(k,D,r){var c=r(38248),A=r(3400),o=r(39032),_=o.ONEDAY,T=o.ONEWEEK;D.dtick=function(p,y){var a=y==="log",n=y==="date",l=y==="category",s=n?_:1;if(!p)return s;if(c(p))return p=Number(p),p<=0?s:l?Math.max(1,Math.round(p)):n?Math.max(.1,p):p;if(typeof p!="string"||!(n||a))return s;var h=p.charAt(0),v=p.substr(1);return v=c(v)?Number(v):0,v<=0||!(n&&h==="M"&&v===Math.round(v)||a&&h==="L"||a&&h==="D"&&(v===1||v===2))?s:p},D.tick0=function(p,y,a,n){if(y==="date")return A.cleanDate(p,A.dateTick0(a,n%T===0?1:0));if(!(n==="D1"||n==="D2"))return c(p)?Number(p):0}},33816:function(k,D,r){var c=r(53756).counter;k.exports={idRegex:{x:c("x","( domain)?"),y:c("y","( domain)?")},attrRegex:c("[xy]axis"),xAxisMatch:c("xaxis"),yAxisMatch:c("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}},71888:function(k,D,r){var c=r(3400),A=r(19280),o=r(79811).id2name,_=r(94724),T=r(21160),p=r(78344),y=r(39032).ALMOST_EQUAL,a=r(84284).FROM_BL;D.handleDefaults=function(m,C,g){var f=g.axIds,x=g.axHasImage,M=C._axisConstraintGroups=[],R=C._axisMatchGroups=[],N,w,P,I,d,L,E,B;for(N=0;NM?g.substr(M):f.substr(x))+R}function u(m,C){for(var g=C._size,f=g.h/g.w,x={},M=Object.keys(m),R=0;Ry*B&&!G)){for(M=0;MJ&&sede&&(de=se);var Te=(de-oe)/(2*te);d/=Te,oe=w.l2r(oe),de=w.l2r(de),w.range=w._input.range=$=0){xr._fullLayout._deactivateShape(xr);return}var Ar=xr._fullLayout.clickmode;if(J(xr),sr===2&&!Ge&&je(),Ie)Ar.indexOf("select")>-1&&P(Vt,xr,pt,ct,pe.id,ut),Ar.indexOf("event")>-1&&s.click(xr,Vt,pe.id);else if(sr===1&&Ge){var kr=Se?Be:We,mr=Se==="s"||_e==="w"?0:1,Kr=kr._name+".range["+mr+"]",Br=W(kr,mr),Ur="left",Sn="middle";if(kr.fixedrange)return;Se?(Sn=Se==="n"?"top":"bottom",kr.side==="right"&&(Ur="right")):_e==="e"&&(Ur="right"),xr._context.showAxisRangeEntryBoxes&&c.select(st).call(a.makeEditable,{gd:xr,immediate:!0,background:xr._fullLayout.paper_bgcolor,text:String(Br),fill:kr.tickfont?kr.tickfont.color:"#444",horizontalAlign:Ur,verticalAlign:Sn}).on("edit",function(an){var Hn=kr.d2r(an);Hn!==void 0&&p.call("_guiRelayout",xr,Kr,Hn)})}}u.init(ut);var gt,Ct,Jt,wr,yt,qt,tr,br,lr,Et;function ft(sr,Vt,xr){var Ar=st.getBoundingClientRect();gt=Vt-Ar.left,Ct=xr-Ar.top,se._fullLayout._calcInverseTransform(se);var kr=A.apply3DTransform(se._fullLayout._invTransform)(gt,Ct);gt=kr[0],Ct=kr[1],Jt={l:gt,r:gt,w:0,t:Ct,b:Ct,h:0},wr=se._hmpixcount?se._hmlumcount/se._hmpixcount:_(se._fullLayout.plot_bgcolor).getLuminance(),yt="M0,0H"+mt+"V"+xt+"H0V0",qt=!1,tr="xy",Et=!1,br=ae(Ee,wr,nt,vt,yt),lr=oe(Ee,nt,vt)}function St(sr,Vt){if(se._transitioningWithDuration)return!1;var xr=Math.max(0,Math.min(mt,me*sr+gt)),Ar=Math.max(0,Math.min(xt,Ce*Vt+Ct)),kr=Math.abs(xr-gt),mr=Math.abs(Ar-Ct);Jt.l=Math.min(gt,xr),Jt.r=Math.max(gt,xr),Jt.t=Math.min(Ct,Ar),Jt.b=Math.max(Ct,Ar);function Kr(){tr="",Jt.r=Jt.l,Jt.t=Jt.b,lr.attr("d","M0,0Z")}if(Tt.isSubplotConstrained)kr>E||mr>E?(tr="xy",kr/mt>mr/xt?(mr=kr*xt/mt,Ct>Ar?Jt.t=Ct-mr:Jt.b=Ct+mr):(kr=mr*mt/xt,gt>xr?Jt.l=gt-kr:Jt.r=gt+kr),lr.attr("d",fe(Jt))):Kr();else if(Mt.isSubplotConstrained)if(kr>E||mr>E){tr="xy";var Br=Math.min(Jt.l/mt,(xt-Jt.b)/xt),Ur=Math.max(Jt.r/mt,(xt-Jt.t)/xt);Jt.l=Br*mt,Jt.r=Ur*mt,Jt.b=(1-Br)*xt,Jt.t=(1-Ur)*xt,lr.attr("d",fe(Jt))}else Kr();else!Oe||mr0){var an;if(Mt.isSubplotConstrained||!at&&Oe.length===1){for(an=0;an1&&(Kr.maxallowed!==void 0&&Ze===(Kr.range[0]1&&(Br.maxallowed!==void 0&&Ke===(Br.range[0]=0?Math.min(se,.9):1/(1/Math.max(se,-.3)+3.222))}function re(se,pe,Te){return se?se==="nsew"?Te?"":pe==="pan"?"move":"crosshair":se.toLowerCase()+"-resize":"pointer"}function ae(se,pe,Te,we,Ae){return se.append("path").attr("class","zoombox").style({fill:pe>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",y(Te,we)).attr("d",Ae+"Z")}function oe(se,pe,Te){return se.append("path").attr("class","zoombox-corners").style({fill:n.background,stroke:n.defaultLine,"stroke-width":1,opacity:0}).attr("transform",y(pe,Te)).attr("d","M0,0Z")}function de(se,pe,Te,we,Ae,ke){se.attr("d",we+"M"+Te.l+","+Te.t+"v"+Te.h+"h"+Te.w+"v-"+Te.h+"h-"+Te.w+"Z"),te(se,pe,Ae,ke)}function te(se,pe,Te,we){Te||(se.transition().style("fill",we>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),pe.transition().style("opacity",1).duration(200))}function J(se){c.select(se).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function ie(se){B&&se.data&&se._context.showTips&&(A.notifier(A._(se,"Double-click to zoom back out"),"long"),B=!1)}function Z(se,pe){return"M"+(se.l-.5)+","+(pe-E-.5)+"h-3v"+(2*E+1)+"h3ZM"+(se.r+.5)+","+(pe-E-.5)+"h3v"+(2*E+1)+"h-3Z"}function ue(se,pe){return"M"+(pe-E-.5)+","+(se.t-.5)+"v-3h"+(2*E+1)+"v3ZM"+(pe-E-.5)+","+(se.b+.5)+"v3h"+(2*E+1)+"v-3Z"}function fe(se){var pe=Math.floor(Math.min(se.b-se.t,se.r-se.l,E)/2);return"M"+(se.l-3.5)+","+(se.t-.5+pe)+"h3v"+-pe+"h"+pe+"v-3h-"+(pe+3)+"ZM"+(se.r+3.5)+","+(se.t-.5+pe)+"h-3v"+-pe+"h"+-pe+"v-3h"+(pe+3)+"ZM"+(se.r+3.5)+","+(se.b+.5-pe)+"h-3v"+pe+"h"+-pe+"v3h"+(pe+3)+"ZM"+(se.l-3.5)+","+(se.b+.5-pe)+"h3v"+pe+"h"+pe+"v3h-"+(pe+3)+"Z"}function Q(se,pe,Te,we,Ae){for(var ke=!1,Se={},_e={},Ee,Ie,Ge,We,Be=(Ae||{}).xaHash,Ve=(Ae||{}).yaHash,lt=0;ltN[1]-.000244140625&&(T.domain=u),A.noneOrAll(_.domain,T.domain,u),T.tickmode==="sync"&&(T.tickmode="auto")}return p("layer"),T}},42568:function(k,D,r){var c=r(85024);k.exports=function(o,_,T,p,y){y||(y={});var a=y.tickSuffixDflt,n=c(o),l=T("tickprefix");l&&T("showtickprefix",n);var s=T("ticksuffix",a);s&&T("showticksuffix",n)}},96312:function(k,D,r){var c=r(76808);k.exports=function(o,_,T,p){var y=_._template||{},a=_.type||y.type||"-";T("minallowed"),T("maxallowed");var n=T("range");if(!n){var l;!p.noInsiderange&&a!=="log"&&(l=T("insiderange"),l&&(l[0]===null||l[1]===null)&&(_.insiderange=!1,l=void 0),l&&(n=T("range",l)))}var s=_.getAutorangeDflt(n,p),h=T("autorange",s),v;n&&(n[0]===null&&n[1]===null||(n[0]===null||n[1]===null)&&(h==="reversed"||h===!0)||n[0]!==null&&(h==="min"||h==="max reversed")||n[1]!==null&&(h==="max"||h==="min reversed"))&&(n=void 0,delete _.range,_.autorange=!0,v=!0),v||(s=_.getAutorangeDflt(n,p),h=T("autorange",s)),h&&(c(T,h,n),(a==="linear"||a==="-")&&T("rangemode")),_.cleanRange()}},21160:function(k,D,r){var c=r(84284).FROM_BL;k.exports=function(o,_,T){T===void 0&&(T=c[o.constraintoward||"center"]);var p=[o.r2l(o.range[0]),o.r2l(o.range[1])],y=p[0]+(p[1]-p[0])*T;o.range=o._input.range=[o.l2r(y+(p[0]-y)*_),o.l2r(y+(p[1]-y)*_)],o.setScale()}},78344:function(k,D,r){var c=r(33428),A=r(94336).E9,o=r(3400),_=o.numberFormat,T=r(38248),p=o.cleanNumber,y=o.ms2DateTime,a=o.dateTime2ms,n=o.ensureNumber,l=o.isArrayOrTypedArray,s=r(39032),h=s.FP_SAFE,v=s.BADNUM,u=s.LOG_CLIP,b=s.ONEWEEK,m=s.ONEDAY,C=s.ONEHOUR,g=s.ONEMIN,f=s.ONESEC,x=r(79811),M=r(33816),R=M.HOUR_PATTERN,N=M.WEEKDAY_PATTERN;function w(I){return Math.pow(10,I)}function P(I){return I!=null}k.exports=function(d,L){L=L||{};var E=d._id||"x",B=E.charAt(0);function z(Z,ue){if(Z>0)return Math.log(Z)/Math.LN10;if(Z<=0&&ue&&d.range&&d.range.length===2){var fe=d.range[0],Q=d.range[1];return .5*(fe+Q-2*u*Math.abs(fe-Q))}else return v}function Y(Z,ue,fe,Q){if((Q||{}).msUTC&&T(Z))return+Z;var q=a(Z,fe||d.calendar);if(q===v)if(T(Z)){Z=+Z;var ce=Math.floor(o.mod(Z+.05,1)*10),se=Math.round(Z-ce/10);q=a(new Date(se))+ce/10}else return v;return q}function H(Z,ue,fe){return y(Z,ue,fe||d.calendar)}function G(Z){return d._categories[Math.round(Z)]}function W(Z){if(P(Z)){if(d._categoriesMap===void 0&&(d._categoriesMap={}),d._categoriesMap[Z]!==void 0)return d._categoriesMap[Z];d._categories.push(typeof Z=="number"?String(Z):Z);var ue=d._categories.length-1;return d._categoriesMap[Z]=ue,ue}return v}function V(Z,ue){for(var fe=new Array(ue),Q=0;Qd.range[1]&&(fe=!fe);for(var Q=fe?-1:1,q=Q*Z,ce=0,se=0;seTe)ce=se+1;else{ce=q<(pe+Te)/2?se:se+1;break}}var we=d._B[ce]||0;return isFinite(we)?ae(Z,d._m2,we):0},te=function(Z){var ue=d._rangebreaks.length;if(!ue)return oe(Z,d._m,d._b);for(var fe=0,Q=0;Qd._rangebreaks[Q].pmax&&(fe=Q+1);return oe(Z,d._m2,d._B[fe])}}d.c2l=d.type==="log"?z:n,d.l2c=d.type==="log"?w:n,d.l2p=de,d.p2l=te,d.c2p=d.type==="log"?function(Z,ue){return de(z(Z,ue))}:de,d.p2c=d.type==="log"?function(Z){return w(te(Z))}:te,["linear","-"].indexOf(d.type)!==-1?(d.d2r=d.r2d=d.d2c=d.r2c=d.d2l=d.r2l=p,d.c2d=d.c2r=d.l2d=d.l2r=n,d.d2p=d.r2p=function(Z){return d.l2p(p(Z))},d.p2d=d.p2r=te,d.cleanPos=n):d.type==="log"?(d.d2r=d.d2l=function(Z,ue){return z(p(Z),ue)},d.r2d=d.r2c=function(Z){return w(p(Z))},d.d2c=d.r2l=p,d.c2d=d.l2r=n,d.c2r=z,d.l2d=w,d.d2p=function(Z,ue){return d.l2p(d.d2r(Z,ue))},d.p2d=function(Z){return w(te(Z))},d.r2p=function(Z){return d.l2p(p(Z))},d.p2r=te,d.cleanPos=n):d.type==="date"?(d.d2r=d.r2d=o.identity,d.d2c=d.r2c=d.d2l=d.r2l=Y,d.c2d=d.c2r=d.l2d=d.l2r=H,d.d2p=d.r2p=function(Z,ue,fe){return d.l2p(Y(Z,0,fe))},d.p2d=d.p2r=function(Z,ue,fe){return H(te(Z),ue,fe)},d.cleanPos=function(Z){return o.cleanDate(Z,v,d.calendar)}):d.type==="category"?(d.d2c=d.d2l=W,d.r2d=d.c2d=d.l2d=G,d.d2r=d.d2l_noadd=$,d.r2c=function(Z){var ue=re(Z);return ue!==void 0?ue:d.fraction2r(.5)},d.l2r=d.c2r=n,d.r2l=re,d.d2p=function(Z){return d.l2p(d.r2c(Z))},d.p2d=function(Z){return G(te(Z))},d.r2p=d.d2p,d.p2r=te,d.cleanPos=function(Z){return typeof Z=="string"&&Z!==""?Z:n(Z)}):d.type==="multicategory"&&(d.r2d=d.c2d=d.l2d=G,d.d2r=d.d2l_noadd=$,d.r2c=function(Z){var ue=$(Z);return ue!==void 0?ue:d.fraction2r(.5)},d.r2c_just_indices=j,d.l2r=d.c2r=n,d.r2l=$,d.d2p=function(Z){return d.l2p(d.r2c(Z))},d.p2d=function(Z){return G(te(Z))},d.r2p=d.d2p,d.p2r=te,d.cleanPos=function(Z){return Array.isArray(Z)||typeof Z=="string"&&Z!==""?Z:n(Z)},d.setupMultiCategory=function(Z){var ue=d._traceIndices,fe,Q,q=d._matchGroup;if(q&&d._categories.length===0){for(var ce in q)if(ce!==E){var se=L[x.id2name(ce)];ue=ue.concat(se._traceIndices)}}var pe=[[0,{}],[0,{}]],Te=[];for(fe=0;fese[1]&&(Q[ce?0:1]=fe),Q[0]===Q[1]){var pe=d.l2r(ue),Te=d.l2r(fe);if(ue!==void 0){var we=pe+1;fe!==void 0&&(we=Math.min(we,Te)),Q[ce?1:0]=we}if(fe!==void 0){var Ae=Te+1;ue!==void 0&&(Ae=Math.max(Ae,pe)),Q[ce?0:1]=Ae}}}},d.cleanRange=function(Z,ue){d._cleanRange(Z,ue),d.limitRange(Z)},d._cleanRange=function(Z,ue){ue||(ue={}),Z||(Z="range");var fe=o.nestedProperty(d,Z).get(),Q,q;if(d.type==="date"?q=o.dfltRange(d.calendar):B==="y"?q=M.DFLTRANGEY:d._name==="realaxis"?q=[0,1]:q=ue.dfltRange||M.DFLTRANGEX,q=q.slice(),(d.rangemode==="tozero"||d.rangemode==="nonnegative")&&(q[0]=0),!fe||fe.length!==2){o.nestedProperty(d,Z).set(q);return}var ce=fe[0]===null,se=fe[1]===null;for(d.type==="date"&&!d.autorange&&(fe[0]=o.cleanDate(fe[0],v,d.calendar),fe[1]=o.cleanDate(fe[1],v,d.calendar)),Q=0;Q<2;Q++)if(d.type==="date"){if(!o.isDateTime(fe[Q],d.calendar)){d[Z]=q;break}if(d.r2l(fe[0])===d.r2l(fe[1])){var pe=o.constrain(d.r2l(fe[0]),o.MIN_MS+1e3,o.MAX_MS-1e3);fe[0]=d.l2r(pe-1e3),fe[1]=d.l2r(pe+1e3);break}}else{if(!T(fe[Q]))if(!(ce||se)&&T(fe[1-Q]))fe[Q]=fe[1-Q]*(Q?10:.1);else{d[Z]=q;break}if(fe[Q]<-h?fe[Q]=-h:fe[Q]>h&&(fe[Q]=h),fe[0]===fe[1]){var Te=Math.max(1,Math.abs(fe[0]*1e-6));fe[0]-=Te,fe[1]+=Te}}},d.setScale=function(Z){var ue=L._size;if(d.overlaying){var fe=x.getFromId({_fullLayout:L},d.overlaying);d.domain=fe.domain}var Q=Z&&d._r?"_r":"range",q=d.calendar;d.cleanRange(Q);var ce=d.r2l(d[Q][0],q),se=d.r2l(d[Q][1],q),pe=B==="y";if(pe?(d._offset=ue.t+(1-d.domain[1])*ue.h,d._length=ue.h*(d.domain[1]-d.domain[0]),d._m=d._length/(ce-se),d._b=-d._m*se):(d._offset=ue.l+d.domain[0]*ue.w,d._length=ue.w*(d.domain[1]-d.domain[0]),d._m=d._length/(se-ce),d._b=-d._m*ce),d._rangebreaks=[],d._lBreaks=0,d._m2=0,d._B=[],d.rangebreaks){var Te,we;if(d._rangebreaks=d.locateBreaks(Math.min(ce,se),Math.max(ce,se)),d._rangebreaks.length){for(Te=0;Tese&&(Ae=!Ae),Ae&&d._rangebreaks.reverse();var ke=Ae?-1:1;for(d._m2=ke*d._length/(Math.abs(se-ce)-d._lBreaks),d._B.push(-d._m2*(pe?se:ce)),Te=0;Teq&&(q+=7,ceq&&(q+=24,ce=Q&&ce=Q&&Z=ct.min&&(Bect.max&&(ct.max=Ve),lt=!1)}lt&&se.push({min:Be,max:Ve})}};for(fe=0;fe rect").call(_.setTranslate,0,0).call(_.setScale,1,1),R.plot.call(_.setTranslate,N._offset,w._offset).call(_.setScale,1,1);var P=R.plot.selectAll(".scatterlayer .trace");P.selectAll(".point").call(_.setPointGroupScale,1,1),P.selectAll(".textpoint").call(_.setTextPointsScale,1,1),P.call(_.hideOutsideRangePoints,R)}function v(R,N){var w=R.plotinfo,P=w.xaxis,I=w.yaxis,d=P._length,L=I._length,E=!!R.xr1,B=!!R.yr1,z=[];if(E){var Y=o.simpleMap(R.xr0,P.r2l),H=o.simpleMap(R.xr1,P.r2l),G=Y[1]-Y[0],W=H[1]-H[0];z[0]=(Y[0]*(1-N)+N*H[0]-Y[0])/(Y[1]-Y[0])*d,z[2]=d*(1-N+N*W/G),P.range[0]=P.l2r(Y[0]*(1-N)+N*H[0]),P.range[1]=P.l2r(Y[1]*(1-N)+N*H[1])}else z[0]=0,z[2]=d;if(B){var V=o.simpleMap(R.yr0,I.r2l),j=o.simpleMap(R.yr1,I.r2l),$=V[1]-V[0],re=j[1]-j[0];z[1]=(V[1]*(1-N)+N*j[1]-V[1])/(V[0]-V[1])*L,z[3]=L*(1-N+N*re/$),I.range[0]=P.l2r(V[0]*(1-N)+N*j[0]),I.range[1]=I.l2r(V[1]*(1-N)+N*j[1])}else z[1]=0,z[3]=L;T.drawOne(y,P,{skipTitle:!0}),T.drawOne(y,I,{skipTitle:!0}),T.redrawComponents(y,[P._id,I._id]);var ae=E?d/z[2]:1,oe=B?L/z[3]:1,de=E?z[0]:0,te=B?z[1]:0,J=E?z[0]/z[2]*d:0,ie=B?z[1]/z[3]*L:0,Z=P._offset-J,ue=I._offset-ie;w.clipRect.call(_.setTranslate,de,te).call(_.setScale,1/ae,1/oe),w.plot.call(_.setTranslate,Z,ue).call(_.setScale,ae,oe),_.setPointGroupScale(w.zoomScalePts,1/ae,1/oe),_.setTextPointsScale(w.zoomScaleTxt,1/ae,1/oe)}var u;l&&(u=l());function b(){for(var R={},N=0;Nn.duration?(b(),f=window.cancelAnimationFrame(M)):f=window.requestAnimationFrame(M)}return C=Date.now(),f=window.requestAnimationFrame(M),Promise.resolve()}},14944:function(k,D,r){var c=r(24040).traceIs,A=r(52976);k.exports=function(a,n,l,s){l("autotypenumbers",s.autotypenumbersDflt);var h=l("type",(s.splomStash||{}).type);h==="-"&&(o(n,s.data),n.type==="-"?n.type="linear":a.type=n.type)};function o(y,a){if(y.type==="-"){var n=y._id,l=n.charAt(0),s;n.indexOf("scene")!==-1&&(n=l);var h=_(a,n,l);if(h){if(h.type==="histogram"&&l==={v:"y",h:"x"}[h.orientation||"v"]){y.type="linear";return}var v=l+"calendar",u=h[v],b={noMultiCategory:!c(h,"cartesian")||c(h,"noMultiCategory")};if(h.type==="box"&&h._hasPreCompStats&&l==={h:"x",v:"y"}[h.orientation||"v"]&&(b.noMultiCategory=!0),b.autotypenumbers=y.autotypenumbers,p(h,l)){var m=T(h),C=[];for(s=0;s0&&(s["_"+n+"axes"]||{})[a])return s;if((s[n+"axis"]||n)===a){if(p(s,n))return s;if((s[n]||[]).length||s[n+"0"])return s}}}function T(y){return{v:"x",h:"y"}[y.orientation||"v"]}function p(y,a){var n=T(y),l=c(y,"box-violin"),s=c(y._fullInput||{},"candlestick");return l&&!s&&a===n&&y[n]===void 0&&y[n+"0"]===void 0}},62460:function(k,D,r){var c=r(24040),A=r(3400);D.manageCommandObserver=function(a,n,l,s){var h={},v=!0;n&&n._commandObserver&&(h=n._commandObserver),h.cache||(h.cache={}),h.lookupTable={};var u=D.hasSimpleAPICommandBindings(a,l,h.lookupTable);if(n&&n._commandObserver){if(u)return h;if(n._commandObserver.remove)return n._commandObserver.remove(),n._commandObserver=null,h}if(u){o(a,u,h.cache),h.check=function(){if(v){var g=o(a,u,h.cache);return g.changed&&s&&h.lookupTable[g.value]!==void 0&&(h.disable(),Promise.resolve(s({value:g.value,type:u.type,prop:u.prop,traces:u.traces,index:h.lookupTable[g.value]})).then(h.enable,h.enable)),g.changed}};for(var b=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],m=0;m0?".":"")+h;A.isPlainObject(v)?y(v,n,u,s+1):n(u,h,v)}})}},86968:function(k,D,r){var c=r(92880).extendFlat;D.u=function(A,o){A=A||{},o=o||{};var _={valType:"info_array",editType:A.editType,items:[{valType:"number",min:0,max:1,editType:A.editType},{valType:"number",min:0,max:1,editType:A.editType}],dflt:[0,1]};A.name&&A.name+"",A.trace,o.description&&""+o.description;var T={x:c({},_,{}),y:c({},_,{}),editType:A.editType};return A.noGridCell||(T.row={valType:"integer",min:0,dflt:0,editType:A.editType},T.column={valType:"integer",min:0,dflt:0,editType:A.editType}),T},D.Q=function(A,o,_,T){var p=T&&T.x||[0,1],y=T&&T.y||[0,1],a=o.grid;if(a){var n=_("domain.column");n!==void 0&&(n0&&W._module.calcGeoJSON(G,B)}if(!z){var V=this.updateProjection(E,B);if(V)return;(!this.viewInitial||this.scope!==Y.scope)&&this.saveViewInitial(Y)}this.scope=Y.scope,this.updateBaseLayers(B,Y),this.updateDims(B,Y),this.updateFx(B,Y),h.generalUpdatePerTraceModule(this.graphDiv,this,E,Y);var j=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=j.selectAll(".point"),this.dataPoints.text=j.selectAll("text"),this.dataPaths.line=j.selectAll(".js-line");var $=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=$.selectAll("path"),this._render()},P.updateProjection=function(E,B){var z=this.graphDiv,Y=B[this.id],H=B._size,G=Y.domain,W=Y.projection,V=Y.lonaxis,j=Y.lataxis,$=V._ax,re=j._ax,ae=this.projection=I(Y),oe=[[H.l+H.w*G.x[0],H.t+H.h*(1-G.y[1])],[H.l+H.w*G.x[1],H.t+H.h*(1-G.y[0])]],de=Y.center||{},te=W.rotation||{},J=V.range||[],ie=j.range||[];if(Y.fitbounds){$._length=oe[1][0]-oe[0][0],re._length=oe[1][1]-oe[0][1],$.range=u(z,$),re.range=u(z,re);var Z=($.range[0]+$.range[1])/2,ue=(re.range[0]+re.range[1])/2;if(Y._isScoped)de={lon:Z,lat:ue};else if(Y._isClipped){de={lon:Z,lat:ue},te={lon:Z,lat:ue,roll:te.roll};var fe=W.type,Q=x.lonaxisSpan[fe]/2||180,q=x.lataxisSpan[fe]/2||90;J=[Z-Q,Z+Q],ie=[ue-q,ue+q]}else de={lon:Z,lat:ue},te={lon:Z,lat:te.lat,roll:te.roll}}ae.center([de.lon-te.lon,de.lat-te.lat]).rotate([-te.lon,-te.lat,te.roll]).parallels(W.parallels);var ce=L(J,ie);ae.fitExtent(oe,ce);var se=this.bounds=ae.getBounds(ce),pe=this.fitScale=ae.scale(),Te=ae.translate();if(Y.fitbounds){var we=ae.getBounds(L($.range,re.range)),Ae=Math.min((se[1][0]-se[0][0])/(we[1][0]-we[0][0]),(se[1][1]-se[0][1])/(we[1][1]-we[0][1]));isFinite(Ae)?ae.scale(Ae*pe):y.warn("Something went wrong during"+this.id+"fitbounds computations.")}else ae.scale(W.scale*pe);var ke=this.midPt=[(se[0][0]+se[1][0])/2,(se[0][1]+se[1][1])/2];if(ae.translate([Te[0]+(ke[0]-Te[0]),Te[1]+(ke[1]-Te[1])]).clipExtent(se),Y._isAlbersUsa){var Se=ae([de.lon,de.lat]),_e=ae.translate();ae.translate([_e[0]-(Se[0]-_e[0]),_e[1]-(Se[1]-_e[1])])}},P.updateBaseLayers=function(E,B){var z=this,Y=z.topojson,H=z.layers,G=z.basePaths;function W(oe){return oe==="lonaxis"||oe==="lataxis"}function V(oe){return Boolean(x.lineLayers[oe])}function j(oe){return Boolean(x.fillLayers[oe])}var $=this.hasChoropleth?x.layersForChoropleth:x.layers,re=$.filter(function(oe){return V(oe)||j(oe)?B["show"+oe]:W(oe)?B[oe].showgrid:!0}),ae=z.framework.selectAll(".layer").data(re,String);ae.exit().each(function(oe){delete H[oe],delete G[oe],c.select(this).remove()}),ae.enter().append("g").attr("class",function(oe){return"layer "+oe}).each(function(oe){var de=H[oe]=c.select(this);oe==="bg"?z.bgRect=de.append("rect").style("pointer-events","all"):W(oe)?G[oe]=de.append("path").style("fill","none"):oe==="backplot"?de.append("g").classed("choroplethlayer",!0):oe==="frontplot"?de.append("g").classed("scatterlayer",!0):V(oe)?G[oe]=de.append("path").style("fill","none").style("stroke-miterlimit",2):j(oe)&&(G[oe]=de.append("path").style("stroke","none"))}),ae.order(),ae.each(function(oe){var de=G[oe],te=x.layerNameToAdjective[oe];oe==="frame"?de.datum(x.sphereSVG):V(oe)||j(oe)?de.datum(N(Y,Y.objects[oe])):W(oe)&&de.datum(d(oe,B,E)).call(n.stroke,B[oe].gridcolor).call(l.dashLine,B[oe].griddash,B[oe].gridwidth),V(oe)?de.call(n.stroke,B[te+"color"]).call(l.dashLine,"",B[te+"width"]):j(oe)&&de.call(n.fill,B[te+"color"])})},P.updateDims=function(E,B){var z=this.bounds,Y=(B.framewidth||0)/2,H=z[0][0]-Y,G=z[0][1]-Y,W=z[1][0]-H+Y,V=z[1][1]-G+Y;l.setRect(this.clipRect,H,G,W,V),this.bgRect.call(l.setRect,H,G,W,V).call(n.fill,B.bgcolor),this.xaxis._offset=H,this.xaxis._length=W,this.yaxis._offset=G,this.yaxis._length=V},P.updateFx=function(E,B){var z=this,Y=z.graphDiv,H=z.bgRect,G=E.dragmode,W=E.clickmode;if(z.isStatic)return;function V(){var ae=z.viewInitial,oe={};for(var de in ae)oe[z.id+"."+de]=ae[de];p.call("_guiRelayout",Y,oe),Y.emit("plotly_doubleclick",null)}function j(ae){return z.projection.invert([ae[0]+z.xaxis._offset,ae[1]+z.yaxis._offset])}var $=function(ae,oe){if(oe.isRect){var de=ae.range={};de[z.id]=[j([oe.xmin,oe.ymin]),j([oe.xmax,oe.ymax])]}else{var te=ae.lassoPoints={};te[z.id]=oe.map(j)}},re={element:z.bgRect.node(),gd:Y,plotinfo:{id:z.id,xaxis:z.xaxis,yaxis:z.yaxis,fillRangeItems:$},xaxes:[z.xaxis],yaxes:[z.yaxis],subplot:z.id,clickFn:function(ae){ae===2&&C(Y)}};G==="pan"?(H.node().onmousedown=null,H.call(f(z,B)),H.on("dblclick.zoom",V),Y._context._scrollZoom.geo||H.on("wheel.zoom",null)):(G==="select"||G==="lasso")&&(H.on(".zoom",null),re.prepFn=function(ae,oe,de){m(ae,oe,de,re,G)},b.init(re)),H.on("mousemove",function(){var ae=z.projection.invert(y.getPositionFromD3Event());if(!ae)return b.unhover(Y,c.event);z.xaxis.p2c=function(){return ae[0]},z.yaxis.p2c=function(){return ae[1]},s.hover(Y,c.event,z.id)}),H.on("mouseout",function(){Y._dragging||b.unhover(Y,c.event)}),H.on("click",function(){G!=="select"&&G!=="lasso"&&(W.indexOf("select")>-1&&g(c.event,Y,[z.xaxis],[z.yaxis],z.id,re),W.indexOf("event")>-1&&s.click(Y,c.event))})},P.makeFramework=function(){var E=this,B=E.graphDiv,z=B._fullLayout,Y="clip"+z._uid+E.id;E.clipDef=z._clips.append("clipPath").attr("id",Y),E.clipRect=E.clipDef.append("rect"),E.framework=c.select(E.container).append("g").attr("class","geo "+E.id).call(l.setClipUrl,Y,B),E.project=function(H){var G=E.projection(H);return G?[G[0]-E.xaxis._offset,G[1]-E.yaxis._offset]:[null,null]},E.xaxis={_id:"x",c2p:function(H){return E.project(H)[0]}},E.yaxis={_id:"y",c2p:function(H){return E.project(H)[1]}},E.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},v.setConvert(E.mockAxis,z)},P.saveViewInitial=function(E){var B=E.center||{},z=E.projection,Y=z.rotation||{};this.viewInitial={fitbounds:E.fitbounds,"projection.scale":z.scale};var H;E._isScoped?H={"center.lon":B.lon,"center.lat":B.lat}:E._isClipped?H={"projection.rotation.lon":Y.lon,"projection.rotation.lat":Y.lat}:H={"center.lon":B.lon,"center.lat":B.lat,"projection.rotation.lon":Y.lon},y.extendFlat(this.viewInitial,H)},P.render=function(E){this._hasMarkerAngles&&E?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},P._render=function(){var E=this.projection,B=E.getPath(),z;function Y(G){var W=E(G.lonlat);return W?a(W[0],W[1]):null}function H(G){return E.isLonLatOverEdges(G.lonlat)?"none":null}for(z in this.basePaths)this.basePaths[z].attr("d",B);for(z in this.dataPaths)this.dataPaths[z].attr("d",function(G){return B(G.geojson)});for(z in this.dataPoints)this.dataPoints[z].attr("display",H).attr("transform",Y)};function I(E){var B=E.projection,z=B.type,Y=x.projNames[z];Y="geo"+y.titleCase(Y);for(var H=A[Y]||T[Y],G=H(),W=E._isSatellite?Math.acos(1/B.distance)*180/Math.PI:E._isClipped?x.lonaxisSpan[z]/2:null,V=["center","rotate","parallels","clipExtent"],j=function(ae){return ae?G:[]},$=0;$te}else return!1},G.getPath=function(){return o().projection(G)},G.getBounds=function(ae){return G.getPath().bounds(ae)},G.precision(x.precision),E._isSatellite&&G.tilt(B.tilt).distance(B.distance),W&&G.clipAngle(W-x.clipPad),G}function d(E,B,z){var Y=1e-6,H=2.5,G=B[E],W=x.scopeDefaults[B.scope],V,j,$;E==="lonaxis"?(V=W.lonaxisRange,j=W.lataxisRange,$=function(ue,fe){return[ue,fe]}):E==="lataxis"&&(V=W.lataxisRange,j=W.lonaxisRange,$=function(ue,fe){return[fe,ue]});var re={type:"linear",range:[V[0],V[1]-Y],tick0:G.tick0,dtick:G.dtick};v.setConvert(re,z);var ae=v.calcTicks(re);!B.isScoped&&E==="lonaxis"&&ae.pop();for(var oe=ae.length,de=new Array(oe),te=0;te0&&H<0&&(H+=360);var V=(H-Y)/4;return{type:"Polygon",coordinates:[[[Y,G],[Y,W],[Y+V,W],[Y+2*V,W],[Y+3*V,W],[H,W],[H,G],[H-V,G],[H-2*V,G],[H-3*V,G],[Y,G]]]}}},10816:function(k,D,r){var c=r(84888).KY,A=r(3400).counterRegex,o=r(43520),_="geo",T=A(_),p={};p[_]={valType:"subplotid",dflt:_,editType:"calc"};function y(l){for(var s=l._fullLayout,h=l.calcdata,v=s._subplots[_],u=0;u0&&j<0&&(j+=360);var $=(V+j)/2,re;if(!g){var ae=f?m.projRotate:[$,0,0];re=l("projection.rotation.lon",ae[0]),l("projection.rotation.lat",ae[1]),l("projection.rotation.roll",ae[2]),P=l("showcoastlines",!f&&w),P&&(l("coastlinecolor"),l("coastlinewidth")),P=l("showocean",w?void 0:!1),P&&l("oceancolor")}var oe,de;if(g?(oe=-96.6,de=38.7):(oe=f?$:re,de=(W[0]+W[1])/2),l("center.lon",oe),l("center.lat",de),x&&(l("projection.tilt"),l("projection.distance")),M){var te=m.projParallels||[0,60];l("projection.parallels",te)}l("projection.scale"),P=l("showland",w?void 0:!1),P&&l("landcolor"),P=l("showlakes",w?void 0:!1),P&&l("lakecolor"),P=l("showrivers",w?void 0:!1),P&&(l("rivercolor"),l("riverwidth")),P=l("showcountries",f&&b!=="usa"&&w),P&&(l("countrycolor"),l("countrywidth")),(b==="usa"||b==="north america"&&u===50)&&(l("showsubunits",w),l("subunitcolor"),l("subunitwidth")),f||(P=l("showframe",w),P&&(l("framecolor"),l("framewidth"))),l("bgcolor");var J=l("fitbounds");J&&(delete n.projection.scale,f?(delete n.center.lon,delete n.center.lat):R?(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon,delete n.projection.rotation.lat,delete n.lonaxis.range,delete n.lataxis.range):(delete n.center.lon,delete n.center.lat,delete n.projection.rotation.lon))}},79248:function(k,D,r){var c=r(33428),A=r(3400),o=r(24040),_=Math.PI/180,T=180/Math.PI,p={cursor:"pointer"},y={cursor:"auto"};function a(d,L){var E=d.projection,B;return L._isScoped?B=s:L._isClipped?B=v:B=h,B(d,E)}k.exports=a;function n(d,L){return c.behavior.zoom().translate(L.translate()).scale(L.scale())}function l(d,L,E){var B=d.id,z=d.graphDiv,Y=z.layout,H=Y[B],G=z._fullLayout,W=G[B],V={},j={};function $(re,ae){V[B+"."+re]=A.nestedProperty(H,re).get(),o.call("_storeDirectGUIEdit",Y,G._preGUI,V);var oe=A.nestedProperty(W,re);oe.get()!==ae&&(oe.set(ae),A.nestedProperty(H,re).set(ae),j[B+"."+re]=ae)}E($),$("projection.scale",L.scale()/d.fitScale),$("fitbounds",!1),z.emit("plotly_relayout",j)}function s(d,L){var E=n(d,L);function B(){c.select(this).style(p)}function z(){L.scale(c.event.scale).translate(c.event.translate),d.render(!0);var G=L.invert(d.midPt);d.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":L.scale()/d.fitScale,"geo.center.lon":G[0],"geo.center.lat":G[1]})}function Y(G){var W=L.invert(d.midPt);G("center.lon",W[0]),G("center.lat",W[1])}function H(){c.select(this).style(y),l(d,L,Y)}return E.on("zoomstart",B).on("zoom",z).on("zoomend",H),E}function h(d,L){var E=n(d,L),B=2,z,Y,H,G,W,V,j,$,re;function ae(Z){return L.invert(Z)}function oe(Z){var ue=ae(Z);if(!ue)return!0;var fe=L(ue);return Math.abs(fe[0]-Z[0])>B||Math.abs(fe[1]-Z[1])>B}function de(){c.select(this).style(p),z=c.mouse(this),Y=L.rotate(),H=L.translate(),G=Y,W=ae(z)}function te(){if(V=c.mouse(this),oe(z)){E.scale(L.scale()),E.translate(L.translate());return}L.scale(c.event.scale),L.translate([H[0],c.event.translate[1]]),W?ae(V)&&($=ae(V),j=[G[0]+($[0]-W[0]),Y[1],Y[2]],L.rotate(j),G=j):(z=V,W=ae(z)),re=!0,d.render(!0);var Z=L.rotate(),ue=L.invert(d.midPt);d.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":L.scale()/d.fitScale,"geo.center.lon":ue[0],"geo.center.lat":ue[1],"geo.projection.rotation.lon":-Z[0]})}function J(){c.select(this).style(y),re&&l(d,L,ie)}function ie(Z){var ue=L.rotate(),fe=L.invert(d.midPt);Z("projection.rotation.lon",-ue[0]),Z("center.lon",fe[0]),Z("center.lat",fe[1])}return E.on("zoomstart",de).on("zoom",te).on("zoomend",J),E}function v(d,L){L.rotate(),L.scale();var E=n(d,L),B=I(E,"zoomstart","zoom","zoomend"),z=0,Y=E.on,H;E.on("zoomstart",function(){c.select(this).style(p);var $=c.mouse(this),re=L.rotate(),ae=re,oe=L.translate(),de=b(re);H=u(L,$),Y.call(E,"zoom",function(){var te=c.mouse(this);if(L.scale(c.event.scale),!H)$=te,H=u(L,$);else if(u(L,te)){L.rotate(re).translate(oe);var J=u(L,te),ie=C(H,J),Z=R(m(de,ie)),ue=g(Z,H,ae);(!isFinite(ue[0])||!isFinite(ue[1])||!isFinite(ue[2]))&&(ue=ae),L.rotate(ue),ae=ue}W(B.of(this,arguments))}),G(B.of(this,arguments))}).on("zoomend",function(){c.select(this).style(y),Y.call(E,"zoom",null),V(B.of(this,arguments)),l(d,L,j)}).on("zoom.redraw",function(){d.render(!0);var $=L.rotate();d.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":L.scale()/d.fitScale,"geo.projection.rotation.lon":-$[0],"geo.projection.rotation.lat":-$[1]})});function G($){z++||$({type:"zoomstart"})}function W($){$({type:"zoom"})}function V($){--z||$({type:"zoomend"})}function j($){var re=L.rotate();$("projection.rotation.lon",-re[0]),$("projection.rotation.lat",-re[1])}return c.rebind(E,B,"on")}function u(d,L){var E=d.invert(L);return E&&isFinite(E[0])&&isFinite(E[1])&&N(E)}function b(d){var L=.5*d[0]*_,E=.5*d[1]*_,B=.5*d[2]*_,z=Math.sin(L),Y=Math.cos(L),H=Math.sin(E),G=Math.cos(E),W=Math.sin(B),V=Math.cos(B);return[Y*G*V+z*H*W,z*G*V-Y*H*W,Y*H*V+z*G*W,Y*G*W-z*H*V]}function m(d,L){var E=d[0],B=d[1],z=d[2],Y=d[3],H=L[0],G=L[1],W=L[2],V=L[3];return[E*H-B*G-z*W-Y*V,E*G+B*H+z*V-Y*W,E*W-B*V+z*H+Y*G,E*V+B*W-z*G+Y*H]}function C(d,L){if(!(!d||!L)){var E=P(d,L),B=Math.sqrt(w(E,E)),z=.5*Math.acos(Math.max(-1,Math.min(1,w(d,L)))),Y=Math.sin(z)/B;return B&&[Math.cos(z),E[2]*Y,-E[1]*Y,E[0]*Y]}}function g(d,L,E){var B=M(L,2,d[0]);B=M(B,1,d[1]),B=M(B,0,d[2]-E[2]);var z=L[0],Y=L[1],H=L[2],G=B[0],W=B[1],V=B[2],j=Math.atan2(Y,z)*T,$=Math.sqrt(z*z+Y*Y),re,ae;Math.abs(W)>$?(ae=(W>0?90:-90)-j,re=0):(ae=Math.asin(W/$)*T-j,re=Math.sqrt($*$-W*W));var oe=180-ae-2*j,de=(Math.atan2(V,G)-Math.atan2(H,re))*T,te=(Math.atan2(V,G)-Math.atan2(H,-re))*T,J=f(E[0],E[1],ae,de),ie=f(E[0],E[1],oe,te);return J<=ie?[ae,de,E[2]]:[oe,te,E[2]]}function f(d,L,E,B){var z=x(E-d),Y=x(B-L);return Math.sqrt(z*z+Y*Y)}function x(d){return(d%360+540)%360-180}function M(d,L,E){var B=E*_,z=d.slice(),Y=L===0?1:0,H=L===2?1:2,G=Math.cos(B),W=Math.sin(B);return z[Y]=d[Y]*G-d[H]*W,z[H]=d[H]*G+d[Y]*W,z}function R(d){return[Math.atan2(2*(d[0]*d[1]+d[2]*d[3]),1-2*(d[1]*d[1]+d[2]*d[2]))*T,Math.asin(Math.max(-1,Math.min(1,2*(d[0]*d[2]-d[3]*d[1]))))*T,Math.atan2(2*(d[0]*d[3]+d[1]*d[2]),1-2*(d[2]*d[2]+d[3]*d[3]))*T]}function N(d){var L=d[0]*_,E=d[1]*_,B=Math.cos(E);return[B*Math.cos(L),B*Math.sin(L),Math.sin(E)]}function w(d,L){for(var E=0,B=0,z=d.length;BMath.abs(P)?(s.boxEnd[1]=s.boxStart[1]+Math.abs(w)*z*(P>=0?1:-1),s.boxEnd[1]g[3]&&(s.boxEnd[1]=g[3],s.boxEnd[0]=s.boxStart[0]+(g[3]-s.boxStart[1])/Math.abs(z))):(s.boxEnd[0]=s.boxStart[0]+Math.abs(P)/z*(w>=0?1:-1),s.boxEnd[0]g[2]&&(s.boxEnd[0]=g[2],s.boxEnd[1]=s.boxStart[1]+(g[2]-s.boxStart[0])*Math.abs(z)))}else E&&(s.boxEnd[0]=s.boxStart[0]),B&&(s.boxEnd[1]=s.boxStart[1])}else s.boxEnabled?(w=s.boxStart[0]!==s.boxEnd[0],P=s.boxStart[1]!==s.boxEnd[1],w||P?(w&&(I(0,s.boxStart[0],s.boxEnd[0]),a.xaxis.autorange=!1),P&&(I(1,s.boxStart[1],s.boxEnd[1]),a.yaxis.autorange=!1),a.relayoutCallback()):a.glplot.setDirty(),s.boxEnabled=!1,s.boxInited=!1):s.boxInited&&(s.boxInited=!1);break;case"pan":s.boxEnabled=!1,s.boxInited=!1,b?(s.panning||(s.dragStart[0]=m,s.dragStart[1]=C),Math.abs(s.dragStart[0]-m)1;function b(m){if(!u){var C=c.validate(s[m],p[m]);if(C)return s[m]}}_(s,h,v,{type:a,attributes:p,handleDefaults:n,fullLayout:h,font:h.font,fullData:v,getDfltFromLayout:b,autotypenumbersDflt:h.autotypenumbers,paper_bgcolor:h.paper_bgcolor,calendar:h.calendar})};function n(l,s,h,v){for(var u=h("bgcolor"),b=A.combine(u,v.paper_bgcolor),m=["up","center","eye"],C=0;C.999)&&(R="turntable")}else R="turntable";h("dragmode",R),h("hovermode",v.getDfltFromLayout("hovermode"))}},346:function(k,D,r){var c=r(86140),A=r(86968).u,o=r(92880).extendFlat,_=r(3400).counterRegex;function T(p,y,a){return{x:{valType:"number",dflt:p,editType:"camera"},y:{valType:"number",dflt:y,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}k.exports={_arrayAttrRegexps:[_("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:o(T(0,0,1),{}),center:o(T(0,0,0),{}),eye:o(T(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:A({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:c,yaxis:c,zaxis:c,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},9020:function(k,D,r){var c=r(43080),A=["xaxis","yaxis","zaxis"];function o(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}var _=o.prototype;_.merge=function(p){for(var y=0;y<3;++y){var a=p[A[y]];if(!a.visible){this.enabled[y]=!1,this.drawSides[y]=!1;continue}this.enabled[y]=a.showspikes,this.colors[y]=c(a.spikecolor),this.drawSides[y]=a.spikesides,this.lineWidth[y]=a.spikethickness}};function T(p){var y=new o;return y.merge(p),y}k.exports=T},87152:function(k,D,r){k.exports=T;var c=r(54460),A=r(3400),o=["xaxis","yaxis","zaxis"];function _(p){for(var y=new Array(3),a=0;a<3;++a){for(var n=p[a],l=new Array(n.length),s=0;s/g," "));l[s]=b,h.tickmode=v}}y.ticks=l;for(var s=0;s<3;++s){.5*(p.glplot.bounds[0][s]+p.glplot.bounds[1][s]);for(var m=0;m<2;++m)y.bounds[m][s]=p.glplot.bounds[m][s]}p.contourLevels=_(l)}},94424:function(k){function D(c,A){var o=[0,0,0,0],_,T;for(_=0;_<4;++_)for(T=0;T<4;++T)o[T]+=c[4*_+T]*A[_];return o}function r(c,A){var o=D(c.projection,D(c.view,D(c.model,[A[0],A[1],A[2],1])));return o}k.exports=r},98432:function(k,D,r){var c=r(67792).gl_plot3d,A=c.createCamera,o=c.createScene,_=r(5408),T=r(89184),p=r(24040),y=r(3400),a=y.preserveDrawingBuffer(),n=r(54460),l=r(93024),s=r(43080),h=r(16576),v=r(94424),u=r(44728),b=r(9020),m=r(87152),C=r(19280).applyAutorangeOptions,g,f,x=!1;function M(z,Y){var H=document.createElement("div"),G=z.container;this.graphDiv=z.graphDiv;var W=document.createElementNS("http://www.w3.org/2000/svg","svg");W.style.position="absolute",W.style.top=W.style.left="0px",W.style.width=W.style.height="100%",W.style["z-index"]=20,W.style["pointer-events"]="none",H.appendChild(W),this.svgContainer=W,H.id=z.id,H.style.position="absolute",H.style.top=H.style.left="0px",H.style.width=H.style.height="100%",G.appendChild(H),this.fullLayout=Y,this.id=z.id||"scene",this.fullSceneLayout=Y[this.id],this.plotArgs=[[],{},{}],this.axesOptions=u(Y,Y[this.id]),this.spikeOptions=b(Y[this.id]),this.container=H,this.staticMode=!!z.staticPlot,this.pixelRatio=this.pixelRatio||z.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=p.getComponentMethod("annotations3d","convert"),this.drawAnnotations=p.getComponentMethod("annotations3d","draw"),this.initializeGLPlot()}var R=M.prototype;R.prepareOptions=function(){var z=this,Y={canvas:z.canvas,gl:z.gl,glOptions:{preserveDrawingBuffer:a,premultipliedAlpha:!0,antialias:!0},container:z.container,axes:z.axesOptions,spikes:z.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:z.camera,pixelRatio:z.pixelRatio};if(z.staticMode){if(!f&&(g=document.createElement("canvas"),f=_({canvas:g,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}),!f))throw new Error("error creating static canvas/context for image server");Y.gl=f,Y.canvas=g}return Y};var N=!0;R.tryCreatePlot=function(){var z=this,Y=z.prepareOptions(),H=!0;try{z.glplot=o(Y)}catch{if(z.staticMode||!N||a)H=!1;else{y.warn(["webgl setup failed possibly due to","false preserveDrawingBuffer config.","The mobile/tablet device may not be detected by is-mobile module.","Enabling preserveDrawingBuffer in second attempt to create webgl scene..."].join(" "));try{a=Y.glOptions.preserveDrawingBuffer=!0,z.glplot=o(Y)}catch{a=Y.glOptions.preserveDrawingBuffer=!1,H=!1}}}return N=!1,H},R.initializeGLCamera=function(){var z=this,Y=z.fullSceneLayout.camera,H=Y.projection.type==="orthographic";z.camera=A(z.container,{center:[Y.center.x,Y.center.y,Y.center.z],eye:[Y.eye.x,Y.eye.y,Y.eye.z],up:[Y.up.x,Y.up.y,Y.up.z],_ortho:H,zoomMin:.01,zoomMax:100,mode:"orbit"})},R.initializeGLPlot=function(){var z=this;z.initializeGLCamera();var Y=z.tryCreatePlot();if(!Y)return h(z);z.traces={},z.make4thDimension();var H=z.graphDiv,G=H.layout,W=function(){var j={};return z.isCameraChanged(G)&&(j[z.id+".camera"]=z.getCamera()),z.isAspectChanged(G)&&(j[z.id+".aspectratio"]=z.glplot.getAspectratio(),G[z.id].aspectmode!=="manual"&&(z.fullSceneLayout.aspectmode=G[z.id].aspectmode=j[z.id+".aspectmode"]="manual")),j},V=function(j){if(j.fullSceneLayout.dragmode!==!1){var $=W();j.saveLayout(G),j.graphDiv.emit("plotly_relayout",$)}};return z.glplot.canvas&&(z.glplot.canvas.addEventListener("mouseup",function(){V(z)}),z.glplot.canvas.addEventListener("touchstart",function(){x=!0}),z.glplot.canvas.addEventListener("wheel",function(j){if(H._context._scrollZoom.gl3d){if(z.camera._ortho){var $=j.deltaX>j.deltaY?1.1:.9090909090909091,re=z.glplot.getAspectratio();z.glplot.setAspectratio({x:$*re.x,y:$*re.y,z:$*re.z})}V(z)}},T?{passive:!1}:!1),z.glplot.canvas.addEventListener("mousemove",function(){if(z.fullSceneLayout.dragmode!==!1&&z.camera.mouseListener.buttons!==0){var j=W();z.graphDiv.emit("plotly_relayouting",j)}}),z.staticMode||z.glplot.canvas.addEventListener("webglcontextlost",function(j){H&&H.emit&&H.emit("plotly_webglcontextlost",{event:j,layer:z.id})},!1)),z.glplot.oncontextloss=function(){z.recoverContext()},z.glplot.onrender=function(){z.render()},!0},R.render=function(){var z=this,Y=z.graphDiv,H,G=z.svgContainer,W=z.container.getBoundingClientRect();Y._fullLayout._calcInverseTransform(Y);var V=Y._fullLayout._invScaleX,j=Y._fullLayout._invScaleY,$=W.width*V,re=W.height*j;G.setAttributeNS(null,"viewBox","0 0 "+$+" "+re),G.setAttributeNS(null,"width",$),G.setAttributeNS(null,"height",re),m(z),z.glplot.axes.update(z.axesOptions);for(var ae=Object.keys(z.traces),oe=null,de=z.glplot.selection,te=0;te")):H.type==="isosurface"||H.type==="volume"?(fe.valueLabel=n.hoverLabelText(z._mockAxis,z._mockAxis.d2l(de.traceCoordinate[3]),H.valuehoverformat),pe.push("value: "+fe.valueLabel),de.textLabel&&pe.push(de.textLabel),se=pe.join("
")):se=de.textLabel;var Te={x:de.traceCoordinate[0],y:de.traceCoordinate[1],z:de.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:ue};l.appendArrayPointValue(Te,Z,ue),H._module.eventData&&(Te=Z._module.eventData(Te,de,Z,{},ue));var we={points:[Te]};if(z.fullSceneLayout.hovermode){var Ae=[];l.loneHover({trace:Z,x:(.5+.5*ie[0]/ie[3])*$,y:(.5-.5*ie[1]/ie[3])*re,xLabel:fe.xLabel,yLabel:fe.yLabel,zLabel:fe.zLabel,text:se,name:oe.name,color:l.castHoverOption(Z,ue,"bgcolor")||oe.color,borderColor:l.castHoverOption(Z,ue,"bordercolor"),fontFamily:l.castHoverOption(Z,ue,"font.family"),fontSize:l.castHoverOption(Z,ue,"font.size"),fontColor:l.castHoverOption(Z,ue,"font.color"),nameLength:l.castHoverOption(Z,ue,"namelength"),textAlign:l.castHoverOption(Z,ue,"align"),hovertemplate:y.castOption(Z,ue,"hovertemplate"),hovertemplateLabels:y.extendFlat({},Te,fe),eventData:[Te]},{container:G,gd:Y,inOut_bbox:Ae}),Te.bbox=Ae[0]}de.distance<5&&(de.buttons||x)?Y.emit("plotly_click",we):Y.emit("plotly_hover",we),this.oldEventData=we}else l.loneUnhover(G),this.oldEventData&&Y.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;z.drawAnnotations(z)},R.recoverContext=function(){var z=this;z.glplot.dispose();var Y=function(){if(z.glplot.gl.isContextLost()){requestAnimationFrame(Y);return}if(!z.initializeGLPlot()){y.error("Catastrophic and unrecoverable WebGL error. Context lost.");return}z.plot.apply(z,z.plotArgs)};requestAnimationFrame(Y)};var w=["xaxis","yaxis","zaxis"];function P(z,Y,H){for(var G=z.fullSceneLayout,W=0;W<3;W++){var V=w[W],j=V.charAt(0),$=G[V],re=Y[j],ae=Y[j+"calendar"],oe=Y["_"+j+"length"];if(!y.isArrayOrTypedArray(re))H[0][W]=Math.min(H[0][W],0),H[1][W]=Math.max(H[1][W],oe-1);else for(var de,te=0;te<(oe||re.length);te++)if(y.isArrayOrTypedArray(re[te]))for(var J=0;JZ[1][j])Z[0][j]=-1,Z[1][j]=1;else{var ke=Z[1][j]-Z[0][j];Z[0][j]-=ke/32,Z[1][j]+=ke/32}if(fe=[Z[0][j],Z[1][j]],fe=C(fe,re),Z[0][j]=fe[0],Z[1][j]=fe[1],re.isReversed()){var Se=Z[0][j];Z[0][j]=Z[1][j],Z[1][j]=Se}}else fe=re.range,Z[0][j]=re.r2l(fe[0]),Z[1][j]=re.r2l(fe[1]);Z[0][j]===Z[1][j]&&(Z[0][j]-=1,Z[1][j]+=1),re.range=[Z[0][j],Z[1][j]],re.limitRange(),G.glplot.setBounds(j,{min:re.range[0]*J[j],max:re.range[1]*J[j]})}var _e,Ee=oe.aspectmode;if(Ee==="cube")_e=[1,1,1];else if(Ee==="manual"){var Ie=oe.aspectratio;_e=[Ie.x,Ie.y,Ie.z]}else if(Ee==="auto"||Ee==="data"){var Ge=[1,1,1];for(j=0;j<3;++j){re=oe[w[j]],ae=re.type;var We=ue[ae];Ge[j]=Math.pow(We.acc,1/We.count)/J[j]}Ee==="data"||Math.max.apply(null,Ge)/Math.min.apply(null,Ge)<=4?_e=Ge:_e=[1,1,1]}else throw new Error("scene.js aspectRatio was not one of the enumerated types");oe.aspectratio.x=de.aspectratio.x=_e[0],oe.aspectratio.y=de.aspectratio.y=_e[1],oe.aspectratio.z=de.aspectratio.z=_e[2],G.glplot.setAspectratio(oe.aspectratio),G.viewInitial.aspectratio||(G.viewInitial.aspectratio={x:oe.aspectratio.x,y:oe.aspectratio.y,z:oe.aspectratio.z}),G.viewInitial.aspectmode||(G.viewInitial.aspectmode=oe.aspectmode);var Be=oe.domain||null,Ve=Y._size||null;if(Be&&Ve){var lt=G.container.style;lt.position="absolute",lt.left=Ve.l+Be.x[0]*Ve.w+"px",lt.top=Ve.t+(1-Be.y[1])*Ve.h+"px",lt.width=Ve.w*(Be.x[1]-Be.x[0])+"px",lt.height=Ve.h*(Be.y[1]-Be.y[0])+"px"}G.glplot.redraw()},R.destroy=function(){var z=this;z.glplot&&(z.camera.mouseListener.enabled=!1,z.container.removeEventListener("wheel",z.camera.wheelListener),z.camera=null,z.glplot.dispose(),z.container.parentNode.removeChild(z.container),z.glplot=null)};function d(z){return[[z.eye.x,z.eye.y,z.eye.z],[z.center.x,z.center.y,z.center.z],[z.up.x,z.up.y,z.up.z]]}function L(z){return{up:{x:z.up[0],y:z.up[1],z:z.up[2]},center:{x:z.center[0],y:z.center[1],z:z.center[2]},eye:{x:z.eye[0],y:z.eye[1],z:z.eye[2]},projection:{type:z._ortho===!0?"orthographic":"perspective"}}}R.getCamera=function(){var z=this;return z.camera.view.recalcMatrix(z.camera.view.lastT()),L(z.camera)},R.setViewport=function(z){var Y=this,H=z.camera;Y.camera.lookAt.apply(this,d(H)),Y.glplot.setAspectratio(z.aspectratio);var G=H.projection.type==="orthographic",W=Y.camera._ortho;G!==W&&(Y.glplot.redraw(),Y.glplot.clearRGBA(),Y.glplot.dispose(),Y.initializeGLPlot())},R.isCameraChanged=function(z){var Y=this,H=Y.getCamera(),G=y.nestedProperty(z,Y.id+".camera"),W=G.get();function V(ae,oe,de,te){var J=["up","center","eye"],ie=["x","y","z"];return oe[J[de]]&&ae[J[de]][ie[te]]===oe[J[de]][ie[te]]}var j=!1;if(W===void 0)j=!0;else{for(var $=0;$<3;$++)for(var re=0;re<3;re++)if(!V(H,W,$,re)){j=!0;break}(!W.projection||H.projection&&H.projection.type!==W.projection.type)&&(j=!0)}return j},R.isAspectChanged=function(z){var Y=this,H=Y.glplot.getAspectratio(),G=y.nestedProperty(z,Y.id+".aspectratio"),W=G.get();return W===void 0||W.x!==H.x||W.y!==H.y||W.z!==H.z},R.saveLayout=function(z){var Y=this,H=Y.fullLayout,G,W,V,j,$,re,ae=Y.isCameraChanged(z),oe=Y.isAspectChanged(z),de=ae||oe;if(de){var te={};if(ae&&(G=Y.getCamera(),W=y.nestedProperty(z,Y.id+".camera"),V=W.get(),te[Y.id+".camera"]=V),oe&&(j=Y.glplot.getAspectratio(),$=y.nestedProperty(z,Y.id+".aspectratio"),re=$.get(),te[Y.id+".aspectratio"]=re),p.call("_storeDirectGUIEdit",z,H._preGUI,te),ae){W.set(G);var J=y.nestedProperty(H,Y.id+".camera");J.set(G)}if(oe){$.set(j);var ie=y.nestedProperty(H,Y.id+".aspectratio");ie.set(j),Y.glplot.redraw()}}return de},R.updateFx=function(z,Y){var H=this,G=H.camera;if(G)if(z==="orbit")G.mode="orbit",G.keyBindingMode="rotate";else if(z==="turntable"){G.up=[0,0,1],G.mode="turntable",G.keyBindingMode="rotate";var W=H.graphDiv,V=W._fullLayout,j=H.fullSceneLayout.camera,$=j.up.x,re=j.up.y,ae=j.up.z;if(ae/Math.sqrt($*$+re*re+ae*ae)<.999){var oe=H.id+".camera.up",de={x:0,y:0,z:1},te={};te[oe]=de;var J=W.layout;p.call("_storeDirectGUIEdit",J,V._preGUI,te),j.up=de,y.nestedProperty(J,oe).set(de)}}else G.keyBindingMode=z;H.fullSceneLayout.hovermode=Y};function E(z,Y,H){for(var G=0,W=H-1;G0)for(var $=255/j,re=0;re<3;++re)z[V+re]=Math.min($*z[V+re],255)}}R.toImage=function(z){var Y=this;z||(z="png"),Y.staticMode&&Y.container.appendChild(g),Y.glplot.redraw();var H=Y.glplot.gl,G=H.drawingBufferWidth,W=H.drawingBufferHeight;H.bindFramebuffer(H.FRAMEBUFFER,null);var V=new Uint8Array(G*W*4);H.readPixels(0,0,G,W,H.RGBA,H.UNSIGNED_BYTE,V),E(V,G,W),B(V,G,W);var j=document.createElement("canvas");j.width=G,j.height=W;var $=j.getContext("2d",{willReadFrequently:!0}),re=$.createImageData(G,W);re.data.set(V),$.putImageData(re,0,0);var ae;switch(z){case"jpeg":ae=j.toDataURL("image/jpeg");break;case"webp":ae=j.toDataURL("image/webp");break;default:ae=j.toDataURL("image/png")}return Y.staticMode&&Y.container.removeChild(g),ae},R.setConvert=function(){for(var z=this,Y=0;Y<3;Y++){var H=z.fullSceneLayout[w[Y]];n.setConvert(H,z.fullLayout),H.setScale=y.noop}},R.make4thDimension=function(){var z=this,Y=z.graphDiv,H=Y._fullLayout;z._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},n.setConvert(z._mockAxis,H)},k.exports=M},52094:function(k){k.exports=function(r,c,A,o){o=o||r.length;for(var _=new Array(o),T=0;TOpenStreetMap contributors',_=['© Carto',o].join(" "),T=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),p=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),y={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:o,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:_,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:_,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:T,tiles:["https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:T,tiles:["https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:p,tiles:["https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"}},a=c(y);k.exports={requiredVersion:A,styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:y,styleValuesNonMapbox:a,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install @plotly/mapbox-gl@"+A+"."].join(` @@ -3629,10 +3629,10 @@ void main() { `))):Z=re.stylize("[Circular]","special")),w(ie)){if(J&&te.match(/^\d+$/))return Z;ie=JSON.stringify(""+te),ie.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ie=ie.slice(1,-1),ie=re.stylize(ie,"name")):(ie=ie.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ie=re.stylize(ie,"string"))}return ie+": "+Z}function m(re,ae,oe){var de=re.reduce(function(te,J){return J.indexOf(` `)>=0,te+J.replace(/\u001b\[\d\d?m/g,"").length+1},0);return de>60?oe[0]+(ae===""?"":ae+` `)+" "+re.join(`, - `)+" "+oe[1]:oe[0]+ae+" "+re.join(", ")+" "+oe[1]}D.types=r(41088);function C(re){return Array.isArray(re)}D.isArray=C;function g(re){return typeof re=="boolean"}D.isBoolean=g;function f(re){return re===null}D.isNull=f;function x(re){return re==null}D.isNullOrUndefined=x;function M(re){return typeof re=="number"}D.isNumber=M;function R(re){return typeof re=="string"}D.isString=R;function N(re){return typeof re=="symbol"}D.isSymbol=N;function w(re){return re===void 0}D.isUndefined=w;function P(re){return I(re)&&z(re)==="[object RegExp]"}D.isRegExp=P,D.types.isRegExp=P;function I(re){return typeof re=="object"&&re!==null}D.isObject=I;function d(re){return I(re)&&z(re)==="[object Date]"}D.isDate=d,D.types.isDate=d;function L(re){return I(re)&&(z(re)==="[object Error]"||re instanceof Error)}D.isError=L,D.types.isNativeError=L;function E(re){return typeof re=="function"}D.isFunction=E;function B(re){return re===null||typeof re=="boolean"||typeof re=="number"||typeof re=="string"||typeof re=="symbol"||typeof re>"u"}D.isPrimitive=B,D.isBuffer=r(75272);function z(re){return Object.prototype.toString.call(re)}function Y(re){return re<10?"0"+re.toString(10):re.toString(10)}var H=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function G(){var re=new Date,ae=[Y(re.getHours()),Y(re.getMinutes()),Y(re.getSeconds())].join(":");return[re.getDate(),H[re.getMonth()],ae].join(" ")}D.log=function(){console.log("%s - %s",G(),D.format.apply(D,arguments))},D.inherits=r(6768),D._extend=function(re,ae){if(!ae||!I(ae))return re;for(var oe=Object.keys(ae),de=oe.length;de--;)re[oe[de]]=ae[oe[de]];return re};function W(re,ae){return Object.prototype.hasOwnProperty.call(re,ae)}var V=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;D.promisify=function(ae){if(typeof ae!="function")throw new TypeError('The "original" argument must be of type Function');if(V&&ae[V]){var oe=ae[V];if(typeof oe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(oe,V,{value:oe,enumerable:!1,writable:!1,configurable:!0}),oe}function oe(){for(var de,te,J=new Promise(function(ue,fe){de=ue,te=fe}),ie=[],Z=0;Z"u"?r.g:globalThis,n=A(),l=_("String.prototype.slice"),s=Object.getPrototypeOf,h=_("Array.prototype.indexOf",!0)||function(C,g){for(var f=0;f-1?g:g!=="Object"?!1:b(C)}return T?u(C):null}},67020:function(k,D,r){var c=r(38700),A=r(50896),o=c.instance();function _(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}_.prototype=new c.baseCalendar,A(_.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(v,u){if(typeof v=="string"){var b=v.match(p);return b?b[0]:""}var m=this._validateYear(v),C=v.month(),g=""+this.toChineseMonth(m,C);return u&&g.length<2&&(g="0"+g),this.isIntercalaryMonth(m,C)&&(g+="i"),g},monthNames:function(v){if(typeof v=="string"){var u=v.match(y);return u?u[0]:""}var b=this._validateYear(v),m=v.month(),C=this.toChineseMonth(b,m),g=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][C-1];return this.isIntercalaryMonth(b,m)&&(g="闰"+g),g},monthNamesShort:function(v){if(typeof v=="string"){var u=v.match(a);return u?u[0]:""}var b=this._validateYear(v),m=v.month(),C=this.toChineseMonth(b,m),g=["一","二","三","四","五","六","七","八","九","十","十一","十二"][C-1];return this.isIntercalaryMonth(b,m)&&(g="闰"+g),g},parseMonth:function(v,u){v=this._validateYear(v);var b=parseInt(u),m;if(isNaN(b))u[0]==="闰"&&(m=!0,u=u.substring(1)),u[u.length-1]==="月"&&(u=u.substring(0,u.length-1)),b=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(u);else{var C=u[u.length-1];m=C==="i"||C==="I"}var g=this.toMonthIndex(v,b,m);return g},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(v,u){if(v.year&&(v=v.year()),typeof v!="number"||v<1888||v>2111)throw u.replace(/\{0\}/,this.local.name);return v},toMonthIndex:function(v,u,b){var m=this.intercalaryMonth(v),C=b&&u!==m;if(C||u<1||u>12)throw c.local.invalidMonth.replace(/\{0\}/,this.local.name);var g;return m?!b&&u<=m?g=u-1:g=u:g=u-1,g},toChineseMonth:function(v,u){v.year&&(v=v.year(),u=v.month());var b=this.intercalaryMonth(v),m=b?12:11;if(u<0||u>m)throw c.local.invalidMonth.replace(/\{0\}/,this.local.name);var C;return b?u>13;return b},isIntercalaryMonth:function(v,u){v.year&&(v=v.year(),u=v.month());var b=this.intercalaryMonth(v);return!!b&&b===u},leapYear:function(v){return this.intercalaryMonth(v)!==0},weekOfYear:function(v,u,b){var m=this._validateYear(v,c.local.invalidyear),C=l[m-l[0]],g=C>>9&4095,f=C>>5&15,x=C&31,M;M=o.newDate(g,f,x),M.add(4-(M.dayOfWeek()||7),"d");var R=this.toJD(v,u,b)-M.toJD();return 1+Math.floor(R/7)},monthsInYear:function(v){return this.leapYear(v)?13:12},daysInMonth:function(v,u){v.year&&(u=v.month(),v=v.year()),v=this._validateYear(v);var b=n[v-n[0]],m=b>>13,C=m?12:11;if(u>C)throw c.local.invalidMonth.replace(/\{0\}/,this.local.name);var g=b&1<<12-u?30:29;return g},weekDay:function(v,u,b){return(this.dayOfWeek(v,u,b)||7)<6},toJD:function(v,u,b){var m=this._validate(v,g,b,c.local.invalidDate);v=this._validateYear(m.year()),u=m.month(),b=m.day();var C=this.isIntercalaryMonth(v,u),g=this.toChineseMonth(v,u),f=h(v,g,b,C);return o.toJD(f.year,f.month,f.day)},fromJD:function(v){var u=o.fromJD(v),b=s(u.year(),u.month(),u.day()),m=this.toMonthIndex(b.year,b.month,b.isIntercalary);return this.newDate(b.year,m,b.day)},fromString:function(v){var u=v.match(T),b=this._validateYear(+u[1]),m=+u[2],C=!!u[3],g=this.toMonthIndex(b,m,C),f=+u[4];return this.newDate(b,g,f)},add:function(v,u,b){var m=v.year(),C=v.month(),g=this.isIntercalaryMonth(m,C),f=this.toChineseMonth(m,C),x=Object.getPrototypeOf(_.prototype).add.call(this,v,u,b);if(b==="y"){var M=x.year(),R=x.month(),N=this.isIntercalaryMonth(M,f),w=g&&N?this.toMonthIndex(M,f,!0):this.toMonthIndex(M,f,!1);w!==R&&x.month(w)}return x}});var T=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,p=/^\d?\d[iI]?/m,y=/^闰?十?[一二三四五六七八九]?月/m,a=/^闰?十?[一二三四五六七八九]?/m;c.calendars.chinese=_;var n=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],l=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function s(v,u,b,m){var C,g;if(typeof v=="object")C=v,g=u||{};else{var f=typeof v=="number"&&v>=1888&&v<=2111;if(!f)throw new Error("Solar year outside range 1888-2111");var x=typeof u=="number"&&u>=1&&u<=12;if(!x)throw new Error("Solar month outside range 1 - 12");var M=typeof b=="number"&&b>=1&&b<=31;if(!M)throw new Error("Solar day outside range 1 - 31");C={year:v,month:u,day:b},g=m||{}}var R=l[C.year-l[0]],N=C.year<<9|C.month<<5|C.day;g.year=N>=R?C.year:C.year-1,R=l[g.year-l[0]];var w=R>>9&4095,P=R>>5&15,I=R&31,d,L=new Date(w,P-1,I),E=new Date(C.year,C.month-1,C.day);d=Math.round((E-L)/864e5);var B=n[g.year-n[0]],z;for(z=0;z<13;z++){var Y=B&1<<12-z?30:29;if(d>13;return!H||z=1888&&v<=2111;if(!x)throw new Error("Lunar year outside range 1888-2111");var M=typeof u=="number"&&u>=1&&u<=12;if(!M)throw new Error("Lunar month outside range 1 - 12");var R=typeof b=="number"&&b>=1&&b<=30;if(!R)throw new Error("Lunar day outside range 1 - 30");var N;typeof m=="object"?(N=!1,g=m):(N=!!m,g=C||{}),f={year:v,month:u,day:b,isIntercalary:N}}var w;w=f.day-1;var P=n[f.year-n[0]],I=P>>13,d;I&&(f.month>I||f.isIntercalary)?d=f.month:d=f.month-1;for(var L=0;L>9&4095,Y=B>>5&15,H=B&31,G=new Date(z,Y-1,H+w);return g.year=G.getFullYear(),g.month=1+G.getMonth(),g.day=G.getDate(),g}},89792:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Coptic",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(p){var T=this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),p=T.year()+(T.year()<0?1:0);return p%4===3||p%4===-1},monthsInYear:function(_){return this._validate(_,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear),13},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(-y.dayOfWeek(),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInMonth:function(_,T){var p=this._validate(_,T,this.minDay,c.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===13&&this.leapYear(p.year())?1:0)},weekDay:function(_,T,p){return(this.dayOfWeek(_,T,p)||7)<6},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);return _=y.year(),_<0&&_++,y.day()+(y.month()-1)*30+(_-1)*365+Math.floor(_/4)+this.jdEpoch-1},fromJD:function(_){var T=Math.floor(_)+.5-this.jdEpoch,p=Math.floor((T-Math.floor((T+366)/1461))/365)+1;p<=0&&p--,T=Math.floor(_)+.5-this.newDate(p,1,1).toJD();var y=Math.floor(T/30)+1,a=T-(y-1)*30+1;return this.newDate(p,y,a)}}),c.calendars.coptic=o},55668:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Discworld",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(T){return this._validate(T,this.minMonth,this.minDay,c.local.invalidYear),!1},monthsInYear:function(T){return this._validate(T,this.minMonth,this.minDay,c.local.invalidYear),13},daysInYear:function(T){return this._validate(T,this.minMonth,this.minDay,c.local.invalidYear),400},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/8)+1},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);return(a.day()+1)%8},weekDay:function(T,p,y){var a=this.dayOfWeek(T,p,y);return a>=2&&a<=6},extraInfo:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);return{century:_[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);return T=a.year()+(a.year()<0?1:0),p=a.month(),y=a.day(),y+(p>1?16:0)+(p>2?(p-2)*32:0)+(T-1)*400+this.jdEpoch-1},fromJD:function(T){T=Math.floor(T+.5)-Math.floor(this.jdEpoch)-1;var p=Math.floor(T/400)+1;T-=(p-1)*400,T+=T>15?16:0;var y=Math.floor(T/32)+1,a=T-(y-1)*32+1;return this.newDate(p<=0?p-1:p,y,a)}});var _={20:"Fruitbat",21:"Anchovy"};c.calendars.discworld=o},65168:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(p){var T=this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),p=T.year()+(T.year()<0?1:0);return p%4===3||p%4===-1},monthsInYear:function(_){return this._validate(_,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear),13},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(-y.dayOfWeek(),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInMonth:function(_,T){var p=this._validate(_,T,this.minDay,c.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===13&&this.leapYear(p.year())?1:0)},weekDay:function(_,T,p){return(this.dayOfWeek(_,T,p)||7)<6},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);return _=y.year(),_<0&&_++,y.day()+(y.month()-1)*30+(_-1)*365+Math.floor(_/4)+this.jdEpoch-1},fromJD:function(_){var T=Math.floor(_)+.5-this.jdEpoch,p=Math.floor((T-Math.floor((T+366)/1461))/365)+1;p<=0&&p--,T=Math.floor(_)+.5-this.newDate(p,1,1).toJD();var y=Math.floor(T/30)+1,a=T-(y-1)*30+1;return this.newDate(p,y,a)}}),c.calendars.ethiopian=o},2084:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear);return this._leapYear(p.year())},_leapYear:function(T){return T=T<0?T+1:T,_(T*7+1,19)<7},monthsInYear:function(T){return this._validate(T,this.minMonth,this.minDay,c.local.invalidYear),this._leapYear(T.year?T.year():T)?13:12},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear);return T=p.year(),this.toJD(T===-1?1:T+1,7,1)-this.toJD(T,7,1)},daysInMonth:function(T,p){return T.year&&(p=T.month(),T=T.year()),this._validate(T,p,this.minDay,c.local.invalidMonth),p===12&&this.leapYear(T)||p===8&&_(this.daysInYear(T),10)===5?30:p===9&&_(this.daysInYear(T),10)===3?29:this.daysPerMonth[p-1]},weekDay:function(T,p,y){return this.dayOfWeek(T,p,y)!==6},extraInfo:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);T=a.year(),p=a.month(),y=a.day();var n=T<=0?T+1:T,l=this.jdEpoch+this._delay1(n)+this._delay2(n)+y+1;if(p<7){for(var s=7;s<=this.monthsInYear(T);s++)l+=this.daysInMonth(T,s);for(var s=1;s=this.toJD(p===-1?1:p+1,7,1);)p++;for(var y=Tthis.toJD(p,y,this.daysInMonth(p,y));)y++;var a=T-this.toJD(p,y,1)+1;return this.newDate(p,y,a)}});function _(T,p){return T-p*Math.floor(T/p)}c.calendars.hebrew=o},26368:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(_){var T=this._validate(_,this.minMonth,this.minDay,c.local.invalidYear);return(T.year()*11+14)%30<11},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(-y.dayOfWeek(),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInYear:function(_){return this.leapYear(_)?355:354},daysInMonth:function(_,T){var p=this._validate(_,T,this.minDay,c.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===12&&this.leapYear(p.year())?1:0)},weekDay:function(_,T,p){return this.dayOfWeek(_,T,p)!==5},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);return _=y.year(),T=y.month(),p=y.day(),_=_<=0?_+1:_,p+Math.ceil(29.5*(T-1))+(_-1)*354+Math.floor((3+11*_)/30)+this.jdEpoch-1},fromJD:function(_){_=Math.floor(_)+.5;var T=Math.floor((30*(_-this.jdEpoch)+10646)/10631);T=T<=0?T-1:T;var p=Math.min(12,Math.ceil((_-29-this.toJD(T,1,1))/29.5)+1),y=_-this.toJD(T,p,1)+1;return this.newDate(T,p,y)}}),c.calendars.islamic=o},24747:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(p){var T=this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),p=T.year()<0?T.year()+1:T.year();return p%4===0},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(4-(y.dayOfWeek()||7),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInMonth:function(_,T){var p=this._validate(_,T,this.minDay,c.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===2&&this.leapYear(p.year())?1:0)},weekDay:function(_,T,p){return(this.dayOfWeek(_,T,p)||7)<6},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);return _=y.year(),T=y.month(),p=y.day(),_<0&&_++,T<=2&&(_--,T+=12),Math.floor(365.25*(_+4716))+Math.floor(30.6001*(T+1))+p-1524.5},fromJD:function(_){var T=Math.floor(_+.5),p=T+1524,y=Math.floor((p-122.1)/365.25),a=Math.floor(365.25*y),n=Math.floor((p-a)/30.6001),l=n-Math.floor(n<14?1:13),s=y-Math.floor(l>2?4716:4715),h=p-a-Math.floor(30.6001*n);return s<=0&&s--,this.newDate(s,l,h)}}),c.calendars.julian=o},65616:function(k,D,r){var c=r(38700),A=r(50896);function o(p){this.local=this.regionalOptions[p||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(p){return this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),!1},formatYear:function(p){var y=this._validate(p,this.minMonth,this.minDay,c.local.invalidYear);p=y.year();var a=Math.floor(p/400);p=p%400,p+=p<0?400:0;var n=Math.floor(p/20);return a+"."+n+"."+p%20},forYear:function(p){if(p=p.split("."),p.length<3)throw"Invalid Mayan year";for(var y=0,a=0;a19||a>0&&n<0)throw"Invalid Mayan year";y=y*20+n}return y},monthsInYear:function(p){return this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),18},weekOfYear:function(p,y,a){return this._validate(p,y,a,c.local.invalidDate),0},daysInYear:function(p){return this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),360},daysInMonth:function(p,y){return this._validate(p,y,this.minDay,c.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(p,y,a){var n=this._validate(p,y,a,c.local.invalidDate);return n.day()},weekDay:function(p,y,a){return this._validate(p,y,a,c.local.invalidDate),!0},extraInfo:function(p,y,a){var n=this._validate(p,y,a,c.local.invalidDate),l=n.toJD(),s=this._toHaab(l),h=this._toTzolkin(l);return{haabMonthName:this.local.haabMonths[s[0]-1],haabMonth:s[0],haabDay:s[1],tzolkinDayName:this.local.tzolkinMonths[h[0]-1],tzolkinDay:h[0],tzolkinTrecena:h[1]}},_toHaab:function(p){p-=this.jdEpoch;var y=_(p+8+(18-1)*20,365);return[Math.floor(y/20)+1,_(y,20)]},_toTzolkin:function(p){return p-=this.jdEpoch,[T(p+20,20),T(p+4,13)]},toJD:function(p,y,a){var n=this._validate(p,y,a,c.local.invalidDate);return n.day()+n.month()*20+n.year()*360+this.jdEpoch},fromJD:function(p){p=Math.floor(p)+.5-this.jdEpoch;var y=Math.floor(p/360);p=p%360,p+=p<0?360:0;var a=Math.floor(p/20),n=p%20;return this.newDate(y,a,n)}});function _(p,y){return p-y*Math.floor(p/y)}function T(p,y){return _(p-1,y)+1}c.calendars.mayan=o},30632:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar;var _=c.instance("gregorian");A(o.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear);return _.leapYear(p.year()+(p.year()<1?1:0)+1469)},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]+(y.month()===12&&this.leapYear(y.year())?1:0)},weekDay:function(T,p,y){return(this.dayOfWeek(T,p,y)||7)<6},toJD:function(n,p,y){var a=this._validate(n,p,y,c.local.invalidMonth),n=a.year();n<0&&n++;for(var l=a.day(),s=1;s=this.toJD(p+1,1,1);)p++;for(var y=T-Math.floor(this.toJD(p,1,1)+.5)+1,a=1;y>this.daysInMonth(p,a);)y-=this.daysInMonth(p,a),a++;return this.newDate(p,a,y)}}),c.calendars.nanakshahi=o},73040:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(_){return this.daysInYear(_)!==this.daysPerYear},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(-y.dayOfWeek(),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInYear:function(_){var T=this._validate(_,this.minMonth,this.minDay,c.local.invalidYear);if(_=T.year(),typeof this.NEPALI_CALENDAR_DATA[_]>"u")return this.daysPerYear;for(var p=0,y=this.minMonth;y<=12;y++)p+=this.NEPALI_CALENDAR_DATA[_][y];return p},daysInMonth:function(_,T){return _.year&&(T=_.month(),_=_.year()),this._validate(_,T,this.minDay,c.local.invalidMonth),typeof this.NEPALI_CALENDAR_DATA[_]>"u"?this.daysPerMonth[T-1]:this.NEPALI_CALENDAR_DATA[_][T]},weekDay:function(_,T,p){return this.dayOfWeek(_,T,p)!==6},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);_=y.year(),T=y.month(),p=y.day();var a=c.instance(),n=0,l=T,s=_;this._createMissingCalendarData(_);var h=_-(l>9||l===9&&p>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(T!==9&&(n=p,l--);l!==9;)l<=0&&(l=12,s--),n+=this.NEPALI_CALENDAR_DATA[s][l],l--;return T===9?(n+=p-this.NEPALI_CALENDAR_DATA[s][0],n<0&&(n+=a.daysInYear(h))):n+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(h,1,1).add(n,"d").toJD()},fromJD:function(_){var T=c.instance(),p=T.fromJD(_),y=p.year(),a=p.dayOfYear(),n=y+56;this._createMissingCalendarData(n);for(var l=9,s=this.NEPALI_CALENDAR_DATA[n][0],h=this.NEPALI_CALENDAR_DATA[n][l]-s+1;a>h;)l++,l>12&&(l=1,n++),h+=this.NEPALI_CALENDAR_DATA[n][l];var v=this.NEPALI_CALENDAR_DATA[n][l]-(h-a);return this.newDate(n,l,v)},_createMissingCalendarData:function(_){var T=this.daysPerMonth.slice(0);T.unshift(17);for(var p=_-1;p<_+2;p++)typeof this.NEPALI_CALENDAR_DATA[p]>"u"&&(this.NEPALI_CALENDAR_DATA[p]=T)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),c.calendars.nepali=o},1104:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Persian",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Chæharshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Chæ","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear);return((p.year()-(p.year()>0?474:473))%2820+474+38)*682%2816<682},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(-((a.dayOfWeek()+1)%7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]+(y.month()===12&&this.leapYear(y.year())?1:0)},weekDay:function(T,p,y){return this.dayOfWeek(T,p,y)!==5},toJD:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);T=a.year(),p=a.month(),y=a.day();var n=T-(T>=0?474:473),l=474+_(n,2820);return y+(p<=7?(p-1)*31:(p-1)*30+6)+Math.floor((l*682-110)/2816)+(l-1)*365+Math.floor(n/2820)*1029983+this.jdEpoch-1},fromJD:function(T){T=Math.floor(T)+.5;var p=T-this.toJD(475,1,1),y=Math.floor(p/1029983),a=_(p,1029983),n=2820;if(a!==1029982){var l=Math.floor(a/366),s=_(a,366);n=Math.floor((2134*l+2816*s+2815)/1028522)+l+1}var h=n+2820*y+474;h=h<=0?h-1:h;var v=T-this.toJD(h,1,1)+1,u=v<=186?Math.ceil(v/31):Math.ceil((v-6)/30),b=T-this.toJD(h,u,1)+1;return this.newDate(h,u,b)}});function _(T,p){return T-p*Math.floor(T/p)}c.calendars.persian=o,c.calendars.jalali=o},51456:function(k,D,r){var c=r(38700),A=r(50896),o=c.instance();function _(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}_.prototype=new c.baseCalendar,A(_.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(y){var p=this._validate(y,this.minMonth,this.minDay,c.local.invalidYear),y=this._t2gYear(p.year());return o.leapYear(y)},weekOfYear:function(n,p,y){var a=this._validate(n,this.minMonth,this.minDay,c.local.invalidYear),n=this._t2gYear(a.year());return o.weekOfYear(n,a.month(),a.day())},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]+(y.month()===2&&this.leapYear(y.year())?1:0)},weekDay:function(T,p,y){return(this.dayOfWeek(T,p,y)||7)<6},toJD:function(n,p,y){var a=this._validate(n,p,y,c.local.invalidDate),n=this._t2gYear(a.year());return o.toJD(n,a.month(),a.day())},fromJD:function(T){var p=o.fromJD(T),y=this._g2tYear(p.year());return this.newDate(y,p.month(),p.day())},_t2gYear:function(T){return T+this.yearsOffset+(T>=-this.yearsOffset&&T<=-1?1:0)},_g2tYear:function(T){return T-this.yearsOffset-(T>=1&&T<=this.yearsOffset?1:0)}}),c.calendars.taiwan=_},4592:function(k,D,r){var c=r(38700),A=r(50896),o=c.instance();function _(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}_.prototype=new c.baseCalendar,A(_.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(y){var p=this._validate(y,this.minMonth,this.minDay,c.local.invalidYear),y=this._t2gYear(p.year());return o.leapYear(y)},weekOfYear:function(n,p,y){var a=this._validate(n,this.minMonth,this.minDay,c.local.invalidYear),n=this._t2gYear(a.year());return o.weekOfYear(n,a.month(),a.day())},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]+(y.month()===2&&this.leapYear(y.year())?1:0)},weekDay:function(T,p,y){return(this.dayOfWeek(T,p,y)||7)<6},toJD:function(n,p,y){var a=this._validate(n,p,y,c.local.invalidDate),n=this._t2gYear(a.year());return o.toJD(n,a.month(),a.day())},fromJD:function(T){var p=o.fromJD(T),y=this._g2tYear(p.year());return this.newDate(y,p.month(),p.day())},_t2gYear:function(T){return T-this.yearsOffset-(T>=1&&T<=this.yearsOffset?1:0)},_g2tYear:function(T){return T+this.yearsOffset+(T>=-this.yearsOffset&&T<=-1?1:0)}}),c.calendars.thai=_},45348:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear);return this.daysInYear(p.year())===355},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(T){for(var p=0,y=1;y<=12;y++)p+=this.daysInMonth(T,y);return p},daysInMonth:function(T,p){for(var y=this._validate(T,p,this.minDay,c.local.invalidMonth),a=y.toJD()-24e5+.5,n=0,l=0;l<_.length;l++){if(_[l]>a)return _[n]-_[n-1];n++}return 30},weekDay:function(T,p,y){return this.dayOfWeek(T,p,y)!==5},toJD:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate),n=12*(a.year()-1)+a.month()-15292,l=a.day()+_[n-1]-1;return l+24e5-.5},fromJD:function(T){for(var p=T-24e5+.5,y=0,a=0;a<_.length&&!(_[a]>p);a++)y++;var n=y+15292,l=Math.floor((n-1)/12),s=l+1,h=n-12*l,v=p-_[y-1]+1;return this.newDate(s,h,v)},isValid:function(T,p,y){var a=c.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(T=T.year!=null?T.year:T,a=T>=1276&&T<=1500),a},_validate:function(T,p,y,a){var n=c.baseCalendar.prototype._validate.apply(this,arguments);if(n.year<1276||n.year>1500)throw a.replace(/\{0\}/,this.local.name);return n}}),c.calendars.ummalqura=o;var _=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},38700:function(k,D,r){var c=r(50896);function A(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}c(A.prototype,{instance:function(a,n){a=(a||"gregorian").toLowerCase(),n=n||"";var l=this._localCals[a+"-"+n];if(!l&&this.calendars[a]&&(l=new this.calendars[a](n),this._localCals[a+"-"+n]=l),!l)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return l},newDate:function(a,n,l,s,h){return s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,h):s)||this.instance(),s.newDate(a,n,l)},substituteDigits:function(a){return function(n){return(n+"").replace(/[0-9]/g,function(l){return a[l]})}},substituteChineseDigits:function(a,n){return function(l){for(var s="",h=0;l>0;){var v=l%10;s=(v===0?"":a[v]+n[h])+s,h++,l=Math.floor(l/10)}return s.indexOf(a[1]+n[1])===0&&(s=s.substr(1)),s||a[0]}}});function o(a,n,l,s){if(this._calendar=a,this._year=n,this._month=l,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(y.local.invalidDate||y.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function _(a,n){return a=""+a,"000000".substring(0,n-a.length)+a}c(o.prototype,{newDate:function(a,n,l){return this._calendar.newDate(a??this,n,l)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,n,l){if(!this._calendar.isValid(a,n,l))throw(y.local.invalidDate||y.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=n,this._day=l,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,n){return this._calendar.add(this,a,n)},set:function(a,n){return this._calendar.set(this,a,n)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(y.local.differentCalendars||y.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var n=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return n===0?0:n<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+_(Math.abs(this.year()),4)+"-"+_(this.month(),2)+"-"+_(this.day(),2)}});function T(){this.shortYearCutoff="+10"}c(T.prototype,{_validateLevel:0,newDate:function(a,n,l){return a==null?this.today():(a.year&&(this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate),l=a.day(),n=a.month(),a=a.year()),new o(this,a,n,l))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){var n=this._validate(a,this.minMonth,this.minDay,y.local.invalidYear||y.regionalOptions[""].invalidYear);return n.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var n=this._validate(a,this.minMonth,this.minDay,y.local.invalidYear||y.regionalOptions[""].invalidYear);return(n.year()<0?"-":"")+_(Math.abs(n.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,y.local.invalidYear||y.regionalOptions[""].invalidYear),12},monthOfYear:function(a,n){var l=this._validate(a,n,this.minDay,y.local.invalidMonth||y.regionalOptions[""].invalidMonth);return(l.month()+this.monthsInYear(l)-this.firstMonth)%this.monthsInYear(l)+this.minMonth},fromMonthOfYear:function(a,n){var l=(n+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,l,this.minDay,y.local.invalidMonth||y.regionalOptions[""].invalidMonth),l},daysInYear:function(a){var n=this._validate(a,this.minMonth,this.minDay,y.local.invalidYear||y.regionalOptions[""].invalidYear);return this.leapYear(n)?366:365},dayOfYear:function(a,n,l){var s=this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,n,l){var s=this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,n,l){return this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate),{}},add:function(a,n,l){return this._validate(a,this.minMonth,this.minDay,y.local.invalidDate||y.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,n,l),n,l)},_add:function(a,n,l){if(this._validateLevel++,l==="d"||l==="w"){var s=a.toJD()+n*(l==="w"?this.daysInWeek():1),h=a.calendar().fromJD(s);return this._validateLevel--,[h.year(),h.month(),h.day()]}try{var v=a.year()+(l==="y"?n:0),u=a.monthOfYear()+(l==="m"?n:0),h=a.day(),b=function(g){for(;uf-1+g.minMonth;)v++,u-=f,f=g.monthsInYear(v)};l==="y"?(a.month()!==this.fromMonthOfYear(v,u)&&(u=this.newDate(v,a.month(),this.minDay).monthOfYear()),u=Math.min(u,this.monthsInYear(v)),h=Math.min(h,this.daysInMonth(v,this.fromMonthOfYear(v,u)))):l==="m"&&(b(this),h=Math.min(h,this.daysInMonth(v,this.fromMonthOfYear(v,u))));var m=[v,this.fromMonthOfYear(v,u),h];return this._validateLevel--,m}catch(C){throw this._validateLevel--,C}},_correctAdd:function(a,n,l,s){if(!this.hasYearZero&&(s==="y"||s==="m")&&(n[0]===0||a.year()>0!=n[0]>0)){var h={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],v=l<0?-1:1;n=this._add(a,l*h[0]+v*h[1],h[2])}return a.date(n[0],n[1],n[2])},set:function(a,n,l){this._validate(a,this.minMonth,this.minDay,y.local.invalidDate||y.regionalOptions[""].invalidDate);var s=l==="y"?n:a.year(),h=l==="m"?n:a.month(),v=l==="d"?n:a.day();return(l==="y"||l==="m")&&(v=Math.min(v,this.daysInMonth(s,h))),a.date(s,h,v)},isValid:function(a,n,l){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var h=this.newDate(a,n,this.minDay);s=n>=this.minMonth&&n-this.minMonth=this.minDay&&l-this.minDay13.5?13:1),C=h-(m>2.5?4716:4715);return C<=0&&C--,this.newDate(C,m,b)},toJSDate:function(a,n,l){var s=this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate),h=new Date(s.year(),s.month()-1,s.day());return h.setHours(0),h.setMinutes(0),h.setSeconds(0),h.setMilliseconds(0),h.setHours(h.getHours()>12?h.getHours()+2:0),h},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var y=k.exports=new A;y.cdate=o,y.baseCalendar=T,y.calendars.gregorian=p},15168:function(k,D,r){var c=r(50896),A=r(38700);c(A.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),A.local=A.regionalOptions[""],c(A.cdate.prototype,{formatDate:function(o,_){return typeof o!="string"&&(_=o,o=""),this._calendar.formatDate(o||"",this,_)}}),c(A.baseCalendar.prototype,{UNIX_EPOCH:A.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:A.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(o,_,T){if(typeof o!="string"&&(T=_,_=o,o=""),!_)return"";if(_.calendar()!==this)throw A.local.invalidFormat||A.regionalOptions[""].invalidFormat;o=o||this.local.dateFormat,T=T||{};var p=T.dayNamesShort||this.local.dayNamesShort,y=T.dayNames||this.local.dayNames,a=T.monthNumbers||this.local.monthNumbers,n=T.monthNamesShort||this.local.monthNamesShort,l=T.monthNames||this.local.monthNames;T.calculateWeek||this.local.calculateWeek;for(var s=function(R,N){for(var w=1;M+w1},h=function(R,N,w,P){var I=""+N;if(s(R,P))for(;I.length1},M=function(z,Y){var H=x(z,Y),G=[2,3,H?4:2,H?4:2,10,11,20]["oyYJ@!".indexOf(z)+1],W=new RegExp("^-?\\d{1,"+G+"}"),V=_.substring(d).match(W);if(!V)throw(A.local.missingNumberAt||A.regionalOptions[""].missingNumberAt).replace(/\{0\}/,d);return d+=V[0].length,parseInt(V[0],10)},R=this,N=function(){if(typeof l=="function"){x("m");var z=l.call(R,_.substring(d));return d+=z.length,z}return M("m")},w=function(z,Y,H,G){for(var W=x(z,G)?H:Y,V=0;V-1){b=1,m=C;for(var B=this.daysInMonth(u,b);m>B;B=this.daysInMonth(u,b))b++,m-=B}return v>-1?this.fromJD(v):this.newDate(u,b,m)},determineDate:function(o,_,T,p,y){T&&typeof T!="object"&&(y=p,p=T,T=null),typeof p!="string"&&(y=p,p="");var a=this,n=function(l){try{return a.parseDate(p,l,y)}catch{}l=l.toLowerCase();for(var s=(l.match(/^c/)&&T?T.newDate():null)||a.today(),h=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,v=h.exec(l);v;)s.add(parseInt(v[1],10),v[2]||"d"),v=h.exec(l);return s};return _=_?_.newDate():null,o=o==null?_:typeof o=="string"?n(o):typeof o=="number"?isNaN(o)||o===1/0||o===-1/0?_:a.today().add(o,"d"):a.newDate(o),o}})},21576:function(){},19768:function(){},63436:function(k,D,r){var c=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],A=typeof globalThis>"u"?r.g:globalThis;k.exports=function(){for(var _=[],T=0;T>8&15|Ie>>4&240,Ie>>4&15|Ie&240,(Ie&15)<<4|Ie&15,1):Ge===8?N(Ie>>24&255,Ie>>16&255,Ie>>8&255,(Ie&255)/255):Ge===4?N(Ie>>12&15|Ie>>8&240,Ie>>8&15|Ie>>4&240,Ie>>4&15|Ie&240,((Ie&15)<<4|Ie&15)/255):null):(Ie=l.exec(Ee))?new I(Ie[1],Ie[2],Ie[3],1):(Ie=s.exec(Ee))?new I(Ie[1]*255/100,Ie[2]*255/100,Ie[3]*255/100,1):(Ie=h.exec(Ee))?N(Ie[1],Ie[2],Ie[3],Ie[4]):(Ie=v.exec(Ee))?N(Ie[1]*255/100,Ie[2]*255/100,Ie[3]*255/100,Ie[4]):(Ie=u.exec(Ee))?H(Ie[1],Ie[2]/100,Ie[3]/100,1):(Ie=b.exec(Ee))?H(Ie[1],Ie[2]/100,Ie[3]/100,Ie[4]):m.hasOwnProperty(Ee)?R(m[Ee]):Ee==="transparent"?new I(NaN,NaN,NaN,0):null}function R(Ee){return new I(Ee>>16&255,Ee>>8&255,Ee&255,1)}function N(Ee,Ie,Ge,We){return We<=0&&(Ee=Ie=Ge=NaN),new I(Ee,Ie,Ge,We)}function w(Ee){return Ee instanceof o||(Ee=M(Ee)),Ee?(Ee=Ee.rgb(),new I(Ee.r,Ee.g,Ee.b,Ee.opacity)):new I}function P(Ee,Ie,Ge,We){return arguments.length===1?w(Ee):new I(Ee,Ie,Ge,We??1)}function I(Ee,Ie,Ge,We){this.r=+Ee,this.g=+Ie,this.b=+Ge,this.opacity=+We}c(I,P,A(o,{brighter:function(Ie){return Ie=Ie==null?T:Math.pow(T,Ie),new I(this.r*Ie,this.g*Ie,this.b*Ie,this.opacity)},darker:function(Ie){return Ie=Ie==null?_:Math.pow(_,Ie),new I(this.r*Ie,this.g*Ie,this.b*Ie,this.opacity)},rgb:function(){return this},clamp:function(){return new I(z(this.r),z(this.g),z(this.b),B(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:d,formatHex:d,formatHex8:L,formatRgb:E,toString:E}));function d(){return"#".concat(Y(this.r)).concat(Y(this.g)).concat(Y(this.b))}function L(){return"#".concat(Y(this.r)).concat(Y(this.g)).concat(Y(this.b)).concat(Y((isNaN(this.opacity)?1:this.opacity)*255))}function E(){var Ee=B(this.opacity);return"".concat(Ee===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(Ee===1?")":", ".concat(Ee,")"))}function B(Ee){return isNaN(Ee)?1:Math.max(0,Math.min(1,Ee))}function z(Ee){return Math.max(0,Math.min(255,Math.round(Ee)||0))}function Y(Ee){return Ee=z(Ee),(Ee<16?"0":"")+Ee.toString(16)}function H(Ee,Ie,Ge,We){return We<=0?Ee=Ie=Ge=NaN:Ge<=0||Ge>=1?Ee=Ie=NaN:Ie<=0&&(Ee=NaN),new V(Ee,Ie,Ge,We)}function G(Ee){if(Ee instanceof V)return new V(Ee.h,Ee.s,Ee.l,Ee.opacity);if(Ee instanceof o||(Ee=M(Ee)),!Ee)return new V;if(Ee instanceof V)return Ee;Ee=Ee.rgb();var Ie=Ee.r/255,Ge=Ee.g/255,We=Ee.b/255,Be=Math.min(Ie,Ge,We),Ve=Math.max(Ie,Ge,We),lt=NaN,pt=Ve-Be,ct=(Ve+Be)/2;return pt?(Ie===Ve?lt=(Ge-We)/pt+(Ge0&&ct<1?0:lt,new V(lt,pt,ct,Ee.opacity)}function W(Ee,Ie,Ge,We){return arguments.length===1?G(Ee):new V(Ee,Ie,Ge,We??1)}function V(Ee,Ie,Ge,We){this.h=+Ee,this.s=+Ie,this.l=+Ge,this.opacity=+We}c(V,W,A(o,{brighter:function(Ie){return Ie=Ie==null?T:Math.pow(T,Ie),new V(this.h,this.s,this.l*Ie,this.opacity)},darker:function(Ie){return Ie=Ie==null?_:Math.pow(_,Ie),new V(this.h,this.s,this.l*Ie,this.opacity)},rgb:function(){var Ie=this.h%360+(this.h<0)*360,Ge=isNaN(Ie)||isNaN(this.s)?0:this.s,We=this.l,Be=We+(We<.5?We:1-We)*Ge,Ve=2*We-Be;return new I(re(Ie>=240?Ie-240:Ie+120,Ve,Be),re(Ie,Ve,Be),re(Ie<120?Ie+240:Ie-120,Ve,Be),this.opacity)},clamp:function(){return new V(j(this.h),$(this.s),$(this.l),B(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var Ie=B(this.opacity);return"".concat(Ie===1?"hsl(":"hsla(").concat(j(this.h),", ").concat($(this.s)*100,"%, ").concat($(this.l)*100,"%").concat(Ie===1?")":", ".concat(Ie,")"))}}));function j(Ee){return Ee=(Ee||0)%360,Ee<0?Ee+360:Ee}function $(Ee){return Math.max(0,Math.min(1,Ee||0))}function re(Ee,Ie,Ge){return(Ee<60?Ie+(Ge-Ie)*Ee/60:Ee<180?Ge:Ee<240?Ie+(Ge-Ie)*(240-Ee)/60:Ie)*255}var ae=function(Ee){return function(){return Ee}};function oe(Ee,Ie){return function(Ge){return Ee+Ge*Ie}}function de(Ee,Ie,Ge){return Ee=Math.pow(Ee,Ge),Ie=Math.pow(Ie,Ge)-Ee,Ge=1/Ge,function(We){return Math.pow(Ee+We*Ie,Ge)}}function te(Ee){return(Ee=+Ee)==1?J:function(Ie,Ge){return Ge-Ie?de(Ie,Ge,Ee):ae(isNaN(Ie)?Ge:Ie)}}function J(Ee,Ie){var Ge=Ie-Ee;return Ge?oe(Ee,Ge):ae(isNaN(Ee)?Ie:Ee)}var ie=function Ee(Ie){var Ge=te(Ie);function We(Be,Ve){var lt=Ge((Be=P(Be)).r,(Ve=P(Ve)).r),pt=Ge(Be.g,Ve.g),ct=Ge(Be.b,Ve.b),nt=J(Be.opacity,Ve.opacity);return function(vt){return Be.r=lt(vt),Be.g=pt(vt),Be.b=ct(vt),Be.opacity=nt(vt),Be+""}}return We.gamma=Ee,We}(1);function Z(Ee,Ie){var Ge=Ie?Ie.length:0,We=Ee?Math.min(Ge,Ee.length):0,Be=new Array(We),Ve=new Array(Ge),lt;for(lt=0;ltGe&&(Ve=Ie.slice(Ge,Ve),pt[lt]?pt[lt]+=Ve:pt[++lt]=Ve),(We=We[0])===(Be=Be[0])?pt[lt]?pt[lt]+=Be:pt[++lt]=Be:(pt[++lt]=null,ct.push({i:lt,x:fe(We,Be)})),Ge=se.lastIndex;return Ge{switch(t.type){case"TOGGLE_CHAT_HISTORY":return{...e,isChatHistoryOpen:!e.isChatHistoryOpen};case"UPDATE_CURRENT_CHAT":return{...e,currentChat:t.payload};case"UPDATE_CHAT_HISTORY_LOADING_STATE":return{...e,chatHistoryLoadingState:t.payload};case"UPDATE_CHAT_HISTORY":if(!e.chatHistory||!e.currentChat)return e;const i=e.chatHistory.findIndex(k=>k.id===t.payload.id);if(i!==-1){const k=[...e.chatHistory];return k[i]=e.currentChat,{...e,chatHistory:k}}else return{...e,chatHistory:[...e.chatHistory,t.payload]};case"UPDATE_CHAT_TITLE":if(!e.chatHistory)return{...e,chatHistory:[]};const S=e.chatHistory.map(k=>{var D;return k.id===t.payload.id?(((D=e.currentChat)==null?void 0:D.id)===t.payload.id&&(e.currentChat.title=t.payload.title),{...k,title:t.payload.title}):k});return{...e,chatHistory:S};case"DELETE_CHAT_ENTRY":if(!e.chatHistory)return{...e,chatHistory:[]};const U=e.chatHistory.filter(k=>k.id!==t.payload);return e.currentChat=null,{...e,chatHistory:U};case"DELETE_CHAT_HISTORY":return{...e,chatHistory:[],filteredChatHistory:[],currentChat:null};case"DELETE_CURRENT_CHAT_MESSAGES":if(!e.currentChat||!e.chatHistory)return e;const K={...e.currentChat,messages:[]};return{...e,currentChat:K};case"FETCH_CHAT_HISTORY":return{...e,chatHistory:t.payload};case"SET_COSMOSDB_STATUS":return{...e,isCosmosDBAvailable:t.payload};case"FETCH_FRONTEND_SETTINGS":return{...e,frontendSettings:t.payload};case"SET_FEEDBACK_STATE":return{...e,feedbackState:{...e.feedbackState,[t.payload.answerId]:t.payload.feedback}};default:return e}},UTe={isChatHistoryOpen:!1,chatHistoryLoadingState:jc.Loading,chatHistory:null,filteredChatHistory:null,currentChat:null,isCosmosDBAvailable:{cosmosDB:!1,status:vc.NotConfigured},frontendSettings:null,feedbackState:{}},m1=$t.createContext(void 0),HTe=({children:e})=>{const[t,i]=$t.useReducer(zTe,UTe);return $t.useEffect(()=>{const S=async(K=0)=>await Oj(K).then(D=>(i(D?{type:"FETCH_CHAT_HISTORY",payload:D}:{type:"FETCH_CHAT_HISTORY",payload:null}),D)).catch(D=>(i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"FETCH_CHAT_HISTORY",payload:null}),console.error("There was an issue fetching your data."),null));(async()=>{i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Loading}),NTe().then(K=>{K!=null&&K.cosmosDB?S().then(k=>{k?(i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Success}),i({type:"SET_COSMOSDB_STATUS",payload:K})):(i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"SET_COSMOSDB_STATUS",payload:{cosmosDB:!1,status:vc.NotWorking}}))}).catch(k=>{i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"SET_COSMOSDB_STATUS",payload:{cosmosDB:!1,status:vc.NotWorking}})}):(i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"SET_COSMOSDB_STATUS",payload:K}))}).catch(K=>{i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"SET_COSMOSDB_STATUS",payload:{cosmosDB:!1,status:vc.NotConfigured}})})})()},[]),$t.useEffect(()=>{(async()=>{PTe().then(U=>{i({type:"FETCH_FRONTEND_SETTINGS",payload:U})}).catch(U=>{console.error("There was an issue fetching your data.")})})()},[]),Wn(m1.Provider,{value:{state:t,dispatch:i},children:e})},GTe=e=>{const t=new Map;for(const i of e){const{filepath:S}=i;let U=1;t.has(S)&&(U=t.get(S)+1),t.set(S,U),i.part_index=U}return e};function VTe(e){let t=e.answer;const i=t.match(/\[(doc\d\d?\d?)]/g),S=4;let U=[],K=0;return i==null||i.forEach(k=>{const D=k.slice(S,k.length-1),r=zp.cloneDeep(e.citations[Number(D)-1]);!U.find(c=>c.id===D)&&r&&(t=t.replaceAll(k,` ^${++K}^ `),r.id=D,r.reindex_id=K.toString(),U.push(r))}),U=GTe(U),{citations:U,markdownFormatText:t,plotly_data:e.plotly_data}}const WTe="_answerContainer_1qm4u_1",YTe="_answerText_1qm4u_14",jTe="_answerHeader_1qm4u_31",KTe="_answerFooter_1qm4u_35",XTe="_answerDisclaimerContainer_1qm4u_44",$Te="_answerDisclaimer_1qm4u_44",ZTe="_citationWrapper_1qm4u_64",JTe="_citationContainer_1qm4u_72",QTe="_citation_1qm4u_64",qTe="_accordionIcon_1qm4u_122",eEe="_accordionTitle_1qm4u_137",tEe="_clickableSup_1qm4u_153",Uf={answerContainer:WTe,answerText:YTe,answerHeader:jTe,answerFooter:KTe,answerDisclaimerContainer:XTe,answerDisclaimer:$Te,citationWrapper:ZTe,citationContainer:JTe,citation:QTe,accordionIcon:qTe,accordionTitle:eEe,clickableSup:tEe},aU=({answer:e,onCitationClicked:t,onExectResultClicked:i})=>{var N,w,P,I;const S=d=>{if(d.message_id!=null&&d.feedback!=null)return d.feedback.split(",").length>1?To.Negative:Object.values(To).includes(d.feedback)?d.feedback:To.Neutral},[U,{toggle:K}]=z2(!1),k=50,D=$t.useMemo(()=>VTe(e),[e]),[r,c]=$t.useState(U),[A,o]=$t.useState(S(e)),[_,T]=$t.useState(!1),[p,y]=$t.useState(!1),[a,n]=$t.useState([]),l=$t.useContext(m1),s=((N=l==null?void 0:l.state.frontendSettings)==null?void 0:N.feedback_enabled)&&((w=l==null?void 0:l.state.isCosmosDBAvailable)==null?void 0:w.cosmosDB),h=(P=l==null?void 0:l.state.frontendSettings)==null?void 0:P.sanitize_answer,v=()=>{c(!r),K()};$t.useEffect(()=>{c(U)},[U]),$t.useEffect(()=>{if(e.message_id==null)return;let d;l!=null&&l.state.feedbackState&&(l!=null&&l.state.feedbackState[e.message_id])?d=l==null?void 0:l.state.feedbackState[e.message_id]:d=S(e),o(d)},[l==null?void 0:l.state.feedbackState,A,e.message_id]);const u=(d,L,E=!1)=>{let B="";if(d.filepath){const z=d.part_index??(d.chunk_id?parseInt(d.chunk_id)+1:"");if(E&&d.filepath.length>k){const Y=d.filepath.length;B=`${d.filepath.substring(0,20)}...${d.filepath.substring(Y-20)} - Part ${z}`}else B=`${d.filepath} - Part ${z}`}else d.filepath&&d.reindex_id?B=`${d.filepath} - Part ${d.reindex_id}`:B=`Citation ${L}`;return B},b=async()=>{if(e.message_id==null)return;let d=A;A==To.Positive?d=To.Neutral:d=To.Positive,l==null||l.dispatch({type:"SET_FEEDBACK_STATE",payload:{answerId:e.message_id,feedback:d}}),o(d),await q6(e.message_id,d)},m=async()=>{if(e.message_id==null)return;let d=A;A===void 0||A===To.Neutral||A===To.Positive?(d=To.Negative,o(d),T(!0)):(d=To.Neutral,o(d),await q6(e.message_id,To.Neutral)),l==null||l.dispatch({type:"SET_FEEDBACK_STATE",payload:{answerId:e.message_id,feedback:d}})},C=(d,L)=>{var z;if(e.message_id==null)return;const E=(z=d==null?void 0:d.target)==null?void 0:z.id;let B=a.slice();L?B.push(E):B=B.filter(Y=>Y!==E),n(B)},g=async()=>{e.message_id!=null&&(await q6(e.message_id,a.join(",")),f())},f=()=>{T(!1),y(!1),n([])},x=()=>Ei(Nd,{children:[Wn("div",{children:"Why wasn't this response helpful?"}),Ei(wi,{tokens:{childrenGap:4},children:[Wn(Vv,{label:"Citations are missing",id:To.MissingCitation,defaultChecked:a.includes(To.MissingCitation),onChange:C}),Wn(Vv,{label:"Citations are wrong",id:To.WrongCitation,defaultChecked:a.includes(To.WrongCitation),onChange:C}),Wn(Vv,{label:"The response is not from my data",id:To.OutOfScope,defaultChecked:a.includes(To.OutOfScope),onChange:C}),Wn(Vv,{label:"Inaccurate or irrelevant",id:To.InaccurateOrIrrelevant,defaultChecked:a.includes(To.InaccurateOrIrrelevant),onChange:C}),Wn(Vv,{label:"Other",id:To.OtherUnhelpful,defaultChecked:a.includes(To.OtherUnhelpful),onChange:C})]}),Wn("div",{onClick:()=>y(!0),style:{color:"#115EA3",cursor:"pointer"},children:"Report inappropriate content"})]}),M=()=>Ei(Nd,{children:[Ei("div",{children:["The content is ",Wn("span",{style:{color:"red"},children:"*"})]}),Ei(wi,{tokens:{childrenGap:4},children:[Wn(Vv,{label:"Hate speech, stereotyping, demeaning",id:To.HateSpeech,defaultChecked:a.includes(To.HateSpeech),onChange:C}),Wn(Vv,{label:"Violent: glorification of violence, self-harm",id:To.Violent,defaultChecked:a.includes(To.Violent),onChange:C}),Wn(Vv,{label:"Sexual: explicit content, grooming",id:To.Sexual,defaultChecked:a.includes(To.Sexual),onChange:C}),Wn(Vv,{label:"Manipulative: devious, emotional, pushy, bullying",defaultChecked:a.includes(To.Manipulative),id:To.Manipulative,onChange:C}),Wn(Vv,{label:"Other",id:To.OtherHarmful,defaultChecked:a.includes(To.OtherHarmful),onChange:C})]})]}),R={code({node:d,...L}){let E;if(L.className){const z=L.className.match(/language-(\w+)/);E=z?z[1]:void 0}const B=d.children[0].value??"";return Wn(L9,{style:k9,language:E,PreTag:"div",...L,children:B})}};return Ei(Nd,{children:[Ei(wi,{className:Uf.answerContainer,tabIndex:0,children:[Wn(wi.Item,{children:Ei(wi,{horizontal:!0,grow:!0,children:[Wn(wi.Item,{grow:!0,children:Wn($w,{linkTarget:"_blank",remarkPlugins:[vY,OTe],children:h?QY.sanitize(D.markdownFormatText,{ALLOWED_TAGS:Pj}):D.markdownFormatText,className:Uf.answerText,components:R})}),Wn(wi.Item,{className:Uf.answerHeader,children:s&&e.message_id!==void 0&&Ei(wi,{horizontal:!0,horizontalAlign:"space-between",children:[Wn(Vae,{"aria-hidden":"false","aria-label":"Like this response",onClick:()=>b(),style:A===To.Positive||(l==null?void 0:l.state.feedbackState[e.message_id])===To.Positive?{color:"darkgreen",cursor:"pointer"}:{color:"slategray",cursor:"pointer"}}),Wn(Hae,{"aria-hidden":"false","aria-label":"Dislike this response",onClick:()=>m(),style:A!==To.Positive&&A!==To.Neutral&&A!==void 0?{color:"darkred",cursor:"pointer"}:{color:"slategray",cursor:"pointer"}})]})})]})}),D.plotly_data!==null&&Wn(wi,{className:Uf.answerContainer,children:Wn(wi.Item,{grow:!0,children:Wn(BTe,{data:D.plotly_data.data,layout:D.plotly_data.layout})})}),Ei(wi,{horizontal:!0,className:Uf.answerFooter,children:[!!D.citations.length&&Wn(wi.Item,{onKeyDown:d=>d.key==="Enter"||d.key===" "?K():null,children:Wn(wi,{style:{width:"100%"},children:Ei(wi,{horizontal:!0,horizontalAlign:"start",verticalAlign:"center",children:[Wn(Vp,{className:Uf.accordionTitle,onClick:K,"aria-label":"Open references",tabIndex:0,role:"button",children:Wn("span",{children:D.citations.length>1?D.citations.length+" references":"1 reference"})}),Wn(T2,{className:Uf.accordionIcon,onClick:v,iconName:r?"ChevronDown":"ChevronRight"})]})})}),Wn(wi.Item,{className:Uf.answerDisclaimerContainer,children:Wn("span",{className:Uf.answerDisclaimer,children:"AI-generated content may be incorrect"})}),!!((I=e.exec_results)!=null&&I.length)&&Wn(wi.Item,{onKeyDown:d=>d.key==="Enter"||d.key===" "?K():null,children:Wn(wi,{style:{width:"100%"},children:Ei(wi,{horizontal:!0,horizontalAlign:"start",verticalAlign:"center",children:[Wn(Vp,{className:Uf.accordionTitle,onClick:()=>i(),"aria-label":"Open Intents",tabIndex:0,role:"button",children:Wn("span",{children:"Show Intents"})}),Wn(T2,{className:Uf.accordionIcon,onClick:v,iconName:"ChevronRight"})]})})})]}),r&&Wn("div",{className:Uf.citationWrapper,children:D.citations.map((d,L)=>Ei("span",{title:u(d,++L),tabIndex:0,role:"link",onClick:()=>t(d),onKeyDown:E=>E.key==="Enter"||E.key===" "?t(d):null,className:Uf.citationContainer,"aria-label":u(d,L),children:[Wn("div",{className:Uf.citation,children:L}),u(d,L,!0)]},L))})]}),Wn(cy,{onDismiss:()=>{f(),o(To.Neutral)},hidden:!_,styles:{main:[{selectors:{["@media (min-width: 480px)"]:{maxWidth:"600px",background:"#FFFFFF",boxShadow:"0px 14px 28.8px rgba(0, 0, 0, 0.24), 0px 0px 8px rgba(0, 0, 0, 0.2)",borderRadius:"8px",maxHeight:"600px",minHeight:"100px"}}}]},dialogContentProps:{title:"Submit Feedback",showCloseButton:!0},children:Ei(wi,{tokens:{childrenGap:4},children:[Wn("div",{children:"Your feedback will improve this experience."}),p?Wn(M,{}):Wn(x,{}),Wn("div",{children:"By pressing submit, your feedback will be visible to the application owner."}),Wn(H2,{disabled:a.length<1,onClick:g,children:"Submit"})]})})]})},rEe="/assets/Send-d0601aaa.svg",nEe="_questionInputContainer_185lc_1",aEe="_questionInputTextArea_185lc_15",iEe="_questionInputSendButtonContainer_185lc_24",oEe="_questionInputSendButton_185lc_24",sEe="_questionInputSendButtonDisabled_185lc_35",lEe="_questionInputBottomBorder_185lc_43",uEe="_questionInputOptionsButton_185lc_54",um={questionInputContainer:nEe,questionInputTextArea:aEe,questionInputSendButtonContainer:iEe,questionInputSendButton:oEe,questionInputSendButtonDisabled:sEe,questionInputBottomBorder:lEe,questionInputOptionsButton:uEe},cEe=({onSend:e,disabled:t,placeholder:i,clearOnSend:S,conversationId:U})=>{const[K,k]=$t.useState(""),D=()=>{t||!K.trim()||(U?e(K,U):e(K),S&&k(""))},r=o=>{var _;o.key==="Enter"&&!o.shiftKey&&((_=o.nativeEvent)==null?void 0:_.isComposing)!==!0&&(o.preventDefault(),D())},c=(o,_)=>{k(_||"")},A=t||!K.trim();return Ei(wi,{horizontal:!0,className:um.questionInputContainer,children:[Wn(JR,{className:um.questionInputTextArea,placeholder:i,multiline:!0,resizable:!1,borderless:!0,value:K,onChange:c,onKeyDown:r}),Wn("div",{className:um.questionInputSendButtonContainer,role:"button",tabIndex:0,"aria-label":"Ask question button",onClick:D,onKeyDown:o=>o.key==="Enter"||o.key===" "?D():null,children:A?Wn(Pae,{className:um.questionInputSendButtonDisabled}):Wn("img",{src:rEe,className:um.questionInputSendButton,alt:"Send Button"})}),Wn("div",{className:um.questionInputBottomBorder})]})},fEe="_container_1epg5_1",dEe="_listContainer_1epg5_6",hEe="_itemCell_1epg5_11",vEe="_itemButton_1epg5_28",pEe="_chatGroup_1epg5_45",gEe="_spinnerContainer_1epg5_50",mEe="_chatList_1epg5_57",yEe="_chatMonth_1epg5_61",xEe="_chatTitle_1epg5_68",mh={container:fEe,listContainer:dEe,itemCell:hEe,itemButton:vEe,chatGroup:pEe,spinnerContainer:gEe,chatList:mEe,chatMonth:yEe,chatTitle:xEe},bEe=e=>{const i=new Date().getFullYear(),[S,U]=e.split(" ");return parseInt(U)===i?S:e},TEe=({item:e,onSelect:t})=>{var N,w,P;const[i,S]=$t.useState(!1),[U,K]=$t.useState(!1),[k,D]=$t.useState(""),[r,{toggle:c}]=z2(!0),[A,o]=$t.useState(!1),[_,T]=$t.useState(!1),[p,y]=$t.useState(void 0),[a,n]=$t.useState(!1),l=$t.useRef(null),s=$t.useContext(m1),h=(e==null?void 0:e.id)===((N=s==null?void 0:s.state.currentChat)==null?void 0:N.id),v={type:rp.close,title:"Are you sure you want to delete this item?",closeButtonAriaLabel:"Close",subText:"The history of this chat session will permanently removed."},u={titleAriaId:"labelId",subtitleAriaId:"subTextId",isBlocking:!0,styles:{main:{maxWidth:450}}};if(!e)return null;$t.useEffect(()=>{a&&l.current&&(l.current.focus(),n(!1))},[a]),$t.useEffect(()=>{var I;((I=s==null?void 0:s.state.currentChat)==null?void 0:I.id)!==(e==null?void 0:e.id)&&(K(!1),D(""))},[(w=s==null?void 0:s.state.currentChat)==null?void 0:w.id,e==null?void 0:e.id]);const b=async()=>{(await ITe(e.id)).ok?s==null||s.dispatch({type:"DELETE_CHAT_ENTRY",payload:e.id}):(o(!0),setTimeout(()=>{o(!1)},5e3)),c()},m=()=>{K(!0),n(!0),D(e==null?void 0:e.title)},C=()=>{t(e),s==null||s.dispatch({type:"UPDATE_CURRENT_CHAT",payload:e})},g=((P=e==null?void 0:e.title)==null?void 0:P.length)>28?`${e.title.substring(0,28)} ...`:e.title,f=async I=>{if(I.preventDefault(),p||_)return;if(k==e.title){y("Error: Enter a new title to proceed."),setTimeout(()=>{y(void 0),n(!0),l.current&&l.current.focus()},5e3);return}T(!0),(await DTe(e.id,k)).ok?(T(!1),K(!1),s==null||s.dispatch({type:"UPDATE_CHAT_TITLE",payload:{...e,title:k}}),D("")):(y("Error: could not rename item"),setTimeout(()=>{n(!0),y(void 0),l.current&&l.current.focus()},5e3))},x=I=>{D(I.target.value)},M=()=>{K(!1),D("")},R=I=>{if(I.key==="Enter")return f(I);if(I.key==="Escape"){M();return}};return Ei(wi,{tabIndex:0,"aria-label":"chat history item",className:mh.itemCell,onClick:()=>C(),onKeyDown:I=>I.key==="Enter"||I.key===" "?C():null,verticalAlign:"center",onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),styles:{root:{backgroundColor:h?"#e6e6e6":"transparent"}},children:[U?Wn(Nd,{children:Wn(wi.Item,{style:{width:"100%"},children:Ei("form",{"aria-label":"edit title form",onSubmit:I=>f(I),style:{padding:"5px 0px"},children:[Ei(wi,{horizontal:!0,verticalAlign:"start",children:[Wn(wi.Item,{children:Wn(JR,{componentRef:l,autoFocus:a,value:k,placeholder:e.title,onChange:x,onKeyDown:R,disabled:!!p})}),k&&Wn(wi.Item,{children:Ei(wi,{"aria-label":"action button group",horizontal:!0,verticalAlign:"center",children:[Wn($0,{role:"button",disabled:p!==void 0,onKeyDown:I=>I.key===" "||I.key==="Enter"?f(I):null,onClick:I=>f(I),"aria-label":"confirm new title",iconProps:{iconName:"CheckMark"},styles:{root:{color:"green",marginLeft:"5px"}}}),Wn($0,{role:"button",disabled:p!==void 0,onKeyDown:I=>I.key===" "||I.key==="Enter"?M():null,onClick:()=>M(),"aria-label":"cancel edit title",iconProps:{iconName:"Cancel"},styles:{root:{color:"red",marginLeft:"5px"}}})]})})]}),p&&Wn(Vp,{role:"alert","aria-label":p,style:{fontSize:12,fontWeight:400,color:"rgb(164,38,44)"},children:p})]})})}):Wn(Nd,{children:Ei(wi,{horizontal:!0,verticalAlign:"center",style:{width:"100%"},children:[Wn("div",{className:mh.chatTitle,children:g}),(h||i)&&Ei(wi,{horizontal:!0,horizontalAlign:"end",children:[Wn($0,{className:mh.itemButton,iconProps:{iconName:"Delete"},title:"Delete",onClick:c,onKeyDown:I=>I.key===" "?c():null}),Wn($0,{className:mh.itemButton,iconProps:{iconName:"Edit"},title:"Edit",onClick:m,onKeyDown:I=>I.key===" "?m():null})]})]})}),A&&Wn(Vp,{styles:{root:{color:"red",marginTop:5,fontSize:14}},children:"Error: could not delete item"}),Wn(cy,{hidden:r,onDismiss:c,dialogContentProps:v,modalProps:u,children:Ei(QR,{children:[Wn(YV,{onClick:b,text:"Delete"}),Wn(H2,{onClick:c,text:"Cancel"})]})})]},e.id)},EEe=({groupedChatHistory:e})=>{const t=$t.useContext(m1),i=$t.useRef(null),[,S]=$t.useState(null),[U,K]=$t.useState(25),[k,D]=$t.useState(0),[r,c]=$t.useState(!1),A=$t.useRef(!0),o=p=>{p&&S(p)},_=p=>Wn(TEe,{item:p,onSelect:()=>o(p)});$t.useEffect(()=>{if(A.current){A.current=!1;return}T(),K(p=>p+=25)},[k]);const T=async()=>{const p=t==null?void 0:t.state.chatHistory;c(!0),await Oj(U).then(y=>{const a=p&&y&&p.concat(...y);return y?t==null||t.dispatch({type:"FETCH_CHAT_HISTORY",payload:a||y}):t==null||t.dispatch({type:"FETCH_CHAT_HISTORY",payload:null}),c(!1),y})};return $t.useEffect(()=>{const p=new IntersectionObserver(y=>{y[0].isIntersecting&&D(a=>a+=1)},{threshold:1});return i.current&&p.observe(i.current),()=>{i.current&&p.unobserve(i.current)}},[i]),Ei("div",{className:mh.listContainer,"data-is-scrollable":!0,children:[e.map(p=>p.entries.length>0&&Ei(wi,{horizontalAlign:"start",verticalAlign:"center",className:mh.chatGroup,"aria-label":`chat history group: ${p.month}`,children:[Wn(wi,{"aria-label":p.month,className:mh.chatMonth,children:bEe(p.month)}),Wn(Ore,{"aria-label":"chat history list",items:p.entries,onRenderCell:_,className:mh.chatList}),Wn("div",{ref:i}),Wn(QV,{styles:{root:{width:"100%",position:"relative","::before":{backgroundColor:"#d6d6d6"}}}})]},p.month)),r&&Wn("div",{className:mh.spinnerContainer,children:Wn(XV,{size:cv.small,"aria-label":"loading more chat history",className:mh.spinner})})]})},wEe=e=>{const t=[{month:"Recent",entries:[]}],i=new Date;return e.forEach(S=>{const U=new Date(S.date),K=(i.getTime()-U.getTime())/(1e3*60*60*24),k=U.toLocaleString("default",{month:"long",year:"numeric"}),D=t.find(r=>r.month===k);K<=7?t[0].entries.push(S):D?D.entries.push(S):t.push({month:k,entries:[S]})}),t.sort((S,U)=>{if(S.entries.length===0&&U.entries.length===0)return 0;if(S.entries.length===0)return 1;if(U.entries.length===0)return-1;const K=new Date(S.entries[0].date);return new Date(U.entries[0].date).getTime()-K.getTime()}),t.forEach(S=>{S.entries.sort((U,K)=>{const k=new Date(U.date);return new Date(K.date).getTime()-k.getTime()})}),t},AEe=()=>{const e=$t.useContext(m1),t=e==null?void 0:e.state.chatHistory;el.useEffect(()=>{},[e==null?void 0:e.state.chatHistory]);let i;if(t&&t.length>0)i=wEe(t);else return Wn(wi,{horizontal:!0,horizontalAlign:"center",verticalAlign:"center",style:{width:"100%",marginTop:10},children:Wn(Y0,{children:Wn(Vp,{style:{alignSelf:"center",fontWeight:"400",fontSize:14},children:Wn("span",{children:"No chat history."})})})});return Wn(EEe,{groupedChatHistory:i})},iU={root:{padding:"0",display:"flex",justifyContent:"center",backgroundColor:"transparent"}},SEe={root:{height:"50px"}};function CEe(e){var l,s,h;const t=$t.useContext(m1),[i,S]=el.useState(!1),[U,{toggle:K}]=z2(!0),[k,D]=el.useState(!1),[r,c]=el.useState(!1),A={type:rp.close,title:r?"Error deleting all of chat history":"Are you sure you want to clear all chat history?",closeButtonAriaLabel:"Close",subText:r?"Please try again. If the problem persists, please contact the site administrator.":"All chat history will be permanently removed."},o={titleAriaId:"labelId",subtitleAriaId:"subTextId",isBlocking:!0,styles:{main:{maxWidth:450}}},_=[{key:"clearAll",text:"Clear all chat history",iconProps:{iconName:"Delete"}}],T=()=>{t==null||t.dispatch({type:"TOGGLE_CHAT_HISTORY"})},p=el.useCallback(v=>{v.preventDefault(),S(!0)},[]),y=el.useCallback(()=>S(!1),[]),a=async()=>{D(!0),(await LTe()).ok?(t==null||t.dispatch({type:"DELETE_CHAT_HISTORY"}),K()):c(!0),D(!1)},n=()=>{K(),setTimeout(()=>{c(!1)},2e3)};return el.useEffect(()=>{},[t==null?void 0:t.state.chatHistory,r]),Ei("section",{className:mh.container,"data-is-scrollable":!0,"aria-label":"chat history panel",children:[Ei(wi,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",wrap:!0,"aria-label":"chat history header",children:[Wn(Y0,{children:Wn(Vp,{role:"heading","aria-level":2,style:{alignSelf:"center",fontWeight:"600",fontSize:"18px",marginRight:"auto",paddingLeft:"20px"},children:"Chat history"})}),Wn(wi,{verticalAlign:"start",children:Ei(wi,{horizontal:!0,styles:SEe,children:[Wn(S2,{iconProps:{iconName:"More"},title:"Clear all chat history",onClick:p,"aria-label":"clear all chat history",styles:iU,role:"button",id:"moreButton"}),Wn(ow,{items:_,hidden:!i,target:"#moreButton",onItemClick:K,onDismiss:y}),Wn(S2,{iconProps:{iconName:"Cancel"},title:"Hide",onClick:T,"aria-label":"hide button",styles:iU,role:"button"})]})})]}),Wn(wi,{"aria-label":"chat history panel content",styles:{root:{display:"flex",flexGrow:1,flexDirection:"column",paddingTop:"2.5px",maxWidth:"100%"}},style:{display:"flex",flexGrow:1,flexDirection:"column",flexWrap:"wrap",padding:"1px"},children:Ei(wi,{className:mh.chatHistoryListContainer,children:[(t==null?void 0:t.state.chatHistoryLoadingState)===jc.Success&&(t==null?void 0:t.state.isCosmosDBAvailable.cosmosDB)&&Wn(AEe,{}),(t==null?void 0:t.state.chatHistoryLoadingState)===jc.Fail&&(t==null?void 0:t.state.isCosmosDBAvailable)&&Wn(Nd,{children:Wn(wi,{children:Ei(wi,{horizontalAlign:"center",verticalAlign:"center",style:{width:"100%",marginTop:10},children:[Wn(Y0,{children:Ei(Vp,{style:{alignSelf:"center",fontWeight:"400",fontSize:16},children:[((l=t==null?void 0:t.state.isCosmosDBAvailable)==null?void 0:l.status)&&Wn("span",{children:(s=t==null?void 0:t.state.isCosmosDBAvailable)==null?void 0:s.status}),!((h=t==null?void 0:t.state.isCosmosDBAvailable)!=null&&h.status)&&Wn("span",{children:"Error loading chat history"})]})}),Wn(Y0,{children:Wn(Vp,{style:{alignSelf:"center",fontWeight:"400",fontSize:14},children:Wn("span",{children:"Chat history can't be saved at this time"})})})]})})}),(t==null?void 0:t.state.chatHistoryLoadingState)===jc.Loading&&Wn(Nd,{children:Wn(wi,{children:Ei(wi,{horizontal:!0,horizontalAlign:"center",verticalAlign:"center",style:{width:"100%",marginTop:10},children:[Wn(Y0,{style:{justifyContent:"center",alignItems:"center"},children:Wn(XV,{style:{alignSelf:"flex-start",height:"100%",marginRight:"5px"},size:cv.medium})}),Wn(Y0,{children:Wn(Vp,{style:{alignSelf:"center",fontWeight:"400",fontSize:14},children:Wn("span",{style:{whiteSpace:"pre-wrap"},children:"Loading chat history"})})})]})})})]})}),Wn(cy,{hidden:U,onDismiss:k?()=>{}:n,dialogContentProps:A,modalProps:o,children:Ei(QR,{children:[!r&&Wn(YV,{onClick:a,disabled:k,text:"Clear All"}),Wn(H2,{onClick:n,disabled:k,text:r?"Close":"Cancel"})]})})]})}const _Ee=()=>{var Z,ue,fe,Q,q,ce,se,pe;const e=$t.useContext(m1),t=(Z=e==null?void 0:e.state.frontendSettings)==null?void 0:Z.ui,i=(ue=e==null?void 0:e.state.frontendSettings)==null?void 0:ue.auth_enabled,S=$t.useRef(null),[U,K]=$t.useState(!1),[k,D]=$t.useState(!1),[r,c]=$t.useState(),[A,o]=$t.useState(!1),[_,T]=$t.useState(!1),p=$t.useRef([]),[y,a]=$t.useState(),[n,l]=$t.useState([]),[s,h]=$t.useState([]),[v,u]=$t.useState("Not Running"),[b,m]=$t.useState(!1),[C,{toggle:g}]=z2(!0),[f,x]=$t.useState(),M={type:rp.close,title:f==null?void 0:f.title,closeButtonAriaLabel:"Close",subText:f==null?void 0:f.subtitle},R={titleAriaId:"labelId",subtitleAriaId:"subTextId",isBlocking:!0,styles:{main:{maxWidth:450}}},[N,w,P]=["assistant","tool","error"],I="No content in messages object.";$t.useEffect(()=>{var Te,we;if(((Te=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:Te.status)!==vc.Working&&((we=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:we.status)!==vc.NotConfigured&&(e==null?void 0:e.state.chatHistoryLoadingState)===jc.Fail&&C){let Ae=`${e.state.isCosmosDBAvailable.status}. Please contact the site administrator.`;x({title:"Chat history is not enabled",subtitle:Ae}),g()}},[e==null?void 0:e.state.isCosmosDBAvailable]);const d=()=>{g(),setTimeout(()=>{x(null)},500)};$t.useEffect(()=>{K((e==null?void 0:e.state.chatHistoryLoadingState)===jc.Loading)},[e==null?void 0:e.state.chatHistoryLoadingState]);const L=async()=>{if(!i){a(!1);return}(await _Te()).length===0&&window.location.hostname!=="127.0.0.1"?a(!0):a(!1)};let E={},B={},z="";const Y=(Te,we,Ae)=>{if(Te.content.includes("all_exec_results")){const ke=JSON.parse(Te.content);h(ke.all_exec_results)}Te.role===N&&(z+=Te.content,E=Te,E.content=z,Te.context&&(B={id:kp(),role:w,content:Te.context,date:new Date().toISOString()})),Te.role===w&&(B=Te),Ae?zp.isEmpty(B)?l([...n,E]):l([...n,B,E]):zp.isEmpty(B)?l([...n,we,E]):l([...n,we,B,E])},H=async(Te,we)=>{var Ge,We;K(!0),D(!0);const Ae=new AbortController;p.current.unshift(Ae);const ke={id:kp(),role:"user",content:Te,date:new Date().toISOString()};let Se;if(!we)Se={id:we??kp(),title:Te,messages:[ke],date:new Date().toISOString()};else if(Se=(Ge=e==null?void 0:e.state)==null?void 0:Ge.currentChat,Se)Se.messages.push(ke);else{console.error("Conversation not found."),K(!1),D(!1),p.current=p.current.filter(Be=>Be!==Ae);return}e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:Se}),l(Se.messages);const _e={messages:[...Se.messages.filter(Be=>Be.role!==P)]};let Ee={};try{const Be=await CTe(_e,Ae.signal);if(Be!=null&&Be.body){const Ve=Be.body.getReader();let lt="";for(;;){u("Processing");const{done:pt,value:ct}=await Ve.read();if(pt)break;var Ie=new TextDecoder("utf-8").decode(ct);Ie.split(` + `)+" "+oe[1]:oe[0]+ae+" "+re.join(", ")+" "+oe[1]}D.types=r(41088);function C(re){return Array.isArray(re)}D.isArray=C;function g(re){return typeof re=="boolean"}D.isBoolean=g;function f(re){return re===null}D.isNull=f;function x(re){return re==null}D.isNullOrUndefined=x;function M(re){return typeof re=="number"}D.isNumber=M;function R(re){return typeof re=="string"}D.isString=R;function N(re){return typeof re=="symbol"}D.isSymbol=N;function w(re){return re===void 0}D.isUndefined=w;function P(re){return I(re)&&z(re)==="[object RegExp]"}D.isRegExp=P,D.types.isRegExp=P;function I(re){return typeof re=="object"&&re!==null}D.isObject=I;function d(re){return I(re)&&z(re)==="[object Date]"}D.isDate=d,D.types.isDate=d;function L(re){return I(re)&&(z(re)==="[object Error]"||re instanceof Error)}D.isError=L,D.types.isNativeError=L;function E(re){return typeof re=="function"}D.isFunction=E;function B(re){return re===null||typeof re=="boolean"||typeof re=="number"||typeof re=="string"||typeof re=="symbol"||typeof re>"u"}D.isPrimitive=B,D.isBuffer=r(75272);function z(re){return Object.prototype.toString.call(re)}function Y(re){return re<10?"0"+re.toString(10):re.toString(10)}var H=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function G(){var re=new Date,ae=[Y(re.getHours()),Y(re.getMinutes()),Y(re.getSeconds())].join(":");return[re.getDate(),H[re.getMonth()],ae].join(" ")}D.log=function(){console.log("%s - %s",G(),D.format.apply(D,arguments))},D.inherits=r(6768),D._extend=function(re,ae){if(!ae||!I(ae))return re;for(var oe=Object.keys(ae),de=oe.length;de--;)re[oe[de]]=ae[oe[de]];return re};function W(re,ae){return Object.prototype.hasOwnProperty.call(re,ae)}var V=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;D.promisify=function(ae){if(typeof ae!="function")throw new TypeError('The "original" argument must be of type Function');if(V&&ae[V]){var oe=ae[V];if(typeof oe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(oe,V,{value:oe,enumerable:!1,writable:!1,configurable:!0}),oe}function oe(){for(var de,te,J=new Promise(function(ue,fe){de=ue,te=fe}),ie=[],Z=0;Z"u"?r.g:globalThis,n=A(),l=_("String.prototype.slice"),s=Object.getPrototypeOf,h=_("Array.prototype.indexOf",!0)||function(C,g){for(var f=0;f-1?g:g!=="Object"?!1:b(C)}return T?u(C):null}},67020:function(k,D,r){var c=r(38700),A=r(50896),o=c.instance();function _(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}_.prototype=new c.baseCalendar,A(_.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(v,u){if(typeof v=="string"){var b=v.match(p);return b?b[0]:""}var m=this._validateYear(v),C=v.month(),g=""+this.toChineseMonth(m,C);return u&&g.length<2&&(g="0"+g),this.isIntercalaryMonth(m,C)&&(g+="i"),g},monthNames:function(v){if(typeof v=="string"){var u=v.match(y);return u?u[0]:""}var b=this._validateYear(v),m=v.month(),C=this.toChineseMonth(b,m),g=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][C-1];return this.isIntercalaryMonth(b,m)&&(g="闰"+g),g},monthNamesShort:function(v){if(typeof v=="string"){var u=v.match(a);return u?u[0]:""}var b=this._validateYear(v),m=v.month(),C=this.toChineseMonth(b,m),g=["一","二","三","四","五","六","七","八","九","十","十一","十二"][C-1];return this.isIntercalaryMonth(b,m)&&(g="闰"+g),g},parseMonth:function(v,u){v=this._validateYear(v);var b=parseInt(u),m;if(isNaN(b))u[0]==="闰"&&(m=!0,u=u.substring(1)),u[u.length-1]==="月"&&(u=u.substring(0,u.length-1)),b=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(u);else{var C=u[u.length-1];m=C==="i"||C==="I"}var g=this.toMonthIndex(v,b,m);return g},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(v,u){if(v.year&&(v=v.year()),typeof v!="number"||v<1888||v>2111)throw u.replace(/\{0\}/,this.local.name);return v},toMonthIndex:function(v,u,b){var m=this.intercalaryMonth(v),C=b&&u!==m;if(C||u<1||u>12)throw c.local.invalidMonth.replace(/\{0\}/,this.local.name);var g;return m?!b&&u<=m?g=u-1:g=u:g=u-1,g},toChineseMonth:function(v,u){v.year&&(v=v.year(),u=v.month());var b=this.intercalaryMonth(v),m=b?12:11;if(u<0||u>m)throw c.local.invalidMonth.replace(/\{0\}/,this.local.name);var C;return b?u>13;return b},isIntercalaryMonth:function(v,u){v.year&&(v=v.year(),u=v.month());var b=this.intercalaryMonth(v);return!!b&&b===u},leapYear:function(v){return this.intercalaryMonth(v)!==0},weekOfYear:function(v,u,b){var m=this._validateYear(v,c.local.invalidyear),C=l[m-l[0]],g=C>>9&4095,f=C>>5&15,x=C&31,M;M=o.newDate(g,f,x),M.add(4-(M.dayOfWeek()||7),"d");var R=this.toJD(v,u,b)-M.toJD();return 1+Math.floor(R/7)},monthsInYear:function(v){return this.leapYear(v)?13:12},daysInMonth:function(v,u){v.year&&(u=v.month(),v=v.year()),v=this._validateYear(v);var b=n[v-n[0]],m=b>>13,C=m?12:11;if(u>C)throw c.local.invalidMonth.replace(/\{0\}/,this.local.name);var g=b&1<<12-u?30:29;return g},weekDay:function(v,u,b){return(this.dayOfWeek(v,u,b)||7)<6},toJD:function(v,u,b){var m=this._validate(v,g,b,c.local.invalidDate);v=this._validateYear(m.year()),u=m.month(),b=m.day();var C=this.isIntercalaryMonth(v,u),g=this.toChineseMonth(v,u),f=h(v,g,b,C);return o.toJD(f.year,f.month,f.day)},fromJD:function(v){var u=o.fromJD(v),b=s(u.year(),u.month(),u.day()),m=this.toMonthIndex(b.year,b.month,b.isIntercalary);return this.newDate(b.year,m,b.day)},fromString:function(v){var u=v.match(T),b=this._validateYear(+u[1]),m=+u[2],C=!!u[3],g=this.toMonthIndex(b,m,C),f=+u[4];return this.newDate(b,g,f)},add:function(v,u,b){var m=v.year(),C=v.month(),g=this.isIntercalaryMonth(m,C),f=this.toChineseMonth(m,C),x=Object.getPrototypeOf(_.prototype).add.call(this,v,u,b);if(b==="y"){var M=x.year(),R=x.month(),N=this.isIntercalaryMonth(M,f),w=g&&N?this.toMonthIndex(M,f,!0):this.toMonthIndex(M,f,!1);w!==R&&x.month(w)}return x}});var T=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,p=/^\d?\d[iI]?/m,y=/^闰?十?[一二三四五六七八九]?月/m,a=/^闰?十?[一二三四五六七八九]?/m;c.calendars.chinese=_;var n=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],l=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904];function s(v,u,b,m){var C,g;if(typeof v=="object")C=v,g=u||{};else{var f=typeof v=="number"&&v>=1888&&v<=2111;if(!f)throw new Error("Solar year outside range 1888-2111");var x=typeof u=="number"&&u>=1&&u<=12;if(!x)throw new Error("Solar month outside range 1 - 12");var M=typeof b=="number"&&b>=1&&b<=31;if(!M)throw new Error("Solar day outside range 1 - 31");C={year:v,month:u,day:b},g=m||{}}var R=l[C.year-l[0]],N=C.year<<9|C.month<<5|C.day;g.year=N>=R?C.year:C.year-1,R=l[g.year-l[0]];var w=R>>9&4095,P=R>>5&15,I=R&31,d,L=new Date(w,P-1,I),E=new Date(C.year,C.month-1,C.day);d=Math.round((E-L)/864e5);var B=n[g.year-n[0]],z;for(z=0;z<13;z++){var Y=B&1<<12-z?30:29;if(d>13;return!H||z=1888&&v<=2111;if(!x)throw new Error("Lunar year outside range 1888-2111");var M=typeof u=="number"&&u>=1&&u<=12;if(!M)throw new Error("Lunar month outside range 1 - 12");var R=typeof b=="number"&&b>=1&&b<=30;if(!R)throw new Error("Lunar day outside range 1 - 30");var N;typeof m=="object"?(N=!1,g=m):(N=!!m,g=C||{}),f={year:v,month:u,day:b,isIntercalary:N}}var w;w=f.day-1;var P=n[f.year-n[0]],I=P>>13,d;I&&(f.month>I||f.isIntercalary)?d=f.month:d=f.month-1;for(var L=0;L>9&4095,Y=B>>5&15,H=B&31,G=new Date(z,Y-1,H+w);return g.year=G.getFullYear(),g.month=1+G.getMonth(),g.day=G.getDate(),g}},89792:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Coptic",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(p){var T=this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),p=T.year()+(T.year()<0?1:0);return p%4===3||p%4===-1},monthsInYear:function(_){return this._validate(_,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear),13},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(-y.dayOfWeek(),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInMonth:function(_,T){var p=this._validate(_,T,this.minDay,c.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===13&&this.leapYear(p.year())?1:0)},weekDay:function(_,T,p){return(this.dayOfWeek(_,T,p)||7)<6},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);return _=y.year(),_<0&&_++,y.day()+(y.month()-1)*30+(_-1)*365+Math.floor(_/4)+this.jdEpoch-1},fromJD:function(_){var T=Math.floor(_)+.5-this.jdEpoch,p=Math.floor((T-Math.floor((T+366)/1461))/365)+1;p<=0&&p--,T=Math.floor(_)+.5-this.newDate(p,1,1).toJD();var y=Math.floor(T/30)+1,a=T-(y-1)*30+1;return this.newDate(p,y,a)}}),c.calendars.coptic=o},55668:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Discworld",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(T){return this._validate(T,this.minMonth,this.minDay,c.local.invalidYear),!1},monthsInYear:function(T){return this._validate(T,this.minMonth,this.minDay,c.local.invalidYear),13},daysInYear:function(T){return this._validate(T,this.minMonth,this.minDay,c.local.invalidYear),400},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/8)+1},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);return(a.day()+1)%8},weekDay:function(T,p,y){var a=this.dayOfWeek(T,p,y);return a>=2&&a<=6},extraInfo:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);return{century:_[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);return T=a.year()+(a.year()<0?1:0),p=a.month(),y=a.day(),y+(p>1?16:0)+(p>2?(p-2)*32:0)+(T-1)*400+this.jdEpoch-1},fromJD:function(T){T=Math.floor(T+.5)-Math.floor(this.jdEpoch)-1;var p=Math.floor(T/400)+1;T-=(p-1)*400,T+=T>15?16:0;var y=Math.floor(T/32)+1,a=T-(y-1)*32+1;return this.newDate(p<=0?p-1:p,y,a)}});var _={20:"Fruitbat",21:"Anchovy"};c.calendars.discworld=o},65168:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(p){var T=this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),p=T.year()+(T.year()<0?1:0);return p%4===3||p%4===-1},monthsInYear:function(_){return this._validate(_,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear),13},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(-y.dayOfWeek(),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInMonth:function(_,T){var p=this._validate(_,T,this.minDay,c.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===13&&this.leapYear(p.year())?1:0)},weekDay:function(_,T,p){return(this.dayOfWeek(_,T,p)||7)<6},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);return _=y.year(),_<0&&_++,y.day()+(y.month()-1)*30+(_-1)*365+Math.floor(_/4)+this.jdEpoch-1},fromJD:function(_){var T=Math.floor(_)+.5-this.jdEpoch,p=Math.floor((T-Math.floor((T+366)/1461))/365)+1;p<=0&&p--,T=Math.floor(_)+.5-this.newDate(p,1,1).toJD();var y=Math.floor(T/30)+1,a=T-(y-1)*30+1;return this.newDate(p,y,a)}}),c.calendars.ethiopian=o},2084:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear);return this._leapYear(p.year())},_leapYear:function(T){return T=T<0?T+1:T,_(T*7+1,19)<7},monthsInYear:function(T){return this._validate(T,this.minMonth,this.minDay,c.local.invalidYear),this._leapYear(T.year?T.year():T)?13:12},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear);return T=p.year(),this.toJD(T===-1?1:T+1,7,1)-this.toJD(T,7,1)},daysInMonth:function(T,p){return T.year&&(p=T.month(),T=T.year()),this._validate(T,p,this.minDay,c.local.invalidMonth),p===12&&this.leapYear(T)||p===8&&_(this.daysInYear(T),10)===5?30:p===9&&_(this.daysInYear(T),10)===3?29:this.daysPerMonth[p-1]},weekDay:function(T,p,y){return this.dayOfWeek(T,p,y)!==6},extraInfo:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);T=a.year(),p=a.month(),y=a.day();var n=T<=0?T+1:T,l=this.jdEpoch+this._delay1(n)+this._delay2(n)+y+1;if(p<7){for(var s=7;s<=this.monthsInYear(T);s++)l+=this.daysInMonth(T,s);for(var s=1;s=this.toJD(p===-1?1:p+1,7,1);)p++;for(var y=Tthis.toJD(p,y,this.daysInMonth(p,y));)y++;var a=T-this.toJD(p,y,1)+1;return this.newDate(p,y,a)}});function _(T,p){return T-p*Math.floor(T/p)}c.calendars.hebrew=o},26368:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(_){var T=this._validate(_,this.minMonth,this.minDay,c.local.invalidYear);return(T.year()*11+14)%30<11},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(-y.dayOfWeek(),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInYear:function(_){return this.leapYear(_)?355:354},daysInMonth:function(_,T){var p=this._validate(_,T,this.minDay,c.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===12&&this.leapYear(p.year())?1:0)},weekDay:function(_,T,p){return this.dayOfWeek(_,T,p)!==5},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);return _=y.year(),T=y.month(),p=y.day(),_=_<=0?_+1:_,p+Math.ceil(29.5*(T-1))+(_-1)*354+Math.floor((3+11*_)/30)+this.jdEpoch-1},fromJD:function(_){_=Math.floor(_)+.5;var T=Math.floor((30*(_-this.jdEpoch)+10646)/10631);T=T<=0?T-1:T;var p=Math.min(12,Math.ceil((_-29-this.toJD(T,1,1))/29.5)+1),y=_-this.toJD(T,p,1)+1;return this.newDate(T,p,y)}}),c.calendars.islamic=o},24747:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(p){var T=this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),p=T.year()<0?T.year()+1:T.year();return p%4===0},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(4-(y.dayOfWeek()||7),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInMonth:function(_,T){var p=this._validate(_,T,this.minDay,c.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===2&&this.leapYear(p.year())?1:0)},weekDay:function(_,T,p){return(this.dayOfWeek(_,T,p)||7)<6},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);return _=y.year(),T=y.month(),p=y.day(),_<0&&_++,T<=2&&(_--,T+=12),Math.floor(365.25*(_+4716))+Math.floor(30.6001*(T+1))+p-1524.5},fromJD:function(_){var T=Math.floor(_+.5),p=T+1524,y=Math.floor((p-122.1)/365.25),a=Math.floor(365.25*y),n=Math.floor((p-a)/30.6001),l=n-Math.floor(n<14?1:13),s=y-Math.floor(l>2?4716:4715),h=p-a-Math.floor(30.6001*n);return s<=0&&s--,this.newDate(s,l,h)}}),c.calendars.julian=o},65616:function(k,D,r){var c=r(38700),A=r(50896);function o(p){this.local=this.regionalOptions[p||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(p){return this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),!1},formatYear:function(p){var y=this._validate(p,this.minMonth,this.minDay,c.local.invalidYear);p=y.year();var a=Math.floor(p/400);p=p%400,p+=p<0?400:0;var n=Math.floor(p/20);return a+"."+n+"."+p%20},forYear:function(p){if(p=p.split("."),p.length<3)throw"Invalid Mayan year";for(var y=0,a=0;a19||a>0&&n<0)throw"Invalid Mayan year";y=y*20+n}return y},monthsInYear:function(p){return this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),18},weekOfYear:function(p,y,a){return this._validate(p,y,a,c.local.invalidDate),0},daysInYear:function(p){return this._validate(p,this.minMonth,this.minDay,c.local.invalidYear),360},daysInMonth:function(p,y){return this._validate(p,y,this.minDay,c.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(p,y,a){var n=this._validate(p,y,a,c.local.invalidDate);return n.day()},weekDay:function(p,y,a){return this._validate(p,y,a,c.local.invalidDate),!0},extraInfo:function(p,y,a){var n=this._validate(p,y,a,c.local.invalidDate),l=n.toJD(),s=this._toHaab(l),h=this._toTzolkin(l);return{haabMonthName:this.local.haabMonths[s[0]-1],haabMonth:s[0],haabDay:s[1],tzolkinDayName:this.local.tzolkinMonths[h[0]-1],tzolkinDay:h[0],tzolkinTrecena:h[1]}},_toHaab:function(p){p-=this.jdEpoch;var y=_(p+8+(18-1)*20,365);return[Math.floor(y/20)+1,_(y,20)]},_toTzolkin:function(p){return p-=this.jdEpoch,[T(p+20,20),T(p+4,13)]},toJD:function(p,y,a){var n=this._validate(p,y,a,c.local.invalidDate);return n.day()+n.month()*20+n.year()*360+this.jdEpoch},fromJD:function(p){p=Math.floor(p)+.5-this.jdEpoch;var y=Math.floor(p/360);p=p%360,p+=p<0?360:0;var a=Math.floor(p/20),n=p%20;return this.newDate(y,a,n)}});function _(p,y){return p-y*Math.floor(p/y)}function T(p,y){return _(p-1,y)+1}c.calendars.mayan=o},30632:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar;var _=c.instance("gregorian");A(o.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear||c.regionalOptions[""].invalidYear);return _.leapYear(p.year()+(p.year()<1?1:0)+1469)},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]+(y.month()===12&&this.leapYear(y.year())?1:0)},weekDay:function(T,p,y){return(this.dayOfWeek(T,p,y)||7)<6},toJD:function(n,p,y){var a=this._validate(n,p,y,c.local.invalidMonth),n=a.year();n<0&&n++;for(var l=a.day(),s=1;s=this.toJD(p+1,1,1);)p++;for(var y=T-Math.floor(this.toJD(p,1,1)+.5)+1,a=1;y>this.daysInMonth(p,a);)y-=this.daysInMonth(p,a),a++;return this.newDate(p,a,y)}}),c.calendars.nanakshahi=o},73040:function(k,D,r){var c=r(38700),A=r(50896);function o(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(_){return this.daysInYear(_)!==this.daysPerYear},weekOfYear:function(_,T,p){var y=this.newDate(_,T,p);return y.add(-y.dayOfWeek(),"d"),Math.floor((y.dayOfYear()-1)/7)+1},daysInYear:function(_){var T=this._validate(_,this.minMonth,this.minDay,c.local.invalidYear);if(_=T.year(),typeof this.NEPALI_CALENDAR_DATA[_]>"u")return this.daysPerYear;for(var p=0,y=this.minMonth;y<=12;y++)p+=this.NEPALI_CALENDAR_DATA[_][y];return p},daysInMonth:function(_,T){return _.year&&(T=_.month(),_=_.year()),this._validate(_,T,this.minDay,c.local.invalidMonth),typeof this.NEPALI_CALENDAR_DATA[_]>"u"?this.daysPerMonth[T-1]:this.NEPALI_CALENDAR_DATA[_][T]},weekDay:function(_,T,p){return this.dayOfWeek(_,T,p)!==6},toJD:function(_,T,p){var y=this._validate(_,T,p,c.local.invalidDate);_=y.year(),T=y.month(),p=y.day();var a=c.instance(),n=0,l=T,s=_;this._createMissingCalendarData(_);var h=_-(l>9||l===9&&p>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(T!==9&&(n=p,l--);l!==9;)l<=0&&(l=12,s--),n+=this.NEPALI_CALENDAR_DATA[s][l],l--;return T===9?(n+=p-this.NEPALI_CALENDAR_DATA[s][0],n<0&&(n+=a.daysInYear(h))):n+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(h,1,1).add(n,"d").toJD()},fromJD:function(_){var T=c.instance(),p=T.fromJD(_),y=p.year(),a=p.dayOfYear(),n=y+56;this._createMissingCalendarData(n);for(var l=9,s=this.NEPALI_CALENDAR_DATA[n][0],h=this.NEPALI_CALENDAR_DATA[n][l]-s+1;a>h;)l++,l>12&&(l=1,n++),h+=this.NEPALI_CALENDAR_DATA[n][l];var v=this.NEPALI_CALENDAR_DATA[n][l]-(h-a);return this.newDate(n,l,v)},_createMissingCalendarData:function(_){var T=this.daysPerMonth.slice(0);T.unshift(17);for(var p=_-1;p<_+2;p++)typeof this.NEPALI_CALENDAR_DATA[p]>"u"&&(this.NEPALI_CALENDAR_DATA[p]=T)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),c.calendars.nepali=o},1104:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"Persian",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Chæharshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Chæ","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear);return((p.year()-(p.year()>0?474:473))%2820+474+38)*682%2816<682},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(-((a.dayOfWeek()+1)%7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]+(y.month()===12&&this.leapYear(y.year())?1:0)},weekDay:function(T,p,y){return this.dayOfWeek(T,p,y)!==5},toJD:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate);T=a.year(),p=a.month(),y=a.day();var n=T-(T>=0?474:473),l=474+_(n,2820);return y+(p<=7?(p-1)*31:(p-1)*30+6)+Math.floor((l*682-110)/2816)+(l-1)*365+Math.floor(n/2820)*1029983+this.jdEpoch-1},fromJD:function(T){T=Math.floor(T)+.5;var p=T-this.toJD(475,1,1),y=Math.floor(p/1029983),a=_(p,1029983),n=2820;if(a!==1029982){var l=Math.floor(a/366),s=_(a,366);n=Math.floor((2134*l+2816*s+2815)/1028522)+l+1}var h=n+2820*y+474;h=h<=0?h-1:h;var v=T-this.toJD(h,1,1)+1,u=v<=186?Math.ceil(v/31):Math.ceil((v-6)/30),b=T-this.toJD(h,u,1)+1;return this.newDate(h,u,b)}});function _(T,p){return T-p*Math.floor(T/p)}c.calendars.persian=o,c.calendars.jalali=o},51456:function(k,D,r){var c=r(38700),A=r(50896),o=c.instance();function _(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}_.prototype=new c.baseCalendar,A(_.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(y){var p=this._validate(y,this.minMonth,this.minDay,c.local.invalidYear),y=this._t2gYear(p.year());return o.leapYear(y)},weekOfYear:function(n,p,y){var a=this._validate(n,this.minMonth,this.minDay,c.local.invalidYear),n=this._t2gYear(a.year());return o.weekOfYear(n,a.month(),a.day())},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]+(y.month()===2&&this.leapYear(y.year())?1:0)},weekDay:function(T,p,y){return(this.dayOfWeek(T,p,y)||7)<6},toJD:function(n,p,y){var a=this._validate(n,p,y,c.local.invalidDate),n=this._t2gYear(a.year());return o.toJD(n,a.month(),a.day())},fromJD:function(T){var p=o.fromJD(T),y=this._g2tYear(p.year());return this.newDate(y,p.month(),p.day())},_t2gYear:function(T){return T+this.yearsOffset+(T>=-this.yearsOffset&&T<=-1?1:0)},_g2tYear:function(T){return T-this.yearsOffset-(T>=1&&T<=this.yearsOffset?1:0)}}),c.calendars.taiwan=_},4592:function(k,D,r){var c=r(38700),A=r(50896),o=c.instance();function _(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}_.prototype=new c.baseCalendar,A(_.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(y){var p=this._validate(y,this.minMonth,this.minDay,c.local.invalidYear),y=this._t2gYear(p.year());return o.leapYear(y)},weekOfYear:function(n,p,y){var a=this._validate(n,this.minMonth,this.minDay,c.local.invalidYear),n=this._t2gYear(a.year());return o.weekOfYear(n,a.month(),a.day())},daysInMonth:function(T,p){var y=this._validate(T,p,this.minDay,c.local.invalidMonth);return this.daysPerMonth[y.month()-1]+(y.month()===2&&this.leapYear(y.year())?1:0)},weekDay:function(T,p,y){return(this.dayOfWeek(T,p,y)||7)<6},toJD:function(n,p,y){var a=this._validate(n,p,y,c.local.invalidDate),n=this._t2gYear(a.year());return o.toJD(n,a.month(),a.day())},fromJD:function(T){var p=o.fromJD(T),y=this._g2tYear(p.year());return this.newDate(y,p.month(),p.day())},_t2gYear:function(T){return T-this.yearsOffset-(T>=1&&T<=this.yearsOffset?1:0)},_g2tYear:function(T){return T+this.yearsOffset+(T>=-this.yearsOffset&&T<=-1?1:0)}}),c.calendars.thai=_},45348:function(k,D,r){var c=r(38700),A=r(50896);function o(T){this.local=this.regionalOptions[T||""]||this.regionalOptions[""]}o.prototype=new c.baseCalendar,A(o.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(T){var p=this._validate(T,this.minMonth,this.minDay,c.local.invalidYear);return this.daysInYear(p.year())===355},weekOfYear:function(T,p,y){var a=this.newDate(T,p,y);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(T){for(var p=0,y=1;y<=12;y++)p+=this.daysInMonth(T,y);return p},daysInMonth:function(T,p){for(var y=this._validate(T,p,this.minDay,c.local.invalidMonth),a=y.toJD()-24e5+.5,n=0,l=0;l<_.length;l++){if(_[l]>a)return _[n]-_[n-1];n++}return 30},weekDay:function(T,p,y){return this.dayOfWeek(T,p,y)!==5},toJD:function(T,p,y){var a=this._validate(T,p,y,c.local.invalidDate),n=12*(a.year()-1)+a.month()-15292,l=a.day()+_[n-1]-1;return l+24e5-.5},fromJD:function(T){for(var p=T-24e5+.5,y=0,a=0;a<_.length&&!(_[a]>p);a++)y++;var n=y+15292,l=Math.floor((n-1)/12),s=l+1,h=n-12*l,v=p-_[y-1]+1;return this.newDate(s,h,v)},isValid:function(T,p,y){var a=c.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(T=T.year!=null?T.year:T,a=T>=1276&&T<=1500),a},_validate:function(T,p,y,a){var n=c.baseCalendar.prototype._validate.apply(this,arguments);if(n.year<1276||n.year>1500)throw a.replace(/\{0\}/,this.local.name);return n}}),c.calendars.ummalqura=o;var _=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},38700:function(k,D,r){var c=r(50896);function A(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}c(A.prototype,{instance:function(a,n){a=(a||"gregorian").toLowerCase(),n=n||"";var l=this._localCals[a+"-"+n];if(!l&&this.calendars[a]&&(l=new this.calendars[a](n),this._localCals[a+"-"+n]=l),!l)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return l},newDate:function(a,n,l,s,h){return s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,h):s)||this.instance(),s.newDate(a,n,l)},substituteDigits:function(a){return function(n){return(n+"").replace(/[0-9]/g,function(l){return a[l]})}},substituteChineseDigits:function(a,n){return function(l){for(var s="",h=0;l>0;){var v=l%10;s=(v===0?"":a[v]+n[h])+s,h++,l=Math.floor(l/10)}return s.indexOf(a[1]+n[1])===0&&(s=s.substr(1)),s||a[0]}}});function o(a,n,l,s){if(this._calendar=a,this._year=n,this._month=l,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(y.local.invalidDate||y.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function _(a,n){return a=""+a,"000000".substring(0,n-a.length)+a}c(o.prototype,{newDate:function(a,n,l){return this._calendar.newDate(a??this,n,l)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,n,l){if(!this._calendar.isValid(a,n,l))throw(y.local.invalidDate||y.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=n,this._day=l,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,n){return this._calendar.add(this,a,n)},set:function(a,n){return this._calendar.set(this,a,n)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(y.local.differentCalendars||y.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var n=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return n===0?0:n<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+_(Math.abs(this.year()),4)+"-"+_(this.month(),2)+"-"+_(this.day(),2)}});function T(){this.shortYearCutoff="+10"}c(T.prototype,{_validateLevel:0,newDate:function(a,n,l){return a==null?this.today():(a.year&&(this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate),l=a.day(),n=a.month(),a=a.year()),new o(this,a,n,l))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){var n=this._validate(a,this.minMonth,this.minDay,y.local.invalidYear||y.regionalOptions[""].invalidYear);return n.year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var n=this._validate(a,this.minMonth,this.minDay,y.local.invalidYear||y.regionalOptions[""].invalidYear);return(n.year()<0?"-":"")+_(Math.abs(n.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,y.local.invalidYear||y.regionalOptions[""].invalidYear),12},monthOfYear:function(a,n){var l=this._validate(a,n,this.minDay,y.local.invalidMonth||y.regionalOptions[""].invalidMonth);return(l.month()+this.monthsInYear(l)-this.firstMonth)%this.monthsInYear(l)+this.minMonth},fromMonthOfYear:function(a,n){var l=(n+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,l,this.minDay,y.local.invalidMonth||y.regionalOptions[""].invalidMonth),l},daysInYear:function(a){var n=this._validate(a,this.minMonth,this.minDay,y.local.invalidYear||y.regionalOptions[""].invalidYear);return this.leapYear(n)?366:365},dayOfYear:function(a,n,l){var s=this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,n,l){var s=this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,n,l){return this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate),{}},add:function(a,n,l){return this._validate(a,this.minMonth,this.minDay,y.local.invalidDate||y.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,n,l),n,l)},_add:function(a,n,l){if(this._validateLevel++,l==="d"||l==="w"){var s=a.toJD()+n*(l==="w"?this.daysInWeek():1),h=a.calendar().fromJD(s);return this._validateLevel--,[h.year(),h.month(),h.day()]}try{var v=a.year()+(l==="y"?n:0),u=a.monthOfYear()+(l==="m"?n:0),h=a.day(),b=function(g){for(;uf-1+g.minMonth;)v++,u-=f,f=g.monthsInYear(v)};l==="y"?(a.month()!==this.fromMonthOfYear(v,u)&&(u=this.newDate(v,a.month(),this.minDay).monthOfYear()),u=Math.min(u,this.monthsInYear(v)),h=Math.min(h,this.daysInMonth(v,this.fromMonthOfYear(v,u)))):l==="m"&&(b(this),h=Math.min(h,this.daysInMonth(v,this.fromMonthOfYear(v,u))));var m=[v,this.fromMonthOfYear(v,u),h];return this._validateLevel--,m}catch(C){throw this._validateLevel--,C}},_correctAdd:function(a,n,l,s){if(!this.hasYearZero&&(s==="y"||s==="m")&&(n[0]===0||a.year()>0!=n[0]>0)){var h={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],v=l<0?-1:1;n=this._add(a,l*h[0]+v*h[1],h[2])}return a.date(n[0],n[1],n[2])},set:function(a,n,l){this._validate(a,this.minMonth,this.minDay,y.local.invalidDate||y.regionalOptions[""].invalidDate);var s=l==="y"?n:a.year(),h=l==="m"?n:a.month(),v=l==="d"?n:a.day();return(l==="y"||l==="m")&&(v=Math.min(v,this.daysInMonth(s,h))),a.date(s,h,v)},isValid:function(a,n,l){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var h=this.newDate(a,n,this.minDay);s=n>=this.minMonth&&n-this.minMonth=this.minDay&&l-this.minDay13.5?13:1),C=h-(m>2.5?4716:4715);return C<=0&&C--,this.newDate(C,m,b)},toJSDate:function(a,n,l){var s=this._validate(a,n,l,y.local.invalidDate||y.regionalOptions[""].invalidDate),h=new Date(s.year(),s.month()-1,s.day());return h.setHours(0),h.setMinutes(0),h.setSeconds(0),h.setMilliseconds(0),h.setHours(h.getHours()>12?h.getHours()+2:0),h},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var y=k.exports=new A;y.cdate=o,y.baseCalendar=T,y.calendars.gregorian=p},15168:function(k,D,r){var c=r(50896),A=r(38700);c(A.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),A.local=A.regionalOptions[""],c(A.cdate.prototype,{formatDate:function(o,_){return typeof o!="string"&&(_=o,o=""),this._calendar.formatDate(o||"",this,_)}}),c(A.baseCalendar.prototype,{UNIX_EPOCH:A.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:A.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(o,_,T){if(typeof o!="string"&&(T=_,_=o,o=""),!_)return"";if(_.calendar()!==this)throw A.local.invalidFormat||A.regionalOptions[""].invalidFormat;o=o||this.local.dateFormat,T=T||{};var p=T.dayNamesShort||this.local.dayNamesShort,y=T.dayNames||this.local.dayNames,a=T.monthNumbers||this.local.monthNumbers,n=T.monthNamesShort||this.local.monthNamesShort,l=T.monthNames||this.local.monthNames;T.calculateWeek||this.local.calculateWeek;for(var s=function(R,N){for(var w=1;M+w1},h=function(R,N,w,P){var I=""+N;if(s(R,P))for(;I.length1},M=function(z,Y){var H=x(z,Y),G=[2,3,H?4:2,H?4:2,10,11,20]["oyYJ@!".indexOf(z)+1],W=new RegExp("^-?\\d{1,"+G+"}"),V=_.substring(d).match(W);if(!V)throw(A.local.missingNumberAt||A.regionalOptions[""].missingNumberAt).replace(/\{0\}/,d);return d+=V[0].length,parseInt(V[0],10)},R=this,N=function(){if(typeof l=="function"){x("m");var z=l.call(R,_.substring(d));return d+=z.length,z}return M("m")},w=function(z,Y,H,G){for(var W=x(z,G)?H:Y,V=0;V-1){b=1,m=C;for(var B=this.daysInMonth(u,b);m>B;B=this.daysInMonth(u,b))b++,m-=B}return v>-1?this.fromJD(v):this.newDate(u,b,m)},determineDate:function(o,_,T,p,y){T&&typeof T!="object"&&(y=p,p=T,T=null),typeof p!="string"&&(y=p,p="");var a=this,n=function(l){try{return a.parseDate(p,l,y)}catch{}l=l.toLowerCase();for(var s=(l.match(/^c/)&&T?T.newDate():null)||a.today(),h=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,v=h.exec(l);v;)s.add(parseInt(v[1],10),v[2]||"d"),v=h.exec(l);return s};return _=_?_.newDate():null,o=o==null?_:typeof o=="string"?n(o):typeof o=="number"?isNaN(o)||o===1/0||o===-1/0?_:a.today().add(o,"d"):a.newDate(o),o}})},21576:function(){},19768:function(){},63436:function(k,D,r){var c=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],A=typeof globalThis>"u"?r.g:globalThis;k.exports=function(){for(var _=[],T=0;T>8&15|Ie>>4&240,Ie>>4&15|Ie&240,(Ie&15)<<4|Ie&15,1):Ge===8?N(Ie>>24&255,Ie>>16&255,Ie>>8&255,(Ie&255)/255):Ge===4?N(Ie>>12&15|Ie>>8&240,Ie>>8&15|Ie>>4&240,Ie>>4&15|Ie&240,((Ie&15)<<4|Ie&15)/255):null):(Ie=l.exec(Ee))?new I(Ie[1],Ie[2],Ie[3],1):(Ie=s.exec(Ee))?new I(Ie[1]*255/100,Ie[2]*255/100,Ie[3]*255/100,1):(Ie=h.exec(Ee))?N(Ie[1],Ie[2],Ie[3],Ie[4]):(Ie=v.exec(Ee))?N(Ie[1]*255/100,Ie[2]*255/100,Ie[3]*255/100,Ie[4]):(Ie=u.exec(Ee))?H(Ie[1],Ie[2]/100,Ie[3]/100,1):(Ie=b.exec(Ee))?H(Ie[1],Ie[2]/100,Ie[3]/100,Ie[4]):m.hasOwnProperty(Ee)?R(m[Ee]):Ee==="transparent"?new I(NaN,NaN,NaN,0):null}function R(Ee){return new I(Ee>>16&255,Ee>>8&255,Ee&255,1)}function N(Ee,Ie,Ge,We){return We<=0&&(Ee=Ie=Ge=NaN),new I(Ee,Ie,Ge,We)}function w(Ee){return Ee instanceof o||(Ee=M(Ee)),Ee?(Ee=Ee.rgb(),new I(Ee.r,Ee.g,Ee.b,Ee.opacity)):new I}function P(Ee,Ie,Ge,We){return arguments.length===1?w(Ee):new I(Ee,Ie,Ge,We??1)}function I(Ee,Ie,Ge,We){this.r=+Ee,this.g=+Ie,this.b=+Ge,this.opacity=+We}c(I,P,A(o,{brighter:function(Ie){return Ie=Ie==null?T:Math.pow(T,Ie),new I(this.r*Ie,this.g*Ie,this.b*Ie,this.opacity)},darker:function(Ie){return Ie=Ie==null?_:Math.pow(_,Ie),new I(this.r*Ie,this.g*Ie,this.b*Ie,this.opacity)},rgb:function(){return this},clamp:function(){return new I(z(this.r),z(this.g),z(this.b),B(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:d,formatHex:d,formatHex8:L,formatRgb:E,toString:E}));function d(){return"#".concat(Y(this.r)).concat(Y(this.g)).concat(Y(this.b))}function L(){return"#".concat(Y(this.r)).concat(Y(this.g)).concat(Y(this.b)).concat(Y((isNaN(this.opacity)?1:this.opacity)*255))}function E(){var Ee=B(this.opacity);return"".concat(Ee===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(Ee===1?")":", ".concat(Ee,")"))}function B(Ee){return isNaN(Ee)?1:Math.max(0,Math.min(1,Ee))}function z(Ee){return Math.max(0,Math.min(255,Math.round(Ee)||0))}function Y(Ee){return Ee=z(Ee),(Ee<16?"0":"")+Ee.toString(16)}function H(Ee,Ie,Ge,We){return We<=0?Ee=Ie=Ge=NaN:Ge<=0||Ge>=1?Ee=Ie=NaN:Ie<=0&&(Ee=NaN),new V(Ee,Ie,Ge,We)}function G(Ee){if(Ee instanceof V)return new V(Ee.h,Ee.s,Ee.l,Ee.opacity);if(Ee instanceof o||(Ee=M(Ee)),!Ee)return new V;if(Ee instanceof V)return Ee;Ee=Ee.rgb();var Ie=Ee.r/255,Ge=Ee.g/255,We=Ee.b/255,Be=Math.min(Ie,Ge,We),Ve=Math.max(Ie,Ge,We),lt=NaN,pt=Ve-Be,ct=(Ve+Be)/2;return pt?(Ie===Ve?lt=(Ge-We)/pt+(Ge0&&ct<1?0:lt,new V(lt,pt,ct,Ee.opacity)}function W(Ee,Ie,Ge,We){return arguments.length===1?G(Ee):new V(Ee,Ie,Ge,We??1)}function V(Ee,Ie,Ge,We){this.h=+Ee,this.s=+Ie,this.l=+Ge,this.opacity=+We}c(V,W,A(o,{brighter:function(Ie){return Ie=Ie==null?T:Math.pow(T,Ie),new V(this.h,this.s,this.l*Ie,this.opacity)},darker:function(Ie){return Ie=Ie==null?_:Math.pow(_,Ie),new V(this.h,this.s,this.l*Ie,this.opacity)},rgb:function(){var Ie=this.h%360+(this.h<0)*360,Ge=isNaN(Ie)||isNaN(this.s)?0:this.s,We=this.l,Be=We+(We<.5?We:1-We)*Ge,Ve=2*We-Be;return new I(re(Ie>=240?Ie-240:Ie+120,Ve,Be),re(Ie,Ve,Be),re(Ie<120?Ie+240:Ie-120,Ve,Be),this.opacity)},clamp:function(){return new V(j(this.h),$(this.s),$(this.l),B(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var Ie=B(this.opacity);return"".concat(Ie===1?"hsl(":"hsla(").concat(j(this.h),", ").concat($(this.s)*100,"%, ").concat($(this.l)*100,"%").concat(Ie===1?")":", ".concat(Ie,")"))}}));function j(Ee){return Ee=(Ee||0)%360,Ee<0?Ee+360:Ee}function $(Ee){return Math.max(0,Math.min(1,Ee||0))}function re(Ee,Ie,Ge){return(Ee<60?Ie+(Ge-Ie)*Ee/60:Ee<180?Ge:Ee<240?Ie+(Ge-Ie)*(240-Ee)/60:Ie)*255}var ae=function(Ee){return function(){return Ee}};function oe(Ee,Ie){return function(Ge){return Ee+Ge*Ie}}function de(Ee,Ie,Ge){return Ee=Math.pow(Ee,Ge),Ie=Math.pow(Ie,Ge)-Ee,Ge=1/Ge,function(We){return Math.pow(Ee+We*Ie,Ge)}}function te(Ee){return(Ee=+Ee)==1?J:function(Ie,Ge){return Ge-Ie?de(Ie,Ge,Ee):ae(isNaN(Ie)?Ge:Ie)}}function J(Ee,Ie){var Ge=Ie-Ee;return Ge?oe(Ee,Ge):ae(isNaN(Ee)?Ie:Ee)}var ie=function Ee(Ie){var Ge=te(Ie);function We(Be,Ve){var lt=Ge((Be=P(Be)).r,(Ve=P(Ve)).r),pt=Ge(Be.g,Ve.g),ct=Ge(Be.b,Ve.b),nt=J(Be.opacity,Ve.opacity);return function(vt){return Be.r=lt(vt),Be.g=pt(vt),Be.b=ct(vt),Be.opacity=nt(vt),Be+""}}return We.gamma=Ee,We}(1);function Z(Ee,Ie){var Ge=Ie?Ie.length:0,We=Ee?Math.min(Ge,Ee.length):0,Be=new Array(We),Ve=new Array(Ge),lt;for(lt=0;ltGe&&(Ve=Ie.slice(Ge,Ve),pt[lt]?pt[lt]+=Ve:pt[++lt]=Ve),(We=We[0])===(Be=Be[0])?pt[lt]?pt[lt]+=Be:pt[++lt]=Be:(pt[++lt]=null,ct.push({i:lt,x:fe(We,Be)})),Ge=se.lastIndex;return Ge{switch(t.type){case"TOGGLE_CHAT_HISTORY":return{...e,isChatHistoryOpen:!e.isChatHistoryOpen};case"UPDATE_CURRENT_CHAT":return{...e,currentChat:t.payload};case"UPDATE_CHAT_HISTORY_LOADING_STATE":return{...e,chatHistoryLoadingState:t.payload};case"UPDATE_CHAT_HISTORY":if(!e.chatHistory||!e.currentChat)return e;const i=e.chatHistory.findIndex(k=>k.id===t.payload.id);if(i!==-1){const k=[...e.chatHistory];return k[i]=e.currentChat,{...e,chatHistory:k}}else return{...e,chatHistory:[...e.chatHistory,t.payload]};case"UPDATE_CHAT_TITLE":if(!e.chatHistory)return{...e,chatHistory:[]};const S=e.chatHistory.map(k=>{var D;return k.id===t.payload.id?(((D=e.currentChat)==null?void 0:D.id)===t.payload.id&&(e.currentChat.title=t.payload.title),{...k,title:t.payload.title}):k});return{...e,chatHistory:S};case"DELETE_CHAT_ENTRY":if(!e.chatHistory)return{...e,chatHistory:[]};const U=e.chatHistory.filter(k=>k.id!==t.payload);return e.currentChat=null,{...e,chatHistory:U};case"DELETE_CHAT_HISTORY":return{...e,chatHistory:[],filteredChatHistory:[],currentChat:null};case"DELETE_CURRENT_CHAT_MESSAGES":if(!e.currentChat||!e.chatHistory)return e;const K={...e.currentChat,messages:[]};return{...e,currentChat:K};case"FETCH_CHAT_HISTORY":return{...e,chatHistory:t.payload};case"SET_COSMOSDB_STATUS":return{...e,isCosmosDBAvailable:t.payload};case"FETCH_FRONTEND_SETTINGS":return{...e,frontendSettings:t.payload};case"SET_FEEDBACK_STATE":return{...e,feedbackState:{...e.feedbackState,[t.payload.answerId]:t.payload.feedback}};default:return e}},HTe={isChatHistoryOpen:!1,chatHistoryLoadingState:jc.Loading,chatHistory:null,filteredChatHistory:null,currentChat:null,isCosmosDBAvailable:{cosmosDB:!1,status:vc.NotConfigured},frontendSettings:null,feedbackState:{}},m1=$t.createContext(void 0),GTe=({children:e})=>{const[t,i]=$t.useReducer(UTe,HTe);return $t.useEffect(()=>{const S=async(K=0)=>await Oj(K).then(D=>(i(D?{type:"FETCH_CHAT_HISTORY",payload:D}:{type:"FETCH_CHAT_HISTORY",payload:null}),D)).catch(D=>(i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"FETCH_CHAT_HISTORY",payload:null}),console.error("There was an issue fetching your data."),null));(async()=>{i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Loading}),PTe().then(K=>{K!=null&&K.cosmosDB?S().then(k=>{k?(i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Success}),i({type:"SET_COSMOSDB_STATUS",payload:K})):(i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"SET_COSMOSDB_STATUS",payload:{cosmosDB:!1,status:vc.NotWorking}}))}).catch(k=>{i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"SET_COSMOSDB_STATUS",payload:{cosmosDB:!1,status:vc.NotWorking}})}):(i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"SET_COSMOSDB_STATUS",payload:K}))}).catch(K=>{i({type:"UPDATE_CHAT_HISTORY_LOADING_STATE",payload:jc.Fail}),i({type:"SET_COSMOSDB_STATUS",payload:{cosmosDB:!1,status:vc.NotConfigured}})})})()},[]),$t.useEffect(()=>{(async()=>{OTe().then(U=>{i({type:"FETCH_FRONTEND_SETTINGS",payload:U})}).catch(U=>{console.error("There was an issue fetching your data.")})})()},[]),Wn(m1.Provider,{value:{state:t,dispatch:i},children:e})},VTe=e=>{const t=new Map;for(const i of e){const{filepath:S}=i;let U=1;t.has(S)&&(U=t.get(S)+1),t.set(S,U),i.part_index=U}return e};function WTe(e){let t=e.answer;const i=t.match(/\[(doc\d\d?\d?)]/g),S=4;let U=[],K=0;return i==null||i.forEach(k=>{const D=k.slice(S,k.length-1),r=zp.cloneDeep(e.citations[Number(D)-1]);!U.find(c=>c.id===D)&&r&&(t=t.replaceAll(k,` ^${++K}^ `),r.id=D,r.reindex_id=K.toString(),U.push(r))}),U=VTe(U),{citations:U,markdownFormatText:t,plotly_data:e.plotly_data}}const YTe="_answerContainer_1qm4u_1",jTe="_answerText_1qm4u_14",KTe="_answerHeader_1qm4u_31",XTe="_answerFooter_1qm4u_35",$Te="_answerDisclaimerContainer_1qm4u_44",ZTe="_answerDisclaimer_1qm4u_44",JTe="_citationWrapper_1qm4u_64",QTe="_citationContainer_1qm4u_72",qTe="_citation_1qm4u_64",eEe="_accordionIcon_1qm4u_122",tEe="_accordionTitle_1qm4u_137",rEe="_clickableSup_1qm4u_153",Uf={answerContainer:YTe,answerText:jTe,answerHeader:KTe,answerFooter:XTe,answerDisclaimerContainer:$Te,answerDisclaimer:ZTe,citationWrapper:JTe,citationContainer:QTe,citation:qTe,accordionIcon:eEe,accordionTitle:tEe,clickableSup:rEe},aU=({answer:e,onCitationClicked:t,onExectResultClicked:i})=>{var N,w,P,I;const S=d=>{if(d.message_id!=null&&d.feedback!=null)return d.feedback.split(",").length>1?To.Negative:Object.values(To).includes(d.feedback)?d.feedback:To.Neutral},[U,{toggle:K}]=z2(!1),k=50,D=$t.useMemo(()=>WTe(e),[e]),[r,c]=$t.useState(U),[A,o]=$t.useState(S(e)),[_,T]=$t.useState(!1),[p,y]=$t.useState(!1),[a,n]=$t.useState([]),l=$t.useContext(m1),s=((N=l==null?void 0:l.state.frontendSettings)==null?void 0:N.feedback_enabled)&&((w=l==null?void 0:l.state.isCosmosDBAvailable)==null?void 0:w.cosmosDB),h=(P=l==null?void 0:l.state.frontendSettings)==null?void 0:P.sanitize_answer,v=()=>{c(!r),K()};$t.useEffect(()=>{c(U)},[U]),$t.useEffect(()=>{if(e.message_id==null)return;let d;l!=null&&l.state.feedbackState&&(l!=null&&l.state.feedbackState[e.message_id])?d=l==null?void 0:l.state.feedbackState[e.message_id]:d=S(e),o(d)},[l==null?void 0:l.state.feedbackState,A,e.message_id]);const u=(d,L,E=!1)=>{let B="";if(d.filepath){const z=d.part_index??(d.chunk_id?parseInt(d.chunk_id)+1:"");if(E&&d.filepath.length>k){const Y=d.filepath.length;B=`${d.filepath.substring(0,20)}...${d.filepath.substring(Y-20)} - Part ${z}`}else B=`${d.filepath} - Part ${z}`}else d.filepath&&d.reindex_id?B=`${d.filepath} - Part ${d.reindex_id}`:B=`Citation ${L}`;return B},b=async()=>{if(e.message_id==null)return;let d=A;A==To.Positive?d=To.Neutral:d=To.Positive,l==null||l.dispatch({type:"SET_FEEDBACK_STATE",payload:{answerId:e.message_id,feedback:d}}),o(d),await q6(e.message_id,d)},m=async()=>{if(e.message_id==null)return;let d=A;A===void 0||A===To.Neutral||A===To.Positive?(d=To.Negative,o(d),T(!0)):(d=To.Neutral,o(d),await q6(e.message_id,To.Neutral)),l==null||l.dispatch({type:"SET_FEEDBACK_STATE",payload:{answerId:e.message_id,feedback:d}})},C=(d,L)=>{var z;if(e.message_id==null)return;const E=(z=d==null?void 0:d.target)==null?void 0:z.id;let B=a.slice();L?B.push(E):B=B.filter(Y=>Y!==E),n(B)},g=async()=>{e.message_id!=null&&(await q6(e.message_id,a.join(",")),f())},f=()=>{T(!1),y(!1),n([])},x=()=>Ei(Nd,{children:[Wn("div",{children:"Why wasn't this response helpful?"}),Ei(wi,{tokens:{childrenGap:4},children:[Wn(Vv,{label:"Citations are missing",id:To.MissingCitation,defaultChecked:a.includes(To.MissingCitation),onChange:C}),Wn(Vv,{label:"Citations are wrong",id:To.WrongCitation,defaultChecked:a.includes(To.WrongCitation),onChange:C}),Wn(Vv,{label:"The response is not from my data",id:To.OutOfScope,defaultChecked:a.includes(To.OutOfScope),onChange:C}),Wn(Vv,{label:"Inaccurate or irrelevant",id:To.InaccurateOrIrrelevant,defaultChecked:a.includes(To.InaccurateOrIrrelevant),onChange:C}),Wn(Vv,{label:"Other",id:To.OtherUnhelpful,defaultChecked:a.includes(To.OtherUnhelpful),onChange:C})]}),Wn("div",{onClick:()=>y(!0),style:{color:"#115EA3",cursor:"pointer"},children:"Report inappropriate content"})]}),M=()=>Ei(Nd,{children:[Ei("div",{children:["The content is ",Wn("span",{style:{color:"red"},children:"*"})]}),Ei(wi,{tokens:{childrenGap:4},children:[Wn(Vv,{label:"Hate speech, stereotyping, demeaning",id:To.HateSpeech,defaultChecked:a.includes(To.HateSpeech),onChange:C}),Wn(Vv,{label:"Violent: glorification of violence, self-harm",id:To.Violent,defaultChecked:a.includes(To.Violent),onChange:C}),Wn(Vv,{label:"Sexual: explicit content, grooming",id:To.Sexual,defaultChecked:a.includes(To.Sexual),onChange:C}),Wn(Vv,{label:"Manipulative: devious, emotional, pushy, bullying",defaultChecked:a.includes(To.Manipulative),id:To.Manipulative,onChange:C}),Wn(Vv,{label:"Other",id:To.OtherHarmful,defaultChecked:a.includes(To.OtherHarmful),onChange:C})]})]}),R={code({node:d,...L}){let E;if(L.className){const z=L.className.match(/language-(\w+)/);E=z?z[1]:void 0}const B=d.children[0].value??"";return Wn(L9,{style:k9,language:E,PreTag:"div",...L,children:B})}};return Ei(Nd,{children:[Ei(wi,{className:Uf.answerContainer,tabIndex:0,children:[Wn(wi.Item,{children:Ei(wi,{horizontal:!0,grow:!0,children:[Wn(wi.Item,{grow:!0,children:Wn($w,{linkTarget:"_blank",remarkPlugins:[vY,FTe],children:h?QY.sanitize(D.markdownFormatText,{ALLOWED_TAGS:Pj,ALLOWED_ATTR:CTe}):D.markdownFormatText,className:Uf.answerText,components:R})}),Wn(wi.Item,{className:Uf.answerHeader,children:s&&e.message_id!==void 0&&Ei(wi,{horizontal:!0,horizontalAlign:"space-between",children:[Wn(Vae,{"aria-hidden":"false","aria-label":"Like this response",onClick:()=>b(),style:A===To.Positive||(l==null?void 0:l.state.feedbackState[e.message_id])===To.Positive?{color:"darkgreen",cursor:"pointer"}:{color:"slategray",cursor:"pointer"}}),Wn(Hae,{"aria-hidden":"false","aria-label":"Dislike this response",onClick:()=>m(),style:A!==To.Positive&&A!==To.Neutral&&A!==void 0?{color:"darkred",cursor:"pointer"}:{color:"slategray",cursor:"pointer"}})]})})]})}),D.plotly_data!==null&&Wn(wi,{className:Uf.answerContainer,children:Wn(wi.Item,{grow:!0,children:Wn(zTe,{data:D.plotly_data.data,layout:D.plotly_data.layout})})}),Ei(wi,{horizontal:!0,className:Uf.answerFooter,children:[!!D.citations.length&&Wn(wi.Item,{onKeyDown:d=>d.key==="Enter"||d.key===" "?K():null,children:Wn(wi,{style:{width:"100%"},children:Ei(wi,{horizontal:!0,horizontalAlign:"start",verticalAlign:"center",children:[Wn(Vp,{className:Uf.accordionTitle,onClick:K,"aria-label":"Open references",tabIndex:0,role:"button",children:Wn("span",{children:D.citations.length>1?D.citations.length+" references":"1 reference"})}),Wn(T2,{className:Uf.accordionIcon,onClick:v,iconName:r?"ChevronDown":"ChevronRight"})]})})}),Wn(wi.Item,{className:Uf.answerDisclaimerContainer,children:Wn("span",{className:Uf.answerDisclaimer,children:"AI-generated content may be incorrect"})}),!!((I=e.exec_results)!=null&&I.length)&&Wn(wi.Item,{onKeyDown:d=>d.key==="Enter"||d.key===" "?K():null,children:Wn(wi,{style:{width:"100%"},children:Ei(wi,{horizontal:!0,horizontalAlign:"start",verticalAlign:"center",children:[Wn(Vp,{className:Uf.accordionTitle,onClick:()=>i(),"aria-label":"Open Intents",tabIndex:0,role:"button",children:Wn("span",{children:"Show Intents"})}),Wn(T2,{className:Uf.accordionIcon,onClick:v,iconName:"ChevronRight"})]})})})]}),r&&Wn("div",{className:Uf.citationWrapper,children:D.citations.map((d,L)=>Ei("span",{title:u(d,++L),tabIndex:0,role:"link",onClick:()=>t(d),onKeyDown:E=>E.key==="Enter"||E.key===" "?t(d):null,className:Uf.citationContainer,"aria-label":u(d,L),children:[Wn("div",{className:Uf.citation,children:L}),u(d,L,!0)]},L))})]}),Wn(cy,{onDismiss:()=>{f(),o(To.Neutral)},hidden:!_,styles:{main:[{selectors:{["@media (min-width: 480px)"]:{maxWidth:"600px",background:"#FFFFFF",boxShadow:"0px 14px 28.8px rgba(0, 0, 0, 0.24), 0px 0px 8px rgba(0, 0, 0, 0.2)",borderRadius:"8px",maxHeight:"600px",minHeight:"100px"}}}]},dialogContentProps:{title:"Submit Feedback",showCloseButton:!0},children:Ei(wi,{tokens:{childrenGap:4},children:[Wn("div",{children:"Your feedback will improve this experience."}),p?Wn(M,{}):Wn(x,{}),Wn("div",{children:"By pressing submit, your feedback will be visible to the application owner."}),Wn(H2,{disabled:a.length<1,onClick:g,children:"Submit"})]})})]})},nEe="/assets/Send-d0601aaa.svg",aEe="_questionInputContainer_185lc_1",iEe="_questionInputTextArea_185lc_15",oEe="_questionInputSendButtonContainer_185lc_24",sEe="_questionInputSendButton_185lc_24",lEe="_questionInputSendButtonDisabled_185lc_35",uEe="_questionInputBottomBorder_185lc_43",cEe="_questionInputOptionsButton_185lc_54",um={questionInputContainer:aEe,questionInputTextArea:iEe,questionInputSendButtonContainer:oEe,questionInputSendButton:sEe,questionInputSendButtonDisabled:lEe,questionInputBottomBorder:uEe,questionInputOptionsButton:cEe},fEe=({onSend:e,disabled:t,placeholder:i,clearOnSend:S,conversationId:U})=>{const[K,k]=$t.useState(""),D=()=>{t||!K.trim()||(U?e(K,U):e(K),S&&k(""))},r=o=>{var _;o.key==="Enter"&&!o.shiftKey&&((_=o.nativeEvent)==null?void 0:_.isComposing)!==!0&&(o.preventDefault(),D())},c=(o,_)=>{k(_||"")},A=t||!K.trim();return Ei(wi,{horizontal:!0,className:um.questionInputContainer,children:[Wn(JR,{className:um.questionInputTextArea,placeholder:i,multiline:!0,resizable:!1,borderless:!0,value:K,onChange:c,onKeyDown:r}),Wn("div",{className:um.questionInputSendButtonContainer,role:"button",tabIndex:0,"aria-label":"Ask question button",onClick:D,onKeyDown:o=>o.key==="Enter"||o.key===" "?D():null,children:A?Wn(Pae,{className:um.questionInputSendButtonDisabled}):Wn("img",{src:nEe,className:um.questionInputSendButton,alt:"Send Button"})}),Wn("div",{className:um.questionInputBottomBorder})]})},dEe="_container_1epg5_1",hEe="_listContainer_1epg5_6",vEe="_itemCell_1epg5_11",pEe="_itemButton_1epg5_28",gEe="_chatGroup_1epg5_45",mEe="_spinnerContainer_1epg5_50",yEe="_chatList_1epg5_57",xEe="_chatMonth_1epg5_61",bEe="_chatTitle_1epg5_68",mh={container:dEe,listContainer:hEe,itemCell:vEe,itemButton:pEe,chatGroup:gEe,spinnerContainer:mEe,chatList:yEe,chatMonth:xEe,chatTitle:bEe},TEe=e=>{const i=new Date().getFullYear(),[S,U]=e.split(" ");return parseInt(U)===i?S:e},EEe=({item:e,onSelect:t})=>{var N,w,P;const[i,S]=$t.useState(!1),[U,K]=$t.useState(!1),[k,D]=$t.useState(""),[r,{toggle:c}]=z2(!0),[A,o]=$t.useState(!1),[_,T]=$t.useState(!1),[p,y]=$t.useState(void 0),[a,n]=$t.useState(!1),l=$t.useRef(null),s=$t.useContext(m1),h=(e==null?void 0:e.id)===((N=s==null?void 0:s.state.currentChat)==null?void 0:N.id),v={type:rp.close,title:"Are you sure you want to delete this item?",closeButtonAriaLabel:"Close",subText:"The history of this chat session will permanently removed."},u={titleAriaId:"labelId",subtitleAriaId:"subTextId",isBlocking:!0,styles:{main:{maxWidth:450}}};if(!e)return null;$t.useEffect(()=>{a&&l.current&&(l.current.focus(),n(!1))},[a]),$t.useEffect(()=>{var I;((I=s==null?void 0:s.state.currentChat)==null?void 0:I.id)!==(e==null?void 0:e.id)&&(K(!1),D(""))},[(w=s==null?void 0:s.state.currentChat)==null?void 0:w.id,e==null?void 0:e.id]);const b=async()=>{(await LTe(e.id)).ok?s==null||s.dispatch({type:"DELETE_CHAT_ENTRY",payload:e.id}):(o(!0),setTimeout(()=>{o(!1)},5e3)),c()},m=()=>{K(!0),n(!0),D(e==null?void 0:e.title)},C=()=>{t(e),s==null||s.dispatch({type:"UPDATE_CURRENT_CHAT",payload:e})},g=((P=e==null?void 0:e.title)==null?void 0:P.length)>28?`${e.title.substring(0,28)} ...`:e.title,f=async I=>{if(I.preventDefault(),p||_)return;if(k==e.title){y("Error: Enter a new title to proceed."),setTimeout(()=>{y(void 0),n(!0),l.current&&l.current.focus()},5e3);return}T(!0),(await NTe(e.id,k)).ok?(T(!1),K(!1),s==null||s.dispatch({type:"UPDATE_CHAT_TITLE",payload:{...e,title:k}}),D("")):(y("Error: could not rename item"),setTimeout(()=>{n(!0),y(void 0),l.current&&l.current.focus()},5e3))},x=I=>{D(I.target.value)},M=()=>{K(!1),D("")},R=I=>{if(I.key==="Enter")return f(I);if(I.key==="Escape"){M();return}};return Ei(wi,{tabIndex:0,"aria-label":"chat history item",className:mh.itemCell,onClick:()=>C(),onKeyDown:I=>I.key==="Enter"||I.key===" "?C():null,verticalAlign:"center",onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),styles:{root:{backgroundColor:h?"#e6e6e6":"transparent"}},children:[U?Wn(Nd,{children:Wn(wi.Item,{style:{width:"100%"},children:Ei("form",{"aria-label":"edit title form",onSubmit:I=>f(I),style:{padding:"5px 0px"},children:[Ei(wi,{horizontal:!0,verticalAlign:"start",children:[Wn(wi.Item,{children:Wn(JR,{componentRef:l,autoFocus:a,value:k,placeholder:e.title,onChange:x,onKeyDown:R,disabled:!!p})}),k&&Wn(wi.Item,{children:Ei(wi,{"aria-label":"action button group",horizontal:!0,verticalAlign:"center",children:[Wn($0,{role:"button",disabled:p!==void 0,onKeyDown:I=>I.key===" "||I.key==="Enter"?f(I):null,onClick:I=>f(I),"aria-label":"confirm new title",iconProps:{iconName:"CheckMark"},styles:{root:{color:"green",marginLeft:"5px"}}}),Wn($0,{role:"button",disabled:p!==void 0,onKeyDown:I=>I.key===" "||I.key==="Enter"?M():null,onClick:()=>M(),"aria-label":"cancel edit title",iconProps:{iconName:"Cancel"},styles:{root:{color:"red",marginLeft:"5px"}}})]})})]}),p&&Wn(Vp,{role:"alert","aria-label":p,style:{fontSize:12,fontWeight:400,color:"rgb(164,38,44)"},children:p})]})})}):Wn(Nd,{children:Ei(wi,{horizontal:!0,verticalAlign:"center",style:{width:"100%"},children:[Wn("div",{className:mh.chatTitle,children:g}),(h||i)&&Ei(wi,{horizontal:!0,horizontalAlign:"end",children:[Wn($0,{className:mh.itemButton,iconProps:{iconName:"Delete"},title:"Delete",onClick:c,onKeyDown:I=>I.key===" "?c():null}),Wn($0,{className:mh.itemButton,iconProps:{iconName:"Edit"},title:"Edit",onClick:m,onKeyDown:I=>I.key===" "?m():null})]})]})}),A&&Wn(Vp,{styles:{root:{color:"red",marginTop:5,fontSize:14}},children:"Error: could not delete item"}),Wn(cy,{hidden:r,onDismiss:c,dialogContentProps:v,modalProps:u,children:Ei(QR,{children:[Wn(YV,{onClick:b,text:"Delete"}),Wn(H2,{onClick:c,text:"Cancel"})]})})]},e.id)},wEe=({groupedChatHistory:e})=>{const t=$t.useContext(m1),i=$t.useRef(null),[,S]=$t.useState(null),[U,K]=$t.useState(25),[k,D]=$t.useState(0),[r,c]=$t.useState(!1),A=$t.useRef(!0),o=p=>{p&&S(p)},_=p=>Wn(EEe,{item:p,onSelect:()=>o(p)});$t.useEffect(()=>{if(A.current){A.current=!1;return}T(),K(p=>p+=25)},[k]);const T=async()=>{const p=t==null?void 0:t.state.chatHistory;c(!0),await Oj(U).then(y=>{const a=p&&y&&p.concat(...y);return y?t==null||t.dispatch({type:"FETCH_CHAT_HISTORY",payload:a||y}):t==null||t.dispatch({type:"FETCH_CHAT_HISTORY",payload:null}),c(!1),y})};return $t.useEffect(()=>{const p=new IntersectionObserver(y=>{y[0].isIntersecting&&D(a=>a+=1)},{threshold:1});return i.current&&p.observe(i.current),()=>{i.current&&p.unobserve(i.current)}},[i]),Ei("div",{className:mh.listContainer,"data-is-scrollable":!0,children:[e.map(p=>p.entries.length>0&&Ei(wi,{horizontalAlign:"start",verticalAlign:"center",className:mh.chatGroup,"aria-label":`chat history group: ${p.month}`,children:[Wn(wi,{"aria-label":p.month,className:mh.chatMonth,children:TEe(p.month)}),Wn(Ore,{"aria-label":"chat history list",items:p.entries,onRenderCell:_,className:mh.chatList}),Wn("div",{ref:i}),Wn(QV,{styles:{root:{width:"100%",position:"relative","::before":{backgroundColor:"#d6d6d6"}}}})]},p.month)),r&&Wn("div",{className:mh.spinnerContainer,children:Wn(XV,{size:cv.small,"aria-label":"loading more chat history",className:mh.spinner})})]})},AEe=e=>{const t=[{month:"Recent",entries:[]}],i=new Date;return e.forEach(S=>{const U=new Date(S.date),K=(i.getTime()-U.getTime())/(1e3*60*60*24),k=U.toLocaleString("default",{month:"long",year:"numeric"}),D=t.find(r=>r.month===k);K<=7?t[0].entries.push(S):D?D.entries.push(S):t.push({month:k,entries:[S]})}),t.sort((S,U)=>{if(S.entries.length===0&&U.entries.length===0)return 0;if(S.entries.length===0)return 1;if(U.entries.length===0)return-1;const K=new Date(S.entries[0].date);return new Date(U.entries[0].date).getTime()-K.getTime()}),t.forEach(S=>{S.entries.sort((U,K)=>{const k=new Date(U.date);return new Date(K.date).getTime()-k.getTime()})}),t},SEe=()=>{const e=$t.useContext(m1),t=e==null?void 0:e.state.chatHistory;el.useEffect(()=>{},[e==null?void 0:e.state.chatHistory]);let i;if(t&&t.length>0)i=AEe(t);else return Wn(wi,{horizontal:!0,horizontalAlign:"center",verticalAlign:"center",style:{width:"100%",marginTop:10},children:Wn(Y0,{children:Wn(Vp,{style:{alignSelf:"center",fontWeight:"400",fontSize:14},children:Wn("span",{children:"No chat history."})})})});return Wn(wEe,{groupedChatHistory:i})},iU={root:{padding:"0",display:"flex",justifyContent:"center",backgroundColor:"transparent"}},CEe={root:{height:"50px"}};function _Ee(e){var l,s,h;const t=$t.useContext(m1),[i,S]=el.useState(!1),[U,{toggle:K}]=z2(!0),[k,D]=el.useState(!1),[r,c]=el.useState(!1),A={type:rp.close,title:r?"Error deleting all of chat history":"Are you sure you want to clear all chat history?",closeButtonAriaLabel:"Close",subText:r?"Please try again. If the problem persists, please contact the site administrator.":"All chat history will be permanently removed."},o={titleAriaId:"labelId",subtitleAriaId:"subTextId",isBlocking:!0,styles:{main:{maxWidth:450}}},_=[{key:"clearAll",text:"Clear all chat history",iconProps:{iconName:"Delete"}}],T=()=>{t==null||t.dispatch({type:"TOGGLE_CHAT_HISTORY"})},p=el.useCallback(v=>{v.preventDefault(),S(!0)},[]),y=el.useCallback(()=>S(!1),[]),a=async()=>{D(!0),(await kTe()).ok?(t==null||t.dispatch({type:"DELETE_CHAT_HISTORY"}),K()):c(!0),D(!1)},n=()=>{K(),setTimeout(()=>{c(!1)},2e3)};return el.useEffect(()=>{},[t==null?void 0:t.state.chatHistory,r]),Ei("section",{className:mh.container,"data-is-scrollable":!0,"aria-label":"chat history panel",children:[Ei(wi,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",wrap:!0,"aria-label":"chat history header",children:[Wn(Y0,{children:Wn(Vp,{role:"heading","aria-level":2,style:{alignSelf:"center",fontWeight:"600",fontSize:"18px",marginRight:"auto",paddingLeft:"20px"},children:"Chat history"})}),Wn(wi,{verticalAlign:"start",children:Ei(wi,{horizontal:!0,styles:CEe,children:[Wn(S2,{iconProps:{iconName:"More"},title:"Clear all chat history",onClick:p,"aria-label":"clear all chat history",styles:iU,role:"button",id:"moreButton"}),Wn(ow,{items:_,hidden:!i,target:"#moreButton",onItemClick:K,onDismiss:y}),Wn(S2,{iconProps:{iconName:"Cancel"},title:"Hide",onClick:T,"aria-label":"hide button",styles:iU,role:"button"})]})})]}),Wn(wi,{"aria-label":"chat history panel content",styles:{root:{display:"flex",flexGrow:1,flexDirection:"column",paddingTop:"2.5px",maxWidth:"100%"}},style:{display:"flex",flexGrow:1,flexDirection:"column",flexWrap:"wrap",padding:"1px"},children:Ei(wi,{className:mh.chatHistoryListContainer,children:[(t==null?void 0:t.state.chatHistoryLoadingState)===jc.Success&&(t==null?void 0:t.state.isCosmosDBAvailable.cosmosDB)&&Wn(SEe,{}),(t==null?void 0:t.state.chatHistoryLoadingState)===jc.Fail&&(t==null?void 0:t.state.isCosmosDBAvailable)&&Wn(Nd,{children:Wn(wi,{children:Ei(wi,{horizontalAlign:"center",verticalAlign:"center",style:{width:"100%",marginTop:10},children:[Wn(Y0,{children:Ei(Vp,{style:{alignSelf:"center",fontWeight:"400",fontSize:16},children:[((l=t==null?void 0:t.state.isCosmosDBAvailable)==null?void 0:l.status)&&Wn("span",{children:(s=t==null?void 0:t.state.isCosmosDBAvailable)==null?void 0:s.status}),!((h=t==null?void 0:t.state.isCosmosDBAvailable)!=null&&h.status)&&Wn("span",{children:"Error loading chat history"})]})}),Wn(Y0,{children:Wn(Vp,{style:{alignSelf:"center",fontWeight:"400",fontSize:14},children:Wn("span",{children:"Chat history can't be saved at this time"})})})]})})}),(t==null?void 0:t.state.chatHistoryLoadingState)===jc.Loading&&Wn(Nd,{children:Wn(wi,{children:Ei(wi,{horizontal:!0,horizontalAlign:"center",verticalAlign:"center",style:{width:"100%",marginTop:10},children:[Wn(Y0,{style:{justifyContent:"center",alignItems:"center"},children:Wn(XV,{style:{alignSelf:"flex-start",height:"100%",marginRight:"5px"},size:cv.medium})}),Wn(Y0,{children:Wn(Vp,{style:{alignSelf:"center",fontWeight:"400",fontSize:14},children:Wn("span",{style:{whiteSpace:"pre-wrap"},children:"Loading chat history"})})})]})})})]})}),Wn(cy,{hidden:U,onDismiss:k?()=>{}:n,dialogContentProps:A,modalProps:o,children:Ei(QR,{children:[!r&&Wn(YV,{onClick:a,disabled:k,text:"Clear All"}),Wn(H2,{onClick:n,disabled:k,text:r?"Close":"Cancel"})]})})]})}const MEe=()=>{var Z,ue,fe,Q,q,ce,se,pe;const e=$t.useContext(m1),t=(Z=e==null?void 0:e.state.frontendSettings)==null?void 0:Z.ui,i=(ue=e==null?void 0:e.state.frontendSettings)==null?void 0:ue.auth_enabled,S=$t.useRef(null),[U,K]=$t.useState(!1),[k,D]=$t.useState(!1),[r,c]=$t.useState(),[A,o]=$t.useState(!1),[_,T]=$t.useState(!1),p=$t.useRef([]),[y,a]=$t.useState(),[n,l]=$t.useState([]),[s,h]=$t.useState([]),[v,u]=$t.useState("Not Running"),[b,m]=$t.useState(!1),[C,{toggle:g}]=z2(!0),[f,x]=$t.useState(),M={type:rp.close,title:f==null?void 0:f.title,closeButtonAriaLabel:"Close",subText:f==null?void 0:f.subtitle},R={titleAriaId:"labelId",subtitleAriaId:"subTextId",isBlocking:!0,styles:{main:{maxWidth:450}}},[N,w,P]=["assistant","tool","error"],I="No content in messages object.";$t.useEffect(()=>{var Te,we;if(((Te=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:Te.status)!==vc.Working&&((we=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:we.status)!==vc.NotConfigured&&(e==null?void 0:e.state.chatHistoryLoadingState)===jc.Fail&&C){let Ae=`${e.state.isCosmosDBAvailable.status}. Please contact the site administrator.`;x({title:"Chat history is not enabled",subtitle:Ae}),g()}},[e==null?void 0:e.state.isCosmosDBAvailable]);const d=()=>{g(),setTimeout(()=>{x(null)},500)};$t.useEffect(()=>{K((e==null?void 0:e.state.chatHistoryLoadingState)===jc.Loading)},[e==null?void 0:e.state.chatHistoryLoadingState]);const L=async()=>{if(!i){a(!1);return}(await MTe()).length===0&&window.location.hostname!=="127.0.0.1"?a(!0):a(!1)};let E={},B={},z="";const Y=(Te,we,Ae)=>{if(Te.content.includes("all_exec_results")){const ke=JSON.parse(Te.content);h(ke.all_exec_results)}Te.role===N&&(z+=Te.content,E=Te,E.content=z,Te.context&&(B={id:kp(),role:w,content:Te.context,date:new Date().toISOString()})),Te.role===w&&(B=Te),Ae?zp.isEmpty(B)?l([...n,E]):l([...n,B,E]):zp.isEmpty(B)?l([...n,we,E]):l([...n,we,B,E])},H=async(Te,we)=>{var Ge,We;K(!0),D(!0);const Ae=new AbortController;p.current.unshift(Ae);const ke={id:kp(),role:"user",content:Te,date:new Date().toISOString()};let Se;if(!we)Se={id:we??kp(),title:Te,messages:[ke],date:new Date().toISOString()};else if(Se=(Ge=e==null?void 0:e.state)==null?void 0:Ge.currentChat,Se)Se.messages.push(ke);else{console.error("Conversation not found."),K(!1),D(!1),p.current=p.current.filter(Be=>Be!==Ae);return}e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:Se}),l(Se.messages);const _e={messages:[...Se.messages.filter(Be=>Be.role!==P)]};let Ee={};try{const Be=await _Te(_e,Ae.signal);if(Be!=null&&Be.body){const Ve=Be.body.getReader();let lt="";for(;;){u("Processing");const{done:pt,value:ct}=await Ve.read();if(pt)break;var Ie=new TextDecoder("utf-8").decode(ct);Ie.split(` `).forEach(vt=>{var mt,xt;try{if(vt!==""&&vt!=="{}"){if(lt+=vt,Ee=JSON.parse(lt),((mt=Ee.choices)==null?void 0:mt.length)>0)Ee.choices[0].messages.forEach(Tt=>{Tt.id=Ee.id,Tt.date=new Date().toISOString()}),(xt=Ee.choices[0].messages)!=null&&xt.some(Tt=>Tt.role===N)&&D(!1),Ee.choices[0].messages.forEach(Tt=>{Y(Tt,ke,we)});else if(Ee.error)throw Error(Ee.error);lt=""}}catch(Tt){if(Tt instanceof SyntaxError)console.log("Incomplete message. Continuing...");else throw console.error(Tt),Tt}})}Se.messages.push(B,E),e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:Se}),l([...n,B,E])}}catch{if(Ae.signal.aborted)l([...n,ke]);else{let Ve="An error occurred. Please try again. If the problem persists, please contact the site administrator.";(We=Ee.error)!=null&&We.message?Ve=Ee.error.message:typeof Ee.error=="string"&&(Ve=Ee.error),Ve=j(Ve);let lt={id:kp(),role:P,content:Ve,date:new Date().toISOString()};Se.messages.push(lt),e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:Se}),l([...n,lt])}}finally{K(!1),D(!1),p.current=p.current.filter(Be=>Be!==Ae),u("Done")}return Ae.abort()},G=async(Te,we)=>{var We,Be,Ve,lt,pt,ct,nt,vt,mt;K(!0),D(!0);const Ae=new AbortController;p.current.unshift(Ae);const ke={id:kp(),role:"user",content:Te,date:new Date().toISOString()};let Se,_e;if(we)if(_e=(Be=(We=e==null?void 0:e.state)==null?void 0:We.chatHistory)==null?void 0:Be.find(xt=>xt.id===we),_e)_e.messages.push(ke),Se={messages:[..._e.messages.filter(xt=>xt.role!==P)]};else{console.error("Conversation not found."),K(!1),D(!1),p.current=p.current.filter(xt=>xt!==Ae);return}else Se={messages:[ke].filter(xt=>xt.role!==P)},l(Se.messages);let Ee={};var Ie="Please try again. If the problem persists, please contact the site administrator.";try{const xt=we?await nU(Se,Ae.signal,we):await nU(Se,Ae.signal);if(!(xt!=null&&xt.ok)){const Tt=await xt.json();Ie=Tt.error===void 0?Ie:j(Tt.error);let Mt={id:kp(),role:P,content:`There was an error generating a response. Chat history can't be saved at this time. ${Ie}`,date:new Date().toISOString()},at;if(we){if(at=(lt=(Ve=e==null?void 0:e.state)==null?void 0:Ve.chatHistory)==null?void 0:lt.find(Oe=>Oe.id===we),!at){console.error("Conversation not found."),K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}at.messages.push(Mt)}else{l([...n,ke,Mt]),K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:at}),l([...at.messages]);return}if(xt!=null&&xt.body){const Tt=xt.body.getReader();let Mt="";for(;;){u("Processing");const{done:Oe,value:Ye}=await Tt.read();if(Oe)break;var Ge=new TextDecoder("utf-8").decode(Ye);Ge.split(` -`).forEach(Ke=>{var Fe,Ne,$e,Pe,me;try{if(Ke!==""&&Ke!=="{}"){if(Mt+=Ke,Ee=JSON.parse(Mt),!(($e=(Ne=(Fe=Ee.choices)==null?void 0:Fe[0])==null?void 0:Ne.messages)!=null&&$e[0].content))throw Ie=I,Error();((Pe=Ee.choices)==null?void 0:Pe.length)>0&&(Ee.choices[0].messages.forEach(Ce=>{Ce.id=Ee.id,Ce.date=new Date().toISOString()}),(me=Ee.choices[0].messages)!=null&&me.some(Ce=>Ce.role===N)&&D(!1),Ee.choices[0].messages.forEach(Ce=>{Y(Ce,ke,we)})),Mt=""}else if(Ee.error)throw Error(Ee.error)}catch(Ce){if(Ce instanceof SyntaxError)console.log("Incomplete message. Continuing...");else throw console.error(Ce),Ce}})}let at;if(we){if(at=(ct=(pt=e==null?void 0:e.state)==null?void 0:pt.chatHistory)==null?void 0:ct.find(Oe=>Oe.id===we),!at){console.error("Conversation not found."),K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}zp.isEmpty(B)?at.messages.push(E):at.messages.push(B,E)}else at={id:Ee.history_metadata.conversation_id,title:Ee.history_metadata.title,messages:[ke],date:Ee.history_metadata.date},zp.isEmpty(B)?at.messages.push(E):at.messages.push(B,E);if(!at){K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:at}),zp.isEmpty(B)?l([...n,E]):l([...n,B,E])}}catch{if(Ae.signal.aborted)l([...n,ke]);else{let Tt=`An error occurred. ${Ie}`;(nt=Ee.error)!=null&&nt.message?Tt=Ee.error.message:typeof Ee.error=="string"&&(Tt=Ee.error),Tt=j(Tt);let Mt={id:kp(),role:P,content:Tt,date:new Date().toISOString()},at;if(we){if(at=(mt=(vt=e==null?void 0:e.state)==null?void 0:vt.chatHistory)==null?void 0:mt.find(Oe=>Oe.id===we),!at){console.error("Conversation not found."),K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}at.messages.push(Mt)}else{if(!Ee.history_metadata){console.error("Error retrieving data.",Ee);let Oe={id:kp(),role:P,content:Tt,date:new Date().toISOString()};l([...n,ke,Oe]),K(!1),D(!1),p.current=p.current.filter(Ye=>Ye!==Ae);return}at={id:Ee.history_metadata.conversation_id,title:Ee.history_metadata.title,messages:[ke],date:Ee.history_metadata.date},at.messages.push(Mt)}if(!at){K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:at}),l([...n,Mt])}}finally{K(!1),D(!1),p.current=p.current.filter(xt=>xt!==Ae),u("Done")}return Ae.abort()},W=async()=>{var Te;m(!0),(Te=e==null?void 0:e.state.currentChat)!=null&&Te.id&&(e!=null&&e.state.isCosmosDBAvailable.cosmosDB)&&((await kTe(e==null?void 0:e.state.currentChat.id)).ok?(e==null||e.dispatch({type:"DELETE_CURRENT_CHAT_MESSAGES",payload:e==null?void 0:e.state.currentChat.id}),e==null||e.dispatch({type:"UPDATE_CHAT_HISTORY",payload:e==null?void 0:e.state.currentChat}),c(void 0),o(!1),T(!1),l([])):(x({title:"Error clearing current chat",subtitle:"Please try again. If the problem persists, please contact the site administrator."}),g())),m(!1)},V=Te=>{try{const we=Te.match(/'innererror': ({.*})\}\}/);if(we){const Ae=we[1].replace(/'/g,'"').replace(/\bTrue\b/g,"true").replace(/\bFalse\b/g,"false"),ke=JSON.parse(Ae);let Se="";if(ke.content_filter_result.jailbreak.filtered===!0&&(Se="Jailbreak"),Se!=="")return`The prompt was filtered due to triggering Azure OpenAI’s content filtering system. +`).forEach(Ke=>{var Fe,Ne,$e,Pe,me;try{if(Ke!==""&&Ke!=="{}"){if(Mt+=Ke,Ee=JSON.parse(Mt),!(($e=(Ne=(Fe=Ee.choices)==null?void 0:Fe[0])==null?void 0:Ne.messages)!=null&&$e[0].content))throw Ie=I,Error();((Pe=Ee.choices)==null?void 0:Pe.length)>0&&(Ee.choices[0].messages.forEach(Ce=>{Ce.id=Ee.id,Ce.date=new Date().toISOString()}),(me=Ee.choices[0].messages)!=null&&me.some(Ce=>Ce.role===N)&&D(!1),Ee.choices[0].messages.forEach(Ce=>{Y(Ce,ke,we)})),Mt=""}else if(Ee.error)throw Error(Ee.error)}catch(Ce){if(Ce instanceof SyntaxError)console.log("Incomplete message. Continuing...");else throw console.error(Ce),Ce}})}let at;if(we){if(at=(ct=(pt=e==null?void 0:e.state)==null?void 0:pt.chatHistory)==null?void 0:ct.find(Oe=>Oe.id===we),!at){console.error("Conversation not found."),K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}zp.isEmpty(B)?at.messages.push(E):at.messages.push(B,E)}else at={id:Ee.history_metadata.conversation_id,title:Ee.history_metadata.title,messages:[ke],date:Ee.history_metadata.date},zp.isEmpty(B)?at.messages.push(E):at.messages.push(B,E);if(!at){K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:at}),zp.isEmpty(B)?l([...n,E]):l([...n,B,E])}}catch{if(Ae.signal.aborted)l([...n,ke]);else{let Tt=`An error occurred. ${Ie}`;(nt=Ee.error)!=null&&nt.message?Tt=Ee.error.message:typeof Ee.error=="string"&&(Tt=Ee.error),Tt=j(Tt);let Mt={id:kp(),role:P,content:Tt,date:new Date().toISOString()},at;if(we){if(at=(mt=(vt=e==null?void 0:e.state)==null?void 0:vt.chatHistory)==null?void 0:mt.find(Oe=>Oe.id===we),!at){console.error("Conversation not found."),K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}at.messages.push(Mt)}else{if(!Ee.history_metadata){console.error("Error retrieving data.",Ee);let Oe={id:kp(),role:P,content:Tt,date:new Date().toISOString()};l([...n,ke,Oe]),K(!1),D(!1),p.current=p.current.filter(Ye=>Ye!==Ae);return}at={id:Ee.history_metadata.conversation_id,title:Ee.history_metadata.title,messages:[ke],date:Ee.history_metadata.date},at.messages.push(Mt)}if(!at){K(!1),D(!1),p.current=p.current.filter(Oe=>Oe!==Ae);return}e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:at}),l([...n,Mt])}}finally{K(!1),D(!1),p.current=p.current.filter(xt=>xt!==Ae),u("Done")}return Ae.abort()},W=async()=>{var Te;m(!0),(Te=e==null?void 0:e.state.currentChat)!=null&&Te.id&&(e!=null&&e.state.isCosmosDBAvailable.cosmosDB)&&((await DTe(e==null?void 0:e.state.currentChat.id)).ok?(e==null||e.dispatch({type:"DELETE_CURRENT_CHAT_MESSAGES",payload:e==null?void 0:e.state.currentChat.id}),e==null||e.dispatch({type:"UPDATE_CHAT_HISTORY",payload:e==null?void 0:e.state.currentChat}),c(void 0),o(!1),T(!1),l([])):(x({title:"Error clearing current chat",subtitle:"Please try again. If the problem persists, please contact the site administrator."}),g())),m(!1)},V=Te=>{try{const we=Te.match(/'innererror': ({.*})\}\}/);if(we){const Ae=we[1].replace(/'/g,'"').replace(/\bTrue\b/g,"true").replace(/\bFalse\b/g,"false"),ke=JSON.parse(Ae);let Se="";if(ke.content_filter_result.jailbreak.filtered===!0&&(Se="Jailbreak"),Se!=="")return`The prompt was filtered due to triggering Azure OpenAI’s content filtering system. Reason: This prompt contains content flagged as `+Se+` -Please modify your prompt and retry. Learn more: https://go.microsoft.com/fwlink/?linkid=2198766`}}catch(we){console.error("Failed to parse the error:",we)}return Te},j=Te=>{let we=Te.substring(0,Te.indexOf("-")+1);const Ae="{\\'error\\': {\\'message\\': ";if(Te.includes(Ae))try{let ke=Te.substring(Te.indexOf(Ae));ke.endsWith("'}}")&&(ke=ke.substring(0,ke.length-3)),ke=ke.replaceAll("\\'","'"),Te=we+" "+ke}catch(ke){console.error("Error parsing inner error message: ",ke)}return V(Te)},$=()=>{u("Processing"),l([]),o(!1),T(!1),c(void 0),e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:null}),u("Done")},re=()=>{p.current.forEach(Te=>Te.abort()),D(!1),K(!1)};$t.useEffect(()=>{e!=null&&e.state.currentChat?l(e.state.currentChat.messages):l([])},[e==null?void 0:e.state.currentChat]),$t.useLayoutEffect(()=>{var we;const Te=async(Ae,ke)=>await RTe(Ae,ke);if(e&&e.state.currentChat&&v==="Done"){if(e.state.isCosmosDBAvailable.cosmosDB){if(!((we=e==null?void 0:e.state.currentChat)!=null&&we.messages)){console.error("Failure fetching current chat state.");return}const Ae=e.state.currentChat.messages.find(ke=>ke.role===P);Ae!=null&&Ae.content.includes(I)||Te(e.state.currentChat.messages,e.state.currentChat.id).then(ke=>{var Se,_e;if(!ke.ok){let Ee="An error occurred. Answers can't be saved at this time. If the problem persists, please contact the site administrator.",Ie={id:kp(),role:P,content:Ee,date:new Date().toISOString()};if(!((Se=e==null?void 0:e.state.currentChat)!=null&&Se.messages))throw{...new Error,message:"Failure fetching current chat state."};l([...(_e=e==null?void 0:e.state.currentChat)==null?void 0:_e.messages,Ie])}return ke}).catch(ke=>(console.error("Error: ",ke),{...new Response,ok:!1,status:500}))}e==null||e.dispatch({type:"UPDATE_CHAT_HISTORY",payload:e.state.currentChat}),l(e.state.currentChat.messages),u("Not Running")}},[v]),$t.useEffect(()=>{i!==void 0&&L()},[i]),$t.useLayoutEffect(()=>{var Te;(Te=S.current)==null||Te.scrollIntoView({behavior:"smooth"})},[k,v]);const ae=Te=>{c(Te),o(!0)},oe=()=>{T(!0)},de=Te=>{Te.url&&!Te.url.includes("blob.core")&&window.open(Te.url,"_blank")},te=Te=>{if(Te!=null&&Te.role&&(Te==null?void 0:Te.role)==="tool")try{return JSON.parse(Te.content).citations}catch{return[]}return[]},J=Te=>{var we;if(Te!=null&&Te.role&&(Te==null?void 0:Te.role)==="tool")try{const ke=(we=JSON.parse(Te.content).all_exec_results.at(-1))==null?void 0:we.code_exec_result;return ke===void 0?null:ke}catch{return null}return null},ie=()=>U||n&&n.length===0||b||(e==null?void 0:e.state.chatHistoryLoadingState)===jc.Loading;return Wn("div",{className:po.container,role:"main",children:y?Ei(wi,{className:po.chatEmptyState,children:[Wn(Fae,{className:po.chatIcon,style:{color:"darkorange",height:"200px",width:"200px"}}),Wn("h1",{className:po.chatEmptyStateTitle,children:"Authentication Not Configured"}),Ei("h2",{className:po.chatEmptyStateSubtitle,children:["This app does not have authentication configured. Please add an identity provider by finding your app in the"," ",Wn("a",{href:"https://portal.azure.com/",target:"_blank",children:"Azure Portal"}),"and following"," ",Wn("a",{href:"https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service#3-configure-authentication-and-authorization",target:"_blank",children:"these instructions"}),"."]}),Wn("h2",{className:po.chatEmptyStateSubtitle,style:{fontSize:"20px"},children:Wn("strong",{children:"Authentication configuration takes a few minutes to apply. "})}),Wn("h2",{className:po.chatEmptyStateSubtitle,style:{fontSize:"20px"},children:Wn("strong",{children:"If you deployed in the last 10 minutes, please wait and reload the page after 10 minutes."})})]}):Ei(wi,{horizontal:!0,className:po.chatRoot,children:[Ei("div",{className:po.chatContainer,children:[!n||n.length<1?Ei(wi,{className:po.chatEmptyState,children:[Wn("img",{src:t!=null&&t.chat_logo?t.chat_logo:Nj,className:po.chatIcon,"aria-hidden":"true"}),Wn("h1",{className:po.chatEmptyStateTitle,children:t==null?void 0:t.chat_title}),Wn("h2",{className:po.chatEmptyStateSubtitle,children:t==null?void 0:t.chat_description})]}):Ei("div",{className:po.chatMessageStream,style:{marginBottom:U?"40px":"0px"},role:"log",children:[n.map((Te,we)=>Wn(Nd,{children:Te.role==="user"?Wn("div",{className:po.chatMessageUser,tabIndex:0,children:Wn("div",{className:po.chatMessageUserMessage,children:Te.content})}):Te.role==="assistant"?Wn("div",{className:po.chatMessageGpt,children:Wn(aU,{answer:{answer:Te.content,citations:te(n[we-1]),plotly_data:J(n[we-1]),message_id:Te.id,feedback:Te.feedback,exec_results:s},onCitationClicked:Ae=>ae(Ae),onExectResultClicked:()=>oe()})}):Te.role===P?Ei("div",{className:po.chatMessageError,children:[Ei(wi,{horizontal:!0,className:po.chatMessageErrorContent,children:[Wn(Dae,{className:po.errorIcon,style:{color:"rgba(182, 52, 67, 1)"}}),Wn("span",{children:"Error"})]}),Wn("span",{className:po.chatMessageErrorContent,children:Te.content})]}):null})),k&&Wn(Nd,{children:Wn("div",{className:po.chatMessageGpt,children:Wn(aU,{answer:{answer:"Generating answer...",citations:[],plotly_data:null},onCitationClicked:()=>null,onExectResultClicked:()=>null})})}),Wn("div",{ref:S})]}),Ei(wi,{horizontal:!0,className:po.chatInput,children:[U&&n.length>0&&Ei(wi,{horizontal:!0,className:po.stopGeneratingContainer,role:"button","aria-label":"Stop generating",tabIndex:0,onClick:re,onKeyDown:Te=>Te.key==="Enter"||Te.key===" "?re():null,children:[Wn(zae,{className:po.stopGeneratingIcon,"aria-hidden":"true"}),Wn("span",{className:po.stopGeneratingText,"aria-hidden":"true",children:"Stop generating"})]}),Ei(wi,{children:[((fe=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:fe.status)!==vc.NotConfigured&&Wn(S2,{role:"button",styles:{icon:{color:"#FFFFFF"},iconDisabled:{color:"#BDBDBD !important"},root:{color:"#FFFFFF",background:"radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%)"},rootDisabled:{background:"#F0F0F0"}},className:po.newChatIcon,iconProps:{iconName:"Add"},onClick:$,disabled:ie(),"aria-label":"start a new chat button"}),Wn(S2,{role:"button",styles:{icon:{color:"#FFFFFF"},iconDisabled:{color:"#BDBDBD !important"},root:{color:"#FFFFFF",background:"radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%)"},rootDisabled:{background:"#F0F0F0"}},className:((Q=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:Q.status)!==vc.NotConfigured?po.clearChatBroom:po.clearChatBroomNoCosmos,iconProps:{iconName:"Broom"},onClick:((q=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:q.status)!==vc.NotConfigured?W:$,disabled:ie(),"aria-label":"clear chat button"}),Wn(cy,{hidden:C,onDismiss:d,dialogContentProps:M,modalProps:R})]}),Wn(cEe,{clearOnSend:!0,placeholder:"Type a new question...",disabled:U,onSend:(Te,we)=>{var Ae;(Ae=e==null?void 0:e.state.isCosmosDBAvailable)!=null&&Ae.cosmosDB?G(Te,we):H(Te,we)},conversationId:(ce=e==null?void 0:e.state.currentChat)!=null&&ce.id?(se=e==null?void 0:e.state.currentChat)==null?void 0:se.id:void 0})]})]}),n&&n.length>0&&A&&r&&Ei(wi.Item,{className:po.citationPanel,tabIndex:0,role:"tabpanel","aria-label":"Citations Panel",children:[Ei(wi,{"aria-label":"Citations Panel Header Container",horizontal:!0,className:po.citationPanelHeaderContainer,horizontalAlign:"space-between",verticalAlign:"center",children:[Wn("span",{"aria-label":"Citations",className:po.citationPanelHeader,children:"Citations"}),Wn($0,{iconProps:{iconName:"Cancel"},"aria-label":"Close citations panel",onClick:()=>o(!1)})]}),Wn("h5",{className:po.citationPanelTitle,tabIndex:0,title:r.url&&!r.url.includes("blob.core")?r.url:r.title??"",onClick:()=>de(r),children:r.title}),Wn("div",{tabIndex:0,children:Wn($w,{linkTarget:"_blank",className:po.citationPanelContent,children:QY.sanitize(r.content,{ALLOWED_TAGS:Pj}),remarkPlugins:[vY],rehypePlugins:[ave]})})]}),n&&n.length>0&&_&&Ei(wi.Item,{className:po.citationPanel,tabIndex:0,role:"tabpanel","aria-label":"Intents Panel",children:[Ei(wi,{"aria-label":"Intents Panel Header Container",horizontal:!0,className:po.citationPanelHeaderContainer,horizontalAlign:"space-between",verticalAlign:"center",children:[Wn("span",{"aria-label":"Intents",className:po.citationPanelHeader,children:"Intents"}),Wn($0,{iconProps:{iconName:"Cancel"},"aria-label":"Close intents panel",onClick:()=>T(!1)})]}),Wn(wi,{horizontalAlign:"space-between",children:s.map(Te=>Ei(wi,{className:po.exectResultList,verticalAlign:"space-between",children:[Ei(Nd,{children:[Wn("span",{children:"Intent:"})," ",Wn("p",{children:Te.intent})]}),Te.search_query&&Ei(Nd,{children:[Wn("span",{children:"Search Query:"}),Wn(L9,{style:k9,wrapLines:!0,lineProps:{style:{wordBreak:"break-all",whiteSpace:"pre-wrap"}},language:"sql",PreTag:"p",children:Te.search_query})]}),Te.search_result&&Ei(Nd,{children:[Wn("span",{children:"Search Result:"})," ",Wn("p",{children:Te.search_result})]}),Te.code_generated&&Ei(Nd,{children:[Wn("span",{children:"Code Generated:"}),Wn(L9,{style:k9,wrapLines:!0,lineProps:{style:{wordBreak:"break-all",whiteSpace:"pre-wrap"}},language:"python",PreTag:"p",children:Te.code_generated})]})]}))})]}),(e==null?void 0:e.state.isChatHistoryOpen)&&((pe=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:pe.status)!==vc.NotConfigured&&Wn(CEe,{})]})})},MEe="_shareButtonRoot_1ep5g_1",REe="_historyButtonRoot_1ep5g_25",zj={shareButtonRoot:MEe,historyButtonRoot:REe},IEe=({onClick:e,text:t})=>Wn(S2,{className:zj.shareButtonRoot,iconProps:{iconName:"Share"},onClick:e,text:t}),LEe=({onClick:e,text:t})=>Wn(H2,{className:zj.historyButtonRoot,text:t,iconProps:{iconName:"History"},onClick:e}),kEe="_layout_1e0ns_1",DEe="_header_1e0ns_7",NEe="_headerContainer_1e0ns_11",PEe="_headerTitleContainer_1e0ns_17",OEe="_headerTitle_1e0ns_17",FEe="_headerIcon_1e0ns_34",BEe="_shareButtonContainer_1e0ns_40",zEe="_shareButton_1e0ns_40",UEe="_shareButtonText_1e0ns_51",HEe="_urlTextBox_1e0ns_61",GEe="_copyButtonContainer_1e0ns_71",VEe="_copyButton_1e0ns_71",WEe="_copyButtonText_1e0ns_93",Yv={layout:kEe,header:DEe,headerContainer:NEe,headerTitleContainer:PEe,headerTitle:OEe,headerIcon:FEe,shareButtonContainer:BEe,shareButton:zEe,shareButtonText:UEe,urlTextBox:HEe,copyButtonContainer:GEe,copyButton:VEe,copyButtonText:WEe},YEe=()=>{var l,s,h;const[e,t]=$t.useState(!1),[i,S]=$t.useState(!1),[U,K]=$t.useState("Copy URL"),[k,D]=$t.useState("Share"),[r,c]=$t.useState("Hide chat history"),[A,o]=$t.useState("Show chat history"),_=$t.useContext(m1),T=(l=_==null?void 0:_.state.frontendSettings)==null?void 0:l.ui,p=()=>{t(!0)},y=()=>{t(!1),S(!1),K("Copy URL")},a=()=>{navigator.clipboard.writeText(window.location.href),S(!0)},n=()=>{_==null||_.dispatch({type:"TOGGLE_CHAT_HISTORY"})};return $t.useEffect(()=>{i&&K("Copied URL")},[i]),$t.useEffect(()=>{},[_==null?void 0:_.state.isCosmosDBAvailable.status]),$t.useEffect(()=>{const v=()=>{window.innerWidth<480?(D(void 0),c("Hide history"),o("Show history")):(D("Share"),c("Hide chat history"),o("Show chat history"))};return window.addEventListener("resize",v),v(),()=>window.removeEventListener("resize",v)},[]),Ei("div",{className:Yv.layout,children:[Wn("header",{className:Yv.header,role:"banner",children:Ei(wi,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[Ei(wi,{horizontal:!0,verticalAlign:"center",children:[Wn("img",{src:T!=null&&T.logo?T.logo:Nj,className:Yv.headerIcon,"aria-hidden":"true",alt:""}),Wn(AZ,{to:"/",className:Yv.headerTitleContainer,children:Wn("h1",{className:Yv.headerTitle,children:T==null?void 0:T.title})})]}),Ei(wi,{horizontal:!0,tokens:{childrenGap:4},className:Yv.shareButtonContainer,children:[((s=_==null?void 0:_.state.isCosmosDBAvailable)==null?void 0:s.status)!==vc.NotConfigured&&Wn(LEe,{onClick:n,text:(h=_==null?void 0:_.state)!=null&&h.isChatHistoryOpen?r:A}),(T==null?void 0:T.show_share_button)&&Wn(IEe,{onClick:p,text:k})]})]})}),Wn(pZ,{}),Wn(cy,{onDismiss:y,hidden:!e,styles:{main:[{selectors:{["@media (min-width: 480px)"]:{maxWidth:"600px",background:"#FFFFFF",boxShadow:"0px 14px 28.8px rgba(0, 0, 0, 0.24), 0px 0px 8px rgba(0, 0, 0, 0.2)",borderRadius:"8px",maxHeight:"200px",minHeight:"100px"}}}]},dialogContentProps:{title:"Share the web app",showCloseButton:!0},children:Ei(wi,{horizontal:!0,verticalAlign:"center",style:{gap:"8px"},children:[Wn(JR,{className:Yv.urlTextBox,defaultValue:window.location.href,readOnly:!0}),Ei("div",{className:Yv.copyButtonContainer,role:"button",tabIndex:0,"aria-label":"Copy",onClick:a,onKeyDown:v=>v.key==="Enter"||v.key===" "?a():null,children:[Wn(Lae,{className:Yv.copyButton}),Wn("span",{className:Yv.copyButtonText,children:U})]})]})})]})},jEe=()=>Wn("h1",{children:"404"});Une();function KEe(){return Wn(HTe,{children:Wn(EZ,{children:Wn(mZ,{children:Ei(uE,{path:"/",element:Wn(YEe,{}),children:[Wn(uE,{index:!0,element:Wn(_Ee,{})}),Wn(uE,{path:"*",element:Wn(jEe,{})})]})})})})}e8.createRoot(document.getElementById("root")).render(Wn(el.StrictMode,{children:Wn(KEe,{})})); -//# sourceMappingURL=index-252b88f2.js.map +Please modify your prompt and retry. Learn more: https://go.microsoft.com/fwlink/?linkid=2198766`}}catch(we){console.error("Failed to parse the error:",we)}return Te},j=Te=>{let we=Te.substring(0,Te.indexOf("-")+1);const Ae="{\\'error\\': {\\'message\\': ";if(Te.includes(Ae))try{let ke=Te.substring(Te.indexOf(Ae));ke.endsWith("'}}")&&(ke=ke.substring(0,ke.length-3)),ke=ke.replaceAll("\\'","'"),Te=we+" "+ke}catch(ke){console.error("Error parsing inner error message: ",ke)}return V(Te)},$=()=>{u("Processing"),l([]),o(!1),T(!1),c(void 0),e==null||e.dispatch({type:"UPDATE_CURRENT_CHAT",payload:null}),u("Done")},re=()=>{p.current.forEach(Te=>Te.abort()),D(!1),K(!1)};$t.useEffect(()=>{e!=null&&e.state.currentChat?l(e.state.currentChat.messages):l([])},[e==null?void 0:e.state.currentChat]),$t.useLayoutEffect(()=>{var we;const Te=async(Ae,ke)=>await ITe(Ae,ke);if(e&&e.state.currentChat&&v==="Done"){if(e.state.isCosmosDBAvailable.cosmosDB){if(!((we=e==null?void 0:e.state.currentChat)!=null&&we.messages)){console.error("Failure fetching current chat state.");return}const Ae=e.state.currentChat.messages.find(ke=>ke.role===P);Ae!=null&&Ae.content.includes(I)||Te(e.state.currentChat.messages,e.state.currentChat.id).then(ke=>{var Se,_e;if(!ke.ok){let Ee="An error occurred. Answers can't be saved at this time. If the problem persists, please contact the site administrator.",Ie={id:kp(),role:P,content:Ee,date:new Date().toISOString()};if(!((Se=e==null?void 0:e.state.currentChat)!=null&&Se.messages))throw{...new Error,message:"Failure fetching current chat state."};l([...(_e=e==null?void 0:e.state.currentChat)==null?void 0:_e.messages,Ie])}return ke}).catch(ke=>(console.error("Error: ",ke),{...new Response,ok:!1,status:500}))}e==null||e.dispatch({type:"UPDATE_CHAT_HISTORY",payload:e.state.currentChat}),l(e.state.currentChat.messages),u("Not Running")}},[v]),$t.useEffect(()=>{i!==void 0&&L()},[i]),$t.useLayoutEffect(()=>{var Te;(Te=S.current)==null||Te.scrollIntoView({behavior:"smooth"})},[k,v]);const ae=Te=>{c(Te),o(!0)},oe=()=>{T(!0)},de=Te=>{Te.url&&!Te.url.includes("blob.core")&&window.open(Te.url,"_blank")},te=Te=>{if(Te!=null&&Te.role&&(Te==null?void 0:Te.role)==="tool")try{return JSON.parse(Te.content).citations}catch{return[]}return[]},J=Te=>{var we;if(Te!=null&&Te.role&&(Te==null?void 0:Te.role)==="tool")try{const ke=(we=JSON.parse(Te.content).all_exec_results.at(-1))==null?void 0:we.code_exec_result;return ke===void 0?null:ke}catch{return null}return null},ie=()=>U||n&&n.length===0||b||(e==null?void 0:e.state.chatHistoryLoadingState)===jc.Loading;return Wn("div",{className:po.container,role:"main",children:y?Ei(wi,{className:po.chatEmptyState,children:[Wn(Fae,{className:po.chatIcon,style:{color:"darkorange",height:"200px",width:"200px"}}),Wn("h1",{className:po.chatEmptyStateTitle,children:"Authentication Not Configured"}),Ei("h2",{className:po.chatEmptyStateSubtitle,children:["This app does not have authentication configured. Please add an identity provider by finding your app in the"," ",Wn("a",{href:"https://portal.azure.com/",target:"_blank",children:"Azure Portal"}),"and following"," ",Wn("a",{href:"https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service#3-configure-authentication-and-authorization",target:"_blank",children:"these instructions"}),"."]}),Wn("h2",{className:po.chatEmptyStateSubtitle,style:{fontSize:"20px"},children:Wn("strong",{children:"Authentication configuration takes a few minutes to apply. "})}),Wn("h2",{className:po.chatEmptyStateSubtitle,style:{fontSize:"20px"},children:Wn("strong",{children:"If you deployed in the last 10 minutes, please wait and reload the page after 10 minutes."})})]}):Ei(wi,{horizontal:!0,className:po.chatRoot,children:[Ei("div",{className:po.chatContainer,children:[!n||n.length<1?Ei(wi,{className:po.chatEmptyState,children:[Wn("img",{src:t!=null&&t.chat_logo?t.chat_logo:Nj,className:po.chatIcon,"aria-hidden":"true"}),Wn("h1",{className:po.chatEmptyStateTitle,children:t==null?void 0:t.chat_title}),Wn("h2",{className:po.chatEmptyStateSubtitle,children:t==null?void 0:t.chat_description})]}):Ei("div",{className:po.chatMessageStream,style:{marginBottom:U?"40px":"0px"},role:"log",children:[n.map((Te,we)=>Wn(Nd,{children:Te.role==="user"?Wn("div",{className:po.chatMessageUser,tabIndex:0,children:Wn("div",{className:po.chatMessageUserMessage,children:Te.content})}):Te.role==="assistant"?Wn("div",{className:po.chatMessageGpt,children:Wn(aU,{answer:{answer:Te.content,citations:te(n[we-1]),plotly_data:J(n[we-1]),message_id:Te.id,feedback:Te.feedback,exec_results:s},onCitationClicked:Ae=>ae(Ae),onExectResultClicked:()=>oe()})}):Te.role===P?Ei("div",{className:po.chatMessageError,children:[Ei(wi,{horizontal:!0,className:po.chatMessageErrorContent,children:[Wn(Dae,{className:po.errorIcon,style:{color:"rgba(182, 52, 67, 1)"}}),Wn("span",{children:"Error"})]}),Wn("span",{className:po.chatMessageErrorContent,children:Te.content})]}):null})),k&&Wn(Nd,{children:Wn("div",{className:po.chatMessageGpt,children:Wn(aU,{answer:{answer:"Generating answer...",citations:[],plotly_data:null},onCitationClicked:()=>null,onExectResultClicked:()=>null})})}),Wn("div",{ref:S})]}),Ei(wi,{horizontal:!0,className:po.chatInput,children:[U&&n.length>0&&Ei(wi,{horizontal:!0,className:po.stopGeneratingContainer,role:"button","aria-label":"Stop generating",tabIndex:0,onClick:re,onKeyDown:Te=>Te.key==="Enter"||Te.key===" "?re():null,children:[Wn(zae,{className:po.stopGeneratingIcon,"aria-hidden":"true"}),Wn("span",{className:po.stopGeneratingText,"aria-hidden":"true",children:"Stop generating"})]}),Ei(wi,{children:[((fe=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:fe.status)!==vc.NotConfigured&&Wn(S2,{role:"button",styles:{icon:{color:"#FFFFFF"},iconDisabled:{color:"#BDBDBD !important"},root:{color:"#FFFFFF",background:"radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%)"},rootDisabled:{background:"#F0F0F0"}},className:po.newChatIcon,iconProps:{iconName:"Add"},onClick:$,disabled:ie(),"aria-label":"start a new chat button"}),Wn(S2,{role:"button",styles:{icon:{color:"#FFFFFF"},iconDisabled:{color:"#BDBDBD !important"},root:{color:"#FFFFFF",background:"radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%)"},rootDisabled:{background:"#F0F0F0"}},className:((Q=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:Q.status)!==vc.NotConfigured?po.clearChatBroom:po.clearChatBroomNoCosmos,iconProps:{iconName:"Broom"},onClick:((q=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:q.status)!==vc.NotConfigured?W:$,disabled:ie(),"aria-label":"clear chat button"}),Wn(cy,{hidden:C,onDismiss:d,dialogContentProps:M,modalProps:R})]}),Wn(fEe,{clearOnSend:!0,placeholder:"Type a new question...",disabled:U,onSend:(Te,we)=>{var Ae;(Ae=e==null?void 0:e.state.isCosmosDBAvailable)!=null&&Ae.cosmosDB?G(Te,we):H(Te,we)},conversationId:(ce=e==null?void 0:e.state.currentChat)!=null&&ce.id?(se=e==null?void 0:e.state.currentChat)==null?void 0:se.id:void 0})]})]}),n&&n.length>0&&A&&r&&Ei(wi.Item,{className:po.citationPanel,tabIndex:0,role:"tabpanel","aria-label":"Citations Panel",children:[Ei(wi,{"aria-label":"Citations Panel Header Container",horizontal:!0,className:po.citationPanelHeaderContainer,horizontalAlign:"space-between",verticalAlign:"center",children:[Wn("span",{"aria-label":"Citations",className:po.citationPanelHeader,children:"Citations"}),Wn($0,{iconProps:{iconName:"Cancel"},"aria-label":"Close citations panel",onClick:()=>o(!1)})]}),Wn("h5",{className:po.citationPanelTitle,tabIndex:0,title:r.url&&!r.url.includes("blob.core")?r.url:r.title??"",onClick:()=>de(r),children:r.title}),Wn("div",{tabIndex:0,children:Wn($w,{linkTarget:"_blank",className:po.citationPanelContent,children:QY.sanitize(r.content,{ALLOWED_TAGS:Pj}),remarkPlugins:[vY],rehypePlugins:[ave]})})]}),n&&n.length>0&&_&&Ei(wi.Item,{className:po.citationPanel,tabIndex:0,role:"tabpanel","aria-label":"Intents Panel",children:[Ei(wi,{"aria-label":"Intents Panel Header Container",horizontal:!0,className:po.citationPanelHeaderContainer,horizontalAlign:"space-between",verticalAlign:"center",children:[Wn("span",{"aria-label":"Intents",className:po.citationPanelHeader,children:"Intents"}),Wn($0,{iconProps:{iconName:"Cancel"},"aria-label":"Close intents panel",onClick:()=>T(!1)})]}),Wn(wi,{horizontalAlign:"space-between",children:s.map(Te=>Ei(wi,{className:po.exectResultList,verticalAlign:"space-between",children:[Ei(Nd,{children:[Wn("span",{children:"Intent:"})," ",Wn("p",{children:Te.intent})]}),Te.search_query&&Ei(Nd,{children:[Wn("span",{children:"Search Query:"}),Wn(L9,{style:k9,wrapLines:!0,lineProps:{style:{wordBreak:"break-all",whiteSpace:"pre-wrap"}},language:"sql",PreTag:"p",children:Te.search_query})]}),Te.search_result&&Ei(Nd,{children:[Wn("span",{children:"Search Result:"})," ",Wn("p",{children:Te.search_result})]}),Te.code_generated&&Ei(Nd,{children:[Wn("span",{children:"Code Generated:"}),Wn(L9,{style:k9,wrapLines:!0,lineProps:{style:{wordBreak:"break-all",whiteSpace:"pre-wrap"}},language:"python",PreTag:"p",children:Te.code_generated})]})]}))})]}),(e==null?void 0:e.state.isChatHistoryOpen)&&((pe=e==null?void 0:e.state.isCosmosDBAvailable)==null?void 0:pe.status)!==vc.NotConfigured&&Wn(_Ee,{})]})})},REe="_shareButtonRoot_1ep5g_1",IEe="_historyButtonRoot_1ep5g_25",zj={shareButtonRoot:REe,historyButtonRoot:IEe},LEe=({onClick:e,text:t})=>Wn(S2,{className:zj.shareButtonRoot,iconProps:{iconName:"Share"},onClick:e,text:t}),kEe=({onClick:e,text:t})=>Wn(H2,{className:zj.historyButtonRoot,text:t,iconProps:{iconName:"History"},onClick:e}),DEe="_layout_1e0ns_1",NEe="_header_1e0ns_7",PEe="_headerContainer_1e0ns_11",OEe="_headerTitleContainer_1e0ns_17",FEe="_headerTitle_1e0ns_17",BEe="_headerIcon_1e0ns_34",zEe="_shareButtonContainer_1e0ns_40",UEe="_shareButton_1e0ns_40",HEe="_shareButtonText_1e0ns_51",GEe="_urlTextBox_1e0ns_61",VEe="_copyButtonContainer_1e0ns_71",WEe="_copyButton_1e0ns_71",YEe="_copyButtonText_1e0ns_93",Yv={layout:DEe,header:NEe,headerContainer:PEe,headerTitleContainer:OEe,headerTitle:FEe,headerIcon:BEe,shareButtonContainer:zEe,shareButton:UEe,shareButtonText:HEe,urlTextBox:GEe,copyButtonContainer:VEe,copyButton:WEe,copyButtonText:YEe},jEe=()=>{var l,s,h;const[e,t]=$t.useState(!1),[i,S]=$t.useState(!1),[U,K]=$t.useState("Copy URL"),[k,D]=$t.useState("Share"),[r,c]=$t.useState("Hide chat history"),[A,o]=$t.useState("Show chat history"),_=$t.useContext(m1),T=(l=_==null?void 0:_.state.frontendSettings)==null?void 0:l.ui,p=()=>{t(!0)},y=()=>{t(!1),S(!1),K("Copy URL")},a=()=>{navigator.clipboard.writeText(window.location.href),S(!0)},n=()=>{_==null||_.dispatch({type:"TOGGLE_CHAT_HISTORY"})};return $t.useEffect(()=>{i&&K("Copied URL")},[i]),$t.useEffect(()=>{},[_==null?void 0:_.state.isCosmosDBAvailable.status]),$t.useEffect(()=>{const v=()=>{window.innerWidth<480?(D(void 0),c("Hide history"),o("Show history")):(D("Share"),c("Hide chat history"),o("Show chat history"))};return window.addEventListener("resize",v),v(),()=>window.removeEventListener("resize",v)},[]),Ei("div",{className:Yv.layout,children:[Wn("header",{className:Yv.header,role:"banner",children:Ei(wi,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[Ei(wi,{horizontal:!0,verticalAlign:"center",children:[Wn("img",{src:T!=null&&T.logo?T.logo:Nj,className:Yv.headerIcon,"aria-hidden":"true",alt:""}),Wn(AZ,{to:"/",className:Yv.headerTitleContainer,children:Wn("h1",{className:Yv.headerTitle,children:T==null?void 0:T.title})})]}),Ei(wi,{horizontal:!0,tokens:{childrenGap:4},className:Yv.shareButtonContainer,children:[((s=_==null?void 0:_.state.isCosmosDBAvailable)==null?void 0:s.status)!==vc.NotConfigured&&Wn(kEe,{onClick:n,text:(h=_==null?void 0:_.state)!=null&&h.isChatHistoryOpen?r:A}),(T==null?void 0:T.show_share_button)&&Wn(LEe,{onClick:p,text:k})]})]})}),Wn(pZ,{}),Wn(cy,{onDismiss:y,hidden:!e,styles:{main:[{selectors:{["@media (min-width: 480px)"]:{maxWidth:"600px",background:"#FFFFFF",boxShadow:"0px 14px 28.8px rgba(0, 0, 0, 0.24), 0px 0px 8px rgba(0, 0, 0, 0.2)",borderRadius:"8px",maxHeight:"200px",minHeight:"100px"}}}]},dialogContentProps:{title:"Share the web app",showCloseButton:!0},children:Ei(wi,{horizontal:!0,verticalAlign:"center",style:{gap:"8px"},children:[Wn(JR,{className:Yv.urlTextBox,defaultValue:window.location.href,readOnly:!0}),Ei("div",{className:Yv.copyButtonContainer,role:"button",tabIndex:0,"aria-label":"Copy",onClick:a,onKeyDown:v=>v.key==="Enter"||v.key===" "?a():null,children:[Wn(Lae,{className:Yv.copyButton}),Wn("span",{className:Yv.copyButtonText,children:U})]})]})})]})},KEe=()=>Wn("h1",{children:"404"});Une();function XEe(){return Wn(GTe,{children:Wn(EZ,{children:Wn(mZ,{children:Ei(uE,{path:"/",element:Wn(jEe,{}),children:[Wn(uE,{index:!0,element:Wn(MEe,{})}),Wn(uE,{path:"*",element:Wn(KEe,{})})]})})})})}e8.createRoot(document.getElementById("root")).render(Wn(el.StrictMode,{children:Wn(XEe,{})})); +//# sourceMappingURL=index-2e11eaf6.js.map diff --git a/static/assets/index-252b88f2.js.map b/static/assets/index-2e11eaf6.js.map similarity index 69% rename from static/assets/index-252b88f2.js.map rename to static/assets/index-2e11eaf6.js.map index b68aeeb682..eb7360dc0a 100644 --- a/static/assets/index-252b88f2.js.map +++ b/static/assets/index-2e11eaf6.js.map @@ -1 +1 @@ -{"version":3,"file":"index-252b88f2.js","sources":["../../frontend/node_modules/react/cjs/react.production.min.js","../../frontend/node_modules/react/index.js","../../frontend/node_modules/react/cjs/react-jsx-runtime.production.min.js","../../frontend/node_modules/react/jsx-runtime.js","../../frontend/node_modules/scheduler/cjs/scheduler.production.min.js","../../frontend/node_modules/scheduler/index.js","../../frontend/node_modules/react-dom/cjs/react-dom.production.min.js","../../frontend/node_modules/react-dom/index.js","../../frontend/node_modules/react-dom/client.js","../../frontend/node_modules/@remix-run/router/dist/router.js","../../frontend/node_modules/react-router/dist/index.js","../../frontend/node_modules/react-router-dom/dist/index.js","../../frontend/node_modules/@fluentui/set-version/lib/setVersion.js","../../frontend/node_modules/@fluentui/set-version/lib/index.js","../../frontend/node_modules/tslib/tslib.es6.mjs","../../frontend/node_modules/@fluentui/merge-styles/lib/Stylesheet.js","../../frontend/node_modules/@fluentui/merge-styles/lib/extractStyleParts.js","../../frontend/node_modules/@fluentui/merge-styles/lib/StyleOptionsState.js","../../frontend/node_modules/@fluentui/merge-styles/lib/transforms/kebabRules.js","../../frontend/node_modules/@fluentui/merge-styles/lib/getVendorSettings.js","../../frontend/node_modules/@fluentui/merge-styles/lib/transforms/prefixRules.js","../../frontend/node_modules/@fluentui/merge-styles/lib/transforms/provideUnits.js","../../frontend/node_modules/@fluentui/merge-styles/lib/transforms/rtlifyRules.js","../../frontend/node_modules/@fluentui/merge-styles/lib/tokenizeWithParentheses.js","../../frontend/node_modules/@fluentui/merge-styles/lib/styleToClassName.js","../../frontend/node_modules/@fluentui/merge-styles/lib/mergeStyles.js","../../frontend/node_modules/@fluentui/merge-styles/lib/concatStyleSets.js","../../frontend/node_modules/@fluentui/merge-styles/lib/mergeStyleSets.js","../../frontend/node_modules/@fluentui/merge-styles/lib/concatStyleSetsWithProps.js","../../frontend/node_modules/@fluentui/merge-styles/lib/fontFace.js","../../frontend/node_modules/@fluentui/merge-styles/lib/keyframes.js","../../frontend/node_modules/@fluentui/style-utilities/lib/utilities/buildClassMap.js","../../frontend/node_modules/@fluentui/utilities/lib/dom/canUseDOM.js","../../frontend/node_modules/@fluentui/utilities/lib/dom/getWindow.js","../../frontend/node_modules/@fluentui/utilities/lib/Async.js","../../frontend/node_modules/@fluentui/utilities/lib/object.js","../../frontend/node_modules/@fluentui/utilities/lib/EventGroup.js","../../frontend/node_modules/@fluentui/utilities/lib/dom/getDocument.js","../../frontend/node_modules/@fluentui/utilities/lib/scroll.js","../../frontend/node_modules/@fluentui/utilities/lib/warn/warn.js","../../frontend/node_modules/@fluentui/utilities/lib/warn/warnConditionallyRequiredProps.js","../../frontend/node_modules/@fluentui/utilities/lib/BaseComponent.js","../../frontend/node_modules/@fluentui/utilities/lib/DelayedRender.js","../../frontend/node_modules/@fluentui/utilities/lib/GlobalSettings.js","../../frontend/node_modules/@fluentui/utilities/lib/KeyCodes.js","../../frontend/node_modules/@fluentui/utilities/lib/Rectangle.js","../../frontend/node_modules/@fluentui/utilities/lib/appendFunction.js","../../frontend/node_modules/@fluentui/utilities/lib/aria.js","../../frontend/node_modules/@fluentui/utilities/lib/array.js","../../frontend/node_modules/@fluentui/utilities/lib/sessionStorage.js","../../frontend/node_modules/@fluentui/utilities/lib/rtl.js","../../frontend/node_modules/@fluentui/dom-utilities/lib/isVirtualElement.js","../../frontend/node_modules/@fluentui/dom-utilities/lib/getVirtualParent.js","../../frontend/node_modules/@fluentui/dom-utilities/lib/getParent.js","../../frontend/node_modules/@fluentui/dom-utilities/lib/elementContains.js","../../frontend/node_modules/@fluentui/dom-utilities/lib/findElementRecursive.js","../../frontend/node_modules/@fluentui/dom-utilities/lib/elementContainsAttribute.js","../../frontend/node_modules/@fluentui/dom-utilities/lib/setPortalAttribute.js","../../frontend/node_modules/@fluentui/dom-utilities/lib/portalContainsElement.js","../../frontend/node_modules/@fluentui/dom-utilities/lib/setVirtualParent.js","../../frontend/node_modules/@fluentui/utilities/lib/focus.js","../../frontend/node_modules/@fluentui/utilities/lib/dom/on.js","../../frontend/node_modules/@fluentui/utilities/lib/classNamesFunction.js","../../frontend/node_modules/@fluentui/utilities/lib/memoize.js","../../frontend/node_modules/@fluentui/utilities/lib/componentAs/composeComponentAs.js","../../frontend/node_modules/@fluentui/utilities/lib/controlled.js","../../frontend/node_modules/@fluentui/utilities/lib/css.js","../../frontend/node_modules/@fluentui/utilities/lib/customizations/Customizations.js","../../frontend/node_modules/@fluentui/utilities/lib/customizations/CustomizerContext.js","../../frontend/node_modules/@fluentui/utilities/lib/customizations/mergeSettings.js","../../frontend/node_modules/@fluentui/utilities/lib/customizations/mergeCustomizations.js","../../frontend/node_modules/@fluentui/utilities/lib/customizations/Customizer.js","../../frontend/node_modules/@fluentui/utilities/lib/hoistStatics.js","../../frontend/node_modules/@fluentui/utilities/lib/customizations/customizable.js","../../frontend/node_modules/@fluentui/utilities/lib/customizations/useCustomizationSettings.js","../../frontend/node_modules/@fluentui/utilities/lib/extendComponent.js","../../frontend/node_modules/@fluentui/utilities/lib/getId.js","../../frontend/node_modules/@fluentui/utilities/lib/properties.js","../../frontend/node_modules/@fluentui/utilities/lib/hoist.js","../../frontend/node_modules/@fluentui/utilities/lib/initializeComponentRef.js","../../frontend/node_modules/@fluentui/utilities/lib/keyboard.js","../../frontend/node_modules/@fluentui/utilities/lib/setFocusVisibility.js","../../frontend/node_modules/@fluentui/utilities/lib/useFocusRects.js","../../frontend/node_modules/@fluentui/utilities/lib/FocusRectsProvider.js","../../frontend/node_modules/@fluentui/utilities/lib/localStorage.js","../../frontend/node_modules/@fluentui/utilities/lib/language.js","../../frontend/node_modules/@fluentui/utilities/lib/merge.js","../../frontend/node_modules/@fluentui/utilities/lib/mobileDetector.js","../../frontend/node_modules/@fluentui/utilities/lib/modalize.js","../../frontend/node_modules/@fluentui/utilities/lib/osDetector.js","../../frontend/node_modules/@fluentui/utilities/lib/renderFunction/composeRenderFunction.js","../../frontend/node_modules/@fluentui/utilities/lib/styled.js","../../frontend/node_modules/@fluentui/utilities/lib/ie11Detector.js","../../frontend/node_modules/@fluentui/utilities/lib/getPropsWithDefaults.js","../../frontend/node_modules/@fluentui/utilities/lib/createMergedRef.js","../../frontend/node_modules/@fluentui/utilities/lib/useIsomorphicLayoutEffect.js","../../frontend/node_modules/@fluentui/style-utilities/lib/utilities/icons.js","../../frontend/node_modules/@fluentui/theme/lib/utilities/makeSemanticColors.js","../../frontend/node_modules/@fluentui/theme/lib/mergeThemes.js","../../frontend/node_modules/@fluentui/theme/lib/colors/DefaultPalette.js","../../frontend/node_modules/@fluentui/theme/lib/effects/FluentDepths.js","../../frontend/node_modules/@fluentui/theme/lib/effects/DefaultEffects.js","../../frontend/node_modules/@fluentui/theme/lib/spacing/DefaultSpacing.js","../../frontend/node_modules/@fluentui/theme/lib/motion/AnimationStyles.js","../../frontend/node_modules/@fluentui/theme/lib/fonts/FluentFonts.js","../../frontend/node_modules/@fluentui/theme/lib/fonts/createFontStyles.js","../../frontend/node_modules/@fluentui/theme/lib/fonts/DefaultFontStyles.js","../../frontend/node_modules/@fluentui/theme/lib/createTheme.js","../../frontend/node_modules/@fluentui/style-utilities/lib/styles/CommonStyles.js","../../frontend/node_modules/@fluentui/style-utilities/lib/styles/zIndexes.js","../../frontend/node_modules/@fluentui/style-utilities/lib/styles/getFocusStyle.js","../../frontend/node_modules/@fluentui/style-utilities/lib/styles/hiddenContentStyle.js","../../frontend/node_modules/@fluentui/style-utilities/lib/styles/getGlobalClassNames.js","../../frontend/node_modules/@microsoft/load-themed-styles/lib-es6/index.js","../../frontend/node_modules/@fluentui/style-utilities/lib/styles/theme.js","../../frontend/node_modules/@fluentui/style-utilities/lib/styles/GeneralStyles.js","../../frontend/node_modules/@fluentui/style-utilities/lib/styles/getPlaceholderStyles.js","../../frontend/node_modules/@fluentui/style-utilities/lib/classNames/AnimationClassNames.js","../../frontend/node_modules/@fluentui/style-utilities/lib/version.js","../../frontend/node_modules/@fluentui/style-utilities/lib/index.js","../../frontend/node_modules/@fluentui/react/lib/common/DirectionalHint.js","../../frontend/node_modules/@fluentui/react/lib/utilities/positioning/positioning.types.js","../../frontend/node_modules/@fluentui/react/lib/utilities/positioning/positioning.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useAsync.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useConst.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useBoolean.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useControllableValue.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useEventCallback.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useId.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useMergedRefs.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useOnEvent.js","../../frontend/node_modules/@fluentui/react-hooks/lib/usePrevious.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useSetTimeout.js","../../frontend/node_modules/@fluentui/react-window-provider/lib/WindowProvider.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useTarget.js","../../frontend/node_modules/@fluentui/react-hooks/lib/useUnmount.js","../../frontend/node_modules/@fluentui/react/lib/components/Popup/Popup.js","../../frontend/node_modules/@fluentui/react/lib/components/Callout/CalloutContent.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Callout/CalloutContent.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Callout/CalloutContent.js","../../frontend/node_modules/@fluentui/react-portal-compat-context/lib/PortalCompatContext.js","../../frontend/node_modules/@fluentui/react/lib/components/Fabric/Fabric.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Fabric/Fabric.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Fabric/Fabric.js","../../frontend/node_modules/@fluentui/react/lib/components/Layer/Layer.notification.js","../../frontend/node_modules/@fluentui/react/lib/components/Layer/Layer.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Layer/Layer.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Layer/Layer.js","../../frontend/node_modules/@fluentui/react/lib/components/Callout/Callout.js","../../frontend/node_modules/@fluentui/react/lib/components/FocusTrapZone/FocusTrapZone.js","../../frontend/node_modules/@fluentui/react/lib/components/Icon/Icon.types.js","../../frontend/node_modules/@fluentui/react/lib/components/Image/Image.types.js","../../frontend/node_modules/@fluentui/react/lib/components/Image/Image.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Image/Image.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Image/Image.js","../../frontend/node_modules/@fluentui/react/lib/components/Icon/Icon.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Icon/FontIcon.js","../../frontend/node_modules/@fluentui/react/lib/components/Icon/Icon.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Icon/Icon.js","../../frontend/node_modules/@fluentui/react/lib/components/Icon/ImageIcon.js","../../frontend/node_modules/@fluentui/react-focus/lib/components/FocusZone/FocusZone.types.js","../../frontend/node_modules/@fluentui/react-focus/lib/components/FocusZone/FocusZone.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenu.types.js","../../frontend/node_modules/@fluentui/react/lib/utilities/contextualMenu/contextualMenuUtility.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenuItem.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Divider/VerticalDivider.classNames.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenu.cnstyles.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenu.classNames.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenuItem.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.js","../../frontend/node_modules/@fluentui/react/lib/utilities/keytips/KeytipConstants.js","../../frontend/node_modules/@fluentui/react/lib/utilities/keytips/KeytipManager.js","../../frontend/node_modules/@fluentui/react/lib/utilities/keytips/KeytipUtils.js","../../frontend/node_modules/@fluentui/react/lib/components/KeytipData/useKeytipData.js","../../frontend/node_modules/@fluentui/react/lib/components/KeytipData/KeytipData.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuAnchor.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuButton.js","../../frontend/node_modules/@fluentui/react/lib/components/Divider/VerticalDivider.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Divider/VerticalDivider.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Divider/VerticalDivider.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuSplitButton.js","../../frontend/node_modules/@fluentui/react/lib/utilities/decorators/BaseDecorator.js","../../frontend/node_modules/@fluentui/react/lib/utilities/decorators/withResponsiveMode.js","../../frontend/node_modules/@fluentui/react/lib/utilities/hooks/useResponsiveMode.js","../../frontend/node_modules/@fluentui/react/lib/utilities/MenuContext/MenuContext.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenu.base.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenu.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenu.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/BaseButton.classNames.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/SplitButton/SplitButton.classNames.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/BaseButton.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/BaseButton.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/SplitButton/SplitButton.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/ButtonThemes.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/DefaultButton/DefaultButton.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/DefaultButton/DefaultButton.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/IconButton/IconButton.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/IconButton/IconButton.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/PrimaryButton/PrimaryButton.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/CommandBarButton/CommandBarButton.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Button/CommandBarButton/CommandBarButton.js","../../frontend/node_modules/@fluentui/react/lib/components/Checkbox/Checkbox.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Checkbox/Checkbox.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Checkbox/Checkbox.js","../../frontend/node_modules/@fluentui/react/lib/components/Label/Label.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Label/Label.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Label/Label.js","../../frontend/node_modules/@fluentui/react/lib/components/TextField/TextField.base.js","../../frontend/node_modules/@fluentui/react/lib/components/TextField/TextField.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/TextField/TextField.js","../../frontend/node_modules/@fluentui/react/lib/components/List/List.types.js","../../frontend/node_modules/@fluentui/react/lib/components/List/utils/scroll.js","../../frontend/node_modules/@fluentui/react/lib/components/List/List.js","../../frontend/node_modules/@fluentui/react/lib/components/Spinner/Spinner.types.js","../../frontend/node_modules/@fluentui/react/lib/components/Spinner/Spinner.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Spinner/Spinner.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Spinner/Spinner.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/DialogContent.types.js","../../frontend/node_modules/@fluentui/react/lib/components/Modal/Modal.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Overlay/Overlay.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Overlay/Overlay.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Overlay/Overlay.js","../../frontend/node_modules/@fluentui/react/lib/utilities/DraggableZone/DraggableZone.styles.js","../../frontend/node_modules/@fluentui/react/lib/utilities/DraggableZone/DraggableZone.js","../../frontend/node_modules/@fluentui/react/lib/components/Modal/Modal.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Modal/Modal.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/DialogFooter.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/DialogFooter.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/DialogFooter.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/DialogContent.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/DialogContent.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/DialogContent.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/Dialog.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/Dialog.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Dialog/Dialog.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-0.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-1.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-2.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-3.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-4.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-5.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-6.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-7.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-8.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-9.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-10.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-11.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-12.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-13.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-14.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-15.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-16.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/fabric-icons-17.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/iconAliases.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/version.js","../../frontend/node_modules/@fluentui/font-icons-mdl2/lib/index.js","../../frontend/node_modules/@fluentui/react/lib/components/Separator/Separator.base.js","../../frontend/node_modules/@fluentui/react/lib/components/Separator/Separator.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Separator/Separator.js","../../frontend/node_modules/@fluentui/foundation-legacy/lib/utilities.js","../../frontend/node_modules/@fluentui/foundation-legacy/lib/slots.js","../../frontend/node_modules/@fluentui/foundation-legacy/lib/createComponent.js","../../frontend/node_modules/@fluentui/react/lib/components/Stack/StackItem/StackItem.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Stack/StackItem/StackItem.js","../../frontend/node_modules/@fluentui/react/lib/components/Stack/StackUtils.js","../../frontend/node_modules/@fluentui/react/lib/components/Stack/Stack.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Stack/Stack.js","../../frontend/node_modules/@fluentui/react/lib/components/Text/Text.view.js","../../frontend/node_modules/@fluentui/react/lib/components/Text/Text.styles.js","../../frontend/node_modules/@fluentui/react/lib/components/Text/Text.js","../../frontend/node_modules/@griffel/core/constants.esm.js","../../frontend/node_modules/@emotion/hash/dist/emotion-hash.esm.js","../../frontend/node_modules/@griffel/core/runtime/utils/hashSequence.esm.js","../../frontend/node_modules/@griffel/core/runtime/reduceToClassNameForSlots.esm.js","../../frontend/node_modules/@griffel/core/mergeClasses.esm.js","../../frontend/node_modules/@griffel/core/runtime/utils/normalizeCSSBucketEntry.esm.js","../../frontend/node_modules/@griffel/core/renderer/createIsomorphicStyleSheet.esm.js","../../frontend/node_modules/@griffel/core/renderer/getStyleSheetForBucket.esm.js","../../frontend/node_modules/@griffel/core/renderer/createDOMRenderer.esm.js","../../frontend/node_modules/@griffel/core/__styles.esm.js","../../frontend/node_modules/@griffel/react/RendererContext.esm.js","../../frontend/node_modules/@griffel/react/TextDirectionContext.esm.js","../../frontend/node_modules/@griffel/react/__styles.esm.js","../../frontend/node_modules/@fluentui/react-icons/lib/utils/useIconState.js","../../frontend/node_modules/@fluentui/react-icons/lib/utils/wrapIcon.js","../../frontend/node_modules/@fluentui/react-icons/lib/icons/chunk-2.js","../../frontend/node_modules/@fluentui/react-icons/lib/icons/chunk-3.js","../../frontend/node_modules/@fluentui/react-icons/lib/icons/chunk-6.js","../../frontend/node_modules/@fluentui/react-icons/lib/sizedIcons/chunk-24.js","../../frontend/node_modules/react-markdown/lib/uri-transformer.js","../../frontend/node_modules/is-buffer/index.js","../../frontend/node_modules/unist-util-stringify-position/lib/index.js","../../frontend/node_modules/vfile-message/lib/index.js","../../frontend/node_modules/vfile/lib/minpath.browser.js","../../frontend/node_modules/vfile/lib/minproc.browser.js","../../frontend/node_modules/vfile/lib/minurl.shared.js","../../frontend/node_modules/vfile/lib/minurl.browser.js","../../frontend/node_modules/vfile/lib/index.js","../../frontend/node_modules/bail/index.js","../../frontend/node_modules/extend/index.js","../../frontend/node_modules/is-plain-obj/index.js","../../frontend/node_modules/trough/index.js","../../frontend/node_modules/unified/lib/index.js","../../frontend/node_modules/mdast-util-to-string/lib/index.js","../../frontend/node_modules/micromark-util-chunked/index.js","../../frontend/node_modules/micromark-util-combine-extensions/index.js","../../frontend/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js","../../frontend/node_modules/micromark-util-character/index.js","../../frontend/node_modules/micromark-factory-space/index.js","../../frontend/node_modules/micromark/lib/initialize/content.js","../../frontend/node_modules/micromark/lib/initialize/document.js","../../frontend/node_modules/micromark-util-classify-character/index.js","../../frontend/node_modules/micromark-util-resolve-all/index.js","../../frontend/node_modules/micromark-core-commonmark/lib/attention.js","../../frontend/node_modules/micromark-core-commonmark/lib/autolink.js","../../frontend/node_modules/micromark-core-commonmark/lib/blank-line.js","../../frontend/node_modules/micromark-core-commonmark/lib/block-quote.js","../../frontend/node_modules/micromark-core-commonmark/lib/character-escape.js","../../frontend/node_modules/decode-named-character-reference/index.dom.js","../../frontend/node_modules/micromark-core-commonmark/lib/character-reference.js","../../frontend/node_modules/micromark-core-commonmark/lib/code-fenced.js","../../frontend/node_modules/micromark-core-commonmark/lib/code-indented.js","../../frontend/node_modules/micromark-core-commonmark/lib/code-text.js","../../frontend/node_modules/micromark-util-subtokenize/index.js","../../frontend/node_modules/micromark-core-commonmark/lib/content.js","../../frontend/node_modules/micromark-factory-destination/index.js","../../frontend/node_modules/micromark-factory-label/index.js","../../frontend/node_modules/micromark-factory-title/index.js","../../frontend/node_modules/micromark-factory-whitespace/index.js","../../frontend/node_modules/micromark-util-normalize-identifier/index.js","../../frontend/node_modules/micromark-core-commonmark/lib/definition.js","../../frontend/node_modules/micromark-core-commonmark/lib/hard-break-escape.js","../../frontend/node_modules/micromark-core-commonmark/lib/heading-atx.js","../../frontend/node_modules/micromark-util-html-tag-name/index.js","../../frontend/node_modules/micromark-core-commonmark/lib/html-flow.js","../../frontend/node_modules/micromark-core-commonmark/lib/html-text.js","../../frontend/node_modules/micromark-core-commonmark/lib/label-end.js","../../frontend/node_modules/micromark-core-commonmark/lib/label-start-image.js","../../frontend/node_modules/micromark-core-commonmark/lib/label-start-link.js","../../frontend/node_modules/micromark-core-commonmark/lib/line-ending.js","../../frontend/node_modules/micromark-core-commonmark/lib/thematic-break.js","../../frontend/node_modules/micromark-core-commonmark/lib/list.js","../../frontend/node_modules/micromark-core-commonmark/lib/setext-underline.js","../../frontend/node_modules/micromark/lib/initialize/flow.js","../../frontend/node_modules/micromark/lib/initialize/text.js","../../frontend/node_modules/micromark/lib/create-tokenizer.js","../../frontend/node_modules/micromark/lib/constructs.js","../../frontend/node_modules/micromark/lib/parse.js","../../frontend/node_modules/micromark/lib/preprocess.js","../../frontend/node_modules/micromark/lib/postprocess.js","../../frontend/node_modules/micromark-util-decode-numeric-character-reference/index.js","../../frontend/node_modules/micromark-util-decode-string/index.js","../../frontend/node_modules/mdast-util-from-markdown/lib/index.js","../../frontend/node_modules/remark-parse/lib/index.js","../../frontend/node_modules/unist-builder/lib/index.js","../../frontend/node_modules/mdast-util-to-hast/lib/traverse.js","../../frontend/node_modules/unist-util-is/lib/index.js","../../frontend/node_modules/unist-util-visit-parents/lib/index.js","../../frontend/node_modules/unist-util-visit/lib/index.js","../../frontend/node_modules/unist-util-position/lib/index.js","../../frontend/node_modules/unist-util-generated/lib/index.js","../../frontend/node_modules/mdast-util-definitions/lib/index.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js","../../frontend/node_modules/mdast-util-to-hast/lib/wrap.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/list.js","../../frontend/node_modules/mdast-util-to-hast/lib/footer.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/break.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/code.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/delete.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/footnote.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/heading.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/html.js","../../frontend/node_modules/mdurl/encode.js","../../frontend/node_modules/mdast-util-to-hast/lib/revert.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/image.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/link.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/list-item.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/root.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/strong.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/table.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/text.js","../../frontend/node_modules/mdast-util-to-hast/lib/handlers/index.js","../../frontend/node_modules/mdast-util-to-hast/lib/index.js","../../frontend/node_modules/remark-rehype/index.js","../../frontend/node_modules/prop-types/lib/ReactPropTypesSecret.js","../../frontend/node_modules/prop-types/factoryWithThrowingShims.js","../../frontend/node_modules/prop-types/index.js","../../frontend/node_modules/property-information/lib/util/schema.js","../../frontend/node_modules/property-information/lib/util/merge.js","../../frontend/node_modules/property-information/lib/normalize.js","../../frontend/node_modules/property-information/lib/util/info.js","../../frontend/node_modules/property-information/lib/util/types.js","../../frontend/node_modules/property-information/lib/util/defined-info.js","../../frontend/node_modules/property-information/lib/util/create.js","../../frontend/node_modules/property-information/lib/xlink.js","../../frontend/node_modules/property-information/lib/xml.js","../../frontend/node_modules/property-information/lib/util/case-sensitive-transform.js","../../frontend/node_modules/property-information/lib/util/case-insensitive-transform.js","../../frontend/node_modules/property-information/lib/xmlns.js","../../frontend/node_modules/property-information/lib/aria.js","../../frontend/node_modules/property-information/lib/html.js","../../frontend/node_modules/property-information/lib/svg.js","../../frontend/node_modules/property-information/lib/find.js","../../frontend/node_modules/property-information/lib/hast-to-react.js","../../frontend/node_modules/property-information/index.js","../../frontend/node_modules/react-markdown/lib/rehype-filter.js","../../frontend/node_modules/react-is/cjs/react-is.production.min.js","../../frontend/node_modules/react-is/index.js","../../frontend/node_modules/hast-util-whitespace/index.js","../../frontend/node_modules/space-separated-tokens/index.js","../../frontend/node_modules/comma-separated-tokens/index.js","../../frontend/node_modules/inline-style-parser/index.js","../../frontend/node_modules/style-to-object/index.js","../../frontend/node_modules/react-markdown/lib/ast-to-react.js","../../frontend/node_modules/react-markdown/lib/react-markdown.js","../../frontend/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js","../../frontend/node_modules/micromark-extension-gfm-footnote/lib/syntax.js","../../frontend/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js","../../frontend/node_modules/micromark-extension-gfm-table/lib/edit-map.js","../../frontend/node_modules/micromark-extension-gfm-table/lib/infer.js","../../frontend/node_modules/micromark-extension-gfm-table/lib/syntax.js","../../frontend/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js","../../frontend/node_modules/micromark-extension-gfm/index.js","../../frontend/node_modules/ccount/index.js","../../frontend/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js","../../frontend/node_modules/mdast-util-find-and-replace/lib/index.js","../../frontend/node_modules/mdast-util-gfm-autolink-literal/lib/index.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/association.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/container-flow.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/pattern-compile.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/safe.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/track.js","../../frontend/node_modules/mdast-util-gfm-footnote/lib/index.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js","../../frontend/node_modules/mdast-util-gfm-strikethrough/lib/index.js","../../frontend/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js","../../frontend/node_modules/markdown-table/index.js","../../frontend/node_modules/mdast-util-gfm-table/lib/index.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js","../../frontend/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js","../../frontend/node_modules/mdast-util-to-markdown/lib/handle/list-item.js","../../frontend/node_modules/mdast-util-gfm-task-list-item/lib/index.js","../../frontend/node_modules/mdast-util-gfm/lib/index.js","../../frontend/node_modules/remark-gfm/index.js","../../frontend/node_modules/parse5/lib/common/unicode.js","../../frontend/node_modules/parse5/lib/common/error-codes.js","../../frontend/node_modules/parse5/lib/tokenizer/preprocessor.js","../../frontend/node_modules/parse5/lib/tokenizer/named-entity-data.js","../../frontend/node_modules/parse5/lib/tokenizer/index.js","../../frontend/node_modules/parse5/lib/common/html.js","../../frontend/node_modules/parse5/lib/parser/open-element-stack.js","../../frontend/node_modules/parse5/lib/parser/formatting-element-list.js","../../frontend/node_modules/parse5/lib/utils/mixin.js","../../frontend/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js","../../frontend/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js","../../frontend/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js","../../frontend/node_modules/parse5/lib/extensions/location-info/parser-mixin.js","../../frontend/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js","../../frontend/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js","../../frontend/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js","../../frontend/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js","../../frontend/node_modules/parse5/lib/tree-adapters/default.js","../../frontend/node_modules/parse5/lib/utils/merge-options.js","../../frontend/node_modules/parse5/lib/common/doctype.js","../../frontend/node_modules/parse5/lib/common/foreign-content.js","../../frontend/node_modules/parse5/lib/parser/index.js","../../frontend/node_modules/hast-util-parse-selector/lib/index.js","../../frontend/node_modules/hastscript/lib/core.js","../../frontend/node_modules/hastscript/lib/html.js","../../frontend/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js","../../frontend/node_modules/hastscript/lib/svg.js","../../frontend/node_modules/vfile-location/lib/index.js","../../frontend/node_modules/web-namespaces/index.js","../../frontend/node_modules/hast-util-from-parse5/lib/index.js","../../frontend/node_modules/zwitch/index.js","../../frontend/node_modules/hast-util-to-parse5/lib/index.js","../../frontend/node_modules/html-void-elements/index.js","../../frontend/node_modules/hast-util-raw/lib/index.js","../../frontend/node_modules/rehype-raw/index.js","../../frontend/node_modules/react-uuid/uuid.js","../../frontend/node_modules/lodash/lodash.js","../../frontend/node_modules/dompurify/dist/purify.es.mjs","../../frontend/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../frontend/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","../../frontend/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../../frontend/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../../frontend/node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../../frontend/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../../frontend/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../../frontend/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../../frontend/node_modules/@babel/runtime/helpers/esm/typeof.js","../../frontend/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../../frontend/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../../frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js","../../frontend/node_modules/@babel/runtime/helpers/esm/extends.js","../../frontend/node_modules/react-syntax-highlighter/dist/esm/create-element.js","../../frontend/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js","../../frontend/node_modules/react-syntax-highlighter/dist/esm/highlight.js","../../frontend/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.js","../../frontend/node_modules/xtend/immutable.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/util/schema.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/util/merge.js","../../frontend/node_modules/refractor/node_modules/property-information/normalize.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/util/info.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/util/types.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/util/defined-info.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/util/create.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/xlink.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/xml.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/util/case-sensitive-transform.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/util/case-insensitive-transform.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/xmlns.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/aria.js","../../frontend/node_modules/refractor/node_modules/property-information/lib/html.js","../../frontend/node_modules/refractor/node_modules/property-information/html.js","../../frontend/node_modules/refractor/node_modules/property-information/find.js","../../frontend/node_modules/refractor/node_modules/hast-util-parse-selector/index.js","../../frontend/node_modules/refractor/node_modules/space-separated-tokens/index.js","../../frontend/node_modules/refractor/node_modules/comma-separated-tokens/index.js","../../frontend/node_modules/refractor/node_modules/hastscript/factory.js","../../frontend/node_modules/refractor/node_modules/hastscript/html.js","../../frontend/node_modules/refractor/node_modules/hastscript/index.js","../../frontend/node_modules/is-decimal/index.js","../../frontend/node_modules/is-hexadecimal/index.js","../../frontend/node_modules/is-alphabetical/index.js","../../frontend/node_modules/is-alphanumerical/index.js","../../frontend/node_modules/parse-entities/decode-entity.browser.js","../../frontend/node_modules/parse-entities/index.js","../../frontend/node_modules/refractor/node_modules/prismjs/components/prism-core.js","../../frontend/node_modules/refractor/lang/markup.js","../../frontend/node_modules/refractor/lang/css.js","../../frontend/node_modules/refractor/lang/clike.js","../../frontend/node_modules/refractor/lang/javascript.js","../../frontend/node_modules/refractor/core.js","../../frontend/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.js","../../frontend/node_modules/refractor/lang/abap.js","../../frontend/node_modules/refractor/lang/abnf.js","../../frontend/node_modules/refractor/lang/actionscript.js","../../frontend/node_modules/refractor/lang/ada.js","../../frontend/node_modules/refractor/lang/agda.js","../../frontend/node_modules/refractor/lang/al.js","../../frontend/node_modules/refractor/lang/antlr4.js","../../frontend/node_modules/refractor/lang/apacheconf.js","../../frontend/node_modules/refractor/lang/sql.js","../../frontend/node_modules/refractor/lang/apex.js","../../frontend/node_modules/refractor/lang/apl.js","../../frontend/node_modules/refractor/lang/applescript.js","../../frontend/node_modules/refractor/lang/aql.js","../../frontend/node_modules/refractor/lang/c.js","../../frontend/node_modules/refractor/lang/cpp.js","../../frontend/node_modules/refractor/lang/arduino.js","../../frontend/node_modules/refractor/lang/arff.js","../../frontend/node_modules/refractor/lang/asciidoc.js","../../frontend/node_modules/refractor/lang/asm6502.js","../../frontend/node_modules/refractor/lang/asmatmel.js","../../frontend/node_modules/refractor/lang/csharp.js","../../frontend/node_modules/refractor/lang/aspnet.js","../../frontend/node_modules/refractor/lang/autohotkey.js","../../frontend/node_modules/refractor/lang/autoit.js","../../frontend/node_modules/refractor/lang/avisynth.js","../../frontend/node_modules/refractor/lang/avro-idl.js","../../frontend/node_modules/refractor/lang/bash.js","../../frontend/node_modules/refractor/lang/basic.js","../../frontend/node_modules/refractor/lang/batch.js","../../frontend/node_modules/refractor/lang/bbcode.js","../../frontend/node_modules/refractor/lang/bicep.js","../../frontend/node_modules/refractor/lang/birb.js","../../frontend/node_modules/refractor/lang/bison.js","../../frontend/node_modules/refractor/lang/bnf.js","../../frontend/node_modules/refractor/lang/brainfuck.js","../../frontend/node_modules/refractor/lang/brightscript.js","../../frontend/node_modules/refractor/lang/bro.js","../../frontend/node_modules/refractor/lang/bsl.js","../../frontend/node_modules/refractor/lang/cfscript.js","../../frontend/node_modules/refractor/lang/chaiscript.js","../../frontend/node_modules/refractor/lang/cil.js","../../frontend/node_modules/refractor/lang/clojure.js","../../frontend/node_modules/refractor/lang/cmake.js","../../frontend/node_modules/refractor/lang/cobol.js","../../frontend/node_modules/refractor/lang/coffeescript.js","../../frontend/node_modules/refractor/lang/concurnas.js","../../frontend/node_modules/refractor/lang/coq.js","../../frontend/node_modules/refractor/lang/ruby.js","../../frontend/node_modules/refractor/lang/crystal.js","../../frontend/node_modules/refractor/lang/cshtml.js","../../frontend/node_modules/refractor/lang/csp.js","../../frontend/node_modules/refractor/lang/css-extras.js","../../frontend/node_modules/refractor/lang/csv.js","../../frontend/node_modules/refractor/lang/cypher.js","../../frontend/node_modules/refractor/lang/d.js","../../frontend/node_modules/refractor/lang/dart.js","../../frontend/node_modules/refractor/lang/dataweave.js","../../frontend/node_modules/refractor/lang/dax.js","../../frontend/node_modules/refractor/lang/dhall.js","../../frontend/node_modules/refractor/lang/diff.js","../../frontend/node_modules/refractor/lang/markup-templating.js","../../frontend/node_modules/refractor/lang/django.js","../../frontend/node_modules/refractor/lang/dns-zone-file.js","../../frontend/node_modules/refractor/lang/docker.js","../../frontend/node_modules/refractor/lang/dot.js","../../frontend/node_modules/refractor/lang/ebnf.js","../../frontend/node_modules/refractor/lang/editorconfig.js","../../frontend/node_modules/refractor/lang/eiffel.js","../../frontend/node_modules/refractor/lang/ejs.js","../../frontend/node_modules/refractor/lang/elixir.js","../../frontend/node_modules/refractor/lang/elm.js","../../frontend/node_modules/refractor/lang/erb.js","../../frontend/node_modules/refractor/lang/erlang.js","../../frontend/node_modules/refractor/lang/lua.js","../../frontend/node_modules/refractor/lang/etlua.js","../../frontend/node_modules/refractor/lang/excel-formula.js","../../frontend/node_modules/refractor/lang/factor.js","../../frontend/node_modules/refractor/lang/false.js","../../frontend/node_modules/refractor/lang/firestore-security-rules.js","../../frontend/node_modules/refractor/lang/flow.js","../../frontend/node_modules/refractor/lang/fortran.js","../../frontend/node_modules/refractor/lang/fsharp.js","../../frontend/node_modules/refractor/lang/ftl.js","../../frontend/node_modules/refractor/lang/gap.js","../../frontend/node_modules/refractor/lang/gcode.js","../../frontend/node_modules/refractor/lang/gdscript.js","../../frontend/node_modules/refractor/lang/gedcom.js","../../frontend/node_modules/refractor/lang/gherkin.js","../../frontend/node_modules/refractor/lang/git.js","../../frontend/node_modules/refractor/lang/glsl.js","../../frontend/node_modules/refractor/lang/gml.js","../../frontend/node_modules/refractor/lang/gn.js","../../frontend/node_modules/refractor/lang/go-module.js","../../frontend/node_modules/refractor/lang/go.js","../../frontend/node_modules/refractor/lang/graphql.js","../../frontend/node_modules/refractor/lang/groovy.js","../../frontend/node_modules/refractor/lang/haml.js","../../frontend/node_modules/refractor/lang/handlebars.js","../../frontend/node_modules/refractor/lang/haskell.js","../../frontend/node_modules/refractor/lang/haxe.js","../../frontend/node_modules/refractor/lang/hcl.js","../../frontend/node_modules/refractor/lang/hlsl.js","../../frontend/node_modules/refractor/lang/hoon.js","../../frontend/node_modules/refractor/lang/hpkp.js","../../frontend/node_modules/refractor/lang/hsts.js","../../frontend/node_modules/refractor/lang/http.js","../../frontend/node_modules/refractor/lang/ichigojam.js","../../frontend/node_modules/refractor/lang/icon.js","../../frontend/node_modules/refractor/lang/icu-message-format.js","../../frontend/node_modules/refractor/lang/idris.js","../../frontend/node_modules/refractor/lang/iecst.js","../../frontend/node_modules/refractor/lang/ignore.js","../../frontend/node_modules/refractor/lang/inform7.js","../../frontend/node_modules/refractor/lang/ini.js","../../frontend/node_modules/refractor/lang/io.js","../../frontend/node_modules/refractor/lang/j.js","../../frontend/node_modules/refractor/lang/java.js","../../frontend/node_modules/refractor/lang/javadoclike.js","../../frontend/node_modules/refractor/lang/javadoc.js","../../frontend/node_modules/refractor/lang/javastacktrace.js","../../frontend/node_modules/refractor/lang/jexl.js","../../frontend/node_modules/refractor/lang/jolie.js","../../frontend/node_modules/refractor/lang/jq.js","../../frontend/node_modules/refractor/lang/js-extras.js","../../frontend/node_modules/refractor/lang/js-templates.js","../../frontend/node_modules/refractor/lang/typescript.js","../../frontend/node_modules/refractor/lang/jsdoc.js","../../frontend/node_modules/refractor/lang/json.js","../../frontend/node_modules/refractor/lang/json5.js","../../frontend/node_modules/refractor/lang/jsonp.js","../../frontend/node_modules/refractor/lang/jsstacktrace.js","../../frontend/node_modules/refractor/lang/jsx.js","../../frontend/node_modules/refractor/lang/julia.js","../../frontend/node_modules/refractor/lang/keepalived.js","../../frontend/node_modules/refractor/lang/keyman.js","../../frontend/node_modules/refractor/lang/kotlin.js","../../frontend/node_modules/refractor/lang/kumir.js","../../frontend/node_modules/refractor/lang/kusto.js","../../frontend/node_modules/refractor/lang/latex.js","../../frontend/node_modules/refractor/lang/php.js","../../frontend/node_modules/refractor/lang/latte.js","../../frontend/node_modules/refractor/lang/less.js","../../frontend/node_modules/refractor/lang/scheme.js","../../frontend/node_modules/refractor/lang/lilypond.js","../../frontend/node_modules/refractor/lang/liquid.js","../../frontend/node_modules/refractor/lang/lisp.js","../../frontend/node_modules/refractor/lang/livescript.js","../../frontend/node_modules/refractor/lang/llvm.js","../../frontend/node_modules/refractor/lang/log.js","../../frontend/node_modules/refractor/lang/lolcode.js","../../frontend/node_modules/refractor/lang/magma.js","../../frontend/node_modules/refractor/lang/makefile.js","../../frontend/node_modules/refractor/lang/markdown.js","../../frontend/node_modules/refractor/lang/matlab.js","../../frontend/node_modules/refractor/lang/maxscript.js","../../frontend/node_modules/refractor/lang/mel.js","../../frontend/node_modules/refractor/lang/mermaid.js","../../frontend/node_modules/refractor/lang/mizar.js","../../frontend/node_modules/refractor/lang/mongodb.js","../../frontend/node_modules/refractor/lang/monkey.js","../../frontend/node_modules/refractor/lang/moonscript.js","../../frontend/node_modules/refractor/lang/n1ql.js","../../frontend/node_modules/refractor/lang/n4js.js","../../frontend/node_modules/refractor/lang/nand2tetris-hdl.js","../../frontend/node_modules/refractor/lang/naniscript.js","../../frontend/node_modules/refractor/lang/nasm.js","../../frontend/node_modules/refractor/lang/neon.js","../../frontend/node_modules/refractor/lang/nevod.js","../../frontend/node_modules/refractor/lang/nginx.js","../../frontend/node_modules/refractor/lang/nim.js","../../frontend/node_modules/refractor/lang/nix.js","../../frontend/node_modules/refractor/lang/nsis.js","../../frontend/node_modules/refractor/lang/objectivec.js","../../frontend/node_modules/refractor/lang/ocaml.js","../../frontend/node_modules/refractor/lang/opencl.js","../../frontend/node_modules/refractor/lang/openqasm.js","../../frontend/node_modules/refractor/lang/oz.js","../../frontend/node_modules/refractor/lang/parigp.js","../../frontend/node_modules/refractor/lang/parser.js","../../frontend/node_modules/refractor/lang/pascal.js","../../frontend/node_modules/refractor/lang/pascaligo.js","../../frontend/node_modules/refractor/lang/pcaxis.js","../../frontend/node_modules/refractor/lang/peoplecode.js","../../frontend/node_modules/refractor/lang/perl.js","../../frontend/node_modules/refractor/lang/php-extras.js","../../frontend/node_modules/refractor/lang/phpdoc.js","../../frontend/node_modules/refractor/lang/plsql.js","../../frontend/node_modules/refractor/lang/powerquery.js","../../frontend/node_modules/refractor/lang/powershell.js","../../frontend/node_modules/refractor/lang/processing.js","../../frontend/node_modules/refractor/lang/prolog.js","../../frontend/node_modules/refractor/lang/promql.js","../../frontend/node_modules/refractor/lang/properties.js","../../frontend/node_modules/refractor/lang/protobuf.js","../../frontend/node_modules/refractor/lang/psl.js","../../frontend/node_modules/refractor/lang/pug.js","../../frontend/node_modules/refractor/lang/puppet.js","../../frontend/node_modules/refractor/lang/pure.js","../../frontend/node_modules/refractor/lang/purebasic.js","../../frontend/node_modules/refractor/lang/purescript.js","../../frontend/node_modules/refractor/lang/python.js","../../frontend/node_modules/refractor/lang/q.js","../../frontend/node_modules/refractor/lang/qml.js","../../frontend/node_modules/refractor/lang/qore.js","../../frontend/node_modules/refractor/lang/qsharp.js","../../frontend/node_modules/refractor/lang/r.js","../../frontend/node_modules/refractor/lang/racket.js","../../frontend/node_modules/refractor/lang/reason.js","../../frontend/node_modules/refractor/lang/regex.js","../../frontend/node_modules/refractor/lang/rego.js","../../frontend/node_modules/refractor/lang/renpy.js","../../frontend/node_modules/refractor/lang/rest.js","../../frontend/node_modules/refractor/lang/rip.js","../../frontend/node_modules/refractor/lang/roboconf.js","../../frontend/node_modules/refractor/lang/robotframework.js","../../frontend/node_modules/refractor/lang/rust.js","../../frontend/node_modules/refractor/lang/sas.js","../../frontend/node_modules/refractor/lang/sass.js","../../frontend/node_modules/refractor/lang/scala.js","../../frontend/node_modules/refractor/lang/scss.js","../../frontend/node_modules/refractor/lang/shell-session.js","../../frontend/node_modules/refractor/lang/smali.js","../../frontend/node_modules/refractor/lang/smalltalk.js","../../frontend/node_modules/refractor/lang/smarty.js","../../frontend/node_modules/refractor/lang/sml.js","../../frontend/node_modules/refractor/lang/solidity.js","../../frontend/node_modules/refractor/lang/solution-file.js","../../frontend/node_modules/refractor/lang/soy.js","../../frontend/node_modules/refractor/lang/turtle.js","../../frontend/node_modules/refractor/lang/sparql.js","../../frontend/node_modules/refractor/lang/splunk-spl.js","../../frontend/node_modules/refractor/lang/sqf.js","../../frontend/node_modules/refractor/lang/squirrel.js","../../frontend/node_modules/refractor/lang/stan.js","../../frontend/node_modules/refractor/lang/stylus.js","../../frontend/node_modules/refractor/lang/swift.js","../../frontend/node_modules/refractor/lang/systemd.js","../../frontend/node_modules/refractor/lang/t4-templating.js","../../frontend/node_modules/refractor/lang/t4-cs.js","../../frontend/node_modules/refractor/lang/vbnet.js","../../frontend/node_modules/refractor/lang/t4-vb.js","../../frontend/node_modules/refractor/lang/yaml.js","../../frontend/node_modules/refractor/lang/tap.js","../../frontend/node_modules/refractor/lang/tcl.js","../../frontend/node_modules/refractor/lang/textile.js","../../frontend/node_modules/refractor/lang/toml.js","../../frontend/node_modules/refractor/lang/tremor.js","../../frontend/node_modules/refractor/lang/tsx.js","../../frontend/node_modules/refractor/lang/tt2.js","../../frontend/node_modules/refractor/lang/twig.js","../../frontend/node_modules/refractor/lang/typoscript.js","../../frontend/node_modules/refractor/lang/unrealscript.js","../../frontend/node_modules/refractor/lang/uorazor.js","../../frontend/node_modules/refractor/lang/uri.js","../../frontend/node_modules/refractor/lang/v.js","../../frontend/node_modules/refractor/lang/vala.js","../../frontend/node_modules/refractor/lang/velocity.js","../../frontend/node_modules/refractor/lang/verilog.js","../../frontend/node_modules/refractor/lang/vhdl.js","../../frontend/node_modules/refractor/lang/vim.js","../../frontend/node_modules/refractor/lang/visual-basic.js","../../frontend/node_modules/refractor/lang/warpscript.js","../../frontend/node_modules/refractor/lang/wasm.js","../../frontend/node_modules/refractor/lang/web-idl.js","../../frontend/node_modules/refractor/lang/wiki.js","../../frontend/node_modules/refractor/lang/wolfram.js","../../frontend/node_modules/refractor/lang/wren.js","../../frontend/node_modules/refractor/lang/xeora.js","../../frontend/node_modules/refractor/lang/xml-doc.js","../../frontend/node_modules/refractor/lang/xojo.js","../../frontend/node_modules/refractor/lang/xquery.js","../../frontend/node_modules/refractor/lang/yang.js","../../frontend/node_modules/refractor/lang/zig.js","../../frontend/node_modules/refractor/index.js","../../frontend/node_modules/react-syntax-highlighter/dist/esm/prism.js","../../frontend/node_modules/react-syntax-highlighter/dist/esm/styles/prism/nord.js","../../frontend/src/assets/Contoso.svg","../../frontend/src/constants/xssAllowTags.ts","../../frontend/src/api/models.ts","../../frontend/src/api/api.ts","../../frontend/node_modules/remark-supersub/lib/index.js","../../frontend/node_modules/react-plotly.js/factory.js","../../frontend/node_modules/plotly.js/dist/plotly.js","../../frontend/node_modules/react-plotly.js/react-plotly.js","../../frontend/src/state/AppReducer.tsx","../../frontend/src/state/AppProvider.tsx","../../frontend/src/components/Answer/AnswerParser.tsx","../../frontend/src/components/Answer/Answer.tsx","../../frontend/src/assets/Send.svg","../../frontend/src/components/QuestionInput/QuestionInput.tsx","../../frontend/src/components/ChatHistory/ChatHistoryListItem.tsx","../../frontend/src/components/ChatHistory/ChatHistoryList.tsx","../../frontend/src/components/ChatHistory/ChatHistoryPanel.tsx","../../frontend/src/pages/chat/Chat.tsx","../../frontend/src/components/common/Button.tsx","../../frontend/src/pages/layout/Layout.tsx","../../frontend/src/pages/NoPage.tsx","../../frontend/src/index.tsx"],"sourcesContent":["/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),ca=require(\"scheduler\");function p(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cb}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"\")&&(k=k.replace(\"\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e\"+b.valueOf().toString()+\"\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a>=g;e-=g;rg=1<<32-oc(b)+e|c<w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;ww?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&uh(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=sh(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Ah(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=yh(f.type,f.key,f.props,null,a.mode,h),h.ref=sh(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=zh(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);th(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=xh(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(a){if(a===Dh)throw Error(p(174));return a}function Ih(a,b){G(Gh,b);G(Fh,a);G(Eh,Dh);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a)}E(Eh);G(Eh,b)}function Jh(){E(Eh);E(Fh);E(Gh)}\nfunction Kh(a){Hh(Gh.current);var b=Hh(Eh.current);var c=lb(b,a.type);b!==c&&(G(Fh,a),G(Eh,c))}function Lh(a){Fh.current===a&&(E(Eh),E(Fh))}var M=Uf(0);\nfunction Mh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||\"$?\"===c.data||\"$!\"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Nh=[];\nfunction Oh(){for(var a=0;ac?c:4;a(!0);var d=Qh.transition;Qh.transition={};try{a(!1),b()}finally{C=c,Qh.transition=d}}function Fi(){return di().memoizedState}\nfunction Gi(a,b,c){var d=lh(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,c);else if(c=Yg(a,b,c,d),null!==c){var e=L();mh(c,a,d,e);Ji(c,b,d)}}\nfunction ri(a,b,c){var d=lh(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,Xg(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=Yg(a,b,e,d);null!==c&&(e=L(),mh(c,a,d,e),Ji(c,b,d))}}\nfunction Hi(a){var b=a.alternate;return a===N||null!==b&&b===N}function Ii(a,b){Th=Sh=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Ji(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(a,b){ci().memoizedState=[a,void 0===b?null:b];return a},useContext:Vg,useEffect:vi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ti(4194308,\n4,yi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ti(4194308,4,a,b)},useInsertionEffect:function(a,b){return ti(4,2,a,b)},useMemo:function(a,b){var c=ci();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=ci();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Gi.bind(null,N,a);return[d.memoizedState,a]},useRef:function(a){var b=\nci();a={current:a};return b.memoizedState=a},useState:qi,useDebugValue:Ai,useDeferredValue:function(a){return ci().memoizedState=a},useTransition:function(){var a=qi(!1),b=a[0];a=Ei.bind(null,a[1]);ci().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=N,e=ci();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===R)throw Error(p(349));0!==(Rh&30)||ni(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;vi(ki.bind(null,d,\nf,a),[a]);d.flags|=2048;li(9,mi.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=ci(),b=R.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Uh++;0\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;Aj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;eHj&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304)}else{if(!d)if(a=Mh(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Ej(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Hj&&1073741824!==c&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=M.current,G(M,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Ij(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(gj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Jj(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return Jh(),E(Wf),E(H),Oh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Lh(b),null;case 13:E(M);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(b.type._context),null;case 22:case 23:return Ij(),\nnull;case 24:return null;default:return null}}var Kj=!1,U=!1,Lj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Mj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Nj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Oj=!1;\nfunction Pj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Lg(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Oj;Oj=!1;return n}\nfunction Qj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Nj(b,c,f)}e=e.next}while(e!==d)}}function Rj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Sj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Tj(a){var b=a.alternate;null!==b&&(a.alternate=null,Tj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Uj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Vj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Uj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}\nfunction Xj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Xj(a,b,c),a=a.sibling;null!==a;)Xj(a,b,c),a=a.sibling}var X=null,Yj=!1;function Zj(a,b,c){for(c=c.child;null!==c;)ak(a,b,c),c=c.sibling}\nfunction ak(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Mj(c,b);case 6:var d=X,e=Yj;X=null;Zj(a,b,c);X=d;Yj=e;null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Yj;X=c.stateNode.containerInfo;Yj=!0;\nZj(a,b,c);X=d;Yj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Nj(c,b,g):0!==(f&4)&&Nj(c,b,g));e=e.next}while(e!==d)}Zj(a,b,c);break;case 1:if(!U&&(Mj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Zj(a,b,c);break;case 21:Zj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Zj(a,b,c),U=d):Zj(a,b,c);break;default:Zj(a,b,c)}}function bk(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Lj);b.forEach(function(b){var d=ck.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction dk(a,b){var c=b.deletions;if(null!==c)for(var d=0;de&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*mk(d/1960))-d;if(10a?16:a;if(null===xk)var d=!1;else{a=xk;xk=null;yk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;kB()-gk?Lk(a,0):sk|=c);Ek(a,b)}function Zk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=L();a=Zg(a,b);null!==a&&(Ac(a,b,c),Ek(a,c))}function vj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Zk(a,c)}\nfunction ck(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Zk(a,c)}var Wk;\nWk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)Ug=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return Ug=!1,zj(a,b,c);Ug=0!==(a.flags&131072)?!0:!1}else Ug=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;jj(a,b);a=b.pendingProps;var e=Yf(b,H.current);Tg(b,c);e=Xh(null,b,d,a,e,c);var f=bi();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,ah(b),e.updater=nh,b.stateNode=e,e._reactInternals=b,rh(b,d,a,c),b=kj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Yi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{jj(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=$k(d);a=Lg(d,a);switch(e){case 0:b=dj(null,b,d,a,c);break a;case 1:b=ij(null,b,d,a,c);break a;case 11:b=Zi(null,b,d,a,c);break a;case 14:b=aj(null,b,d,Lg(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),dj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),ij(a,b,d,e,c);case 3:a:{lj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;bh(a,b);gh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ki(Error(p(423)),b);b=mj(a,b,d,c,e);break a}else if(d!==e){e=Ki(Error(p(424)),b);b=mj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Ch(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=$i(a,b,c);break a}Yi(a,b,d,c)}b=b.child}return b;case 5:return Kh(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\nhj(a,b),Yi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return pj(a,b,c);case 4:return Ih(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Bh(b,null,d,c):Yi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),Zi(a,b,d,e,c);case 7:return Yi(a,b,b.pendingProps,c),b.child;case 8:return Yi(a,b,b.pendingProps.children,c),b.child;case 12:return Yi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Mg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=$i(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=ch(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);Sg(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);Sg(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Yi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,Tg(b,c),e=Vg(e),d=d(e),b.flags|=1,Yi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Lg(d,b.pendingProps),e=Lg(d.type,e),aj(a,b,d,e,c);case 15:return cj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),jj(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,Tg(b,c),ph(b,d,e),rh(b,d,e,c),kj(null,b,d,!0,a,c);case 19:return yj(a,b,c);case 22:return ej(a,b,c)}throw Error(p(156,b.tag));};function Gk(a,b){return ac(a,b)}\nfunction al(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new al(a,b,c,d)}function bj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction $k(a){if(\"function\"===typeof a)return bj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction wh(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction yh(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)bj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Ah(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return qj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Ah(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function qj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function xh(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction zh(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction bl(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function cl(a,b,c,d,e,f,g,h,k){a=new bl(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};ah(f);return a}function dl(a,b,c){var d=3 createMemoryLocation(entry, typeof entry === \"string\" ? null : entry.state, index === 0 ? \"default\" : undefined));\n let index = clampIndex(initialIndex == null ? entries.length - 1 : initialIndex);\n let action = Action.Pop;\n let listener = null;\n\n function clampIndex(n) {\n return Math.min(Math.max(n, 0), entries.length - 1);\n }\n\n function getCurrentLocation() {\n return entries[index];\n }\n\n function createMemoryLocation(to, state, key) {\n if (state === void 0) {\n state = null;\n }\n\n let location = createLocation(entries ? getCurrentLocation().pathname : \"/\", to, state, key);\n warning$1(location.pathname.charAt(0) === \"/\", \"relative pathnames are not supported in memory history: \" + JSON.stringify(to));\n return location;\n }\n\n function createHref(to) {\n return typeof to === \"string\" ? to : createPath(to);\n }\n\n let history = {\n get index() {\n return index;\n },\n\n get action() {\n return action;\n },\n\n get location() {\n return getCurrentLocation();\n },\n\n createHref,\n\n createURL(to) {\n return new URL(createHref(to), \"http://localhost\");\n },\n\n encodeLocation(to) {\n let path = typeof to === \"string\" ? parsePath(to) : to;\n return {\n pathname: path.pathname || \"\",\n search: path.search || \"\",\n hash: path.hash || \"\"\n };\n },\n\n push(to, state) {\n action = Action.Push;\n let nextLocation = createMemoryLocation(to, state);\n index += 1;\n entries.splice(index, entries.length, nextLocation);\n\n if (v5Compat && listener) {\n listener({\n action,\n location: nextLocation,\n delta: 1\n });\n }\n },\n\n replace(to, state) {\n action = Action.Replace;\n let nextLocation = createMemoryLocation(to, state);\n entries[index] = nextLocation;\n\n if (v5Compat && listener) {\n listener({\n action,\n location: nextLocation,\n delta: 0\n });\n }\n },\n\n go(delta) {\n action = Action.Pop;\n let nextIndex = clampIndex(index + delta);\n let nextLocation = entries[nextIndex];\n index = nextIndex;\n\n if (listener) {\n listener({\n action,\n location: nextLocation,\n delta\n });\n }\n },\n\n listen(fn) {\n listener = fn;\n return () => {\n listener = null;\n };\n }\n\n };\n return history;\n}\n/**\n * Browser history stores the location in regular URLs. This is the standard for\n * most web apps, but it requires some configuration on the server to ensure you\n * serve the same app at multiple URLs.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory\n */\n\nfunction createBrowserHistory(options) {\n if (options === void 0) {\n options = {};\n }\n\n function createBrowserLocation(window, globalHistory) {\n let {\n pathname,\n search,\n hash\n } = window.location;\n return createLocation(\"\", {\n pathname,\n search,\n hash\n }, // state defaults to `null` because `window.history.state` does\n globalHistory.state && globalHistory.state.usr || null, globalHistory.state && globalHistory.state.key || \"default\");\n }\n\n function createBrowserHref(window, to) {\n return typeof to === \"string\" ? to : createPath(to);\n }\n\n return getUrlBasedHistory(createBrowserLocation, createBrowserHref, null, options);\n}\n/**\n * Hash history stores the location in window.location.hash. This makes it ideal\n * for situations where you don't want to send the location to the server for\n * some reason, either because you do cannot configure it or the URL space is\n * reserved for something else.\n *\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory\n */\n\nfunction createHashHistory(options) {\n if (options === void 0) {\n options = {};\n }\n\n function createHashLocation(window, globalHistory) {\n let {\n pathname = \"/\",\n search = \"\",\n hash = \"\"\n } = parsePath(window.location.hash.substr(1));\n return createLocation(\"\", {\n pathname,\n search,\n hash\n }, // state defaults to `null` because `window.history.state` does\n globalHistory.state && globalHistory.state.usr || null, globalHistory.state && globalHistory.state.key || \"default\");\n }\n\n function createHashHref(window, to) {\n let base = window.document.querySelector(\"base\");\n let href = \"\";\n\n if (base && base.getAttribute(\"href\")) {\n let url = window.location.href;\n let hashIndex = url.indexOf(\"#\");\n href = hashIndex === -1 ? url : url.slice(0, hashIndex);\n }\n\n return href + \"#\" + (typeof to === \"string\" ? to : createPath(to));\n }\n\n function validateHashLocation(location, to) {\n warning$1(location.pathname.charAt(0) === \"/\", \"relative pathnames are not supported in hash history.push(\" + JSON.stringify(to) + \")\");\n }\n\n return getUrlBasedHistory(createHashLocation, createHashHref, validateHashLocation, options);\n}\nfunction invariant(value, message) {\n if (value === false || value === null || typeof value === \"undefined\") {\n throw new Error(message);\n }\n}\n\nfunction warning$1(cond, message) {\n if (!cond) {\n // eslint-disable-next-line no-console\n if (typeof console !== \"undefined\") console.warn(message);\n\n try {\n // Welcome to debugging history!\n //\n // This error is thrown as a convenience so you can more easily\n // find the source for a warning that appears in the console by\n // enabling \"pause on exceptions\" in your JavaScript debugger.\n throw new Error(message); // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n}\n\nfunction createKey() {\n return Math.random().toString(36).substr(2, 8);\n}\n/**\n * For browser-based histories, we combine the state and key into an object\n */\n\n\nfunction getHistoryState(location, index) {\n return {\n usr: location.state,\n key: location.key,\n idx: index\n };\n}\n/**\n * Creates a Location object with a unique key from the given Path\n */\n\n\nfunction createLocation(current, to, state, key) {\n if (state === void 0) {\n state = null;\n }\n\n let location = _extends({\n pathname: typeof current === \"string\" ? current : current.pathname,\n search: \"\",\n hash: \"\"\n }, typeof to === \"string\" ? parsePath(to) : to, {\n state,\n // TODO: This could be cleaned up. push/replace should probably just take\n // full Locations now and avoid the need to run through this flow at all\n // But that's a pretty big refactor to the current test suite so going to\n // keep as is for the time being and just let any incoming keys take precedence\n key: to && to.key || key || createKey()\n });\n\n return location;\n}\n/**\n * Creates a string URL path from the given pathname, search, and hash components.\n */\n\nfunction createPath(_ref) {\n let {\n pathname = \"/\",\n search = \"\",\n hash = \"\"\n } = _ref;\n if (search && search !== \"?\") pathname += search.charAt(0) === \"?\" ? search : \"?\" + search;\n if (hash && hash !== \"#\") pathname += hash.charAt(0) === \"#\" ? hash : \"#\" + hash;\n return pathname;\n}\n/**\n * Parses a string URL path into its separate pathname, search, and hash components.\n */\n\nfunction parsePath(path) {\n let parsedPath = {};\n\n if (path) {\n let hashIndex = path.indexOf(\"#\");\n\n if (hashIndex >= 0) {\n parsedPath.hash = path.substr(hashIndex);\n path = path.substr(0, hashIndex);\n }\n\n let searchIndex = path.indexOf(\"?\");\n\n if (searchIndex >= 0) {\n parsedPath.search = path.substr(searchIndex);\n path = path.substr(0, searchIndex);\n }\n\n if (path) {\n parsedPath.pathname = path;\n }\n }\n\n return parsedPath;\n}\n\nfunction getUrlBasedHistory(getLocation, createHref, validateLocation, options) {\n if (options === void 0) {\n options = {};\n }\n\n let {\n window = document.defaultView,\n v5Compat = false\n } = options;\n let globalHistory = window.history;\n let action = Action.Pop;\n let listener = null;\n let index = getIndex(); // Index should only be null when we initialize. If not, it's because the\n // user called history.pushState or history.replaceState directly, in which\n // case we should log a warning as it will result in bugs.\n\n if (index == null) {\n index = 0;\n globalHistory.replaceState(_extends({}, globalHistory.state, {\n idx: index\n }), \"\");\n }\n\n function getIndex() {\n let state = globalHistory.state || {\n idx: null\n };\n return state.idx;\n }\n\n function handlePop() {\n action = Action.Pop;\n let nextIndex = getIndex();\n let delta = nextIndex == null ? null : nextIndex - index;\n index = nextIndex;\n\n if (listener) {\n listener({\n action,\n location: history.location,\n delta\n });\n }\n }\n\n function push(to, state) {\n action = Action.Push;\n let location = createLocation(history.location, to, state);\n if (validateLocation) validateLocation(location, to);\n index = getIndex() + 1;\n let historyState = getHistoryState(location, index);\n let url = history.createHref(location); // try...catch because iOS limits us to 100 pushState calls :/\n\n try {\n globalHistory.pushState(historyState, \"\", url);\n } catch (error) {\n // They are going to lose state here, but there is no real\n // way to warn them about it since the page will refresh...\n window.location.assign(url);\n }\n\n if (v5Compat && listener) {\n listener({\n action,\n location: history.location,\n delta: 1\n });\n }\n }\n\n function replace(to, state) {\n action = Action.Replace;\n let location = createLocation(history.location, to, state);\n if (validateLocation) validateLocation(location, to);\n index = getIndex();\n let historyState = getHistoryState(location, index);\n let url = history.createHref(location);\n globalHistory.replaceState(historyState, \"\", url);\n\n if (v5Compat && listener) {\n listener({\n action,\n location: history.location,\n delta: 0\n });\n }\n }\n\n function createURL(to) {\n // window.location.origin is \"null\" (the literal string value) in Firefox\n // under certain conditions, notably when serving from a local HTML file\n // See https://bugzilla.mozilla.org/show_bug.cgi?id=878297\n let base = window.location.origin !== \"null\" ? window.location.origin : window.location.href;\n let href = typeof to === \"string\" ? to : createPath(to);\n invariant(base, \"No window.location.(origin|href) available to create URL for href: \" + href);\n return new URL(href, base);\n }\n\n let history = {\n get action() {\n return action;\n },\n\n get location() {\n return getLocation(window, globalHistory);\n },\n\n listen(fn) {\n if (listener) {\n throw new Error(\"A history only accepts one active listener\");\n }\n\n window.addEventListener(PopStateEventType, handlePop);\n listener = fn;\n return () => {\n window.removeEventListener(PopStateEventType, handlePop);\n listener = null;\n };\n },\n\n createHref(to) {\n return createHref(window, to);\n },\n\n createURL,\n\n encodeLocation(to) {\n // Encode a Location the same way window.location would\n let url = createURL(to);\n return {\n pathname: url.pathname,\n search: url.search,\n hash: url.hash\n };\n },\n\n push,\n replace,\n\n go(n) {\n return globalHistory.go(n);\n }\n\n };\n return history;\n} //#endregion\n\nvar ResultType;\n\n(function (ResultType) {\n ResultType[\"data\"] = \"data\";\n ResultType[\"deferred\"] = \"deferred\";\n ResultType[\"redirect\"] = \"redirect\";\n ResultType[\"error\"] = \"error\";\n})(ResultType || (ResultType = {}));\n\nfunction isIndexRoute(route) {\n return route.index === true;\n} // Walk the route tree generating unique IDs where necessary so we are working\n// solely with AgnosticDataRouteObject's within the Router\n\n\nfunction convertRoutesToDataRoutes(routes, parentPath, allIds) {\n if (parentPath === void 0) {\n parentPath = [];\n }\n\n if (allIds === void 0) {\n allIds = new Set();\n }\n\n return routes.map((route, index) => {\n let treePath = [...parentPath, index];\n let id = typeof route.id === \"string\" ? route.id : treePath.join(\"-\");\n invariant(route.index !== true || !route.children, \"Cannot specify children on an index route\");\n invariant(!allIds.has(id), \"Found a route id collision on id \\\"\" + id + \"\\\". Route \" + \"id's must be globally unique within Data Router usages\");\n allIds.add(id);\n\n if (isIndexRoute(route)) {\n let indexRoute = _extends({}, route, {\n id\n });\n\n return indexRoute;\n } else {\n let pathOrLayoutRoute = _extends({}, route, {\n id,\n children: route.children ? convertRoutesToDataRoutes(route.children, treePath, allIds) : undefined\n });\n\n return pathOrLayoutRoute;\n }\n });\n}\n/**\n * Matches the given routes to a location and returns the match data.\n *\n * @see https://reactrouter.com/utils/match-routes\n */\n\nfunction matchRoutes(routes, locationArg, basename) {\n if (basename === void 0) {\n basename = \"/\";\n }\n\n let location = typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n let pathname = stripBasename(location.pathname || \"/\", basename);\n\n if (pathname == null) {\n return null;\n }\n\n let branches = flattenRoutes(routes);\n rankRouteBranches(branches);\n let matches = null;\n\n for (let i = 0; matches == null && i < branches.length; ++i) {\n matches = matchRouteBranch(branches[i], // Incoming pathnames are generally encoded from either window.location\n // or from router.navigate, but we want to match against the unencoded\n // paths in the route definitions. Memory router locations won't be\n // encoded here but there also shouldn't be anything to decode so this\n // should be a safe operation. This avoids needing matchRoutes to be\n // history-aware.\n safelyDecodeURI(pathname));\n }\n\n return matches;\n}\n\nfunction flattenRoutes(routes, branches, parentsMeta, parentPath) {\n if (branches === void 0) {\n branches = [];\n }\n\n if (parentsMeta === void 0) {\n parentsMeta = [];\n }\n\n if (parentPath === void 0) {\n parentPath = \"\";\n }\n\n let flattenRoute = (route, index, relativePath) => {\n let meta = {\n relativePath: relativePath === undefined ? route.path || \"\" : relativePath,\n caseSensitive: route.caseSensitive === true,\n childrenIndex: index,\n route\n };\n\n if (meta.relativePath.startsWith(\"/\")) {\n invariant(meta.relativePath.startsWith(parentPath), \"Absolute route path \\\"\" + meta.relativePath + \"\\\" nested under path \" + (\"\\\"\" + parentPath + \"\\\" is not valid. An absolute child route path \") + \"must start with the combined path of all its parent routes.\");\n meta.relativePath = meta.relativePath.slice(parentPath.length);\n }\n\n let path = joinPaths([parentPath, meta.relativePath]);\n let routesMeta = parentsMeta.concat(meta); // Add the children before adding this route to the array so we traverse the\n // route tree depth-first and child routes appear before their parents in\n // the \"flattened\" version.\n\n if (route.children && route.children.length > 0) {\n invariant( // Our types know better, but runtime JS may not!\n // @ts-expect-error\n route.index !== true, \"Index routes must not have child routes. Please remove \" + (\"all child routes from route path \\\"\" + path + \"\\\".\"));\n flattenRoutes(route.children, branches, routesMeta, path);\n } // Routes without a path shouldn't ever match by themselves unless they are\n // index routes, so don't add them to the list of possible branches.\n\n\n if (route.path == null && !route.index) {\n return;\n }\n\n branches.push({\n path,\n score: computeScore(path, route.index),\n routesMeta\n });\n };\n\n routes.forEach((route, index) => {\n var _route$path;\n\n // coarse-grain check for optional params\n if (route.path === \"\" || !((_route$path = route.path) != null && _route$path.includes(\"?\"))) {\n flattenRoute(route, index);\n } else {\n for (let exploded of explodeOptionalSegments(route.path)) {\n flattenRoute(route, index, exploded);\n }\n }\n });\n return branches;\n}\n/**\n * Computes all combinations of optional path segments for a given path,\n * excluding combinations that are ambiguous and of lower priority.\n *\n * For example, `/one/:two?/three/:four?/:five?` explodes to:\n * - `/one/three`\n * - `/one/:two/three`\n * - `/one/three/:four`\n * - `/one/three/:five`\n * - `/one/:two/three/:four`\n * - `/one/:two/three/:five`\n * - `/one/three/:four/:five`\n * - `/one/:two/three/:four/:five`\n */\n\n\nfunction explodeOptionalSegments(path) {\n let segments = path.split(\"/\");\n if (segments.length === 0) return [];\n let [first, ...rest] = segments; // Optional path segments are denoted by a trailing `?`\n\n let isOptional = first.endsWith(\"?\"); // Compute the corresponding required segment: `foo?` -> `foo`\n\n let required = first.replace(/\\?$/, \"\");\n\n if (rest.length === 0) {\n // Intepret empty string as omitting an optional segment\n // `[\"one\", \"\", \"three\"]` corresponds to omitting `:two` from `/one/:two?/three` -> `/one/three`\n return isOptional ? [required, \"\"] : [required];\n }\n\n let restExploded = explodeOptionalSegments(rest.join(\"/\"));\n let result = []; // All child paths with the prefix. Do this for all children before the\n // optional version for all children so we get consistent ordering where the\n // parent optional aspect is preferred as required. Otherwise, we can get\n // child sections interspersed where deeper optional segments are higher than\n // parent optional segments, where for example, /:two would explodes _earlier_\n // then /:one. By always including the parent as required _for all children_\n // first, we avoid this issue\n\n result.push(...restExploded.map(subpath => subpath === \"\" ? required : [required, subpath].join(\"/\"))); // Then if this is an optional value, add all child versions without\n\n if (isOptional) {\n result.push(...restExploded);\n } // for absolute paths, ensure `/` instead of empty segment\n\n\n return result.map(exploded => path.startsWith(\"/\") && exploded === \"\" ? \"/\" : exploded);\n}\n\nfunction rankRouteBranches(branches) {\n branches.sort((a, b) => a.score !== b.score ? b.score - a.score // Higher score first\n : compareIndexes(a.routesMeta.map(meta => meta.childrenIndex), b.routesMeta.map(meta => meta.childrenIndex)));\n}\n\nconst paramRe = /^:\\w+$/;\nconst dynamicSegmentValue = 3;\nconst indexRouteValue = 2;\nconst emptySegmentValue = 1;\nconst staticSegmentValue = 10;\nconst splatPenalty = -2;\n\nconst isSplat = s => s === \"*\";\n\nfunction computeScore(path, index) {\n let segments = path.split(\"/\");\n let initialScore = segments.length;\n\n if (segments.some(isSplat)) {\n initialScore += splatPenalty;\n }\n\n if (index) {\n initialScore += indexRouteValue;\n }\n\n return segments.filter(s => !isSplat(s)).reduce((score, segment) => score + (paramRe.test(segment) ? dynamicSegmentValue : segment === \"\" ? emptySegmentValue : staticSegmentValue), initialScore);\n}\n\nfunction compareIndexes(a, b) {\n let siblings = a.length === b.length && a.slice(0, -1).every((n, i) => n === b[i]);\n return siblings ? // If two routes are siblings, we should try to match the earlier sibling\n // first. This allows people to have fine-grained control over the matching\n // behavior by simply putting routes with identical paths in the order they\n // want them tried.\n a[a.length - 1] - b[b.length - 1] : // Otherwise, it doesn't really make sense to rank non-siblings by index,\n // so they sort equally.\n 0;\n}\n\nfunction matchRouteBranch(branch, pathname) {\n let {\n routesMeta\n } = branch;\n let matchedParams = {};\n let matchedPathname = \"/\";\n let matches = [];\n\n for (let i = 0; i < routesMeta.length; ++i) {\n let meta = routesMeta[i];\n let end = i === routesMeta.length - 1;\n let remainingPathname = matchedPathname === \"/\" ? pathname : pathname.slice(matchedPathname.length) || \"/\";\n let match = matchPath({\n path: meta.relativePath,\n caseSensitive: meta.caseSensitive,\n end\n }, remainingPathname);\n if (!match) return null;\n Object.assign(matchedParams, match.params);\n let route = meta.route;\n matches.push({\n // TODO: Can this as be avoided?\n params: matchedParams,\n pathname: joinPaths([matchedPathname, match.pathname]),\n pathnameBase: normalizePathname(joinPaths([matchedPathname, match.pathnameBase])),\n route\n });\n\n if (match.pathnameBase !== \"/\") {\n matchedPathname = joinPaths([matchedPathname, match.pathnameBase]);\n }\n }\n\n return matches;\n}\n/**\n * Returns a path with params interpolated.\n *\n * @see https://reactrouter.com/utils/generate-path\n */\n\n\nfunction generatePath(originalPath, params) {\n if (params === void 0) {\n params = {};\n }\n\n let path = originalPath;\n\n if (path.endsWith(\"*\") && path !== \"*\" && !path.endsWith(\"/*\")) {\n warning(false, \"Route path \\\"\" + path + \"\\\" will be treated as if it were \" + (\"\\\"\" + path.replace(/\\*$/, \"/*\") + \"\\\" because the `*` character must \") + \"always follow a `/` in the pattern. To get rid of this warning, \" + (\"please change the route path to \\\"\" + path.replace(/\\*$/, \"/*\") + \"\\\".\"));\n path = path.replace(/\\*$/, \"/*\");\n }\n\n return path.replace(/^:(\\w+)(\\??)/g, (_, key, optional) => {\n let param = params[key];\n\n if (optional === \"?\") {\n return param == null ? \"\" : param;\n }\n\n if (param == null) {\n invariant(false, \"Missing \\\":\" + key + \"\\\" param\");\n }\n\n return param;\n }).replace(/\\/:(\\w+)(\\??)/g, (_, key, optional) => {\n let param = params[key];\n\n if (optional === \"?\") {\n return param == null ? \"\" : \"/\" + param;\n }\n\n if (param == null) {\n invariant(false, \"Missing \\\":\" + key + \"\\\" param\");\n }\n\n return \"/\" + param;\n }) // Remove any optional markers from optional static segments\n .replace(/\\?/g, \"\").replace(/(\\/?)\\*/, (_, prefix, __, str) => {\n const star = \"*\";\n\n if (params[star] == null) {\n // If no splat was provided, trim the trailing slash _unless_ it's\n // the entire path\n return str === \"/*\" ? \"/\" : \"\";\n } // Apply the splat\n\n\n return \"\" + prefix + params[star];\n });\n}\n/**\n * Performs pattern matching on a URL pathname and returns information about\n * the match.\n *\n * @see https://reactrouter.com/utils/match-path\n */\n\nfunction matchPath(pattern, pathname) {\n if (typeof pattern === \"string\") {\n pattern = {\n path: pattern,\n caseSensitive: false,\n end: true\n };\n }\n\n let [matcher, paramNames] = compilePath(pattern.path, pattern.caseSensitive, pattern.end);\n let match = pathname.match(matcher);\n if (!match) return null;\n let matchedPathname = match[0];\n let pathnameBase = matchedPathname.replace(/(.)\\/+$/, \"$1\");\n let captureGroups = match.slice(1);\n let params = paramNames.reduce((memo, paramName, index) => {\n // We need to compute the pathnameBase here using the raw splat value\n // instead of using params[\"*\"] later because it will be decoded then\n if (paramName === \"*\") {\n let splatValue = captureGroups[index] || \"\";\n pathnameBase = matchedPathname.slice(0, matchedPathname.length - splatValue.length).replace(/(.)\\/+$/, \"$1\");\n }\n\n memo[paramName] = safelyDecodeURIComponent(captureGroups[index] || \"\", paramName);\n return memo;\n }, {});\n return {\n params,\n pathname: matchedPathname,\n pathnameBase,\n pattern\n };\n}\n\nfunction compilePath(path, caseSensitive, end) {\n if (caseSensitive === void 0) {\n caseSensitive = false;\n }\n\n if (end === void 0) {\n end = true;\n }\n\n warning(path === \"*\" || !path.endsWith(\"*\") || path.endsWith(\"/*\"), \"Route path \\\"\" + path + \"\\\" will be treated as if it were \" + (\"\\\"\" + path.replace(/\\*$/, \"/*\") + \"\\\" because the `*` character must \") + \"always follow a `/` in the pattern. To get rid of this warning, \" + (\"please change the route path to \\\"\" + path.replace(/\\*$/, \"/*\") + \"\\\".\"));\n let paramNames = [];\n let regexpSource = \"^\" + path.replace(/\\/*\\*?$/, \"\") // Ignore trailing / and /*, we'll handle it below\n .replace(/^\\/*/, \"/\") // Make sure it has a leading /\n .replace(/[\\\\.*+^$?{}|()[\\]]/g, \"\\\\$&\") // Escape special regex chars\n .replace(/\\/:(\\w+)/g, (_, paramName) => {\n paramNames.push(paramName);\n return \"/([^\\\\/]+)\";\n });\n\n if (path.endsWith(\"*\")) {\n paramNames.push(\"*\");\n regexpSource += path === \"*\" || path === \"/*\" ? \"(.*)$\" // Already matched the initial /, just match the rest\n : \"(?:\\\\/(.+)|\\\\/*)$\"; // Don't include the / in params[\"*\"]\n } else if (end) {\n // When matching to the end, ignore trailing slashes\n regexpSource += \"\\\\/*$\";\n } else if (path !== \"\" && path !== \"/\") {\n // If our path is non-empty and contains anything beyond an initial slash,\n // then we have _some_ form of path in our regex so we should expect to\n // match only if we find the end of this path segment. Look for an optional\n // non-captured trailing slash (to match a portion of the URL) or the end\n // of the path (if we've matched to the end). We used to do this with a\n // word boundary but that gives false positives on routes like\n // /user-preferences since `-` counts as a word boundary.\n regexpSource += \"(?:(?=\\\\/|$))\";\n } else ;\n\n let matcher = new RegExp(regexpSource, caseSensitive ? undefined : \"i\");\n return [matcher, paramNames];\n}\n\nfunction safelyDecodeURI(value) {\n try {\n return decodeURI(value);\n } catch (error) {\n warning(false, \"The URL path \\\"\" + value + \"\\\" could not be decoded because it is is a \" + \"malformed URL segment. This is probably due to a bad percent \" + (\"encoding (\" + error + \").\"));\n return value;\n }\n}\n\nfunction safelyDecodeURIComponent(value, paramName) {\n try {\n return decodeURIComponent(value);\n } catch (error) {\n warning(false, \"The value for the URL param \\\"\" + paramName + \"\\\" will not be decoded because\" + (\" the string \\\"\" + value + \"\\\" is a malformed URL segment. This is probably\") + (\" due to a bad percent encoding (\" + error + \").\"));\n return value;\n }\n}\n/**\n * @private\n */\n\n\nfunction stripBasename(pathname, basename) {\n if (basename === \"/\") return pathname;\n\n if (!pathname.toLowerCase().startsWith(basename.toLowerCase())) {\n return null;\n } // We want to leave trailing slash behavior in the user's control, so if they\n // specify a basename with a trailing slash, we should support it\n\n\n let startIndex = basename.endsWith(\"/\") ? basename.length - 1 : basename.length;\n let nextChar = pathname.charAt(startIndex);\n\n if (nextChar && nextChar !== \"/\") {\n // pathname does not start with basename/\n return null;\n }\n\n return pathname.slice(startIndex) || \"/\";\n}\n/**\n * @private\n */\n\nfunction warning(cond, message) {\n if (!cond) {\n // eslint-disable-next-line no-console\n if (typeof console !== \"undefined\") console.warn(message);\n\n try {\n // Welcome to debugging @remix-run/router!\n //\n // This error is thrown as a convenience so you can more easily\n // find the source for a warning that appears in the console by\n // enabling \"pause on exceptions\" in your JavaScript debugger.\n throw new Error(message); // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n}\n/**\n * Returns a resolved path object relative to the given pathname.\n *\n * @see https://reactrouter.com/utils/resolve-path\n */\n\nfunction resolvePath(to, fromPathname) {\n if (fromPathname === void 0) {\n fromPathname = \"/\";\n }\n\n let {\n pathname: toPathname,\n search = \"\",\n hash = \"\"\n } = typeof to === \"string\" ? parsePath(to) : to;\n let pathname = toPathname ? toPathname.startsWith(\"/\") ? toPathname : resolvePathname(toPathname, fromPathname) : fromPathname;\n return {\n pathname,\n search: normalizeSearch(search),\n hash: normalizeHash(hash)\n };\n}\n\nfunction resolvePathname(relativePath, fromPathname) {\n let segments = fromPathname.replace(/\\/+$/, \"\").split(\"/\");\n let relativeSegments = relativePath.split(\"/\");\n relativeSegments.forEach(segment => {\n if (segment === \"..\") {\n // Keep the root \"\" segment so the pathname starts at /\n if (segments.length > 1) segments.pop();\n } else if (segment !== \".\") {\n segments.push(segment);\n }\n });\n return segments.length > 1 ? segments.join(\"/\") : \"/\";\n}\n\nfunction getInvalidPathError(char, field, dest, path) {\n return \"Cannot include a '\" + char + \"' character in a manually specified \" + (\"`to.\" + field + \"` field [\" + JSON.stringify(path) + \"]. Please separate it out to the \") + (\"`to.\" + dest + \"` field. Alternatively you may provide the full path as \") + \"a string in and the router will parse it for you.\";\n}\n/**\n * @private\n *\n * When processing relative navigation we want to ignore ancestor routes that\n * do not contribute to the path, such that index/pathless layout routes don't\n * interfere.\n *\n * For example, when moving a route element into an index route and/or a\n * pathless layout route, relative link behavior contained within should stay\n * the same. Both of the following examples should link back to the root:\n *\n * \n * \n * \n *\n * \n * \n * }> // <-- Does not contribute\n * // <-- Does not contribute\n * \n * \n */\n\n\nfunction getPathContributingMatches(matches) {\n return matches.filter((match, index) => index === 0 || match.route.path && match.route.path.length > 0);\n}\n/**\n * @private\n */\n\nfunction resolveTo(toArg, routePathnames, locationPathname, isPathRelative) {\n if (isPathRelative === void 0) {\n isPathRelative = false;\n }\n\n let to;\n\n if (typeof toArg === \"string\") {\n to = parsePath(toArg);\n } else {\n to = _extends({}, toArg);\n invariant(!to.pathname || !to.pathname.includes(\"?\"), getInvalidPathError(\"?\", \"pathname\", \"search\", to));\n invariant(!to.pathname || !to.pathname.includes(\"#\"), getInvalidPathError(\"#\", \"pathname\", \"hash\", to));\n invariant(!to.search || !to.search.includes(\"#\"), getInvalidPathError(\"#\", \"search\", \"hash\", to));\n }\n\n let isEmptyPath = toArg === \"\" || to.pathname === \"\";\n let toPathname = isEmptyPath ? \"/\" : to.pathname;\n let from; // Routing is relative to the current pathname if explicitly requested.\n //\n // If a pathname is explicitly provided in `to`, it should be relative to the\n // route context. This is explained in `Note on `` values` in our\n // migration guide from v5 as a means of disambiguation between `to` values\n // that begin with `/` and those that do not. However, this is problematic for\n // `to` values that do not provide a pathname. `to` can simply be a search or\n // hash string, in which case we should assume that the navigation is relative\n // to the current location's pathname and *not* the route pathname.\n\n if (isPathRelative || toPathname == null) {\n from = locationPathname;\n } else {\n let routePathnameIndex = routePathnames.length - 1;\n\n if (toPathname.startsWith(\"..\")) {\n let toSegments = toPathname.split(\"/\"); // Each leading .. segment means \"go up one route\" instead of \"go up one\n // URL segment\". This is a key difference from how works and a\n // major reason we call this a \"to\" value instead of a \"href\".\n\n while (toSegments[0] === \"..\") {\n toSegments.shift();\n routePathnameIndex -= 1;\n }\n\n to.pathname = toSegments.join(\"/\");\n } // If there are more \"..\" segments than parent routes, resolve relative to\n // the root / URL.\n\n\n from = routePathnameIndex >= 0 ? routePathnames[routePathnameIndex] : \"/\";\n }\n\n let path = resolvePath(to, from); // Ensure the pathname has a trailing slash if the original \"to\" had one\n\n let hasExplicitTrailingSlash = toPathname && toPathname !== \"/\" && toPathname.endsWith(\"/\"); // Or if this was a link to the current path which has a trailing slash\n\n let hasCurrentTrailingSlash = (isEmptyPath || toPathname === \".\") && locationPathname.endsWith(\"/\");\n\n if (!path.pathname.endsWith(\"/\") && (hasExplicitTrailingSlash || hasCurrentTrailingSlash)) {\n path.pathname += \"/\";\n }\n\n return path;\n}\n/**\n * @private\n */\n\nfunction getToPathname(to) {\n // Empty strings should be treated the same as / paths\n return to === \"\" || to.pathname === \"\" ? \"/\" : typeof to === \"string\" ? parsePath(to).pathname : to.pathname;\n}\n/**\n * @private\n */\n\nconst joinPaths = paths => paths.join(\"/\").replace(/\\/\\/+/g, \"/\");\n/**\n * @private\n */\n\nconst normalizePathname = pathname => pathname.replace(/\\/+$/, \"\").replace(/^\\/*/, \"/\");\n/**\n * @private\n */\n\nconst normalizeSearch = search => !search || search === \"?\" ? \"\" : search.startsWith(\"?\") ? search : \"?\" + search;\n/**\n * @private\n */\n\nconst normalizeHash = hash => !hash || hash === \"#\" ? \"\" : hash.startsWith(\"#\") ? hash : \"#\" + hash;\n/**\n * This is a shortcut for creating `application/json` responses. Converts `data`\n * to JSON and sets the `Content-Type` header.\n */\n\nconst json = function json(data, init) {\n if (init === void 0) {\n init = {};\n }\n\n let responseInit = typeof init === \"number\" ? {\n status: init\n } : init;\n let headers = new Headers(responseInit.headers);\n\n if (!headers.has(\"Content-Type\")) {\n headers.set(\"Content-Type\", \"application/json; charset=utf-8\");\n }\n\n return new Response(JSON.stringify(data), _extends({}, responseInit, {\n headers\n }));\n};\nclass AbortedDeferredError extends Error {}\nclass DeferredData {\n constructor(data, responseInit) {\n this.pendingKeysSet = new Set();\n this.subscribers = new Set();\n this.deferredKeys = [];\n invariant(data && typeof data === \"object\" && !Array.isArray(data), \"defer() only accepts plain objects\"); // Set up an AbortController + Promise we can race against to exit early\n // cancellation\n\n let reject;\n this.abortPromise = new Promise((_, r) => reject = r);\n this.controller = new AbortController();\n\n let onAbort = () => reject(new AbortedDeferredError(\"Deferred data aborted\"));\n\n this.unlistenAbortSignal = () => this.controller.signal.removeEventListener(\"abort\", onAbort);\n\n this.controller.signal.addEventListener(\"abort\", onAbort);\n this.data = Object.entries(data).reduce((acc, _ref) => {\n let [key, value] = _ref;\n return Object.assign(acc, {\n [key]: this.trackPromise(key, value)\n });\n }, {});\n\n if (this.done) {\n // All incoming values were resolved\n this.unlistenAbortSignal();\n }\n\n this.init = responseInit;\n }\n\n trackPromise(key, value) {\n if (!(value instanceof Promise)) {\n return value;\n }\n\n this.deferredKeys.push(key);\n this.pendingKeysSet.add(key); // We store a little wrapper promise that will be extended with\n // _data/_error props upon resolve/reject\n\n let promise = Promise.race([value, this.abortPromise]).then(data => this.onSettle(promise, key, null, data), error => this.onSettle(promise, key, error)); // Register rejection listeners to avoid uncaught promise rejections on\n // errors or aborted deferred values\n\n promise.catch(() => {});\n Object.defineProperty(promise, \"_tracked\", {\n get: () => true\n });\n return promise;\n }\n\n onSettle(promise, key, error, data) {\n if (this.controller.signal.aborted && error instanceof AbortedDeferredError) {\n this.unlistenAbortSignal();\n Object.defineProperty(promise, \"_error\", {\n get: () => error\n });\n return Promise.reject(error);\n }\n\n this.pendingKeysSet.delete(key);\n\n if (this.done) {\n // Nothing left to abort!\n this.unlistenAbortSignal();\n }\n\n if (error) {\n Object.defineProperty(promise, \"_error\", {\n get: () => error\n });\n this.emit(false, key);\n return Promise.reject(error);\n }\n\n Object.defineProperty(promise, \"_data\", {\n get: () => data\n });\n this.emit(false, key);\n return data;\n }\n\n emit(aborted, settledKey) {\n this.subscribers.forEach(subscriber => subscriber(aborted, settledKey));\n }\n\n subscribe(fn) {\n this.subscribers.add(fn);\n return () => this.subscribers.delete(fn);\n }\n\n cancel() {\n this.controller.abort();\n this.pendingKeysSet.forEach((v, k) => this.pendingKeysSet.delete(k));\n this.emit(true);\n }\n\n async resolveData(signal) {\n let aborted = false;\n\n if (!this.done) {\n let onAbort = () => this.cancel();\n\n signal.addEventListener(\"abort\", onAbort);\n aborted = await new Promise(resolve => {\n this.subscribe(aborted => {\n signal.removeEventListener(\"abort\", onAbort);\n\n if (aborted || this.done) {\n resolve(aborted);\n }\n });\n });\n }\n\n return aborted;\n }\n\n get done() {\n return this.pendingKeysSet.size === 0;\n }\n\n get unwrappedData() {\n invariant(this.data !== null && this.done, \"Can only unwrap data on initialized and settled deferreds\");\n return Object.entries(this.data).reduce((acc, _ref2) => {\n let [key, value] = _ref2;\n return Object.assign(acc, {\n [key]: unwrapTrackedPromise(value)\n });\n }, {});\n }\n\n get pendingKeys() {\n return Array.from(this.pendingKeysSet);\n }\n\n}\n\nfunction isTrackedPromise(value) {\n return value instanceof Promise && value._tracked === true;\n}\n\nfunction unwrapTrackedPromise(value) {\n if (!isTrackedPromise(value)) {\n return value;\n }\n\n if (value._error) {\n throw value._error;\n }\n\n return value._data;\n}\n\nconst defer = function defer(data, init) {\n if (init === void 0) {\n init = {};\n }\n\n let responseInit = typeof init === \"number\" ? {\n status: init\n } : init;\n return new DeferredData(data, responseInit);\n};\n/**\n * A redirect response. Sets the status code and the `Location` header.\n * Defaults to \"302 Found\".\n */\n\nconst redirect = function redirect(url, init) {\n if (init === void 0) {\n init = 302;\n }\n\n let responseInit = init;\n\n if (typeof responseInit === \"number\") {\n responseInit = {\n status: responseInit\n };\n } else if (typeof responseInit.status === \"undefined\") {\n responseInit.status = 302;\n }\n\n let headers = new Headers(responseInit.headers);\n headers.set(\"Location\", url);\n return new Response(null, _extends({}, responseInit, {\n headers\n }));\n};\n/**\n * @private\n * Utility class we use to hold auto-unwrapped 4xx/5xx Response bodies\n */\n\nclass ErrorResponse {\n constructor(status, statusText, data, internal) {\n if (internal === void 0) {\n internal = false;\n }\n\n this.status = status;\n this.statusText = statusText || \"\";\n this.internal = internal;\n\n if (data instanceof Error) {\n this.data = data.toString();\n this.error = data;\n } else {\n this.data = data;\n }\n }\n\n}\n/**\n * Check if the given error is an ErrorResponse generated from a 4xx/5xx\n * Response thrown from an action/loader\n */\n\nfunction isRouteErrorResponse(error) {\n return error != null && typeof error.status === \"number\" && typeof error.statusText === \"string\" && typeof error.internal === \"boolean\" && \"data\" in error;\n}\n\nconst validMutationMethodsArr = [\"post\", \"put\", \"patch\", \"delete\"];\nconst validMutationMethods = new Set(validMutationMethodsArr);\nconst validRequestMethodsArr = [\"get\", ...validMutationMethodsArr];\nconst validRequestMethods = new Set(validRequestMethodsArr);\nconst redirectStatusCodes = new Set([301, 302, 303, 307, 308]);\nconst redirectPreserveMethodStatusCodes = new Set([307, 308]);\nconst IDLE_NAVIGATION = {\n state: \"idle\",\n location: undefined,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined\n};\nconst IDLE_FETCHER = {\n state: \"idle\",\n data: undefined,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined\n};\nconst IDLE_BLOCKER = {\n state: \"unblocked\",\n proceed: undefined,\n reset: undefined,\n location: undefined\n};\nconst ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\\/\\/)/i;\nconst isBrowser = typeof window !== \"undefined\" && typeof window.document !== \"undefined\" && typeof window.document.createElement !== \"undefined\";\nconst isServer = !isBrowser; //#endregion\n////////////////////////////////////////////////////////////////////////////////\n//#region createRouter\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Create a router and listen to history POP navigations\n */\n\nfunction createRouter(init) {\n invariant(init.routes.length > 0, \"You must provide a non-empty routes array to createRouter\");\n let dataRoutes = convertRoutesToDataRoutes(init.routes); // Cleanup function for history\n\n let unlistenHistory = null; // Externally-provided functions to call on all state changes\n\n let subscribers = new Set(); // Externally-provided object to hold scroll restoration locations during routing\n\n let savedScrollPositions = null; // Externally-provided function to get scroll restoration keys\n\n let getScrollRestorationKey = null; // Externally-provided function to get current scroll position\n\n let getScrollPosition = null; // One-time flag to control the initial hydration scroll restoration. Because\n // we don't get the saved positions from until _after_\n // the initial render, we need to manually trigger a separate updateState to\n // send along the restoreScrollPosition\n // Set to true if we have `hydrationData` since we assume we were SSR'd and that\n // SSR did the initial scroll restoration.\n\n let initialScrollRestored = init.hydrationData != null;\n let initialMatches = matchRoutes(dataRoutes, init.history.location, init.basename);\n let initialErrors = null;\n\n if (initialMatches == null) {\n // If we do not match a user-provided-route, fall back to the root\n // to allow the error boundary to take over\n let error = getInternalRouterError(404, {\n pathname: init.history.location.pathname\n });\n let {\n matches,\n route\n } = getShortCircuitMatches(dataRoutes);\n initialMatches = matches;\n initialErrors = {\n [route.id]: error\n };\n }\n\n let initialized = !initialMatches.some(m => m.route.loader) || init.hydrationData != null;\n let router;\n let state = {\n historyAction: init.history.action,\n location: init.history.location,\n matches: initialMatches,\n initialized,\n navigation: IDLE_NAVIGATION,\n // Don't restore on initial updateState() if we were SSR'd\n restoreScrollPosition: init.hydrationData != null ? false : null,\n preventScrollReset: false,\n revalidation: \"idle\",\n loaderData: init.hydrationData && init.hydrationData.loaderData || {},\n actionData: init.hydrationData && init.hydrationData.actionData || null,\n errors: init.hydrationData && init.hydrationData.errors || initialErrors,\n fetchers: new Map(),\n blockers: new Map()\n }; // -- Stateful internal variables to manage navigations --\n // Current navigation in progress (to be committed in completeNavigation)\n\n let pendingAction = Action.Pop; // Should the current navigation prevent the scroll reset if scroll cannot\n // be restored?\n\n let pendingPreventScrollReset = false; // AbortController for the active navigation\n\n let pendingNavigationController; // We use this to avoid touching history in completeNavigation if a\n // revalidation is entirely uninterrupted\n\n let isUninterruptedRevalidation = false; // Use this internal flag to force revalidation of all loaders:\n // - submissions (completed or interrupted)\n // - useRevalidate()\n // - X-Remix-Revalidate (from redirect)\n\n let isRevalidationRequired = false; // Use this internal array to capture routes that require revalidation due\n // to a cancelled deferred on action submission\n\n let cancelledDeferredRoutes = []; // Use this internal array to capture fetcher loads that were cancelled by an\n // action navigation and require revalidation\n\n let cancelledFetcherLoads = []; // AbortControllers for any in-flight fetchers\n\n let fetchControllers = new Map(); // Track loads based on the order in which they started\n\n let incrementingLoadId = 0; // Track the outstanding pending navigation data load to be compared against\n // the globally incrementing load when a fetcher load lands after a completed\n // navigation\n\n let pendingNavigationLoadId = -1; // Fetchers that triggered data reloads as a result of their actions\n\n let fetchReloadIds = new Map(); // Fetchers that triggered redirect navigations from their actions\n\n let fetchRedirectIds = new Set(); // Most recent href/match for fetcher.load calls for fetchers\n\n let fetchLoadMatches = new Map(); // Store DeferredData instances for active route matches. When a\n // route loader returns defer() we stick one in here. Then, when a nested\n // promise resolves we update loaderData. If a new navigation starts we\n // cancel active deferreds for eliminated routes.\n\n let activeDeferreds = new Map(); // Store blocker functions in a separate Map outside of router state since\n // we don't need to update UI state if they change\n\n let blockerFunctions = new Map(); // Flag to ignore the next history update, so we can revert the URL change on\n // a POP navigation that was blocked by the user without touching router state\n\n let ignoreNextHistoryUpdate = false; // Initialize the router, all side effects should be kicked off from here.\n // Implemented as a Fluent API for ease of:\n // let router = createRouter(init).initialize();\n\n function initialize() {\n // If history informs us of a POP navigation, start the navigation but do not update\n // state. We'll update our own state once the navigation completes\n unlistenHistory = init.history.listen(_ref => {\n let {\n action: historyAction,\n location,\n delta\n } = _ref;\n\n // Ignore this event if it was just us resetting the URL from a\n // blocked POP navigation\n if (ignoreNextHistoryUpdate) {\n ignoreNextHistoryUpdate = false;\n return;\n }\n\n warning(blockerFunctions.size === 0 || delta != null, \"You are trying to use a blocker on a POP navigation to a location \" + \"that was not created by @remix-run/router. This will fail silently in \" + \"production. This can happen if you are navigating outside the router \" + \"via `window.history.pushState`/`window.location.hash` instead of using \" + \"router navigation APIs. This can also happen if you are using \" + \"createHashRouter and the user manually changes the URL.\");\n let blockerKey = shouldBlockNavigation({\n currentLocation: state.location,\n nextLocation: location,\n historyAction\n });\n\n if (blockerKey && delta != null) {\n // Restore the URL to match the current UI, but don't update router state\n ignoreNextHistoryUpdate = true;\n init.history.go(delta * -1); // Put the blocker into a blocked state\n\n updateBlocker(blockerKey, {\n state: \"blocked\",\n location,\n\n proceed() {\n updateBlocker(blockerKey, {\n state: \"proceeding\",\n proceed: undefined,\n reset: undefined,\n location\n }); // Re-do the same POP navigation we just blocked\n\n init.history.go(delta);\n },\n\n reset() {\n deleteBlocker(blockerKey);\n updateState({\n blockers: new Map(router.state.blockers)\n });\n }\n\n });\n return;\n }\n\n return startNavigation(historyAction, location);\n }); // Kick off initial data load if needed. Use Pop to avoid modifying history\n\n if (!state.initialized) {\n startNavigation(Action.Pop, state.location);\n }\n\n return router;\n } // Clean up a router and it's side effects\n\n\n function dispose() {\n if (unlistenHistory) {\n unlistenHistory();\n }\n\n subscribers.clear();\n pendingNavigationController && pendingNavigationController.abort();\n state.fetchers.forEach((_, key) => deleteFetcher(key));\n state.blockers.forEach((_, key) => deleteBlocker(key));\n } // Subscribe to state updates for the router\n\n\n function subscribe(fn) {\n subscribers.add(fn);\n return () => subscribers.delete(fn);\n } // Update our state and notify the calling context of the change\n\n\n function updateState(newState) {\n state = _extends({}, state, newState);\n subscribers.forEach(subscriber => subscriber(state));\n } // Complete a navigation returning the state.navigation back to the IDLE_NAVIGATION\n // and setting state.[historyAction/location/matches] to the new route.\n // - Location is a required param\n // - Navigation will always be set to IDLE_NAVIGATION\n // - Can pass any other state in newState\n\n\n function completeNavigation(location, newState) {\n var _location$state, _location$state2;\n\n // Deduce if we're in a loading/actionReload state:\n // - We have committed actionData in the store\n // - The current navigation was a mutation submission\n // - We're past the submitting state and into the loading state\n // - The location being loaded is not the result of a redirect\n let isActionReload = state.actionData != null && state.navigation.formMethod != null && isMutationMethod(state.navigation.formMethod) && state.navigation.state === \"loading\" && ((_location$state = location.state) == null ? void 0 : _location$state._isRedirect) !== true;\n let actionData;\n\n if (newState.actionData) {\n if (Object.keys(newState.actionData).length > 0) {\n actionData = newState.actionData;\n } else {\n // Empty actionData -> clear prior actionData due to an action error\n actionData = null;\n }\n } else if (isActionReload) {\n // Keep the current data if we're wrapping up the action reload\n actionData = state.actionData;\n } else {\n // Clear actionData on any other completed navigations\n actionData = null;\n } // Always preserve any existing loaderData from re-used routes\n\n\n let loaderData = newState.loaderData ? mergeLoaderData(state.loaderData, newState.loaderData, newState.matches || [], newState.errors) : state.loaderData; // On a successful navigation we can assume we got through all blockers\n // so we can start fresh\n\n for (let [key] of blockerFunctions) {\n deleteBlocker(key);\n } // Always respect the user flag. Otherwise don't reset on mutation\n // submission navigations unless they redirect\n\n\n let preventScrollReset = pendingPreventScrollReset === true || state.navigation.formMethod != null && isMutationMethod(state.navigation.formMethod) && ((_location$state2 = location.state) == null ? void 0 : _location$state2._isRedirect) !== true;\n updateState(_extends({}, newState, {\n actionData,\n loaderData,\n historyAction: pendingAction,\n location,\n initialized: true,\n navigation: IDLE_NAVIGATION,\n revalidation: \"idle\",\n restoreScrollPosition: getSavedScrollPosition(location, newState.matches || state.matches),\n preventScrollReset,\n blockers: new Map(state.blockers)\n }));\n\n if (isUninterruptedRevalidation) ; else if (pendingAction === Action.Pop) ; else if (pendingAction === Action.Push) {\n init.history.push(location, location.state);\n } else if (pendingAction === Action.Replace) {\n init.history.replace(location, location.state);\n } // Reset stateful navigation vars\n\n\n pendingAction = Action.Pop;\n pendingPreventScrollReset = false;\n isUninterruptedRevalidation = false;\n isRevalidationRequired = false;\n cancelledDeferredRoutes = [];\n cancelledFetcherLoads = [];\n } // Trigger a navigation event, which can either be a numerical POP or a PUSH\n // replace with an optional submission\n\n\n async function navigate(to, opts) {\n if (typeof to === \"number\") {\n init.history.go(to);\n return;\n }\n\n let {\n path,\n submission,\n error\n } = normalizeNavigateOptions(to, opts);\n let currentLocation = state.location;\n let nextLocation = createLocation(state.location, path, opts && opts.state); // When using navigate as a PUSH/REPLACE we aren't reading an already-encoded\n // URL from window.location, so we need to encode it here so the behavior\n // remains the same as POP and non-data-router usages. new URL() does all\n // the same encoding we'd get from a history.pushState/window.location read\n // without having to touch history\n\n nextLocation = _extends({}, nextLocation, init.history.encodeLocation(nextLocation));\n let userReplace = opts && opts.replace != null ? opts.replace : undefined;\n let historyAction = Action.Push;\n\n if (userReplace === true) {\n historyAction = Action.Replace;\n } else if (userReplace === false) ; else if (submission != null && isMutationMethod(submission.formMethod) && submission.formAction === state.location.pathname + state.location.search) {\n // By default on submissions to the current location we REPLACE so that\n // users don't have to double-click the back button to get to the prior\n // location. If the user redirects to a different location from the\n // action/loader this will be ignored and the redirect will be a PUSH\n historyAction = Action.Replace;\n }\n\n let preventScrollReset = opts && \"preventScrollReset\" in opts ? opts.preventScrollReset === true : undefined;\n let blockerKey = shouldBlockNavigation({\n currentLocation,\n nextLocation,\n historyAction\n });\n\n if (blockerKey) {\n // Put the blocker into a blocked state\n updateBlocker(blockerKey, {\n state: \"blocked\",\n location: nextLocation,\n\n proceed() {\n updateBlocker(blockerKey, {\n state: \"proceeding\",\n proceed: undefined,\n reset: undefined,\n location: nextLocation\n }); // Send the same navigation through\n\n navigate(to, opts);\n },\n\n reset() {\n deleteBlocker(blockerKey);\n updateState({\n blockers: new Map(state.blockers)\n });\n }\n\n });\n return;\n }\n\n return await startNavigation(historyAction, nextLocation, {\n submission,\n // Send through the formData serialization error if we have one so we can\n // render at the right error boundary after we match routes\n pendingError: error,\n preventScrollReset,\n replace: opts && opts.replace\n });\n } // Revalidate all current loaders. If a navigation is in progress or if this\n // is interrupted by a navigation, allow this to \"succeed\" by calling all\n // loaders during the next loader round\n\n\n function revalidate() {\n interruptActiveLoads();\n updateState({\n revalidation: \"loading\"\n }); // If we're currently submitting an action, we don't need to start a new\n // navigation, we'll just let the follow up loader execution call all loaders\n\n if (state.navigation.state === \"submitting\") {\n return;\n } // If we're currently in an idle state, start a new navigation for the current\n // action/location and mark it as uninterrupted, which will skip the history\n // update in completeNavigation\n\n\n if (state.navigation.state === \"idle\") {\n startNavigation(state.historyAction, state.location, {\n startUninterruptedRevalidation: true\n });\n return;\n } // Otherwise, if we're currently in a loading state, just start a new\n // navigation to the navigation.location but do not trigger an uninterrupted\n // revalidation so that history correctly updates once the navigation completes\n\n\n startNavigation(pendingAction || state.historyAction, state.navigation.location, {\n overrideNavigation: state.navigation\n });\n } // Start a navigation to the given action/location. Can optionally provide a\n // overrideNavigation which will override the normalLoad in the case of a redirect\n // navigation\n\n\n async function startNavigation(historyAction, location, opts) {\n // Abort any in-progress navigations and start a new one. Unset any ongoing\n // uninterrupted revalidations unless told otherwise, since we want this\n // new navigation to update history normally\n pendingNavigationController && pendingNavigationController.abort();\n pendingNavigationController = null;\n pendingAction = historyAction;\n isUninterruptedRevalidation = (opts && opts.startUninterruptedRevalidation) === true; // Save the current scroll position every time we start a new navigation,\n // and track whether we should reset scroll on completion\n\n saveScrollPosition(state.location, state.matches);\n pendingPreventScrollReset = (opts && opts.preventScrollReset) === true;\n let loadingNavigation = opts && opts.overrideNavigation;\n let matches = matchRoutes(dataRoutes, location, init.basename); // Short circuit with a 404 on the root error boundary if we match nothing\n\n if (!matches) {\n let error = getInternalRouterError(404, {\n pathname: location.pathname\n });\n let {\n matches: notFoundMatches,\n route\n } = getShortCircuitMatches(dataRoutes); // Cancel all pending deferred on 404s since we don't keep any routes\n\n cancelActiveDeferreds();\n completeNavigation(location, {\n matches: notFoundMatches,\n loaderData: {},\n errors: {\n [route.id]: error\n }\n });\n return;\n } // Short circuit if it's only a hash change and not a mutation submission\n // For example, on /page#hash and submit a
which will\n // default to a navigation to /page\n\n\n if (isHashChangeOnly(state.location, location) && !(opts && opts.submission && isMutationMethod(opts.submission.formMethod))) {\n completeNavigation(location, {\n matches\n });\n return;\n } // Create a controller/Request for this navigation\n\n\n pendingNavigationController = new AbortController();\n let request = createClientSideRequest(init.history, location, pendingNavigationController.signal, opts && opts.submission);\n let pendingActionData;\n let pendingError;\n\n if (opts && opts.pendingError) {\n // If we have a pendingError, it means the user attempted a GET submission\n // with binary FormData so assign here and skip to handleLoaders. That\n // way we handle calling loaders above the boundary etc. It's not really\n // different from an actionError in that sense.\n pendingError = {\n [findNearestBoundary(matches).route.id]: opts.pendingError\n };\n } else if (opts && opts.submission && isMutationMethod(opts.submission.formMethod)) {\n // Call action if we received an action submission\n let actionOutput = await handleAction(request, location, opts.submission, matches, {\n replace: opts.replace\n });\n\n if (actionOutput.shortCircuited) {\n return;\n }\n\n pendingActionData = actionOutput.pendingActionData;\n pendingError = actionOutput.pendingActionError;\n\n let navigation = _extends({\n state: \"loading\",\n location\n }, opts.submission);\n\n loadingNavigation = navigation; // Create a GET request for the loaders\n\n request = new Request(request.url, {\n signal: request.signal\n });\n } // Call loaders\n\n\n let {\n shortCircuited,\n loaderData,\n errors\n } = await handleLoaders(request, location, matches, loadingNavigation, opts && opts.submission, opts && opts.replace, pendingActionData, pendingError);\n\n if (shortCircuited) {\n return;\n } // Clean up now that the action/loaders have completed. Don't clean up if\n // we short circuited because pendingNavigationController will have already\n // been assigned to a new controller for the next navigation\n\n\n pendingNavigationController = null;\n completeNavigation(location, _extends({\n matches\n }, pendingActionData ? {\n actionData: pendingActionData\n } : {}, {\n loaderData,\n errors\n }));\n } // Call the action matched by the leaf route for this navigation and handle\n // redirects/errors\n\n\n async function handleAction(request, location, submission, matches, opts) {\n interruptActiveLoads(); // Put us in a submitting state\n\n let navigation = _extends({\n state: \"submitting\",\n location\n }, submission);\n\n updateState({\n navigation\n }); // Call our action and get the result\n\n let result;\n let actionMatch = getTargetMatch(matches, location);\n\n if (!actionMatch.route.action) {\n result = {\n type: ResultType.error,\n error: getInternalRouterError(405, {\n method: request.method,\n pathname: location.pathname,\n routeId: actionMatch.route.id\n })\n };\n } else {\n result = await callLoaderOrAction(\"action\", request, actionMatch, matches, router.basename);\n\n if (request.signal.aborted) {\n return {\n shortCircuited: true\n };\n }\n }\n\n if (isRedirectResult(result)) {\n let replace;\n\n if (opts && opts.replace != null) {\n replace = opts.replace;\n } else {\n // If the user didn't explicity indicate replace behavior, replace if\n // we redirected to the exact same location we're currently at to avoid\n // double back-buttons\n replace = result.location === state.location.pathname + state.location.search;\n }\n\n await startRedirectNavigation(state, result, {\n submission,\n replace\n });\n return {\n shortCircuited: true\n };\n }\n\n if (isErrorResult(result)) {\n // Store off the pending error - we use it to determine which loaders\n // to call and will commit it when we complete the navigation\n let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id); // By default, all submissions are REPLACE navigations, but if the\n // action threw an error that'll be rendered in an errorElement, we fall\n // back to PUSH so that the user can use the back button to get back to\n // the pre-submission form location to try again\n\n if ((opts && opts.replace) !== true) {\n pendingAction = Action.Push;\n }\n\n return {\n // Send back an empty object we can use to clear out any prior actionData\n pendingActionData: {},\n pendingActionError: {\n [boundaryMatch.route.id]: result.error\n }\n };\n }\n\n if (isDeferredResult(result)) {\n throw getInternalRouterError(400, {\n type: \"defer-action\"\n });\n }\n\n return {\n pendingActionData: {\n [actionMatch.route.id]: result.data\n }\n };\n } // Call all applicable loaders for the given matches, handling redirects,\n // errors, etc.\n\n\n async function handleLoaders(request, location, matches, overrideNavigation, submission, replace, pendingActionData, pendingError) {\n // Figure out the right navigation we want to use for data loading\n let loadingNavigation = overrideNavigation;\n\n if (!loadingNavigation) {\n let navigation = _extends({\n state: \"loading\",\n location,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined\n }, submission);\n\n loadingNavigation = navigation;\n } // If this was a redirect from an action we don't have a \"submission\" but\n // we have it on the loading navigation so use that if available\n\n\n let activeSubmission = submission ? submission : loadingNavigation.formMethod && loadingNavigation.formAction && loadingNavigation.formData && loadingNavigation.formEncType ? {\n formMethod: loadingNavigation.formMethod,\n formAction: loadingNavigation.formAction,\n formData: loadingNavigation.formData,\n formEncType: loadingNavigation.formEncType\n } : undefined;\n let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(init.history, state, matches, activeSubmission, location, isRevalidationRequired, cancelledDeferredRoutes, cancelledFetcherLoads, pendingActionData, pendingError, fetchLoadMatches); // Cancel pending deferreds for no-longer-matched routes or routes we're\n // about to reload. Note that if this is an action reload we would have\n // already cancelled all pending deferreds so this would be a no-op\n\n cancelActiveDeferreds(routeId => !(matches && matches.some(m => m.route.id === routeId)) || matchesToLoad && matchesToLoad.some(m => m.route.id === routeId)); // Short circuit if we have no loaders to run\n\n if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) {\n completeNavigation(location, _extends({\n matches,\n loaderData: {},\n // Commit pending error if we're short circuiting\n errors: pendingError || null\n }, pendingActionData ? {\n actionData: pendingActionData\n } : {}));\n return {\n shortCircuited: true\n };\n } // If this is an uninterrupted revalidation, we remain in our current idle\n // state. If not, we need to switch to our loading state and load data,\n // preserving any new action data or existing action data (in the case of\n // a revalidation interrupting an actionReload)\n\n\n if (!isUninterruptedRevalidation) {\n revalidatingFetchers.forEach(rf => {\n let fetcher = state.fetchers.get(rf.key);\n let revalidatingFetcher = {\n state: \"loading\",\n data: fetcher && fetcher.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true\n };\n state.fetchers.set(rf.key, revalidatingFetcher);\n });\n let actionData = pendingActionData || state.actionData;\n updateState(_extends({\n navigation: loadingNavigation\n }, actionData ? Object.keys(actionData).length === 0 ? {\n actionData: null\n } : {\n actionData\n } : {}, revalidatingFetchers.length > 0 ? {\n fetchers: new Map(state.fetchers)\n } : {}));\n }\n\n pendingNavigationLoadId = ++incrementingLoadId;\n revalidatingFetchers.forEach(rf => fetchControllers.set(rf.key, pendingNavigationController));\n let {\n results,\n loaderResults,\n fetcherResults\n } = await callLoadersAndMaybeResolveData(state.matches, matches, matchesToLoad, revalidatingFetchers, request);\n\n if (request.signal.aborted) {\n return {\n shortCircuited: true\n };\n } // Clean up _after_ loaders have completed. Don't clean up if we short\n // circuited because fetchControllers would have been aborted and\n // reassigned to new controllers for the next navigation\n\n\n revalidatingFetchers.forEach(rf => fetchControllers.delete(rf.key)); // If any loaders returned a redirect Response, start a new REPLACE navigation\n\n let redirect = findRedirect(results);\n\n if (redirect) {\n await startRedirectNavigation(state, redirect, {\n replace\n });\n return {\n shortCircuited: true\n };\n } // Process and commit output from loaders\n\n\n let {\n loaderData,\n errors\n } = processLoaderData(state, matches, matchesToLoad, loaderResults, pendingError, revalidatingFetchers, fetcherResults, activeDeferreds); // Wire up subscribers to update loaderData as promises settle\n\n activeDeferreds.forEach((deferredData, routeId) => {\n deferredData.subscribe(aborted => {\n // Note: No need to updateState here since the TrackedPromise on\n // loaderData is stable across resolve/reject\n // Remove this instance if we were aborted or if promises have settled\n if (aborted || deferredData.done) {\n activeDeferreds.delete(routeId);\n }\n });\n });\n markFetchRedirectsDone();\n let didAbortFetchLoads = abortStaleFetchLoads(pendingNavigationLoadId);\n return _extends({\n loaderData,\n errors\n }, didAbortFetchLoads || revalidatingFetchers.length > 0 ? {\n fetchers: new Map(state.fetchers)\n } : {});\n }\n\n function getFetcher(key) {\n return state.fetchers.get(key) || IDLE_FETCHER;\n } // Trigger a fetcher load/submit for the given fetcher key\n\n\n function fetch(key, routeId, href, opts) {\n if (isServer) {\n throw new Error(\"router.fetch() was called during the server render, but it shouldn't be. \" + \"You are likely calling a useFetcher() method in the body of your component. \" + \"Try moving it to a useEffect or a callback.\");\n }\n\n if (fetchControllers.has(key)) abortFetcher(key);\n let matches = matchRoutes(dataRoutes, href, init.basename);\n\n if (!matches) {\n setFetcherError(key, routeId, getInternalRouterError(404, {\n pathname: href\n }));\n return;\n }\n\n let {\n path,\n submission\n } = normalizeNavigateOptions(href, opts, true);\n let match = getTargetMatch(matches, path);\n pendingPreventScrollReset = (opts && opts.preventScrollReset) === true;\n\n if (submission && isMutationMethod(submission.formMethod)) {\n handleFetcherAction(key, routeId, path, match, matches, submission);\n return;\n } // Store off the match so we can call it's shouldRevalidate on subsequent\n // revalidations\n\n\n fetchLoadMatches.set(key, {\n routeId,\n path,\n match,\n matches\n });\n handleFetcherLoader(key, routeId, path, match, matches, submission);\n } // Call the action for the matched fetcher.submit(), and then handle redirects,\n // errors, and revalidation\n\n\n async function handleFetcherAction(key, routeId, path, match, requestMatches, submission) {\n interruptActiveLoads();\n fetchLoadMatches.delete(key);\n\n if (!match.route.action) {\n let error = getInternalRouterError(405, {\n method: submission.formMethod,\n pathname: path,\n routeId: routeId\n });\n setFetcherError(key, routeId, error);\n return;\n } // Put this fetcher into it's submitting state\n\n\n let existingFetcher = state.fetchers.get(key);\n\n let fetcher = _extends({\n state: \"submitting\"\n }, submission, {\n data: existingFetcher && existingFetcher.data,\n \" _hasFetcherDoneAnything \": true\n });\n\n state.fetchers.set(key, fetcher);\n updateState({\n fetchers: new Map(state.fetchers)\n }); // Call the action for the fetcher\n\n let abortController = new AbortController();\n let fetchRequest = createClientSideRequest(init.history, path, abortController.signal, submission);\n fetchControllers.set(key, abortController);\n let actionResult = await callLoaderOrAction(\"action\", fetchRequest, match, requestMatches, router.basename);\n\n if (fetchRequest.signal.aborted) {\n // We can delete this so long as we weren't aborted by ou our own fetcher\n // re-submit which would have put _new_ controller is in fetchControllers\n if (fetchControllers.get(key) === abortController) {\n fetchControllers.delete(key);\n }\n\n return;\n }\n\n if (isRedirectResult(actionResult)) {\n fetchControllers.delete(key);\n fetchRedirectIds.add(key);\n\n let loadingFetcher = _extends({\n state: \"loading\"\n }, submission, {\n data: undefined,\n \" _hasFetcherDoneAnything \": true\n });\n\n state.fetchers.set(key, loadingFetcher);\n updateState({\n fetchers: new Map(state.fetchers)\n });\n return startRedirectNavigation(state, actionResult, {\n isFetchActionRedirect: true\n });\n } // Process any non-redirect errors thrown\n\n\n if (isErrorResult(actionResult)) {\n setFetcherError(key, routeId, actionResult.error);\n return;\n }\n\n if (isDeferredResult(actionResult)) {\n throw getInternalRouterError(400, {\n type: \"defer-action\"\n });\n } // Start the data load for current matches, or the next location if we're\n // in the middle of a navigation\n\n\n let nextLocation = state.navigation.location || state.location;\n let revalidationRequest = createClientSideRequest(init.history, nextLocation, abortController.signal);\n let matches = state.navigation.state !== \"idle\" ? matchRoutes(dataRoutes, state.navigation.location, init.basename) : state.matches;\n invariant(matches, \"Didn't find any matches after fetcher action\");\n let loadId = ++incrementingLoadId;\n fetchReloadIds.set(key, loadId);\n\n let loadFetcher = _extends({\n state: \"loading\",\n data: actionResult.data\n }, submission, {\n \" _hasFetcherDoneAnything \": true\n });\n\n state.fetchers.set(key, loadFetcher);\n let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(init.history, state, matches, submission, nextLocation, isRevalidationRequired, cancelledDeferredRoutes, cancelledFetcherLoads, {\n [match.route.id]: actionResult.data\n }, undefined, // No need to send through errors since we short circuit above\n fetchLoadMatches); // Put all revalidating fetchers into the loading state, except for the\n // current fetcher which we want to keep in it's current loading state which\n // contains it's action submission info + action data\n\n revalidatingFetchers.filter(rf => rf.key !== key).forEach(rf => {\n let staleKey = rf.key;\n let existingFetcher = state.fetchers.get(staleKey);\n let revalidatingFetcher = {\n state: \"loading\",\n data: existingFetcher && existingFetcher.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true\n };\n state.fetchers.set(staleKey, revalidatingFetcher);\n fetchControllers.set(staleKey, abortController);\n });\n updateState({\n fetchers: new Map(state.fetchers)\n });\n let {\n results,\n loaderResults,\n fetcherResults\n } = await callLoadersAndMaybeResolveData(state.matches, matches, matchesToLoad, revalidatingFetchers, revalidationRequest);\n\n if (abortController.signal.aborted) {\n return;\n }\n\n fetchReloadIds.delete(key);\n fetchControllers.delete(key);\n revalidatingFetchers.forEach(r => fetchControllers.delete(r.key));\n let redirect = findRedirect(results);\n\n if (redirect) {\n return startRedirectNavigation(state, redirect);\n } // Process and commit output from loaders\n\n\n let {\n loaderData,\n errors\n } = processLoaderData(state, state.matches, matchesToLoad, loaderResults, undefined, revalidatingFetchers, fetcherResults, activeDeferreds);\n let doneFetcher = {\n state: \"idle\",\n data: actionResult.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true\n };\n state.fetchers.set(key, doneFetcher);\n let didAbortFetchLoads = abortStaleFetchLoads(loadId); // If we are currently in a navigation loading state and this fetcher is\n // more recent than the navigation, we want the newer data so abort the\n // navigation and complete it with the fetcher data\n\n if (state.navigation.state === \"loading\" && loadId > pendingNavigationLoadId) {\n invariant(pendingAction, \"Expected pending action\");\n pendingNavigationController && pendingNavigationController.abort();\n completeNavigation(state.navigation.location, {\n matches,\n loaderData,\n errors,\n fetchers: new Map(state.fetchers)\n });\n } else {\n // otherwise just update with the fetcher data, preserving any existing\n // loaderData for loaders that did not need to reload. We have to\n // manually merge here since we aren't going through completeNavigation\n updateState(_extends({\n errors,\n loaderData: mergeLoaderData(state.loaderData, loaderData, matches, errors)\n }, didAbortFetchLoads ? {\n fetchers: new Map(state.fetchers)\n } : {}));\n isRevalidationRequired = false;\n }\n } // Call the matched loader for fetcher.load(), handling redirects, errors, etc.\n\n\n async function handleFetcherLoader(key, routeId, path, match, matches, submission) {\n let existingFetcher = state.fetchers.get(key); // Put this fetcher into it's loading state\n\n let loadingFetcher = _extends({\n state: \"loading\",\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined\n }, submission, {\n data: existingFetcher && existingFetcher.data,\n \" _hasFetcherDoneAnything \": true\n });\n\n state.fetchers.set(key, loadingFetcher);\n updateState({\n fetchers: new Map(state.fetchers)\n }); // Call the loader for this fetcher route match\n\n let abortController = new AbortController();\n let fetchRequest = createClientSideRequest(init.history, path, abortController.signal);\n fetchControllers.set(key, abortController);\n let result = await callLoaderOrAction(\"loader\", fetchRequest, match, matches, router.basename); // Deferred isn't supported for fetcher loads, await everything and treat it\n // as a normal load. resolveDeferredData will return undefined if this\n // fetcher gets aborted, so we just leave result untouched and short circuit\n // below if that happens\n\n if (isDeferredResult(result)) {\n result = (await resolveDeferredData(result, fetchRequest.signal, true)) || result;\n } // We can delete this so long as we weren't aborted by ou our own fetcher\n // re-load which would have put _new_ controller is in fetchControllers\n\n\n if (fetchControllers.get(key) === abortController) {\n fetchControllers.delete(key);\n }\n\n if (fetchRequest.signal.aborted) {\n return;\n } // If the loader threw a redirect Response, start a new REPLACE navigation\n\n\n if (isRedirectResult(result)) {\n await startRedirectNavigation(state, result);\n return;\n } // Process any non-redirect errors thrown\n\n\n if (isErrorResult(result)) {\n let boundaryMatch = findNearestBoundary(state.matches, routeId);\n state.fetchers.delete(key); // TODO: In remix, this would reset to IDLE_NAVIGATION if it was a catch -\n // do we need to behave any differently with our non-redirect errors?\n // What if it was a non-redirect Response?\n\n updateState({\n fetchers: new Map(state.fetchers),\n errors: {\n [boundaryMatch.route.id]: result.error\n }\n });\n return;\n }\n\n invariant(!isDeferredResult(result), \"Unhandled fetcher deferred data\"); // Put the fetcher back into an idle state\n\n let doneFetcher = {\n state: \"idle\",\n data: result.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true\n };\n state.fetchers.set(key, doneFetcher);\n updateState({\n fetchers: new Map(state.fetchers)\n });\n }\n /**\n * Utility function to handle redirects returned from an action or loader.\n * Normally, a redirect \"replaces\" the navigation that triggered it. So, for\n * example:\n *\n * - user is on /a\n * - user clicks a link to /b\n * - loader for /b redirects to /c\n *\n * In a non-JS app the browser would track the in-flight navigation to /b and\n * then replace it with /c when it encountered the redirect response. In\n * the end it would only ever update the URL bar with /c.\n *\n * In client-side routing using pushState/replaceState, we aim to emulate\n * this behavior and we also do not update history until the end of the\n * navigation (including processed redirects). This means that we never\n * actually touch history until we've processed redirects, so we just use\n * the history action from the original navigation (PUSH or REPLACE).\n */\n\n\n async function startRedirectNavigation(state, redirect, _temp) {\n var _window;\n\n let {\n submission,\n replace,\n isFetchActionRedirect\n } = _temp === void 0 ? {} : _temp;\n\n if (redirect.revalidate) {\n isRevalidationRequired = true;\n }\n\n let redirectLocation = createLocation(state.location, redirect.location, // TODO: This can be removed once we get rid of useTransition in Remix v2\n _extends({\n _isRedirect: true\n }, isFetchActionRedirect ? {\n _isFetchActionRedirect: true\n } : {}));\n invariant(redirectLocation, \"Expected a location on the redirect navigation\"); // Check if this an absolute external redirect that goes to a new origin\n\n if (ABSOLUTE_URL_REGEX.test(redirect.location) && isBrowser && typeof ((_window = window) == null ? void 0 : _window.location) !== \"undefined\") {\n let newOrigin = init.history.createURL(redirect.location).origin;\n\n if (window.location.origin !== newOrigin) {\n if (replace) {\n window.location.replace(redirect.location);\n } else {\n window.location.assign(redirect.location);\n }\n\n return;\n }\n } // There's no need to abort on redirects, since we don't detect the\n // redirect until the action/loaders have settled\n\n\n pendingNavigationController = null;\n let redirectHistoryAction = replace === true ? Action.Replace : Action.Push; // Use the incoming submission if provided, fallback on the active one in\n // state.navigation\n\n let {\n formMethod,\n formAction,\n formEncType,\n formData\n } = state.navigation;\n\n if (!submission && formMethod && formAction && formData && formEncType) {\n submission = {\n formMethod,\n formAction,\n formEncType,\n formData\n };\n } // If this was a 307/308 submission we want to preserve the HTTP method and\n // re-submit the GET/POST/PUT/PATCH/DELETE as a submission navigation to the\n // redirected location\n\n\n if (redirectPreserveMethodStatusCodes.has(redirect.status) && submission && isMutationMethod(submission.formMethod)) {\n await startNavigation(redirectHistoryAction, redirectLocation, {\n submission: _extends({}, submission, {\n formAction: redirect.location\n }),\n // Preserve this flag across redirects\n preventScrollReset: pendingPreventScrollReset\n });\n } else {\n // Otherwise, we kick off a new loading navigation, preserving the\n // submission info for the duration of this navigation\n await startNavigation(redirectHistoryAction, redirectLocation, {\n overrideNavigation: {\n state: \"loading\",\n location: redirectLocation,\n formMethod: submission ? submission.formMethod : undefined,\n formAction: submission ? submission.formAction : undefined,\n formEncType: submission ? submission.formEncType : undefined,\n formData: submission ? submission.formData : undefined\n },\n // Preserve this flag across redirects\n preventScrollReset: pendingPreventScrollReset\n });\n }\n }\n\n async function callLoadersAndMaybeResolveData(currentMatches, matches, matchesToLoad, fetchersToLoad, request) {\n // Call all navigation loaders and revalidating fetcher loaders in parallel,\n // then slice off the results into separate arrays so we can handle them\n // accordingly\n let results = await Promise.all([...matchesToLoad.map(match => callLoaderOrAction(\"loader\", request, match, matches, router.basename)), ...fetchersToLoad.map(f => callLoaderOrAction(\"loader\", createClientSideRequest(init.history, f.path, request.signal), f.match, f.matches, router.basename))]);\n let loaderResults = results.slice(0, matchesToLoad.length);\n let fetcherResults = results.slice(matchesToLoad.length);\n await Promise.all([resolveDeferredResults(currentMatches, matchesToLoad, loaderResults, request.signal, false, state.loaderData), resolveDeferredResults(currentMatches, fetchersToLoad.map(f => f.match), fetcherResults, request.signal, true)]);\n return {\n results,\n loaderResults,\n fetcherResults\n };\n }\n\n function interruptActiveLoads() {\n // Every interruption triggers a revalidation\n isRevalidationRequired = true; // Cancel pending route-level deferreds and mark cancelled routes for\n // revalidation\n\n cancelledDeferredRoutes.push(...cancelActiveDeferreds()); // Abort in-flight fetcher loads\n\n fetchLoadMatches.forEach((_, key) => {\n if (fetchControllers.has(key)) {\n cancelledFetcherLoads.push(key);\n abortFetcher(key);\n }\n });\n }\n\n function setFetcherError(key, routeId, error) {\n let boundaryMatch = findNearestBoundary(state.matches, routeId);\n deleteFetcher(key);\n updateState({\n errors: {\n [boundaryMatch.route.id]: error\n },\n fetchers: new Map(state.fetchers)\n });\n }\n\n function deleteFetcher(key) {\n if (fetchControllers.has(key)) abortFetcher(key);\n fetchLoadMatches.delete(key);\n fetchReloadIds.delete(key);\n fetchRedirectIds.delete(key);\n state.fetchers.delete(key);\n }\n\n function abortFetcher(key) {\n let controller = fetchControllers.get(key);\n invariant(controller, \"Expected fetch controller: \" + key);\n controller.abort();\n fetchControllers.delete(key);\n }\n\n function markFetchersDone(keys) {\n for (let key of keys) {\n let fetcher = getFetcher(key);\n let doneFetcher = {\n state: \"idle\",\n data: fetcher.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true\n };\n state.fetchers.set(key, doneFetcher);\n }\n }\n\n function markFetchRedirectsDone() {\n let doneKeys = [];\n\n for (let key of fetchRedirectIds) {\n let fetcher = state.fetchers.get(key);\n invariant(fetcher, \"Expected fetcher: \" + key);\n\n if (fetcher.state === \"loading\") {\n fetchRedirectIds.delete(key);\n doneKeys.push(key);\n }\n }\n\n markFetchersDone(doneKeys);\n }\n\n function abortStaleFetchLoads(landedId) {\n let yeetedKeys = [];\n\n for (let [key, id] of fetchReloadIds) {\n if (id < landedId) {\n let fetcher = state.fetchers.get(key);\n invariant(fetcher, \"Expected fetcher: \" + key);\n\n if (fetcher.state === \"loading\") {\n abortFetcher(key);\n fetchReloadIds.delete(key);\n yeetedKeys.push(key);\n }\n }\n }\n\n markFetchersDone(yeetedKeys);\n return yeetedKeys.length > 0;\n }\n\n function getBlocker(key, fn) {\n let blocker = state.blockers.get(key) || IDLE_BLOCKER;\n\n if (blockerFunctions.get(key) !== fn) {\n blockerFunctions.set(key, fn);\n }\n\n return blocker;\n }\n\n function deleteBlocker(key) {\n state.blockers.delete(key);\n blockerFunctions.delete(key);\n } // Utility function to update blockers, ensuring valid state transitions\n\n\n function updateBlocker(key, newBlocker) {\n let blocker = state.blockers.get(key) || IDLE_BLOCKER; // Poor mans state machine :)\n // https://mermaid.live/edit#pako:eNqVkc9OwzAMxl8l8nnjAYrEtDIOHEBIgwvKJTReGy3_lDpIqO27k6awMG0XcrLlnz87nwdonESogKXXBuE79rq75XZO3-yHds0RJVuv70YrPlUrCEe2HfrORS3rubqZfuhtpg5C9wk5tZ4VKcRUq88q9Z8RS0-48cE1iHJkL0ugbHuFLus9L6spZy8nX9MP2CNdomVaposqu3fGayT8T8-jJQwhepo_UtpgBQaDEUom04dZhAN1aJBDlUKJBxE1ceB2Smj0Mln-IBW5AFU2dwUiktt_2Qaq2dBfaKdEup85UV7Yd-dKjlnkabl2Pvr0DTkTreM\n\n invariant(blocker.state === \"unblocked\" && newBlocker.state === \"blocked\" || blocker.state === \"blocked\" && newBlocker.state === \"blocked\" || blocker.state === \"blocked\" && newBlocker.state === \"proceeding\" || blocker.state === \"blocked\" && newBlocker.state === \"unblocked\" || blocker.state === \"proceeding\" && newBlocker.state === \"unblocked\", \"Invalid blocker state transition: \" + blocker.state + \" -> \" + newBlocker.state);\n state.blockers.set(key, newBlocker);\n updateState({\n blockers: new Map(state.blockers)\n });\n }\n\n function shouldBlockNavigation(_ref2) {\n let {\n currentLocation,\n nextLocation,\n historyAction\n } = _ref2;\n\n if (blockerFunctions.size === 0) {\n return;\n } // We ony support a single active blocker at the moment since we don't have\n // any compelling use cases for multi-blocker yet\n\n\n if (blockerFunctions.size > 1) {\n warning(false, \"A router only supports one blocker at a time\");\n }\n\n let entries = Array.from(blockerFunctions.entries());\n let [blockerKey, blockerFunction] = entries[entries.length - 1];\n let blocker = state.blockers.get(blockerKey);\n\n if (blocker && blocker.state === \"proceeding\") {\n // If the blocker is currently proceeding, we don't need to re-check\n // it and can let this navigation continue\n return;\n } // At this point, we know we're unblocked/blocked so we need to check the\n // user-provided blocker function\n\n\n if (blockerFunction({\n currentLocation,\n nextLocation,\n historyAction\n })) {\n return blockerKey;\n }\n }\n\n function cancelActiveDeferreds(predicate) {\n let cancelledRouteIds = [];\n activeDeferreds.forEach((dfd, routeId) => {\n if (!predicate || predicate(routeId)) {\n // Cancel the deferred - but do not remove from activeDeferreds here -\n // we rely on the subscribers to do that so our tests can assert proper\n // cleanup via _internalActiveDeferreds\n dfd.cancel();\n cancelledRouteIds.push(routeId);\n activeDeferreds.delete(routeId);\n }\n });\n return cancelledRouteIds;\n } // Opt in to capturing and reporting scroll positions during navigations,\n // used by the component\n\n\n function enableScrollRestoration(positions, getPosition, getKey) {\n savedScrollPositions = positions;\n getScrollPosition = getPosition;\n\n getScrollRestorationKey = getKey || (location => location.key); // Perform initial hydration scroll restoration, since we miss the boat on\n // the initial updateState() because we've not yet rendered \n // and therefore have no savedScrollPositions available\n\n\n if (!initialScrollRestored && state.navigation === IDLE_NAVIGATION) {\n initialScrollRestored = true;\n let y = getSavedScrollPosition(state.location, state.matches);\n\n if (y != null) {\n updateState({\n restoreScrollPosition: y\n });\n }\n }\n\n return () => {\n savedScrollPositions = null;\n getScrollPosition = null;\n getScrollRestorationKey = null;\n };\n }\n\n function saveScrollPosition(location, matches) {\n if (savedScrollPositions && getScrollRestorationKey && getScrollPosition) {\n let userMatches = matches.map(m => createUseMatchesMatch(m, state.loaderData));\n let key = getScrollRestorationKey(location, userMatches) || location.key;\n savedScrollPositions[key] = getScrollPosition();\n }\n }\n\n function getSavedScrollPosition(location, matches) {\n if (savedScrollPositions && getScrollRestorationKey && getScrollPosition) {\n let userMatches = matches.map(m => createUseMatchesMatch(m, state.loaderData));\n let key = getScrollRestorationKey(location, userMatches) || location.key;\n let y = savedScrollPositions[key];\n\n if (typeof y === \"number\") {\n return y;\n }\n }\n\n return null;\n }\n\n router = {\n get basename() {\n return init.basename;\n },\n\n get state() {\n return state;\n },\n\n get routes() {\n return dataRoutes;\n },\n\n initialize,\n subscribe,\n enableScrollRestoration,\n navigate,\n fetch,\n revalidate,\n // Passthrough to history-aware createHref used by useHref so we get proper\n // hash-aware URLs in DOM paths\n createHref: to => init.history.createHref(to),\n encodeLocation: to => init.history.encodeLocation(to),\n getFetcher,\n deleteFetcher,\n dispose,\n getBlocker,\n deleteBlocker,\n _internalFetchControllers: fetchControllers,\n _internalActiveDeferreds: activeDeferreds\n };\n return router;\n} //#endregion\n////////////////////////////////////////////////////////////////////////////////\n//#region createStaticHandler\n////////////////////////////////////////////////////////////////////////////////\n\nconst UNSAFE_DEFERRED_SYMBOL = Symbol(\"deferred\");\nfunction createStaticHandler(routes, opts) {\n invariant(routes.length > 0, \"You must provide a non-empty routes array to createStaticHandler\");\n let dataRoutes = convertRoutesToDataRoutes(routes);\n let basename = (opts ? opts.basename : null) || \"/\";\n /**\n * The query() method is intended for document requests, in which we want to\n * call an optional action and potentially multiple loaders for all nested\n * routes. It returns a StaticHandlerContext object, which is very similar\n * to the router state (location, loaderData, actionData, errors, etc.) and\n * also adds SSR-specific information such as the statusCode and headers\n * from action/loaders Responses.\n *\n * It _should_ never throw and should report all errors through the\n * returned context.errors object, properly associating errors to their error\n * boundary. Additionally, it tracks _deepestRenderedBoundaryId which can be\n * used to emulate React error boundaries during SSr by performing a second\n * pass only down to the boundaryId.\n *\n * The one exception where we do not return a StaticHandlerContext is when a\n * redirect response is returned or thrown from any action/loader. We\n * propagate that out and return the raw Response so the HTTP server can\n * return it directly.\n */\n\n async function query(request, _temp2) {\n let {\n requestContext\n } = _temp2 === void 0 ? {} : _temp2;\n let url = new URL(request.url);\n let method = request.method.toLowerCase();\n let location = createLocation(\"\", createPath(url), null, \"default\");\n let matches = matchRoutes(dataRoutes, location, basename); // SSR supports HEAD requests while SPA doesn't\n\n if (!isValidMethod(method) && method !== \"head\") {\n let error = getInternalRouterError(405, {\n method\n });\n let {\n matches: methodNotAllowedMatches,\n route\n } = getShortCircuitMatches(dataRoutes);\n return {\n basename,\n location,\n matches: methodNotAllowedMatches,\n loaderData: {},\n actionData: null,\n errors: {\n [route.id]: error\n },\n statusCode: error.status,\n loaderHeaders: {},\n actionHeaders: {},\n activeDeferreds: null\n };\n } else if (!matches) {\n let error = getInternalRouterError(404, {\n pathname: location.pathname\n });\n let {\n matches: notFoundMatches,\n route\n } = getShortCircuitMatches(dataRoutes);\n return {\n basename,\n location,\n matches: notFoundMatches,\n loaderData: {},\n actionData: null,\n errors: {\n [route.id]: error\n },\n statusCode: error.status,\n loaderHeaders: {},\n actionHeaders: {},\n activeDeferreds: null\n };\n }\n\n let result = await queryImpl(request, location, matches, requestContext);\n\n if (isResponse(result)) {\n return result;\n } // When returning StaticHandlerContext, we patch back in the location here\n // since we need it for React Context. But this helps keep our submit and\n // loadRouteData operating on a Request instead of a Location\n\n\n return _extends({\n location,\n basename\n }, result);\n }\n /**\n * The queryRoute() method is intended for targeted route requests, either\n * for fetch ?_data requests or resource route requests. In this case, we\n * are only ever calling a single action or loader, and we are returning the\n * returned value directly. In most cases, this will be a Response returned\n * from the action/loader, but it may be a primitive or other value as well -\n * and in such cases the calling context should handle that accordingly.\n *\n * We do respect the throw/return differentiation, so if an action/loader\n * throws, then this method will throw the value. This is important so we\n * can do proper boundary identification in Remix where a thrown Response\n * must go to the Catch Boundary but a returned Response is happy-path.\n *\n * One thing to note is that any Router-initiated Errors that make sense\n * to associate with a status code will be thrown as an ErrorResponse\n * instance which include the raw Error, such that the calling context can\n * serialize the error as they see fit while including the proper response\n * code. Examples here are 404 and 405 errors that occur prior to reaching\n * any user-defined loaders.\n */\n\n\n async function queryRoute(request, _temp3) {\n let {\n routeId,\n requestContext\n } = _temp3 === void 0 ? {} : _temp3;\n let url = new URL(request.url);\n let method = request.method.toLowerCase();\n let location = createLocation(\"\", createPath(url), null, \"default\");\n let matches = matchRoutes(dataRoutes, location, basename); // SSR supports HEAD requests while SPA doesn't\n\n if (!isValidMethod(method) && method !== \"head\" && method !== \"options\") {\n throw getInternalRouterError(405, {\n method\n });\n } else if (!matches) {\n throw getInternalRouterError(404, {\n pathname: location.pathname\n });\n }\n\n let match = routeId ? matches.find(m => m.route.id === routeId) : getTargetMatch(matches, location);\n\n if (routeId && !match) {\n throw getInternalRouterError(403, {\n pathname: location.pathname,\n routeId\n });\n } else if (!match) {\n // This should never hit I don't think?\n throw getInternalRouterError(404, {\n pathname: location.pathname\n });\n }\n\n let result = await queryImpl(request, location, matches, requestContext, match);\n\n if (isResponse(result)) {\n return result;\n }\n\n let error = result.errors ? Object.values(result.errors)[0] : undefined;\n\n if (error !== undefined) {\n // If we got back result.errors, that means the loader/action threw\n // _something_ that wasn't a Response, but it's not guaranteed/required\n // to be an `instanceof Error` either, so we have to use throw here to\n // preserve the \"error\" state outside of queryImpl.\n throw error;\n } // Pick off the right state value to return\n\n\n if (result.actionData) {\n return Object.values(result.actionData)[0];\n }\n\n if (result.loaderData) {\n var _result$activeDeferre;\n\n let data = Object.values(result.loaderData)[0];\n\n if ((_result$activeDeferre = result.activeDeferreds) != null && _result$activeDeferre[match.route.id]) {\n data[UNSAFE_DEFERRED_SYMBOL] = result.activeDeferreds[match.route.id];\n }\n\n return data;\n }\n\n return undefined;\n }\n\n async function queryImpl(request, location, matches, requestContext, routeMatch) {\n invariant(request.signal, \"query()/queryRoute() requests must contain an AbortController signal\");\n\n try {\n if (isMutationMethod(request.method.toLowerCase())) {\n let result = await submit(request, matches, routeMatch || getTargetMatch(matches, location), requestContext, routeMatch != null);\n return result;\n }\n\n let result = await loadRouteData(request, matches, requestContext, routeMatch);\n return isResponse(result) ? result : _extends({}, result, {\n actionData: null,\n actionHeaders: {}\n });\n } catch (e) {\n // If the user threw/returned a Response in callLoaderOrAction, we throw\n // it to bail out and then return or throw here based on whether the user\n // returned or threw\n if (isQueryRouteResponse(e)) {\n if (e.type === ResultType.error && !isRedirectResponse(e.response)) {\n throw e.response;\n }\n\n return e.response;\n } // Redirects are always returned since they don't propagate to catch\n // boundaries\n\n\n if (isRedirectResponse(e)) {\n return e;\n }\n\n throw e;\n }\n }\n\n async function submit(request, matches, actionMatch, requestContext, isRouteRequest) {\n let result;\n\n if (!actionMatch.route.action) {\n let error = getInternalRouterError(405, {\n method: request.method,\n pathname: new URL(request.url).pathname,\n routeId: actionMatch.route.id\n });\n\n if (isRouteRequest) {\n throw error;\n }\n\n result = {\n type: ResultType.error,\n error\n };\n } else {\n result = await callLoaderOrAction(\"action\", request, actionMatch, matches, basename, true, isRouteRequest, requestContext);\n\n if (request.signal.aborted) {\n let method = isRouteRequest ? \"queryRoute\" : \"query\";\n throw new Error(method + \"() call aborted\");\n }\n }\n\n if (isRedirectResult(result)) {\n // Uhhhh - this should never happen, we should always throw these from\n // callLoaderOrAction, but the type narrowing here keeps TS happy and we\n // can get back on the \"throw all redirect responses\" train here should\n // this ever happen :/\n throw new Response(null, {\n status: result.status,\n headers: {\n Location: result.location\n }\n });\n }\n\n if (isDeferredResult(result)) {\n let error = getInternalRouterError(400, {\n type: \"defer-action\"\n });\n\n if (isRouteRequest) {\n throw error;\n }\n\n result = {\n type: ResultType.error,\n error\n };\n }\n\n if (isRouteRequest) {\n // Note: This should only be non-Response values if we get here, since\n // isRouteRequest should throw any Response received in callLoaderOrAction\n if (isErrorResult(result)) {\n throw result.error;\n }\n\n return {\n matches: [actionMatch],\n loaderData: {},\n actionData: {\n [actionMatch.route.id]: result.data\n },\n errors: null,\n // Note: statusCode + headers are unused here since queryRoute will\n // return the raw Response or value\n statusCode: 200,\n loaderHeaders: {},\n actionHeaders: {},\n activeDeferreds: null\n };\n }\n\n if (isErrorResult(result)) {\n // Store off the pending error - we use it to determine which loaders\n // to call and will commit it when we complete the navigation\n let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);\n let context = await loadRouteData(request, matches, requestContext, undefined, {\n [boundaryMatch.route.id]: result.error\n }); // action status codes take precedence over loader status codes\n\n return _extends({}, context, {\n statusCode: isRouteErrorResponse(result.error) ? result.error.status : 500,\n actionData: null,\n actionHeaders: _extends({}, result.headers ? {\n [actionMatch.route.id]: result.headers\n } : {})\n });\n } // Create a GET request for the loaders\n\n\n let loaderRequest = new Request(request.url, {\n headers: request.headers,\n redirect: request.redirect,\n signal: request.signal\n });\n let context = await loadRouteData(loaderRequest, matches, requestContext);\n return _extends({}, context, result.statusCode ? {\n statusCode: result.statusCode\n } : {}, {\n actionData: {\n [actionMatch.route.id]: result.data\n },\n actionHeaders: _extends({}, result.headers ? {\n [actionMatch.route.id]: result.headers\n } : {})\n });\n }\n\n async function loadRouteData(request, matches, requestContext, routeMatch, pendingActionError) {\n let isRouteRequest = routeMatch != null; // Short circuit if we have no loaders to run (queryRoute())\n\n if (isRouteRequest && !(routeMatch != null && routeMatch.route.loader)) {\n throw getInternalRouterError(400, {\n method: request.method,\n pathname: new URL(request.url).pathname,\n routeId: routeMatch == null ? void 0 : routeMatch.route.id\n });\n }\n\n let requestMatches = routeMatch ? [routeMatch] : getLoaderMatchesUntilBoundary(matches, Object.keys(pendingActionError || {})[0]);\n let matchesToLoad = requestMatches.filter(m => m.route.loader); // Short circuit if we have no loaders to run (query())\n\n if (matchesToLoad.length === 0) {\n return {\n matches,\n // Add a null for all matched routes for proper revalidation on the client\n loaderData: matches.reduce((acc, m) => Object.assign(acc, {\n [m.route.id]: null\n }), {}),\n errors: pendingActionError || null,\n statusCode: 200,\n loaderHeaders: {},\n activeDeferreds: null\n };\n }\n\n let results = await Promise.all([...matchesToLoad.map(match => callLoaderOrAction(\"loader\", request, match, matches, basename, true, isRouteRequest, requestContext))]);\n\n if (request.signal.aborted) {\n let method = isRouteRequest ? \"queryRoute\" : \"query\";\n throw new Error(method + \"() call aborted\");\n } // Process and commit output from loaders\n\n\n let activeDeferreds = new Map();\n let context = processRouteLoaderData(matches, matchesToLoad, results, pendingActionError, activeDeferreds); // Add a null for any non-loader matches for proper revalidation on the client\n\n let executedLoaders = new Set(matchesToLoad.map(match => match.route.id));\n matches.forEach(match => {\n if (!executedLoaders.has(match.route.id)) {\n context.loaderData[match.route.id] = null;\n }\n });\n return _extends({}, context, {\n matches,\n activeDeferreds: activeDeferreds.size > 0 ? Object.fromEntries(activeDeferreds.entries()) : null\n });\n }\n\n return {\n dataRoutes,\n query,\n queryRoute\n };\n} //#endregion\n////////////////////////////////////////////////////////////////////////////////\n//#region Helpers\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Given an existing StaticHandlerContext and an error thrown at render time,\n * provide an updated StaticHandlerContext suitable for a second SSR render\n */\n\nfunction getStaticContextFromError(routes, context, error) {\n let newContext = _extends({}, context, {\n statusCode: 500,\n errors: {\n [context._deepestRenderedBoundaryId || routes[0].id]: error\n }\n });\n\n return newContext;\n}\n\nfunction isSubmissionNavigation(opts) {\n return opts != null && \"formData\" in opts;\n} // Normalize navigation options by converting formMethod=GET formData objects to\n// URLSearchParams so they behave identically to links with query params\n\n\nfunction normalizeNavigateOptions(to, opts, isFetcher) {\n if (isFetcher === void 0) {\n isFetcher = false;\n }\n\n let path = typeof to === \"string\" ? to : createPath(to); // Return location verbatim on non-submission navigations\n\n if (!opts || !isSubmissionNavigation(opts)) {\n return {\n path\n };\n }\n\n if (opts.formMethod && !isValidMethod(opts.formMethod)) {\n return {\n path,\n error: getInternalRouterError(405, {\n method: opts.formMethod\n })\n };\n } // Create a Submission on non-GET navigations\n\n\n let submission;\n\n if (opts.formData) {\n submission = {\n formMethod: opts.formMethod || \"get\",\n formAction: stripHashFromPath(path),\n formEncType: opts && opts.formEncType || \"application/x-www-form-urlencoded\",\n formData: opts.formData\n };\n\n if (isMutationMethod(submission.formMethod)) {\n return {\n path,\n submission\n };\n }\n } // Flatten submission onto URLSearchParams for GET submissions\n\n\n let parsedPath = parsePath(path);\n let searchParams = convertFormDataToSearchParams(opts.formData); // Since fetcher GET submissions only run a single loader (as opposed to\n // navigation GET submissions which run all loaders), we need to preserve\n // any incoming ?index params\n\n if (isFetcher && parsedPath.search && hasNakedIndexQuery(parsedPath.search)) {\n searchParams.append(\"index\", \"\");\n }\n\n parsedPath.search = \"?\" + searchParams;\n return {\n path: createPath(parsedPath),\n submission\n };\n} // Filter out all routes below any caught error as they aren't going to\n// render so we don't need to load them\n\n\nfunction getLoaderMatchesUntilBoundary(matches, boundaryId) {\n let boundaryMatches = matches;\n\n if (boundaryId) {\n let index = matches.findIndex(m => m.route.id === boundaryId);\n\n if (index >= 0) {\n boundaryMatches = matches.slice(0, index);\n }\n }\n\n return boundaryMatches;\n}\n\nfunction getMatchesToLoad(history, state, matches, submission, location, isRevalidationRequired, cancelledDeferredRoutes, cancelledFetcherLoads, pendingActionData, pendingError, fetchLoadMatches) {\n let actionResult = pendingError ? Object.values(pendingError)[0] : pendingActionData ? Object.values(pendingActionData)[0] : undefined;\n let currentUrl = history.createURL(state.location);\n let nextUrl = history.createURL(location);\n let defaultShouldRevalidate = // Forced revalidation due to submission, useRevalidate, or X-Remix-Revalidate\n isRevalidationRequired || // Clicked the same link, resubmitted a GET form\n currentUrl.toString() === nextUrl.toString() || // Search params affect all loaders\n currentUrl.search !== nextUrl.search; // Pick navigation matches that are net-new or qualify for revalidation\n\n let boundaryId = pendingError ? Object.keys(pendingError)[0] : undefined;\n let boundaryMatches = getLoaderMatchesUntilBoundary(matches, boundaryId);\n let navigationMatches = boundaryMatches.filter((match, index) => {\n if (match.route.loader == null) {\n return false;\n } // Always call the loader on new route instances and pending defer cancellations\n\n\n if (isNewLoader(state.loaderData, state.matches[index], match) || cancelledDeferredRoutes.some(id => id === match.route.id)) {\n return true;\n } // This is the default implementation for when we revalidate. If the route\n // provides it's own implementation, then we give them full control but\n // provide this value so they can leverage it if needed after they check\n // their own specific use cases\n\n\n let currentRouteMatch = state.matches[index];\n let nextRouteMatch = match;\n return shouldRevalidateLoader(match, _extends({\n currentUrl,\n currentParams: currentRouteMatch.params,\n nextUrl,\n nextParams: nextRouteMatch.params\n }, submission, {\n actionResult,\n defaultShouldRevalidate: defaultShouldRevalidate || isNewRouteInstance(currentRouteMatch, nextRouteMatch)\n }));\n }); // Pick fetcher.loads that need to be revalidated\n\n let revalidatingFetchers = [];\n fetchLoadMatches && fetchLoadMatches.forEach((f, key) => {\n if (!matches.some(m => m.route.id === f.routeId)) {\n // This fetcher is not going to be present in the subsequent render so\n // there's no need to revalidate it\n return;\n } else if (cancelledFetcherLoads.includes(key)) {\n // This fetcher was cancelled from a prior action submission - force reload\n revalidatingFetchers.push(_extends({\n key\n }, f));\n } else {\n // Revalidating fetchers are decoupled from the route matches since they\n // hit a static href, so they _always_ check shouldRevalidate and the\n // default is strictly if a revalidation is explicitly required (action\n // submissions, useRevalidator, X-Remix-Revalidate).\n let shouldRevalidate = shouldRevalidateLoader(f.match, _extends({\n currentUrl,\n currentParams: state.matches[state.matches.length - 1].params,\n nextUrl,\n nextParams: matches[matches.length - 1].params\n }, submission, {\n actionResult,\n defaultShouldRevalidate\n }));\n\n if (shouldRevalidate) {\n revalidatingFetchers.push(_extends({\n key\n }, f));\n }\n }\n });\n return [navigationMatches, revalidatingFetchers];\n}\n\nfunction isNewLoader(currentLoaderData, currentMatch, match) {\n let isNew = // [a] -> [a, b]\n !currentMatch || // [a, b] -> [a, c]\n match.route.id !== currentMatch.route.id; // Handle the case that we don't have data for a re-used route, potentially\n // from a prior error or from a cancelled pending deferred\n\n let isMissingData = currentLoaderData[match.route.id] === undefined; // Always load if this is a net-new route or we don't yet have data\n\n return isNew || isMissingData;\n}\n\nfunction isNewRouteInstance(currentMatch, match) {\n let currentPath = currentMatch.route.path;\n return (// param change for this match, /users/123 -> /users/456\n currentMatch.pathname !== match.pathname || // splat param changed, which is not present in match.path\n // e.g. /files/images/avatar.jpg -> files/finances.xls\n currentPath != null && currentPath.endsWith(\"*\") && currentMatch.params[\"*\"] !== match.params[\"*\"]\n );\n}\n\nfunction shouldRevalidateLoader(loaderMatch, arg) {\n if (loaderMatch.route.shouldRevalidate) {\n let routeChoice = loaderMatch.route.shouldRevalidate(arg);\n\n if (typeof routeChoice === \"boolean\") {\n return routeChoice;\n }\n }\n\n return arg.defaultShouldRevalidate;\n}\n\nasync function callLoaderOrAction(type, request, match, matches, basename, isStaticRequest, isRouteRequest, requestContext) {\n if (basename === void 0) {\n basename = \"/\";\n }\n\n if (isStaticRequest === void 0) {\n isStaticRequest = false;\n }\n\n if (isRouteRequest === void 0) {\n isRouteRequest = false;\n }\n\n let resultType;\n let result; // Setup a promise we can race against so that abort signals short circuit\n\n let reject;\n let abortPromise = new Promise((_, r) => reject = r);\n\n let onReject = () => reject();\n\n request.signal.addEventListener(\"abort\", onReject);\n\n try {\n let handler = match.route[type];\n invariant(handler, \"Could not find the \" + type + \" to run on the \\\"\" + match.route.id + \"\\\" route\");\n result = await Promise.race([handler({\n request,\n params: match.params,\n context: requestContext\n }), abortPromise]);\n invariant(result !== undefined, \"You defined \" + (type === \"action\" ? \"an action\" : \"a loader\") + \" for route \" + (\"\\\"\" + match.route.id + \"\\\" but didn't return anything from your `\" + type + \"` \") + \"function. Please return a value or `null`.\");\n } catch (e) {\n resultType = ResultType.error;\n result = e;\n } finally {\n request.signal.removeEventListener(\"abort\", onReject);\n }\n\n if (isResponse(result)) {\n let status = result.status; // Process redirects\n\n if (redirectStatusCodes.has(status)) {\n let location = result.headers.get(\"Location\");\n invariant(location, \"Redirects returned/thrown from loaders/actions must have a Location header\"); // Support relative routing in internal redirects\n\n if (!ABSOLUTE_URL_REGEX.test(location)) {\n let activeMatches = matches.slice(0, matches.indexOf(match) + 1);\n let routePathnames = getPathContributingMatches(activeMatches).map(match => match.pathnameBase);\n let resolvedLocation = resolveTo(location, routePathnames, new URL(request.url).pathname);\n invariant(createPath(resolvedLocation), \"Unable to resolve redirect location: \" + location); // Prepend the basename to the redirect location if we have one\n\n if (basename) {\n let path = resolvedLocation.pathname;\n resolvedLocation.pathname = path === \"/\" ? basename : joinPaths([basename, path]);\n }\n\n location = createPath(resolvedLocation);\n } else if (!isStaticRequest) {\n // Strip off the protocol+origin for same-origin absolute redirects.\n // If this is a static reques, we can let it go back to the browser\n // as-is\n let currentUrl = new URL(request.url);\n let url = location.startsWith(\"//\") ? new URL(currentUrl.protocol + location) : new URL(location);\n\n if (url.origin === currentUrl.origin) {\n location = url.pathname + url.search + url.hash;\n }\n } // Don't process redirects in the router during static requests requests.\n // Instead, throw the Response and let the server handle it with an HTTP\n // redirect. We also update the Location header in place in this flow so\n // basename and relative routing is taken into account\n\n\n if (isStaticRequest) {\n result.headers.set(\"Location\", location);\n throw result;\n }\n\n return {\n type: ResultType.redirect,\n status,\n location,\n revalidate: result.headers.get(\"X-Remix-Revalidate\") !== null\n };\n } // For SSR single-route requests, we want to hand Responses back directly\n // without unwrapping. We do this with the QueryRouteResponse wrapper\n // interface so we can know whether it was returned or thrown\n\n\n if (isRouteRequest) {\n // eslint-disable-next-line no-throw-literal\n throw {\n type: resultType || ResultType.data,\n response: result\n };\n }\n\n let data;\n let contentType = result.headers.get(\"Content-Type\"); // Check between word boundaries instead of startsWith() due to the last\n // paragraph of https://httpwg.org/specs/rfc9110.html#field.content-type\n\n if (contentType && /\\bapplication\\/json\\b/.test(contentType)) {\n data = await result.json();\n } else {\n data = await result.text();\n }\n\n if (resultType === ResultType.error) {\n return {\n type: resultType,\n error: new ErrorResponse(status, result.statusText, data),\n headers: result.headers\n };\n }\n\n return {\n type: ResultType.data,\n data,\n statusCode: result.status,\n headers: result.headers\n };\n }\n\n if (resultType === ResultType.error) {\n return {\n type: resultType,\n error: result\n };\n }\n\n if (result instanceof DeferredData) {\n return {\n type: ResultType.deferred,\n deferredData: result\n };\n }\n\n return {\n type: ResultType.data,\n data: result\n };\n} // Utility method for creating the Request instances for loaders/actions during\n// client-side navigations and fetches. During SSR we will always have a\n// Request instance from the static handler (query/queryRoute)\n\n\nfunction createClientSideRequest(history, location, signal, submission) {\n let url = history.createURL(stripHashFromPath(location)).toString();\n let init = {\n signal\n };\n\n if (submission && isMutationMethod(submission.formMethod)) {\n let {\n formMethod,\n formEncType,\n formData\n } = submission;\n init.method = formMethod.toUpperCase();\n init.body = formEncType === \"application/x-www-form-urlencoded\" ? convertFormDataToSearchParams(formData) : formData;\n } // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request)\n\n\n return new Request(url, init);\n}\n\nfunction convertFormDataToSearchParams(formData) {\n let searchParams = new URLSearchParams();\n\n for (let [key, value] of formData.entries()) {\n // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#converting-an-entry-list-to-a-list-of-name-value-pairs\n searchParams.append(key, value instanceof File ? value.name : value);\n }\n\n return searchParams;\n}\n\nfunction processRouteLoaderData(matches, matchesToLoad, results, pendingError, activeDeferreds) {\n // Fill in loaderData/errors from our loaders\n let loaderData = {};\n let errors = null;\n let statusCode;\n let foundError = false;\n let loaderHeaders = {}; // Process loader results into state.loaderData/state.errors\n\n results.forEach((result, index) => {\n let id = matchesToLoad[index].route.id;\n invariant(!isRedirectResult(result), \"Cannot handle redirect results in processLoaderData\");\n\n if (isErrorResult(result)) {\n // Look upwards from the matched route for the closest ancestor\n // error boundary, defaulting to the root match\n let boundaryMatch = findNearestBoundary(matches, id);\n let error = result.error; // If we have a pending action error, we report it at the highest-route\n // that throws a loader error, and then clear it out to indicate that\n // it was consumed\n\n if (pendingError) {\n error = Object.values(pendingError)[0];\n pendingError = undefined;\n }\n\n errors = errors || {}; // Prefer higher error values if lower errors bubble to the same boundary\n\n if (errors[boundaryMatch.route.id] == null) {\n errors[boundaryMatch.route.id] = error;\n } // Clear our any prior loaderData for the throwing route\n\n\n loaderData[id] = undefined; // Once we find our first (highest) error, we set the status code and\n // prevent deeper status codes from overriding\n\n if (!foundError) {\n foundError = true;\n statusCode = isRouteErrorResponse(result.error) ? result.error.status : 500;\n }\n\n if (result.headers) {\n loaderHeaders[id] = result.headers;\n }\n } else {\n if (isDeferredResult(result)) {\n activeDeferreds.set(id, result.deferredData);\n loaderData[id] = result.deferredData.data;\n } else {\n loaderData[id] = result.data;\n } // Error status codes always override success status codes, but if all\n // loaders are successful we take the deepest status code.\n\n\n if (result.statusCode != null && result.statusCode !== 200 && !foundError) {\n statusCode = result.statusCode;\n }\n\n if (result.headers) {\n loaderHeaders[id] = result.headers;\n }\n }\n }); // If we didn't consume the pending action error (i.e., all loaders\n // resolved), then consume it here. Also clear out any loaderData for the\n // throwing route\n\n if (pendingError) {\n errors = pendingError;\n loaderData[Object.keys(pendingError)[0]] = undefined;\n }\n\n return {\n loaderData,\n errors,\n statusCode: statusCode || 200,\n loaderHeaders\n };\n}\n\nfunction processLoaderData(state, matches, matchesToLoad, results, pendingError, revalidatingFetchers, fetcherResults, activeDeferreds) {\n let {\n loaderData,\n errors\n } = processRouteLoaderData(matches, matchesToLoad, results, pendingError, activeDeferreds); // Process results from our revalidating fetchers\n\n for (let index = 0; index < revalidatingFetchers.length; index++) {\n let {\n key,\n match\n } = revalidatingFetchers[index];\n invariant(fetcherResults !== undefined && fetcherResults[index] !== undefined, \"Did not find corresponding fetcher result\");\n let result = fetcherResults[index]; // Process fetcher non-redirect errors\n\n if (isErrorResult(result)) {\n let boundaryMatch = findNearestBoundary(state.matches, match.route.id);\n\n if (!(errors && errors[boundaryMatch.route.id])) {\n errors = _extends({}, errors, {\n [boundaryMatch.route.id]: result.error\n });\n }\n\n state.fetchers.delete(key);\n } else if (isRedirectResult(result)) {\n // Should never get here, redirects should get processed above, but we\n // keep this to type narrow to a success result in the else\n invariant(false, \"Unhandled fetcher revalidation redirect\");\n } else if (isDeferredResult(result)) {\n // Should never get here, deferred data should be awaited for fetchers\n // in resolveDeferredResults\n invariant(false, \"Unhandled fetcher deferred data\");\n } else {\n let doneFetcher = {\n state: \"idle\",\n data: result.data,\n formMethod: undefined,\n formAction: undefined,\n formEncType: undefined,\n formData: undefined,\n \" _hasFetcherDoneAnything \": true\n };\n state.fetchers.set(key, doneFetcher);\n }\n }\n\n return {\n loaderData,\n errors\n };\n}\n\nfunction mergeLoaderData(loaderData, newLoaderData, matches, errors) {\n let mergedLoaderData = _extends({}, newLoaderData);\n\n for (let match of matches) {\n let id = match.route.id;\n\n if (newLoaderData.hasOwnProperty(id)) {\n if (newLoaderData[id] !== undefined) {\n mergedLoaderData[id] = newLoaderData[id];\n }\n } else if (loaderData[id] !== undefined) {\n mergedLoaderData[id] = loaderData[id];\n }\n\n if (errors && errors.hasOwnProperty(id)) {\n // Don't keep any loader data below the boundary\n break;\n }\n }\n\n return mergedLoaderData;\n} // Find the nearest error boundary, looking upwards from the leaf route (or the\n// route specified by routeId) for the closest ancestor error boundary,\n// defaulting to the root match\n\n\nfunction findNearestBoundary(matches, routeId) {\n let eligibleMatches = routeId ? matches.slice(0, matches.findIndex(m => m.route.id === routeId) + 1) : [...matches];\n return eligibleMatches.reverse().find(m => m.route.hasErrorBoundary === true) || matches[0];\n}\n\nfunction getShortCircuitMatches(routes) {\n // Prefer a root layout route if present, otherwise shim in a route object\n let route = routes.find(r => r.index || !r.path || r.path === \"/\") || {\n id: \"__shim-error-route__\"\n };\n return {\n matches: [{\n params: {},\n pathname: \"\",\n pathnameBase: \"\",\n route\n }],\n route\n };\n}\n\nfunction getInternalRouterError(status, _temp4) {\n let {\n pathname,\n routeId,\n method,\n type\n } = _temp4 === void 0 ? {} : _temp4;\n let statusText = \"Unknown Server Error\";\n let errorMessage = \"Unknown @remix-run/router error\";\n\n if (status === 400) {\n statusText = \"Bad Request\";\n\n if (method && pathname && routeId) {\n errorMessage = \"You made a \" + method + \" request to \\\"\" + pathname + \"\\\" but \" + (\"did not provide a `loader` for route \\\"\" + routeId + \"\\\", \") + \"so there is no way to handle the request.\";\n } else if (type === \"defer-action\") {\n errorMessage = \"defer() is not supported in actions\";\n }\n } else if (status === 403) {\n statusText = \"Forbidden\";\n errorMessage = \"Route \\\"\" + routeId + \"\\\" does not match URL \\\"\" + pathname + \"\\\"\";\n } else if (status === 404) {\n statusText = \"Not Found\";\n errorMessage = \"No route matches URL \\\"\" + pathname + \"\\\"\";\n } else if (status === 405) {\n statusText = \"Method Not Allowed\";\n\n if (method && pathname && routeId) {\n errorMessage = \"You made a \" + method.toUpperCase() + \" request to \\\"\" + pathname + \"\\\" but \" + (\"did not provide an `action` for route \\\"\" + routeId + \"\\\", \") + \"so there is no way to handle the request.\";\n } else if (method) {\n errorMessage = \"Invalid request method \\\"\" + method.toUpperCase() + \"\\\"\";\n }\n }\n\n return new ErrorResponse(status || 500, statusText, new Error(errorMessage), true);\n} // Find any returned redirect errors, starting from the lowest match\n\n\nfunction findRedirect(results) {\n for (let i = results.length - 1; i >= 0; i--) {\n let result = results[i];\n\n if (isRedirectResult(result)) {\n return result;\n }\n }\n}\n\nfunction stripHashFromPath(path) {\n let parsedPath = typeof path === \"string\" ? parsePath(path) : path;\n return createPath(_extends({}, parsedPath, {\n hash: \"\"\n }));\n}\n\nfunction isHashChangeOnly(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash !== b.hash;\n}\n\nfunction isDeferredResult(result) {\n return result.type === ResultType.deferred;\n}\n\nfunction isErrorResult(result) {\n return result.type === ResultType.error;\n}\n\nfunction isRedirectResult(result) {\n return (result && result.type) === ResultType.redirect;\n}\n\nfunction isResponse(value) {\n return value != null && typeof value.status === \"number\" && typeof value.statusText === \"string\" && typeof value.headers === \"object\" && typeof value.body !== \"undefined\";\n}\n\nfunction isRedirectResponse(result) {\n if (!isResponse(result)) {\n return false;\n }\n\n let status = result.status;\n let location = result.headers.get(\"Location\");\n return status >= 300 && status <= 399 && location != null;\n}\n\nfunction isQueryRouteResponse(obj) {\n return obj && isResponse(obj.response) && (obj.type === ResultType.data || ResultType.error);\n}\n\nfunction isValidMethod(method) {\n return validRequestMethods.has(method);\n}\n\nfunction isMutationMethod(method) {\n return validMutationMethods.has(method);\n}\n\nasync function resolveDeferredResults(currentMatches, matchesToLoad, results, signal, isFetcher, currentLoaderData) {\n for (let index = 0; index < results.length; index++) {\n let result = results[index];\n let match = matchesToLoad[index];\n let currentMatch = currentMatches.find(m => m.route.id === match.route.id);\n let isRevalidatingLoader = currentMatch != null && !isNewRouteInstance(currentMatch, match) && (currentLoaderData && currentLoaderData[match.route.id]) !== undefined;\n\n if (isDeferredResult(result) && (isFetcher || isRevalidatingLoader)) {\n // Note: we do not have to touch activeDeferreds here since we race them\n // against the signal in resolveDeferredData and they'll get aborted\n // there if needed\n await resolveDeferredData(result, signal, isFetcher).then(result => {\n if (result) {\n results[index] = result || results[index];\n }\n });\n }\n }\n}\n\nasync function resolveDeferredData(result, signal, unwrap) {\n if (unwrap === void 0) {\n unwrap = false;\n }\n\n let aborted = await result.deferredData.resolveData(signal);\n\n if (aborted) {\n return;\n }\n\n if (unwrap) {\n try {\n return {\n type: ResultType.data,\n data: result.deferredData.unwrappedData\n };\n } catch (e) {\n // Handle any TrackedPromise._error values encountered while unwrapping\n return {\n type: ResultType.error,\n error: e\n };\n }\n }\n\n return {\n type: ResultType.data,\n data: result.deferredData.data\n };\n}\n\nfunction hasNakedIndexQuery(search) {\n return new URLSearchParams(search).getAll(\"index\").some(v => v === \"\");\n} // Note: This should match the format exported by useMatches, so if you change\n// this please also change that :) Eventually we'll DRY this up\n\n\nfunction createUseMatchesMatch(match, loaderData) {\n let {\n route,\n pathname,\n params\n } = match;\n return {\n id: route.id,\n pathname,\n params,\n data: loaderData[route.id],\n handle: route.handle\n };\n}\n\nfunction getTargetMatch(matches, location) {\n let search = typeof location === \"string\" ? parsePath(location).search : location.search;\n\n if (matches[matches.length - 1].route.index && hasNakedIndexQuery(search || \"\")) {\n // Return the leaf index route when index is present\n return matches[matches.length - 1];\n } // Otherwise grab the deepest \"path contributing\" match (ignoring index and\n // pathless layout routes)\n\n\n let pathMatches = getPathContributingMatches(matches);\n return pathMatches[pathMatches.length - 1];\n} //#endregion\n\nexport { AbortedDeferredError, Action, ErrorResponse, IDLE_BLOCKER, IDLE_FETCHER, IDLE_NAVIGATION, UNSAFE_DEFERRED_SYMBOL, DeferredData as UNSAFE_DeferredData, convertRoutesToDataRoutes as UNSAFE_convertRoutesToDataRoutes, getPathContributingMatches as UNSAFE_getPathContributingMatches, createBrowserHistory, createHashHistory, createMemoryHistory, createPath, createRouter, createStaticHandler, defer, generatePath, getStaticContextFromError, getToPathname, invariant, isRouteErrorResponse, joinPaths, json, matchPath, matchRoutes, normalizePathname, parsePath, redirect, resolvePath, resolveTo, stripBasename, warning };\n//# sourceMappingURL=router.js.map\n","/**\n * React Router v6.8.1\n *\n * Copyright (c) Remix Software Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.md file in the root directory of this source tree.\n *\n * @license MIT\n */\nimport { invariant, joinPaths, matchPath, UNSAFE_getPathContributingMatches, warning, resolveTo, parsePath, matchRoutes, Action, isRouteErrorResponse, createMemoryHistory, stripBasename, AbortedDeferredError, createRouter } from '@remix-run/router';\nexport { AbortedDeferredError, Action as NavigationType, createPath, defer, generatePath, isRouteErrorResponse, json, matchPath, matchRoutes, parsePath, redirect, resolvePath } from '@remix-run/router';\nimport * as React from 'react';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n\nfunction isPolyfill(x, y) {\n return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare\n ;\n}\n\nconst is = typeof Object.is === \"function\" ? Object.is : isPolyfill; // Intentionally not using named imports because Rollup uses dynamic\n// dispatch for CommonJS interop named imports.\n\nconst {\n useState,\n useEffect,\n useLayoutEffect,\n useDebugValue\n} = React;\nlet didWarnOld18Alpha = false;\nlet didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works\n// because of a very particular set of implementation details and assumptions\n// -- change any one of them and it will break. The most important assumption\n// is that updates are always synchronous, because concurrent rendering is\n// only available in versions of React that also have a built-in\n// useSyncExternalStore API. And we only use this shim when the built-in API\n// does not exist.\n//\n// Do not assume that the clever hacks used by this hook also work in general.\n// The point of this shim is to replace the need for hacks by other libraries.\n\nfunction useSyncExternalStore$2(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n// React do not expose a way to check if we're hydrating. So users of the shim\n// will need to track that themselves and return the correct value\n// from `getSnapshot`.\ngetServerSnapshot) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!didWarnOld18Alpha) {\n if (\"startTransition\" in React) {\n didWarnOld18Alpha = true;\n console.error(\"You are using an outdated, pre-release alpha of React 18 that \" + \"does not support useSyncExternalStore. The \" + \"use-sync-external-store shim will not work correctly. Upgrade \" + \"to a newer pre-release.\");\n }\n }\n } // Read the current snapshot from the store on every render. Again, this\n // breaks the rules of React, and only works here because of specific\n // implementation details, most importantly that updates are\n // always synchronous.\n\n\n const value = getSnapshot();\n\n if (process.env.NODE_ENV !== \"production\") {\n if (!didWarnUncachedGetSnapshot) {\n const cachedValue = getSnapshot();\n\n if (!is(value, cachedValue)) {\n console.error(\"The result of getSnapshot should be cached to avoid an infinite loop\");\n didWarnUncachedGetSnapshot = true;\n }\n }\n } // Because updates are synchronous, we don't queue them. Instead we force a\n // re-render whenever the subscribed state changes by updating an some\n // arbitrary useState hook. Then, during render, we call getSnapshot to read\n // the current value.\n //\n // Because we don't actually use the state returned by the useState hook, we\n // can save a bit of memory by storing other stuff in that slot.\n //\n // To implement the early bailout, we need to track some things on a mutable\n // object. Usually, we would put that in a useRef hook, but we can stash it in\n // our useState hook instead.\n //\n // To force a re-render, we call forceUpdate({inst}). That works because the\n // new object always fails an equality check.\n\n\n const [{\n inst\n }, forceUpdate] = useState({\n inst: {\n value,\n getSnapshot\n }\n }); // Track the latest getSnapshot function with a ref. This needs to be updated\n // in the layout phase so we can access it during the tearing check that\n // happens on subscribe.\n\n useLayoutEffect(() => {\n inst.value = value;\n inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the\n // commit phase if there was an interleaved mutation. In concurrent mode\n // this can happen all the time, but even in synchronous mode, an earlier\n // effect may have mutated the store.\n\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst\n });\n } // eslint-disable-next-line react-hooks/exhaustive-deps\n\n }, [subscribe, value, getSnapshot]);\n useEffect(() => {\n // Check for changes right before subscribing. Subsequent changes will be\n // detected in the subscription handler.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst\n });\n }\n\n const handleStoreChange = () => {\n // TODO: Because there is no cross-renderer API for batching updates, it's\n // up to the consumer of this library to wrap their subscription event\n // with unstable_batchedUpdates. Should we try to detect when this isn't\n // the case and print a warning in development?\n // The store changed. Check if the snapshot changed since the last time we\n // read from the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst\n });\n }\n }; // Subscribe to the store and return a clean-up function.\n\n\n return subscribe(handleStoreChange); // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [subscribe]);\n useDebugValue(value);\n return value;\n}\n\nfunction checkIfSnapshotChanged(inst) {\n const latestGetSnapshot = inst.getSnapshot;\n const prevValue = inst.value;\n\n try {\n const nextValue = latestGetSnapshot();\n return !is(prevValue, nextValue);\n } catch (error) {\n return true;\n }\n}\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n */\nfunction useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {\n // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n // React do not expose a way to check if we're hydrating. So users of the shim\n // will need to track that themselves and return the correct value\n // from `getSnapshot`.\n return getSnapshot();\n}\n\n/**\n * Inlined into the react-router repo since use-sync-external-store does not\n * provide a UMD-compatible package, so we need this to be able to distribute\n * UMD react-router bundles\n */\nconst canUseDOM = !!(typeof window !== \"undefined\" && typeof window.document !== \"undefined\" && typeof window.document.createElement !== \"undefined\");\nconst isServerEnvironment = !canUseDOM;\nconst shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore$2;\nconst useSyncExternalStore = \"useSyncExternalStore\" in React ? (module => module.useSyncExternalStore)(React) : shim;\n\nconst DataRouterContext = /*#__PURE__*/React.createContext(null);\n\nif (process.env.NODE_ENV !== \"production\") {\n DataRouterContext.displayName = \"DataRouter\";\n}\n\nconst DataRouterStateContext = /*#__PURE__*/React.createContext(null);\n\nif (process.env.NODE_ENV !== \"production\") {\n DataRouterStateContext.displayName = \"DataRouterState\";\n}\n\nconst AwaitContext = /*#__PURE__*/React.createContext(null);\n\nif (process.env.NODE_ENV !== \"production\") {\n AwaitContext.displayName = \"Await\";\n}\n\nconst NavigationContext = /*#__PURE__*/React.createContext(null);\n\nif (process.env.NODE_ENV !== \"production\") {\n NavigationContext.displayName = \"Navigation\";\n}\n\nconst LocationContext = /*#__PURE__*/React.createContext(null);\n\nif (process.env.NODE_ENV !== \"production\") {\n LocationContext.displayName = \"Location\";\n}\n\nconst RouteContext = /*#__PURE__*/React.createContext({\n outlet: null,\n matches: []\n});\n\nif (process.env.NODE_ENV !== \"production\") {\n RouteContext.displayName = \"Route\";\n}\n\nconst RouteErrorContext = /*#__PURE__*/React.createContext(null);\n\nif (process.env.NODE_ENV !== \"production\") {\n RouteErrorContext.displayName = \"RouteError\";\n}\n\n/**\n * Returns the full href for the given \"to\" value. This is useful for building\n * custom links that are also accessible and preserve right-click behavior.\n *\n * @see https://reactrouter.com/hooks/use-href\n */\n\nfunction useHref(to, _temp) {\n let {\n relative\n } = _temp === void 0 ? {} : _temp;\n !useInRouterContext() ? process.env.NODE_ENV !== \"production\" ? invariant(false, // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n \"useHref() may be used only in the context of a component.\") : invariant(false) : void 0;\n let {\n basename,\n navigator\n } = React.useContext(NavigationContext);\n let {\n hash,\n pathname,\n search\n } = useResolvedPath(to, {\n relative\n });\n let joinedPathname = pathname; // If we're operating within a basename, prepend it to the pathname prior\n // to creating the href. If this is a root navigation, then just use the raw\n // basename which allows the basename to have full control over the presence\n // of a trailing slash on root links\n\n if (basename !== \"/\") {\n joinedPathname = pathname === \"/\" ? basename : joinPaths([basename, pathname]);\n }\n\n return navigator.createHref({\n pathname: joinedPathname,\n search,\n hash\n });\n}\n/**\n * Returns true if this component is a descendant of a .\n *\n * @see https://reactrouter.com/hooks/use-in-router-context\n */\n\nfunction useInRouterContext() {\n return React.useContext(LocationContext) != null;\n}\n/**\n * Returns the current location object, which represents the current URL in web\n * browsers.\n *\n * Note: If you're using this it may mean you're doing some of your own\n * \"routing\" in your app, and we'd like to know what your use case is. We may\n * be able to provide something higher-level to better suit your needs.\n *\n * @see https://reactrouter.com/hooks/use-location\n */\n\nfunction useLocation() {\n !useInRouterContext() ? process.env.NODE_ENV !== \"production\" ? invariant(false, // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n \"useLocation() may be used only in the context of a component.\") : invariant(false) : void 0;\n return React.useContext(LocationContext).location;\n}\n/**\n * Returns the current navigation action which describes how the router came to\n * the current location, either by a pop, push, or replace on the history stack.\n *\n * @see https://reactrouter.com/hooks/use-navigation-type\n */\n\nfunction useNavigationType() {\n return React.useContext(LocationContext).navigationType;\n}\n/**\n * Returns a PathMatch object if the given pattern matches the current URL.\n * This is useful for components that need to know \"active\" state, e.g.\n * .\n *\n * @see https://reactrouter.com/hooks/use-match\n */\n\nfunction useMatch(pattern) {\n !useInRouterContext() ? process.env.NODE_ENV !== \"production\" ? invariant(false, // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n \"useMatch() may be used only in the context of a component.\") : invariant(false) : void 0;\n let {\n pathname\n } = useLocation();\n return React.useMemo(() => matchPath(pattern, pathname), [pathname, pattern]);\n}\n/**\n * The interface for the navigate() function returned from useNavigate().\n */\n\n/**\n * Returns an imperative method for changing the location. Used by s, but\n * may also be used by other elements to change the location.\n *\n * @see https://reactrouter.com/hooks/use-navigate\n */\nfunction useNavigate() {\n !useInRouterContext() ? process.env.NODE_ENV !== \"production\" ? invariant(false, // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n \"useNavigate() may be used only in the context of a component.\") : invariant(false) : void 0;\n let {\n basename,\n navigator\n } = React.useContext(NavigationContext);\n let {\n matches\n } = React.useContext(RouteContext);\n let {\n pathname: locationPathname\n } = useLocation();\n let routePathnamesJson = JSON.stringify(UNSAFE_getPathContributingMatches(matches).map(match => match.pathnameBase));\n let activeRef = React.useRef(false);\n React.useEffect(() => {\n activeRef.current = true;\n });\n let navigate = React.useCallback(function (to, options) {\n if (options === void 0) {\n options = {};\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(activeRef.current, \"You should call navigate() in a React.useEffect(), not when \" + \"your component is first rendered.\") : void 0;\n if (!activeRef.current) return;\n\n if (typeof to === \"number\") {\n navigator.go(to);\n return;\n }\n\n let path = resolveTo(to, JSON.parse(routePathnamesJson), locationPathname, options.relative === \"path\"); // If we're operating within a basename, prepend it to the pathname prior\n // to handing off to history. If this is a root navigation, then we\n // navigate to the raw basename which allows the basename to have full\n // control over the presence of a trailing slash on root links\n\n if (basename !== \"/\") {\n path.pathname = path.pathname === \"/\" ? basename : joinPaths([basename, path.pathname]);\n }\n\n (!!options.replace ? navigator.replace : navigator.push)(path, options.state, options);\n }, [basename, navigator, routePathnamesJson, locationPathname]);\n return navigate;\n}\nconst OutletContext = /*#__PURE__*/React.createContext(null);\n/**\n * Returns the context (if provided) for the child route at this level of the route\n * hierarchy.\n * @see https://reactrouter.com/hooks/use-outlet-context\n */\n\nfunction useOutletContext() {\n return React.useContext(OutletContext);\n}\n/**\n * Returns the element for the child route at this level of the route\n * hierarchy. Used internally by to render child routes.\n *\n * @see https://reactrouter.com/hooks/use-outlet\n */\n\nfunction useOutlet(context) {\n let outlet = React.useContext(RouteContext).outlet;\n\n if (outlet) {\n return /*#__PURE__*/React.createElement(OutletContext.Provider, {\n value: context\n }, outlet);\n }\n\n return outlet;\n}\n/**\n * Returns an object of key/value pairs of the dynamic params from the current\n * URL that were matched by the route path.\n *\n * @see https://reactrouter.com/hooks/use-params\n */\n\nfunction useParams() {\n let {\n matches\n } = React.useContext(RouteContext);\n let routeMatch = matches[matches.length - 1];\n return routeMatch ? routeMatch.params : {};\n}\n/**\n * Resolves the pathname of the given `to` value against the current location.\n *\n * @see https://reactrouter.com/hooks/use-resolved-path\n */\n\nfunction useResolvedPath(to, _temp2) {\n let {\n relative\n } = _temp2 === void 0 ? {} : _temp2;\n let {\n matches\n } = React.useContext(RouteContext);\n let {\n pathname: locationPathname\n } = useLocation();\n let routePathnamesJson = JSON.stringify(UNSAFE_getPathContributingMatches(matches).map(match => match.pathnameBase));\n return React.useMemo(() => resolveTo(to, JSON.parse(routePathnamesJson), locationPathname, relative === \"path\"), [to, routePathnamesJson, locationPathname, relative]);\n}\n/**\n * Returns the element of the route that matched the current location, prepared\n * with the correct context to render the remainder of the route tree. Route\n * elements in the tree must render an to render their child route's\n * element.\n *\n * @see https://reactrouter.com/hooks/use-routes\n */\n\nfunction useRoutes(routes, locationArg) {\n !useInRouterContext() ? process.env.NODE_ENV !== \"production\" ? invariant(false, // TODO: This error is probably because they somehow have 2 versions of the\n // router loaded. We can help them understand how to avoid that.\n \"useRoutes() may be used only in the context of a component.\") : invariant(false) : void 0;\n let {\n navigator\n } = React.useContext(NavigationContext);\n let dataRouterStateContext = React.useContext(DataRouterStateContext);\n let {\n matches: parentMatches\n } = React.useContext(RouteContext);\n let routeMatch = parentMatches[parentMatches.length - 1];\n let parentParams = routeMatch ? routeMatch.params : {};\n let parentPathname = routeMatch ? routeMatch.pathname : \"/\";\n let parentPathnameBase = routeMatch ? routeMatch.pathnameBase : \"/\";\n let parentRoute = routeMatch && routeMatch.route;\n\n if (process.env.NODE_ENV !== \"production\") {\n // You won't get a warning about 2 different under a \n // without a trailing *, but this is a best-effort warning anyway since we\n // cannot even give the warning unless they land at the parent route.\n //\n // Example:\n //\n // \n // {/* This route path MUST end with /* because otherwise\n // it will never match /blog/post/123 */}\n // } />\n // } />\n // \n //\n // function Blog() {\n // return (\n // \n // } />\n // \n // );\n // }\n let parentPath = parentRoute && parentRoute.path || \"\";\n warningOnce(parentPathname, !parentRoute || parentPath.endsWith(\"*\"), \"You rendered descendant (or called `useRoutes()`) at \" + (\"\\\"\" + parentPathname + \"\\\" (under ) but the \") + \"parent route path has no trailing \\\"*\\\". This means if you navigate \" + \"deeper, the parent won't match anymore and therefore the child \" + \"routes will never render.\\n\\n\" + (\"Please change the parent to .\"));\n }\n\n let locationFromContext = useLocation();\n let location;\n\n if (locationArg) {\n var _parsedLocationArg$pa;\n\n let parsedLocationArg = typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n !(parentPathnameBase === \"/\" || ((_parsedLocationArg$pa = parsedLocationArg.pathname) == null ? void 0 : _parsedLocationArg$pa.startsWith(parentPathnameBase))) ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"When overriding the location using `` or `useRoutes(routes, location)`, \" + \"the location pathname must begin with the portion of the URL pathname that was \" + (\"matched by all parent routes. The current pathname base is \\\"\" + parentPathnameBase + \"\\\" \") + (\"but pathname \\\"\" + parsedLocationArg.pathname + \"\\\" was given in the `location` prop.\")) : invariant(false) : void 0;\n location = parsedLocationArg;\n } else {\n location = locationFromContext;\n }\n\n let pathname = location.pathname || \"/\";\n let remainingPathname = parentPathnameBase === \"/\" ? pathname : pathname.slice(parentPathnameBase.length) || \"/\";\n let matches = matchRoutes(routes, {\n pathname: remainingPathname\n });\n\n if (process.env.NODE_ENV !== \"production\") {\n process.env.NODE_ENV !== \"production\" ? warning(parentRoute || matches != null, \"No routes matched location \\\"\" + location.pathname + location.search + location.hash + \"\\\" \") : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(matches == null || matches[matches.length - 1].route.element !== undefined, \"Matched leaf route at location \\\"\" + location.pathname + location.search + location.hash + \"\\\" does not have an element. \" + \"This means it will render an with a null value by default resulting in an \\\"empty\\\" page.\") : void 0;\n }\n\n let renderedMatches = _renderMatches(matches && matches.map(match => Object.assign({}, match, {\n params: Object.assign({}, parentParams, match.params),\n pathname: joinPaths([parentPathnameBase, // Re-encode pathnames that were decoded inside matchRoutes\n navigator.encodeLocation ? navigator.encodeLocation(match.pathname).pathname : match.pathname]),\n pathnameBase: match.pathnameBase === \"/\" ? parentPathnameBase : joinPaths([parentPathnameBase, // Re-encode pathnames that were decoded inside matchRoutes\n navigator.encodeLocation ? navigator.encodeLocation(match.pathnameBase).pathname : match.pathnameBase])\n })), parentMatches, dataRouterStateContext || undefined); // When a user passes in a `locationArg`, the associated routes need to\n // be wrapped in a new `LocationContext.Provider` in order for `useLocation`\n // to use the scoped location instead of the global location.\n\n\n if (locationArg && renderedMatches) {\n return /*#__PURE__*/React.createElement(LocationContext.Provider, {\n value: {\n location: _extends({\n pathname: \"/\",\n search: \"\",\n hash: \"\",\n state: null,\n key: \"default\"\n }, location),\n navigationType: Action.Pop\n }\n }, renderedMatches);\n }\n\n return renderedMatches;\n}\n\nfunction DefaultErrorElement() {\n let error = useRouteError();\n let message = isRouteErrorResponse(error) ? error.status + \" \" + error.statusText : error instanceof Error ? error.message : JSON.stringify(error);\n let stack = error instanceof Error ? error.stack : null;\n let lightgrey = \"rgba(200,200,200, 0.5)\";\n let preStyles = {\n padding: \"0.5rem\",\n backgroundColor: lightgrey\n };\n let codeStyles = {\n padding: \"2px 4px\",\n backgroundColor: lightgrey\n };\n let devInfo = null;\n\n if (process.env.NODE_ENV !== \"production\") {\n devInfo = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"p\", null, \"\\uD83D\\uDCBF Hey developer \\uD83D\\uDC4B\"), /*#__PURE__*/React.createElement(\"p\", null, \"You can provide a way better UX than this when your app throws errors by providing your own\\xA0\", /*#__PURE__*/React.createElement(\"code\", {\n style: codeStyles\n }, \"errorElement\"), \" props on\\xA0\", /*#__PURE__*/React.createElement(\"code\", {\n style: codeStyles\n }, \"\")));\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"h2\", null, \"Unexpected Application Error!\"), /*#__PURE__*/React.createElement(\"h3\", {\n style: {\n fontStyle: \"italic\"\n }\n }, message), stack ? /*#__PURE__*/React.createElement(\"pre\", {\n style: preStyles\n }, stack) : null, devInfo);\n}\n\nclass RenderErrorBoundary extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n location: props.location,\n error: props.error\n };\n }\n\n static getDerivedStateFromError(error) {\n return {\n error: error\n };\n }\n\n static getDerivedStateFromProps(props, state) {\n // When we get into an error state, the user will likely click \"back\" to the\n // previous page that didn't have an error. Because this wraps the entire\n // application, that will have no effect--the error page continues to display.\n // This gives us a mechanism to recover from the error when the location changes.\n //\n // Whether we're in an error state or not, we update the location in state\n // so that when we are in an error state, it gets reset when a new location\n // comes in and the user recovers from the error.\n if (state.location !== props.location) {\n return {\n error: props.error,\n location: props.location\n };\n } // If we're not changing locations, preserve the location but still surface\n // any new errors that may come through. We retain the existing error, we do\n // this because the error provided from the app state may be cleared without\n // the location changing.\n\n\n return {\n error: props.error || state.error,\n location: state.location\n };\n }\n\n componentDidCatch(error, errorInfo) {\n console.error(\"React Router caught the following error during render\", error, errorInfo);\n }\n\n render() {\n return this.state.error ? /*#__PURE__*/React.createElement(RouteContext.Provider, {\n value: this.props.routeContext\n }, /*#__PURE__*/React.createElement(RouteErrorContext.Provider, {\n value: this.state.error,\n children: this.props.component\n })) : this.props.children;\n }\n\n}\n\nfunction RenderedRoute(_ref) {\n let {\n routeContext,\n match,\n children\n } = _ref;\n let dataRouterContext = React.useContext(DataRouterContext); // Track how deep we got in our render pass to emulate SSR componentDidCatch\n // in a DataStaticRouter\n\n if (dataRouterContext && dataRouterContext.static && dataRouterContext.staticContext && match.route.errorElement) {\n dataRouterContext.staticContext._deepestRenderedBoundaryId = match.route.id;\n }\n\n return /*#__PURE__*/React.createElement(RouteContext.Provider, {\n value: routeContext\n }, children);\n}\n\nfunction _renderMatches(matches, parentMatches, dataRouterState) {\n if (parentMatches === void 0) {\n parentMatches = [];\n }\n\n if (matches == null) {\n if (dataRouterState != null && dataRouterState.errors) {\n // Don't bail if we have data router errors so we can render them in the\n // boundary. Use the pre-matched (or shimmed) matches\n matches = dataRouterState.matches;\n } else {\n return null;\n }\n }\n\n let renderedMatches = matches; // If we have data errors, trim matches to the highest error boundary\n\n let errors = dataRouterState == null ? void 0 : dataRouterState.errors;\n\n if (errors != null) {\n let errorIndex = renderedMatches.findIndex(m => m.route.id && (errors == null ? void 0 : errors[m.route.id]));\n !(errorIndex >= 0) ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"Could not find a matching route for the current errors: \" + errors) : invariant(false) : void 0;\n renderedMatches = renderedMatches.slice(0, Math.min(renderedMatches.length, errorIndex + 1));\n }\n\n return renderedMatches.reduceRight((outlet, match, index) => {\n let error = match.route.id ? errors == null ? void 0 : errors[match.route.id] : null; // Only data routers handle errors\n\n let errorElement = dataRouterState ? match.route.errorElement || /*#__PURE__*/React.createElement(DefaultErrorElement, null) : null;\n let matches = parentMatches.concat(renderedMatches.slice(0, index + 1));\n\n let getChildren = () => /*#__PURE__*/React.createElement(RenderedRoute, {\n match: match,\n routeContext: {\n outlet,\n matches\n }\n }, error ? errorElement : match.route.element !== undefined ? match.route.element : outlet); // Only wrap in an error boundary within data router usages when we have an\n // errorElement on this route. Otherwise let it bubble up to an ancestor\n // errorElement\n\n\n return dataRouterState && (match.route.errorElement || index === 0) ? /*#__PURE__*/React.createElement(RenderErrorBoundary, {\n location: dataRouterState.location,\n component: errorElement,\n error: error,\n children: getChildren(),\n routeContext: {\n outlet: null,\n matches\n }\n }) : getChildren();\n }, null);\n}\nvar DataRouterHook;\n\n(function (DataRouterHook) {\n DataRouterHook[\"UseBlocker\"] = \"useBlocker\";\n DataRouterHook[\"UseRevalidator\"] = \"useRevalidator\";\n})(DataRouterHook || (DataRouterHook = {}));\n\nvar DataRouterStateHook;\n\n(function (DataRouterStateHook) {\n DataRouterStateHook[\"UseLoaderData\"] = \"useLoaderData\";\n DataRouterStateHook[\"UseActionData\"] = \"useActionData\";\n DataRouterStateHook[\"UseRouteError\"] = \"useRouteError\";\n DataRouterStateHook[\"UseNavigation\"] = \"useNavigation\";\n DataRouterStateHook[\"UseRouteLoaderData\"] = \"useRouteLoaderData\";\n DataRouterStateHook[\"UseMatches\"] = \"useMatches\";\n DataRouterStateHook[\"UseRevalidator\"] = \"useRevalidator\";\n})(DataRouterStateHook || (DataRouterStateHook = {}));\n\nfunction getDataRouterConsoleError(hookName) {\n return hookName + \" must be used within a data router. See https://reactrouter.com/routers/picking-a-router.\";\n}\n\nfunction useDataRouterContext(hookName) {\n let ctx = React.useContext(DataRouterContext);\n !ctx ? process.env.NODE_ENV !== \"production\" ? invariant(false, getDataRouterConsoleError(hookName)) : invariant(false) : void 0;\n return ctx;\n}\n\nfunction useDataRouterState(hookName) {\n let state = React.useContext(DataRouterStateContext);\n !state ? process.env.NODE_ENV !== \"production\" ? invariant(false, getDataRouterConsoleError(hookName)) : invariant(false) : void 0;\n return state;\n}\n\nfunction useRouteContext(hookName) {\n let route = React.useContext(RouteContext);\n !route ? process.env.NODE_ENV !== \"production\" ? invariant(false, getDataRouterConsoleError(hookName)) : invariant(false) : void 0;\n return route;\n}\n\nfunction useCurrentRouteId(hookName) {\n let route = useRouteContext(hookName);\n let thisRoute = route.matches[route.matches.length - 1];\n !thisRoute.route.id ? process.env.NODE_ENV !== \"production\" ? invariant(false, hookName + \" can only be used on routes that contain a unique \\\"id\\\"\") : invariant(false) : void 0;\n return thisRoute.route.id;\n}\n/**\n * Returns the current navigation, defaulting to an \"idle\" navigation when\n * no navigation is in progress\n */\n\n\nfunction useNavigation() {\n let state = useDataRouterState(DataRouterStateHook.UseNavigation);\n return state.navigation;\n}\n/**\n * Returns a revalidate function for manually triggering revalidation, as well\n * as the current state of any manual revalidations\n */\n\nfunction useRevalidator() {\n let dataRouterContext = useDataRouterContext(DataRouterHook.UseRevalidator);\n let state = useDataRouterState(DataRouterStateHook.UseRevalidator);\n return {\n revalidate: dataRouterContext.router.revalidate,\n state: state.revalidation\n };\n}\n/**\n * Returns the active route matches, useful for accessing loaderData for\n * parent/child routes or the route \"handle\" property\n */\n\nfunction useMatches() {\n let {\n matches,\n loaderData\n } = useDataRouterState(DataRouterStateHook.UseMatches);\n return React.useMemo(() => matches.map(match => {\n let {\n pathname,\n params\n } = match; // Note: This structure matches that created by createUseMatchesMatch\n // in the @remix-run/router , so if you change this please also change\n // that :) Eventually we'll DRY this up\n\n return {\n id: match.route.id,\n pathname,\n params,\n data: loaderData[match.route.id],\n handle: match.route.handle\n };\n }), [matches, loaderData]);\n}\n/**\n * Returns the loader data for the nearest ancestor Route loader\n */\n\nfunction useLoaderData() {\n let state = useDataRouterState(DataRouterStateHook.UseLoaderData);\n let routeId = useCurrentRouteId(DataRouterStateHook.UseLoaderData);\n\n if (state.errors && state.errors[routeId] != null) {\n console.error(\"You cannot `useLoaderData` in an errorElement (routeId: \" + routeId + \")\");\n return undefined;\n }\n\n return state.loaderData[routeId];\n}\n/**\n * Returns the loaderData for the given routeId\n */\n\nfunction useRouteLoaderData(routeId) {\n let state = useDataRouterState(DataRouterStateHook.UseRouteLoaderData);\n return state.loaderData[routeId];\n}\n/**\n * Returns the action data for the nearest ancestor Route action\n */\n\nfunction useActionData() {\n let state = useDataRouterState(DataRouterStateHook.UseActionData);\n let route = React.useContext(RouteContext);\n !route ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"useActionData must be used inside a RouteContext\") : invariant(false) : void 0;\n return Object.values((state == null ? void 0 : state.actionData) || {})[0];\n}\n/**\n * Returns the nearest ancestor Route error, which could be a loader/action\n * error or a render error. This is intended to be called from your\n * errorElement to display a proper error message.\n */\n\nfunction useRouteError() {\n var _state$errors;\n\n let error = React.useContext(RouteErrorContext);\n let state = useDataRouterState(DataRouterStateHook.UseRouteError);\n let routeId = useCurrentRouteId(DataRouterStateHook.UseRouteError); // If this was a render error, we put it in a RouteError context inside\n // of RenderErrorBoundary\n\n if (error) {\n return error;\n } // Otherwise look for errors from our data router state\n\n\n return (_state$errors = state.errors) == null ? void 0 : _state$errors[routeId];\n}\n/**\n * Returns the happy-path data from the nearest ancestor value\n */\n\nfunction useAsyncValue() {\n let value = React.useContext(AwaitContext);\n return value == null ? void 0 : value._data;\n}\n/**\n * Returns the error from the nearest ancestor value\n */\n\nfunction useAsyncError() {\n let value = React.useContext(AwaitContext);\n return value == null ? void 0 : value._error;\n}\nlet blockerId = 0;\n/**\n * Allow the application to block navigations within the SPA and present the\n * user a confirmation dialog to confirm the navigation. Mostly used to avoid\n * using half-filled form data. This does not handle hard-reloads or\n * cross-origin navigations.\n */\n\nfunction useBlocker(shouldBlock) {\n let {\n router\n } = useDataRouterContext(DataRouterHook.UseBlocker);\n let [blockerKey] = React.useState(() => String(++blockerId));\n let blockerFunction = React.useCallback(args => {\n return typeof shouldBlock === \"function\" ? !!shouldBlock(args) : !!shouldBlock;\n }, [shouldBlock]);\n let blocker = router.getBlocker(blockerKey, blockerFunction); // Cleanup on unmount\n\n React.useEffect(() => () => router.deleteBlocker(blockerKey), [router, blockerKey]);\n return blocker;\n}\nconst alreadyWarned = {};\n\nfunction warningOnce(key, cond, message) {\n if (!cond && !alreadyWarned[key]) {\n alreadyWarned[key] = true;\n process.env.NODE_ENV !== \"production\" ? warning(false, message) : void 0;\n }\n}\n\n/**\n * Given a Remix Router instance, render the appropriate UI\n */\nfunction RouterProvider(_ref) {\n let {\n fallbackElement,\n router\n } = _ref;\n // Sync router state to our component state to force re-renders\n let state = useSyncExternalStore(router.subscribe, () => router.state, // We have to provide this so React@18 doesn't complain during hydration,\n // but we pass our serialized hydration data into the router so state here\n // is already synced with what the server saw\n () => router.state);\n let navigator = React.useMemo(() => {\n return {\n createHref: router.createHref,\n encodeLocation: router.encodeLocation,\n go: n => router.navigate(n),\n push: (to, state, opts) => router.navigate(to, {\n state,\n preventScrollReset: opts == null ? void 0 : opts.preventScrollReset\n }),\n replace: (to, state, opts) => router.navigate(to, {\n replace: true,\n state,\n preventScrollReset: opts == null ? void 0 : opts.preventScrollReset\n })\n };\n }, [router]);\n let basename = router.basename || \"/\"; // The fragment and {null} here are important! We need them to keep React 18's\n // useId happy when we are server-rendering since we may have a + From f8c2a1a66f6a99daee198cc0dc84a76696531486 Mon Sep 17 00:00:00 2001 From: Abigail Hartman Date: Fri, 21 Jun 2024 18:31:03 -0700 Subject: [PATCH 08/11] Update issue templates (#947) --- .github/ISSUE_TEMPLATE/bug_report.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d65a1c64f9..0bc224065e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -27,6 +27,22 @@ If applicable, add screenshots to help explain your problem. - Azure OpenAI model name and version (e.g. 'gpt-35-turbo-16k, version 0613') - Is chat history enabled? - Are you using data? If so, what data source? (e.g. Azure AI Search, Azure CosmosDB Mongo vCore, etc) +- Verify the startup command and runtime configuration by showing the output of the following az CLI command: +``` +az webapp show --name --resource-group --query "{startupCommand: siteConfig.appCommandLine, runtime: siteConfig.linuxFxVersion}" +``` + +**Logs** + +1. If the application deployment is failing, please share the deployment logs using the following az CLI command: +``` +az webapp log deployment show --name --resource-group +``` + +2. If the application is crashing after deployment, please share the application logs using the following az CLI command: +``` +az webapp log tail --name --resource-group +``` **Additional context** Add any other context about the problem here. From 972def7570dd532c6d2a0443243fb9fd81579298 Mon Sep 17 00:00:00 2001 From: Abigail Hartman Date: Mon, 24 Jun 2024 15:46:55 -0700 Subject: [PATCH 09/11] Create workflow for closing stale issues (#949) --- .github/workflows/stale-issues.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/stale-issues.yml diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml new file mode 100644 index 0000000000..16cd59235d --- /dev/null +++ b/.github/workflows/stale-issues.yml @@ -0,0 +1,22 @@ +name: Close inactive issues +on: + schedule: + - cron: "30 1 * * *" + +jobs: + close-issues: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v5 + with: + days-before-issue-stale: 60 + days-before-issue-close: 14 + stale-issue-label: "stale" + stale-issue-message: "This issue is stale because it has been open for 30 days with no activity." + close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." + days-before-pr-stale: 60 + days-before-pr-close: 14 + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From a0fbf15a49b7325a52a2f8b58bbdf7fda121d0ac Mon Sep 17 00:00:00 2001 From: Abigail Hartman Date: Tue, 25 Jun 2024 18:23:50 -0700 Subject: [PATCH 10/11] Create a workflow for checks on static files (#950) --- .github/workflows/check-static-files.yml | 51 ++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/check-static-files.yml diff --git a/.github/workflows/check-static-files.yml b/.github/workflows/check-static-files.yml new file mode 100644 index 0000000000..c45568ee85 --- /dev/null +++ b/.github/workflows/check-static-files.yml @@ -0,0 +1,51 @@ +name: Check changes to static files + +on: + pull_request: + branches: + - main + +jobs: + changed_files: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: List changed frontend source files + uses: tj-actions/changed-files@v44 + id: changed-frontend-src-files + with: + files: | + frontend/src/**/*.tsx + frontend/src/**/*.css + + - name: List changed frontend static files + id: changed-frontend-static-files + if: steps.changed-frontend-src-files.outputs.files_changed == 'true' + uses: tj-actions/changed-files@v44 + with: + files: | + static + + - name: Check changed static files + if: steps.changed-frontend-src-files.outputs.files_changed == 'true' && steps.changed-frontend-static-files.outputs.files_changed == 'false' + run: echo "There were changes to the frontend code, but no corresponding changes to static files. Please build the project locally, commit the static file changes and push the changes to try again." && exit 1 + + - name: List logo customizations + uses: tj-actions/changed-files@v44 + id: changed-logo-files + with: + files: | + frontend/public/favicon.ico + frontend/src/assets + + - name: Comment on logo customizations + if: steps.changed-logo-files.outputs.any_changed == 'true' + uses: mshick/add-pr-comment@v2 + with: + message: | + "Hello contributor, it appears that your pull request contains some customizations to branding. We are unable to approve your PR at this time. If you believe this message to be in error, please correct these unsupported changes and try again, or reach out to one of the maintainers of the repo to discuss the changes." + + - name: Fail on logo customizations + if: steps.changed-logo-files.outputs.any_changed == 'true' + run: echo "Logos are customized, which is not a supported change." && exit 1 \ No newline at end of file From ff307969e598b76834e1d2891033efec5bb9df5b Mon Sep 17 00:00:00 2001 From: Abigail Hartman Date: Wed, 26 Jun 2024 18:42:53 -0700 Subject: [PATCH 11/11] Enable code coverage measurement for tests (#948) --- .github/workflows/check-test-updates.yml | 0 .github/workflows/python-app.yml | 19 +++++++++++++++++-- requirements-dev.txt | 3 ++- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/check-test-updates.yml diff --git a/.github/workflows/check-test-updates.yml b/.github/workflows/check-test-updates.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index cb387477d4..e0a51c9be9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -29,7 +29,22 @@ jobs: - name: Test with pytest run: | export PYTHONPATH=$(pwd) - pytest -v --show-capture=stdout -k "not integration" + coverage run --omit=tests/integration_tests -m pytest -v --show-capture=stdout -k "not integration" + coverage report -m + coverage xml + + - name: Code Coverage Report + uses: irongut/CodeCoverageSummary@v1.3.0 + with: + filename: coverage.xml + badge: true + fail_below_min: true + format: markdown + hide_branch_rate: false + hide_complexity: true + indicators: true + output: both + thresholds: '60 80' test_windows: runs-on: @@ -47,4 +62,4 @@ jobs: - name: Test with pytest run: | $env:PYTHONPATH=$pwd - pytest -v --show-capture=stdout -k "not integration" \ No newline at end of file + pytest -v --show-capture=stdout -k "not integration" diff --git a/requirements-dev.txt b/requirements-dev.txt index ef6934204a..5c6d8330aa 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -11,4 +11,5 @@ pytest==7.4.0 pytest-asyncio==0.23.2 azure-storage-blob chardet -azure-keyvault-secrets \ No newline at end of file +azure-keyvault-secrets +coverage \ No newline at end of file