From a8c81bcbc78c48a098cb682b52c410fa6bd33043 Mon Sep 17 00:00:00 2001 From: guillemcordoba Date: Tue, 30 Apr 2024 15:25:55 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20holochai?= =?UTF-8?q?n-open-dev/infrastructure@8ff37dd718e1d06136880767dd8ee569132dd?= =?UTF-8?q?0a4=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{index-64107ce9.js => index-508b7d96.js} | 497 +++++++++--------- stores/index.html | 2 +- 2 files changed, 243 insertions(+), 256 deletions(-) rename stores/assets/{index-64107ce9.js => index-508b7d96.js} (93%) diff --git a/stores/assets/index-64107ce9.js b/stores/assets/index-508b7d96.js similarity index 93% rename from stores/assets/index-64107ce9.js rename to stores/assets/index-508b7d96.js index 3c4be78..933b411 100644 --- a/stores/assets/index-64107ce9.js +++ b/stores/assets/index-508b7d96.js @@ -1,39 +1,26 @@ -var eZt=Object.freeze,tZt=Object.defineProperty;var bVn=(lh,ah,ch)=>ah in lh?tZt(lh,ah,{enumerable:!0,configurable:!0,writable:!0,value:ch}):lh[ah]=ch;var nZt=(lh,ah,ch)=>(bVn(lh,typeof ah!="symbol"?ah+"":ah,ch),ch);var iZt=(lh,ah)=>eZt(tZt(lh,"raw",{value:eZt(ah||lh.slice())}));(function(){const ah=document.createElement("link").relList;if(ah&&ah.supports&&ah.supports("modulepreload"))return;for(const _h of document.querySelectorAll('link[rel="modulepreload"]'))ph(_h);new MutationObserver(_h=>{for(const xh of _h)if(xh.type==="childList")for(const Oh of xh.addedNodes)Oh.tagName==="LINK"&&Oh.rel==="modulepreload"&&ph(Oh)}).observe(document,{childList:!0,subtree:!0});function ch(_h){const xh={};return _h.integrity&&(xh.integrity=_h.integrity),_h.referrerPolicy&&(xh.referrerPolicy=_h.referrerPolicy),_h.crossOrigin==="use-credentials"?xh.credentials="include":_h.crossOrigin==="anonymous"?xh.credentials="omit":xh.credentials="same-origin",xh}function ph(_h){if(_h.ep)return;_h.ep=!0;const xh=ch(_h);fetch(_h.href,xh)}})();const reveal="",black="",monokai$1="",styles$4="",monokai="";/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */function __decorate$7(lh,ah,ch,ph){var _h=arguments.length,xh=_h<3?ah:ph===null?ph=Object.getOwnPropertyDescriptor(ah,ch):ph,Oh;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")xh=Reflect.decorate(lh,ah,ch,ph);else for(var Uh=lh.length-1;Uh>=0;Uh--)(Oh=lh[Uh])&&(xh=(_h<3?Oh(xh):_h>3?Oh(ah,ch,xh):Oh(ah,ch))||xh);return _h>3&&xh&&Object.defineProperty(ah,ch,xh),xh}/** +var eZt=Object.freeze,tZt=Object.defineProperty;var bVn=(lh,ah,ch)=>ah in lh?tZt(lh,ah,{enumerable:!0,configurable:!0,writable:!0,value:ch}):lh[ah]=ch;var nZt=(lh,ah,ch)=>(bVn(lh,typeof ah!="symbol"?ah+"":ah,ch),ch);var iZt=(lh,ah)=>eZt(tZt(lh,"raw",{value:eZt(ah||lh.slice())}));(function(){const ah=document.createElement("link").relList;if(ah&&ah.supports&&ah.supports("modulepreload"))return;for(const yh of document.querySelectorAll('link[rel="modulepreload"]'))ph(yh);new MutationObserver(yh=>{for(const xh of yh)if(xh.type==="childList")for(const Oh of xh.addedNodes)Oh.tagName==="LINK"&&Oh.rel==="modulepreload"&&ph(Oh)}).observe(document,{childList:!0,subtree:!0});function ch(yh){const xh={};return yh.integrity&&(xh.integrity=yh.integrity),yh.referrerPolicy&&(xh.referrerPolicy=yh.referrerPolicy),yh.crossOrigin==="use-credentials"?xh.credentials="include":yh.crossOrigin==="anonymous"?xh.credentials="omit":xh.credentials="same-origin",xh}function ph(yh){if(yh.ep)return;yh.ep=!0;const xh=ch(yh);fetch(yh.href,xh)}})();const reveal="",black="",monokai$1="",styles$4="",monokai="";var extendStatics=function(lh,ah){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ch,ph){ch.__proto__=ph}||function(ch,ph){for(var yh in ph)Object.prototype.hasOwnProperty.call(ph,yh)&&(ch[yh]=ph[yh])},extendStatics(lh,ah)};function __extends(lh,ah){if(typeof ah!="function"&&ah!==null)throw new TypeError("Class extends value "+String(ah)+" is not a constructor or null");extendStatics(lh,ah);function ch(){this.constructor=lh}lh.prototype=ah===null?Object.create(ah):(ch.prototype=ah.prototype,new ch)}var __assign=function(){return __assign=Object.assign||function(ah){for(var ch,ph=1,yh=arguments.length;ph=0;Uh--)(Oh=lh[Uh])&&(xh=(yh<3?Oh(xh):yh>3?Oh(ah,ch,xh):Oh(ah,ch))||xh);return yh>3&&xh&&Object.defineProperty(ah,ch,xh),xh}function __values(lh){var ah=typeof Symbol=="function"&&Symbol.iterator,ch=ah&&lh[ah],ph=0;if(ch)return ch.call(lh);if(lh&&typeof lh.length=="number")return{next:function(){return lh&&ph>=lh.length&&(lh=void 0),{value:lh&&lh[ph++],done:!lh}}};throw new TypeError(ah?"Object is not iterable.":"Symbol.iterator is not defined.")}typeof SuppressedError=="function"&&SuppressedError;/** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const t$y=window,e$W=t$y.ShadowRoot&&(t$y.ShadyCSS===void 0||t$y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$J=Symbol(),n$Z=new WeakMap;let o$T=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$J)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$W&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$Z.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$Z.set(ch,ah))}return ah}toString(){return this.cssText}};const r$E=lh=>new o$T(typeof lh=="string"?lh:lh+"",void 0,s$J),i$I=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,_h,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(_h)+lh[xh+1],lh[0]);return new o$T(ch,lh,s$J)},S$l=(lh,ah)=>{e$W?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),_h=t$y.litNonce;_h!==void 0&&ph.setAttribute("nonce",_h),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$t=e$W?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$E(ch)})(lh):lh;/** + */const t$y=window,e$W=t$y.ShadowRoot&&(t$y.ShadyCSS===void 0||t$y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$J=Symbol(),n$Z=new WeakMap;let o$T=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$J)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$W&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$Z.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$Z.set(ch,ah))}return ah}toString(){return this.cssText}};const r$E=lh=>new o$T(typeof lh=="string"?lh:lh+"",void 0,s$J),i$I=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,yh,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(yh)+lh[xh+1],lh[0]);return new o$T(ch,lh,s$J)},S$l=(lh,ah)=>{e$W?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),yh=t$y.litNonce;yh!==void 0&&ph.setAttribute("nonce",yh),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$t=e$W?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$E(ch)})(lh):lh;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var s$I;const e$V=window,r$D=e$V.trustedTypes,h$o=r$D?r$D.emptyScript:"",o$S=e$V.reactiveElementPolyfillSupport,n$Y={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$o:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$r=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$B={attribute:!0,type:String,converter:n$Y,reflect:!1,hasChanged:a$r},d$l="finalized";let u$n=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const _h=this._$Ep(ph,ch);_h!==void 0&&(this._$Ev.set(_h,ph),ah.push(_h))}),ah}static createProperty(ah,ch=l$B){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,_h=this.getPropertyDescriptor(ah,ph,ch);_h!==void 0&&Object.defineProperty(this.prototype,ah,_h)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(_h){const xh=this[ah];this[ch]=_h,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$B}static finalize(){if(this.hasOwnProperty(d$l))return!1;this[d$l]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const _h of ph)this.createProperty(_h,ch[_h])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const _h of ph)ch.unshift(c$t(_h))}else ah!==void 0&&ch.push(c$t(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$l(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$B){var _h;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((_h=ph.converter)===null||_h===void 0?void 0:_h.toAttribute)!==void 0?ph.converter:n$Y).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const _h=this.constructor,xh=_h._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=_h.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$Y;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let _h=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$r)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):_h=!1),!this.isUpdatePending&&_h&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((_h,xh)=>this[xh]=_h),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(_h=>{var xh;return(xh=_h.hostUpdate)===null||xh===void 0?void 0:xh.call(_h)}),this.update(ph)):this._$Ek()}catch(_h){throw ch=!1,this._$Ek(),_h}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var _h;return(_h=ph.hostUpdated)===null||_h===void 0?void 0:_h.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$n[d$l]=!0,u$n.elementProperties=new Map,u$n.elementStyles=[],u$n.shadowRootOptions={mode:"open"},o$S==null||o$S({ReactiveElement:u$n}),((s$I=e$V.reactiveElementVersions)!==null&&s$I!==void 0?s$I:e$V.reactiveElementVersions=[]).push("1.6.3");/** + */var s$I;const e$V=window,r$D=e$V.trustedTypes,h$o=r$D?r$D.emptyScript:"",o$S=e$V.reactiveElementPolyfillSupport,n$Y={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$o:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$r=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$B={attribute:!0,type:String,converter:n$Y,reflect:!1,hasChanged:a$r},d$l="finalized";let u$o=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const yh=this._$Ep(ph,ch);yh!==void 0&&(this._$Ev.set(yh,ph),ah.push(yh))}),ah}static createProperty(ah,ch=l$B){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,yh=this.getPropertyDescriptor(ah,ph,ch);yh!==void 0&&Object.defineProperty(this.prototype,ah,yh)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(yh){const xh=this[ah];this[ch]=yh,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$B}static finalize(){if(this.hasOwnProperty(d$l))return!1;this[d$l]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const yh of ph)this.createProperty(yh,ch[yh])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const yh of ph)ch.unshift(c$t(yh))}else ah!==void 0&&ch.push(c$t(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$l(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$B){var yh;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((yh=ph.converter)===null||yh===void 0?void 0:yh.toAttribute)!==void 0?ph.converter:n$Y).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const yh=this.constructor,xh=yh._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=yh.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$Y;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let yh=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$r)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):yh=!1),!this.isUpdatePending&&yh&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((yh,xh)=>this[xh]=yh),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(yh=>{var xh;return(xh=yh.hostUpdate)===null||xh===void 0?void 0:xh.call(yh)}),this.update(ph)):this._$Ek()}catch(yh){throw ch=!1,this._$Ek(),yh}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var yh;return(yh=ph.hostUpdated)===null||yh===void 0?void 0:yh.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$o[d$l]=!0,u$o.elementProperties=new Map,u$o.elementStyles=[],u$o.shadowRootOptions={mode:"open"},o$S==null||o$S({ReactiveElement:u$o}),((s$I=e$V.reactiveElementVersions)!==null&&s$I!==void 0?s$I:e$V.reactiveElementVersions=[]).push("1.6.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var t$x;const i$H=window,s$H=i$H.trustedTypes,e$U=s$H?s$H.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$R="$lit$",n$X=`lit$${(Math.random()+"").slice(9)}$`,l$A="?"+n$X,h$n=`<${l$A}>`,r$C=document,u$m=()=>r$C.createComment(""),d$k=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$s=Array.isArray,v$d=lh=>c$s(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$q=`[ + */var t$x;const i$H=window,s$H=i$H.trustedTypes,e$U=s$H?s$H.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$R="$lit$",n$X=`lit$${(Math.random()+"").slice(9)}$`,l$A="?"+n$X,h$n=`<${l$A}>`,r$C=document,u$n=()=>r$C.createComment(""),d$k=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$s=Array.isArray,v$d=lh=>c$s(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$q=`[ \f\r]`,f$i=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$b=/-->/g,m$e=/>/g,p$f=RegExp(`>|${a$q}(?:([^\\s"'>=/]+)(${a$q}*=${a$q}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),g$d=/'/g,$$c=/"/g,y$g=/^(?:script|style|textarea|title)$/i,w$c=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$e=w$c(1),T$c=Symbol.for("lit-noChange"),A$e=Symbol.for("lit-nothing"),E$c=new WeakMap,C$c=r$C.createTreeWalker(r$C,129,null,!1);function P$c(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$U!==void 0?e$U.createHTML(ah):ah}const V$c=(lh,ah)=>{const ch=lh.length-1,ph=[];let _h,xh=ah===2?"":"",Oh=f$i;for(let Uh=0;Uh"?(Oh=_h??f$i,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$f:n1[3]==='"'?$$c:g$d):Oh===$$c||Oh===g$d?Oh=p$f:Oh===_$b||Oh===m$e?Oh=f$i:(Oh=p$f,_h=void 0);const g1=Oh===p$f&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$i?Fh+h$n:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$R+Fh.slice(t1)+n$X+g1):Fh+n$X+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$c(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$d=class oZt{constructor({strings:ah,_$litType$:ch},ph){let _h;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$c(ah,ch);if(this.el=oZt.createElement(zh,ph),C$c.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(_h=C$c.nextNode())!==null&&Fh.length0){_h.textContent=s$H?s$H.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$e}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,_h){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$k(this,ah,ch,0),Oh=!d$k(ah)||ah!==this._$AH&&ah!==T$c,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,_h;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(_h=ch==null?void 0:ch.renderBefore)!==null&&_h!==void 0?_h:null;xh._$litPart$=Oh=new R$c(ah.insertBefore(u$m(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** +\f\r"'\`<>=]|("|')|))|$)`,"g"),g$d=/'/g,$$c=/"/g,y$g=/^(?:script|style|textarea|title)$/i,w$c=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$e=w$c(1),T$c=Symbol.for("lit-noChange"),A$e=Symbol.for("lit-nothing"),E$c=new WeakMap,C$c=r$C.createTreeWalker(r$C,129,null,!1);function P$c(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$U!==void 0?e$U.createHTML(ah):ah}const V$c=(lh,ah)=>{const ch=lh.length-1,ph=[];let yh,xh=ah===2?"":"",Oh=f$i;for(let Uh=0;Uh"?(Oh=yh??f$i,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$f:n1[3]==='"'?$$c:g$d):Oh===$$c||Oh===g$d?Oh=p$f:Oh===_$b||Oh===m$e?Oh=f$i:(Oh=p$f,yh=void 0);const g1=Oh===p$f&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$i?Fh+h$n:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$R+Fh.slice(t1)+n$X+g1):Fh+n$X+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$c(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$d=class oZt{constructor({strings:ah,_$litType$:ch},ph){let yh;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$c(ah,ch);if(this.el=oZt.createElement(zh,ph),C$c.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(yh=C$c.nextNode())!==null&&Fh.length0){yh.textContent=s$H?s$H.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$e}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,yh){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$k(this,ah,ch,0),Oh=!d$k(ah)||ah!==this._$AH&&ah!==T$c,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,yh;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(yh=ch==null?void 0:ch.renderBefore)!==null&&yh!==void 0?yh:null;xh._$litPart$=Oh=new R$c(ah.insertBefore(u$n(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var l$z,o$Q;let s$G=class extends u$n{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$b(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$c}};s$G.finalized=!0,s$G._$litElement$=!0,(l$z=globalThis.litElementHydrateSupport)===null||l$z===void 0||l$z.call(globalThis,{LitElement:s$G});const n$W=globalThis.litElementPolyfillSupport;n$W==null||n$W({LitElement:s$G});((o$Q=globalThis.litElementVersions)!==null&&o$Q!==void 0?o$Q:globalThis.litElementVersions=[]).push("3.3.3");/** + */var l$z,o$Q;let s$G=class extends u$o{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$b(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$c}};s$G.finalized=!0,s$G._$litElement$=!0,(l$z=globalThis.litElementHydrateSupport)===null||l$z===void 0||l$z.call(globalThis,{LitElement:s$G});const n$W=globalThis.litElementPolyfillSupport;n$W==null||n$W({LitElement:s$G});((o$Q=globalThis.litElementVersions)!==null&&o$Q!==void 0?o$Q:globalThis.litElementVersions=[]).push("3.3.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e$T=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:_h,elements:xh}=ph;return{kind:_h,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** + */const e$T=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:yh,elements:xh}=ph;return{kind:yh,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -45,37 +32,37 @@ PERFORMANCE OF THIS SOFTWARE. * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o$P=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var _h;if(ph===void 0){const xh=(_h=ch.originalKey)!==null&&_h!==void 0?_h:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** + */const o$P=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var yh;if(ph===void 0){const xh=(yh=ch.originalKey)!==null&&yh!==void 0?yh:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function i$F(lh,ah){return o$P({descriptor:ch=>{const ph={get(){var _h,xh;return(xh=(_h=this.renderRoot)===null||_h===void 0?void 0:_h.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const _h=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[_h]===void 0&&(this[_h]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[_h]}}return ph}})}/** + */function i$F(lh,ah){return o$P({descriptor:ch=>{const ph={get(){var yh,xh;return(xh=(yh=this.renderRoot)===null||yh===void 0?void 0:yh.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const yh=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[yh]===void 0&&(this[yh]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[yh]}}return ph}})}/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var n$U;((n$U=window.HTMLSlotElement)===null||n$U===void 0?void 0:n$U.prototype.assignedElements)!=null;function __decorate$6(lh,ah,ch,ph){var _h=arguments.length,xh=_h<3?ah:ph===null?ph=Object.getOwnPropertyDescriptor(ah,ch):ph,Oh;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")xh=Reflect.decorate(lh,ah,ch,ph);else for(var Uh=lh.length-1;Uh>=0;Uh--)(Oh=lh[Uh])&&(xh=(_h<3?Oh(xh):_h>3?Oh(ah,ch,xh):Oh(ah,ch))||xh);return _h>3&&xh&&Object.defineProperty(ah,ch,xh),xh}typeof SuppressedError=="function"&&SuppressedError;/** + */var n$U;((n$U=window.HTMLSlotElement)===null||n$U===void 0?void 0:n$U.prototype.assignedElements)!=null;/** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const t$v=window,e$R=t$v.ShadowRoot&&(t$v.ShadyCSS===void 0||t$v.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$F=Symbol(),n$T=new WeakMap;let o$O=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$F)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$R&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$T.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$T.set(ch,ah))}return ah}toString(){return this.cssText}};const r$B=lh=>new o$O(typeof lh=="string"?lh:lh+"",void 0,s$F),i$E=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,_h,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(_h)+lh[xh+1],lh[0]);return new o$O(ch,lh,s$F)},S$j=(lh,ah)=>{e$R?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),_h=t$v.litNonce;_h!==void 0&&ph.setAttribute("nonce",_h),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$r=e$R?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$B(ch)})(lh):lh;/** + */const t$v=window,e$R=t$v.ShadowRoot&&(t$v.ShadyCSS===void 0||t$v.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$F=Symbol(),n$T=new WeakMap;let o$O=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$F)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$R&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$T.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$T.set(ch,ah))}return ah}toString(){return this.cssText}};const r$B=lh=>new o$O(typeof lh=="string"?lh:lh+"",void 0,s$F),i$E=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,yh,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(yh)+lh[xh+1],lh[0]);return new o$O(ch,lh,s$F)},S$j=(lh,ah)=>{e$R?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),yh=t$v.litNonce;yh!==void 0&&ph.setAttribute("nonce",yh),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$r=e$R?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$B(ch)})(lh):lh;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var s$E;const e$Q=window,r$A=e$Q.trustedTypes,h$m=r$A?r$A.emptyScript:"",o$N=e$Q.reactiveElementPolyfillSupport,n$S={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$m:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$p=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$y={attribute:!0,type:String,converter:n$S,reflect:!1,hasChanged:a$p},d$j="finalized";let u$l=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const _h=this._$Ep(ph,ch);_h!==void 0&&(this._$Ev.set(_h,ph),ah.push(_h))}),ah}static createProperty(ah,ch=l$y){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,_h=this.getPropertyDescriptor(ah,ph,ch);_h!==void 0&&Object.defineProperty(this.prototype,ah,_h)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(_h){const xh=this[ah];this[ch]=_h,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$y}static finalize(){if(this.hasOwnProperty(d$j))return!1;this[d$j]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const _h of ph)this.createProperty(_h,ch[_h])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const _h of ph)ch.unshift(c$r(_h))}else ah!==void 0&&ch.push(c$r(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$j(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$y){var _h;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((_h=ph.converter)===null||_h===void 0?void 0:_h.toAttribute)!==void 0?ph.converter:n$S).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const _h=this.constructor,xh=_h._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=_h.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$S;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let _h=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$p)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):_h=!1),!this.isUpdatePending&&_h&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((_h,xh)=>this[xh]=_h),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(_h=>{var xh;return(xh=_h.hostUpdate)===null||xh===void 0?void 0:xh.call(_h)}),this.update(ph)):this._$Ek()}catch(_h){throw ch=!1,this._$Ek(),_h}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var _h;return(_h=ph.hostUpdated)===null||_h===void 0?void 0:_h.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$l[d$j]=!0,u$l.elementProperties=new Map,u$l.elementStyles=[],u$l.shadowRootOptions={mode:"open"},o$N==null||o$N({ReactiveElement:u$l}),((s$E=e$Q.reactiveElementVersions)!==null&&s$E!==void 0?s$E:e$Q.reactiveElementVersions=[]).push("1.6.3");/** + */var s$E;const e$Q=window,r$A=e$Q.trustedTypes,h$m=r$A?r$A.emptyScript:"",o$N=e$Q.reactiveElementPolyfillSupport,n$S={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$m:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$p=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$y={attribute:!0,type:String,converter:n$S,reflect:!1,hasChanged:a$p},d$j="finalized";let u$m=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const yh=this._$Ep(ph,ch);yh!==void 0&&(this._$Ev.set(yh,ph),ah.push(yh))}),ah}static createProperty(ah,ch=l$y){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,yh=this.getPropertyDescriptor(ah,ph,ch);yh!==void 0&&Object.defineProperty(this.prototype,ah,yh)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(yh){const xh=this[ah];this[ch]=yh,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$y}static finalize(){if(this.hasOwnProperty(d$j))return!1;this[d$j]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const yh of ph)this.createProperty(yh,ch[yh])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const yh of ph)ch.unshift(c$r(yh))}else ah!==void 0&&ch.push(c$r(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$j(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$y){var yh;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((yh=ph.converter)===null||yh===void 0?void 0:yh.toAttribute)!==void 0?ph.converter:n$S).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const yh=this.constructor,xh=yh._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=yh.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$S;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let yh=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$p)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):yh=!1),!this.isUpdatePending&&yh&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((yh,xh)=>this[xh]=yh),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(yh=>{var xh;return(xh=yh.hostUpdate)===null||xh===void 0?void 0:xh.call(yh)}),this.update(ph)):this._$Ek()}catch(yh){throw ch=!1,this._$Ek(),yh}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var yh;return(yh=ph.hostUpdated)===null||yh===void 0?void 0:yh.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$m[d$j]=!0,u$m.elementProperties=new Map,u$m.elementStyles=[],u$m.shadowRootOptions={mode:"open"},o$N==null||o$N({ReactiveElement:u$m}),((s$E=e$Q.reactiveElementVersions)!==null&&s$E!==void 0?s$E:e$Q.reactiveElementVersions=[]).push("1.6.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var t$u;const i$D=window,s$D=i$D.trustedTypes,e$P=s$D?s$D.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$M="$lit$",n$R=`lit$${(Math.random()+"").slice(9)}$`,l$x="?"+n$R,h$l=`<${l$x}>`,r$z=document,u$k=()=>r$z.createComment(""),d$i=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$q=Array.isArray,v$c=lh=>c$q(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$o=`[ + */var t$u;const i$D=window,s$D=i$D.trustedTypes,e$P=s$D?s$D.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$M="$lit$",n$R=`lit$${(Math.random()+"").slice(9)}$`,l$x="?"+n$R,h$l=`<${l$x}>`,r$z=document,u$l=()=>r$z.createComment(""),d$i=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$q=Array.isArray,v$c=lh=>c$q(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$o=`[ \f\r]`,f$h=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$a=/-->/g,m$d=/>/g,p$e=RegExp(`>|${a$o}(?:([^\\s"'>=/]+)(${a$o}*=${a$o}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),g$c=/'/g,$$b=/"/g,y$f=/^(?:script|style|textarea|title)$/i,w$b=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$d=w$b(1),T$b=Symbol.for("lit-noChange"),A$d=Symbol.for("lit-nothing"),E$b=new WeakMap,C$b=r$z.createTreeWalker(r$z,129,null,!1);function P$b(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$P!==void 0?e$P.createHTML(ah):ah}const V$b=(lh,ah)=>{const ch=lh.length-1,ph=[];let _h,xh=ah===2?"":"",Oh=f$h;for(let Uh=0;Uh"?(Oh=_h??f$h,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$e:n1[3]==='"'?$$b:g$c):Oh===$$b||Oh===g$c?Oh=p$e:Oh===_$a||Oh===m$d?Oh=f$h:(Oh=p$e,_h=void 0);const g1=Oh===p$e&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$h?Fh+h$l:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$M+Fh.slice(t1)+n$R+g1):Fh+n$R+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$b(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$c=class cZt{constructor({strings:ah,_$litType$:ch},ph){let _h;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$b(ah,ch);if(this.el=cZt.createElement(zh,ph),C$b.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(_h=C$b.nextNode())!==null&&Fh.length0){_h.textContent=s$D?s$D.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$d}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,_h){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$i(this,ah,ch,0),Oh=!d$i(ah)||ah!==this._$AH&&ah!==T$b,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,_h;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(_h=ch==null?void 0:ch.renderBefore)!==null&&_h!==void 0?_h:null;xh._$litPart$=Oh=new R$b(ah.insertBefore(u$k(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** +\f\r"'\`<>=]|("|')|))|$)`,"g"),g$c=/'/g,$$b=/"/g,y$f=/^(?:script|style|textarea|title)$/i,w$b=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$d=w$b(1),T$b=Symbol.for("lit-noChange"),A$d=Symbol.for("lit-nothing"),E$b=new WeakMap,C$b=r$z.createTreeWalker(r$z,129,null,!1);function P$b(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$P!==void 0?e$P.createHTML(ah):ah}const V$b=(lh,ah)=>{const ch=lh.length-1,ph=[];let yh,xh=ah===2?"":"",Oh=f$h;for(let Uh=0;Uh"?(Oh=yh??f$h,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$e:n1[3]==='"'?$$b:g$c):Oh===$$b||Oh===g$c?Oh=p$e:Oh===_$a||Oh===m$d?Oh=f$h:(Oh=p$e,yh=void 0);const g1=Oh===p$e&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$h?Fh+h$l:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$M+Fh.slice(t1)+n$R+g1):Fh+n$R+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$b(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$c=class cZt{constructor({strings:ah,_$litType$:ch},ph){let yh;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$b(ah,ch);if(this.el=cZt.createElement(zh,ph),C$b.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(yh=C$b.nextNode())!==null&&Fh.length0){yh.textContent=s$D?s$D.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$d}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,yh){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$i(this,ah,ch,0),Oh=!d$i(ah)||ah!==this._$AH&&ah!==T$b,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,yh;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(yh=ch==null?void 0:ch.renderBefore)!==null&&yh!==void 0?yh:null;xh._$litPart$=Oh=new R$b(ah.insertBefore(u$l(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var l$w,o$L;let s$C=class extends u$l{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$a(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$b}};s$C.finalized=!0,s$C._$litElement$=!0,(l$w=globalThis.litElementHydrateSupport)===null||l$w===void 0||l$w.call(globalThis,{LitElement:s$C});const n$Q=globalThis.litElementPolyfillSupport;n$Q==null||n$Q({LitElement:s$C});((o$L=globalThis.litElementVersions)!==null&&o$L!==void 0?o$L:globalThis.litElementVersions=[]).push("3.3.3");/** + */var l$w,o$L;let s$C=class extends u$m{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$a(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$b}};s$C.finalized=!0,s$C._$litElement$=!0,(l$w=globalThis.litElementHydrateSupport)===null||l$w===void 0||l$w.call(globalThis,{LitElement:s$C});const n$Q=globalThis.litElementPolyfillSupport;n$Q==null||n$Q({LitElement:s$C});((o$L=globalThis.litElementVersions)!==null&&o$L!==void 0?o$L:globalThis.litElementVersions=[]).push("3.3.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e$O=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:_h,elements:xh}=ph;return{kind:_h,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** + */const e$O=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:yh,elements:xh}=ph;return{kind:yh,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -87,15 +74,15 @@ PERFORMANCE OF THIS SOFTWARE. * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o$K=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var _h;if(ph===void 0){const xh=(_h=ch.originalKey)!==null&&_h!==void 0?_h:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** + */const o$K=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var yh;if(ph===void 0){const xh=(yh=ch.originalKey)!==null&&yh!==void 0?yh:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function i$B(lh,ah){return o$K({descriptor:ch=>{const ph={get(){var _h,xh;return(xh=(_h=this.renderRoot)===null||_h===void 0?void 0:_h.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const _h=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[_h]===void 0&&(this[_h]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[_h]}}return ph}})}/** + */function i$B(lh,ah){return o$K({descriptor:ch=>{const ph={get(){var yh,xh;return(xh=(yh=this.renderRoot)===null||yh===void 0?void 0:yh.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const yh=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[yh]===void 0&&(this[yh]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[yh]}}return ph}})}/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var n$O;((n$O=window.HTMLSlotElement)===null||n$O===void 0?void 0:n$O.prototype.assignedElements)!=null;const proxyMarker=Symbol("Comlink.proxy"),createEndpoint=Symbol("Comlink.endpoint"),releaseProxy=Symbol("Comlink.releaseProxy"),throwMarker=Symbol("Comlink.thrown"),isObject$1=lh=>typeof lh=="object"&&lh!==null||typeof lh=="function",proxyTransferHandler={canHandle:lh=>isObject$1(lh)&&lh[proxyMarker],serialize(lh){const{port1:ah,port2:ch}=new MessageChannel;return expose(lh,ah),[ch,[ch]]},deserialize(lh){return lh.start(),wrap(lh)}},throwTransferHandler={canHandle:lh=>isObject$1(lh)&&throwMarker in lh,serialize({value:lh}){let ah;return lh instanceof Error?ah={isError:!0,value:{message:lh.message,name:lh.name,stack:lh.stack}}:ah={isError:!1,value:lh},[ah,[]]},deserialize(lh){throw lh.isError?Object.assign(new Error(lh.value.message),lh.value):lh.value}},transferHandlers=new Map([["proxy",proxyTransferHandler],["throw",throwTransferHandler]]);function expose(lh,ah=self){ah.addEventListener("message",function ch(ph){if(!ph||!ph.data)return;const{id:_h,type:xh,path:Oh}=Object.assign({path:[]},ph.data),Uh=(ph.data.argumentList||[]).map(fromWireValue);let Fh;try{const zh=Oh.slice(0,-1).reduce((t1,f1)=>t1[f1],lh),n1=Oh.reduce((t1,f1)=>t1[f1],lh);switch(xh){case"GET":Fh=n1;break;case"SET":zh[Oh.slice(-1)[0]]=fromWireValue(ph.data.value),Fh=!0;break;case"APPLY":Fh=n1.apply(zh,Uh);break;case"CONSTRUCT":{const t1=new n1(...Uh);Fh=proxy(t1)}break;case"ENDPOINT":{const{port1:t1,port2:f1}=new MessageChannel;expose(lh,f1),Fh=transfer(t1,[t1])}break;case"RELEASE":Fh=void 0;break;default:return}}catch(zh){Fh={value:zh,[throwMarker]:0}}Promise.resolve(Fh).catch(zh=>({value:zh,[throwMarker]:0})).then(zh=>{const[n1,t1]=toWireValue(zh);ah.postMessage(Object.assign(Object.assign({},n1),{id:_h}),t1),xh==="RELEASE"&&(ah.removeEventListener("message",ch),closeEndPoint(ah))})}),ah.start&&ah.start()}function isMessagePort(lh){return lh.constructor.name==="MessagePort"}function closeEndPoint(lh){isMessagePort(lh)&&lh.close()}function wrap(lh,ah){return createProxy(lh,[],ah)}function throwIfProxyReleased(lh){if(lh)throw new Error("Proxy has been released and is not useable")}function createProxy(lh,ah=[],ch=function(){}){let ph=!1;const _h=new Proxy(ch,{get(xh,Oh){if(throwIfProxyReleased(ph),Oh===releaseProxy)return()=>requestResponseMessage(lh,{type:"RELEASE",path:ah.map(Uh=>Uh.toString())}).then(()=>{closeEndPoint(lh),ph=!0});if(Oh==="then"){if(ah.length===0)return{then:()=>_h};const Uh=requestResponseMessage(lh,{type:"GET",path:ah.map(Fh=>Fh.toString())}).then(fromWireValue);return Uh.then.bind(Uh)}return createProxy(lh,[...ah,Oh])},set(xh,Oh,Uh){throwIfProxyReleased(ph);const[Fh,zh]=toWireValue(Uh);return requestResponseMessage(lh,{type:"SET",path:[...ah,Oh].map(n1=>n1.toString()),value:Fh},zh).then(fromWireValue)},apply(xh,Oh,Uh){throwIfProxyReleased(ph);const Fh=ah[ah.length-1];if(Fh===createEndpoint)return requestResponseMessage(lh,{type:"ENDPOINT"}).then(fromWireValue);if(Fh==="bind")return createProxy(lh,ah.slice(0,-1));const[zh,n1]=processArguments(Uh);return requestResponseMessage(lh,{type:"APPLY",path:ah.map(t1=>t1.toString()),argumentList:zh},n1).then(fromWireValue)},construct(xh,Oh){throwIfProxyReleased(ph);const[Uh,Fh]=processArguments(Oh);return requestResponseMessage(lh,{type:"CONSTRUCT",path:ah.map(zh=>zh.toString()),argumentList:Uh},Fh).then(fromWireValue)}});return _h}function myFlat(lh){return Array.prototype.concat.apply([],lh)}function processArguments(lh){const ah=lh.map(toWireValue);return[ah.map(ch=>ch[0]),myFlat(ah.map(ch=>ch[1]))]}const transferCache=new WeakMap;function transfer(lh,ah){return transferCache.set(lh,ah),lh}function proxy(lh){return Object.assign(lh,{[proxyMarker]:!0})}function toWireValue(lh){for(const[ah,ch]of transferHandlers)if(ch.canHandle(lh)){const[ph,_h]=ch.serialize(lh);return[{type:"HANDLER",name:ah,value:ph},_h]}return[{type:"RAW",value:lh},transferCache.get(lh)||[]]}function fromWireValue(lh){switch(lh.type){case"HANDLER":return transferHandlers.get(lh.name).deserialize(lh.value);case"RAW":return lh.value}}function requestResponseMessage(lh,ah,ch){return new Promise(ph=>{const _h=generateUUID();lh.addEventListener("message",function xh(Oh){!Oh.data||!Oh.data.id||Oh.data.id!==_h||(lh.removeEventListener("message",xh),ph(Oh.data))}),lh.start&&lh.start(),lh.postMessage(Object.assign({id:_h},ah),ch)})}function generateUUID(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}/** + */var n$O;((n$O=window.HTMLSlotElement)===null||n$O===void 0?void 0:n$O.prototype.assignedElements)!=null;const proxyMarker=Symbol("Comlink.proxy"),createEndpoint=Symbol("Comlink.endpoint"),releaseProxy=Symbol("Comlink.releaseProxy"),throwMarker=Symbol("Comlink.thrown"),isObject$1=lh=>typeof lh=="object"&&lh!==null||typeof lh=="function",proxyTransferHandler={canHandle:lh=>isObject$1(lh)&&lh[proxyMarker],serialize(lh){const{port1:ah,port2:ch}=new MessageChannel;return expose(lh,ah),[ch,[ch]]},deserialize(lh){return lh.start(),wrap(lh)}},throwTransferHandler={canHandle:lh=>isObject$1(lh)&&throwMarker in lh,serialize({value:lh}){let ah;return lh instanceof Error?ah={isError:!0,value:{message:lh.message,name:lh.name,stack:lh.stack}}:ah={isError:!1,value:lh},[ah,[]]},deserialize(lh){throw lh.isError?Object.assign(new Error(lh.value.message),lh.value):lh.value}},transferHandlers=new Map([["proxy",proxyTransferHandler],["throw",throwTransferHandler]]);function expose(lh,ah=self){ah.addEventListener("message",function ch(ph){if(!ph||!ph.data)return;const{id:yh,type:xh,path:Oh}=Object.assign({path:[]},ph.data),Uh=(ph.data.argumentList||[]).map(fromWireValue);let Fh;try{const zh=Oh.slice(0,-1).reduce((t1,f1)=>t1[f1],lh),n1=Oh.reduce((t1,f1)=>t1[f1],lh);switch(xh){case"GET":Fh=n1;break;case"SET":zh[Oh.slice(-1)[0]]=fromWireValue(ph.data.value),Fh=!0;break;case"APPLY":Fh=n1.apply(zh,Uh);break;case"CONSTRUCT":{const t1=new n1(...Uh);Fh=proxy(t1)}break;case"ENDPOINT":{const{port1:t1,port2:f1}=new MessageChannel;expose(lh,f1),Fh=transfer(t1,[t1])}break;case"RELEASE":Fh=void 0;break;default:return}}catch(zh){Fh={value:zh,[throwMarker]:0}}Promise.resolve(Fh).catch(zh=>({value:zh,[throwMarker]:0})).then(zh=>{const[n1,t1]=toWireValue(zh);ah.postMessage(Object.assign(Object.assign({},n1),{id:yh}),t1),xh==="RELEASE"&&(ah.removeEventListener("message",ch),closeEndPoint(ah))})}),ah.start&&ah.start()}function isMessagePort(lh){return lh.constructor.name==="MessagePort"}function closeEndPoint(lh){isMessagePort(lh)&&lh.close()}function wrap(lh,ah){return createProxy(lh,[],ah)}function throwIfProxyReleased(lh){if(lh)throw new Error("Proxy has been released and is not useable")}function createProxy(lh,ah=[],ch=function(){}){let ph=!1;const yh=new Proxy(ch,{get(xh,Oh){if(throwIfProxyReleased(ph),Oh===releaseProxy)return()=>requestResponseMessage(lh,{type:"RELEASE",path:ah.map(Uh=>Uh.toString())}).then(()=>{closeEndPoint(lh),ph=!0});if(Oh==="then"){if(ah.length===0)return{then:()=>yh};const Uh=requestResponseMessage(lh,{type:"GET",path:ah.map(Fh=>Fh.toString())}).then(fromWireValue);return Uh.then.bind(Uh)}return createProxy(lh,[...ah,Oh])},set(xh,Oh,Uh){throwIfProxyReleased(ph);const[Fh,zh]=toWireValue(Uh);return requestResponseMessage(lh,{type:"SET",path:[...ah,Oh].map(n1=>n1.toString()),value:Fh},zh).then(fromWireValue)},apply(xh,Oh,Uh){throwIfProxyReleased(ph);const Fh=ah[ah.length-1];if(Fh===createEndpoint)return requestResponseMessage(lh,{type:"ENDPOINT"}).then(fromWireValue);if(Fh==="bind")return createProxy(lh,ah.slice(0,-1));const[zh,n1]=processArguments(Uh);return requestResponseMessage(lh,{type:"APPLY",path:ah.map(t1=>t1.toString()),argumentList:zh},n1).then(fromWireValue)},construct(xh,Oh){throwIfProxyReleased(ph);const[Uh,Fh]=processArguments(Oh);return requestResponseMessage(lh,{type:"CONSTRUCT",path:ah.map(zh=>zh.toString()),argumentList:Uh},Fh).then(fromWireValue)}});return yh}function myFlat(lh){return Array.prototype.concat.apply([],lh)}function processArguments(lh){const ah=lh.map(toWireValue);return[ah.map(ch=>ch[0]),myFlat(ah.map(ch=>ch[1]))]}const transferCache=new WeakMap;function transfer(lh,ah){return transferCache.set(lh,ah),lh}function proxy(lh){return Object.assign(lh,{[proxyMarker]:!0})}function toWireValue(lh){for(const[ah,ch]of transferHandlers)if(ch.canHandle(lh)){const[ph,yh]=ch.serialize(lh);return[{type:"HANDLER",name:ah,value:ph},yh]}return[{type:"RAW",value:lh},transferCache.get(lh)||[]]}function fromWireValue(lh){switch(lh.type){case"HANDLER":return transferHandlers.get(lh.name).deserialize(lh.value);case"RAW":return lh.value}}function requestResponseMessage(lh,ah,ch){return new Promise(ph=>{const yh=generateUUID();lh.addEventListener("message",function xh(Oh){!Oh.data||!Oh.data.id||Oh.data.id!==yh||(lh.removeEventListener("message",xh),ph(Oh.data))}),lh.start&&lh.start(),lh.postMessage(Object.assign({id:yh},ah),ch)})}function generateUUID(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}/** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -103,11 +90,11 @@ PERFORMANCE OF THIS SOFTWARE. * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const endWithSlash=lh=>lh.endsWith("/")?lh:lh+"/",getRandomString=()=>crypto.getRandomValues(new Uint32Array(1))[0].toString(32),forceSkypackRawMode=lh=>(lh.hostname==="cdn.skypack.dev"&&(lh.pathname=lh.pathname.replace(/mode=imports\/(un)?optimized/,"mode=raw")),lh);function isArray(lh){return Array.isArray?Array.isArray(lh):getTag(lh)==="[object Array]"}const INFINITY=1/0;function baseToString(lh){if(typeof lh=="string")return lh;let ah=lh+"";return ah=="0"&&1/lh==-INFINITY?"-0":ah}function toString(lh){return lh==null?"":baseToString(lh)}function isString(lh){return typeof lh=="string"}function isNumber$1(lh){return typeof lh=="number"}function isBoolean(lh){return lh===!0||lh===!1||isObjectLike(lh)&&getTag(lh)=="[object Boolean]"}function isObject(lh){return typeof lh=="object"}function isObjectLike(lh){return isObject(lh)&&lh!==null}function isDefined(lh){return lh!=null}function isBlank$1(lh){return!lh.trim().length}function getTag(lh){return lh==null?lh===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(lh)}const EXTENDED_SEARCH_UNAVAILABLE="Extended search is not available",INCORRECT_INDEX_TYPE="Incorrect 'index' type",LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY=lh=>`Invalid value for key ${lh}`,PATTERN_LENGTH_TOO_LARGE=lh=>`Pattern length exceeds max of ${lh}.`,MISSING_KEY_PROPERTY=lh=>`Missing ${lh} property in key`,INVALID_KEY_WEIGHT_VALUE=lh=>`Property 'weight' in key '${lh}' must be a positive integer`,hasOwn=Object.prototype.hasOwnProperty;class KeyStore{constructor(ah){this._keys=[],this._keyMap={};let ch=0;ah.forEach(ph=>{let _h=createKey(ph);ch+=_h.weight,this._keys.push(_h),this._keyMap[_h.id]=_h,ch+=_h.weight}),this._keys.forEach(ph=>{ph.weight/=ch})}get(ah){return this._keyMap[ah]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function createKey(lh){let ah=null,ch=null,ph=null,_h=1,xh=null;if(isString(lh)||isArray(lh))ph=lh,ah=createKeyPath(lh),ch=createKeyId(lh);else{if(!hasOwn.call(lh,"name"))throw new Error(MISSING_KEY_PROPERTY("name"));const Oh=lh.name;if(ph=Oh,hasOwn.call(lh,"weight")&&(_h=lh.weight,_h<=0))throw new Error(INVALID_KEY_WEIGHT_VALUE(Oh));ah=createKeyPath(Oh),ch=createKeyId(Oh),xh=lh.getFn}return{path:ah,id:ch,weight:_h,src:ph,getFn:xh}}function createKeyPath(lh){return isArray(lh)?lh:lh.split(".")}function createKeyId(lh){return isArray(lh)?lh.join("."):lh}function get(lh,ah){let ch=[],ph=!1;const _h=(xh,Oh,Uh)=>{if(isDefined(xh))if(!Oh[Uh])ch.push(xh);else{let Fh=Oh[Uh];const zh=xh[Fh];if(!isDefined(zh))return;if(Uh===Oh.length-1&&(isString(zh)||isNumber$1(zh)||isBoolean(zh)))ch.push(toString(zh));else if(isArray(zh)){ph=!0;for(let n1=0,t1=zh.length;n1lh.score===ah.score?lh.idx{this._keysMap[ch.id]=ph})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,isString(this.docs[0])?this.docs.forEach((ah,ch)=>{this._addString(ah,ch)}):this.docs.forEach((ah,ch)=>{this._addObject(ah,ch)}),this.norm.clear())}add(ah){const ch=this.size();isString(ah)?this._addString(ah,ch):this._addObject(ah,ch)}removeAt(ah){this.records.splice(ah,1);for(let ch=ah,ph=this.size();ch{let Oh=_h.getFn?_h.getFn(ah):this.getFn(ah,_h.path);if(isDefined(Oh)){if(isArray(Oh)){let Uh=[];const Fh=[{nestedArrIndex:-1,value:Oh}];for(;Fh.length;){const{nestedArrIndex:zh,value:n1}=Fh.pop();if(isDefined(n1))if(isString(n1)&&!isBlank$1(n1)){let t1={v:n1,i:zh,n:this.norm.get(n1)};Uh.push(t1)}else isArray(n1)&&n1.forEach((t1,f1)=>{Fh.push({nestedArrIndex:f1,value:t1})})}ph.$[xh]=Uh}else if(isString(Oh)&&!isBlank$1(Oh)){let Uh={v:Oh,n:this.norm.get(Oh)};ph.$[xh]=Uh}}}),this.records.push(ph)}toJSON(){return{keys:this.keys,records:this.records}}}function createIndex(lh,ah,{getFn:ch=Config.getFn,fieldNormWeight:ph=Config.fieldNormWeight}={}){const _h=new FuseIndex({getFn:ch,fieldNormWeight:ph});return _h.setKeys(lh.map(createKey)),_h.setSources(ah),_h.create(),_h}function parseIndex(lh,{getFn:ah=Config.getFn,fieldNormWeight:ch=Config.fieldNormWeight}={}){const{keys:ph,records:_h}=lh,xh=new FuseIndex({getFn:ah,fieldNormWeight:ch});return xh.setKeys(ph),xh.setIndexRecords(_h),xh}function computeScore$1(lh,{errors:ah=0,currentLocation:ch=0,expectedLocation:ph=0,distance:_h=Config.distance,ignoreLocation:xh=Config.ignoreLocation}={}){const Oh=ah/lh.length;if(xh)return Oh;const Uh=Math.abs(ph-ch);return _h?Oh+Uh/_h:Uh?1:Oh}function convertMaskToIndices(lh=[],ah=Config.minMatchCharLength){let ch=[],ph=-1,_h=-1,xh=0;for(let Oh=lh.length;xh=ah&&ch.push([ph,_h]),ph=-1)}return lh[xh-1]&&xh-ph>=ah&&ch.push([ph,xh-1]),ch}const MAX_BITS=32;function search(lh,ah,ch,{location:ph=Config.location,distance:_h=Config.distance,threshold:xh=Config.threshold,findAllMatches:Oh=Config.findAllMatches,minMatchCharLength:Uh=Config.minMatchCharLength,includeMatches:Fh=Config.includeMatches,ignoreLocation:zh=Config.ignoreLocation}={}){if(ah.length>MAX_BITS)throw new Error(PATTERN_LENGTH_TOO_LARGE(MAX_BITS));const n1=ah.length,t1=lh.length,f1=Math.max(0,Math.min(ph,t1));let g1=xh,T1=f1;const V1=Uh>1||Fh,a0=V1?Array(t1):[];let o0;for(;(o0=lh.indexOf(ah,T1))>-1;){let cv=computeScore$1(ah,{currentLocation:o0,expectedLocation:f1,distance:_h,ignoreLocation:zh});if(g1=Math.min(cv,g1),T1=o0+n1,V1){let N0=0;for(;N0=r0;uy-=1){let aw=uy-1,t2=ch[lh.charAt(aw)];if(V1&&(a0[aw]=+!!t2),Y0[uy]=(Y0[uy+1]<<1|1)&t2,cv&&(Y0[uy]|=(B0[uy+1]|B0[uy])<<1|1|B0[uy+1]),Y0[uy]&yv&&(iy=computeScore$1(ah,{errors:cv,currentLocation:aw,expectedLocation:f1,distance:_h,ignoreLocation:zh}),iy<=g1)){if(g1=iy,T1=aw,T1<=f1)break;r0=Math.max(1,2*f1-T1)}}if(computeScore$1(ah,{errors:cv+1,currentLocation:f1,expectedLocation:f1,distance:_h,ignoreLocation:zh})>g1)break;B0=Y0}const ky={isMatch:T1>=0,score:Math.max(.001,iy)};if(V1){const cv=convertMaskToIndices(a0,Uh);cv.length?Fh&&(ky.indices=cv):ky.isMatch=!1}return ky}function createPatternAlphabet(lh){let ah={};for(let ch=0,ph=lh.length;ch{this.chunks.push({pattern:f1,alphabet:createPatternAlphabet(f1),startIndex:g1})},t1=this.pattern.length;if(t1>MAX_BITS){let f1=0;const g1=t1%MAX_BITS,T1=t1-g1;for(;f1{const{isMatch:o0,score:B0,indices:iy}=search(ah,T1,V1,{location:_h+a0,distance:xh,threshold:Oh,findAllMatches:Uh,minMatchCharLength:Fh,includeMatches:ph,ignoreLocation:zh});o0&&(f1=!0),t1+=B0,o0&&iy&&(n1=[...n1,...iy])});let g1={isMatch:f1,score:f1?t1/this.chunks.length:1};return f1&&ph&&(g1.indices=n1),g1}}class BaseMatch{constructor(ah){this.pattern=ah}static isMultiMatch(ah){return getMatch(ah,this.multiRegex)}static isSingleMatch(ah){return getMatch(ah,this.singleRegex)}search(){}}function getMatch(lh,ah){const ch=lh.match(ah);return ch?ch[1]:null}class ExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(ah){const ch=ah===this.pattern;return{isMatch:ch,score:ch?0:1,indices:[0,this.pattern.length-1]}}}class InverseExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(ah){const ph=ah.indexOf(this.pattern)===-1;return{isMatch:ph,score:ph?0:1,indices:[0,ah.length-1]}}}class PrefixExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(ah){const ch=ah.startsWith(this.pattern);return{isMatch:ch,score:ch?0:1,indices:[0,this.pattern.length-1]}}}class InversePrefixExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(ah){const ch=!ah.startsWith(this.pattern);return{isMatch:ch,score:ch?0:1,indices:[0,ah.length-1]}}}class SuffixExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(ah){const ch=ah.endsWith(this.pattern);return{isMatch:ch,score:ch?0:1,indices:[ah.length-this.pattern.length,ah.length-1]}}}class InverseSuffixExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(ah){const ch=!ah.endsWith(this.pattern);return{isMatch:ch,score:ch?0:1,indices:[0,ah.length-1]}}}class FuzzyMatch extends BaseMatch{constructor(ah,{location:ch=Config.location,threshold:ph=Config.threshold,distance:_h=Config.distance,includeMatches:xh=Config.includeMatches,findAllMatches:Oh=Config.findAllMatches,minMatchCharLength:Uh=Config.minMatchCharLength,isCaseSensitive:Fh=Config.isCaseSensitive,ignoreLocation:zh=Config.ignoreLocation}={}){super(ah),this._bitapSearch=new BitapSearch(ah,{location:ch,threshold:ph,distance:_h,includeMatches:xh,findAllMatches:Oh,minMatchCharLength:Uh,isCaseSensitive:Fh,ignoreLocation:zh})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(ah){return this._bitapSearch.searchIn(ah)}}class IncludeMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(ah){let ch=0,ph;const _h=[],xh=this.pattern.length;for(;(ph=ah.indexOf(this.pattern,ch))>-1;)ch=ph+xh,_h.push([ph,ch-1]);const Oh=!!_h.length;return{isMatch:Oh,score:Oh?0:1,indices:_h}}}const searchers=[ExactMatch,IncludeMatch,PrefixExactMatch,InversePrefixExactMatch,InverseSuffixExactMatch,SuffixExactMatch,InverseExactMatch,FuzzyMatch],searchersLen=searchers.length,SPACE_RE=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,OR_TOKEN="|";function parseQuery(lh,ah={}){return lh.split(OR_TOKEN).map(ch=>{let ph=ch.trim().split(SPACE_RE).filter(xh=>xh&&!!xh.trim()),_h=[];for(let xh=0,Oh=ph.length;xh!!(lh[LogicalOperator.AND]||lh[LogicalOperator.OR]),isPath=lh=>!!lh[KeyType.PATH],isLeaf=lh=>!isArray(lh)&&isObject(lh)&&!isExpression(lh),convertToExplicit=lh=>({[LogicalOperator.AND]:Object.keys(lh).map(ah=>({[ah]:lh[ah]}))});function parse(lh,ah,{auto:ch=!0}={}){const ph=_h=>{let xh=Object.keys(_h);const Oh=isPath(_h);if(!Oh&&xh.length>1&&!isExpression(_h))return ph(convertToExplicit(_h));if(isLeaf(_h)){const Fh=Oh?_h[KeyType.PATH]:xh[0],zh=Oh?_h[KeyType.PATTERN]:_h[Fh];if(!isString(zh))throw new Error(LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY(Fh));const n1={keyId:createKeyId(Fh),pattern:zh};return ch&&(n1.searcher=createSearcher(zh,ah)),n1}let Uh={children:[],operator:xh[0]};return xh.forEach(Fh=>{const zh=_h[Fh];isArray(zh)&&zh.forEach(n1=>{Uh.children.push(ph(n1))})}),Uh};return isExpression(lh)||(lh=convertToExplicit(lh)),ph(lh)}function computeScore(lh,{ignoreFieldNorm:ah=Config.ignoreFieldNorm}){lh.forEach(ch=>{let ph=1;ch.matches.forEach(({key:_h,norm:xh,score:Oh})=>{const Uh=_h?_h.weight:null;ph*=Math.pow(Oh===0&&Uh?Number.EPSILON:Oh,(Uh||1)*(ah?1:xh))}),ch.score=ph})}function transformMatches(lh,ah){const ch=lh.matches;ah.matches=[],isDefined(ch)&&ch.forEach(ph=>{if(!isDefined(ph.indices)||!ph.indices.length)return;const{indices:_h,value:xh}=ph;let Oh={indices:_h,value:xh};ph.key&&(Oh.key=ph.key.src),ph.idx>-1&&(Oh.refIndex=ph.idx),ah.matches.push(Oh)})}function transformScore(lh,ah){ah.score=lh.score}function format(lh,ah,{includeMatches:ch=Config.includeMatches,includeScore:ph=Config.includeScore}={}){const _h=[];return ch&&_h.push(transformMatches),ph&&_h.push(transformScore),lh.map(xh=>{const{idx:Oh}=xh,Uh={item:ah[Oh],refIndex:Oh};return _h.length&&_h.forEach(Fh=>{Fh(xh,Uh)}),Uh})}class Fuse{constructor(ah,ch={},ph){this.options={...Config,...ch},this.options.useExtendedSearch,this._keyStore=new KeyStore(this.options.keys),this.setCollection(ah,ph)}setCollection(ah,ch){if(this._docs=ah,ch&&!(ch instanceof FuseIndex))throw new Error(INCORRECT_INDEX_TYPE);this._myIndex=ch||createIndex(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(ah){isDefined(ah)&&(this._docs.push(ah),this._myIndex.add(ah))}remove(ah=()=>!1){const ch=[];for(let ph=0,_h=this._docs.length;ph<_h;ph+=1){const xh=this._docs[ph];ah(xh,ph)&&(this.removeAt(ph),ph-=1,_h-=1,ch.push(xh))}return ch}removeAt(ah){this._docs.splice(ah,1),this._myIndex.removeAt(ah)}getIndex(){return this._myIndex}search(ah,{limit:ch=-1}={}){const{includeMatches:ph,includeScore:_h,shouldSort:xh,sortFn:Oh,ignoreFieldNorm:Uh}=this.options;let Fh=isString(ah)?isString(this._docs[0])?this._searchStringList(ah):this._searchObjectList(ah):this._searchLogical(ah);return computeScore(Fh,{ignoreFieldNorm:Uh}),xh&&Fh.sort(Oh),isNumber$1(ch)&&ch>-1&&(Fh=Fh.slice(0,ch)),format(Fh,this._docs,{includeMatches:ph,includeScore:_h})}_searchStringList(ah){const ch=createSearcher(ah,this.options),{records:ph}=this._myIndex,_h=[];return ph.forEach(({v:xh,i:Oh,n:Uh})=>{if(!isDefined(xh))return;const{isMatch:Fh,score:zh,indices:n1}=ch.searchIn(xh);Fh&&_h.push({item:xh,idx:Oh,matches:[{score:zh,value:xh,norm:Uh,indices:n1}]})}),_h}_searchLogical(ah){const ch=parse(ah,this.options),ph=(Uh,Fh,zh)=>{if(!Uh.children){const{keyId:t1,searcher:f1}=Uh,g1=this._findMatches({key:this._keyStore.get(t1),value:this._myIndex.getValueForItemAtKeyId(Fh,t1),searcher:f1});return g1&&g1.length?[{idx:zh,item:Fh,matches:g1}]:[]}const n1=[];for(let t1=0,f1=Uh.children.length;t1{if(isDefined(Uh)){let zh=ph(ch,Uh,Fh);zh.length&&(xh[Fh]||(xh[Fh]={idx:Fh,item:Uh,matches:[]},Oh.push(xh[Fh])),zh.forEach(({matches:n1})=>{xh[Fh].matches.push(...n1)}))}}),Oh}_searchObjectList(ah){const ch=createSearcher(ah,this.options),{keys:ph,records:_h}=this._myIndex,xh=[];return _h.forEach(({$:Oh,i:Uh})=>{if(!isDefined(Oh))return;let Fh=[];ph.forEach((zh,n1)=>{Fh.push(...this._findMatches({key:zh,value:Oh[n1],searcher:ch}))}),Fh.length&&xh.push({idx:Uh,item:Oh,matches:Fh})}),xh}_findMatches({key:ah,value:ch,searcher:ph}){if(!isDefined(ch))return[];let _h=[];if(isArray(ch))ch.forEach(({v:xh,i:Oh,n:Uh})=>{if(!isDefined(xh))return;const{isMatch:Fh,score:zh,indices:n1}=ph.searchIn(xh);Fh&&_h.push({score:zh,key:ah,value:xh,idx:Oh,norm:Uh,indices:n1})});else{const{v:xh,n:Oh}=ch,{isMatch:Uh,score:Fh,indices:zh}=ph.searchIn(xh);Uh&&_h.push({score:Fh,key:ah,value:xh,norm:Oh,indices:zh})}return _h}}Fuse.version="6.6.2";Fuse.createIndex=createIndex;Fuse.parseIndex=parseIndex;Fuse.config=Config;Fuse.parseQuery=parse;register$1(ExtendedSearch);/** + */const endWithSlash=lh=>lh.endsWith("/")?lh:lh+"/",getRandomString=()=>crypto.getRandomValues(new Uint32Array(1))[0].toString(32),forceSkypackRawMode=lh=>(lh.hostname==="cdn.skypack.dev"&&(lh.pathname=lh.pathname.replace(/mode=imports\/(un)?optimized/,"mode=raw")),lh);function isArray(lh){return Array.isArray?Array.isArray(lh):getTag(lh)==="[object Array]"}const INFINITY=1/0;function baseToString(lh){if(typeof lh=="string")return lh;let ah=lh+"";return ah=="0"&&1/lh==-INFINITY?"-0":ah}function toString(lh){return lh==null?"":baseToString(lh)}function isString(lh){return typeof lh=="string"}function isNumber$1(lh){return typeof lh=="number"}function isBoolean(lh){return lh===!0||lh===!1||isObjectLike(lh)&&getTag(lh)=="[object Boolean]"}function isObject(lh){return typeof lh=="object"}function isObjectLike(lh){return isObject(lh)&&lh!==null}function isDefined(lh){return lh!=null}function isBlank$1(lh){return!lh.trim().length}function getTag(lh){return lh==null?lh===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(lh)}const EXTENDED_SEARCH_UNAVAILABLE="Extended search is not available",INCORRECT_INDEX_TYPE="Incorrect 'index' type",LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY=lh=>`Invalid value for key ${lh}`,PATTERN_LENGTH_TOO_LARGE=lh=>`Pattern length exceeds max of ${lh}.`,MISSING_KEY_PROPERTY=lh=>`Missing ${lh} property in key`,INVALID_KEY_WEIGHT_VALUE=lh=>`Property 'weight' in key '${lh}' must be a positive integer`,hasOwn=Object.prototype.hasOwnProperty;class KeyStore{constructor(ah){this._keys=[],this._keyMap={};let ch=0;ah.forEach(ph=>{let yh=createKey(ph);ch+=yh.weight,this._keys.push(yh),this._keyMap[yh.id]=yh,ch+=yh.weight}),this._keys.forEach(ph=>{ph.weight/=ch})}get(ah){return this._keyMap[ah]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function createKey(lh){let ah=null,ch=null,ph=null,yh=1,xh=null;if(isString(lh)||isArray(lh))ph=lh,ah=createKeyPath(lh),ch=createKeyId(lh);else{if(!hasOwn.call(lh,"name"))throw new Error(MISSING_KEY_PROPERTY("name"));const Oh=lh.name;if(ph=Oh,hasOwn.call(lh,"weight")&&(yh=lh.weight,yh<=0))throw new Error(INVALID_KEY_WEIGHT_VALUE(Oh));ah=createKeyPath(Oh),ch=createKeyId(Oh),xh=lh.getFn}return{path:ah,id:ch,weight:yh,src:ph,getFn:xh}}function createKeyPath(lh){return isArray(lh)?lh:lh.split(".")}function createKeyId(lh){return isArray(lh)?lh.join("."):lh}function get(lh,ah){let ch=[],ph=!1;const yh=(xh,Oh,Uh)=>{if(isDefined(xh))if(!Oh[Uh])ch.push(xh);else{let Fh=Oh[Uh];const zh=xh[Fh];if(!isDefined(zh))return;if(Uh===Oh.length-1&&(isString(zh)||isNumber$1(zh)||isBoolean(zh)))ch.push(toString(zh));else if(isArray(zh)){ph=!0;for(let n1=0,t1=zh.length;n1lh.score===ah.score?lh.idx{this._keysMap[ch.id]=ph})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,isString(this.docs[0])?this.docs.forEach((ah,ch)=>{this._addString(ah,ch)}):this.docs.forEach((ah,ch)=>{this._addObject(ah,ch)}),this.norm.clear())}add(ah){const ch=this.size();isString(ah)?this._addString(ah,ch):this._addObject(ah,ch)}removeAt(ah){this.records.splice(ah,1);for(let ch=ah,ph=this.size();ch{let Oh=yh.getFn?yh.getFn(ah):this.getFn(ah,yh.path);if(isDefined(Oh)){if(isArray(Oh)){let Uh=[];const Fh=[{nestedArrIndex:-1,value:Oh}];for(;Fh.length;){const{nestedArrIndex:zh,value:n1}=Fh.pop();if(isDefined(n1))if(isString(n1)&&!isBlank$1(n1)){let t1={v:n1,i:zh,n:this.norm.get(n1)};Uh.push(t1)}else isArray(n1)&&n1.forEach((t1,f1)=>{Fh.push({nestedArrIndex:f1,value:t1})})}ph.$[xh]=Uh}else if(isString(Oh)&&!isBlank$1(Oh)){let Uh={v:Oh,n:this.norm.get(Oh)};ph.$[xh]=Uh}}}),this.records.push(ph)}toJSON(){return{keys:this.keys,records:this.records}}}function createIndex(lh,ah,{getFn:ch=Config.getFn,fieldNormWeight:ph=Config.fieldNormWeight}={}){const yh=new FuseIndex({getFn:ch,fieldNormWeight:ph});return yh.setKeys(lh.map(createKey)),yh.setSources(ah),yh.create(),yh}function parseIndex(lh,{getFn:ah=Config.getFn,fieldNormWeight:ch=Config.fieldNormWeight}={}){const{keys:ph,records:yh}=lh,xh=new FuseIndex({getFn:ah,fieldNormWeight:ch});return xh.setKeys(ph),xh.setIndexRecords(yh),xh}function computeScore$1(lh,{errors:ah=0,currentLocation:ch=0,expectedLocation:ph=0,distance:yh=Config.distance,ignoreLocation:xh=Config.ignoreLocation}={}){const Oh=ah/lh.length;if(xh)return Oh;const Uh=Math.abs(ph-ch);return yh?Oh+Uh/yh:Uh?1:Oh}function convertMaskToIndices(lh=[],ah=Config.minMatchCharLength){let ch=[],ph=-1,yh=-1,xh=0;for(let Oh=lh.length;xh=ah&&ch.push([ph,yh]),ph=-1)}return lh[xh-1]&&xh-ph>=ah&&ch.push([ph,xh-1]),ch}const MAX_BITS=32;function search(lh,ah,ch,{location:ph=Config.location,distance:yh=Config.distance,threshold:xh=Config.threshold,findAllMatches:Oh=Config.findAllMatches,minMatchCharLength:Uh=Config.minMatchCharLength,includeMatches:Fh=Config.includeMatches,ignoreLocation:zh=Config.ignoreLocation}={}){if(ah.length>MAX_BITS)throw new Error(PATTERN_LENGTH_TOO_LARGE(MAX_BITS));const n1=ah.length,t1=lh.length,f1=Math.max(0,Math.min(ph,t1));let g1=xh,T1=f1;const V1=Uh>1||Fh,a0=V1?Array(t1):[];let o0;for(;(o0=lh.indexOf(ah,T1))>-1;){let cv=computeScore$1(ah,{currentLocation:o0,expectedLocation:f1,distance:yh,ignoreLocation:zh});if(g1=Math.min(cv,g1),T1=o0+n1,V1){let N0=0;for(;N0=r0;uy-=1){let aw=uy-1,t2=ch[lh.charAt(aw)];if(V1&&(a0[aw]=+!!t2),Y0[uy]=(Y0[uy+1]<<1|1)&t2,cv&&(Y0[uy]|=(B0[uy+1]|B0[uy])<<1|1|B0[uy+1]),Y0[uy]&yv&&(iy=computeScore$1(ah,{errors:cv,currentLocation:aw,expectedLocation:f1,distance:yh,ignoreLocation:zh}),iy<=g1)){if(g1=iy,T1=aw,T1<=f1)break;r0=Math.max(1,2*f1-T1)}}if(computeScore$1(ah,{errors:cv+1,currentLocation:f1,expectedLocation:f1,distance:yh,ignoreLocation:zh})>g1)break;B0=Y0}const ky={isMatch:T1>=0,score:Math.max(.001,iy)};if(V1){const cv=convertMaskToIndices(a0,Uh);cv.length?Fh&&(ky.indices=cv):ky.isMatch=!1}return ky}function createPatternAlphabet(lh){let ah={};for(let ch=0,ph=lh.length;ch{this.chunks.push({pattern:f1,alphabet:createPatternAlphabet(f1),startIndex:g1})},t1=this.pattern.length;if(t1>MAX_BITS){let f1=0;const g1=t1%MAX_BITS,T1=t1-g1;for(;f1{const{isMatch:o0,score:B0,indices:iy}=search(ah,T1,V1,{location:yh+a0,distance:xh,threshold:Oh,findAllMatches:Uh,minMatchCharLength:Fh,includeMatches:ph,ignoreLocation:zh});o0&&(f1=!0),t1+=B0,o0&&iy&&(n1=[...n1,...iy])});let g1={isMatch:f1,score:f1?t1/this.chunks.length:1};return f1&&ph&&(g1.indices=n1),g1}}class BaseMatch{constructor(ah){this.pattern=ah}static isMultiMatch(ah){return getMatch(ah,this.multiRegex)}static isSingleMatch(ah){return getMatch(ah,this.singleRegex)}search(){}}function getMatch(lh,ah){const ch=lh.match(ah);return ch?ch[1]:null}class ExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(ah){const ch=ah===this.pattern;return{isMatch:ch,score:ch?0:1,indices:[0,this.pattern.length-1]}}}class InverseExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(ah){const ph=ah.indexOf(this.pattern)===-1;return{isMatch:ph,score:ph?0:1,indices:[0,ah.length-1]}}}class PrefixExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(ah){const ch=ah.startsWith(this.pattern);return{isMatch:ch,score:ch?0:1,indices:[0,this.pattern.length-1]}}}class InversePrefixExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(ah){const ch=!ah.startsWith(this.pattern);return{isMatch:ch,score:ch?0:1,indices:[0,ah.length-1]}}}class SuffixExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(ah){const ch=ah.endsWith(this.pattern);return{isMatch:ch,score:ch?0:1,indices:[ah.length-this.pattern.length,ah.length-1]}}}class InverseSuffixExactMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(ah){const ch=!ah.endsWith(this.pattern);return{isMatch:ch,score:ch?0:1,indices:[0,ah.length-1]}}}class FuzzyMatch extends BaseMatch{constructor(ah,{location:ch=Config.location,threshold:ph=Config.threshold,distance:yh=Config.distance,includeMatches:xh=Config.includeMatches,findAllMatches:Oh=Config.findAllMatches,minMatchCharLength:Uh=Config.minMatchCharLength,isCaseSensitive:Fh=Config.isCaseSensitive,ignoreLocation:zh=Config.ignoreLocation}={}){super(ah),this._bitapSearch=new BitapSearch(ah,{location:ch,threshold:ph,distance:yh,includeMatches:xh,findAllMatches:Oh,minMatchCharLength:Uh,isCaseSensitive:Fh,ignoreLocation:zh})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(ah){return this._bitapSearch.searchIn(ah)}}class IncludeMatch extends BaseMatch{constructor(ah){super(ah)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(ah){let ch=0,ph;const yh=[],xh=this.pattern.length;for(;(ph=ah.indexOf(this.pattern,ch))>-1;)ch=ph+xh,yh.push([ph,ch-1]);const Oh=!!yh.length;return{isMatch:Oh,score:Oh?0:1,indices:yh}}}const searchers=[ExactMatch,IncludeMatch,PrefixExactMatch,InversePrefixExactMatch,InverseSuffixExactMatch,SuffixExactMatch,InverseExactMatch,FuzzyMatch],searchersLen=searchers.length,SPACE_RE=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,OR_TOKEN="|";function parseQuery(lh,ah={}){return lh.split(OR_TOKEN).map(ch=>{let ph=ch.trim().split(SPACE_RE).filter(xh=>xh&&!!xh.trim()),yh=[];for(let xh=0,Oh=ph.length;xh!!(lh[LogicalOperator.AND]||lh[LogicalOperator.OR]),isPath=lh=>!!lh[KeyType.PATH],isLeaf=lh=>!isArray(lh)&&isObject(lh)&&!isExpression(lh),convertToExplicit=lh=>({[LogicalOperator.AND]:Object.keys(lh).map(ah=>({[ah]:lh[ah]}))});function parse(lh,ah,{auto:ch=!0}={}){const ph=yh=>{let xh=Object.keys(yh);const Oh=isPath(yh);if(!Oh&&xh.length>1&&!isExpression(yh))return ph(convertToExplicit(yh));if(isLeaf(yh)){const Fh=Oh?yh[KeyType.PATH]:xh[0],zh=Oh?yh[KeyType.PATTERN]:yh[Fh];if(!isString(zh))throw new Error(LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY(Fh));const n1={keyId:createKeyId(Fh),pattern:zh};return ch&&(n1.searcher=createSearcher(zh,ah)),n1}let Uh={children:[],operator:xh[0]};return xh.forEach(Fh=>{const zh=yh[Fh];isArray(zh)&&zh.forEach(n1=>{Uh.children.push(ph(n1))})}),Uh};return isExpression(lh)||(lh=convertToExplicit(lh)),ph(lh)}function computeScore(lh,{ignoreFieldNorm:ah=Config.ignoreFieldNorm}){lh.forEach(ch=>{let ph=1;ch.matches.forEach(({key:yh,norm:xh,score:Oh})=>{const Uh=yh?yh.weight:null;ph*=Math.pow(Oh===0&&Uh?Number.EPSILON:Oh,(Uh||1)*(ah?1:xh))}),ch.score=ph})}function transformMatches(lh,ah){const ch=lh.matches;ah.matches=[],isDefined(ch)&&ch.forEach(ph=>{if(!isDefined(ph.indices)||!ph.indices.length)return;const{indices:yh,value:xh}=ph;let Oh={indices:yh,value:xh};ph.key&&(Oh.key=ph.key.src),ph.idx>-1&&(Oh.refIndex=ph.idx),ah.matches.push(Oh)})}function transformScore(lh,ah){ah.score=lh.score}function format(lh,ah,{includeMatches:ch=Config.includeMatches,includeScore:ph=Config.includeScore}={}){const yh=[];return ch&&yh.push(transformMatches),ph&&yh.push(transformScore),lh.map(xh=>{const{idx:Oh}=xh,Uh={item:ah[Oh],refIndex:Oh};return yh.length&&yh.forEach(Fh=>{Fh(xh,Uh)}),Uh})}class Fuse{constructor(ah,ch={},ph){this.options={...Config,...ch},this.options.useExtendedSearch,this._keyStore=new KeyStore(this.options.keys),this.setCollection(ah,ph)}setCollection(ah,ch){if(this._docs=ah,ch&&!(ch instanceof FuseIndex))throw new Error(INCORRECT_INDEX_TYPE);this._myIndex=ch||createIndex(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(ah){isDefined(ah)&&(this._docs.push(ah),this._myIndex.add(ah))}remove(ah=()=>!1){const ch=[];for(let ph=0,yh=this._docs.length;ph-1&&(Fh=Fh.slice(0,ch)),format(Fh,this._docs,{includeMatches:ph,includeScore:yh})}_searchStringList(ah){const ch=createSearcher(ah,this.options),{records:ph}=this._myIndex,yh=[];return ph.forEach(({v:xh,i:Oh,n:Uh})=>{if(!isDefined(xh))return;const{isMatch:Fh,score:zh,indices:n1}=ch.searchIn(xh);Fh&&yh.push({item:xh,idx:Oh,matches:[{score:zh,value:xh,norm:Uh,indices:n1}]})}),yh}_searchLogical(ah){const ch=parse(ah,this.options),ph=(Uh,Fh,zh)=>{if(!Uh.children){const{keyId:t1,searcher:f1}=Uh,g1=this._findMatches({key:this._keyStore.get(t1),value:this._myIndex.getValueForItemAtKeyId(Fh,t1),searcher:f1});return g1&&g1.length?[{idx:zh,item:Fh,matches:g1}]:[]}const n1=[];for(let t1=0,f1=Uh.children.length;t1{if(isDefined(Uh)){let zh=ph(ch,Uh,Fh);zh.length&&(xh[Fh]||(xh[Fh]={idx:Fh,item:Uh,matches:[]},Oh.push(xh[Fh])),zh.forEach(({matches:n1})=>{xh[Fh].matches.push(...n1)}))}}),Oh}_searchObjectList(ah){const ch=createSearcher(ah,this.options),{keys:ph,records:yh}=this._myIndex,xh=[];return yh.forEach(({$:Oh,i:Uh})=>{if(!isDefined(Oh))return;let Fh=[];ph.forEach((zh,n1)=>{Fh.push(...this._findMatches({key:zh,value:Oh[n1],searcher:ch}))}),Fh.length&&xh.push({idx:Uh,item:Oh,matches:Fh})}),xh}_findMatches({key:ah,value:ch,searcher:ph}){if(!isDefined(ch))return[];let yh=[];if(isArray(ch))ch.forEach(({v:xh,i:Oh,n:Uh})=>{if(!isDefined(xh))return;const{isMatch:Fh,score:zh,indices:n1}=ph.searchIn(xh);Fh&&yh.push({score:zh,key:ah,value:xh,idx:Oh,norm:Uh,indices:n1})});else{const{v:xh,n:Oh}=ch,{isMatch:Uh,score:Fh,indices:zh}=ph.searchIn(xh);Uh&&yh.push({score:Fh,key:ah,value:xh,norm:Oh,indices:zh})}return yh}}Fuse.version="6.6.2";Fuse.createIndex=createIndex;Fuse.parseIndex=parseIndex;Fuse.config=Config;Fuse.parseQuery=parse;register$1(ExtendedSearch);/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function sortCompletionItems(lh,ah){return lh?new Fuse(lh??[],{threshold:.3,shouldSort:!0,isCaseSensitive:!0,includeScore:!0,includeMatches:!0,keys:["name"],minMatchCharLength:Math.max(ah.length/1.2,1)}).search(ah).map(xh=>{var Oh;return{text:xh.item.name,displayText:xh.item.name,score:(Oh=xh.score)!==null&&Oh!==void 0?Oh:0,matches:xh.matches,get details(){return xh.item.details}}}).sort((xh,Oh)=>xh.score===Oh.score?xh.text.localeCompare(Oh.text):xh.score-Oh.score):[]}function completionEntriesAsEditorCompletions(lh,ah=""){var ch;return(ch=lh==null?void 0:lh.map(ph=>({text:ah+ph.name,displayText:ph.name,score:Number.parseInt(ph.sortText),get details(){return ph.details}})))!==null&&ch!==void 0?ch:[]}function populateCompletionInfoWithDetailGetters(lh,ah,ch,ph){const _h=lh;return _h.entries=lh==null?void 0:lh.entries.map(xh=>({...xh,_details:void 0,get details(){return this._details||(this._details=ph(ah,ch,xh.name)),this._details}})),_h}/** + */function sortCompletionItems(lh,ah){return lh?new Fuse(lh??[],{threshold:.3,shouldSort:!0,isCaseSensitive:!0,includeScore:!0,includeMatches:!0,keys:["name"],minMatchCharLength:Math.max(ah.length/1.2,1)}).search(ah).map(xh=>{var Oh;return{text:xh.item.name,displayText:xh.item.name,score:(Oh=xh.score)!==null&&Oh!==void 0?Oh:0,matches:xh.matches,get details(){return xh.item.details}}}).sort((xh,Oh)=>xh.score===Oh.score?xh.text.localeCompare(Oh.text):xh.score-Oh.score):[]}function completionEntriesAsEditorCompletions(lh,ah=""){var ch;return(ch=lh==null?void 0:lh.map(ph=>({text:ah+ph.name,displayText:ph.name,score:Number.parseInt(ph.sortText),get details(){return ph.details}})))!==null&&ch!==void 0?ch:[]}function populateCompletionInfoWithDetailGetters(lh,ah,ch,ph){const yh=lh;return yh.entries=lh==null?void 0:lh.entries.map(xh=>({...xh,_details:void 0,get details(){return this._details||(this._details=ph(ah,ch,xh.name)),this._details}})),yh}/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -129,11 +116,11 @@ PERFORMANCE OF THIS SOFTWARE. src=${this._serviceWorkerProxyIframeUrl} @load=${this._onServiceWorkerProxyIframeLoad} > - `}_slotChange(){var ah;const{type:ch}=this._source;if(ch!=="none"&&ch!=="slot")return;const ph=[];let _h;for(const xh of this._slot.assignedElements({flatten:!0})){const Oh=xh.getAttribute("type");if(!(Oh!=null&&Oh.startsWith("sample/")))continue;const Uh=Oh.substring(7);let Fh=(ah=xh.textContent)!==null&&ah!==void 0?ah:"";if(Uh==="html"&&(Fh=Fh.replace(/<\//g,"0||_h!==void 0)&&(this._source={type:"slot",files:ph,importMap:_h??{}})}async firstUpdated(){const ah=forceSkypackRawMode(new URL("/common/stores/assets/playground-typescript-worker-ff9ed02e.js",self.location));let ch;if(ah.origin===window.location.origin)ch=new Worker(ah);else{const _h=await(await fetch(ah.href)).text(),xh=URL.createObjectURL(new Blob([_h],{type:"application/javascript"}));ch=new Worker(xh),URL.revokeObjectURL(xh)}this._deferredTypeScriptWorkerApi.resolve(wrap(ch))}_onServiceWorkerProxyIframeLoad(){const{port1:ah,port2:ch}=new MessageChannel;ah.addEventListener("message",ph=>{ph.data.type===CONNECT_PROJECT_TO_SW&&this._onNewServiceWorkerPort(ph.data.port)}),ah.start(),this._postMessageToServiceWorkerProxyIframe({type:CONFIGURE_PROXY,scope:this.sandboxScope,port:ch},[ch])}_onNewServiceWorkerPort(ah){const ch=ph=>{ph.data.type===ACKNOWLEDGE_SW_CONNECTION&&(ah.removeEventListener("message",ch),ph.data.version===serviceWorkerHash?(this._serviceWorkerAPI=wrap(ah),this._serviceWorkerAPI.setFileAPI(proxy({getFile:_h=>this._getFile(_h)}),this._sessionId)):(console.info(`Playground service worker is outdated. Want ${serviceWorkerHash} but got ${ph.data.version}. Waiting for update.`),this._postMessageToServiceWorkerProxyIframe({type:UPDATE_SERVICE_WORKER})))};ah.addEventListener("message",ch),ah.start()}_postMessageToServiceWorkerProxyIframe(ah,ch){const ph=this._serviceWorkerProxyIframe.contentWindow;if(!ph)throw new Error("Unexpected internal error: service worker proxy iframe had no contentWindow");ph.postMessage(ah,"*",ch)}async _getFile(ah){return this._build===void 0?{status:503,body:"Playground build not started"}:this._build.getFile(ah)}async save(){var ah,ch;(ah=this._build)===null||ah===void 0||ah.cancel();const ph=new PlaygroundBuild(()=>{this.dispatchEvent(new CustomEvent("diagnosticsChanged"))});this._build=ph,this.dispatchEvent(new CustomEvent("compileStart"));const _h=await this._deferredTypeScriptWorkerApi.promise;ph.state()==="active"&&(_h.compileProject((ch=this._files)!==null&&ch!==void 0?ch:[],{importMap:this._importMap},proxy(xh=>ph.onOutput(xh))),await ph.stateChange,ph.state()==="done"&&this.dispatchEvent(new CustomEvent("compileDone")))}async getCompletions(ah){var ch,ph,_h;const xh=ah.tokenUnderCursor.trim();if(!ah.isRefinement){const zh=await(await this._deferredTypeScriptWorkerApi.promise).getCompletions(ah.fileName,ah.fileContent,xh,ah.cursorIndex,{importMap:this._importMap});if(zh){const n1=this._getCompletionDetails.bind(this);this._completionInfo=populateCompletionInfoWithDetailGetters(zh,ah.fileName,ah.cursorIndex,n1)}}const Oh=ah.tokenUnderCursor==="."||ah.tokenUnderCursor==="";let Uh=[];return Oh?Uh=completionEntriesAsEditorCompletions((ch=this._completionInfo)===null||ch===void 0?void 0:ch.entries,ah.tokenUnderCursor):Uh=sortCompletionItems((ph=this._completionInfo)===null||ph===void 0?void 0:ph.entries,xh),(_h=Uh[0])===null||_h===void 0||_h.details,Uh}async _getCompletionDetails(ah,ch,ph){return await(await this._deferredTypeScriptWorkerApi.promise).getCompletionItemDetails(ah,ch,{importMap:this._importMap},ph)}async saveDebounced(){this.savePending||(this.savePending=!0,await this.lastSave,this.savePending=!1,this.lastSave=this.save())}isValidNewFilename(ah){var ch;if(!ah)return!1;const ph=(ch=this._files)===null||ch===void 0?void 0:ch.find(_h=>_h.name===ah);return ph!==void 0?ph.hidden===!0:!0}editFile(ah,ch){ah.content=ch,this._modified=void 0,this.saveDebounced()}addFile(ah){var ch;if(!this._files||!this.isValidNewFilename(ah))return;const ph=(ch=this._files)===null||ch===void 0?void 0:ch.find(_h=>_h.name===ah);(ph==null?void 0:ph.hidden)===!0?ph.hidden=!1:this._files.push({name:ah,content:"",contentType:typeFromFilename(ah)}),this._modified=void 0,this.requestUpdate(),this.dispatchEvent(new FilesChangedEvent),this.save()}deleteFile(ah){if(!this._files)return;const ch=this._files.findIndex(ph=>ph.name===ah);ch<0||(this._files=[...this._files.slice(0,ch),...this._files.slice(ch+1)],this._modified=void 0,this.dispatchEvent(new FilesChangedEvent),this.save())}renameFile(ah,ch){if(!ah||!this._files||!this.isValidNewFilename(ch))return;const ph=this._files.find(_h=>_h.name===ah);ph&&(ph.name=ch,ph.contentType=typeFromFilename(ch),this._files=[...this._files],this._modified=void 0,this.dispatchEvent(new FilesChangedEvent),this.save())}};PlaygroundProject.styles=i$E` + `}_slotChange(){var ah;const{type:ch}=this._source;if(ch!=="none"&&ch!=="slot")return;const ph=[];let yh;for(const xh of this._slot.assignedElements({flatten:!0})){const Oh=xh.getAttribute("type");if(!(Oh!=null&&Oh.startsWith("sample/")))continue;const Uh=Oh.substring(7);let Fh=(ah=xh.textContent)!==null&&ah!==void 0?ah:"";if(Uh==="html"&&(Fh=Fh.replace(/<\//g,"0||yh!==void 0)&&(this._source={type:"slot",files:ph,importMap:yh??{}})}async firstUpdated(){const ah=forceSkypackRawMode(new URL("/common/stores/assets/playground-typescript-worker-ff9ed02e.js",self.location));let ch;if(ah.origin===window.location.origin)ch=new Worker(ah);else{const yh=await(await fetch(ah.href)).text(),xh=URL.createObjectURL(new Blob([yh],{type:"application/javascript"}));ch=new Worker(xh),URL.revokeObjectURL(xh)}this._deferredTypeScriptWorkerApi.resolve(wrap(ch))}_onServiceWorkerProxyIframeLoad(){const{port1:ah,port2:ch}=new MessageChannel;ah.addEventListener("message",ph=>{ph.data.type===CONNECT_PROJECT_TO_SW&&this._onNewServiceWorkerPort(ph.data.port)}),ah.start(),this._postMessageToServiceWorkerProxyIframe({type:CONFIGURE_PROXY,scope:this.sandboxScope,port:ch},[ch])}_onNewServiceWorkerPort(ah){const ch=ph=>{ph.data.type===ACKNOWLEDGE_SW_CONNECTION&&(ah.removeEventListener("message",ch),ph.data.version===serviceWorkerHash?(this._serviceWorkerAPI=wrap(ah),this._serviceWorkerAPI.setFileAPI(proxy({getFile:yh=>this._getFile(yh)}),this._sessionId)):(console.info(`Playground service worker is outdated. Want ${serviceWorkerHash} but got ${ph.data.version}. Waiting for update.`),this._postMessageToServiceWorkerProxyIframe({type:UPDATE_SERVICE_WORKER})))};ah.addEventListener("message",ch),ah.start()}_postMessageToServiceWorkerProxyIframe(ah,ch){const ph=this._serviceWorkerProxyIframe.contentWindow;if(!ph)throw new Error("Unexpected internal error: service worker proxy iframe had no contentWindow");ph.postMessage(ah,"*",ch)}async _getFile(ah){return this._build===void 0?{status:503,body:"Playground build not started"}:this._build.getFile(ah)}async save(){var ah,ch;(ah=this._build)===null||ah===void 0||ah.cancel();const ph=new PlaygroundBuild(()=>{this.dispatchEvent(new CustomEvent("diagnosticsChanged"))});this._build=ph,this.dispatchEvent(new CustomEvent("compileStart"));const yh=await this._deferredTypeScriptWorkerApi.promise;ph.state()==="active"&&(yh.compileProject((ch=this._files)!==null&&ch!==void 0?ch:[],{importMap:this._importMap},proxy(xh=>ph.onOutput(xh))),await ph.stateChange,ph.state()==="done"&&this.dispatchEvent(new CustomEvent("compileDone")))}async getCompletions(ah){var ch,ph,yh;const xh=ah.tokenUnderCursor.trim();if(!ah.isRefinement){const zh=await(await this._deferredTypeScriptWorkerApi.promise).getCompletions(ah.fileName,ah.fileContent,xh,ah.cursorIndex,{importMap:this._importMap});if(zh){const n1=this._getCompletionDetails.bind(this);this._completionInfo=populateCompletionInfoWithDetailGetters(zh,ah.fileName,ah.cursorIndex,n1)}}const Oh=ah.tokenUnderCursor==="."||ah.tokenUnderCursor==="";let Uh=[];return Oh?Uh=completionEntriesAsEditorCompletions((ch=this._completionInfo)===null||ch===void 0?void 0:ch.entries,ah.tokenUnderCursor):Uh=sortCompletionItems((ph=this._completionInfo)===null||ph===void 0?void 0:ph.entries,xh),(yh=Uh[0])===null||yh===void 0||yh.details,Uh}async _getCompletionDetails(ah,ch,ph){return await(await this._deferredTypeScriptWorkerApi.promise).getCompletionItemDetails(ah,ch,{importMap:this._importMap},ph)}async saveDebounced(){this.savePending||(this.savePending=!0,await this.lastSave,this.savePending=!1,this.lastSave=this.save())}isValidNewFilename(ah){var ch;if(!ah)return!1;const ph=(ch=this._files)===null||ch===void 0?void 0:ch.find(yh=>yh.name===ah);return ph!==void 0?ph.hidden===!0:!0}editFile(ah,ch){ah.content=ch,this._modified=void 0,this.saveDebounced()}addFile(ah){var ch;if(!this._files||!this.isValidNewFilename(ah))return;const ph=(ch=this._files)===null||ch===void 0?void 0:ch.find(yh=>yh.name===ah);(ph==null?void 0:ph.hidden)===!0?ph.hidden=!1:this._files.push({name:ah,content:"",contentType:typeFromFilename(ah)}),this._modified=void 0,this.requestUpdate(),this.dispatchEvent(new FilesChangedEvent),this.save()}deleteFile(ah){if(!this._files)return;const ch=this._files.findIndex(ph=>ph.name===ah);ch<0||(this._files=[...this._files.slice(0,ch),...this._files.slice(ch+1)],this._modified=void 0,this.dispatchEvent(new FilesChangedEvent),this.save())}renameFile(ah,ch){if(!ah||!this._files||!this.isValidNewFilename(ch))return;const ph=this._files.find(yh=>yh.name===ah);ph&&(ph.name=ch,ph.contentType=typeFromFilename(ch),this._files=[...this._files],this._modified=void 0,this.dispatchEvent(new FilesChangedEvent),this.save())}};PlaygroundProject.styles=i$E` iframe { display: none; } - `;__decorate$6([n$P({attribute:"project-src",hasChanged:()=>!1})],PlaygroundProject.prototype,"projectSrc",null);__decorate$6([n$P({attribute:!1,hasChanged:()=>!1})],PlaygroundProject.prototype,"config",null);__decorate$6([t$t()],PlaygroundProject.prototype,"_source",void 0);__decorate$6([n$P({attribute:"sandbox-base-url"})],PlaygroundProject.prototype,"sandboxBaseUrl",void 0);__decorate$6([n$P({attribute:"sandbox-scope"})],PlaygroundProject.prototype,"sandboxScope",void 0);__decorate$6([t$t()],PlaygroundProject.prototype,"_serviceWorkerAPI",void 0);__decorate$6([i$B("slot")],PlaygroundProject.prototype,"_slot",void 0);__decorate$6([i$B("iframe")],PlaygroundProject.prototype,"_serviceWorkerProxyIframe",void 0);PlaygroundProject=__decorate$6([e$O("playground-project")],PlaygroundProject);const fetchProjectConfig=async(lh,ah=new Set,ch=new Set)=>{if(ch.has(lh))throw new Error(`Circular project config extends: ${[...ch.values(),lh].join(" extends ")}`);ch.add(lh);const ph=await fetch(lh);if(ph.status!==200)throw new Error(`Error ${ph.status} fetching project config from ${lh}: ${await ph.text()}`);let _h;try{_h=await ph.json()}catch(xh){throw new Error(`Error parsing project config JSON from ${lh}: ${xh.message}`)}return await expandProjectConfig(_h,lh,ah,ch)},expandProjectConfig=async(lh,ah,ch=new Set,ph=new Set)=>{var _h,xh,Oh,Uh,Fh;const zh=[];for(const[g1,T1]of Object.entries((_h=lh.files)!==null&&_h!==void 0?_h:{}))ch.has(g1)||(ch.add(g1),T1.content===void 0?zh.push((async()=>{var V1,a0;const o0=await fetch(new URL(g1,ah).href);return{...T1,name:g1,content:await o0.text(),contentType:(a0=(V1=o0.headers.get("Content-Type"))===null||V1===void 0?void 0:V1.toLowerCase())!==null&&a0!==void 0?a0:"text/plain"}})()):zh.push(Promise.resolve({...T1,name:g1,content:(xh=T1.content)!==null&&xh!==void 0?xh:"",contentType:(Oh=typeFromFilename(g1))!==null&&Oh!==void 0?Oh:"text/plain"})));const n1=lh.extends?fetchProjectConfig(new URL(lh.extends,ah).href,ch,ph):void 0,t1=await Promise.all(zh),f1=(Uh=lh.importMap)!==null&&Uh!==void 0?Uh:{};if(n1){const g1=await n1;t1.push(...g1.files),f1.imports={...(Fh=g1.importMap)===null||Fh===void 0?void 0:Fh.imports,...f1.imports}}return{files:t1,importMap:f1}},typeFromFilename=lh=>{const ah=lh.lastIndexOf(".");if(ah===-1||ah===lh.length-1)return;const ch=lh.slice(ah+1);return typeEnumToMimeType(ch)},typeEnumToMimeType=lh=>{if(lh!==void 0)switch(lh){case"ts":return"video/mp2t";case"js":return"application/javascript; charset=utf-8";case"json":return"application/json; charset=utf-8";case"jsx":return"text/jsx; charset=utf-8";case"tsx":return"text/typescript-jsx; charset=utf-8";case"html":return"text/html; charset=utf-8";case"css":return"text/css; charset=utf-8";case"svg":return"image/svg+xml";case"png":return"image/png";case"gif":return"image/gif";case"jpeg":case"jpg":return"image/jpeg";case"ico":return"image/vnd.microsoft.icon";case"webp":return"image/webp";case"webm":return"video/webm";case"mid":case"midi":return"audio/midi";case"mp3":return"audio/mpeg";case"weba":return"audio/webm"}},validateImportMap=lh=>{const ah=[];if(typeof lh!="object"||lh===null)return ah.push(`Import map is invalid because it must be an object, but it was ${lh===null?"null":typeof lh}.`),ah;const ch=Object.keys(lh).filter(_h=>_h!=="imports");ch.length>0&&ah.push(`Invalid import map properties: ${[...ch].join(", ")}. Only "imports" are currently supported.`);const ph=lh.imports;if(ph===void 0)return ah;if(typeof ph!="object"||ph===null)return ah.push(`Import map "imports" property is invalid because it must be an object, but it was ${ph===null?"null":typeof ph}.`),ah;for(const[_h,xh]of Object.entries(ph)){if(typeof xh!="string"){ah.push(`Import map key "${_h}" is invalid because address must be a string, but was ${xh===null?"null":typeof xh}`);continue}_h.endsWith("/")&&!xh.endsWith("/")&&ah.push(`Import map key "${_h}" is invalid because address "${xh}" must end in a forward-slash.`);try{new URL(xh)}catch{ah.push(`Import map key "${_h}" is invalid because address "${xh}" is not a valid URL.`)}}return ah},outdent=lh=>{lh=lh.replace(/(^[\n\s]*\n)|(\n[\n\s]*$)/g,"");let ah;for(const ch of lh.split(/\n/g)){const ph=ch.match(/^\s*/)[0].length;(ah===void 0||ph{if(lh.length!==ah.length)return!1;for(let ch=0;ch!1})],PlaygroundProject.prototype,"projectSrc",null);__decorate$3([n$P({attribute:!1,hasChanged:()=>!1})],PlaygroundProject.prototype,"config",null);__decorate$3([t$t()],PlaygroundProject.prototype,"_source",void 0);__decorate$3([n$P({attribute:"sandbox-base-url"})],PlaygroundProject.prototype,"sandboxBaseUrl",void 0);__decorate$3([n$P({attribute:"sandbox-scope"})],PlaygroundProject.prototype,"sandboxScope",void 0);__decorate$3([t$t()],PlaygroundProject.prototype,"_serviceWorkerAPI",void 0);__decorate$3([i$B("slot")],PlaygroundProject.prototype,"_slot",void 0);__decorate$3([i$B("iframe")],PlaygroundProject.prototype,"_serviceWorkerProxyIframe",void 0);PlaygroundProject=__decorate$3([e$O("playground-project")],PlaygroundProject);const fetchProjectConfig=async(lh,ah=new Set,ch=new Set)=>{if(ch.has(lh))throw new Error(`Circular project config extends: ${[...ch.values(),lh].join(" extends ")}`);ch.add(lh);const ph=await fetch(lh);if(ph.status!==200)throw new Error(`Error ${ph.status} fetching project config from ${lh}: ${await ph.text()}`);let yh;try{yh=await ph.json()}catch(xh){throw new Error(`Error parsing project config JSON from ${lh}: ${xh.message}`)}return await expandProjectConfig(yh,lh,ah,ch)},expandProjectConfig=async(lh,ah,ch=new Set,ph=new Set)=>{var yh,xh,Oh,Uh,Fh;const zh=[];for(const[g1,T1]of Object.entries((yh=lh.files)!==null&&yh!==void 0?yh:{}))ch.has(g1)||(ch.add(g1),T1.content===void 0?zh.push((async()=>{var V1,a0;const o0=await fetch(new URL(g1,ah).href);return{...T1,name:g1,content:await o0.text(),contentType:(a0=(V1=o0.headers.get("Content-Type"))===null||V1===void 0?void 0:V1.toLowerCase())!==null&&a0!==void 0?a0:"text/plain"}})()):zh.push(Promise.resolve({...T1,name:g1,content:(xh=T1.content)!==null&&xh!==void 0?xh:"",contentType:(Oh=typeFromFilename(g1))!==null&&Oh!==void 0?Oh:"text/plain"})));const n1=lh.extends?fetchProjectConfig(new URL(lh.extends,ah).href,ch,ph):void 0,t1=await Promise.all(zh),f1=(Uh=lh.importMap)!==null&&Uh!==void 0?Uh:{};if(n1){const g1=await n1;t1.push(...g1.files),f1.imports={...(Fh=g1.importMap)===null||Fh===void 0?void 0:Fh.imports,...f1.imports}}return{files:t1,importMap:f1}},typeFromFilename=lh=>{const ah=lh.lastIndexOf(".");if(ah===-1||ah===lh.length-1)return;const ch=lh.slice(ah+1);return typeEnumToMimeType(ch)},typeEnumToMimeType=lh=>{if(lh!==void 0)switch(lh){case"ts":return"video/mp2t";case"js":return"application/javascript; charset=utf-8";case"json":return"application/json; charset=utf-8";case"jsx":return"text/jsx; charset=utf-8";case"tsx":return"text/typescript-jsx; charset=utf-8";case"html":return"text/html; charset=utf-8";case"css":return"text/css; charset=utf-8";case"svg":return"image/svg+xml";case"png":return"image/png";case"gif":return"image/gif";case"jpeg":case"jpg":return"image/jpeg";case"ico":return"image/vnd.microsoft.icon";case"webp":return"image/webp";case"webm":return"video/webm";case"mid":case"midi":return"audio/midi";case"mp3":return"audio/mpeg";case"weba":return"audio/webm"}},validateImportMap=lh=>{const ah=[];if(typeof lh!="object"||lh===null)return ah.push(`Import map is invalid because it must be an object, but it was ${lh===null?"null":typeof lh}.`),ah;const ch=Object.keys(lh).filter(yh=>yh!=="imports");ch.length>0&&ah.push(`Invalid import map properties: ${[...ch].join(", ")}. Only "imports" are currently supported.`);const ph=lh.imports;if(ph===void 0)return ah;if(typeof ph!="object"||ph===null)return ah.push(`Import map "imports" property is invalid because it must be an object, but it was ${ph===null?"null":typeof ph}.`),ah;for(const[yh,xh]of Object.entries(ph)){if(typeof xh!="string"){ah.push(`Import map key "${yh}" is invalid because address must be a string, but was ${xh===null?"null":typeof xh}`);continue}yh.endsWith("/")&&!xh.endsWith("/")&&ah.push(`Import map key "${yh}" is invalid because address "${xh}" must end in a forward-slash.`);try{new URL(xh)}catch{ah.push(`Import map key "${yh}" is invalid because address "${xh}" is not a valid URL.`)}}return ah},outdent=lh=>{lh=lh.replace(/(^[\n\s]*\n)|(\n[\n\s]*$)/g,"");let ah;for(const ch of lh.split(/\n/g)){const ph=ch.match(/^\s*/)[0].length;(ah===void 0||ph{if(lh.length!==ah.length)return!1;for(let ch=0;chlh??A$d;/* @license CodeMirror, copyright (c) by Marijn Haverbeke and others -Distributed under an MIT license: https://codemirror.net/LICENSE */var e$K;function t$r(lh,ah,ch,ph,_h,xh){this.name=lh,this.tokenType=ah,this.depth=ch,this.parent=ph,this.startLine=_h,this.startPos=xh}function r$y(){this.stream=null,this.line=this.startPos=0,this.string=this.startLine="",this.copyInstance=null}e$K=function(){var lh=navigator.userAgent,ah=navigator.platform,ch=/gecko\/\d/i.test(lh),ph=/MSIE \d/.test(lh),_h=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(lh),xh=/Edge\/(\d+)/.exec(lh),Oh=ph||_h||xh,Uh=Oh&&(ph?document.documentMode||6:+(xh||_h)[1]),Fh=!xh&&/WebKit\//.test(lh),zh=Fh&&/Qt\/\d+\.\d+/.test(lh),n1=!xh&&/Chrome\/(\d+)/.exec(lh),t1=n1&&+n1[1],f1=/Opera\//.test(lh),g1=/Apple Computer/.test(navigator.vendor),T1=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(lh),V1=/PhantomJS/.test(lh),a0=g1&&(/Mobile\/\w+/.test(lh)||navigator.maxTouchPoints>2),o0=/Android/.test(lh),B0=a0||o0||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(lh),iy=a0||/Mac/.test(ah),Hy=/\bCrOS\b/.test(lh),yv=/win/i.test(ah),ky=f1&&lh.match(/Version\/(\d*\.\d*)/);ky&&(ky=Number(ky[1])),ky&&ky>=15&&(f1=!1,Fh=!0);var cv=iy&&(zh||f1&&(ky==null||ky<12.11)),N0=ch||Oh&&Uh>=9;function n0(Ah){return RegExp("(^|\\s)"+Ah+"(?:$|\\s)\\s*")}var r0,ty=function(Ah,Mh){var Qh=Ah.className,Wh=n0(Mh).exec(Qh);if(Wh){var Jh=Qh.slice(Wh.index+Wh[0].length);Ah.className=Qh.slice(0,Wh.index)+(Jh?Wh[1]+Jh:"")}};function Y0(Ah){for(var Mh=Ah.childNodes.length;Mh>0;--Mh)Ah.removeChild(Ah.firstChild);return Ah}function X0(Ah,Mh){return Y0(Ah).appendChild(Mh)}function uy(Ah,Mh,Qh,Wh){var Jh=document.createElement(Ah);if(Qh&&(Jh.className=Qh),Wh&&(Jh.style.cssText=Wh),typeof Mh=="string")Jh.appendChild(document.createTextNode(Mh));else if(Mh)for(var _1=0;_1=Mh)return F1+(Mh-_1);F1+=U1-_1,F1+=Qh-F1%Qh,_1=U1+1}}a0?TA=function(Ah){Ah.selectionStart=0,Ah.selectionEnd=Ah.value.length}:Oh&&(TA=function(Ah){try{Ah.select()}catch{}});var w2=function(){this.id=null,this.f=null,this.time=0,this.handler=Bx(this.onTimeout,this)};function y2(Ah,Mh){for(var Qh=0;Qh=Mh)return Wh+Math.min(F1,Mh-Jh);if(Jh+=_1-Wh,Wh=_1+1,(Jh+=Qh-Jh%Qh)>=Mh)return Wh}}var O3=[""];function sx(Ah){for(;O3.length<=Ah;)O3.push(b2(O3)+" ");return O3[Ah]}function b2(Ah){return Ah[Ah.length-1]}function eC(Ah,Mh){for(var Qh=[],Wh=0;Wh"€"&&(Ah.toUpperCase()!=Ah.toLowerCase()||Aw.test(Ah))}function LC(Ah,Mh){return Mh?!!(Mh.source.indexOf("\\w")>-1&&qv(Ah))||Mh.test(Ah):qv(Ah)}function J4(Ah){for(var Mh in Ah)if(Ah.hasOwnProperty(Mh)&&Ah[Mh])return!1;return!0}var NP=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function MO(Ah){return Ah.charCodeAt(0)>=768&&NP.test(Ah)}function QN(Ah,Mh,Qh){for(;(Qh<0?Mh>0:MhQh?-1:1;;){if(Mh==Qh)return Mh;var Jh=(Mh+Qh)/2,_1=Wh<0?Math.ceil(Jh):Math.floor(Jh);if(_1==Mh)return Ah(_1)?Mh:Qh;Ah(_1)?Qh=_1:Mh=_1+Wh}}var l5=null;function DP(Ah,Mh,Qh){var Wh;l5=null;for(var Jh=0;JhMh)return Jh;_1.to==Mh&&(_1.from!=_1.to&&Qh=="before"?Wh=Jh:l5=Jh),_1.from==Mh&&(_1.from!=_1.to&&Qh!="before"?Wh=Jh:l5=Jh)}return Wh??l5}var uF=function(){var Ah=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Mh=/[stwN]/,Qh=/[LRr]/,Wh=/[Lb1n]/,Jh=/[1n]/;function _1(F1,U1,J1){this.level=F1,this.from=U1,this.to=J1}return function(F1,U1){var J1=U1=="ltr"?"L":"R";if(F1.length==0||U1=="ltr"&&!Ah.test(F1))return!1;for(var t0,E0=F1.length,w0=[],by=0;by-1&&(Wh[Mh]=Jh.slice(0,_1).concat(Jh.slice(_1+1)))}}}function F$(Ah,Mh){var Qh=i7(Ah,Mh);if(Qh.length)for(var Wh=Array.prototype.slice.call(arguments,2),Jh=0;Jh0}function r7(Ah){Ah.prototype.on=function(Mh,Qh){tC(this,Mh,Qh)},Ah.prototype.off=function(Mh,Qh){ZO(this,Mh,Qh)}}function fN(Ah){Ah.preventDefault?Ah.preventDefault():Ah.returnValue=!1}function h5(Ah){Ah.stopPropagation?Ah.stopPropagation():Ah.cancelBubble=!0}function a7(Ah){return Ah.defaultPrevented!=null?Ah.defaultPrevented:Ah.returnValue==0}function $4(Ah){fN(Ah),h5(Ah)}function dF(Ah){return Ah.target||Ah.srcElement}function BU(Ah){var Mh=Ah.which;return Mh==null&&(1&Ah.button?Mh=1:2&Ah.button?Mh=3:4&Ah.button&&(Mh=2)),iy&&Ah.ctrlKey&&Mh==1&&(Mh=3),Mh}var d5,fF,t6=function(){if(Oh&&Uh<9)return!1;var Ah=uy("div");return"draggable"in Ah||"dragDrop"in Ah}();function bH(Ah){if(d5==null){var Mh=uy("span","​");X0(Ah,uy("span",[Mh,document.createTextNode("x")])),Ah.firstChild.offsetHeight!=0&&(d5=Mh.offsetWidth<=1&&Mh.offsetHeight>2&&!(Oh&&Uh<8))}var Qh=d5?uy("span","​"):uy("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return Qh.setAttribute("cm-text",""),Qh}function bX(Ah){if(fF!=null)return fF;var Mh=X0(Ah,document.createTextNode("AخA")),Qh=r0(Mh,0,1).getBoundingClientRect(),Wh=r0(Mh,1,2).getBoundingClientRect();return Y0(Ah),!(!Qh||Qh.left==Qh.right)&&(fF=Wh.right-Qh.right<3)}var X6,wI=function(Ah){return Ah.split(/\r\n?|\n/)},TR=window.getSelection?function(Ah){try{return Ah.selectionStart!=Ah.selectionEnd}catch{return!1}}:function(Ah){var Mh;try{Mh=Ah.ownerDocument.selection.createRange()}catch{}return!(!Mh||Mh.parentElement()!=Ah)&&Mh.compareEndPoints("StartToEnd",Mh)!=0},UU="oncopy"in(X6=uy("div"))||(X6.setAttribute("oncopy","return;"),typeof X6.oncopy=="function"),Q6=null,RP={},hL={};function jU(Ah,Mh){arguments.length>2&&(Mh.dependencies=Array.prototype.slice.call(arguments,2)),RP[Ah]=Mh}function CR(Ah){if(typeof Ah=="string"&&hL.hasOwnProperty(Ah))Ah=hL[Ah];else if(Ah&&typeof Ah.name=="string"&&hL.hasOwnProperty(Ah.name)){var Mh=hL[Ah.name];typeof Mh=="string"&&(Mh={name:Mh}),(Ah=Zy(Mh,Ah)).name=Mh.name}else{if(typeof Ah=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(Ah))return CR("application/xml");if(typeof Ah=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(Ah))return CR("application/json")}return typeof Ah=="string"?{name:Ah}:Ah||{name:"null"}}function dL(Ah,Mh){Mh=CR(Mh);var Qh=RP[Mh.name];if(!Qh)return dL(Ah,"text/plain");var Wh=Qh(Ah,Mh);if(o7.hasOwnProperty(Mh.name)){var Jh=o7[Mh.name];for(var _1 in Jh)Jh.hasOwnProperty(_1)&&(Wh.hasOwnProperty(_1)&&(Wh["_"+_1]=Wh[_1]),Wh[_1]=Jh[_1])}if(Wh.name=Mh.name,Mh.helperType&&(Wh.helperType=Mh.helperType),Mh.modeProps)for(var F1 in Mh.modeProps)Wh[F1]=Mh.modeProps[F1];return Wh}var o7={};function _H(Ah,Mh){mw(Mh,o7.hasOwnProperty(Ah)?o7[Ah]:o7[Ah]={})}function IP(Ah,Mh){if(Mh===!0)return Mh;if(Ah.copyState)return Ah.copyState(Mh);var Qh={};for(var Wh in Mh){var Jh=Mh[Wh];Jh instanceof Array&&(Jh=Jh.concat([])),Qh[Wh]=Jh}return Qh}function f5(Ah,Mh){for(var Qh;Ah.innerMode&&(Qh=Ah.innerMode(Mh))&&Qh.mode!=Ah;)Mh=Qh.state,Ah=Qh.mode;return Qh||{mode:Ah,state:Mh}}function s7(Ah,Mh,Qh){return!Ah.startState||Ah.startState(Mh,Qh)}var B$=function(Ah,Mh,Qh){this.pos=this.start=0,this.string=Ah,this.tabSize=Mh||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Qh};function mx(Ah,Mh){if((Mh-=Ah.first)<0||Mh>=Ah.size)throw Error("There is no line "+(Mh+Ah.first)+" in the document.");for(var Qh=Ah;!Qh.lines;)for(var Wh=0;;++Wh){var Jh=Qh.children[Wh],_1=Jh.chunkSize();if(Mh<_1){Qh=Jh;break}Mh-=_1}return Qh.lines[Mh]}function n6(Ah,Mh,Qh){var Wh=[],Jh=Mh.line;return Ah.iter(Mh.line,Qh.line+1,function(_1){var F1=_1.text;Jh==Qh.line&&(F1=F1.slice(0,Qh.ch)),Jh==Mh.line&&(F1=F1.slice(Mh.ch)),Wh.push(F1),++Jh}),Wh}function c7(Ah,Mh,Qh){var Wh=[];return Ah.iter(Mh,Qh,function(Jh){Wh.push(Jh.text)}),Wh}function EI(Ah,Mh){var Qh=Mh-Ah.height;if(Qh)for(var Wh=Ah;Wh;Wh=Wh.parent)Wh.height+=Qh}function q3(Ah){if(Ah.parent==null)return null;for(var Mh=Ah.parent,Qh=y2(Mh.lines,Ah),Wh=Mh.parent;Wh;Mh=Wh,Wh=Wh.parent)for(var Jh=0;Wh.children[Jh]!=Mh;++Jh)Qh+=Wh.children[Jh].chunkSize();return Qh+Mh.first}function b0(Ah,Mh){var Qh=Ah.first;e:do{for(var Wh=0;Wh=Ah.first&&MhQh?tv(Qh,mx(Ah,Qh).text.length):function(Wh,Jh){var _1=Wh.ch;return _1==null||_1>Jh?tv(Wh.line,Jh):_1<0?tv(Wh.line,0):Wh}(Mh,mx(Ah,Mh.line).text.length)}function _X(Ah,Mh){for(var Qh=[],Wh=0;Wh=this.string.length},B$.prototype.sol=function(){return this.pos==this.lineStart},B$.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},B$.prototype.next=function(){if(this.posMh},B$.prototype.eatSpace=function(){for(var Ah=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>Ah},B$.prototype.skipToEnd=function(){this.pos=this.string.length},B$.prototype.skipTo=function(Ah){var Mh=this.string.indexOf(Ah,this.pos);if(Mh>-1)return this.pos=Mh,!0},B$.prototype.backUp=function(Ah){this.pos-=Ah},B$.prototype.column=function(){return this.lastColumnPos0?null:(Wh&&Mh!==!1&&(this.pos+=Wh[0].length),Wh)}var Jh=function(_1){return Qh?_1.toLowerCase():_1};if(Jh(this.string.substr(this.pos,Ah.length))==Jh(Ah))return Mh!==!1&&(this.pos+=Ah.length),!0},B$.prototype.current=function(){return this.string.slice(this.start,this.pos)},B$.prototype.hideFirstChars=function(Ah,Mh){this.lineStart+=Ah;try{return Mh()}finally{this.lineStart-=Ah}},B$.prototype.lookAhead=function(Ah){var Mh=this.lineOracle;return Mh&&Mh.lookAhead(Ah)},B$.prototype.baseToken=function(){var Ah=this.lineOracle;return Ah&&Ah.baseToken(this.pos)};var qy=function(Ah,Mh){this.state=Ah,this.lookAhead=Mh},Pv=function(Ah,Mh,Qh,Wh){this.state=Mh,this.doc=Ah,this.line=Qh,this.maxLookAhead=Wh||0,this.baseTokens=null,this.baseTokenPos=1};function n2(Ah,Mh,Qh,Wh){var Jh=[Ah.state.modeGen],_1={};i6(Ah,Mh.text,Ah.doc.mode,Qh,function(t0,E0){return Jh.push(t0,E0)},_1,Wh);for(var F1=Qh.state,U1=function(t0){Qh.baseTokens=Jh;var E0=Ah.state.overlays[t0],w0=1,by=0;Qh.state=!0,i6(Ah,Mh.text,E0.mode,Qh,function(ey,Vy){for(var Ny=w0;byey&&Jh.splice(w0,1,ey,Jh[w0+1],ov),w0+=2,by=Math.min(ey,ov)}if(Vy)if(E0.opaque)Jh.splice(Ny,w0-Ny,ey,"overlay "+Vy),w0=Ny+2;else for(;NyAh.options.maxHighlightLength&&IP(Ah.doc.mode,Wh.state),_1=n2(Ah,Mh,Wh);Jh&&(Wh.state=Jh),Mh.stateAfter=Wh.save(!Jh),Mh.styles=_1.styles,_1.classes?Mh.styleClasses=_1.classes:Mh.styleClasses&&(Mh.styleClasses=null),Qh===Ah.doc.highlightFrontier&&(Ah.doc.modeFrontier=Math.max(Ah.doc.modeFrontier,++Ah.doc.highlightFrontier))}return Mh.styles}function nC(Ah,Mh,Qh){var Wh=Ah.doc,Jh=Ah.display;if(!Wh.mode.startState)return new Pv(Wh,!0,Mh);var _1=function(J1,t0,E0){for(var w0,by,ey=J1.doc,Vy=E0?-1:t0-(J1.doc.mode.innerMode?1e3:100),Ny=t0;Ny>Vy;--Ny){if(Ny<=ey.first)return ey.first;var ov=mx(ey,Ny-1),zv=ov.stateAfter;if(zv&&(!E0||Ny+(zv instanceof qy?zv.lookAhead:0)<=ey.modeFrontier))return Ny;var Xv=$3(ov.text,null,J1.options.tabSize);(by==null||w0>Xv)&&(by=Ny-1,w0=Xv)}return by}(Ah,Mh,Qh),F1=_1>Wh.first&&mx(Wh,_1-1).stateAfter,U1=F1?Pv.fromSaved(Wh,F1,_1):new Pv(Wh,s7(Wh.mode),_1);return Wh.iter(_1,Mh,function(J1){l3(Ah,J1.text,U1);var t0=U1.line;J1.stateAfter=t0==Mh-1||t0%5==0||t0>=Jh.viewFrom&&t0Mh.start)return _1}throw Error("Mode "+Ah.name+" failed to advance stream.")}Pv.prototype.lookAhead=function(Ah){var Mh=this.doc.getLine(this.line+Ah);return Mh!=null&&Ah>this.maxLookAhead&&(this.maxLookAhead=Ah),Mh},Pv.prototype.baseToken=function(Ah){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=Ah;)this.baseTokenPos+=2;var Mh=this.baseTokens[this.baseTokenPos+1];return{type:Mh&&Mh.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-Ah}},Pv.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Pv.fromSaved=function(Ah,Mh,Qh){return Mh instanceof qy?new Pv(Ah,IP(Ah.mode,Mh.state),Qh,Mh.lookAhead):new Pv(Ah,IP(Ah.mode,Mh),Qh)},Pv.prototype.save=function(Ah){var Mh=Ah!==!1?IP(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new qy(Mh,this.maxLookAhead):Mh};var AR=function(Ah,Mh,Qh){this.start=Ah.start,this.end=Ah.pos,this.string=Ah.current(),this.type=Mh||null,this.state=Qh};function pN(Ah,Mh,Qh,Wh){var Jh,_1,F1=Ah.doc,U1=F1.mode,J1=mx(F1,(Mh=EC(F1,Mh)).line),t0=nC(Ah,Mh.line,Qh),E0=new B$(J1.text,Ah.options.tabSize,t0);for(Wh&&(_1=[]);(Wh||E0.posAh.options.maxHighlightLength?(U1=!1,F1&&l3(Ah,Mh,Wh,w0.pos),w0.pos=Mh.length,J1=null):J1=Z6(fL(Qh,w0,Wh.state,by),_1),by){var ey=by[0].name;ey&&(J1="m-"+(J1?ey+" "+J1:ey))}if(!U1||E0!=J1){for(;t0=Rw:Cx.to>Rw);(V2||(V2=[])).push(new pF(jA,Cx.from,Jk?null:Cx.to))}}return V2}(Qh,Jh,F1),J1=function(Fw,Rw,SC){var V2;if(Fw)for(var KC=0;KC=Rw:Cx.to>Rw)||Cx.from==Rw&&jA.type=="bookmark"&&(!SC||Cx.marker.insertLeft)){var Jk=Cx.from==null||(jA.inclusiveLeft?Cx.from<=Rw:Cx.from0&&U1)for(var gw=0;gwMh)&&(!Qh||yle(Qh,_1.marker)<0)&&(Qh=_1.marker)}return Qh}function tve(Ah,Mh,Qh,Wh,Jh){var _1=mx(Ah,Mh),F1=LP&&_1.markedSpans;if(F1)for(var U1=0;U1=0&&w0<=0||E0<=0&&w0>=0)&&(E0<=0&&(J1.marker.inclusiveRight&&Jh.inclusiveLeft?Ew(t0.to,Qh)>=0:Ew(t0.to,Qh)>0)||E0>=0&&(J1.marker.inclusiveRight&&Jh.inclusiveLeft?Ew(t0.from,Wh)<=0:Ew(t0.from,Wh)<0)))return!0}}}function PP(Ah){for(var Mh;Mh=eve(Ah);)Ah=Mh.find(-1,!0).line;return Ah}function vle(Ah,Mh){var Qh=mx(Ah,Mh),Wh=PP(Qh);return Qh==Wh?Mh:q3(Wh)}function nve(Ah,Mh){if(Mh>Ah.lastLine())return Mh;var Qh,Wh=mx(Ah,Mh);if(!zU(Ah,Wh))return Mh;for(;Qh=Cne(Wh);)Wh=Qh.find(1,!0).line;return q3(Wh)+1}function zU(Ah,Mh){var Qh=LP&&Mh.markedSpans;if(Qh){for(var Wh=void 0,Jh=0;JhMh.maxLineLength&&(Mh.maxLineLength=Jh,Mh.maxLine=Wh)})}var lY=function(Ah,Mh,Qh){this.text=Ah,Zye(this,Mh),this.height=Qh?Qh(this):1};function WLe(Ah){Ah.parent=null,Qye(Ah)}lY.prototype.lineNo=function(){return q3(this)},r7(lY);var KLe={},XLe={};function ive(Ah,Mh){if(!Ah||/^\s*$/.test(Ah))return null;var Qh=Mh.addModeClass?XLe:KLe;return Qh[Ah]||(Qh[Ah]=Ah.replace(/\S+/g,"cm-$&"))}function rve(Ah,Mh){var Qh=aw("span",null,null,Fh?"padding-right: .1px":null),Wh={pre:aw("pre",[Qh],"CodeMirror-line"),content:Qh,col:0,pos:0,cm:Ah,trailingSpace:!1,splitSpaces:Ah.getOption("lineWrapping")};Mh.measure={};for(var Jh=0;Jh<=(Mh.rest?Mh.rest.length:0);Jh++){var _1=Jh?Mh.rest[Jh-1]:Mh.line,F1=void 0;Wh.pos=0,Wh.addToken=QLe,bX(Ah.display.measure)&&(F1=u5(_1,Ah.doc.direction))&&(Wh.addToken=ZLe(Wh.addToken,F1)),Wh.map=[],JLe(_1,Wh,_2(Ah,_1,Mh!=Ah.display.externalMeasured&&q3(_1))),_1.styleClasses&&(_1.styleClasses.bgClass&&(Wh.bgClass=gx(_1.styleClasses.bgClass,Wh.bgClass||"")),_1.styleClasses.textClass&&(Wh.textClass=gx(_1.styleClasses.textClass,Wh.textClass||""))),Wh.map.length==0&&Wh.map.push(0,0,Wh.content.appendChild(bH(Ah.display.measure))),Jh==0?(Mh.measure.map=Wh.map,Mh.measure.cache={}):((Mh.measure.maps||(Mh.measure.maps=[])).push(Wh.map),(Mh.measure.caches||(Mh.measure.caches=[])).push({}))}if(Fh){var U1=Wh.content.lastChild;(/\bcm-tab\b/.test(U1.className)||U1.querySelector&&U1.querySelector(".cm-tab"))&&(Wh.content.className="cm-tab-wrap-hack")}return F$(Ah,"renderLine",Ah,Mh.line,Wh.pre),Wh.pre.className&&(Wh.textClass=gx(Wh.pre.className,Wh.textClass||"")),Wh}function ave(Ah){var Mh=uy("span","•","cm-invalidchar");return Mh.title="\\u"+Ah.charCodeAt(0).toString(16),Mh.setAttribute("aria-label",Mh.title),Mh}function QLe(Ah,Mh,Qh,Wh,Jh,_1,F1){if(Mh){var U1,J1=Ah.splitSpaces?function(Fw,Rw){if(Fw.length>1&&!/ /.test(Fw))return Fw;for(var SC=Rw,V2="",KC=0;KC2),o0=/Android/.test(lh),B0=a0||o0||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(lh),iy=a0||/Mac/.test(ah),Hy=/\bCrOS\b/.test(lh),yv=/win/i.test(ah),ky=f1&&lh.match(/Version\/(\d*\.\d*)/);ky&&(ky=Number(ky[1])),ky&&ky>=15&&(f1=!1,Fh=!0);var cv=iy&&(zh||f1&&(ky==null||ky<12.11)),N0=ch||Oh&&Uh>=9;function n0(Ah){return RegExp("(^|\\s)"+Ah+"(?:$|\\s)\\s*")}var r0,ty=function(Ah,Mh){var Qh=Ah.className,Wh=n0(Mh).exec(Qh);if(Wh){var Jh=Qh.slice(Wh.index+Wh[0].length);Ah.className=Qh.slice(0,Wh.index)+(Jh?Wh[1]+Jh:"")}};function Y0(Ah){for(var Mh=Ah.childNodes.length;Mh>0;--Mh)Ah.removeChild(Ah.firstChild);return Ah}function X0(Ah,Mh){return Y0(Ah).appendChild(Mh)}function uy(Ah,Mh,Qh,Wh){var Jh=document.createElement(Ah);if(Qh&&(Jh.className=Qh),Wh&&(Jh.style.cssText=Wh),typeof Mh=="string")Jh.appendChild(document.createTextNode(Mh));else if(Mh)for(var _1=0;_1=Mh)return F1+(Mh-_1);F1+=U1-_1,F1+=Qh-F1%Qh,_1=U1+1}}a0?TA=function(Ah){Ah.selectionStart=0,Ah.selectionEnd=Ah.value.length}:Oh&&(TA=function(Ah){try{Ah.select()}catch{}});var w2=function(){this.id=null,this.f=null,this.time=0,this.handler=Bx(this.onTimeout,this)};function y2(Ah,Mh){for(var Qh=0;Qh=Mh)return Wh+Math.min(F1,Mh-Jh);if(Jh+=_1-Wh,Wh=_1+1,(Jh+=Qh-Jh%Qh)>=Mh)return Wh}}var O3=[""];function sx(Ah){for(;O3.length<=Ah;)O3.push(b2(O3)+" ");return O3[Ah]}function b2(Ah){return Ah[Ah.length-1]}function eC(Ah,Mh){for(var Qh=[],Wh=0;Wh"€"&&(Ah.toUpperCase()!=Ah.toLowerCase()||Aw.test(Ah))}function LC(Ah,Mh){return Mh?!!(Mh.source.indexOf("\\w")>-1&&qv(Ah))||Mh.test(Ah):qv(Ah)}function J4(Ah){for(var Mh in Ah)if(Ah.hasOwnProperty(Mh)&&Ah[Mh])return!1;return!0}var NP=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function MO(Ah){return Ah.charCodeAt(0)>=768&&NP.test(Ah)}function QN(Ah,Mh,Qh){for(;(Qh<0?Mh>0:MhQh?-1:1;;){if(Mh==Qh)return Mh;var Jh=(Mh+Qh)/2,_1=Wh<0?Math.ceil(Jh):Math.floor(Jh);if(_1==Mh)return Ah(_1)?Mh:Qh;Ah(_1)?Qh=_1:Mh=_1+Wh}}var l5=null;function DP(Ah,Mh,Qh){var Wh;l5=null;for(var Jh=0;JhMh)return Jh;_1.to==Mh&&(_1.from!=_1.to&&Qh=="before"?Wh=Jh:l5=Jh),_1.from==Mh&&(_1.from!=_1.to&&Qh!="before"?Wh=Jh:l5=Jh)}return Wh??l5}var uF=function(){var Ah=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Mh=/[stwN]/,Qh=/[LRr]/,Wh=/[Lb1n]/,Jh=/[1n]/;function _1(F1,U1,J1){this.level=F1,this.from=U1,this.to=J1}return function(F1,U1){var J1=U1=="ltr"?"L":"R";if(F1.length==0||U1=="ltr"&&!Ah.test(F1))return!1;for(var t0,E0=F1.length,w0=[],by=0;by-1&&(Wh[Mh]=Jh.slice(0,_1).concat(Jh.slice(_1+1)))}}}function F$(Ah,Mh){var Qh=i7(Ah,Mh);if(Qh.length)for(var Wh=Array.prototype.slice.call(arguments,2),Jh=0;Jh0}function r7(Ah){Ah.prototype.on=function(Mh,Qh){tC(this,Mh,Qh)},Ah.prototype.off=function(Mh,Qh){ZO(this,Mh,Qh)}}function fN(Ah){Ah.preventDefault?Ah.preventDefault():Ah.returnValue=!1}function h5(Ah){Ah.stopPropagation?Ah.stopPropagation():Ah.cancelBubble=!0}function a7(Ah){return Ah.defaultPrevented!=null?Ah.defaultPrevented:Ah.returnValue==0}function $4(Ah){fN(Ah),h5(Ah)}function dF(Ah){return Ah.target||Ah.srcElement}function BU(Ah){var Mh=Ah.which;return Mh==null&&(1&Ah.button?Mh=1:2&Ah.button?Mh=3:4&Ah.button&&(Mh=2)),iy&&Ah.ctrlKey&&Mh==1&&(Mh=3),Mh}var d5,fF,t6=function(){if(Oh&&Uh<9)return!1;var Ah=uy("div");return"draggable"in Ah||"dragDrop"in Ah}();function bH(Ah){if(d5==null){var Mh=uy("span","​");X0(Ah,uy("span",[Mh,document.createTextNode("x")])),Ah.firstChild.offsetHeight!=0&&(d5=Mh.offsetWidth<=1&&Mh.offsetHeight>2&&!(Oh&&Uh<8))}var Qh=d5?uy("span","​"):uy("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return Qh.setAttribute("cm-text",""),Qh}function bX(Ah){if(fF!=null)return fF;var Mh=X0(Ah,document.createTextNode("AخA")),Qh=r0(Mh,0,1).getBoundingClientRect(),Wh=r0(Mh,1,2).getBoundingClientRect();return Y0(Ah),!(!Qh||Qh.left==Qh.right)&&(fF=Wh.right-Qh.right<3)}var X6,wI=function(Ah){return Ah.split(/\r\n?|\n/)},TR=window.getSelection?function(Ah){try{return Ah.selectionStart!=Ah.selectionEnd}catch{return!1}}:function(Ah){var Mh;try{Mh=Ah.ownerDocument.selection.createRange()}catch{}return!(!Mh||Mh.parentElement()!=Ah)&&Mh.compareEndPoints("StartToEnd",Mh)!=0},UU="oncopy"in(X6=uy("div"))||(X6.setAttribute("oncopy","return;"),typeof X6.oncopy=="function"),Q6=null,RP={},hL={};function jU(Ah,Mh){arguments.length>2&&(Mh.dependencies=Array.prototype.slice.call(arguments,2)),RP[Ah]=Mh}function CR(Ah){if(typeof Ah=="string"&&hL.hasOwnProperty(Ah))Ah=hL[Ah];else if(Ah&&typeof Ah.name=="string"&&hL.hasOwnProperty(Ah.name)){var Mh=hL[Ah.name];typeof Mh=="string"&&(Mh={name:Mh}),(Ah=Zy(Mh,Ah)).name=Mh.name}else{if(typeof Ah=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(Ah))return CR("application/xml");if(typeof Ah=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(Ah))return CR("application/json")}return typeof Ah=="string"?{name:Ah}:Ah||{name:"null"}}function dL(Ah,Mh){Mh=CR(Mh);var Qh=RP[Mh.name];if(!Qh)return dL(Ah,"text/plain");var Wh=Qh(Ah,Mh);if(o7.hasOwnProperty(Mh.name)){var Jh=o7[Mh.name];for(var _1 in Jh)Jh.hasOwnProperty(_1)&&(Wh.hasOwnProperty(_1)&&(Wh["_"+_1]=Wh[_1]),Wh[_1]=Jh[_1])}if(Wh.name=Mh.name,Mh.helperType&&(Wh.helperType=Mh.helperType),Mh.modeProps)for(var F1 in Mh.modeProps)Wh[F1]=Mh.modeProps[F1];return Wh}var o7={};function _H(Ah,Mh){mw(Mh,o7.hasOwnProperty(Ah)?o7[Ah]:o7[Ah]={})}function IP(Ah,Mh){if(Mh===!0)return Mh;if(Ah.copyState)return Ah.copyState(Mh);var Qh={};for(var Wh in Mh){var Jh=Mh[Wh];Jh instanceof Array&&(Jh=Jh.concat([])),Qh[Wh]=Jh}return Qh}function f5(Ah,Mh){for(var Qh;Ah.innerMode&&(Qh=Ah.innerMode(Mh))&&Qh.mode!=Ah;)Mh=Qh.state,Ah=Qh.mode;return Qh||{mode:Ah,state:Mh}}function s7(Ah,Mh,Qh){return!Ah.startState||Ah.startState(Mh,Qh)}var B$=function(Ah,Mh,Qh){this.pos=this.start=0,this.string=Ah,this.tabSize=Mh||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Qh};function mx(Ah,Mh){if((Mh-=Ah.first)<0||Mh>=Ah.size)throw Error("There is no line "+(Mh+Ah.first)+" in the document.");for(var Qh=Ah;!Qh.lines;)for(var Wh=0;;++Wh){var Jh=Qh.children[Wh],_1=Jh.chunkSize();if(Mh<_1){Qh=Jh;break}Mh-=_1}return Qh.lines[Mh]}function n6(Ah,Mh,Qh){var Wh=[],Jh=Mh.line;return Ah.iter(Mh.line,Qh.line+1,function(_1){var F1=_1.text;Jh==Qh.line&&(F1=F1.slice(0,Qh.ch)),Jh==Mh.line&&(F1=F1.slice(Mh.ch)),Wh.push(F1),++Jh}),Wh}function c7(Ah,Mh,Qh){var Wh=[];return Ah.iter(Mh,Qh,function(Jh){Wh.push(Jh.text)}),Wh}function EI(Ah,Mh){var Qh=Mh-Ah.height;if(Qh)for(var Wh=Ah;Wh;Wh=Wh.parent)Wh.height+=Qh}function q3(Ah){if(Ah.parent==null)return null;for(var Mh=Ah.parent,Qh=y2(Mh.lines,Ah),Wh=Mh.parent;Wh;Mh=Wh,Wh=Wh.parent)for(var Jh=0;Wh.children[Jh]!=Mh;++Jh)Qh+=Wh.children[Jh].chunkSize();return Qh+Mh.first}function b0(Ah,Mh){var Qh=Ah.first;e:do{for(var Wh=0;Wh=Ah.first&&MhQh?tv(Qh,mx(Ah,Qh).text.length):function(Wh,Jh){var _1=Wh.ch;return _1==null||_1>Jh?tv(Wh.line,Jh):_1<0?tv(Wh.line,0):Wh}(Mh,mx(Ah,Mh.line).text.length)}function _X(Ah,Mh){for(var Qh=[],Wh=0;Wh=this.string.length},B$.prototype.sol=function(){return this.pos==this.lineStart},B$.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},B$.prototype.next=function(){if(this.posMh},B$.prototype.eatSpace=function(){for(var Ah=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>Ah},B$.prototype.skipToEnd=function(){this.pos=this.string.length},B$.prototype.skipTo=function(Ah){var Mh=this.string.indexOf(Ah,this.pos);if(Mh>-1)return this.pos=Mh,!0},B$.prototype.backUp=function(Ah){this.pos-=Ah},B$.prototype.column=function(){return this.lastColumnPos0?null:(Wh&&Mh!==!1&&(this.pos+=Wh[0].length),Wh)}var Jh=function(_1){return Qh?_1.toLowerCase():_1};if(Jh(this.string.substr(this.pos,Ah.length))==Jh(Ah))return Mh!==!1&&(this.pos+=Ah.length),!0},B$.prototype.current=function(){return this.string.slice(this.start,this.pos)},B$.prototype.hideFirstChars=function(Ah,Mh){this.lineStart+=Ah;try{return Mh()}finally{this.lineStart-=Ah}},B$.prototype.lookAhead=function(Ah){var Mh=this.lineOracle;return Mh&&Mh.lookAhead(Ah)},B$.prototype.baseToken=function(){var Ah=this.lineOracle;return Ah&&Ah.baseToken(this.pos)};var qy=function(Ah,Mh){this.state=Ah,this.lookAhead=Mh},Pv=function(Ah,Mh,Qh,Wh){this.state=Mh,this.doc=Ah,this.line=Qh,this.maxLookAhead=Wh||0,this.baseTokens=null,this.baseTokenPos=1};function n2(Ah,Mh,Qh,Wh){var Jh=[Ah.state.modeGen],_1={};i6(Ah,Mh.text,Ah.doc.mode,Qh,function(t0,E0){return Jh.push(t0,E0)},_1,Wh);for(var F1=Qh.state,U1=function(t0){Qh.baseTokens=Jh;var E0=Ah.state.overlays[t0],w0=1,by=0;Qh.state=!0,i6(Ah,Mh.text,E0.mode,Qh,function(ey,Vy){for(var Ny=w0;byey&&Jh.splice(w0,1,ey,Jh[w0+1],ov),w0+=2,by=Math.min(ey,ov)}if(Vy)if(E0.opaque)Jh.splice(Ny,w0-Ny,ey,"overlay "+Vy),w0=Ny+2;else for(;NyAh.options.maxHighlightLength&&IP(Ah.doc.mode,Wh.state),_1=n2(Ah,Mh,Wh);Jh&&(Wh.state=Jh),Mh.stateAfter=Wh.save(!Jh),Mh.styles=_1.styles,_1.classes?Mh.styleClasses=_1.classes:Mh.styleClasses&&(Mh.styleClasses=null),Qh===Ah.doc.highlightFrontier&&(Ah.doc.modeFrontier=Math.max(Ah.doc.modeFrontier,++Ah.doc.highlightFrontier))}return Mh.styles}function nC(Ah,Mh,Qh){var Wh=Ah.doc,Jh=Ah.display;if(!Wh.mode.startState)return new Pv(Wh,!0,Mh);var _1=function(J1,t0,E0){for(var w0,by,ey=J1.doc,Vy=E0?-1:t0-(J1.doc.mode.innerMode?1e3:100),Ny=t0;Ny>Vy;--Ny){if(Ny<=ey.first)return ey.first;var ov=mx(ey,Ny-1),zv=ov.stateAfter;if(zv&&(!E0||Ny+(zv instanceof qy?zv.lookAhead:0)<=ey.modeFrontier))return Ny;var Xv=$3(ov.text,null,J1.options.tabSize);(by==null||w0>Xv)&&(by=Ny-1,w0=Xv)}return by}(Ah,Mh,Qh),F1=_1>Wh.first&&mx(Wh,_1-1).stateAfter,U1=F1?Pv.fromSaved(Wh,F1,_1):new Pv(Wh,s7(Wh.mode),_1);return Wh.iter(_1,Mh,function(J1){l3(Ah,J1.text,U1);var t0=U1.line;J1.stateAfter=t0==Mh-1||t0%5==0||t0>=Jh.viewFrom&&t0Mh.start)return _1}throw Error("Mode "+Ah.name+" failed to advance stream.")}Pv.prototype.lookAhead=function(Ah){var Mh=this.doc.getLine(this.line+Ah);return Mh!=null&&Ah>this.maxLookAhead&&(this.maxLookAhead=Ah),Mh},Pv.prototype.baseToken=function(Ah){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=Ah;)this.baseTokenPos+=2;var Mh=this.baseTokens[this.baseTokenPos+1];return{type:Mh&&Mh.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-Ah}},Pv.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Pv.fromSaved=function(Ah,Mh,Qh){return Mh instanceof qy?new Pv(Ah,IP(Ah.mode,Mh.state),Qh,Mh.lookAhead):new Pv(Ah,IP(Ah.mode,Mh),Qh)},Pv.prototype.save=function(Ah){var Mh=Ah!==!1?IP(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new qy(Mh,this.maxLookAhead):Mh};var AR=function(Ah,Mh,Qh){this.start=Ah.start,this.end=Ah.pos,this.string=Ah.current(),this.type=Mh||null,this.state=Qh};function pN(Ah,Mh,Qh,Wh){var Jh,_1,F1=Ah.doc,U1=F1.mode,J1=mx(F1,(Mh=EC(F1,Mh)).line),t0=nC(Ah,Mh.line,Qh),E0=new B$(J1.text,Ah.options.tabSize,t0);for(Wh&&(_1=[]);(Wh||E0.posAh.options.maxHighlightLength?(U1=!1,F1&&l3(Ah,Mh,Wh,w0.pos),w0.pos=Mh.length,J1=null):J1=Z6(fL(Qh,w0,Wh.state,by),_1),by){var ey=by[0].name;ey&&(J1="m-"+(J1?ey+" "+J1:ey))}if(!U1||E0!=J1){for(;t0=Rw:Cx.to>Rw);(V2||(V2=[])).push(new pF(jA,Cx.from,Jk?null:Cx.to))}}return V2}(Qh,Jh,F1),J1=function(Fw,Rw,SC){var V2;if(Fw)for(var KC=0;KC=Rw:Cx.to>Rw)||Cx.from==Rw&&jA.type=="bookmark"&&(!SC||Cx.marker.insertLeft)){var Jk=Cx.from==null||(jA.inclusiveLeft?Cx.from<=Rw:Cx.from0&&U1)for(var gw=0;gwMh)&&(!Qh||yle(Qh,_1.marker)<0)&&(Qh=_1.marker)}return Qh}function tve(Ah,Mh,Qh,Wh,Jh){var _1=mx(Ah,Mh),F1=LP&&_1.markedSpans;if(F1)for(var U1=0;U1=0&&w0<=0||E0<=0&&w0>=0)&&(E0<=0&&(J1.marker.inclusiveRight&&Jh.inclusiveLeft?Ew(t0.to,Qh)>=0:Ew(t0.to,Qh)>0)||E0>=0&&(J1.marker.inclusiveRight&&Jh.inclusiveLeft?Ew(t0.from,Wh)<=0:Ew(t0.from,Wh)<0)))return!0}}}function PP(Ah){for(var Mh;Mh=eve(Ah);)Ah=Mh.find(-1,!0).line;return Ah}function vle(Ah,Mh){var Qh=mx(Ah,Mh),Wh=PP(Qh);return Qh==Wh?Mh:q3(Wh)}function nve(Ah,Mh){if(Mh>Ah.lastLine())return Mh;var Qh,Wh=mx(Ah,Mh);if(!zU(Ah,Wh))return Mh;for(;Qh=Cne(Wh);)Wh=Qh.find(1,!0).line;return q3(Wh)+1}function zU(Ah,Mh){var Qh=LP&&Mh.markedSpans;if(Qh){for(var Wh=void 0,Jh=0;JhMh.maxLineLength&&(Mh.maxLineLength=Jh,Mh.maxLine=Wh)})}var lY=function(Ah,Mh,Qh){this.text=Ah,Zye(this,Mh),this.height=Qh?Qh(this):1};function WLe(Ah){Ah.parent=null,Qye(Ah)}lY.prototype.lineNo=function(){return q3(this)},r7(lY);var KLe={},XLe={};function ive(Ah,Mh){if(!Ah||/^\s*$/.test(Ah))return null;var Qh=Mh.addModeClass?XLe:KLe;return Qh[Ah]||(Qh[Ah]=Ah.replace(/\S+/g,"cm-$&"))}function rve(Ah,Mh){var Qh=aw("span",null,null,Fh?"padding-right: .1px":null),Wh={pre:aw("pre",[Qh],"CodeMirror-line"),content:Qh,col:0,pos:0,cm:Ah,trailingSpace:!1,splitSpaces:Ah.getOption("lineWrapping")};Mh.measure={};for(var Jh=0;Jh<=(Mh.rest?Mh.rest.length:0);Jh++){var _1=Jh?Mh.rest[Jh-1]:Mh.line,F1=void 0;Wh.pos=0,Wh.addToken=QLe,bX(Ah.display.measure)&&(F1=u5(_1,Ah.doc.direction))&&(Wh.addToken=ZLe(Wh.addToken,F1)),Wh.map=[],JLe(_1,Wh,_2(Ah,_1,Mh!=Ah.display.externalMeasured&&q3(_1))),_1.styleClasses&&(_1.styleClasses.bgClass&&(Wh.bgClass=gx(_1.styleClasses.bgClass,Wh.bgClass||"")),_1.styleClasses.textClass&&(Wh.textClass=gx(_1.styleClasses.textClass,Wh.textClass||""))),Wh.map.length==0&&Wh.map.push(0,0,Wh.content.appendChild(bH(Ah.display.measure))),Jh==0?(Mh.measure.map=Wh.map,Mh.measure.cache={}):((Mh.measure.maps||(Mh.measure.maps=[])).push(Wh.map),(Mh.measure.caches||(Mh.measure.caches=[])).push({}))}if(Fh){var U1=Wh.content.lastChild;(/\bcm-tab\b/.test(U1.className)||U1.querySelector&&U1.querySelector(".cm-tab"))&&(Wh.content.className="cm-tab-wrap-hack")}return F$(Ah,"renderLine",Ah,Mh.line,Wh.pre),Wh.pre.className&&(Wh.textClass=gx(Wh.pre.className,Wh.textClass||"")),Wh}function ave(Ah){var Mh=uy("span","•","cm-invalidchar");return Mh.title="\\u"+Ah.charCodeAt(0).toString(16),Mh.setAttribute("aria-label",Mh.title),Mh}function QLe(Ah,Mh,Qh,Wh,Jh,_1,F1){if(Mh){var U1,J1=Ah.splitSpaces?function(Fw,Rw){if(Fw.length>1&&!/ /.test(Fw))return Fw;for(var SC=Rw,V2="",KC=0;KCt0&&w0.from<=t0);by++);if(w0.to>=E0)return Ah(Qh,Wh,Jh,_1,F1,U1,J1);Ah(Qh,Wh.slice(0,w0.to-t0),Jh,_1,null,U1,J1),_1=null,Wh=Wh.slice(w0.to-t0),t0=w0.to}}}function ove(Ah,Mh,Qh,Wh){var Jh=!Wh&&Qh.widgetNode;Jh&&Ah.map.push(Ah.pos,Ah.pos+Mh,Jh),!Wh&&Ah.cm.display.input.needsContentAttribute&&(Jh||(Jh=Ah.content.appendChild(document.createElement("span"))),Jh.setAttribute("cm-marker",Qh.id)),Jh&&(Ah.cm.display.input.setUneditable(Jh),Ah.content.appendChild(Jh)),Ah.pos+=Mh,Ah.trailingSpace=!1}function JLe(Ah,Mh,Qh){var Wh=Ah.markedSpans,Jh=Ah.text,_1=0;if(Wh)for(var F1,U1,J1,t0,E0,w0,by,ey=Jh.length,Vy=0,Ny=1,ov="",zv=0;;){if(zv==Vy){J1=t0=E0=U1="",by=null,w0=null,zv=1/0;for(var Xv=[],gw=void 0,Zw=0;ZwVy||Rw.collapsed&&Fw.to==Vy&&Fw.from==Vy)){if(Fw.to!=null&&Fw.to!=Vy&&zv>Fw.to&&(zv=Fw.to,t0=""),Rw.className&&(J1+=" "+Rw.className),Rw.css&&(U1=(U1?U1+";":"")+Rw.css),Rw.startStyle&&Fw.from==Vy&&(E0+=" "+Rw.startStyle),Rw.endStyle&&Fw.to==zv&&(gw||(gw=[])).push(Rw.endStyle,Fw.to),Rw.title&&((by||(by={})).title=Rw.title),Rw.attributes)for(var SC in Rw.attributes)(by||(by={}))[SC]=Rw.attributes[SC];Rw.collapsed&&(!w0||yle(w0.marker,Rw)<0)&&(w0=Fw)}else Fw.from>Vy&&zv>Fw.from&&(zv=Fw.from)}if(gw)for(var V2=0;V2=ey)break;for(var Cx=Math.min(ey,zv);;){if(ov){var jA=Vy+ov.length;if(!w0){var Jk=jA>Cx?ov.slice(0,Cx-Vy):ov;Mh.addToken(Mh,Jk,F1?F1+J1:J1,E0,Vy+Jk.length==zv?t0:"",U1,by)}if(jA>=Cx){ov=ov.slice(Cx-Vy),Vy=Cx;break}Vy=jA,E0=""}ov=Jh.slice(_1,_1=Qh[Ny++]),F1=ive(Qh[Ny++],Mh.cm.options)}}else for(var N3=1;N3Qh)return{map:Ah.measure.maps[Jh],cache:Ah.measure.caches[Jh],before:!0}}}function qU(Ah,Mh,Qh,Wh){return BP(Ah,bF(Ah,Mh),Qh,Wh)}function One(Ah,Mh){if(Mh>=Ah.display.viewFrom&&Mh=Qh.lineN&&Mh2&&by.push((Ny.bottom+ov.top)/2-t0.top)}}by.push(t0.bottom-t0.top)}}(Ah,Mh.view,Mh.rect),Mh.hasHeights=!0),_1=function(U1,J1,t0,E0){var w0,by=Ale(J1.map,t0,E0),ey=by.node,Vy=by.start,Ny=by.end,ov=by.collapse;if(ey.nodeType==3){for(var zv=0;zv<4;zv++){for(;Vy&&MO(J1.line.text.charAt(by.coverStart+Vy));)--Vy;for(;by.coverStart+Ny1}(Jk))return N3;var KA=screen.logicalXDPI/screen.deviceXDPI,GC=screen.logicalYDPI/screen.deviceYDPI;return{left:N3.left*KA,right:N3.right*KA,top:N3.top*GC,bottom:N3.bottom*GC}}(U1.display.measure,w0))}else{var Xv;Vy>0&&(ov=E0="right"),w0=U1.options.lineWrapping&&(Xv=ey.getClientRects()).length>1?Xv[E0=="right"?Xv.length-1:0]:ey.getBoundingClientRect()}if(Oh&&Uh<9&&!Vy&&(!w0||!w0.left&&!w0.right)){var gw=ey.parentNode.getClientRects()[0];w0=gw?{left:gw.left,right:gw.left+fY(U1.display),top:gw.top,bottom:gw.bottom}:kR}for(var Zw=w0.top-J1.rect.top,Fw=w0.bottom-J1.rect.top,Rw=(Zw+Fw)/2,SC=J1.view.measure.heights,V2=0;V2Mh)&&(Jh=(_1=J1-U1)-1,Mh>=J1&&(F1="right")),Jh!=null){if(Wh=Ah[t0+2],U1==J1&&Qh==(Wh.insertLeft?"left":"right")&&(F1=Qh),Qh=="left"&&Jh==0)for(;t0&&Ah[t0-2]==Ah[t0-3]&&Ah[t0-1].insertLeft;)Wh=Ah[2+(t0-=3)],F1="left";if(Qh=="right"&&Jh==J1-U1)for(;t0=0&&(Qh=Ah[Jh]).left==Qh.right;Jh--);return Qh}function kle(Ah){if(Ah.measure&&(Ah.measure.cache={},Ah.measure.heights=null,Ah.rest))for(var Mh=0;Mh=Wh.text.length?(J1=Wh.text.length,t0="before"):J1<=0&&(J1=0,t0="after"),!U1)return F1(t0=="before"?J1-1:J1,t0=="before");function E0(Vy,Ny,ov){return F1(ov?Vy-1:Vy,U1[Ny].level==1!=ov)}var w0=DP(U1,J1,t0),by=l5,ey=E0(J1,w0,t0=="before");return by!=null&&(ey.other=E0(J1,by,t0!="before")),ey}function Rne(Ah,Mh){var Qh=0;Mh=EC(Ah.doc,Mh),Ah.options.lineWrapping||(Qh=fY(Ah.display)*Mh.ch);var Wh=mx(Ah.doc,Mh.line),Jh=gF(Wh)+$ne(Ah.display);return{left:Qh,right:Qh,top:Jh,bottom:Jh+Wh.height}}function Ole(Ah,Mh,Qh,Wh,Jh){var _1=tv(Ah,Mh,Qh);return _1.xRel=Jh,Wh&&(_1.outside=Wh),_1}function Nle(Ah,Mh,Qh){var Wh=Ah.doc;if((Qh+=Ah.display.viewOffset)<0)return Ole(Wh.first,0,null,-1,-1);var Jh=b0(Wh,Qh),_1=Wh.first+Wh.size-1;if(Jh>_1)return Ole(Wh.first+Wh.size-1,mx(Wh,_1).text.length,null,1,1);Mh<0&&(Mh=0);for(var F1=mx(Wh,Jh);;){var U1=uve(Ah,F1,Jh,Mh,Qh),J1=VLe(F1,U1.ch+(U1.xRel>0||U1.outside>0?1:0));if(!J1)return U1;var t0=J1.find(1);if(t0.line==Jh)return t0;F1=mx(Wh,Jh=t0.line)}}function CX(Ah,Mh,Qh,Wh){Wh-=Nne(Mh);var Jh=Mh.text.length,_1=xR(function(F1){return BP(Ah,Qh,F1-1).bottom<=Wh},Jh,0);return{begin:_1,end:Jh=xR(function(F1){return BP(Ah,Qh,F1).top>Wh},_1,Jh)}}function Dle(Ah,Mh,Qh,Wh){return Qh||(Qh=bF(Ah,Mh)),CX(Ah,Mh,Qh,Dne(Ah,Mh,BP(Ah,Qh,Wh),"line").top)}function Ine(Ah,Mh,Qh,Wh){return!(Ah.bottom<=Qh)&&(Ah.top>Qh||(Wh?Ah.left:Ah.right)>Mh)}function uve(Ah,Mh,Qh,Wh,Jh){Jh-=gF(Mh);var _1=bF(Ah,Mh),F1=Nne(Mh),U1=0,J1=Mh.text.length,t0=!0,E0=u5(Mh,Ah.doc.direction);if(E0){var w0=(Ah.options.lineWrapping?dY:hve)(Ah,Mh,Qh,_1,E0,Wh,Jh);U1=(t0=w0.level!=1)?w0.from:w0.to-1,J1=t0?w0.to:w0.from-1}var by,ey,Vy=null,Ny=null,ov=xR(function(Fw){var Rw=BP(Ah,_1,Fw);return Rw.top+=F1,Rw.bottom+=F1,!!Ine(Rw,Wh,Jh,!1)&&(Rw.top<=Jh&&Rw.left<=Wh&&(Vy=Fw,Ny=Rw),!0)},U1,J1),zv=!1;if(Ny){var Xv=Wh-Ny.left=Zw.bottom?1:0}return Ole(Qh,ov=QN(Mh.text,ov,1),ey,zv,Wh-by)}function hve(Ah,Mh,Qh,Wh,Jh,_1,F1){var U1=xR(function(w0){var by=Jh[w0],ey=by.level!=1;return Ine(r6(Ah,tv(Qh,ey?by.to:by.from,ey?"before":"after"),"line",Mh,Wh),_1,F1,!0)},0,Jh.length-1),J1=Jh[U1];if(U1>0){var t0=J1.level!=1,E0=r6(Ah,tv(Qh,t0?J1.from:J1.to,t0?"after":"before"),"line",Mh,Wh);Ine(E0,_1,F1,!0)&&E0.top>F1&&(J1=Jh[U1-1])}return J1}function dY(Ah,Mh,Qh,Wh,Jh,_1,F1){var U1=CX(Ah,Mh,Wh,F1),J1=U1.begin,t0=U1.end;/\s/.test(Mh.text.charAt(t0-1))&&t0--;for(var E0=null,w0=null,by=0;by=t0||ey.to<=J1)){var Vy=BP(Ah,Wh,ey.level!=1?Math.min(t0,ey.to)-1:Math.max(J1,ey.from)).right,Ny=Vy<_1?_1-Vy+1e9:Vy-_1;(!E0||w0>Ny)&&(E0=ey,w0=Ny)}}return E0||(E0=Jh[Jh.length-1]),E0.fromt0&&(E0={from:E0.from,to:t0,level:E0.level}),E0}function wH(Ah){if(Ah.cachedTextHeight!=null)return Ah.cachedTextHeight;if(_F==null){_F=uy("pre",null,"CodeMirror-line-like");for(var Mh=0;Mh<49;++Mh)_F.appendChild(document.createTextNode("x")),_F.appendChild(uy("br"));_F.appendChild(document.createTextNode("x"))}X0(Ah.measure,_F);var Qh=_F.offsetHeight/50;return Qh>3&&(Ah.cachedTextHeight=Qh),Y0(Ah.measure),Qh||1}function fY(Ah){if(Ah.cachedCharWidth!=null)return Ah.cachedCharWidth;var Mh=uy("span","xxxxxxxxxx"),Qh=uy("pre",[Mh],"CodeMirror-line-like");X0(Ah.measure,Qh);var Wh=Mh.getBoundingClientRect(),Jh=(Wh.right-Wh.left)/10;return Jh>2&&(Ah.cachedCharWidth=Jh),Jh||10}function Mne(Ah){for(var Mh=Ah.display,Qh={},Wh={},Jh=Mh.gutters.clientLeft,_1=Mh.gutters.firstChild,F1=0;_1;_1=_1.nextSibling,++F1){var U1=Ah.display.gutterSpecs[F1].className;Qh[U1]=_1.offsetLeft+_1.clientLeft+Jh,Wh[U1]=_1.clientWidth}return{fixedPos:Rle(Mh),gutterTotalWidth:Mh.gutters.offsetWidth,gutterLeft:Qh,gutterWidth:Wh,wrapperWidth:Mh.wrapper.clientWidth}}function Rle(Ah){return Ah.scroller.getBoundingClientRect().left-Ah.sizer.getBoundingClientRect().left}function jP(Ah){var Mh=wH(Ah.display),Qh=Ah.options.lineWrapping,Wh=Qh&&Math.max(5,Ah.display.scroller.clientWidth/fY(Ah.display)-3);return function(Jh){if(zU(Ah.doc,Jh))return 0;var _1=0;if(Jh.widgets)for(var F1=0;F10&&(J1=mx(Ah.doc,t0.line).text).length==t0.ch){var E0=$3(J1,J1.length,Ah.options.tabSize)-J1.length;t0=tv(t0.line,Math.max(0,Math.round((_1-xle(Ah.display).left)/fY(Ah.display))-E0))}return t0}function vF(Ah,Mh){if(Mh>=Ah.display.viewTo||(Mh-=Ah.display.viewFrom)<0)return null;for(var Qh=Ah.display.view,Wh=0;WhMh)&&(Jh.updateLineNumbers=Mh),Ah.curOp.viewChanged=!0,Mh>=Jh.viewTo)LP&&vle(Ah.doc,Mh)Jh.viewFrom?h7(Ah):(Jh.viewFrom+=Wh,Jh.viewTo+=Wh);else if(Mh<=Jh.viewFrom&&Qh>=Jh.viewTo)h7(Ah);else if(Mh<=Jh.viewFrom){var _1=gL(Ah,Qh,Qh+Wh,1);_1?(Jh.view=Jh.view.slice(_1.index),Jh.viewFrom=_1.lineN,Jh.viewTo+=Wh):h7(Ah)}else if(Qh>=Jh.viewTo){var F1=gL(Ah,Mh,Mh,-1);F1?(Jh.view=Jh.view.slice(0,F1.index),Jh.viewTo=F1.lineN):h7(Ah)}else{var U1=gL(Ah,Mh,Mh,-1),J1=gL(Ah,Qh,Qh+Wh,1);U1&&J1?(Jh.view=Jh.view.slice(0,U1.index).concat(jD(Ah,U1.lineN,J1.lineN)).concat(Jh.view.slice(J1.index)),Jh.viewTo+=Wh):h7(Ah)}var t0=Jh.externalMeasured;t0&&(Qh=Jh.lineN&&Mh=Wh.viewTo)){var _1=Wh.view[vF(Ah,Mh)];if(_1.node!=null){var F1=_1.changes||(_1.changes=[]);y2(F1,Qh)==-1&&F1.push(Qh)}}}function h7(Ah){Ah.display.viewFrom=Ah.display.viewTo=Ah.doc.first,Ah.display.view=[],Ah.display.viewOffset=0}function gL(Ah,Mh,Qh,Wh){var Jh,_1=vF(Ah,Mh),F1=Ah.display.view;if(!LP||Qh==Ah.doc.first+Ah.doc.size)return{index:_1,lineN:Qh};for(var U1=Ah.display.viewFrom,J1=0;J1<_1;J1++)U1+=F1[J1].size;if(U1!=Mh){if(Wh>0){if(_1==F1.length-1)return null;Jh=U1+F1[_1].size-Mh,_1++}else Jh=U1-Mh;Mh+=Jh,Qh+=Jh}for(;vle(Ah.doc,Qh)!=Qh;){if(_1==(Wh<0?0:F1.length-1))return null;Qh+=Wh*F1[_1-(Wh<0?1:0)].size,_1+=Wh}return{index:_1,lineN:Qh}}function Ile(Ah){for(var Mh=Ah.display.view,Qh=0,Wh=0;Wh=Ah.display.viewTo||J1.to().line0?F1:Ah.defaultCharWidth())+"px"}if(Wh.other){var U1=Qh.appendChild(uy("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));U1.style.display="",U1.style.left=Wh.other.left+"px",U1.style.top=Wh.other.top+"px",U1.style.height=.85*(Wh.other.bottom-Wh.other.top)+"px"}}function Lne(Ah,Mh){return Ah.top-Mh.top||Ah.left-Mh.left}function nPe(Ah,Mh,Qh){var Wh=Ah.display,Jh=Ah.doc,_1=document.createDocumentFragment(),F1=xle(Ah.display),U1=F1.left,J1=Math.max(Wh.sizerWidth,vH(Ah)-Wh.sizer.offsetLeft)-F1.right,t0=Jh.direction=="ltr";function E0(gw,Zw,Fw,Rw){Zw<0&&(Zw=0),Zw=Math.round(Zw),Rw=Math.round(Rw),_1.appendChild(uy("div",null,"CodeMirror-selected","position: absolute; left: "+gw+`px; top: `+Zw+"px; width: "+(Fw??J1-gw)+`px; height: `+(Rw-Zw)+"px"))}function w0(gw,Zw,Fw){var Rw,SC,V2=mx(Jh,gw),KC=V2.text.length;function Cx(N3,KA){return TX(Ah,tv(gw,N3),"div",V2,KA)}function jA(N3,KA,GC){var A$=Dle(Ah,V2,null,N3),wk=KA=="ltr"==(GC=="after")?"left":"right";return Cx(GC=="after"?A$.begin:A$.end-(/\s/.test(V2.text.charAt(A$.end-1))?2:1),wk)[wk]}var Jk=u5(V2,Jh.direction);return function(N3,KA,GC,A$){if(!N3)return A$(KA,GC,"ltr",0);for(var wk=!1,w3=0;w3KA||KA==GC&&gC.to==KA)&&(A$(Math.max(gC.from,KA),Math.min(gC.to,GC),gC.level==1?"rtl":"ltr",w3),wk=!0)}wk||A$(KA,GC,"ltr")}(Jk,Zw||0,Fw??KC,function(N3,KA,GC,A$){var wk=GC=="ltr",w3=Cx(N3,wk?"left":"right"),gC=Cx(KA-1,wk?"right":"left"),tk=Zw==null&&N3==0,D3=Fw==null&&KA==KC,Ek=A$==0,oO=!Jk||A$==Jk.length-1;if(gC.top-w3.top<=3){var HD=(t0?D3:tk)&&oO,tA=(t0?tk:D3)&&Ek?U1:(wk?w3:gC).left,mN=HD?J1:(wk?gC:w3).right;E0(tA,w3.top,mN-tA,w3.bottom)}else{var _O,a6,xI,zP;wk?(_O=t0&&tk&&Ek?U1:w3.left,a6=t0?J1:jA(N3,GC,"before"),xI=t0?U1:jA(KA,GC,"after"),zP=t0&&D3&&oO?J1:gC.right):(_O=t0?jA(N3,GC,"before"):U1,a6=!t0&&tk&&Ek?J1:w3.right,xI=!t0&&D3&&oO?U1:gC.left,zP=t0?jA(KA,GC,"after"):J1),E0(_O,w3.top,a6-_O,w3.bottom),w3.bottom0?Mh.blinker=setInterval(function(){Ah.hasFocus()||pY(Ah),Mh.cursorDiv.style.visibility=(Qh=!Qh)?"":"hidden"},Ah.options.cursorBlinkRate):Ah.options.cursorBlinkRate<0&&(Mh.cursorDiv.style.visibility="hidden")}}function kX(Ah){Ah.hasFocus()||(Ah.display.input.focus(),Ah.state.focused||Fle(Ah))}function Ple(Ah){Ah.state.delayingBlurEvent=!0,setTimeout(function(){Ah.state.delayingBlurEvent&&(Ah.state.delayingBlurEvent=!1,Ah.state.focused&&pY(Ah))},100)}function Fle(Ah,Mh){Ah.state.delayingBlurEvent&&!Ah.state.draggingText&&(Ah.state.delayingBlurEvent=!1),Ah.options.readOnly!="nocursor"&&(Ah.state.focused||(F$(Ah,"focus",Ah,Mh),Ah.state.focused=!0,I2(Ah.display.wrapper,"CodeMirror-focused"),Ah.curOp||Ah.display.selForContextMenu==Ah.doc.sel||(Ah.display.input.reset(),Fh&&setTimeout(function(){return Ah.display.input.reset(!0)},20)),Ah.display.input.receivedFocus()),EH(Ah))}function pY(Ah,Mh){Ah.state.delayingBlurEvent||(Ah.state.focused&&(F$(Ah,"blur",Ah,Mh),Ah.state.focused=!1,ty(Ah.display.wrapper,"CodeMirror-focused")),clearInterval(Ah.display.blinker),setTimeout(function(){Ah.state.focused||(Ah.display.shift=!1)},150))}function Pne(Ah){for(var Mh=Ah.display,Qh=Mh.lineDiv.offsetTop,Wh=Math.max(0,Mh.scroller.getBoundingClientRect().top),Jh=Mh.lineDiv.getBoundingClientRect().top,_1=0,F1=0;F1.005||ey<-.005)&&(JhAh.display.sizerWidth){var Ny=Math.ceil(E0/fY(Ah.display));Ny>Ah.display.maxLineLength&&(Ah.display.maxLineLength=Ny,Ah.display.maxLine=U1.line,Ah.display.maxLineChanged=!0)}}}Math.abs(_1)>2&&(Mh.scroller.scrollTop+=_1)}function mL(Ah){if(Ah.widgets)for(var Mh=0;Mh=F1&&(_1=b0(Mh,gF(mx(Mh,J1))-Ah.wrapper.clientHeight),F1=J1)}return{from:_1,to:Math.max(F1,_1+1)}}function $X(Ah,Mh){var Qh=Ah.display,Wh=wH(Ah.display);Mh.top<0&&(Mh.top=0);var Jh=Ah.curOp&&Ah.curOp.scrollTop!=null?Ah.curOp.scrollTop:Qh.scroller.scrollTop,_1=Tle(Ah),F1={};Mh.bottom-Mh.top>_1&&(Mh.bottom=Mh.top+_1);var U1=Ah.doc.height+Sle(Qh),J1=Mh.topU1-Wh;if(Mh.topJh+_1){var E0=Math.min(Mh.top,(t0?U1:Mh.bottom)-_1);E0!=Jh&&(F1.scrollTop=E0)}var w0=Ah.options.fixedGutter?0:Qh.gutters.offsetWidth,by=Ah.curOp&&Ah.curOp.scrollLeft!=null?Ah.curOp.scrollLeft:Qh.scroller.scrollLeft-w0,ey=vH(Ah)-Qh.gutters.offsetWidth,Vy=Mh.right-Mh.left>ey;return Vy&&(Mh.right=Mh.left+ey),Mh.left<10?F1.scrollLeft=0:Mh.leftey+by-3&&(F1.scrollLeft=Mh.right+(Vy?0:10)-ey),F1}function OX(Ah,Mh){Mh!=null&&(DX(Ah),Ah.curOp.scrollTop=(Ah.curOp.scrollTop==null?Ah.doc.scrollTop:Ah.curOp.scrollTop)+Mh)}function gY(Ah){DX(Ah);var Mh=Ah.getCursor();Ah.curOp.scrollToPos={from:Mh,to:Mh,margin:Ah.options.cursorScrollMargin}}function NX(Ah,Mh,Qh){Mh==null&&Qh==null||DX(Ah),Mh!=null&&(Ah.curOp.scrollLeft=Mh),Qh!=null&&(Ah.curOp.scrollTop=Qh)}function DX(Ah){var Mh=Ah.curOp.scrollToPos;Mh&&(Ah.curOp.scrollToPos=null,Bne(Ah,Rne(Ah,Mh.from),Rne(Ah,Mh.to),Mh.margin))}function Bne(Ah,Mh,Qh,Wh){var Jh=$X(Ah,{left:Math.min(Mh.left,Qh.left),top:Math.min(Mh.top,Qh.top)-Wh,right:Math.max(Mh.right,Qh.right),bottom:Math.max(Mh.bottom,Qh.bottom)+Wh});NX(Ah,Jh.scrollLeft,Jh.scrollTop)}function RX(Ah,Mh){Math.abs(Ah.doc.scrollTop-Mh)<2||(ch||Hne(Ah,{top:Mh}),IX(Ah,Mh,!0),ch&&Hne(Ah),_Y(Ah,100))}function IX(Ah,Mh,Qh){Mh=Math.max(0,Math.min(Ah.display.scroller.scrollHeight-Ah.display.scroller.clientHeight,Mh)),(Ah.display.scroller.scrollTop!=Mh||Qh)&&(Ah.doc.scrollTop=Mh,Ah.display.scrollbars.setScrollTop(Mh),Ah.display.scroller.scrollTop!=Mh&&(Ah.display.scroller.scrollTop=Mh))}function KU(Ah,Mh,Qh,Wh){Mh=Math.max(0,Math.min(Mh,Ah.display.scroller.scrollWidth-Ah.display.scroller.clientWidth)),(Qh?Mh==Ah.doc.scrollLeft:Math.abs(Ah.doc.scrollLeft-Mh)<2)&&!Wh||(Ah.doc.scrollLeft=Mh,Gne(Ah),Ah.display.scroller.scrollLeft!=Mh&&(Ah.display.scroller.scrollLeft=Mh),Ah.display.scrollbars.setScrollLeft(Mh))}function SH(Ah){var Mh=Ah.display,Qh=Mh.gutters.offsetWidth,Wh=Math.round(Ah.doc.height+Sle(Ah.display));return{clientHeight:Mh.scroller.clientHeight,viewHeight:Mh.wrapper.clientHeight,scrollWidth:Mh.scroller.scrollWidth,clientWidth:Mh.scroller.clientWidth,viewWidth:Mh.wrapper.clientWidth,barLeft:Ah.options.fixedGutter?Qh:0,docHeight:Wh,scrollHeight:Wh+FP(Ah)+Mh.barHeight,nativeBarWidth:Mh.nativeBarWidth,gutterWidth:Qh}}var XU=function(Ah,Mh,Qh){this.cm=Qh;var Wh=this.vert=uy("div",[uy("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Jh=this.horiz=uy("div",[uy("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Wh.tabIndex=Jh.tabIndex=-1,Ah(Wh),Ah(Jh),tC(Wh,"scroll",function(){Wh.clientHeight&&Mh(Wh.scrollTop,"vertical")}),tC(Jh,"scroll",function(){Jh.clientWidth&&Mh(Jh.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Oh&&Uh<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};XU.prototype.update=function(Ah){var Mh=Ah.scrollWidth>Ah.clientWidth+1,Qh=Ah.scrollHeight>Ah.clientHeight+1,Wh=Ah.nativeBarWidth;if(Qh){this.vert.style.display="block",this.vert.style.bottom=Mh?Wh+"px":"0";var Jh=Ah.viewHeight-(Mh?Wh:0);this.vert.firstChild.style.height=Math.max(0,Ah.scrollHeight-Ah.clientHeight+Jh)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(Mh){this.horiz.style.display="block",this.horiz.style.right=Qh?Wh+"px":"0",this.horiz.style.left=Ah.barLeft+"px";var _1=Ah.viewWidth-Ah.barLeft-(Qh?Wh:0);this.horiz.firstChild.style.width=Math.max(0,Ah.scrollWidth-Ah.clientWidth+_1)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&Ah.clientHeight>0&&(Wh==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Qh?Wh:0,bottom:Mh?Wh:0}},XU.prototype.setScrollLeft=function(Ah){this.horiz.scrollLeft!=Ah&&(this.horiz.scrollLeft=Ah),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},XU.prototype.setScrollTop=function(Ah){this.vert.scrollTop!=Ah&&(this.vert.scrollTop=Ah),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},XU.prototype.zeroWidthHack=function(){var Ah=iy&&!T1?"12px":"18px";this.horiz.style.height=this.vert.style.width=Ah,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new w2,this.disableVert=new w2},XU.prototype.enableZeroWidthBar=function(Ah,Mh,Qh){Ah.style.visibility="",Mh.set(1e3,function Wh(){var Jh=Ah.getBoundingClientRect();(Qh=="vert"?document.elementFromPoint(Jh.right-1,(Jh.top+Jh.bottom)/2):document.elementFromPoint((Jh.right+Jh.left)/2,Jh.bottom-1))!=Ah?Ah.style.visibility="hidden":Mh.set(1e3,Wh)})},XU.prototype.clear=function(){var Ah=this.horiz.parentNode;Ah.removeChild(this.horiz),Ah.removeChild(this.vert)};var MX=function(){};function mY(Ah,Mh){Mh||(Mh=SH(Ah));var Qh=Ah.display.barWidth,Wh=Ah.display.barHeight;Ble(Ah,Mh);for(var Jh=0;Jh<4&&Qh!=Ah.display.barWidth||Wh!=Ah.display.barHeight;Jh++)Qh!=Ah.display.barWidth&&Ah.options.lineWrapping&&Pne(Ah),Ble(Ah,SH(Ah)),Qh=Ah.display.barWidth,Wh=Ah.display.barHeight}function Ble(Ah,Mh){var Qh=Ah.display,Wh=Qh.scrollbars.update(Mh);Qh.sizer.style.paddingRight=(Qh.barWidth=Wh.right)+"px",Qh.sizer.style.paddingBottom=(Qh.barHeight=Wh.bottom)+"px",Qh.heightForcer.style.borderBottom=Wh.bottom+"px solid transparent",Wh.right&&Wh.bottom?(Qh.scrollbarFiller.style.display="block",Qh.scrollbarFiller.style.height=Wh.bottom+"px",Qh.scrollbarFiller.style.width=Wh.right+"px"):Qh.scrollbarFiller.style.display="",Wh.bottom&&Ah.options.coverGutterNextToScrollbar&&Ah.options.fixedGutter?(Qh.gutterFiller.style.display="block",Qh.gutterFiller.style.height=Wh.bottom+"px",Qh.gutterFiller.style.width=Mh.gutterWidth+"px"):Qh.gutterFiller.style.display=""}MX.prototype.update=function(){return{bottom:0,right:0}},MX.prototype.setScrollLeft=function(){},MX.prototype.setScrollTop=function(){},MX.prototype.clear=function(){};var dve={native:XU,null:MX};function fve(Ah){Ah.display.scrollbars&&(Ah.display.scrollbars.clear(),Ah.display.scrollbars.addClass&&ty(Ah.display.wrapper,Ah.display.scrollbars.addClass)),Ah.display.scrollbars=new dve[Ah.options.scrollbarStyle](function(Mh){Ah.display.wrapper.insertBefore(Mh,Ah.display.scrollbarFiller),tC(Mh,"mousedown",function(){Ah.state.focused&&setTimeout(function(){return Ah.display.input.focus()},0)}),Mh.setAttribute("cm-not-content","true")},function(Mh,Qh){Qh=="horizontal"?KU(Ah,Mh):RX(Ah,Mh)},Ah),Ah.display.scrollbars.addClass&&I2(Ah.display.wrapper,Ah.display.scrollbars.addClass)}var iPe=0;function xH(Ah){var Mh;Ah.curOp={cm:Ah,viewChanged:!1,startHeight:Ah.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++iPe,markArrays:null},Mh=Ah.curOp,l7?l7.ops.push(Mh):Mh.ownsGroup=l7={ops:[Mh],delayedCallbacks:[]}}function d7(Ah){var Mh=Ah.curOp;Mh&&function(Qh,Wh){var Jh=Qh.ownsGroup;if(Jh)try{(function(_1){var F1=_1.delayedCallbacks,U1=0;do{for(;U1=Qh.viewTo)||Qh.maxLineChanged&&Mh.options.lineWrapping,Ah.update=Ah.mustUpdate&&new Une(Mh,Ah.mustUpdate&&{top:Ah.scrollTop,ensure:Ah.scrollToPos},Ah.forceUpdate)}function bY(Ah){Ah.updatedDisplay=Ah.mustUpdate&&zne(Ah.cm,Ah.update)}function PX(Ah){var Mh=Ah.cm,Qh=Mh.display;Ah.updatedDisplay&&Pne(Mh),Ah.barMeasure=SH(Mh),Qh.maxLineChanged&&!Mh.options.lineWrapping&&(Ah.adjustWidthTo=qU(Mh,Qh.maxLine,Qh.maxLine.text.length).left+3,Mh.display.sizerWidth=Ah.adjustWidthTo,Ah.barMeasure.scrollWidth=Math.max(Qh.scroller.clientWidth,Qh.sizer.offsetLeft+Ah.adjustWidthTo+FP(Mh)+Mh.display.barWidth),Ah.maxScrollLeft=Math.max(0,Qh.sizer.offsetLeft+Ah.adjustWidthTo-vH(Mh))),(Ah.updatedDisplay||Ah.selectionChanged)&&(Ah.preparedSelection=Qh.input.prepareSelection())}function FX(Ah){var Mh=Ah.cm;Ah.adjustWidthTo!=null&&(Mh.display.sizer.style.minWidth=Ah.adjustWidthTo+"px",Ah.maxScrollLeft1&&(Ny=!0)),Xv.scrollLeft!=null&&(KU(t0,Xv.scrollLeft),Math.abs(t0.doc.scrollLeft-Zw)>1&&(Ny=!0)),!Ny)break}return ey}(Mh,EC(Wh,Ah.scrollToPos.from),EC(Wh,Ah.scrollToPos.to),Ah.scrollToPos.margin);(function(t0,E0){if(!T$(t0,"scrollCursorIntoView")){var w0=t0.display,by=w0.sizer.getBoundingClientRect(),ey=null,Vy=w0.wrapper.ownerDocument;if(E0.top+by.top<0?ey=!0:E0.bottom+by.top>(Vy.defaultView.innerHeight||Vy.documentElement.clientHeight)&&(ey=!1),ey!=null&&!V1){var Ny=uy("div","​",null,`position: absolute; @@ -170,24 +157,24 @@ Distributed under an MIT license: https://codemirror.net/LICENSE */var e$K;funct `)>-1?Qh.value=Ah.prevInput="":Ah.prevInput=Jh,Ah.composing&&(Ah.composing.range.clear(),Ah.composing.range=Mh.markText(Ah.composing.start,Mh.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},l$.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},l$.prototype.onKeyPress=function(){Oh&&Uh>=9&&(this.hasSelection=null),this.fastPoll()},l$.prototype.onContextMenu=function(Ah){var Mh=this,Qh=Mh.cm,Wh=Qh.display,Jh=Mh.textarea;Mh.contextMenuPending&&Mh.contextMenuPending();var _1=yF(Qh,Ah),F1=Wh.scroller.scrollTop;if(_1&&!f1){Qh.options.resetSelectionOnContextMenu&&Qh.doc.sel.contains(_1)==-1&&LO(Qh,NR)(Qh.doc,zD(_1),G3);var U1,J1=Jh.style.cssText,t0=Mh.wrapper.style.cssText,E0=Mh.wrapper.offsetParent.getBoundingClientRect();if(Mh.wrapper.style.cssText="position: static",Jh.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(Ah.clientY-E0.top-5)+"px; left: "+(Ah.clientX-E0.left-5)+`px; z-index: 1000; background: `+(Oh?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`,Fh&&(U1=Jh.ownerDocument.defaultView.scrollY),Wh.input.focus(),Fh&&Jh.ownerDocument.defaultView.scrollTo(null,U1),Wh.input.reset(),Qh.somethingSelected()||(Jh.value=Mh.prevInput=" "),Mh.contextMenuPending=ey,Wh.selForContextMenu=Qh.doc.sel,clearTimeout(Wh.detectingSelectAll),Oh&&Uh>=9&&by(),N0){$4(Ah);var w0=function(){ZO(window,"mouseup",w0),setTimeout(ey,20)};tC(window,"mouseup",w0)}else setTimeout(ey,50)}function by(){if(Jh.selectionStart!=null){var Vy=Qh.somethingSelected(),Ny="​"+(Vy?Jh.value:"");Jh.value="⇚",Jh.value=Ny,Mh.prevInput=Vy?"":"​",Jh.selectionStart=1,Jh.selectionEnd=Ny.length,Wh.selForContextMenu=Qh.doc.sel}}function ey(){if(Mh.contextMenuPending==ey&&(Mh.contextMenuPending=!1,Mh.wrapper.style.cssText=t0,Jh.style.cssText=J1,Oh&&Uh<9&&Wh.scrollbars.setScrollTop(Wh.scroller.scrollTop=F1),Jh.selectionStart!=null)){(!Oh||Oh&&Uh<9)&&by();var Vy=0,Ny=function(){Wh.selForContextMenu==Qh.doc.sel&&Jh.selectionStart==0&&Jh.selectionEnd>0&&Mh.prevInput=="​"?LO(Qh,Rve)(Qh):Vy++<10?Wh.detectingSelectAll=setTimeout(Ny,500):(Wh.selForContextMenu=null,Wh.input.reset())};Wh.detectingSelectAll=setTimeout(Ny,200)}}},l$.prototype.readOnlyChanged=function(Ah){Ah||this.reset(),this.textarea.disabled=Ah=="nocursor",this.textarea.readOnly=!!Ah},l$.prototype.setUneditable=function(){},l$.prototype.needsContentAttribute=!1,function(Ah){var Mh=Ah.optionHandlers;function Qh(Wh,Jh,_1,F1){Ah.defaults[Wh]=Jh,_1&&(Mh[Wh]=F1?function(U1,J1,t0){t0!=EF&&_1(U1,J1,t0)}:_1)}Ah.defineOption=Qh,Ah.Init=EF,Qh("value","",function(Wh,Jh){return Wh.setValue(Jh)},!0),Qh("mode",null,function(Wh,Jh){Wh.doc.modeOption=Jh,Wle(Wh)},!0),Qh("indentUnit",2,Wle,!0),Qh("indentWithTabs",!1),Qh("smartIndent",!0),Qh("tabSize",4,function(Wh){UX(Wh),UP(Wh),$R(Wh)},!0),Qh("lineSeparator",null,function(Wh,Jh){if(Wh.doc.lineSep=Jh,Jh){var _1=[],F1=Wh.doc.first;Wh.doc.iter(function(J1){for(var t0=0;;){var E0=J1.text.indexOf(Jh,t0);if(E0==-1)break;t0=E0+Jh.length,_1.push(tv(F1,E0))}F1++});for(var U1=_1.length-1;U1>=0;U1--)xY(Wh.doc,Jh,_1[U1],tv(_1[U1].line,_1[U1].ch+Jh.length))}}),Qh("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(Wh,Jh,_1){Wh.state.specialChars=RegExp(Jh.source+(Jh.test(" ")?"":"| "),"g"),_1!=EF&&Wh.refresh()}),Qh("specialCharPlaceholder",ave,function(Wh){return Wh.refresh()},!0),Qh("electricChars",!0),Qh("inputStyle",B0?"contenteditable":"textarea",function(){throw Error("inputStyle can not (yet) be changed in a running editor")},!0),Qh("spellcheck",!1,function(Wh,Jh){return Wh.getInputField().spellcheck=Jh},!0),Qh("autocorrect",!1,function(Wh,Jh){return Wh.getInputField().autocorrect=Jh},!0),Qh("autocapitalize",!1,function(Wh,Jh){return Wh.getInputField().autocapitalize=Jh},!0),Qh("rtlMoveVisually",!yv),Qh("wholeLineUpdateBefore",!0),Qh("theme","default",function(Wh){ewe(Wh),yY(Wh)},!0),Qh("keyMap","default",function(Wh,Jh,_1){var F1=Jne(Jh),U1=_1!=EF&&Jne(_1);U1&&U1.detach&&U1.detach(Wh,F1),F1.attach&&F1.attach(Wh,U1||null)}),Qh("extraKeys",null),Qh("configureMouse",null),Qh("lineWrapping",!1,lPe,!0),Qh("gutters",[],function(Wh,Jh){Wh.display.gutterSpecs=Gle(Jh,Wh.options.lineNumbers),yY(Wh)},!0),Qh("fixedGutter",!0,function(Wh,Jh){Wh.display.gutters.style.left=Jh?Rle(Wh.display)+"px":"0",Wh.refresh()},!0),Qh("coverGutterNextToScrollbar",!1,function(Wh){return mY(Wh)},!0),Qh("scrollbarStyle","native",function(Wh){fve(Wh),mY(Wh),Wh.display.scrollbars.setScrollTop(Wh.doc.scrollTop),Wh.display.scrollbars.setScrollLeft(Wh.doc.scrollLeft)},!0),Qh("lineNumbers",!1,function(Wh,Jh){Wh.display.gutterSpecs=Gle(Wh.options.gutters,Jh),yY(Wh)},!0),Qh("firstLineNumber",1,yY,!0),Qh("lineNumberFormatter",function(Wh){return Wh},yY,!0),Qh("showCursorWhenSelecting",!1,WU,!0),Qh("resetSelectionOnContextMenu",!0),Qh("lineWiseCopyCut",!0),Qh("pasteLinesPerSelection",!0),Qh("selectionsMayTouch",!1),Qh("readOnly",!1,function(Wh,Jh){Jh=="nocursor"&&(pY(Wh),Wh.display.input.blur()),Wh.display.input.readOnlyChanged(Jh)}),Qh("screenReaderLabel",null,function(Wh,Jh){Jh=Jh===""?null:Jh,Wh.display.input.screenReaderLabelChanged(Jh)}),Qh("disableInput",!1,function(Wh,Jh){Jh||Wh.display.input.reset()},!0),Qh("dragDrop",!0,sue),Qh("allowDropFileTypes",null),Qh("cursorBlinkRate",530),Qh("cursorScrollMargin",0),Qh("cursorHeight",1,WU,!0),Qh("singleCursorHeightPerLine",!0,WU,!0),Qh("workTime",100),Qh("workDelay",100),Qh("flattenSpans",!0,UX,!0),Qh("addModeClass",!1,UX,!0),Qh("pollInterval",100),Qh("undoDepth",200,function(Wh,Jh){return Wh.doc.history.undoDepth=Jh}),Qh("historyEventDelay",1250),Qh("viewportMargin",10,function(Wh){return Wh.refresh()},!0),Qh("maxHighlightLength",1e4,UX,!0),Qh("moveInputWithCursor",!0,function(Wh,Jh){Jh||Wh.display.input.resetPosition()}),Qh("tabindex",null,function(Wh,Jh){return Wh.display.input.getField().tabIndex=Jh||""}),Qh("autofocus",null),Qh("direction","ltr",function(Wh,Jh){return Wh.doc.setDirection(Jh)},!0),Qh("phrases",null)}(PO),function(Ah){var Mh=Ah.optionHandlers,Qh=Ah.helpers={};Ah.prototype={constructor:Ah,focus:function(){G2(this).focus(),this.display.input.focus()},setOption:function(Wh,Jh){var _1=this.options,F1=_1[Wh];_1[Wh]==Jh&&Wh!="mode"||(_1[Wh]=Jh,Mh.hasOwnProperty(Wh)&&LO(this,Mh[Wh])(this,Jh,F1),F$(this,"optionChange",this,Wh))},getOption:function(Wh){return this.options[Wh]},getDoc:function(){return this.doc},addKeyMap:function(Wh,Jh){this.state.keyMaps[Jh?"push":"unshift"](Jne(Wh))},removeKeyMap:function(Wh){for(var Jh=this.state.keyMaps,_1=0;_1_1&&(p7(this,U1.head.line,Wh,!0),_1=U1.head.line,F1==this.doc.sel.primIndex&&gY(this));else{var J1=U1.from(),t0=U1.to(),E0=Math.max(_1,J1.line);_1=Math.min(this.lastLine(),t0.line-(t0.ch?0:1))+1;for(var w0=E0;w0<_1;++w0)p7(this,w0,Wh);var by=this.doc.sel.ranges;J1.ch==0&&Jh.length==by.length&&by[F1].from().ch>0&&Qle(this.doc,F1,new vk(J1,by[F1].to()),G3)}}}),getTokenAt:function(Wh,Jh){return pN(this,Wh,Jh)},getLineTokens:function(Wh,Jh){return pN(this,tv(Wh),Jh,!0)},getTokenTypeAt:function(Wh){Wh=EC(this.doc,Wh);var Jh,_1=_2(this,mx(this.doc,Wh.line)),F1=0,U1=(_1.length-1)/2,J1=Wh.ch;if(J1==0)Jh=_1[2];else for(;;){var t0=F1+U1>>1;if((t0?_1[2*t0-1]:0)>=J1)U1=t0;else{if(!(_1[2*t0+1]J1&&(Wh=J1,U1=!0),F1=mx(this.doc,Wh)}else F1=Wh;return Dne(this,F1,{top:0,left:0},Jh||"page",_1||U1).top+(U1?this.doc.height-gF(F1):0)},defaultTextHeight:function(){return wH(this.display)},defaultCharWidth:function(){return fY(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Wh,Jh,_1,F1,U1){var J1,t0,E0=this.display,w0=(Wh=r6(this,EC(this.doc,Wh))).bottom,by=Wh.left;if(Jh.style.position="absolute",Jh.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Jh),E0.sizer.appendChild(Jh),F1=="over")w0=Wh.top;else if(F1=="above"||F1=="near"){var ey=Math.max(E0.wrapper.clientHeight,this.doc.height),Vy=Math.max(E0.sizer.clientWidth,E0.lineSpace.clientWidth);(F1=="above"||Wh.bottom+Jh.offsetHeight>ey)&&Wh.top>Jh.offsetHeight?w0=Wh.top-Jh.offsetHeight:Wh.bottom+Jh.offsetHeight<=ey&&(w0=Wh.bottom),by+Jh.offsetWidth>Vy&&(by=Vy-Jh.offsetWidth)}Jh.style.top=w0+"px",Jh.style.left=Jh.style.right="",U1=="right"?(by=E0.sizer.clientWidth-Jh.offsetWidth,Jh.style.right="0px"):(U1=="left"?by=0:U1=="middle"&&(by=(E0.sizer.clientWidth-Jh.offsetWidth)/2),Jh.style.left=by+"px"),_1&&((t0=$X(J1=this,{left:by,top:w0,right:by+Jh.offsetWidth,bottom:w0+Jh.offsetHeight})).scrollTop!=null&&RX(J1,t0.scrollTop),t0.scrollLeft!=null&&KU(J1,t0.scrollLeft))},triggerOnKeyDown:eD(nue),triggerOnKeyPress:eD(KX),triggerOnKeyUp:iue,triggerOnMouseDown:eD(rue),execCommand:function(Wh){if(WX.hasOwnProperty(Wh))return WX[Wh].call(null,this)},triggerElectric:eD(function(Wh){lue(this,Wh)}),findPosH:function(Wh,Jh,_1,F1){var U1=1;Jh<0&&(U1=-1,Jh=-Jh);for(var J1=EC(this.doc,Wh),t0=0;t00&&t0(Jh.charAt(_1-1));)--_1;for(;F1.5||this.options.lineWrapping)&&AX(this),F$(this,"refresh",this)}),swapDoc:eD(function(Wh){var Jh=this.doc;return Jh.cm=null,this.state.selectingText&&this.state.selectingText(),vve(this,Wh),UP(this),this.display.input.reset(),NX(this,Wh.scrollLeft,Wh.scrollTop),this.curOp.forceScroll=!0,_w(this,"swapDoc",this,Jh),Jh}),phrase:function(Wh){var Jh=this.options.phrases;return Jh&&Object.prototype.hasOwnProperty.call(Jh,Wh)?Jh[Wh]:Wh},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},r7(Ah),Ah.registerHelper=function(Wh,Jh,_1){Qh.hasOwnProperty(Wh)||(Qh[Wh]=Ah[Wh]={_global:[]}),Qh[Wh][Jh]=_1},Ah.registerGlobalHelper=function(Wh,Jh,_1,F1){Ah.registerHelper(Wh,Jh,F1),Qh[Wh]._global.push({pred:_1,val:F1})}}(PO);var _L="iter insert remove copy getEditor constructor".split(" ");for(var yL in p5.prototype)p5.prototype.hasOwnProperty(yL)&&y2(_L,yL)<0&&(PO.prototype[yL]=function(Ah){return function(){return Ah.apply(this.doc,arguments)}}(p5.prototype[yL]));return r7(p5),PO.inputStyles={textarea:l$,contenteditable:c$},PO.defineMode=function(Ah){PO.defaults.mode||Ah=="null"||(PO.defaults.mode=Ah),jU.apply(this,arguments)},PO.defineMIME=function(Ah,Mh){hL[Ah]=Mh},PO.defineMode("null",function(){return{token:function(Ah){return Ah.skipToEnd()}}}),PO.defineMIME("text/plain","null"),PO.defineExtension=function(Ah,Mh){PO.prototype[Ah]=Mh},PO.defineDocExtension=function(Ah,Mh){p5.prototype[Ah]=Mh},PO.fromTextArea=function(Ah,Mh){if((Mh=Mh?mw(Mh):{}).value=Ah.value,!Mh.tabindex&&Ah.tabIndex&&(Mh.tabindex=Ah.tabIndex),!Mh.placeholder&&Ah.placeholder&&(Mh.placeholder=Ah.placeholder),Mh.autofocus==null){var Qh=Y2(Ah.ownerDocument);Mh.autofocus=Qh==Ah||Ah.getAttribute("autofocus")!=null&&Qh==document.body}function Wh(){Ah.value=U1.getValue()}var Jh;if(Ah.form&&(tC(Ah.form,"submit",Wh),!Mh.leaveSubmitMethodAlone)){var _1=Ah.form;Jh=_1.submit;try{var F1=_1.submit=function(){Wh(),_1.submit=Jh,_1.submit(),_1.submit=F1}}catch{}}Mh.finishInit=function(J1){J1.save=Wh,J1.getTextArea=function(){return Ah},J1.toTextArea=function(){J1.toTextArea=isNaN,Wh(),Ah.parentNode.removeChild(J1.getWrapperElement()),Ah.style.display="",Ah.form&&(ZO(Ah.form,"submit",Wh),Mh.leaveSubmitMethodAlone||typeof Ah.form.submit!="function"||(Ah.form.submit=Jh))}},Ah.style.display="none";var U1=PO(function(J1){return Ah.parentNode.insertBefore(J1,Ah.nextSibling)},Mh);return U1},function(Ah){Ah.off=ZO,Ah.on=tC,Ah.wheelEventPixels=Yle,Ah.Doc=p5,Ah.splitLines=wI,Ah.countColumn=$3,Ah.findColumn=HC,Ah.isWordChar=qv,Ah.Pass=WC,Ah.signal=F$,Ah.Line=lY,Ah.changeEnd=QU,Ah.scrollbarModel=dve,Ah.Pos=tv,Ah.cmpPos=Ew,Ah.modes=RP,Ah.mimeModes=hL,Ah.resolveMode=CR,Ah.getMode=dL,Ah.modeExtensions=o7,Ah.extendMode=_H,Ah.copyState=IP,Ah.startState=s7,Ah.innerMode=f5,Ah.commands=WX,Ah.keyMap=g5,Ah.keyName=Vve,Ah.isModifierKey=qve,Ah.lookupKey=AY,Ah.normalizeKeyMap=Gve,Ah.StringStream=B$,Ah.SharedTextMarker=YX,Ah.TextMarker=JU,Ah.LineWidget=qX,Ah.e_preventDefault=fN,Ah.e_stopPropagation=h5,Ah.e_stop=$4,Ah.addClass=I2,Ah.contains=t2,Ah.rmClass=ty,Ah.keyNames=ej}(PO),PO.version="5.65.9",PO},(window||self).CodeMirror=e$K(),function(lh){function ah(zh,n1){if(this.cm=zh,this.options=n1,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var t1=this;zh.on("cursorActivity",this.activityFunc=function(){t1.cursorActivity()})}}lh.showHint=function(zh,n1,t1){if(!n1)return zh.showHint(t1);t1&&t1.async&&(n1.async=!0);var f1={hint:n1};if(t1)for(var g1 in t1)f1[g1]=t1[g1];return zh.showHint(f1)},lh.defineExtension("showHint",function(zh){zh=function(g1,T1,V1){var a0=g1.options.hintOptions,o0={};for(var B0 in Fh)o0[B0]=Fh[B0];if(a0)for(var B0 in a0)a0[B0]!==void 0&&(o0[B0]=a0[B0]);if(V1)for(var B0 in V1)V1[B0]!==void 0&&(o0[B0]=V1[B0]);return o0.hint.resolve&&(o0.hint=o0.hint.resolve(g1,T1)),o0}(this,this.getCursor("start"),zh);var n1=this.listSelections();if(!(n1.length>1)){if(this.somethingSelected()){if(!zh.hint.supportsSelection)return;for(var t1=0;t1V1.clientHeight+1;if(setTimeout(function(){I2=f1.getScrollInfo()}),gx.bottom-Y2>0){var N2=gx.bottom-gx.top,G2=gx.top-(cv.bottom-cv.top)-2;Y2-gx.topG2&&(V1.style.height=(N2=G2)+"px"),V1.style.top=(n0=cv.top-N2)+Y0+"px",r0=!1):V1.style.height=Y2-gx.top-2+"px"}var Bx,mw=gx.right-t2;if(TA&&(mw+=f1.display.nativeBarWidth),mw>0&&(gx.right-gx.left>t2&&(V1.style.width=t2-5+"px",mw-=gx.right-gx.left-t2),V1.style.left=(N0=Math.max(cv.left-mw-ty,0))+"px"),TA)for(var $3=V1.firstChild;$3;$3=$3.nextSibling)$3.style.paddingRight=f1.display.nativeBarWidth+"px";f1.addKeyMap(this.keyMap=function(y2,WC){var G3={Up:function(){WC.moveFocus(-1)},Down:function(){WC.moveFocus(1)},PageUp:function(){WC.moveFocus(1-WC.menuSize(),!0)},PageDown:function(){WC.moveFocus(WC.menuSize()-1,!0)},Home:function(){WC.setFocus(0)},End:function(){WC.setFocus(WC.length-1)},Enter:WC.pick,Tab:WC.pick,Esc:WC.close};/Mac/.test(navigator.platform)&&(G3["Ctrl-P"]=function(){WC.moveFocus(-1)},G3["Ctrl-N"]=function(){WC.moveFocus(1)});var yk=y2.options.customKeys,Zk=yk?{}:G3;function HC(b2,eC){var s3;s3=typeof eC!="string"?function(Zy){return eC(Zy,WC)}:G3.hasOwnProperty(eC)?G3[eC]:eC,Zk[b2]=s3}if(yk)for(var O3 in yk)yk.hasOwnProperty(O3)&&HC(O3,yk[O3]);var sx=y2.options.extraKeys;if(sx)for(var O3 in sx)sx.hasOwnProperty(O3)&&HC(O3,sx[O3]);return Zk}(zh,{moveFocus:function(y2,WC){t1.changeActive(t1.selectedHint+y2,WC)},setFocus:function(y2){t1.changeActive(y2)},menuSize:function(){return t1.screenAmount()},length:o0.length,close:function(){zh.close()},pick:function(){t1.pick()},data:n1})),zh.options.closeOnUnfocus&&(f1.on("blur",this.onBlur=function(){Bx=setTimeout(function(){zh.close()},100)}),f1.on("focus",this.onFocus=function(){clearTimeout(Bx)})),f1.on("scroll",this.onScroll=function(){var y2=f1.getScrollInfo(),WC=f1.getWrapperElement().getBoundingClientRect();I2||(I2=f1.getScrollInfo());var G3=n0+I2.top-y2.top,yk=G3-(T1.pageYOffset||(g1.documentElement||g1.body).scrollTop);if(r0||(yk+=V1.offsetHeight),yk<=WC.top||yk>=WC.bottom)return zh.close();V1.style.top=G3+"px",V1.style.left=N0+I2.left-y2.left+"px"}),lh.on(V1,"dblclick",function(y2){var WC=xh(V1,y2.target||y2.srcElement);WC&&WC.hintId!=null&&(t1.changeActive(WC.hintId),t1.pick())}),lh.on(V1,"click",function(y2){var WC=xh(V1,y2.target||y2.srcElement);WC&&WC.hintId!=null&&(t1.changeActive(WC.hintId),zh.options.completeOnSingleClick&&t1.pick())}),lh.on(V1,"mousedown",function(){setTimeout(function(){f1.focus()},20)});var w2=this.getSelectedHintRange();return w2.from===0&&w2.to===0||this.scrollToActive(),lh.signal(n1,"select",o0[this.selectedHint],V1.childNodes[this.selectedHint]),!0}function Uh(zh,n1,t1,f1){if(zh.async)zh(n1,f1,t1);else{var g1=zh(n1,t1);g1&&g1.then?g1.then(f1):f1(g1)}}ah.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&lh.signal(this.data,"close"),this.widget&&this.widget.close(),lh.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(zh,n1){var t1=zh.list[n1],f1=this;this.cm.operation(function(){t1.hint?t1.hint(f1.cm,zh,t1):f1.cm.replaceRange(_h(t1),t1.from||zh.from,t1.to||zh.to,"complete"),lh.signal(zh,"pick",t1),f1.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(ph(this.debounce),this.debounce=0);var zh=this.startPos;this.data&&(zh=this.data.from);var n1=this.cm.getCursor(),t1=this.cm.getLine(n1.line);if(n1.line!=this.startPos.line||t1.length-n1.ch!=this.startLen-this.startPos.ch||n1.ch=this.data.list.length?zh=n1?this.data.list.length-1:0:zh<0&&(zh=n1?0:this.data.list.length-1),this.selectedHint!=zh){var t1=this.hints.childNodes[this.selectedHint];t1&&(t1.className=t1.className.replace(" CodeMirror-hint-active",""),t1.removeAttribute("aria-selected")),(t1=this.hints.childNodes[this.selectedHint=zh]).className+=" CodeMirror-hint-active",t1.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",t1.id),this.scrollToActive(),lh.signal(this.data,"select",this.data.list[this.selectedHint],t1)}},scrollToActive:function(){var zh=this.getSelectedHintRange(),n1=this.hints.childNodes[zh.from],t1=this.hints.childNodes[zh.to],f1=this.hints.firstChild;n1.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=t1.offsetTop+t1.offsetHeight-this.hints.clientHeight+f1.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var zh=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-zh),to:Math.min(this.data.list.length-1,this.selectedHint+zh)}}},lh.registerHelper("hint","auto",{resolve:function(zh,n1){var t1,f1=zh.getHelpers(n1,"hint");if(f1.length){var g1=function(T1,V1,a0){var o0=function(B0,iy){if(!B0.somethingSelected())return iy;for(var Hy=[],yv=0;yv0?V1(Hy):B0(iy+1)})})(0)};return g1.async=!0,g1.supportsSelection=!0,g1}return(t1=zh.getHelper(zh.getCursor(),"hintWords"))?function(T1){return lh.hint.fromList(T1,{words:t1})}:lh.hint.anyword?function(T1,V1){return lh.hint.anyword(T1,V1)}:function(){}}}),lh.registerHelper("hint","fromList",function(zh,n1){var t1,f1=zh.getCursor(),g1=zh.getTokenAt(f1),T1=lh.Pos(f1.line,g1.start),V1=f1;g1.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};lh.defineOption("hintOptions",null)}(CodeMirror),function(lh){function ah(_h,xh,Oh,Uh){if(Oh&&Oh.call){var Fh=Oh;Oh=null}else Fh=ph(_h,Oh,"rangeFinder");typeof xh=="number"&&(xh=lh.Pos(xh,0));var zh=ph(_h,Oh,"minFoldSize");function n1(T1){var V1=Fh(_h,xh);if(!V1||V1.to.line-V1.from.line_h.firstLine();)xh=lh.Pos(xh.line-1,0),t1=n1(!1);if(t1&&!t1.cleared&&Uh!=="unfold"){var f1=function(T1,V1,a0){var o0=ph(T1,V1,"widget");if(typeof o0=="function"&&(o0=o0(a0.from,a0.to)),typeof o0=="string"){var B0=document.createTextNode(o0);(o0=document.createElement("span")).appendChild(B0),o0.className="CodeMirror-foldmarker"}else o0&&(o0=o0.cloneNode(!0));return o0}(_h,Oh,t1);lh.on(f1,"mousedown",function(T1){g1.clear(),lh.e_preventDefault(T1)});var g1=_h.markText(t1.from,t1.to,{replacedWith:f1,clearOnEnter:ph(_h,Oh,"clearOnEnter"),__isFold:!0});g1.on("clear",function(T1,V1){lh.signal(_h,"unfold",_h,T1,V1)}),lh.signal(_h,"fold",_h,t1.from,t1.to)}}lh.newFoldFunction=function(_h,xh){return function(Oh,Uh){ah(Oh,Uh,{rangeFinder:_h,widget:xh})}},lh.defineExtension("foldCode",function(_h,xh,Oh){ah(this,_h,xh,Oh)}),lh.defineExtension("isFolded",function(_h){for(var xh=this.findMarksAt(_h),Oh=0;Oh=0;f1--){var g1=n1[f1].from(),T1=n1[f1].to();g1.line>=zh||(T1.line>=zh&&(T1=ph(zh,0)),zh=g1.line,t1==null?Fh.uncomment(g1,T1,Uh)?t1="un":(Fh.lineComment(g1,T1,Uh),t1="line"):t1=="un"?Fh.uncomment(g1,T1,Uh):Fh.lineComment(g1,T1,Uh))}}),lh.defineExtension("lineComment",function(Uh,Fh,zh){zh||(zh=ah);var n1=this,t1=Oh(n1,Uh),f1=n1.getLine(Uh.line);if(f1!=null&&(g1=Uh,T1=f1,!/\bstring\b/.test(n1.getTokenTypeAt(ph(g1.line,0)))||/^[\'\"\`]/.test(T1))){var g1,T1,V1=zh.lineComment||t1.lineComment;if(V1){var a0=Math.min(Fh.ch!=0||Fh.line==Uh.line?Fh.line+1:Fh.line,n1.lastLine()+1),o0=zh.padding==null?" ":zh.padding,B0=zh.commentBlankLines||Uh.line==Fh.line;n1.operation(function(){if(zh.indent){for(var iy=null,Hy=Uh.line;Hyyv.length)&&(iy=yv)}for(Hy=Uh.line;HyT1||n1.operation(function(){if(zh.fullLines!=0){var a0=ch.test(n1.getLine(T1));n1.replaceRange(V1+g1,ph(T1)),n1.replaceRange(f1+V1,ph(Uh.line,0));var o0=zh.blockCommentLead||t1.blockCommentLead;if(o0!=null)for(var B0=Uh.line+1;B0<=T1;++B0)(B0!=T1||a0)&&n1.replaceRange(o0+V1,ph(B0,0))}else{var iy=_h(n1.getCursor("to"),Fh)==0,Hy=!n1.somethingSelected();n1.replaceRange(g1,Fh),iy&&n1.setSelection(Hy?Fh:n1.getCursor("from"),Fh),n1.replaceRange(f1,Uh)}})}}else(zh.lineComment||t1.lineComment)&&zh.fullLines!=0&&n1.lineComment(Uh,Fh,zh)}),lh.defineExtension("uncomment",function(Uh,Fh,zh){zh||(zh=ah);var n1,t1=this,f1=Oh(t1,Uh),g1=Math.min(Fh.ch!=0||Fh.line==Uh.line?Fh.line:Fh.line-1,t1.lastLine()),T1=Math.min(Uh.line,g1),V1=zh.lineComment||f1.lineComment,a0=[],o0=zh.padding==null?" ":zh.padding;e:if(V1){for(var B0=T1;B0<=g1;++B0){var iy=t1.getLine(B0),Hy=iy.indexOf(V1);if(Hy>-1&&!/comment/.test(t1.getTokenTypeAt(ph(B0,Hy+1)))&&(Hy=-1),Hy==-1&&ch.test(iy)||Hy>-1&&ch.test(iy.slice(0,Hy)))break e;a0.push(iy)}if(t1.operation(function(){for(var Y2=T1;Y2<=g1;++Y2){var I2=a0[Y2-T1],gx=I2.indexOf(V1),TA=gx+V1.length;gx<0||(I2.slice(TA,TA+o0.length)==o0&&(TA+=o0.length),n1=!0,t1.replaceRange("",ph(Y2,gx),ph(Y2,TA)))}}),n1)return!0}var yv=zh.blockCommentStart||f1.blockCommentStart,ky=zh.blockCommentEnd||f1.blockCommentEnd;if(!yv||!ky)return!1;var cv=zh.blockCommentLead||f1.blockCommentLead,N0=t1.getLine(T1),n0=N0.indexOf(yv);if(n0==-1)return!1;var r0=g1==T1?N0:t1.getLine(g1),ty=r0.indexOf(ky,g1==T1?n0+yv.length:0),Y0=ph(T1,n0+1),X0=ph(g1,ty+1);if(ty==-1||!/comment/.test(t1.getTokenTypeAt(Y0))||!/comment/.test(t1.getTokenTypeAt(X0))||t1.getRange(Y0,X0,` + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`,Fh&&(U1=Jh.ownerDocument.defaultView.scrollY),Wh.input.focus(),Fh&&Jh.ownerDocument.defaultView.scrollTo(null,U1),Wh.input.reset(),Qh.somethingSelected()||(Jh.value=Mh.prevInput=" "),Mh.contextMenuPending=ey,Wh.selForContextMenu=Qh.doc.sel,clearTimeout(Wh.detectingSelectAll),Oh&&Uh>=9&&by(),N0){$4(Ah);var w0=function(){ZO(window,"mouseup",w0),setTimeout(ey,20)};tC(window,"mouseup",w0)}else setTimeout(ey,50)}function by(){if(Jh.selectionStart!=null){var Vy=Qh.somethingSelected(),Ny="​"+(Vy?Jh.value:"");Jh.value="⇚",Jh.value=Ny,Mh.prevInput=Vy?"":"​",Jh.selectionStart=1,Jh.selectionEnd=Ny.length,Wh.selForContextMenu=Qh.doc.sel}}function ey(){if(Mh.contextMenuPending==ey&&(Mh.contextMenuPending=!1,Mh.wrapper.style.cssText=t0,Jh.style.cssText=J1,Oh&&Uh<9&&Wh.scrollbars.setScrollTop(Wh.scroller.scrollTop=F1),Jh.selectionStart!=null)){(!Oh||Oh&&Uh<9)&&by();var Vy=0,Ny=function(){Wh.selForContextMenu==Qh.doc.sel&&Jh.selectionStart==0&&Jh.selectionEnd>0&&Mh.prevInput=="​"?LO(Qh,Rve)(Qh):Vy++<10?Wh.detectingSelectAll=setTimeout(Ny,500):(Wh.selForContextMenu=null,Wh.input.reset())};Wh.detectingSelectAll=setTimeout(Ny,200)}}},l$.prototype.readOnlyChanged=function(Ah){Ah||this.reset(),this.textarea.disabled=Ah=="nocursor",this.textarea.readOnly=!!Ah},l$.prototype.setUneditable=function(){},l$.prototype.needsContentAttribute=!1,function(Ah){var Mh=Ah.optionHandlers;function Qh(Wh,Jh,_1,F1){Ah.defaults[Wh]=Jh,_1&&(Mh[Wh]=F1?function(U1,J1,t0){t0!=EF&&_1(U1,J1,t0)}:_1)}Ah.defineOption=Qh,Ah.Init=EF,Qh("value","",function(Wh,Jh){return Wh.setValue(Jh)},!0),Qh("mode",null,function(Wh,Jh){Wh.doc.modeOption=Jh,Wle(Wh)},!0),Qh("indentUnit",2,Wle,!0),Qh("indentWithTabs",!1),Qh("smartIndent",!0),Qh("tabSize",4,function(Wh){UX(Wh),UP(Wh),$R(Wh)},!0),Qh("lineSeparator",null,function(Wh,Jh){if(Wh.doc.lineSep=Jh,Jh){var _1=[],F1=Wh.doc.first;Wh.doc.iter(function(J1){for(var t0=0;;){var E0=J1.text.indexOf(Jh,t0);if(E0==-1)break;t0=E0+Jh.length,_1.push(tv(F1,E0))}F1++});for(var U1=_1.length-1;U1>=0;U1--)xY(Wh.doc,Jh,_1[U1],tv(_1[U1].line,_1[U1].ch+Jh.length))}}),Qh("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(Wh,Jh,_1){Wh.state.specialChars=RegExp(Jh.source+(Jh.test(" ")?"":"| "),"g"),_1!=EF&&Wh.refresh()}),Qh("specialCharPlaceholder",ave,function(Wh){return Wh.refresh()},!0),Qh("electricChars",!0),Qh("inputStyle",B0?"contenteditable":"textarea",function(){throw Error("inputStyle can not (yet) be changed in a running editor")},!0),Qh("spellcheck",!1,function(Wh,Jh){return Wh.getInputField().spellcheck=Jh},!0),Qh("autocorrect",!1,function(Wh,Jh){return Wh.getInputField().autocorrect=Jh},!0),Qh("autocapitalize",!1,function(Wh,Jh){return Wh.getInputField().autocapitalize=Jh},!0),Qh("rtlMoveVisually",!yv),Qh("wholeLineUpdateBefore",!0),Qh("theme","default",function(Wh){ewe(Wh),yY(Wh)},!0),Qh("keyMap","default",function(Wh,Jh,_1){var F1=Jne(Jh),U1=_1!=EF&&Jne(_1);U1&&U1.detach&&U1.detach(Wh,F1),F1.attach&&F1.attach(Wh,U1||null)}),Qh("extraKeys",null),Qh("configureMouse",null),Qh("lineWrapping",!1,lPe,!0),Qh("gutters",[],function(Wh,Jh){Wh.display.gutterSpecs=Gle(Jh,Wh.options.lineNumbers),yY(Wh)},!0),Qh("fixedGutter",!0,function(Wh,Jh){Wh.display.gutters.style.left=Jh?Rle(Wh.display)+"px":"0",Wh.refresh()},!0),Qh("coverGutterNextToScrollbar",!1,function(Wh){return mY(Wh)},!0),Qh("scrollbarStyle","native",function(Wh){fve(Wh),mY(Wh),Wh.display.scrollbars.setScrollTop(Wh.doc.scrollTop),Wh.display.scrollbars.setScrollLeft(Wh.doc.scrollLeft)},!0),Qh("lineNumbers",!1,function(Wh,Jh){Wh.display.gutterSpecs=Gle(Wh.options.gutters,Jh),yY(Wh)},!0),Qh("firstLineNumber",1,yY,!0),Qh("lineNumberFormatter",function(Wh){return Wh},yY,!0),Qh("showCursorWhenSelecting",!1,WU,!0),Qh("resetSelectionOnContextMenu",!0),Qh("lineWiseCopyCut",!0),Qh("pasteLinesPerSelection",!0),Qh("selectionsMayTouch",!1),Qh("readOnly",!1,function(Wh,Jh){Jh=="nocursor"&&(pY(Wh),Wh.display.input.blur()),Wh.display.input.readOnlyChanged(Jh)}),Qh("screenReaderLabel",null,function(Wh,Jh){Jh=Jh===""?null:Jh,Wh.display.input.screenReaderLabelChanged(Jh)}),Qh("disableInput",!1,function(Wh,Jh){Jh||Wh.display.input.reset()},!0),Qh("dragDrop",!0,sue),Qh("allowDropFileTypes",null),Qh("cursorBlinkRate",530),Qh("cursorScrollMargin",0),Qh("cursorHeight",1,WU,!0),Qh("singleCursorHeightPerLine",!0,WU,!0),Qh("workTime",100),Qh("workDelay",100),Qh("flattenSpans",!0,UX,!0),Qh("addModeClass",!1,UX,!0),Qh("pollInterval",100),Qh("undoDepth",200,function(Wh,Jh){return Wh.doc.history.undoDepth=Jh}),Qh("historyEventDelay",1250),Qh("viewportMargin",10,function(Wh){return Wh.refresh()},!0),Qh("maxHighlightLength",1e4,UX,!0),Qh("moveInputWithCursor",!0,function(Wh,Jh){Jh||Wh.display.input.resetPosition()}),Qh("tabindex",null,function(Wh,Jh){return Wh.display.input.getField().tabIndex=Jh||""}),Qh("autofocus",null),Qh("direction","ltr",function(Wh,Jh){return Wh.doc.setDirection(Jh)},!0),Qh("phrases",null)}(PO),function(Ah){var Mh=Ah.optionHandlers,Qh=Ah.helpers={};Ah.prototype={constructor:Ah,focus:function(){G2(this).focus(),this.display.input.focus()},setOption:function(Wh,Jh){var _1=this.options,F1=_1[Wh];_1[Wh]==Jh&&Wh!="mode"||(_1[Wh]=Jh,Mh.hasOwnProperty(Wh)&&LO(this,Mh[Wh])(this,Jh,F1),F$(this,"optionChange",this,Wh))},getOption:function(Wh){return this.options[Wh]},getDoc:function(){return this.doc},addKeyMap:function(Wh,Jh){this.state.keyMaps[Jh?"push":"unshift"](Jne(Wh))},removeKeyMap:function(Wh){for(var Jh=this.state.keyMaps,_1=0;_1_1&&(p7(this,U1.head.line,Wh,!0),_1=U1.head.line,F1==this.doc.sel.primIndex&&gY(this));else{var J1=U1.from(),t0=U1.to(),E0=Math.max(_1,J1.line);_1=Math.min(this.lastLine(),t0.line-(t0.ch?0:1))+1;for(var w0=E0;w0<_1;++w0)p7(this,w0,Wh);var by=this.doc.sel.ranges;J1.ch==0&&Jh.length==by.length&&by[F1].from().ch>0&&Qle(this.doc,F1,new vk(J1,by[F1].to()),G3)}}}),getTokenAt:function(Wh,Jh){return pN(this,Wh,Jh)},getLineTokens:function(Wh,Jh){return pN(this,tv(Wh),Jh,!0)},getTokenTypeAt:function(Wh){Wh=EC(this.doc,Wh);var Jh,_1=_2(this,mx(this.doc,Wh.line)),F1=0,U1=(_1.length-1)/2,J1=Wh.ch;if(J1==0)Jh=_1[2];else for(;;){var t0=F1+U1>>1;if((t0?_1[2*t0-1]:0)>=J1)U1=t0;else{if(!(_1[2*t0+1]J1&&(Wh=J1,U1=!0),F1=mx(this.doc,Wh)}else F1=Wh;return Dne(this,F1,{top:0,left:0},Jh||"page",_1||U1).top+(U1?this.doc.height-gF(F1):0)},defaultTextHeight:function(){return wH(this.display)},defaultCharWidth:function(){return fY(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Wh,Jh,_1,F1,U1){var J1,t0,E0=this.display,w0=(Wh=r6(this,EC(this.doc,Wh))).bottom,by=Wh.left;if(Jh.style.position="absolute",Jh.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Jh),E0.sizer.appendChild(Jh),F1=="over")w0=Wh.top;else if(F1=="above"||F1=="near"){var ey=Math.max(E0.wrapper.clientHeight,this.doc.height),Vy=Math.max(E0.sizer.clientWidth,E0.lineSpace.clientWidth);(F1=="above"||Wh.bottom+Jh.offsetHeight>ey)&&Wh.top>Jh.offsetHeight?w0=Wh.top-Jh.offsetHeight:Wh.bottom+Jh.offsetHeight<=ey&&(w0=Wh.bottom),by+Jh.offsetWidth>Vy&&(by=Vy-Jh.offsetWidth)}Jh.style.top=w0+"px",Jh.style.left=Jh.style.right="",U1=="right"?(by=E0.sizer.clientWidth-Jh.offsetWidth,Jh.style.right="0px"):(U1=="left"?by=0:U1=="middle"&&(by=(E0.sizer.clientWidth-Jh.offsetWidth)/2),Jh.style.left=by+"px"),_1&&((t0=$X(J1=this,{left:by,top:w0,right:by+Jh.offsetWidth,bottom:w0+Jh.offsetHeight})).scrollTop!=null&&RX(J1,t0.scrollTop),t0.scrollLeft!=null&&KU(J1,t0.scrollLeft))},triggerOnKeyDown:eD(nue),triggerOnKeyPress:eD(KX),triggerOnKeyUp:iue,triggerOnMouseDown:eD(rue),execCommand:function(Wh){if(WX.hasOwnProperty(Wh))return WX[Wh].call(null,this)},triggerElectric:eD(function(Wh){lue(this,Wh)}),findPosH:function(Wh,Jh,_1,F1){var U1=1;Jh<0&&(U1=-1,Jh=-Jh);for(var J1=EC(this.doc,Wh),t0=0;t00&&t0(Jh.charAt(_1-1));)--_1;for(;F1.5||this.options.lineWrapping)&&AX(this),F$(this,"refresh",this)}),swapDoc:eD(function(Wh){var Jh=this.doc;return Jh.cm=null,this.state.selectingText&&this.state.selectingText(),vve(this,Wh),UP(this),this.display.input.reset(),NX(this,Wh.scrollLeft,Wh.scrollTop),this.curOp.forceScroll=!0,_w(this,"swapDoc",this,Jh),Jh}),phrase:function(Wh){var Jh=this.options.phrases;return Jh&&Object.prototype.hasOwnProperty.call(Jh,Wh)?Jh[Wh]:Wh},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},r7(Ah),Ah.registerHelper=function(Wh,Jh,_1){Qh.hasOwnProperty(Wh)||(Qh[Wh]=Ah[Wh]={_global:[]}),Qh[Wh][Jh]=_1},Ah.registerGlobalHelper=function(Wh,Jh,_1,F1){Ah.registerHelper(Wh,Jh,F1),Qh[Wh]._global.push({pred:_1,val:F1})}}(PO);var _L="iter insert remove copy getEditor constructor".split(" ");for(var yL in p5.prototype)p5.prototype.hasOwnProperty(yL)&&y2(_L,yL)<0&&(PO.prototype[yL]=function(Ah){return function(){return Ah.apply(this.doc,arguments)}}(p5.prototype[yL]));return r7(p5),PO.inputStyles={textarea:l$,contenteditable:c$},PO.defineMode=function(Ah){PO.defaults.mode||Ah=="null"||(PO.defaults.mode=Ah),jU.apply(this,arguments)},PO.defineMIME=function(Ah,Mh){hL[Ah]=Mh},PO.defineMode("null",function(){return{token:function(Ah){return Ah.skipToEnd()}}}),PO.defineMIME("text/plain","null"),PO.defineExtension=function(Ah,Mh){PO.prototype[Ah]=Mh},PO.defineDocExtension=function(Ah,Mh){p5.prototype[Ah]=Mh},PO.fromTextArea=function(Ah,Mh){if((Mh=Mh?mw(Mh):{}).value=Ah.value,!Mh.tabindex&&Ah.tabIndex&&(Mh.tabindex=Ah.tabIndex),!Mh.placeholder&&Ah.placeholder&&(Mh.placeholder=Ah.placeholder),Mh.autofocus==null){var Qh=Y2(Ah.ownerDocument);Mh.autofocus=Qh==Ah||Ah.getAttribute("autofocus")!=null&&Qh==document.body}function Wh(){Ah.value=U1.getValue()}var Jh;if(Ah.form&&(tC(Ah.form,"submit",Wh),!Mh.leaveSubmitMethodAlone)){var _1=Ah.form;Jh=_1.submit;try{var F1=_1.submit=function(){Wh(),_1.submit=Jh,_1.submit(),_1.submit=F1}}catch{}}Mh.finishInit=function(J1){J1.save=Wh,J1.getTextArea=function(){return Ah},J1.toTextArea=function(){J1.toTextArea=isNaN,Wh(),Ah.parentNode.removeChild(J1.getWrapperElement()),Ah.style.display="",Ah.form&&(ZO(Ah.form,"submit",Wh),Mh.leaveSubmitMethodAlone||typeof Ah.form.submit!="function"||(Ah.form.submit=Jh))}},Ah.style.display="none";var U1=PO(function(J1){return Ah.parentNode.insertBefore(J1,Ah.nextSibling)},Mh);return U1},function(Ah){Ah.off=ZO,Ah.on=tC,Ah.wheelEventPixels=Yle,Ah.Doc=p5,Ah.splitLines=wI,Ah.countColumn=$3,Ah.findColumn=HC,Ah.isWordChar=qv,Ah.Pass=WC,Ah.signal=F$,Ah.Line=lY,Ah.changeEnd=QU,Ah.scrollbarModel=dve,Ah.Pos=tv,Ah.cmpPos=Ew,Ah.modes=RP,Ah.mimeModes=hL,Ah.resolveMode=CR,Ah.getMode=dL,Ah.modeExtensions=o7,Ah.extendMode=_H,Ah.copyState=IP,Ah.startState=s7,Ah.innerMode=f5,Ah.commands=WX,Ah.keyMap=g5,Ah.keyName=Vve,Ah.isModifierKey=qve,Ah.lookupKey=AY,Ah.normalizeKeyMap=Gve,Ah.StringStream=B$,Ah.SharedTextMarker=YX,Ah.TextMarker=JU,Ah.LineWidget=qX,Ah.e_preventDefault=fN,Ah.e_stopPropagation=h5,Ah.e_stop=$4,Ah.addClass=I2,Ah.contains=t2,Ah.rmClass=ty,Ah.keyNames=ej}(PO),PO.version="5.65.9",PO},(window||self).CodeMirror=e$K(),function(lh){function ah(zh,n1){if(this.cm=zh,this.options=n1,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var t1=this;zh.on("cursorActivity",this.activityFunc=function(){t1.cursorActivity()})}}lh.showHint=function(zh,n1,t1){if(!n1)return zh.showHint(t1);t1&&t1.async&&(n1.async=!0);var f1={hint:n1};if(t1)for(var g1 in t1)f1[g1]=t1[g1];return zh.showHint(f1)},lh.defineExtension("showHint",function(zh){zh=function(g1,T1,V1){var a0=g1.options.hintOptions,o0={};for(var B0 in Fh)o0[B0]=Fh[B0];if(a0)for(var B0 in a0)a0[B0]!==void 0&&(o0[B0]=a0[B0]);if(V1)for(var B0 in V1)V1[B0]!==void 0&&(o0[B0]=V1[B0]);return o0.hint.resolve&&(o0.hint=o0.hint.resolve(g1,T1)),o0}(this,this.getCursor("start"),zh);var n1=this.listSelections();if(!(n1.length>1)){if(this.somethingSelected()){if(!zh.hint.supportsSelection)return;for(var t1=0;t1V1.clientHeight+1;if(setTimeout(function(){I2=f1.getScrollInfo()}),gx.bottom-Y2>0){var N2=gx.bottom-gx.top,G2=gx.top-(cv.bottom-cv.top)-2;Y2-gx.topG2&&(V1.style.height=(N2=G2)+"px"),V1.style.top=(n0=cv.top-N2)+Y0+"px",r0=!1):V1.style.height=Y2-gx.top-2+"px"}var Bx,mw=gx.right-t2;if(TA&&(mw+=f1.display.nativeBarWidth),mw>0&&(gx.right-gx.left>t2&&(V1.style.width=t2-5+"px",mw-=gx.right-gx.left-t2),V1.style.left=(N0=Math.max(cv.left-mw-ty,0))+"px"),TA)for(var $3=V1.firstChild;$3;$3=$3.nextSibling)$3.style.paddingRight=f1.display.nativeBarWidth+"px";f1.addKeyMap(this.keyMap=function(y2,WC){var G3={Up:function(){WC.moveFocus(-1)},Down:function(){WC.moveFocus(1)},PageUp:function(){WC.moveFocus(1-WC.menuSize(),!0)},PageDown:function(){WC.moveFocus(WC.menuSize()-1,!0)},Home:function(){WC.setFocus(0)},End:function(){WC.setFocus(WC.length-1)},Enter:WC.pick,Tab:WC.pick,Esc:WC.close};/Mac/.test(navigator.platform)&&(G3["Ctrl-P"]=function(){WC.moveFocus(-1)},G3["Ctrl-N"]=function(){WC.moveFocus(1)});var yk=y2.options.customKeys,Zk=yk?{}:G3;function HC(b2,eC){var s3;s3=typeof eC!="string"?function(Zy){return eC(Zy,WC)}:G3.hasOwnProperty(eC)?G3[eC]:eC,Zk[b2]=s3}if(yk)for(var O3 in yk)yk.hasOwnProperty(O3)&&HC(O3,yk[O3]);var sx=y2.options.extraKeys;if(sx)for(var O3 in sx)sx.hasOwnProperty(O3)&&HC(O3,sx[O3]);return Zk}(zh,{moveFocus:function(y2,WC){t1.changeActive(t1.selectedHint+y2,WC)},setFocus:function(y2){t1.changeActive(y2)},menuSize:function(){return t1.screenAmount()},length:o0.length,close:function(){zh.close()},pick:function(){t1.pick()},data:n1})),zh.options.closeOnUnfocus&&(f1.on("blur",this.onBlur=function(){Bx=setTimeout(function(){zh.close()},100)}),f1.on("focus",this.onFocus=function(){clearTimeout(Bx)})),f1.on("scroll",this.onScroll=function(){var y2=f1.getScrollInfo(),WC=f1.getWrapperElement().getBoundingClientRect();I2||(I2=f1.getScrollInfo());var G3=n0+I2.top-y2.top,yk=G3-(T1.pageYOffset||(g1.documentElement||g1.body).scrollTop);if(r0||(yk+=V1.offsetHeight),yk<=WC.top||yk>=WC.bottom)return zh.close();V1.style.top=G3+"px",V1.style.left=N0+I2.left-y2.left+"px"}),lh.on(V1,"dblclick",function(y2){var WC=xh(V1,y2.target||y2.srcElement);WC&&WC.hintId!=null&&(t1.changeActive(WC.hintId),t1.pick())}),lh.on(V1,"click",function(y2){var WC=xh(V1,y2.target||y2.srcElement);WC&&WC.hintId!=null&&(t1.changeActive(WC.hintId),zh.options.completeOnSingleClick&&t1.pick())}),lh.on(V1,"mousedown",function(){setTimeout(function(){f1.focus()},20)});var w2=this.getSelectedHintRange();return w2.from===0&&w2.to===0||this.scrollToActive(),lh.signal(n1,"select",o0[this.selectedHint],V1.childNodes[this.selectedHint]),!0}function Uh(zh,n1,t1,f1){if(zh.async)zh(n1,f1,t1);else{var g1=zh(n1,t1);g1&&g1.then?g1.then(f1):f1(g1)}}ah.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&lh.signal(this.data,"close"),this.widget&&this.widget.close(),lh.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(zh,n1){var t1=zh.list[n1],f1=this;this.cm.operation(function(){t1.hint?t1.hint(f1.cm,zh,t1):f1.cm.replaceRange(yh(t1),t1.from||zh.from,t1.to||zh.to,"complete"),lh.signal(zh,"pick",t1),f1.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(ph(this.debounce),this.debounce=0);var zh=this.startPos;this.data&&(zh=this.data.from);var n1=this.cm.getCursor(),t1=this.cm.getLine(n1.line);if(n1.line!=this.startPos.line||t1.length-n1.ch!=this.startLen-this.startPos.ch||n1.ch=this.data.list.length?zh=n1?this.data.list.length-1:0:zh<0&&(zh=n1?0:this.data.list.length-1),this.selectedHint!=zh){var t1=this.hints.childNodes[this.selectedHint];t1&&(t1.className=t1.className.replace(" CodeMirror-hint-active",""),t1.removeAttribute("aria-selected")),(t1=this.hints.childNodes[this.selectedHint=zh]).className+=" CodeMirror-hint-active",t1.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",t1.id),this.scrollToActive(),lh.signal(this.data,"select",this.data.list[this.selectedHint],t1)}},scrollToActive:function(){var zh=this.getSelectedHintRange(),n1=this.hints.childNodes[zh.from],t1=this.hints.childNodes[zh.to],f1=this.hints.firstChild;n1.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=t1.offsetTop+t1.offsetHeight-this.hints.clientHeight+f1.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var zh=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-zh),to:Math.min(this.data.list.length-1,this.selectedHint+zh)}}},lh.registerHelper("hint","auto",{resolve:function(zh,n1){var t1,f1=zh.getHelpers(n1,"hint");if(f1.length){var g1=function(T1,V1,a0){var o0=function(B0,iy){if(!B0.somethingSelected())return iy;for(var Hy=[],yv=0;yv0?V1(Hy):B0(iy+1)})})(0)};return g1.async=!0,g1.supportsSelection=!0,g1}return(t1=zh.getHelper(zh.getCursor(),"hintWords"))?function(T1){return lh.hint.fromList(T1,{words:t1})}:lh.hint.anyword?function(T1,V1){return lh.hint.anyword(T1,V1)}:function(){}}}),lh.registerHelper("hint","fromList",function(zh,n1){var t1,f1=zh.getCursor(),g1=zh.getTokenAt(f1),T1=lh.Pos(f1.line,g1.start),V1=f1;g1.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};lh.defineOption("hintOptions",null)}(CodeMirror),function(lh){function ah(yh,xh,Oh,Uh){if(Oh&&Oh.call){var Fh=Oh;Oh=null}else Fh=ph(yh,Oh,"rangeFinder");typeof xh=="number"&&(xh=lh.Pos(xh,0));var zh=ph(yh,Oh,"minFoldSize");function n1(T1){var V1=Fh(yh,xh);if(!V1||V1.to.line-V1.from.lineyh.firstLine();)xh=lh.Pos(xh.line-1,0),t1=n1(!1);if(t1&&!t1.cleared&&Uh!=="unfold"){var f1=function(T1,V1,a0){var o0=ph(T1,V1,"widget");if(typeof o0=="function"&&(o0=o0(a0.from,a0.to)),typeof o0=="string"){var B0=document.createTextNode(o0);(o0=document.createElement("span")).appendChild(B0),o0.className="CodeMirror-foldmarker"}else o0&&(o0=o0.cloneNode(!0));return o0}(yh,Oh,t1);lh.on(f1,"mousedown",function(T1){g1.clear(),lh.e_preventDefault(T1)});var g1=yh.markText(t1.from,t1.to,{replacedWith:f1,clearOnEnter:ph(yh,Oh,"clearOnEnter"),__isFold:!0});g1.on("clear",function(T1,V1){lh.signal(yh,"unfold",yh,T1,V1)}),lh.signal(yh,"fold",yh,t1.from,t1.to)}}lh.newFoldFunction=function(yh,xh){return function(Oh,Uh){ah(Oh,Uh,{rangeFinder:yh,widget:xh})}},lh.defineExtension("foldCode",function(yh,xh,Oh){ah(this,yh,xh,Oh)}),lh.defineExtension("isFolded",function(yh){for(var xh=this.findMarksAt(yh),Oh=0;Oh=0;f1--){var g1=n1[f1].from(),T1=n1[f1].to();g1.line>=zh||(T1.line>=zh&&(T1=ph(zh,0)),zh=g1.line,t1==null?Fh.uncomment(g1,T1,Uh)?t1="un":(Fh.lineComment(g1,T1,Uh),t1="line"):t1=="un"?Fh.uncomment(g1,T1,Uh):Fh.lineComment(g1,T1,Uh))}}),lh.defineExtension("lineComment",function(Uh,Fh,zh){zh||(zh=ah);var n1=this,t1=Oh(n1,Uh),f1=n1.getLine(Uh.line);if(f1!=null&&(g1=Uh,T1=f1,!/\bstring\b/.test(n1.getTokenTypeAt(ph(g1.line,0)))||/^[\'\"\`]/.test(T1))){var g1,T1,V1=zh.lineComment||t1.lineComment;if(V1){var a0=Math.min(Fh.ch!=0||Fh.line==Uh.line?Fh.line+1:Fh.line,n1.lastLine()+1),o0=zh.padding==null?" ":zh.padding,B0=zh.commentBlankLines||Uh.line==Fh.line;n1.operation(function(){if(zh.indent){for(var iy=null,Hy=Uh.line;Hyyv.length)&&(iy=yv)}for(Hy=Uh.line;HyT1||n1.operation(function(){if(zh.fullLines!=0){var a0=ch.test(n1.getLine(T1));n1.replaceRange(V1+g1,ph(T1)),n1.replaceRange(f1+V1,ph(Uh.line,0));var o0=zh.blockCommentLead||t1.blockCommentLead;if(o0!=null)for(var B0=Uh.line+1;B0<=T1;++B0)(B0!=T1||a0)&&n1.replaceRange(o0+V1,ph(B0,0))}else{var iy=yh(n1.getCursor("to"),Fh)==0,Hy=!n1.somethingSelected();n1.replaceRange(g1,Fh),iy&&n1.setSelection(Hy?Fh:n1.getCursor("from"),Fh),n1.replaceRange(f1,Uh)}})}}else(zh.lineComment||t1.lineComment)&&zh.fullLines!=0&&n1.lineComment(Uh,Fh,zh)}),lh.defineExtension("uncomment",function(Uh,Fh,zh){zh||(zh=ah);var n1,t1=this,f1=Oh(t1,Uh),g1=Math.min(Fh.ch!=0||Fh.line==Uh.line?Fh.line:Fh.line-1,t1.lastLine()),T1=Math.min(Uh.line,g1),V1=zh.lineComment||f1.lineComment,a0=[],o0=zh.padding==null?" ":zh.padding;e:if(V1){for(var B0=T1;B0<=g1;++B0){var iy=t1.getLine(B0),Hy=iy.indexOf(V1);if(Hy>-1&&!/comment/.test(t1.getTokenTypeAt(ph(B0,Hy+1)))&&(Hy=-1),Hy==-1&&ch.test(iy)||Hy>-1&&ch.test(iy.slice(0,Hy)))break e;a0.push(iy)}if(t1.operation(function(){for(var Y2=T1;Y2<=g1;++Y2){var I2=a0[Y2-T1],gx=I2.indexOf(V1),TA=gx+V1.length;gx<0||(I2.slice(TA,TA+o0.length)==o0&&(TA+=o0.length),n1=!0,t1.replaceRange("",ph(Y2,gx),ph(Y2,TA)))}}),n1)return!0}var yv=zh.blockCommentStart||f1.blockCommentStart,ky=zh.blockCommentEnd||f1.blockCommentEnd;if(!yv||!ky)return!1;var cv=zh.blockCommentLead||f1.blockCommentLead,N0=t1.getLine(T1),n0=N0.indexOf(yv);if(n0==-1)return!1;var r0=g1==T1?N0:t1.getLine(g1),ty=r0.indexOf(ky,g1==T1?n0+yv.length:0),Y0=ph(T1,n0+1),X0=ph(g1,ty+1);if(ty==-1||!/comment/.test(t1.getTokenTypeAt(Y0))||!/comment/.test(t1.getTokenTypeAt(X0))||t1.getRange(Y0,X0,` `).indexOf(ky)>-1)return!1;var uy=N0.lastIndexOf(yv,Uh.ch),aw=uy==-1?-1:N0.slice(0,Uh.ch).indexOf(ky,uy+yv.length);if(uy!=-1&&aw!=-1&&aw+ky.length!=Uh.ch)return!1;aw=r0.indexOf(ky,Fh.ch);var t2=r0.slice(Fh.ch).lastIndexOf(yv,aw-Fh.ch);return uy=aw==-1||t2==-1?-1:Fh.ch+t2,(aw==-1||uy==-1||uy==Fh.ch)&&(t1.operation(function(){t1.replaceRange("",ph(g1,ty-(o0&&r0.slice(ty-o0.length,ty)==o0?o0.length:0)),ph(g1,ty+ky.length));var Y2=n0+yv.length;if(o0&&N0.slice(Y2,Y2+o0.length)==o0&&(Y2+=o0.length),t1.replaceRange("",ph(T1,n0),ph(T1,Y2)),cv)for(var I2=T1+1;I2<=g1;++I2){var gx=t1.getLine(I2),TA=gx.indexOf(cv);if(TA!=-1&&!ch.test(gx.slice(0,TA))){var N2=TA+cv.length;o0&&gx.slice(N2,N2+o0.length)==o0&&(N2+=o0.length),t1.replaceRange("",ph(I2,TA),ph(I2,N2))}}}),!0)})}(CodeMirror),r$y.prototype.start=function(lh){return this.stream=lh,this.line=0,this.string=lh.string.slice(lh.start),this.startLine=lh.string,this.startPos=lh.start,this},r$y.prototype.startLinebreak=function(){return this.stream=null,this.line=this.startPos=0,this.string=` `,this.startLine="",this},r$y.prototype.copy=function(){var lh=this.copyInstance||(this.copyInstance=new r$y);return lh.stream=this.stream,lh.startPos=this.startPos,lh.line=this.line,lh.startLine=this.startLine,lh.string=this.string,lh},r$y.prototype.updateStart=function(){this.startLine=this.stream?this.line==0?this.stream.string:this.stream.lookAhead(this.line):"",this.startPos=this.startLine.length-(this.string.length-1)},r$y.prototype.ahead=function(lh){for(;;){if(lh<=this.string.length)return!0;if(this.string.charCodeAt(this.string.length-1)!==10)this.string+=` `;else{if(this.line===3||!this.stream||!this.stream.lookAhead)return!1;var ah=this.stream.lookAhead(this.line+1);if(ah==null)return!1;this.string+=ah+` -`,this.line++}}};var n$N=null;function i$z(lh,ah){this.State=function(ch,ph){function _h(Oh,Uh){this.stack=Oh,this.context=Uh}function xh(){return null}return _h.prototype.matchNext=function(Oh,Uh,Fh,zh){for(var n1=this.stack.length-1,t1=this.stack[n1],f1=ch.nodes[t1],g1=0;g1Uh&&(n$N=ky)}else T1=this.matchExpr(a0,Oh,Uh),V1=f1[++g1]}if(T1<0){if(!(Fh>0&&g1==f1.length-1))continue;Fh--,T1=Uh}if(this.go(V1),!zh&&V1===-1||this.stack.length===0||T1>Uh||(T1=this.matchNext(Oh,Uh,g1==f1.length-1?Fh:0,zh))>=0)return T1;this.stack.length=n1+1,this.stack[n1]=t1}return-1},_h.prototype.go=function(Oh){for(this.stack.pop();this.context&&this.context.depth>this.stack.length;)this.context=this.context.parent;Oh!==-1&&this.stack.push(Oh)},_h.prototype.runMaybe=function(Oh,Uh,Fh){return n$N=null,this.matchNext(Oh,Uh,Fh,!0)},_h.prototype.forward=function(Oh,Uh){var Fh=this.runMaybe(Oh,Uh,2);return Fh<0&&(this.stack.push(ch.token),Fh=this.runMaybe(Oh,Uh,0)),Fh},_h.prototype.lookahead=function(Oh,Uh,Fh){var zh=n$N,n1=new this.constructor([Fh],null);for(Oh=Oh.copy();;){Oh.updateStart();var t1=n1.runMaybe(Oh,Uh,0);if(t1<0)return n$N=zh,!1;if(n1.stack.length===0)return n$N=zh,!0;Uh=t1}},_h.prototype.matchExpr=function(Oh,Uh,Fh){if(typeof Oh=="string"){var zh=Fh+Oh.length;return Uh.ahead(zh)&&Uh.string.slice(Fh,zh)===Oh?zh:-1}if(Oh.exec){var n1=Uh.ahead(Fh+1)&&Oh.exec(Fh>0?Uh.string.slice(Fh):Uh.string);return n1?Fh+n1[0].length:-1}var t1,f1=Oh[0];if(f1===0){for(var g1=1;g1-1)return V1}return-1}if(f1!==2&&f1!==3){if(f1===4)return Math.max(this.matchExpr(Oh[1],Uh,Fh),Fh);if(f1===5)return this.lookahead(Uh,Fh,Oh[1])?Fh:-1;if(f1===6)return this.lookahead(Uh,Fh,Oh[1])?-1:Fh;if(f1===7){var a0,o0,B0=Fh?Uh.string.lastIndexOf(` +`,this.line++}}};var n$N=null;function i$z(lh,ah){this.State=function(ch,ph){function yh(Oh,Uh){this.stack=Oh,this.context=Uh}function xh(){return null}return yh.prototype.matchNext=function(Oh,Uh,Fh,zh){for(var n1=this.stack.length-1,t1=this.stack[n1],f1=ch.nodes[t1],g1=0;g1Uh&&(n$N=ky)}else T1=this.matchExpr(a0,Oh,Uh),V1=f1[++g1]}if(T1<0){if(!(Fh>0&&g1==f1.length-1))continue;Fh--,T1=Uh}if(this.go(V1),!zh&&V1===-1||this.stack.length===0||T1>Uh||(T1=this.matchNext(Oh,Uh,g1==f1.length-1?Fh:0,zh))>=0)return T1;this.stack.length=n1+1,this.stack[n1]=t1}return-1},yh.prototype.go=function(Oh){for(this.stack.pop();this.context&&this.context.depth>this.stack.length;)this.context=this.context.parent;Oh!==-1&&this.stack.push(Oh)},yh.prototype.runMaybe=function(Oh,Uh,Fh){return n$N=null,this.matchNext(Oh,Uh,Fh,!0)},yh.prototype.forward=function(Oh,Uh){var Fh=this.runMaybe(Oh,Uh,2);return Fh<0&&(this.stack.push(ch.token),Fh=this.runMaybe(Oh,Uh,0)),Fh},yh.prototype.lookahead=function(Oh,Uh,Fh){var zh=n$N,n1=new this.constructor([Fh],null);for(Oh=Oh.copy();;){Oh.updateStart();var t1=n1.runMaybe(Oh,Uh,0);if(t1<0)return n$N=zh,!1;if(n1.stack.length===0)return n$N=zh,!0;Uh=t1}},yh.prototype.matchExpr=function(Oh,Uh,Fh){if(typeof Oh=="string"){var zh=Fh+Oh.length;return Uh.ahead(zh)&&Uh.string.slice(Fh,zh)===Oh?zh:-1}if(Oh.exec){var n1=Uh.ahead(Fh+1)&&Oh.exec(Fh>0?Uh.string.slice(Fh):Uh.string);return n1?Fh+n1[0].length:-1}var t1,f1=Oh[0];if(f1===0){for(var g1=1;g1-1)return V1}return-1}if(f1!==2&&f1!==3){if(f1===4)return Math.max(this.matchExpr(Oh[1],Uh,Fh),Fh);if(f1===5)return this.lookahead(Uh,Fh,Oh[1])?Fh:-1;if(f1===6)return this.lookahead(Uh,Fh,Oh[1])?-1:Fh;if(f1===7){var a0,o0,B0=Fh?Uh.string.lastIndexOf(` `,Fh-1):-1;if(Uh.stream&&B0<0)a0=Uh.stream.string,o0=Fh+Uh.stream.start;else{var iy=Uh.string.indexOf(` -`,Fh);a0=Uh.string.slice(B0+1,iy<0?Uh.string.length:iy),o0=Fh-(B0+1)}return ph.predicates[Oh[1]](a0,o0,this.context,Uh.stream?(t1=Uh.stream,function(yv){return t1.lookAhead(yv)}):xh)?Fh:-1}throw Error("Unknown match type "+Oh)}if(f1===3&&(Fh=this.matchExpr(Oh[1],Uh,Fh))<0)return-1;for(;;){var Hy=this.matchExpr(Oh[1],Uh,Fh);if(Hy==-1)return Fh;Fh=Hy}},_h.prototype.contextAt=function(Oh,Uh){var Fh=this.copy(),zh=new r$y,n1=0,t1=this.context;for(zh.string=Oh+` -`,zh.startLine=Oh;;){var f1=Fh.runMaybe(zh,n1,0);if(f1==-1)return Fh.context;if(f1>Uh){var g1=Fh.context;if(n1==Uh)e:for(;g1;){for(var T1=t1;T1;T1=T1.parent)if(T1===g1)break e;g1=g1.parent}return g1}n1=f1,t1=Fh.context}},_h.prototype.copy=function(){return new this.constructor(this.stack.slice(),this.context)},_h.start=function(){return new this([ch.start],null)},_h}(lh,ah||{}),this.mcx=new r$y}CodeMirror.GrammarMode=i$z,i$z.prototype.startState=function(){return this.State.start()},i$z.prototype.copyState=function(lh){return lh.copy()},i$z.prototype.token=function(lh,ah){lh.pos+=ah.forward(this.mcx.start(lh),0);for(var ch=n$N,ph=ah.context;ph;ph=ph.parent)ph.tokenType&&(ch=ph.tokenType+(ch?" "+ch:""));return lh.eol()&&ah.forward(this.mcx,lh.pos-lh.start),ch},i$z.prototype.blankLine=function(lh){lh.forward(this.mcx.startLinebreak(),0)},function(lh,ah){(function(ch){function ph(n0){if(n0&&n0.__esModule)return n0;var r0=Object.create(null);return n0&&Object.keys(n0).forEach(function(ty){if(ty!=="default"){var Y0=Object.getOwnPropertyDescriptor(n0,ty);Object.defineProperty(r0,ty,Y0.get?Y0:{enumerable:!0,get:function(){return n0[ty]}})}}),r0.default=n0,Object.freeze(r0)}var _h=ph(ch),xh=[/^(?:var|let|const)(?![a-zA-Z¡-￿_0-9_\$])/,/^while(?![a-zA-Z¡-￿_0-9_\$])/,/^with(?![a-zA-Z¡-￿_0-9_\$])/,/^do(?![a-zA-Z¡-￿_0-9_\$])/,/^debugger(?![a-zA-Z¡-￿_0-9_\$])/,/^if(?![a-zA-Z¡-￿_0-9_\$])/,/^function(?![a-zA-Z¡-￿_0-9_\$])/,/^for(?![a-zA-Z¡-￿_0-9_\$])/,/^default(?![a-zA-Z¡-￿_0-9_\$])/,/^case(?![a-zA-Z¡-￿_0-9_\$])/,/^return(?![a-zA-Z¡-￿_0-9_\$])/,/^throw(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:break|continue)(?![a-zA-Z¡-￿_0-9_\$])/,/^switch(?![a-zA-Z¡-￿_0-9_\$])/,/^try(?![a-zA-Z¡-￿_0-9_\$])/,/^class(?![a-zA-Z¡-￿_0-9_\$])/,/^export(?![a-zA-Z¡-￿_0-9_\$])/,/^import(?![a-zA-Z¡-￿_0-9_\$])/,[0,"async",/^(?![a-zA-Z¡-￿_0-9_\$])/,[5,114]],[1,";",/^(?=\})/,[7,"canInsertSemi"]],/^[a-zA-Z¡-￿__\$][a-zA-Z¡-￿_0-9_\$]*/,/^extends(?![a-zA-Z¡-￿_0-9_\$])/,/^from(?![a-zA-Z¡-￿_0-9_\$])/,/^else(?![a-zA-Z¡-￿_0-9_\$])/,/^catch(?![a-zA-Z¡-￿_0-9_\$])/,/^finally(?![a-zA-Z¡-￿_0-9_\$])/,/^as(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:true|false|null|undefined|NaN|Infinity)(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:super|this)(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:delete|typeof|yield|await|void)(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:\.\.\.|\!|\+\+?|\-\-?)/,/^(?:0x[0-9a-fA-F_]+|0o[0-7_]+|0b[01_]+|(?:[0-9][0-9_]*(?:\.[0-9_]*)?|\.[0-9_]+)(?:[eE][\+\-]?[0-9_]+)?)/,/^\/(?![\/\*])(?:\\.|\[(?:(?!\]).)*\]|(?!\/).)+\/[gimyus]*/,/^(?:\+\+|\-\-)/,/^(?:(?:\+|\-|\%|\*|\/(?![\/\*])|\>\>?\>?|\<\Uh){var g1=Fh.context;if(n1==Uh)e:for(;g1;){for(var T1=t1;T1;T1=T1.parent)if(T1===g1)break e;g1=g1.parent}return g1}n1=f1,t1=Fh.context}},yh.prototype.copy=function(){return new this.constructor(this.stack.slice(),this.context)},yh.start=function(){return new this([ch.start],null)},yh}(lh,ah||{}),this.mcx=new r$y}CodeMirror.GrammarMode=i$z,i$z.prototype.startState=function(){return this.State.start()},i$z.prototype.copyState=function(lh){return lh.copy()},i$z.prototype.token=function(lh,ah){lh.pos+=ah.forward(this.mcx.start(lh),0);for(var ch=n$N,ph=ah.context;ph;ph=ph.parent)ph.tokenType&&(ch=ph.tokenType+(ch?" "+ch:""));return lh.eol()&&ah.forward(this.mcx,lh.pos-lh.start),ch},i$z.prototype.blankLine=function(lh){lh.forward(this.mcx.startLinebreak(),0)},function(lh,ah){(function(ch){function ph(n0){if(n0&&n0.__esModule)return n0;var r0=Object.create(null);return n0&&Object.keys(n0).forEach(function(ty){if(ty!=="default"){var Y0=Object.getOwnPropertyDescriptor(n0,ty);Object.defineProperty(r0,ty,Y0.get?Y0:{enumerable:!0,get:function(){return n0[ty]}})}}),r0.default=n0,Object.freeze(r0)}var yh=ph(ch),xh=[/^(?:var|let|const)(?![a-zA-Z¡-￿_0-9_\$])/,/^while(?![a-zA-Z¡-￿_0-9_\$])/,/^with(?![a-zA-Z¡-￿_0-9_\$])/,/^do(?![a-zA-Z¡-￿_0-9_\$])/,/^debugger(?![a-zA-Z¡-￿_0-9_\$])/,/^if(?![a-zA-Z¡-￿_0-9_\$])/,/^function(?![a-zA-Z¡-￿_0-9_\$])/,/^for(?![a-zA-Z¡-￿_0-9_\$])/,/^default(?![a-zA-Z¡-￿_0-9_\$])/,/^case(?![a-zA-Z¡-￿_0-9_\$])/,/^return(?![a-zA-Z¡-￿_0-9_\$])/,/^throw(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:break|continue)(?![a-zA-Z¡-￿_0-9_\$])/,/^switch(?![a-zA-Z¡-￿_0-9_\$])/,/^try(?![a-zA-Z¡-￿_0-9_\$])/,/^class(?![a-zA-Z¡-￿_0-9_\$])/,/^export(?![a-zA-Z¡-￿_0-9_\$])/,/^import(?![a-zA-Z¡-￿_0-9_\$])/,[0,"async",/^(?![a-zA-Z¡-￿_0-9_\$])/,[5,114]],[1,";",/^(?=\})/,[7,"canInsertSemi"]],/^[a-zA-Z¡-￿__\$][a-zA-Z¡-￿_0-9_\$]*/,/^extends(?![a-zA-Z¡-￿_0-9_\$])/,/^from(?![a-zA-Z¡-￿_0-9_\$])/,/^else(?![a-zA-Z¡-￿_0-9_\$])/,/^catch(?![a-zA-Z¡-￿_0-9_\$])/,/^finally(?![a-zA-Z¡-￿_0-9_\$])/,/^as(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:true|false|null|undefined|NaN|Infinity)(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:super|this)(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:delete|typeof|yield|await|void)(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:\.\.\.|\!|\+\+?|\-\-?)/,/^(?:0x[0-9a-fA-F_]+|0o[0-7_]+|0b[01_]+|(?:[0-9][0-9_]*(?:\.[0-9_]*)?|\.[0-9_]+)(?:[eE][\+\-]?[0-9_]+)?)/,/^\/(?![\/\*])(?:\\.|\[(?:(?!\]).)*\]|(?!\/).)+\/[gimyus]*/,/^(?:\+\+|\-\-)/,/^(?:(?:\+|\-|\%|\*|\/(?![\/\*])|\>\>?\>?|\<\",-1],[2,258,364,{name:"ParamList"}],[1,6,365],["=>",-1],[3,"operator","=>",367],[1,6,368],[2,129,-1,{name:"Block"},1,142,-1],[1,142,370,0,-1],[1,6,371],[",",372,0,-1],[1,6,373],[1,142,374,0,374],[1,6,371],[2,274,376,{name:"ObjectMember"},0,-1],[1,6,377],[",",378,0,-1],[1,6,379],[2,274,380,{name:"ObjectMember"},0,380],[1,6,377],[1,139,382],[1,6,383],[3,"operator","=",384,0,-1],[1,6,385],[1,142,-1],[3,"def",/^[a-zA-Z¡-￿__\$][a-zA-Z¡-￿_0-9_\$]*(?![a-z]|[A-Z]|[¡-￿]|_|[0-9]|_|\$| *\:)/,387,3,"property",xh[20],391,3,"number",xh[31],391,2,116,391,{name:"string",token:"string"},3,"operator","...",395],[1,6,388],[3,"operator","=",389,0,-1],[1,6,390],[1,142,-1],[1,6,392],[":",393],[1,6,394],[1,381,-1],[1,6,396],[1,381,-1]],start:0,token:5}),Uh=/(^|\s)variable($|\s)/;function Fh(n0){var r0=/^(if|for|do|while|try)\b/.exec(n0.startLine.slice(n0.startPos));return r0&&r0[1]}var zh={Block:"}",BlockOf:"}",ClassBody:"}",AnnotationTypeBody:"}",ObjectLiteral:"}",ObjectPattern:"}",EnumBody:"}",LambdaBlock:"}",WhenBody:"}",ObjType:"}",ArrayInitializer:"}",NamespaceBlock:"}",BraceTokens:"}",ArrayLiteral:"]",BracketTokens:"]",TupleType:"]",ParamList:")",SimpleParamList:")",ArgList:")",ParenExpr:")",CondExpr:")",ForSpec:")",ParenTokens:")",ParenthesizedExpression:")",ConstructorParamList:")",TypeParams:">",TypeArgs:">",TemplateArgs:">",TemplateParams:">"},n1=["Block","NamespaceBlock","ClassBody","AnnotationTypeBody","BlockOf","EnumBody"],t1=["Statement","ObjectMember","ClassItem","EnumConstant","AnnotationTypeItem","ArgExpr","StatementMaybeOf","NewExpr"];function f1(n0,r0){for(var ty=n0.startLine;;n0=n0.parent){if(n0.name=="CondExpr")return _h.countColumn(n0.startLine,n0.startPos+1,r0.tabSize);if(t1.indexOf(n0.name)>-1&&/(^\s*|[\(\{\[])$/.test(n0.startLine.slice(0,n0.startPos)))return _h.countColumn(n0.startLine,n0.startPos,r0.tabSize);if(!n0.parent||n0.parent.startLine!=ty)return _h.countColumn(n0.startLine,null,r0.tabSize)}}function g1(n0,r0,ty){if(!n0)return 0;if(n0.name=="string"||n0.name=="comment")return _h.Pass;var Y0,X0,uy=zh[n0.name],aw=r0&&r0.charAt(0)==uy;if(uy&&ty.align!==!1&&(!ty.dontAlign||ty.dontAlign.indexOf(n0.name)<0)&&function(gx){return!/^\s*((\/\/.*)?$|.*=>)/.test(gx.startLine.slice(gx.startPos+1))}(n0))return _h.countColumn(n0.startLine,n0.startPos,ty.tabSize)+(aw?0:1);if(uy&&n1.indexOf(n0.name)>-1){var t2=n0.parent;t2&&t2.name=="Statement"&&t2.parent&&t2.parent.name=="Statement"&&Fh(t2.parent)&&!Fh(t2)&&(t2=t2.parent);var Y2=T1(t2,ty);return aw||n0.name=="NamespaceBlock"?Y2:/^(public|private|protected)\s*:/.test(r0)?Y2+1:!(X0=n0.parent)||X0.name!="Statement"||!/^switch\b/.test(X0.startLine.slice(X0.startPos))||(Y0=r0)&&/^\s*(case|default)\b/.test(Y0)?Y2+ty.indentUnit:Y2+2*ty.indentUnit}var I2=f1(n0,ty);return uy?aw&&(ty.dontCloseBrackets||"").indexOf(uy)<0?I2:I2+ty.indentUnit*((ty.doubleIndentBrackets||"").indexOf(uy)<0?1:2):t1.indexOf(n0.name)>-1?Fh(n0)?I2+ty.indentUnit:I2+2*ty.indentUnit:n0.name=="Alternative"||n0.name=="CatchFinally"?(I2=f1(n0.parent,ty),!r0||/^((else|catch|finally)\b|\/[\/\*])/.test(r0)?I2:I2+ty.indentUnit):n0.name=="ArrowRest"?I2+ty.indentUnit:n0.name=="NewExpression"&&n0.startLine.length>n0.startPos+5?_h.countColumn(n0.startLine,n0.startPos,ty.tabSize)+2*ty.indentUnit:n0.name=="InitializerList"?I2+2:n0.name!="ThrowsClause"||/throws\s*$/.test(n0.startLine.slice(n0.startPos))?g1(n0.parent,r0,ty):I2+2*ty.indentUnit}function T1(n0,r0){for(;;n0=n0.parent){if(!n0)return 0;if(t1.indexOf(n0.name)>-1||n0.parent&&zh[n0.parent.name])return _h.countColumn(n0.startLine,null,r0.tabSize)}}function V1(n0,r0,ty,Y0){var X0=n0.context&&n0.context.name;if(X0=="DeclType"||X0=="BeforeStatement"||X0=="AnnotationHead"||X0=="Template"||X0=="str")return T1(n0.context,Y0);if((X0=="doccomment.braced"||X0=="doccomment.tagGroup")&&!/^[@*]/.test(r0))return _h.countColumn(n0.context.startLine,null,Y0.tabSize)+2*Y0.indentUnit;var uy=Y0.forceContent&&/^\s*(\/\/.*)?$/.test(ty)?"x":ty;return g1(n0.contextAt(uy,ty.length-r0.length),r0,Y0)}function a0(n0,r0){for(var ty=r0-1;ty>=0;ty--){var Y0=n0.charCodeAt(ty);if(Y0===10)break;if(Y0!==32&&Y0!==9)return!1}return!0}var o0=function(n0){this.config=n0};o0.prototype.startState=function(){return new B0},o0.prototype.copyState=function(n0){return n0.copy()},o0.prototype.shouldInterceptTokenizing=function(n0){var r0=n0.currentTemplateState;return r0!==void 0&&r0.mode!==null},o0.prototype.interceptTokenizing=function(n0,r0){if(n0.match("${")&&(n0.backUp(2),!this.isEscaped(n0,n0.pos-2)))return{handled:!1};if(n0.peek()==="`"&&!this.isEscaped(n0,n0.pos))return{handled:!1};var ty=r0.currentTemplateState,Y0=ty.mode,X0=ty.state,uy=Y0.token(n0,X0);return this.backupIfEmbeddedTokenizerOvershot(n0),{handled:!0,style:uy}},o0.prototype.trackState=function(n0,r0,ty){if(n0){var Y0=ty.currentTemplateState;Y0&&Y0.kind!=="inline-expression"?this.trackStateInTemplate(n0,r0,ty,Y0):this.trackStateNotInTemplate(n0,r0,ty,Y0),ty.previousVariable=n0==="variable"?r0.current():null}},o0.prototype.trackStateNotInTemplate=function(n0,r0,ty,Y0){if(Y0&&n0==="string-2"&&r0.current().startsWith("}"))return ty.templateStack.pop(),void r0.backUp(r0.current().length-1);if(n0==="string-2"&&r0.current().startsWith("`")){var X0=this.getModeForTemplateTag(ty.previousVariable),uy="template";X0?(r0.backUp(r0.current().length-1),ty.templateStack.push(new Hy(uy,X0,CodeMirror.startState(X0)))):ty.templateStack.push(new Hy(uy,null,null))}},o0.prototype.trackStateInTemplate=function(n0,r0,ty,Y0){n0!=="string-2"||!r0.current().endsWith("`")||this.isEscaped(r0.pos-1)?n0!=="string-2"||!r0.current().endsWith("${")||this.isEscaped(r0.pos-2)||ty.templateStack.push(new Hy("inline-expression",null,null)):ty.templateStack.pop()},o0.prototype.backupIfEmbeddedTokenizerOvershot=function(n0){for(var r0=n0.current(),ty=0;;){var Y0=r0.slice(ty).search(/`|\$\{/);if(Y0===-1)return;Y0+=ty;var X0=r0.length-Y0,uy=n0.pos-X0;if(!this.isEscaped(n0,uy))return void n0.backUp(r0.length-Y0);ty=Y0+1}},o0.prototype.isEscaped=function(n0,r0){for(var ty=!1,Y0=r0;Y0>0&&n0.string[Y0-1]==="\\";)ty=!ty,Y0--;return ty},o0.prototype.getModeForTemplateTag=function(n0){if(!n0)return null;n0==="htm"&&(n0="html");for(var r0=["google-"+n0,""+n0],ty=0;ty)",dontCloseBrackets:")",tabSize:ty.tabSize,indentUnit:ty.indentUnit,forceContent:!0}}return n0&&(r0.__proto__=n0),r0.prototype=Object.create(n0&&n0.prototype),r0.prototype.constructor=r0,r0.prototype.startState=function(){var ty=n0.prototype.startState.call(this);return ty.embeddedParserState=this.embeddedParser.startState(),ty},r0.prototype.copyState=function(ty){var Y0=n0.prototype.copyState.call(this,ty);return Y0.embeddedParserState=this.embeddedParser.copyState(ty.embeddedParserState),Y0},r0.prototype.token=function(ty,Y0){var X0=Y0.embeddedParserState;if(this.embeddedParser.shouldInterceptTokenizing(X0)){var uy=this.embeddedParser.interceptTokenizing(ty,X0),aw=uy.handled,t2=uy.style;if(aw)return t2}var Y2=n0.prototype.token.call(this,ty,Y0);return this.embeddedParser.trackState(Y2,ty,X0),function(I2,gx,TA,N2){if(I2=="def"){var G2=function(mw,$3){for(var w2=mw;w2;w2=w2.parent)if($3.indexOf(w2.name)>-1)return w2}(N2.context,gx),Bx=TA.current();if(G2&&(G2.locals||(G2.locals=[]),G2.locals.indexOf(Bx)==-1&&G2.locals.push(Bx),N2.context.name!="funcName"))return"def local"}else Uh.test(I2)&&!/qualified/.test(I2)&&function(mw,$3){for(var w2=mw;w2;w2=w2.parent)if(w2.locals&&w2.locals.indexOf($3)>-1)return!0;return!1}(N2.context,TA.current())&&(I2=I2.replace(Uh,"$1variable-2$2"));return I2}(Y2,yv,ty,Y0)},r0.prototype.indent=function(ty,Y0,X0){return Y0||(Y0=X0="x"),V1(ty,Y0,X0,this.indentConf)},r0}(_h.GrammarMode),cv={electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``"};for(var N0 in cv)ky.prototype[N0]=cv[N0];_h.registerHelper("wordChars","google-javascript",/[\w$]/),_h.defineMode("google-javascript",function(n0,r0){return new ky(n0,r0)})})((lh=typeof globalThis<"u"?globalThis:lh||self).CodeMirror)}(window),function(lh,ah){(function(ch){function ph(n0){if(n0&&n0.__esModule)return n0;var r0=Object.create(null);return n0&&Object.keys(n0).forEach(function(ty){if(ty!=="default"){var Y0=Object.getOwnPropertyDescriptor(n0,ty);Object.defineProperty(r0,ty,Y0.get?Y0:{enumerable:!0,get:function(){return n0[ty]}})}}),r0.default=n0,Object.freeze(r0)}var _h=ph(ch),xh=[/^(?:var|let|const)(?![a-zA-Z¡-￿_0-9_\$])/,/^while(?![a-zA-Z¡-￿_0-9_\$])/,/^with(?![a-zA-Z¡-￿_0-9_\$])/,/^do(?![a-zA-Z¡-￿_0-9_\$])/,/^debugger(?![a-zA-Z¡-￿_0-9_\$])/,/^if(?![a-zA-Z¡-￿_0-9_\$])/,/^function(?![a-zA-Z¡-￿_0-9_\$])/,/^for(?![a-zA-Z¡-￿_0-9_\$])/,/^default(?![a-zA-Z¡-￿_0-9_\$])/,/^case(?![a-zA-Z¡-￿_0-9_\$])/,/^return(?![a-zA-Z¡-￿_0-9_\$])/,/^throw(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:break|continue)(?![a-zA-Z¡-￿_0-9_\$])/,/^switch(?![a-zA-Z¡-￿_0-9_\$])/,/^try(?![a-zA-Z¡-￿_0-9_\$])/,/^class(?![a-zA-Z¡-￿_0-9_\$])/,/^export(?![a-zA-Z¡-￿_0-9_\$])/,/^import(?![a-zA-Z¡-￿_0-9_\$])/,[0,"async",/^(?![a-zA-Z¡-￿_0-9_\$])/,[5,139]],/^[a-zA-Z¡-￿__\$][a-zA-Z¡-￿_0-9_\$]*/,/^extends(?![a-zA-Z¡-￿_0-9_\$])/,/^enum(?![a-zA-Z¡-￿_0-9_\$])/,[1,";",/^(?=\})/,[7,"canInsertSemi"]],/^from(?![a-zA-Z¡-￿_0-9_\$])/,[1,` +`,359,0,-1],[2,357,360,{name:"doccomment.type"}],[/^[\t ]*(?:\*(?!\/)[\t ]*)?/,357],[/^(?=\*\/)/,357,3,"type","}",357],[1,6,362],["=>",-1],[2,258,364,{name:"ParamList"}],[1,6,365],["=>",-1],[3,"operator","=>",367],[1,6,368],[2,129,-1,{name:"Block"},1,142,-1],[1,142,370,0,-1],[1,6,371],[",",372,0,-1],[1,6,373],[1,142,374,0,374],[1,6,371],[2,274,376,{name:"ObjectMember"},0,-1],[1,6,377],[",",378,0,-1],[1,6,379],[2,274,380,{name:"ObjectMember"},0,380],[1,6,377],[1,139,382],[1,6,383],[3,"operator","=",384,0,-1],[1,6,385],[1,142,-1],[3,"def",/^[a-zA-Z¡-￿__\$][a-zA-Z¡-￿_0-9_\$]*(?![a-z]|[A-Z]|[¡-￿]|_|[0-9]|_|\$| *\:)/,387,3,"property",xh[20],391,3,"number",xh[31],391,2,116,391,{name:"string",token:"string"},3,"operator","...",395],[1,6,388],[3,"operator","=",389,0,-1],[1,6,390],[1,142,-1],[1,6,392],[":",393],[1,6,394],[1,381,-1],[1,6,396],[1,381,-1]],start:0,token:5}),Uh=/(^|\s)variable($|\s)/;function Fh(n0){var r0=/^(if|for|do|while|try)\b/.exec(n0.startLine.slice(n0.startPos));return r0&&r0[1]}var zh={Block:"}",BlockOf:"}",ClassBody:"}",AnnotationTypeBody:"}",ObjectLiteral:"}",ObjectPattern:"}",EnumBody:"}",LambdaBlock:"}",WhenBody:"}",ObjType:"}",ArrayInitializer:"}",NamespaceBlock:"}",BraceTokens:"}",ArrayLiteral:"]",BracketTokens:"]",TupleType:"]",ParamList:")",SimpleParamList:")",ArgList:")",ParenExpr:")",CondExpr:")",ForSpec:")",ParenTokens:")",ParenthesizedExpression:")",ConstructorParamList:")",TypeParams:">",TypeArgs:">",TemplateArgs:">",TemplateParams:">"},n1=["Block","NamespaceBlock","ClassBody","AnnotationTypeBody","BlockOf","EnumBody"],t1=["Statement","ObjectMember","ClassItem","EnumConstant","AnnotationTypeItem","ArgExpr","StatementMaybeOf","NewExpr"];function f1(n0,r0){for(var ty=n0.startLine;;n0=n0.parent){if(n0.name=="CondExpr")return yh.countColumn(n0.startLine,n0.startPos+1,r0.tabSize);if(t1.indexOf(n0.name)>-1&&/(^\s*|[\(\{\[])$/.test(n0.startLine.slice(0,n0.startPos)))return yh.countColumn(n0.startLine,n0.startPos,r0.tabSize);if(!n0.parent||n0.parent.startLine!=ty)return yh.countColumn(n0.startLine,null,r0.tabSize)}}function g1(n0,r0,ty){if(!n0)return 0;if(n0.name=="string"||n0.name=="comment")return yh.Pass;var Y0,X0,uy=zh[n0.name],aw=r0&&r0.charAt(0)==uy;if(uy&&ty.align!==!1&&(!ty.dontAlign||ty.dontAlign.indexOf(n0.name)<0)&&function(gx){return!/^\s*((\/\/.*)?$|.*=>)/.test(gx.startLine.slice(gx.startPos+1))}(n0))return yh.countColumn(n0.startLine,n0.startPos,ty.tabSize)+(aw?0:1);if(uy&&n1.indexOf(n0.name)>-1){var t2=n0.parent;t2&&t2.name=="Statement"&&t2.parent&&t2.parent.name=="Statement"&&Fh(t2.parent)&&!Fh(t2)&&(t2=t2.parent);var Y2=T1(t2,ty);return aw||n0.name=="NamespaceBlock"?Y2:/^(public|private|protected)\s*:/.test(r0)?Y2+1:!(X0=n0.parent)||X0.name!="Statement"||!/^switch\b/.test(X0.startLine.slice(X0.startPos))||(Y0=r0)&&/^\s*(case|default)\b/.test(Y0)?Y2+ty.indentUnit:Y2+2*ty.indentUnit}var I2=f1(n0,ty);return uy?aw&&(ty.dontCloseBrackets||"").indexOf(uy)<0?I2:I2+ty.indentUnit*((ty.doubleIndentBrackets||"").indexOf(uy)<0?1:2):t1.indexOf(n0.name)>-1?Fh(n0)?I2+ty.indentUnit:I2+2*ty.indentUnit:n0.name=="Alternative"||n0.name=="CatchFinally"?(I2=f1(n0.parent,ty),!r0||/^((else|catch|finally)\b|\/[\/\*])/.test(r0)?I2:I2+ty.indentUnit):n0.name=="ArrowRest"?I2+ty.indentUnit:n0.name=="NewExpression"&&n0.startLine.length>n0.startPos+5?yh.countColumn(n0.startLine,n0.startPos,ty.tabSize)+2*ty.indentUnit:n0.name=="InitializerList"?I2+2:n0.name!="ThrowsClause"||/throws\s*$/.test(n0.startLine.slice(n0.startPos))?g1(n0.parent,r0,ty):I2+2*ty.indentUnit}function T1(n0,r0){for(;;n0=n0.parent){if(!n0)return 0;if(t1.indexOf(n0.name)>-1||n0.parent&&zh[n0.parent.name])return yh.countColumn(n0.startLine,null,r0.tabSize)}}function V1(n0,r0,ty,Y0){var X0=n0.context&&n0.context.name;if(X0=="DeclType"||X0=="BeforeStatement"||X0=="AnnotationHead"||X0=="Template"||X0=="str")return T1(n0.context,Y0);if((X0=="doccomment.braced"||X0=="doccomment.tagGroup")&&!/^[@*]/.test(r0))return yh.countColumn(n0.context.startLine,null,Y0.tabSize)+2*Y0.indentUnit;var uy=Y0.forceContent&&/^\s*(\/\/.*)?$/.test(ty)?"x":ty;return g1(n0.contextAt(uy,ty.length-r0.length),r0,Y0)}function a0(n0,r0){for(var ty=r0-1;ty>=0;ty--){var Y0=n0.charCodeAt(ty);if(Y0===10)break;if(Y0!==32&&Y0!==9)return!1}return!0}var o0=function(n0){this.config=n0};o0.prototype.startState=function(){return new B0},o0.prototype.copyState=function(n0){return n0.copy()},o0.prototype.shouldInterceptTokenizing=function(n0){var r0=n0.currentTemplateState;return r0!==void 0&&r0.mode!==null},o0.prototype.interceptTokenizing=function(n0,r0){if(n0.match("${")&&(n0.backUp(2),!this.isEscaped(n0,n0.pos-2)))return{handled:!1};if(n0.peek()==="`"&&!this.isEscaped(n0,n0.pos))return{handled:!1};var ty=r0.currentTemplateState,Y0=ty.mode,X0=ty.state,uy=Y0.token(n0,X0);return this.backupIfEmbeddedTokenizerOvershot(n0),{handled:!0,style:uy}},o0.prototype.trackState=function(n0,r0,ty){if(n0){var Y0=ty.currentTemplateState;Y0&&Y0.kind!=="inline-expression"?this.trackStateInTemplate(n0,r0,ty,Y0):this.trackStateNotInTemplate(n0,r0,ty,Y0),ty.previousVariable=n0==="variable"?r0.current():null}},o0.prototype.trackStateNotInTemplate=function(n0,r0,ty,Y0){if(Y0&&n0==="string-2"&&r0.current().startsWith("}"))return ty.templateStack.pop(),void r0.backUp(r0.current().length-1);if(n0==="string-2"&&r0.current().startsWith("`")){var X0=this.getModeForTemplateTag(ty.previousVariable),uy="template";X0?(r0.backUp(r0.current().length-1),ty.templateStack.push(new Hy(uy,X0,CodeMirror.startState(X0)))):ty.templateStack.push(new Hy(uy,null,null))}},o0.prototype.trackStateInTemplate=function(n0,r0,ty,Y0){n0!=="string-2"||!r0.current().endsWith("`")||this.isEscaped(r0.pos-1)?n0!=="string-2"||!r0.current().endsWith("${")||this.isEscaped(r0.pos-2)||ty.templateStack.push(new Hy("inline-expression",null,null)):ty.templateStack.pop()},o0.prototype.backupIfEmbeddedTokenizerOvershot=function(n0){for(var r0=n0.current(),ty=0;;){var Y0=r0.slice(ty).search(/`|\$\{/);if(Y0===-1)return;Y0+=ty;var X0=r0.length-Y0,uy=n0.pos-X0;if(!this.isEscaped(n0,uy))return void n0.backUp(r0.length-Y0);ty=Y0+1}},o0.prototype.isEscaped=function(n0,r0){for(var ty=!1,Y0=r0;Y0>0&&n0.string[Y0-1]==="\\";)ty=!ty,Y0--;return ty},o0.prototype.getModeForTemplateTag=function(n0){if(!n0)return null;n0==="htm"&&(n0="html");for(var r0=["google-"+n0,""+n0],ty=0;ty)",dontCloseBrackets:")",tabSize:ty.tabSize,indentUnit:ty.indentUnit,forceContent:!0}}return n0&&(r0.__proto__=n0),r0.prototype=Object.create(n0&&n0.prototype),r0.prototype.constructor=r0,r0.prototype.startState=function(){var ty=n0.prototype.startState.call(this);return ty.embeddedParserState=this.embeddedParser.startState(),ty},r0.prototype.copyState=function(ty){var Y0=n0.prototype.copyState.call(this,ty);return Y0.embeddedParserState=this.embeddedParser.copyState(ty.embeddedParserState),Y0},r0.prototype.token=function(ty,Y0){var X0=Y0.embeddedParserState;if(this.embeddedParser.shouldInterceptTokenizing(X0)){var uy=this.embeddedParser.interceptTokenizing(ty,X0),aw=uy.handled,t2=uy.style;if(aw)return t2}var Y2=n0.prototype.token.call(this,ty,Y0);return this.embeddedParser.trackState(Y2,ty,X0),function(I2,gx,TA,N2){if(I2=="def"){var G2=function(mw,$3){for(var w2=mw;w2;w2=w2.parent)if($3.indexOf(w2.name)>-1)return w2}(N2.context,gx),Bx=TA.current();if(G2&&(G2.locals||(G2.locals=[]),G2.locals.indexOf(Bx)==-1&&G2.locals.push(Bx),N2.context.name!="funcName"))return"def local"}else Uh.test(I2)&&!/qualified/.test(I2)&&function(mw,$3){for(var w2=mw;w2;w2=w2.parent)if(w2.locals&&w2.locals.indexOf($3)>-1)return!0;return!1}(N2.context,TA.current())&&(I2=I2.replace(Uh,"$1variable-2$2"));return I2}(Y2,yv,ty,Y0)},r0.prototype.indent=function(ty,Y0,X0){return Y0||(Y0=X0="x"),V1(ty,Y0,X0,this.indentConf)},r0}(yh.GrammarMode),cv={electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``"};for(var N0 in cv)ky.prototype[N0]=cv[N0];yh.registerHelper("wordChars","google-javascript",/[\w$]/),yh.defineMode("google-javascript",function(n0,r0){return new ky(n0,r0)})})((lh=typeof globalThis<"u"?globalThis:lh||self).CodeMirror)}(window),function(lh,ah){(function(ch){function ph(n0){if(n0&&n0.__esModule)return n0;var r0=Object.create(null);return n0&&Object.keys(n0).forEach(function(ty){if(ty!=="default"){var Y0=Object.getOwnPropertyDescriptor(n0,ty);Object.defineProperty(r0,ty,Y0.get?Y0:{enumerable:!0,get:function(){return n0[ty]}})}}),r0.default=n0,Object.freeze(r0)}var yh=ph(ch),xh=[/^(?:var|let|const)(?![a-zA-Z¡-￿_0-9_\$])/,/^while(?![a-zA-Z¡-￿_0-9_\$])/,/^with(?![a-zA-Z¡-￿_0-9_\$])/,/^do(?![a-zA-Z¡-￿_0-9_\$])/,/^debugger(?![a-zA-Z¡-￿_0-9_\$])/,/^if(?![a-zA-Z¡-￿_0-9_\$])/,/^function(?![a-zA-Z¡-￿_0-9_\$])/,/^for(?![a-zA-Z¡-￿_0-9_\$])/,/^default(?![a-zA-Z¡-￿_0-9_\$])/,/^case(?![a-zA-Z¡-￿_0-9_\$])/,/^return(?![a-zA-Z¡-￿_0-9_\$])/,/^throw(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:break|continue)(?![a-zA-Z¡-￿_0-9_\$])/,/^switch(?![a-zA-Z¡-￿_0-9_\$])/,/^try(?![a-zA-Z¡-￿_0-9_\$])/,/^class(?![a-zA-Z¡-￿_0-9_\$])/,/^export(?![a-zA-Z¡-￿_0-9_\$])/,/^import(?![a-zA-Z¡-￿_0-9_\$])/,[0,"async",/^(?![a-zA-Z¡-￿_0-9_\$])/,[5,139]],/^[a-zA-Z¡-￿__\$][a-zA-Z¡-￿_0-9_\$]*/,/^extends(?![a-zA-Z¡-￿_0-9_\$])/,/^enum(?![a-zA-Z¡-￿_0-9_\$])/,[1,";",/^(?=\})/,[7,"canInsertSemi"]],/^from(?![a-zA-Z¡-￿_0-9_\$])/,[1,` `," "," "],/^[a-zA-Z¡-￿__\$]/,/^const(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:true|false|null|undefined|NaN|Infinity)(?![a-zA-Z¡-￿_0-9_\$])/,/^new(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:0x[0-9a-fA-F_]+|0o[0-7_]+|0b[01_]+|(?:[0-9][0-9_]*(?:\.[0-9_]*)?|\.[0-9_]+)(?:[eE][\+\-]?[0-9_]+)?)/,/^else(?![a-zA-Z¡-￿_0-9_\$])/,/^catch(?![a-zA-Z¡-￿_0-9_\$])/,/^finally(?![a-zA-Z¡-￿_0-9_\$])/,/^as(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:super|this)(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:delete|typeof|yield|await|void)(?![a-zA-Z¡-￿_0-9_\$])/,/^(?:\.\.\.|\!|\+\+?|\-\-?)/,/^\/(?![\/\*])(?:\\.|\[(?:(?!\]).)*\]|(?!\/).)+\/[gimyus]*/,[0,/^[a-zA-Z¡-￿__\$]/,/^[a-zA-Z¡-￿_0-9_\$]*/,[5,508]],/^(?:\+\+|\-\-)/,/^(?:(?:\+|\-|\%|\*|\/(?![\/\*])|\>\>?\>?|\<\",-1],[3,"keyword",/^this(?![a-zA-Z¡-￿_0-9_\$])/,209,3,"atom",xh[27],209,3,"keyword",/^typeof(?![a-zA-Z¡-￿_0-9_\$])/,177,3,"keyword",/^(?:keyof|readonly|unique)(?![a-zA-Z¡-￿_0-9_\$])/,178,[0,[5,393],"("],179,3,"keyword",xh[28],180,0,180,0,181,2,396,209,{name:"TupleType"},2,233,209,{name:"ObjType"},2,141,209,{name:"string",token:"string"},3,"number",xh[29],209],[1,6,182],[1,6,183],[1,6,184],[1,6,185],[[5,401],186,3,"type",xh[19],187],[3,"variable",xh[19],188],[1,176,209],[1,176,189],[2,171,190,{name:"TypeParams"},0,190],[3,"variable",xh[19],191],[1,6,192],[1,6,193],[1,6,194],[1,6,195],[1,6,196],[2,404,209,{name:"TypeArgs"},0,209],[".",197,"[",198,0,209],[")",209],[2,409,199,{name:"ParamListSpec"}],[".",200],[1,6,201],[1,6,202],[1,6,203],[1,6,181],[3,"property",xh[19],204],[1,165,205],[3,"operator","=>",206],[1,6,193],[1,6,207],[1,6,208],["]",204],[1,410,209],[1,6,210],[3,"operator",/^[\&\|]/,211,3,"keyword",xh[20],211,"[",212,3,"operator","?",213,0,-1],[1,6,214],[1,6,215],[1,6,216],[1,176,217],[1,176,218,0,218],[1,176,219],[1,6,210],[1,6,220],[1,6,221],["]",217],[3,"operator",":",222],[1,6,223],[1,176,217],[xh[19],225],[1,6,226],[".",-1],[1,176,228,0,-1],[1,6,229],[",",230,0,-1],[1,6,231],[1,176,232,0,232],[1,6,229],["{",234],[1,6,235],[1,416,236,0,236],[1,6,237],[/^[\,\;]/,238,"}",-1],[1,6,239],[1,416,240,0,240],[1,6,237],["{",242],[1,6,243],[1,449,244],[1,6,245],["}",-1],[1,463,247],[1,6,248],[3,"operator","!",249,0,249],[1,6,250],[":",251,0,253],[1,6,252],[1,176,253],[1,6,254],[3,"operator","=",255,0,-1],[1,6,256],[1,367,-1],["(",258],[1,6,259],[1,165,260],[1,6,261],[")",-1],[1,6,263],[3,"keyword",xh[30],264,0,-1],[1,6,265],[2,7,-1,{name:"Statement"}],[2,171,267,{name:"TypeParams"},0,267],[1,6,268],[2,466,269,{name:"ParamList"}],[1,6,270],[":",271,0,273],[1,6,272],[1,410,273],[1,6,274],[2,161,-1,{name:"Block"},xh[22],-1],[2,471,276,{name:"ForSpec"}],[1,6,277],[2,7,-1,{name:"Statement"}],[3,"keyword",xh[31],279,0,287],[1,6,280],["(",281,0,282],[1,6,283],[1,6,284],[1,463,285],[2,161,287,{name:"Block"}],[1,6,286],[")",282],[1,6,288],[3,"keyword",xh[32],289,0,-1],[1,6,290],[2,161,-1,{name:"Block"}],[2,171,292,{name:"TypeParams"},0,292],[1,6,293],[3,"keyword",xh[20],294,0,296],[1,6,295],[1,176,296],[1,6,297],[3,"keyword",/^implements(?![a-zA-Z¡-￿_0-9_\$])/,298,0,300],[1,6,299],[1,227,300],[1,6,301],[2,482,-1,{name:"ClassBody"}],[1,308,303,0,-1],[1,6,304],[",",305,0,-1],[1,6,306],[1,308,307,0,307],[1,6,304],[3,"variable",/^[a-zA-Z¡-￿__\$][a-zA-Z¡-￿_0-9_\$]*(?= +as)/,309,3,"def",xh[19],-1],[1,6,310],[3,"keyword",xh[33],311],[1,6,312],[3,"def",xh[19],-1],[0,314,2,490,-1,{name:"doccomment.braced"}],[[0,/^(?!\*\/|\@[a-zA-Z¡-￿_0-9]|\{)/,/^[^]/],315],[0,314,0,-1],[1,494,317],[1,313,317,0,-1],["\\",319,` `,-1],[/^[^]/,-1],["<",321,3,"atom",xh[27],-1,3,"keyword",xh[34],-1,3,"keyword",xh[35],327,3,"operator",xh[36],327,3,"keyword",xh[18],327,3,"keyword",xh[28],329,3,"keyword",xh[6],335,3,"keyword",xh[15],341,2,500,-1,{name:"ArrowFunc"},3,"variable callee",xh[38],346,3,"variable",xh[19],-1,3,"number",xh[29],-1,2,141,-1,{name:"string",token:"string"},3,"string-2",xh[37],-1,1,150,-1,2,512,-1,{name:"ArrayLiteral"},2,517,-1,{name:"ObjectLiteral"},2,522,-1,{name:"ParenExpr"}],[1,6,322],[1,176,323],[1,6,324],[">",325],[1,6,326],[1,320,-1],[1,6,328],[1,320,-1],[1,6,330],[".",331,3,"variable callee",xh[38],332,1,320,-1],[1,6,333],[1,6,334],[3,"keyword",/^target(?![a-zA-Z¡-￿_0-9_\$])/,-1],[2,404,-1,{name:"TypeArgs"},0,-1],[1,6,336],[3,"keyword","*",337,0,337],[1,6,338],[3,"def",xh[19],339,0,339],[1,6,340],[2,266,-1,{name:"FunctionDef"}],[1,6,342],[[6,527],343,0,344],[3,"def type",xh[19],344],[1,6,345],[1,291,-1],[1,6,347],[2,404,-1,{name:"TypeArgs"},0,-1],[3,"keyword",xh[33],349,3,"operator","!",-1,3,"operator",xh[39],-1,3,"operator",xh[40],351,3,"keyword",xh[41],351,2,528,-1,{name:"ArgList"},1,150,-1,xh[43],353,"[",357,3,"operator","?",361],[1,6,350],[1,176,-1],[1,6,352],[1,165,-1],[1,6,354],[3,"property callee",xh[44],355,3,"property",xh[19],-1],[1,6,356],[2,404,-1,{name:"TypeArgs"},0,-1],[1,6,358],[1,165,359],[1,6,360],["]",-1],[1,6,362],[1,165,363],[1,6,364],[3,"operator",":",365],[1,6,366],[1,165,-1],[1,320,368],[1,6,369],[1,537,370,0,-1],[1,6,369],[3,"def type",xh[19],372,0,-1],[1,6,373],[3,"keyword",xh[20],374,0,375],[1,6,376],[1,6,377],[1,176,375],[3,"operator","=",378,0,379],[1,6,380],[1,6,381],[1,176,379],[",",382,0,-1],[1,6,383],[3,"def type",xh[19],384,0,385],[1,6,386],[1,6,381],[3,"keyword",xh[20],387,0,388],[1,6,389],[1,6,390],[1,176,388],[3,"operator","=",391,0,385],[1,6,392],[1,176,385],["(",394],[1,6,395],[[6,556],-1],["[",397],[1,6,398],[1,559,399],[1,6,400],["]",-1],[xh[19],402],[1,6,403],[".",-1],["<",405],[1,6,406],[1,227,407],[1,6,408],[">",-1],[2,466,-1,{name:"ParamList"}],[[5,573],411,0,414],[3,"variable",xh[19],412],[1,6,413],[3,"keyword",xh[46],414],[1,6,415],[1,176,-1],[3,"keyword",xh[28],417,0,417,0,425],[1,6,418],[2,171,419,{name:"TypeParams"},0,419],[1,6,420],[2,466,421,{name:"ParamList"}],[1,6,422],[":",423,0,-1],[1,6,424],[1,410,-1],[3,"keyword",xh[42],426,"[",427,3,"def property",xh[19],428,2,141,428,{name:"string",token:"string"},3,"number",xh[29],428],[1,6,425],[1,6,429],[1,6,430],[[0,[5,576],/^[a-zA-Z¡-￿__\$]/,/^[a-zA-Z¡-￿_0-9_\$]*/],431,1,165,432],[/^\??/,433],[1,6,434],[1,6,435],[1,6,436],[":",437,3,"keyword",/^in(?![a-zA-Z¡-￿_0-9_\$])/,437],["]",438],[2,171,439,{name:"TypeParams"},0,439,0,440],[1,6,441],[1,6,442],[1,6,443],[1,6,444],[1,176,432],[":",445],[2,466,440,{name:"ParamList"}],[":",446,0,-1],[1,6,447],[1,6,448],[1,176,-1],[1,410,-1],[3,"def property",xh[19],450,0,-1],[1,6,451],[3,"operator","=",452,0,453],[1,6,454],[1,6,455],[1,367,453],[",",456,0,-1],[1,6,457],[3,"def property",xh[19],458,0,459],[1,6,460],[1,6,455],[3,"operator","=",461,0,459],[1,6,462],[1,367,459],[3,"operator","...",464,0,464],[1,6,465],[3,"def",xh[19],-1,2,579,-1,{name:"ArrayPattern"},2,584,-1,{name:"ObjectPattern"}],["(",467],[1,6,468],[1,589,469],[1,6,470],[")",-1],["(",472],[1,6,473],[2,629,474,{name:"StatementMaybeOf"}],[1,6,475],[1,165,476,0,476,0,480],[1,6,477],[";",478],[1,6,479],[1,165,480,0,480],[1,6,481],[")",-1],["{",483],[1,6,484],[0,485,"@",486,"}",-1],[3,"keyword",xh[42],487,3,"keyword",[0,"override",/^(?![a-zA-Z¡-￿_0-9_\$])/,[5,634]],487,2,635,488,{name:"ClassItem"}],[1,6,489],[1,6,485],[1,6,484],[1,165,488],["{",491],[1,494,492,1,313,493],[[0,/^(?!\}|\*\/)/,/^[^]/],492,0,493],[/^(?:\}|(?=\*\/))/,-1],[3,"tag",/^\@(?:member|param|arg(?:ument)?|module|namespace|typedef)(?![a-zA-Z¡-￿_0-9])/,495,3,"tag",/^\@[a-zA-Z¡-￿_0-9]+/,-1],[xh[24],495,"{",496,0,497,0,-1],[2,656,498,{name:"doccomment.type"}],[3,"def",/^[a-zA-Z¡-￿_0-9]+/,-1,0,-1],["}",499],[[1,` `," "," ",/^\*(?!\/)/],499,0,497],[3,"def",[0,/^[a-zA-Z¡-￿__\$]/,/^[a-zA-Z¡-￿_0-9_\$]*/,[5,660]],506,[5,666],501],[2,466,502,{name:"ParamList"}],[1,6,503],[":",504,0,506],[1,6,505],[1,410,506],[1,6,507],[2,673,-1,{name:"ArrowRest"}],[/^\<(?! )/,-1,/^ */,509],[1,678,510,0,511],[/^ */,511],["(",-1],["[",513],[1,6,514],[1,680,515],[1,6,516],["]",-1],["{",518],[1,6,519],[1,686,520],[1,6,521],["}",-1],["(",523],[1,6,524],[1,165,525],[1,6,526],[")",-1],[3,"keyword",xh[20],-1],["(",529],[1,6,530],[1,680,531],[1,6,532],[")",-1],[/^ */,534],[1,678,535,0,536],[/^ */,536],["(",-1],[3,"keyword",xh[33],538,3,"operator","!",-1,3,"operator",xh[39],-1,3,"operator",xh[40],540,3,"keyword",xh[41],540,2,528,-1,{name:"ArgList"},1,150,-1,xh[43],542,"[",546,3,"operator","?",550],[1,6,539],[1,176,-1],[1,6,541],[1,367,-1],[1,6,543],[3,"property callee",xh[44],544,3,"property",xh[19],-1],[1,6,545],[2,404,-1,{name:"TypeArgs"},0,-1],[1,6,547],[1,165,548],[1,6,549],["]",-1],[1,6,551],[1,165,552],[1,6,553],[3,"operator",":",554],[1,6,555],[1,367,-1],[/^(?:\)|\.\.\.)/,-1,xh[19],557],[1,6,558],[/^[\?\:]/,-1],[xh[45],560,0,561,0,-1],[1,6,562],[1,6,563],[":",561],[1,176,564],[1,6,565],[",",566,0,-1],[1,6,567],[xh[45],568,0,569,0,570],[1,6,571],[1,6,572],[1,6,565],[":",569],[1,176,570],[xh[19],574],[1,6,575],[3,"keyword",xh[46],-1],[xh[19],577],[1,6,578],[/^(?:\:|in)/,-1],["[",580],[1,6,581],[1,692,582],[1,6,583],["]",-1],["{",585],[1,6,586],[1,698,587],[1,6,588],["}",-1],["@",590,0,591,0,-1],[1,6,592],[3,"keyword",xh[42],593,xh[47],594],[1,165,595],[1,6,591],[1,6,596],[1,6,589],[1,463,597],[1,6,598],[/^\??/,599],[1,6,600],[":",601,0,602],[1,6,603],[1,6,604],[1,176,602],[3,"operator","=",605,0,606],[1,6,607],[1,6,608],[1,367,606],[",",609,0,-1],[1,6,610],["@",611,0,612,0,613],[1,6,614],[3,"keyword",xh[42],615,xh[47],616],[1,6,608],[1,165,617],[1,6,612],[1,6,618],[1,6,610],[1,463,619],[1,6,620],[/^\??/,621],[1,6,622],[":",623,0,624],[1,6,625],[1,6,626],[1,176,624],[3,"operator","=",627,0,613],[1,6,628],[1,367,613],[2,7,630,{name:"Statement"}],[1,6,631],[3,"keyword",/^of(?![a-zA-Z¡-￿_0-9_\$])/,632,0,-1],[1,6,633],[1,165,-1],[xh[24],634,xh[25],-1],[3,"keyword",xh[48],636,0,636],[1,6,637],[3,"def property",xh[19],642,"[",638,3,"number",xh[29],642,2,141,642,{name:"string",token:"string"}],[1,6,639],[1,165,640],[1,6,641],["]",642],[1,6,643],[3,"keyword","*",644,0,644,/^[\!\?]?/,645],[1,6,646],[1,6,647],[2,266,-1,{name:"FunctionDef"}],[":",648,0,649],[1,6,650],[1,6,651],[1,176,649],[3,"operator","=",652,0,653],[1,6,654],[1,6,655],[1,165,653],[xh[22],-1],[3,"type","{",657,3,"type",/^(?:(?!\{|\}|\*\/).)+/,656,` -`,658,0,-1],[2,656,659,{name:"doccomment.type"}],[/^[\t ]*(?:\*(?!\/)[\t ]*)?/,656],[/^(?=\*\/)/,656,3,"type","}",656],[1,6,661],[":",662,0,665],[1,6,663],[1,176,664],[1,6,665],["=>",-1],[2,466,667,{name:"ParamList"}],[1,6,668],[":",669,0,671],[1,6,670],[1,410,671],[1,6,672],["=>",-1],[3,"operator","=>",674],[1,6,675],[2,171,676,{name:"TypeParams"},0,676],[1,6,677],[2,161,-1,{name:"Block"},1,367,-1],["<",679],[1,678,679,[1,"=>",[0,/^(?!\>)/,/^[^]/]],679,">",-1],[1,367,681,0,-1],[1,6,682],[",",683,0,-1],[1,6,684],[1,367,685,0,685],[1,6,682],[2,704,687,{name:"ObjectMember"},0,-1],[1,6,688],[",",689,0,-1],[1,6,690],[2,704,691,{name:"ObjectMember"},0,691],[1,6,688],[1,719,693,0,693,0,-1],[1,6,694],[",",695,0,-1],[1,6,696],[1,719,697,0,697,0,697],[1,6,694],[1,724,699,0,-1],[1,6,700],[",",701,0,-1],[1,6,702],[1,724,703,0,703],[1,6,700],[3,"keyword",xh[48],705,0,705],[1,6,706],[3,"keyword","*",707,0,707],[1,6,708],[3,"def property",xh[19],709,"[",710,3,"number",xh[29],709,2,141,709,{name:"string",token:"string"},3,"operator","...",711],[1,6,712],[1,6,713],[1,6,714],[2,266,-1,{name:"FunctionDef"},":",715,0,-1],[1,165,716],[1,367,-1],[1,6,717],[1,6,718],[1,367,-1],["]",709],[1,463,720],[1,6,721],[3,"operator","=",722,0,-1],[1,6,723],[1,367,-1],[3,"def",/^[a-zA-Z¡-￿__\$][a-zA-Z¡-￿_0-9_\$]*(?![a-z]|[A-Z]|[¡-￿]|_|[0-9]|_|\$| *\:)/,725,3,"property",xh[19],729,3,"number",xh[29],729,2,141,729,{name:"string",token:"string"},3,"operator","...",733],[1,6,726],[3,"operator","=",727,0,-1],[1,6,728],[1,367,-1],[1,6,730],[":",731],[1,6,732],[1,719,-1],[1,6,734],[1,719,-1]],start:0,token:5}),Uh=/(^|\s)variable($|\s)/;function Fh(n0){var r0=/^(if|for|do|while|try)\b/.exec(n0.startLine.slice(n0.startPos));return r0&&r0[1]}var zh={Block:"}",BlockOf:"}",ClassBody:"}",AnnotationTypeBody:"}",ObjectLiteral:"}",ObjectPattern:"}",EnumBody:"}",LambdaBlock:"}",WhenBody:"}",ObjType:"}",ArrayInitializer:"}",NamespaceBlock:"}",BraceTokens:"}",ArrayLiteral:"]",BracketTokens:"]",TupleType:"]",ParamList:")",SimpleParamList:")",ArgList:")",ParenExpr:")",CondExpr:")",ForSpec:")",ParenTokens:")",ParenthesizedExpression:")",ConstructorParamList:")",TypeParams:">",TypeArgs:">",TemplateArgs:">",TemplateParams:">"},n1=["Block","NamespaceBlock","ClassBody","AnnotationTypeBody","BlockOf","EnumBody"],t1=["Statement","ObjectMember","ClassItem","EnumConstant","AnnotationTypeItem","ArgExpr","StatementMaybeOf","NewExpr"];function f1(n0,r0){for(var ty=n0.startLine;;n0=n0.parent){if(n0.name=="CondExpr")return _h.countColumn(n0.startLine,n0.startPos+1,r0.tabSize);if(t1.indexOf(n0.name)>-1&&/(^\s*|[\(\{\[])$/.test(n0.startLine.slice(0,n0.startPos)))return _h.countColumn(n0.startLine,n0.startPos,r0.tabSize);if(!n0.parent||n0.parent.startLine!=ty)return _h.countColumn(n0.startLine,null,r0.tabSize)}}function g1(n0,r0,ty){if(!n0)return 0;if(n0.name=="string"||n0.name=="comment")return _h.Pass;var Y0,X0,uy=zh[n0.name],aw=r0&&r0.charAt(0)==uy;if(uy&&ty.align!==!1&&(!ty.dontAlign||ty.dontAlign.indexOf(n0.name)<0)&&function(gx){return!/^\s*((\/\/.*)?$|.*=>)/.test(gx.startLine.slice(gx.startPos+1))}(n0))return _h.countColumn(n0.startLine,n0.startPos,ty.tabSize)+(aw?0:1);if(uy&&n1.indexOf(n0.name)>-1){var t2=n0.parent;t2&&t2.name=="Statement"&&t2.parent&&t2.parent.name=="Statement"&&Fh(t2.parent)&&!Fh(t2)&&(t2=t2.parent);var Y2=T1(t2,ty);return aw||n0.name=="NamespaceBlock"?Y2:/^(public|private|protected)\s*:/.test(r0)?Y2+1:!(X0=n0.parent)||X0.name!="Statement"||!/^switch\b/.test(X0.startLine.slice(X0.startPos))||(Y0=r0)&&/^\s*(case|default)\b/.test(Y0)?Y2+ty.indentUnit:Y2+2*ty.indentUnit}var I2=f1(n0,ty);return uy?aw&&(ty.dontCloseBrackets||"").indexOf(uy)<0?I2:I2+ty.indentUnit*((ty.doubleIndentBrackets||"").indexOf(uy)<0?1:2):t1.indexOf(n0.name)>-1?Fh(n0)?I2+ty.indentUnit:I2+2*ty.indentUnit:n0.name=="Alternative"||n0.name=="CatchFinally"?(I2=f1(n0.parent,ty),!r0||/^((else|catch|finally)\b|\/[\/\*])/.test(r0)?I2:I2+ty.indentUnit):n0.name=="ArrowRest"?I2+ty.indentUnit:n0.name=="NewExpression"&&n0.startLine.length>n0.startPos+5?_h.countColumn(n0.startLine,n0.startPos,ty.tabSize)+2*ty.indentUnit:n0.name=="InitializerList"?I2+2:n0.name!="ThrowsClause"||/throws\s*$/.test(n0.startLine.slice(n0.startPos))?g1(n0.parent,r0,ty):I2+2*ty.indentUnit}function T1(n0,r0){for(;;n0=n0.parent){if(!n0)return 0;if(t1.indexOf(n0.name)>-1||n0.parent&&zh[n0.parent.name])return _h.countColumn(n0.startLine,null,r0.tabSize)}}function V1(n0,r0,ty,Y0){var X0=n0.context&&n0.context.name;if(X0=="DeclType"||X0=="BeforeStatement"||X0=="AnnotationHead"||X0=="Template"||X0=="str")return T1(n0.context,Y0);if((X0=="doccomment.braced"||X0=="doccomment.tagGroup")&&!/^[@*]/.test(r0))return _h.countColumn(n0.context.startLine,null,Y0.tabSize)+2*Y0.indentUnit;var uy=Y0.forceContent&&/^\s*(\/\/.*)?$/.test(ty)?"x":ty;return g1(n0.contextAt(uy,ty.length-r0.length),r0,Y0)}function a0(n0,r0){for(var ty=r0-1;ty>=0;ty--){var Y0=n0.charCodeAt(ty);if(Y0===10)break;if(Y0!==32&&Y0!==9)return!1}return!0}var o0=function(n0){this.config=n0};o0.prototype.startState=function(){return new B0},o0.prototype.copyState=function(n0){return n0.copy()},o0.prototype.shouldInterceptTokenizing=function(n0){var r0=n0.currentTemplateState;return r0!==void 0&&r0.mode!==null},o0.prototype.interceptTokenizing=function(n0,r0){if(n0.match("${")&&(n0.backUp(2),!this.isEscaped(n0,n0.pos-2)))return{handled:!1};if(n0.peek()==="`"&&!this.isEscaped(n0,n0.pos))return{handled:!1};var ty=r0.currentTemplateState,Y0=ty.mode,X0=ty.state,uy=Y0.token(n0,X0);return this.backupIfEmbeddedTokenizerOvershot(n0),{handled:!0,style:uy}},o0.prototype.trackState=function(n0,r0,ty){if(n0){var Y0=ty.currentTemplateState;Y0&&Y0.kind!=="inline-expression"?this.trackStateInTemplate(n0,r0,ty,Y0):this.trackStateNotInTemplate(n0,r0,ty,Y0),ty.previousVariable=n0==="variable"?r0.current():null}},o0.prototype.trackStateNotInTemplate=function(n0,r0,ty,Y0){if(Y0&&n0==="string-2"&&r0.current().startsWith("}"))return ty.templateStack.pop(),void r0.backUp(r0.current().length-1);if(n0==="string-2"&&r0.current().startsWith("`")){var X0=this.getModeForTemplateTag(ty.previousVariable),uy="template";X0?(r0.backUp(r0.current().length-1),ty.templateStack.push(new Hy(uy,X0,CodeMirror.startState(X0)))):ty.templateStack.push(new Hy(uy,null,null))}},o0.prototype.trackStateInTemplate=function(n0,r0,ty,Y0){n0!=="string-2"||!r0.current().endsWith("`")||this.isEscaped(r0.pos-1)?n0!=="string-2"||!r0.current().endsWith("${")||this.isEscaped(r0.pos-2)||ty.templateStack.push(new Hy("inline-expression",null,null)):ty.templateStack.pop()},o0.prototype.backupIfEmbeddedTokenizerOvershot=function(n0){for(var r0=n0.current(),ty=0;;){var Y0=r0.slice(ty).search(/`|\$\{/);if(Y0===-1)return;Y0+=ty;var X0=r0.length-Y0,uy=n0.pos-X0;if(!this.isEscaped(n0,uy))return void n0.backUp(r0.length-Y0);ty=Y0+1}},o0.prototype.isEscaped=function(n0,r0){for(var ty=!1,Y0=r0;Y0>0&&n0.string[Y0-1]==="\\";)ty=!ty,Y0--;return ty},o0.prototype.getModeForTemplateTag=function(n0){if(!n0)return null;n0==="htm"&&(n0="html");for(var r0=["google-"+n0,""+n0],ty=0;ty)",dontCloseBrackets:")",tabSize:ty.tabSize,indentUnit:ty.indentUnit,forceContent:!0}}return n0&&(r0.__proto__=n0),r0.prototype=Object.create(n0&&n0.prototype),r0.prototype.constructor=r0,r0.prototype.startState=function(){var ty=n0.prototype.startState.call(this);return ty.embeddedParserState=this.templateTokenizer.startState(),ty},r0.prototype.copyState=function(ty){var Y0=n0.prototype.copyState.call(this,ty);return Y0.embeddedParserState=this.templateTokenizer.copyState(ty.embeddedParserState),Y0},r0.prototype.token=function(ty,Y0){var X0=Y0.embeddedParserState;if(this.templateTokenizer.shouldInterceptTokenizing(X0)){var uy=this.templateTokenizer.interceptTokenizing(ty,X0),aw=uy.handled,t2=uy.style;if(aw)return t2}var Y2=n0.prototype.token.call(this,ty,Y0);return this.templateTokenizer.trackState(Y2,ty,X0),function(I2,gx,TA,N2){if(I2=="def"){var G2=function(mw,$3){for(var w2=mw;w2;w2=w2.parent)if($3.indexOf(w2.name)>-1)return w2}(N2.context,gx),Bx=TA.current();if(G2&&(G2.locals||(G2.locals=[]),G2.locals.indexOf(Bx)==-1&&G2.locals.push(Bx),N2.context.name!="funcName"))return"def local"}else Uh.test(I2)&&!/qualified/.test(I2)&&function(mw,$3){for(var w2=mw;w2;w2=w2.parent)if(w2.locals&&w2.locals.indexOf($3)>-1)return!0;return!1}(N2.context,TA.current())&&(I2=I2.replace(Uh,"$1variable-2$2"));return I2}(Y2,yv,ty,Y0)},r0.prototype.indent=function(ty,Y0,X0){return Y0||(Y0=X0="x"),V1(ty,Y0,X0,this.indentConf)},r0}(_h.GrammarMode),cv={electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``"};for(var N0 in cv)ky.prototype[N0]=cv[N0];_h.registerHelper("wordChars","google-typescript",/[\w$]/),_h.defineMode("google-typescript",function(n0,r0){return new ky(n0,r0)})})((lh=typeof globalThis<"u"?globalThis:lh||self).CodeMirror)}(window),function(lh,ah){(function(ch){function ph(g1){if(g1&&g1.__esModule)return g1;var T1=Object.create(null);return g1&&Object.keys(g1).forEach(function(V1){if(V1!=="default"){var a0=Object.getOwnPropertyDescriptor(g1,V1);Object.defineProperty(T1,V1,a0.get?a0:{enumerable:!0,get:function(){return g1[V1]}})}}),T1.default=g1,Object.freeze(T1)}var _h=ph(ch),xh=[[1,` +`,658,0,-1],[2,656,659,{name:"doccomment.type"}],[/^[\t ]*(?:\*(?!\/)[\t ]*)?/,656],[/^(?=\*\/)/,656,3,"type","}",656],[1,6,661],[":",662,0,665],[1,6,663],[1,176,664],[1,6,665],["=>",-1],[2,466,667,{name:"ParamList"}],[1,6,668],[":",669,0,671],[1,6,670],[1,410,671],[1,6,672],["=>",-1],[3,"operator","=>",674],[1,6,675],[2,171,676,{name:"TypeParams"},0,676],[1,6,677],[2,161,-1,{name:"Block"},1,367,-1],["<",679],[1,678,679,[1,"=>",[0,/^(?!\>)/,/^[^]/]],679,">",-1],[1,367,681,0,-1],[1,6,682],[",",683,0,-1],[1,6,684],[1,367,685,0,685],[1,6,682],[2,704,687,{name:"ObjectMember"},0,-1],[1,6,688],[",",689,0,-1],[1,6,690],[2,704,691,{name:"ObjectMember"},0,691],[1,6,688],[1,719,693,0,693,0,-1],[1,6,694],[",",695,0,-1],[1,6,696],[1,719,697,0,697,0,697],[1,6,694],[1,724,699,0,-1],[1,6,700],[",",701,0,-1],[1,6,702],[1,724,703,0,703],[1,6,700],[3,"keyword",xh[48],705,0,705],[1,6,706],[3,"keyword","*",707,0,707],[1,6,708],[3,"def property",xh[19],709,"[",710,3,"number",xh[29],709,2,141,709,{name:"string",token:"string"},3,"operator","...",711],[1,6,712],[1,6,713],[1,6,714],[2,266,-1,{name:"FunctionDef"},":",715,0,-1],[1,165,716],[1,367,-1],[1,6,717],[1,6,718],[1,367,-1],["]",709],[1,463,720],[1,6,721],[3,"operator","=",722,0,-1],[1,6,723],[1,367,-1],[3,"def",/^[a-zA-Z¡-￿__\$][a-zA-Z¡-￿_0-9_\$]*(?![a-z]|[A-Z]|[¡-￿]|_|[0-9]|_|\$| *\:)/,725,3,"property",xh[19],729,3,"number",xh[29],729,2,141,729,{name:"string",token:"string"},3,"operator","...",733],[1,6,726],[3,"operator","=",727,0,-1],[1,6,728],[1,367,-1],[1,6,730],[":",731],[1,6,732],[1,719,-1],[1,6,734],[1,719,-1]],start:0,token:5}),Uh=/(^|\s)variable($|\s)/;function Fh(n0){var r0=/^(if|for|do|while|try)\b/.exec(n0.startLine.slice(n0.startPos));return r0&&r0[1]}var zh={Block:"}",BlockOf:"}",ClassBody:"}",AnnotationTypeBody:"}",ObjectLiteral:"}",ObjectPattern:"}",EnumBody:"}",LambdaBlock:"}",WhenBody:"}",ObjType:"}",ArrayInitializer:"}",NamespaceBlock:"}",BraceTokens:"}",ArrayLiteral:"]",BracketTokens:"]",TupleType:"]",ParamList:")",SimpleParamList:")",ArgList:")",ParenExpr:")",CondExpr:")",ForSpec:")",ParenTokens:")",ParenthesizedExpression:")",ConstructorParamList:")",TypeParams:">",TypeArgs:">",TemplateArgs:">",TemplateParams:">"},n1=["Block","NamespaceBlock","ClassBody","AnnotationTypeBody","BlockOf","EnumBody"],t1=["Statement","ObjectMember","ClassItem","EnumConstant","AnnotationTypeItem","ArgExpr","StatementMaybeOf","NewExpr"];function f1(n0,r0){for(var ty=n0.startLine;;n0=n0.parent){if(n0.name=="CondExpr")return yh.countColumn(n0.startLine,n0.startPos+1,r0.tabSize);if(t1.indexOf(n0.name)>-1&&/(^\s*|[\(\{\[])$/.test(n0.startLine.slice(0,n0.startPos)))return yh.countColumn(n0.startLine,n0.startPos,r0.tabSize);if(!n0.parent||n0.parent.startLine!=ty)return yh.countColumn(n0.startLine,null,r0.tabSize)}}function g1(n0,r0,ty){if(!n0)return 0;if(n0.name=="string"||n0.name=="comment")return yh.Pass;var Y0,X0,uy=zh[n0.name],aw=r0&&r0.charAt(0)==uy;if(uy&&ty.align!==!1&&(!ty.dontAlign||ty.dontAlign.indexOf(n0.name)<0)&&function(gx){return!/^\s*((\/\/.*)?$|.*=>)/.test(gx.startLine.slice(gx.startPos+1))}(n0))return yh.countColumn(n0.startLine,n0.startPos,ty.tabSize)+(aw?0:1);if(uy&&n1.indexOf(n0.name)>-1){var t2=n0.parent;t2&&t2.name=="Statement"&&t2.parent&&t2.parent.name=="Statement"&&Fh(t2.parent)&&!Fh(t2)&&(t2=t2.parent);var Y2=T1(t2,ty);return aw||n0.name=="NamespaceBlock"?Y2:/^(public|private|protected)\s*:/.test(r0)?Y2+1:!(X0=n0.parent)||X0.name!="Statement"||!/^switch\b/.test(X0.startLine.slice(X0.startPos))||(Y0=r0)&&/^\s*(case|default)\b/.test(Y0)?Y2+ty.indentUnit:Y2+2*ty.indentUnit}var I2=f1(n0,ty);return uy?aw&&(ty.dontCloseBrackets||"").indexOf(uy)<0?I2:I2+ty.indentUnit*((ty.doubleIndentBrackets||"").indexOf(uy)<0?1:2):t1.indexOf(n0.name)>-1?Fh(n0)?I2+ty.indentUnit:I2+2*ty.indentUnit:n0.name=="Alternative"||n0.name=="CatchFinally"?(I2=f1(n0.parent,ty),!r0||/^((else|catch|finally)\b|\/[\/\*])/.test(r0)?I2:I2+ty.indentUnit):n0.name=="ArrowRest"?I2+ty.indentUnit:n0.name=="NewExpression"&&n0.startLine.length>n0.startPos+5?yh.countColumn(n0.startLine,n0.startPos,ty.tabSize)+2*ty.indentUnit:n0.name=="InitializerList"?I2+2:n0.name!="ThrowsClause"||/throws\s*$/.test(n0.startLine.slice(n0.startPos))?g1(n0.parent,r0,ty):I2+2*ty.indentUnit}function T1(n0,r0){for(;;n0=n0.parent){if(!n0)return 0;if(t1.indexOf(n0.name)>-1||n0.parent&&zh[n0.parent.name])return yh.countColumn(n0.startLine,null,r0.tabSize)}}function V1(n0,r0,ty,Y0){var X0=n0.context&&n0.context.name;if(X0=="DeclType"||X0=="BeforeStatement"||X0=="AnnotationHead"||X0=="Template"||X0=="str")return T1(n0.context,Y0);if((X0=="doccomment.braced"||X0=="doccomment.tagGroup")&&!/^[@*]/.test(r0))return yh.countColumn(n0.context.startLine,null,Y0.tabSize)+2*Y0.indentUnit;var uy=Y0.forceContent&&/^\s*(\/\/.*)?$/.test(ty)?"x":ty;return g1(n0.contextAt(uy,ty.length-r0.length),r0,Y0)}function a0(n0,r0){for(var ty=r0-1;ty>=0;ty--){var Y0=n0.charCodeAt(ty);if(Y0===10)break;if(Y0!==32&&Y0!==9)return!1}return!0}var o0=function(n0){this.config=n0};o0.prototype.startState=function(){return new B0},o0.prototype.copyState=function(n0){return n0.copy()},o0.prototype.shouldInterceptTokenizing=function(n0){var r0=n0.currentTemplateState;return r0!==void 0&&r0.mode!==null},o0.prototype.interceptTokenizing=function(n0,r0){if(n0.match("${")&&(n0.backUp(2),!this.isEscaped(n0,n0.pos-2)))return{handled:!1};if(n0.peek()==="`"&&!this.isEscaped(n0,n0.pos))return{handled:!1};var ty=r0.currentTemplateState,Y0=ty.mode,X0=ty.state,uy=Y0.token(n0,X0);return this.backupIfEmbeddedTokenizerOvershot(n0),{handled:!0,style:uy}},o0.prototype.trackState=function(n0,r0,ty){if(n0){var Y0=ty.currentTemplateState;Y0&&Y0.kind!=="inline-expression"?this.trackStateInTemplate(n0,r0,ty,Y0):this.trackStateNotInTemplate(n0,r0,ty,Y0),ty.previousVariable=n0==="variable"?r0.current():null}},o0.prototype.trackStateNotInTemplate=function(n0,r0,ty,Y0){if(Y0&&n0==="string-2"&&r0.current().startsWith("}"))return ty.templateStack.pop(),void r0.backUp(r0.current().length-1);if(n0==="string-2"&&r0.current().startsWith("`")){var X0=this.getModeForTemplateTag(ty.previousVariable),uy="template";X0?(r0.backUp(r0.current().length-1),ty.templateStack.push(new Hy(uy,X0,CodeMirror.startState(X0)))):ty.templateStack.push(new Hy(uy,null,null))}},o0.prototype.trackStateInTemplate=function(n0,r0,ty,Y0){n0!=="string-2"||!r0.current().endsWith("`")||this.isEscaped(r0.pos-1)?n0!=="string-2"||!r0.current().endsWith("${")||this.isEscaped(r0.pos-2)||ty.templateStack.push(new Hy("inline-expression",null,null)):ty.templateStack.pop()},o0.prototype.backupIfEmbeddedTokenizerOvershot=function(n0){for(var r0=n0.current(),ty=0;;){var Y0=r0.slice(ty).search(/`|\$\{/);if(Y0===-1)return;Y0+=ty;var X0=r0.length-Y0,uy=n0.pos-X0;if(!this.isEscaped(n0,uy))return void n0.backUp(r0.length-Y0);ty=Y0+1}},o0.prototype.isEscaped=function(n0,r0){for(var ty=!1,Y0=r0;Y0>0&&n0.string[Y0-1]==="\\";)ty=!ty,Y0--;return ty},o0.prototype.getModeForTemplateTag=function(n0){if(!n0)return null;n0==="htm"&&(n0="html");for(var r0=["google-"+n0,""+n0],ty=0;ty)",dontCloseBrackets:")",tabSize:ty.tabSize,indentUnit:ty.indentUnit,forceContent:!0}}return n0&&(r0.__proto__=n0),r0.prototype=Object.create(n0&&n0.prototype),r0.prototype.constructor=r0,r0.prototype.startState=function(){var ty=n0.prototype.startState.call(this);return ty.embeddedParserState=this.templateTokenizer.startState(),ty},r0.prototype.copyState=function(ty){var Y0=n0.prototype.copyState.call(this,ty);return Y0.embeddedParserState=this.templateTokenizer.copyState(ty.embeddedParserState),Y0},r0.prototype.token=function(ty,Y0){var X0=Y0.embeddedParserState;if(this.templateTokenizer.shouldInterceptTokenizing(X0)){var uy=this.templateTokenizer.interceptTokenizing(ty,X0),aw=uy.handled,t2=uy.style;if(aw)return t2}var Y2=n0.prototype.token.call(this,ty,Y0);return this.templateTokenizer.trackState(Y2,ty,X0),function(I2,gx,TA,N2){if(I2=="def"){var G2=function(mw,$3){for(var w2=mw;w2;w2=w2.parent)if($3.indexOf(w2.name)>-1)return w2}(N2.context,gx),Bx=TA.current();if(G2&&(G2.locals||(G2.locals=[]),G2.locals.indexOf(Bx)==-1&&G2.locals.push(Bx),N2.context.name!="funcName"))return"def local"}else Uh.test(I2)&&!/qualified/.test(I2)&&function(mw,$3){for(var w2=mw;w2;w2=w2.parent)if(w2.locals&&w2.locals.indexOf($3)>-1)return!0;return!1}(N2.context,TA.current())&&(I2=I2.replace(Uh,"$1variable-2$2"));return I2}(Y2,yv,ty,Y0)},r0.prototype.indent=function(ty,Y0,X0){return Y0||(Y0=X0="x"),V1(ty,Y0,X0,this.indentConf)},r0}(yh.GrammarMode),cv={electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``"};for(var N0 in cv)ky.prototype[N0]=cv[N0];yh.registerHelper("wordChars","google-typescript",/[\w$]/),yh.defineMode("google-typescript",function(n0,r0){return new ky(n0,r0)})})((lh=typeof globalThis<"u"?globalThis:lh||self).CodeMirror)}(window),function(lh,ah){(function(ch){function ph(g1){if(g1&&g1.__esModule)return g1;var T1=Object.create(null);return g1&&Object.keys(g1).forEach(function(V1){if(V1!=="default"){var a0=Object.getOwnPropertyDescriptor(g1,V1);Object.defineProperty(T1,V1,a0.get?a0:{enumerable:!0,get:function(){return g1[V1]}})}}),T1.default=g1,Object.freeze(T1)}var yh=ph(ch),xh=[[1,` `," "," "],/^[a-zA-Z\-\.0-9_]+/],Oh=Object.freeze({__proto__:null,nodes:[[1,3,0,0,1],[/^[^]/,0],[/^[^]/,-1],[2,4,-1,{name:"comment",token:"comment"},2,6,-1,{name:"doctype",token:"meta"},2,8,-1,{name:"tag"},3,"atom",/^\&(?:(?![\;\n\t ]).)*\;/,-1,[1,` -`,/^(?:(?![\&\<]).)+/],-1],["",-1],[/^(?:\<\!doctype|\<\!DOCTYPE)(?![a-zA-Z\-\.0-9_])/,7],[[0,/^(?!\>)/,/^[^]/],7,">",-1],[2,14,9,{name:"openTag"}],[3,"tag","/>",-1,[7,"selfClosing"],10,3,"tag",">",11],[3,"tag",">",-1],[1,3,11,/^(?=\<\/)/,12],[[7,"matchingTag"],13,0,-1],[2,21,-1,{name:"closeTag"}],[3,"tag",[0,"<",[6,24]],15],[xh[0],15,3,"tag",xh[1],16],[xh[0],16,0,17],[3,"attribute",xh[1],18,0,-1],[xh[0],18,"=",19,0,20],[xh[0],19,2,25,20,{name:"attributeValue",token:"string"}],[xh[0],20,0,17],[3,"tag","",-1],[xh[0],24,"/",-1],['"',26,"'",27,/^(?:(?![\n\t \>]).)*/,-1],[[0,/^(?!\")/,/^[^]/],26,'"',-1],[[0,/^(?!\')/,/^[^]/],27,"'",-1]],start:0,token:2});function Uh(g1){var T1=/^\s*([\w_\.-]+)/.exec(g1);return T1?T1[1].toLowerCase():"x"}function Fh(g1){return Uh(g1.startLine.slice(g1.startPos+1))}var zh="area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" "),n1={selfClosing:function(g1,T1,V1){return zh.indexOf(Fh(V1))>-1},matchingTag:function(g1,T1,V1){return Uh(g1.slice(T1+2))==Fh(V1)}},t1=function(g1){function T1(V1,a0){g1.call(this,Oh,{predicates:n1}),this.conf=V1}return g1&&(T1.__proto__=g1),T1.prototype=Object.create(g1&&g1.prototype),T1.prototype.constructor=T1,T1.prototype.indent=function(V1,a0,o0){return function(B0,iy,Hy,yv){for(var ky=B0.contextAt(Hy,Hy.length-iy.length),cv=/^\s*<\/\s*([\w_\.-]+)/.exec(iy);ky;){if(ky.name=="tag"){var N0=CodeMirror.countColumn(ky.startLine,null,yv.tabSize);return cv&&cv[1].toLowerCase()==Fh(ky)?N0:N0+yv.indentUnit}if(ky.name=="openTag")return CodeMirror.countColumn(ky.startLine,null,yv.tabSize)+2*yv.indentUnit;ky=ky.parent}return 0}(V1,a0,o0,this.conf)},T1}(_h.GrammarMode),f1=t1.prototype;f1.electricInput=/^\s*<\/.*?>/,f1.blockCommentStart="",f1.fold="xml",function(g1){g1.xmlCurrentTag=function(T1){var V1=T1.context;if(!V1||V1.name!="openTag"&&V1.name!="closeTag")return null;var a0=/^<\/?\s*([\w\-\.]+)/.exec(V1.startLine.slice(V1.startPos));return a0?{name:a0[1],close:V1.name=="closeTag"}:null},g1.xmlCurrentContext=function(T1){for(var V1=[],a0=T1.context;a0;a0=a0.parent)if(a0.name=="tag"){var o0=/^<\s*([\w\-\.]+)/.exec(a0.startLine.slice(a0.startPos));o0&&V1.push(o0[1])}return V1.reverse()}}(f1),_h.defineMode("google-html",function(g1,T1){return new t1(g1,T1)})})((lh=typeof globalThis<"u"?globalThis:lh||self).CodeMirror)}(window),function(lh){function ah(ky){for(var cv={},N0=0;N0*\/]/.test(qv)?y2(null,"select-op"):qv=="."&&Zy.match(/^-?[_a-z][_a-z0-9-]*/i)?y2("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(qv)?y2(null,qv):Zy.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(Zy.current())&&(Aw.tokenize=yk),y2("variable callee","variable")):/[\w\\\-]/.test(qv)?(Zy.eatWhile(/[\w\\\-]/),y2("property","word")):y2(null,null):/[\d.]/.test(Zy.peek())?(Zy.eatWhile(/[\w.%]/),y2("number","unit")):Zy.match(/^-[\w\\\-]*/)?(Zy.eatWhile(/[\w\\\-]/),Zy.match(/^\s*:/,!1)?y2("variable-2","variable-definition"):y2("variable-2","variable")):Zy.match(/^\w+-/)?y2("meta","meta"):void 0}function G3(Zy){return function(Aw,qv){for(var LC,J4=!1;(LC=Aw.next())!=null;){if(LC==Zy&&!J4){Zy==")"&&Aw.backUp(1);break}J4=!J4&&LC=="\\"}return(LC==Zy||!J4&&Zy!=")")&&(qv.tokenize=null),y2("string","string")}}function yk(Zy,Aw){return Zy.next(),Zy.match(/^\s*[\"\')]/,!1)?Aw.tokenize=null:Aw.tokenize=G3(")"),y2(null,"(")}function Zk(Zy,Aw,qv){this.type=Zy,this.indent=Aw,this.prev=qv}function HC(Zy,Aw,qv,LC){return Zy.context=new Zk(qv,Aw.indentation()+(LC===!1?0:ty),Zy.context),qv}function O3(Zy){return Zy.context.prev&&(Zy.context=Zy.context.prev),Zy.context.type}function sx(Zy,Aw,qv){return s3[qv.context.type](Zy,Aw,qv)}function b2(Zy,Aw,qv,LC){for(var J4=LC||1;J4>0;J4--)qv.context=qv.context.prev;return sx(Zy,Aw,qv)}function eC(Zy){var Aw=Zy.current().toLowerCase();r0=G2.hasOwnProperty(Aw)?"atom":N2.hasOwnProperty(Aw)?"keyword":"variable"}var s3={top:function(Zy,Aw,qv){if(Zy=="{")return HC(qv,Aw,"block");if(Zy=="}"&&qv.context.prev)return O3(qv);if($3&&/@component/i.test(Zy))return HC(qv,Aw,"atComponentBlock");if(/^@(-moz-)?document$/i.test(Zy))return HC(qv,Aw,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(Zy))return HC(qv,Aw,"atBlock");if(/^@(font-face|counter-style)/i.test(Zy))return qv.stateArg=Zy,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(Zy))return"keyframes";if(Zy&&Zy.charAt(0)=="@")return HC(qv,Aw,"at");if(Zy=="hash")r0="builtin";else if(Zy=="word")r0="tag";else{if(Zy=="variable-definition")return"maybeprop";if(Zy=="interpolation")return HC(qv,Aw,"interpolation");if(Zy==":")return"pseudo";if(Bx&&Zy=="(")return HC(qv,Aw,"parens")}return qv.context.type},block:function(Zy,Aw,qv){if(Zy=="word"){var LC=Aw.current().toLowerCase();return Y2.hasOwnProperty(LC)?(r0="property","maybeprop"):I2.hasOwnProperty(LC)?(r0=w2?"string-2":"property","maybeprop"):Bx?(r0=Aw.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(r0+=" error","maybeprop")}return Zy=="meta"?"block":Bx||Zy!="hash"&&Zy!="qualifier"?s3.top(Zy,Aw,qv):(r0="error","block")},maybeprop:function(Zy,Aw,qv){return Zy==":"?HC(qv,Aw,"prop"):sx(Zy,Aw,qv)},prop:function(Zy,Aw,qv){if(Zy==";")return O3(qv);if(Zy=="{"&&Bx)return HC(qv,Aw,"propBlock");if(Zy=="}"||Zy=="{")return b2(Zy,Aw,qv);if(Zy=="(")return HC(qv,Aw,"parens");if(Zy!="hash"||/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(Aw.current())){if(Zy=="word")eC(Aw);else if(Zy=="interpolation")return HC(qv,Aw,"interpolation")}else r0+=" error";return"prop"},propBlock:function(Zy,Aw,qv){return Zy=="}"?O3(qv):Zy=="word"?(r0="property","maybeprop"):qv.context.type},parens:function(Zy,Aw,qv){return Zy=="{"||Zy=="}"?b2(Zy,Aw,qv):Zy==")"?O3(qv):Zy=="("?HC(qv,Aw,"parens"):Zy=="interpolation"?HC(qv,Aw,"interpolation"):(Zy=="word"&&eC(Aw),"parens")},pseudo:function(Zy,Aw,qv){return Zy=="meta"?"pseudo":Zy=="word"?(r0="variable-3",qv.context.type):sx(Zy,Aw,qv)},documentTypes:function(Zy,Aw,qv){return Zy=="word"&&X0.hasOwnProperty(Aw.current())?(r0="tag",qv.context.type):s3.atBlock(Zy,Aw,qv)},atBlock:function(Zy,Aw,qv){if(Zy=="(")return HC(qv,Aw,"atBlock_parens");if(Zy=="}"||Zy==";")return b2(Zy,Aw,qv);if(Zy=="{")return O3(qv)&&HC(qv,Aw,Bx?"block":"top");if(Zy=="interpolation")return HC(qv,Aw,"interpolation");if(Zy=="word"){var LC=Aw.current().toLowerCase();r0=LC=="only"||LC=="not"||LC=="and"||LC=="or"?"keyword":uy.hasOwnProperty(LC)?"attribute":aw.hasOwnProperty(LC)?"property":t2.hasOwnProperty(LC)?"keyword":Y2.hasOwnProperty(LC)?"property":I2.hasOwnProperty(LC)?w2?"string-2":"property":G2.hasOwnProperty(LC)?"atom":N2.hasOwnProperty(LC)?"keyword":"error"}return qv.context.type},atComponentBlock:function(Zy,Aw,qv){return Zy=="}"?b2(Zy,Aw,qv):Zy=="{"?O3(qv)&&HC(qv,Aw,Bx?"block":"top",!1):(Zy=="word"&&(r0="error"),qv.context.type)},atBlock_parens:function(Zy,Aw,qv){return Zy==")"?O3(qv):Zy=="{"||Zy=="}"?b2(Zy,Aw,qv,2):s3.atBlock(Zy,Aw,qv)},restricted_atBlock_before:function(Zy,Aw,qv){return Zy=="{"?HC(qv,Aw,"restricted_atBlock"):Zy=="word"&&qv.stateArg=="@counter-style"?(r0="variable","restricted_atBlock_before"):sx(Zy,Aw,qv)},restricted_atBlock:function(Zy,Aw,qv){return Zy=="}"?(qv.stateArg=null,O3(qv)):Zy=="word"?(r0=qv.stateArg=="@font-face"&&!gx.hasOwnProperty(Aw.current().toLowerCase())||qv.stateArg=="@counter-style"&&!TA.hasOwnProperty(Aw.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(Zy,Aw,qv){return Zy=="word"?(r0="variable","keyframes"):Zy=="{"?HC(qv,Aw,"top"):sx(Zy,Aw,qv)},at:function(Zy,Aw,qv){return Zy==";"?O3(qv):Zy=="{"||Zy=="}"?b2(Zy,Aw,qv):(Zy=="word"?r0="tag":Zy=="hash"&&(r0="builtin"),"at")},interpolation:function(Zy,Aw,qv){return Zy=="}"?O3(qv):Zy=="{"||Zy==";"?b2(Zy,Aw,qv):(Zy=="word"?r0="variable":Zy!="variable"&&Zy!="("&&Zy!=")"&&(r0="error"),"interpolation")}};return{startState:function(Zy){return{tokenize:null,state:N0?"block":"top",stateArg:null,context:new Zk(N0?"block":"top",Zy||0,null)}},token:function(Zy,Aw){if(!Aw.tokenize&&Zy.eatSpace())return null;var qv=(Aw.tokenize||WC)(Zy,Aw);return qv&&typeof qv=="object"&&(n0=qv[1],qv=qv[0]),r0=qv,n0!="comment"&&(Aw.state=s3[Aw.state](n0,Zy,Aw)),r0},indent:function(Zy,Aw){var qv=Zy.context,LC=Aw&&Aw.charAt(0),J4=qv.indent;return qv.type!="prop"||LC!="}"&&LC!=")"||(qv=qv.prev),qv.prev&&(LC!="}"||qv.type!="block"&&qv.type!="top"&&qv.type!="interpolation"&&qv.type!="restricted_atBlock"?(LC!=")"||qv.type!="parens"&&qv.type!="atBlock_parens")&&(LC!="{"||qv.type!="at"&&qv.type!="atBlock")||(J4=Math.max(0,qv.indent-ty)):J4=(qv=qv.prev).indent),J4},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:mw,fold:"brace"}});var ch=["domain","regexp","url","url-prefix"],ph=ah(ch),_h=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],xh=ah(_h),Oh=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],Uh=ah(Oh),Fh=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],zh=ah(Fh),n1=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],t1=ah(n1),f1=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],g1=ah(f1),T1=ah(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),V1=ah(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),a0=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","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","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],o0=ah(a0),B0=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],iy=ah(B0),Hy=ch.concat(_h).concat(Oh).concat(Fh).concat(n1).concat(f1).concat(a0).concat(B0);function yv(ky,cv){for(var N0,n0=!1;(N0=ky.next())!=null;){if(n0&&N0=="/"){cv.tokenize=null;break}n0=N0=="*"}return["comment","comment"]}lh.registerHelper("hintWords","css",Hy),lh.defineMIME("text/css",{documentTypes:ph,mediaTypes:xh,mediaFeatures:Uh,mediaValueKeywords:zh,propertyKeywords:t1,nonStandardPropertyKeywords:g1,fontProperties:T1,counterDescriptors:V1,colorKeywords:o0,valueKeywords:iy,tokenHooks:{"/":function(ky,cv){return!!ky.eat("*")&&(cv.tokenize=yv,yv(ky,cv))}},name:"css"}),lh.defineMIME("text/x-scss",{mediaTypes:xh,mediaFeatures:Uh,mediaValueKeywords:zh,propertyKeywords:t1,nonStandardPropertyKeywords:g1,colorKeywords:o0,valueKeywords:iy,fontProperties:T1,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(ky,cv){return ky.eat("/")?(ky.skipToEnd(),["comment","comment"]):ky.eat("*")?(cv.tokenize=yv,yv(ky,cv)):["operator","operator"]},":":function(ky){return!!ky.match(/^\s*\{/,!1)&&[null,null]},$:function(ky){return ky.match(/^[\w-]+/),ky.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(ky){return!!ky.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),lh.defineMIME("text/x-less",{mediaTypes:xh,mediaFeatures:Uh,mediaValueKeywords:zh,propertyKeywords:t1,nonStandardPropertyKeywords:g1,colorKeywords:o0,valueKeywords:iy,fontProperties:T1,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(ky,cv){return ky.eat("/")?(ky.skipToEnd(),["comment","comment"]):ky.eat("*")?(cv.tokenize=yv,yv(ky,cv)):["operator","operator"]},"@":function(ky){return ky.eat("{")?[null,"interpolation"]:!ky.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(ky.eatWhile(/[\w\\\-]/),ky.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),lh.defineMIME("text/x-gss",{documentTypes:ph,mediaTypes:xh,mediaFeatures:Uh,propertyKeywords:t1,nonStandardPropertyKeywords:g1,fontProperties:T1,counterDescriptors:V1,colorKeywords:o0,valueKeywords:iy,supportsAtComponent:!0,tokenHooks:{"/":function(ky,cv){return!!ky.eat("*")&&(cv.tokenize=yv,yv(ky,cv))}},name:"css",helperType:"gss"})}(CodeMirror),function(lh){lh.defineMode("javascript",function(ah,ch){var ph,_h,xh=ah.indentUnit,Oh=ch.statementIndent,Uh=ch.jsonld,Fh=ch.json||Uh,zh=ch.trackScope!==!1,n1=ch.typescript,t1=ch.wordCharacters||/[\w$\xa1-\uffff]/,f1=function(){function b0(Hk){return{type:Hk,style:"keyword"}}var gy=b0("keyword a"),l2=b0("keyword b"),tv=b0("keyword c"),Ew=b0("keyword d"),oA=b0("operator"),WA={type:"atom",style:"atom"};return{if:b0("if"),while:gy,with:gy,else:l2,do:l2,try:l2,finally:l2,return:Ew,break:Ew,continue:Ew,new:b0("new"),delete:tv,void:tv,throw:tv,debugger:b0("debugger"),var:b0("var"),const:b0("var"),let:b0("var"),function:b0("function"),catch:b0("catch"),for:b0("for"),switch:b0("switch"),case:b0("case"),default:b0("default"),in:oA,typeof:oA,instanceof:oA,true:WA,false:WA,null:WA,undefined:WA,NaN:WA,Infinity:WA,this:b0("this"),class:b0("class"),super:b0("atom"),yield:tv,export:b0("export"),import:b0("import"),extends:tv,await:tv}}(),g1=/[+\-*&%=<>!?|~^@]/,T1=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function V1(b0,gy,l2){return ph=b0,_h=l2,gy}function a0(b0,gy){var l2,tv=b0.next();if(tv=='"'||tv=="'")return gy.tokenize=(l2=tv,function(WA,Hk){var U$,UD=!1;if(Uh&&WA.peek()=="@"&&WA.match(T1))return Hk.tokenize=a0,V1("jsonld-keyword","meta");for(;(U$=WA.next())!=null&&(U$!=l2||UD);)UD=!UD&&U$=="\\";return UD||(Hk.tokenize=a0),V1("string","string")}),gy.tokenize(b0,gy);if(tv=="."&&b0.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return V1("number","number");if(tv=="."&&b0.match(".."))return V1("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(tv))return V1(tv);if(tv=="="&&b0.eat(">"))return V1("=>","operator");if(tv=="0"&&b0.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return V1("number","number");if(/\d/.test(tv))return b0.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),V1("number","number");if(tv=="/")return b0.eat("*")?(gy.tokenize=o0,o0(b0,gy)):b0.eat("/")?(b0.skipToEnd(),V1("comment","comment")):q3(b0,gy,1)?(function(WA){for(var Hk,U$=!1,UD=!1;(Hk=WA.next())!=null;){if(!U$){if(Hk=="/"&&!UD)return;Hk=="["?UD=!0:UD&&Hk=="]"&&(UD=!1)}U$=!U$&&Hk=="\\"}}(b0),b0.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),V1("regexp","string-2")):(b0.eat("="),V1("operator","operator",b0.current()));if(tv=="`")return gy.tokenize=B0,B0(b0,gy);if(tv=="#"&&b0.peek()=="!")return b0.skipToEnd(),V1("meta","meta");if(tv=="#"&&b0.eatWhile(t1))return V1("variable","property");if(tv=="<"&&b0.match("!--")||tv=="-"&&b0.match("->")&&!/\S/.test(b0.string.slice(0,b0.start)))return b0.skipToEnd(),V1("comment","comment");if(g1.test(tv))return tv==">"&&gy.lexical&&gy.lexical.type==">"||(b0.eat("=")?tv!="!"&&tv!="="||b0.eat("="):/[<>*+\-|&?]/.test(tv)&&(b0.eat(tv),tv==">"&&b0.eat(tv))),tv=="?"&&b0.eat(".")?V1("."):V1("operator","operator",b0.current());if(t1.test(tv)){b0.eatWhile(t1);var Ew=b0.current();if(gy.lastType!="."){if(f1.propertyIsEnumerable(Ew)){var oA=f1[Ew];return V1(oA.type,oA.style,Ew)}if(Ew=="async"&&b0.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return V1("async","keyword",Ew)}return V1("variable","variable",Ew)}}function o0(b0,gy){for(var l2,tv=!1;l2=b0.next();){if(l2=="/"&&tv){gy.tokenize=a0;break}tv=l2=="*"}return V1("comment","comment")}function B0(b0,gy){for(var l2,tv=!1;(l2=b0.next())!=null;){if(!tv&&(l2=="`"||l2=="$"&&b0.eat("{"))){gy.tokenize=a0;break}tv=!tv&&l2=="\\"}return V1("quasi","string-2",b0.current())}function iy(b0,gy){gy.fatArrowAt&&(gy.fatArrowAt=null);var l2=b0.string.indexOf("=>",b0.start);if(!(l2<0)){if(n1){var tv=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(b0.string.slice(b0.start,l2));tv&&(l2=tv.index)}for(var Ew=0,oA=!1,WA=l2-1;WA>=0;--WA){var Hk=b0.string.charAt(WA),U$="([{}])".indexOf(Hk);if(U$>=0&&U$<3){if(!Ew){++WA;break}if(--Ew==0){Hk=="("&&(oA=!0);break}}else if(U$>=3&&U$<6)++Ew;else if(t1.test(Hk))oA=!0;else if(/["'\/`]/.test(Hk))for(;;--WA){if(WA==0)return;if(b0.string.charAt(WA-1)==Hk&&b0.string.charAt(WA-2)!="\\"){WA--;break}}else if(oA&&!Ew){++WA;break}}oA&&!Ew&&(gy.fatArrowAt=WA)}}var Hy={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function yv(b0,gy,l2,tv,Ew,oA){this.indented=b0,this.column=gy,this.type=l2,this.prev=Ew,this.info=oA,tv!=null&&(this.align=tv)}function ky(b0,gy){if(!zh)return!1;for(var l2=b0.localVars;l2;l2=l2.next)if(l2.name==gy)return!0;for(var tv=b0.context;tv;tv=tv.prev)for(l2=tv.vars;l2;l2=l2.next)if(l2.name==gy)return!0}function cv(b0,gy,l2,tv,Ew){var oA=b0.cc;for(N0.state=b0,N0.stream=Ew,N0.marked=null,N0.cc=oA,N0.style=gy,b0.lexical.hasOwnProperty("align")||(b0.lexical.align=!0);;)if((oA.length?oA.pop():Fh?w2:mw)(l2,tv)){for(;oA.length&&oA[oA.length-1].lex;)oA.pop()();return N0.marked?N0.marked:l2=="variable"&&ky(b0,tv)?"variable-2":gy}}var N0={state:null,column:null,marked:null,cc:null};function n0(){for(var b0=arguments.length-1;b0>=0;b0--)N0.cc.push(arguments[b0])}function r0(){return n0.apply(null,arguments),!0}function ty(b0,gy){for(var l2=gy;l2;l2=l2.next)if(l2.name==b0)return!0;return!1}function Y0(b0){var gy=N0.state;if(N0.marked="def",zh){if(gy.context){if(gy.lexical.info=="var"&&gy.context&&gy.context.block){var l2=X0(b0,gy.context);if(l2!=null)return void(gy.context=l2)}else if(!ty(b0,gy.localVars))return void(gy.localVars=new t2(b0,gy.localVars))}ch.globalVars&&!ty(b0,gy.globalVars)&&(gy.globalVars=new t2(b0,gy.globalVars))}}function X0(b0,gy){if(gy){if(gy.block){var l2=X0(b0,gy.prev);return l2?l2==gy.prev?gy:new aw(l2,gy.vars,!0):null}return ty(b0,gy.vars)?gy:new aw(gy.prev,new t2(b0,gy.vars),!1)}return null}function uy(b0){return b0=="public"||b0=="private"||b0=="protected"||b0=="abstract"||b0=="readonly"}function aw(b0,gy,l2){this.prev=b0,this.vars=gy,this.block=l2}function t2(b0,gy){this.name=b0,this.next=gy}var Y2=new t2("this",new t2("arguments",null));function I2(){N0.state.context=new aw(N0.state.context,N0.state.localVars,!1),N0.state.localVars=Y2}function gx(){N0.state.context=new aw(N0.state.context,N0.state.localVars,!0),N0.state.localVars=null}function TA(){N0.state.localVars=N0.state.context.vars,N0.state.context=N0.state.context.prev}function N2(b0,gy){var l2=function(){var tv=N0.state,Ew=tv.indented;if(tv.lexical.type=="stat")Ew=tv.lexical.indented;else for(var oA=tv.lexical;oA&&oA.type==")"&&oA.align;oA=oA.prev)Ew=oA.indented;tv.lexical=new yv(Ew,N0.stream.column(),b0,null,tv.lexical,gy)};return l2.lex=!0,l2}function G2(){var b0=N0.state;b0.lexical.prev&&(b0.lexical.type==")"&&(b0.indented=b0.lexical.indented),b0.lexical=b0.lexical.prev)}function Bx(b0){return function gy(l2){return l2==b0?r0():b0==";"||l2=="}"||l2==")"||l2=="]"?n0():r0(gy)}}function mw(b0,gy){return b0=="var"?r0(N2("vardef",gy),a7,Bx(";"),G2):b0=="keyword a"?r0(N2("form"),WC,mw,G2):b0=="keyword b"?r0(N2("form"),mw,G2):b0=="keyword d"?N0.stream.match(/^\s*$/,!1)?r0():r0(N2("stat"),yk,Bx(";"),G2):b0=="debugger"?r0(Bx(";")):b0=="{"?r0(N2("}"),gx,xR,G2,TA):b0==";"?r0():b0=="if"?(N0.state.lexical.info=="else"&&N0.state.cc[N0.state.cc.length-1]==G2&&N0.state.cc.pop()(),r0(N2("form"),WC,mw,G2,t6)):b0=="function"?r0(wI):b0=="for"?r0(N2("form"),gx,bH,mw,TA,G2):b0=="class"||n1&&gy=="interface"?(N0.marked="keyword",r0(N2("form",b0=="class"?b0:gy),hL,G2)):b0=="variable"?n1&&gy=="declare"?(N0.marked="keyword",r0(mw)):n1&&(gy=="module"||gy=="enum"||gy=="type")&&N0.stream.match(/^\s*\w/,!1)?(N0.marked="keyword",gy=="enum"?r0(c7):gy=="type"?r0(UU,Bx("operator"),c3,Bx(";")):r0(N2("form"),$4,Bx("{"),N2("}"),xR,G2,G2)):n1&&gy=="namespace"?(N0.marked="keyword",r0(N2("form"),w2,mw,G2)):n1&&gy=="abstract"?(N0.marked="keyword",r0(mw)):r0(N2("stat"),Aw):b0=="switch"?r0(N2("form"),WC,Bx("{"),N2("}","switch"),gx,xR,G2,G2,TA):b0=="case"?r0(w2,Bx(":")):b0=="default"?r0(Bx(":")):b0=="catch"?r0(N2("form"),I2,$3,mw,G2,TA):b0=="export"?r0(N2("stat"),o7,G2):b0=="import"?r0(N2("stat"),IP,G2):b0=="async"?r0(mw):gy=="@"?r0(w2,mw):n0(N2("stat"),w2,Bx(";"),G2)}function $3(b0){if(b0=="(")return r0(Q6,Bx(")"))}function w2(b0,gy){return G3(b0,gy,!1)}function y2(b0,gy){return G3(b0,gy,!0)}function WC(b0){return b0!="("?n0():r0(N2(")"),yk,Bx(")"),G2)}function G3(b0,gy,l2){if(N0.state.fatArrowAt==N0.stream.start){var tv=l2?eC:b2;if(b0=="(")return r0(I2,N2(")"),MO(Q6,")"),G2,Bx("=>"),tv,TA);if(b0=="variable")return n0(I2,$4,Bx("=>"),tv,TA)}var Ew=l2?HC:Zk;return Hy.hasOwnProperty(b0)?r0(Ew):b0=="function"?r0(wI,Ew):b0=="class"||n1&&gy=="interface"?(N0.marked="keyword",r0(N2("form"),RP,G2)):b0=="keyword c"||b0=="async"?r0(l2?y2:w2):b0=="("?r0(N2(")"),yk,Bx(")"),G2,Ew):b0=="operator"||b0=="spread"?r0(l2?y2:w2):b0=="["?r0(N2("]"),n6,G2,Ew):b0=="{"?QN(LC,"}",null,Ew):b0=="quasi"?n0(O3,Ew):b0=="new"?r0(function(oA){return function(WA){return WA=="."?r0(oA?Zy:s3):WA=="variable"&&n1?r0(r7,oA?HC:Zk):n0(oA?y2:w2)}}(l2)):r0()}function yk(b0){return b0.match(/[;\}\)\],]/)?n0():n0(w2)}function Zk(b0,gy){return b0==","?r0(yk):HC(b0,gy,!1)}function HC(b0,gy,l2){var tv=l2==0?Zk:HC,Ew=l2==0?w2:y2;return b0=="=>"?r0(I2,l2?eC:b2,TA):b0=="operator"?/\+\+|--/.test(gy)||n1&&gy=="!"?r0(tv):n1&&gy=="<"&&N0.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?r0(N2(">"),MO(c3,">"),G2,tv):gy=="?"?r0(w2,Bx(":"),Ew):r0(Ew):b0=="quasi"?n0(O3,tv):b0!=";"?b0=="("?QN(y2,")","call",tv):b0=="."?r0(qv,tv):b0=="["?r0(N2("]"),yk,Bx("]"),G2,tv):n1&&gy=="as"?(N0.marked="keyword",r0(c3,tv)):b0=="regexp"?(N0.state.lastType=N0.marked="operator",N0.stream.backUp(N0.stream.pos-N0.stream.start-1),r0(Ew)):void 0:void 0}function O3(b0,gy){return b0!="quasi"?n0():gy.slice(gy.length-2)!="${"?r0(O3):r0(yk,sx)}function sx(b0){if(b0=="}")return N0.marked="string-2",N0.state.tokenize=B0,r0(O3)}function b2(b0){return iy(N0.stream,N0.state),n0(b0=="{"?mw:w2)}function eC(b0){return iy(N0.stream,N0.state),n0(b0=="{"?mw:y2)}function s3(b0,gy){if(gy=="target")return N0.marked="keyword",r0(Zk)}function Zy(b0,gy){if(gy=="target")return N0.marked="keyword",r0(HC)}function Aw(b0){return b0==":"?r0(G2,mw):n0(Zk,Bx(";"),G2)}function qv(b0){if(b0=="variable")return N0.marked="property",r0()}function LC(b0,gy){return b0=="async"?(N0.marked="property",r0(LC)):b0=="variable"||N0.style=="keyword"?(N0.marked="property",gy=="get"||gy=="set"?r0(J4):(n1&&N0.state.fatArrowAt==N0.stream.start&&(l2=N0.stream.match(/^\s*:\s*/,!1))&&(N0.state.fatArrowAt=N0.stream.pos+l2[0].length),r0(NP))):b0=="number"||b0=="string"?(N0.marked=Uh?"property":N0.style+" property",r0(NP)):b0=="jsonld-keyword"?r0(NP):n1&&uy(gy)?(N0.marked="keyword",r0(LC)):b0=="["?r0(w2,l5,Bx("]"),NP):b0=="spread"?r0(y2,NP):gy=="*"?(N0.marked="keyword",r0(LC)):b0==":"?n0(NP):void 0;var l2}function J4(b0){return b0!="variable"?n0(NP):(N0.marked="property",r0(wI))}function NP(b0){return b0==":"?r0(y2):b0=="("?n0(wI):void 0}function MO(b0,gy,l2){function tv(Ew,oA){if(l2?l2.indexOf(Ew)>-1:Ew==","){var WA=N0.state.lexical;return WA.info=="call"&&(WA.pos=(WA.pos||0)+1),r0(function(Hk,U$){return Hk==gy||U$==gy?n0():n0(b0)},tv)}return Ew==gy||oA==gy?r0():l2&&l2.indexOf(";")>-1?n0(b0):r0(Bx(gy))}return function(Ew,oA){return Ew==gy||oA==gy?r0():n0(b0,tv)}}function QN(b0,gy,l2){for(var tv=3;tv"),c3):b0=="quasi"?n0(F$,C$):void 0}function tC(b0){if(b0=="=>")return r0(c3)}function i7(b0){return b0.match(/[\}\)\]]/)?r0():b0==","||b0==";"?r0(i7):n0(ZO,i7)}function ZO(b0,gy){return b0=="variable"||N0.style=="keyword"?(N0.marked="property",r0(ZO)):gy=="?"||b0=="number"||b0=="string"?r0(ZO):b0==":"?r0(c3):b0=="["?r0(Bx("variable"),DP,Bx("]"),ZO):b0=="("?n0(TR,ZO):b0.match(/[;\}\)\],]/)?void 0:r0()}function F$(b0,gy){return b0!="quasi"?n0():gy.slice(gy.length-2)!="${"?r0(F$):r0(c3,T$)}function T$(b0){if(b0=="}")return N0.marked="string-2",N0.state.tokenize=B0,r0(F$)}function hF(b0,gy){return b0=="variable"&&N0.stream.match(/^\s*[?:]/,!1)||gy=="?"?r0(hF):b0==":"?r0(c3):b0=="spread"?r0(hF):n0(c3)}function C$(b0,gy){return gy=="<"?r0(N2(">"),MO(c3,">"),G2,C$):gy=="|"||b0=="."||gy=="&"?r0(c3):b0=="["?r0(c3,Bx("]"),C$):gy=="extends"||gy=="implements"?(N0.marked="keyword",r0(c3)):gy=="?"?r0(c3,Bx(":"),c3):void 0}function r7(b0,gy){if(gy=="<")return r0(N2(">"),MO(c3,">"),G2,C$)}function fN(){return n0(c3,h5)}function h5(b0,gy){if(gy=="=")return r0(c3)}function a7(b0,gy){return gy=="enum"?(N0.marked="keyword",r0(c7)):n0($4,l5,d5,fF)}function $4(b0,gy){return n1&&uy(gy)?(N0.marked="keyword",r0($4)):b0=="variable"?(Y0(gy),r0()):b0=="spread"?r0($4):b0=="["?QN(BU,"]"):b0=="{"?QN(dF,"}"):void 0}function dF(b0,gy){return b0!="variable"||N0.stream.match(/^\s*:/,!1)?(b0=="variable"&&(N0.marked="property"),b0=="spread"?r0($4):b0=="}"?n0():b0=="["?r0(w2,Bx("]"),Bx(":"),dF):r0(Bx(":"),$4,d5)):(Y0(gy),r0(d5))}function BU(){return n0($4,d5)}function d5(b0,gy){if(gy=="=")return r0(y2)}function fF(b0){if(b0==",")return r0(a7)}function t6(b0,gy){if(b0=="keyword b"&&gy=="else")return r0(N2("form","else"),mw,G2)}function bH(b0,gy){return gy=="await"?r0(bH):b0=="("?r0(N2(")"),bX,G2):void 0}function bX(b0){return b0=="var"?r0(a7,X6):b0=="variable"?r0(X6):n0(X6)}function X6(b0,gy){return b0==")"?r0():b0==";"?r0(X6):gy=="in"||gy=="of"?(N0.marked="keyword",r0(w2,X6)):n0(w2,X6)}function wI(b0,gy){return gy=="*"?(N0.marked="keyword",r0(wI)):b0=="variable"?(Y0(gy),r0(wI)):b0=="("?r0(I2,N2(")"),MO(Q6,")"),G2,uF,mw,TA):n1&&gy=="<"?r0(N2(">"),MO(fN,">"),G2,wI):void 0}function TR(b0,gy){return gy=="*"?(N0.marked="keyword",r0(TR)):b0=="variable"?(Y0(gy),r0(TR)):b0=="("?r0(I2,N2(")"),MO(Q6,")"),G2,uF,TA):n1&&gy=="<"?r0(N2(">"),MO(fN,">"),G2,TR):void 0}function UU(b0,gy){return b0=="keyword"||b0=="variable"?(N0.marked="type",r0(UU)):gy=="<"?r0(N2(">"),MO(fN,">"),G2):void 0}function Q6(b0,gy){return gy=="@"&&r0(w2,Q6),b0=="spread"?r0(Q6):n1&&uy(gy)?(N0.marked="keyword",r0(Q6)):n1&&b0=="this"?r0(l5,d5):n0($4,l5,d5)}function RP(b0,gy){return b0=="variable"?hL(b0,gy):jU(b0,gy)}function hL(b0,gy){if(b0=="variable")return Y0(gy),r0(jU)}function jU(b0,gy){return gy=="<"?r0(N2(">"),MO(fN,">"),G2,jU):gy=="extends"||gy=="implements"||n1&&b0==","?(gy=="implements"&&(N0.marked="keyword"),r0(n1?c3:w2,jU)):b0=="{"?r0(N2("}"),CR,G2):void 0}function CR(b0,gy){return b0=="async"||b0=="variable"&&(gy=="static"||gy=="get"||gy=="set"||n1&&uy(gy))&&N0.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(N0.marked="keyword",r0(CR)):b0=="variable"||N0.style=="keyword"?(N0.marked="property",r0(dL,CR)):b0=="number"||b0=="string"?r0(dL,CR):b0=="["?r0(w2,l5,Bx("]"),dL,CR):gy=="*"?(N0.marked="keyword",r0(CR)):n1&&b0=="("?n0(TR,CR):b0==";"||b0==","?r0(CR):b0=="}"?r0():gy=="@"?r0(w2,CR):void 0}function dL(b0,gy){if(gy=="!"||gy=="?")return r0(dL);if(b0==":")return r0(c3,d5);if(gy=="=")return r0(y2);var l2=N0.state.lexical.prev;return n0(l2&&l2.info=="interface"?TR:wI)}function o7(b0,gy){return gy=="*"?(N0.marked="keyword",r0(mx,Bx(";"))):gy=="default"?(N0.marked="keyword",r0(w2,Bx(";"))):b0=="{"?r0(MO(_H,"}"),mx,Bx(";")):n0(mw)}function _H(b0,gy){return gy=="as"?(N0.marked="keyword",r0(Bx("variable"))):b0=="variable"?n0(y2,_H):void 0}function IP(b0){return b0=="string"?r0():b0=="("?n0(w2):b0=="."?n0(Zk):n0(f5,s7,mx)}function f5(b0,gy){return b0=="{"?QN(f5,"}"):(b0=="variable"&&Y0(gy),gy=="*"&&(N0.marked="keyword"),r0(B$))}function s7(b0){if(b0==",")return r0(f5,s7)}function B$(b0,gy){if(gy=="as")return N0.marked="keyword",r0(f5)}function mx(b0,gy){if(gy=="from")return N0.marked="keyword",r0(w2)}function n6(b0){return b0=="]"?r0():n0(MO(y2,"]"))}function c7(){return n0(N2("form"),$4,Bx("{"),N2("}"),MO(EI,"}"),G2,G2)}function EI(){return n0($4,d5)}function q3(b0,gy,l2){return gy.tokenize==a0&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(gy.lastType)||gy.lastType=="quasi"&&/\{\s*$/.test(b0.string.slice(0,b0.pos-(l2||0)))}return I2.lex=gx.lex=!0,TA.lex=!0,G2.lex=!0,{startState:function(b0){var gy={tokenize:a0,lastType:"sof",cc:[],lexical:new yv((b0||0)-xh,0,"block",!1),localVars:ch.localVars,context:ch.localVars&&new aw(null,null,!1),indented:b0||0};return ch.globalVars&&typeof ch.globalVars=="object"&&(gy.globalVars=ch.globalVars),gy},token:function(b0,gy){if(b0.sol()&&(gy.lexical.hasOwnProperty("align")||(gy.lexical.align=!1),gy.indented=b0.indentation(),iy(b0,gy)),gy.tokenize!=o0&&b0.eatSpace())return null;var l2=gy.tokenize(b0,gy);return ph=="comment"?l2:(gy.lastType=ph!="operator"||_h!="++"&&_h!="--"?ph:"incdec",cv(gy,l2,ph,_h,b0))},indent:function(b0,gy){if(b0.tokenize==o0||b0.tokenize==B0)return lh.Pass;if(b0.tokenize!=a0)return 0;var l2,tv=gy&&gy.charAt(0),Ew=b0.lexical;if(!/^\s*else\b/.test(gy))for(var oA=b0.cc.length-1;oA>=0;--oA){var WA=b0.cc[oA];if(WA==G2)Ew=Ew.prev;else if(WA!=t6&&WA!=TA)break}for(;(Ew.type=="stat"||Ew.type=="form")&&(tv=="}"||(l2=b0.cc[b0.cc.length-1])&&(l2==Zk||l2==HC)&&!/^[,\.=+\-*:?[\(]/.test(gy));)Ew=Ew.prev;Oh&&Ew.type==")"&&Ew.prev.type=="stat"&&(Ew=Ew.prev);var Hk=Ew.type,U$=tv==Hk;return Hk=="vardef"?Ew.indented+(b0.lastType=="operator"||b0.lastType==","?Ew.info.length+1:0):Hk=="form"&&tv=="{"?Ew.indented:Hk=="form"?Ew.indented+xh:Hk=="stat"?Ew.indented+(function(UD,EC){return UD.lastType=="operator"||UD.lastType==","||g1.test(EC.charAt(0))||/[,.]/.test(EC.charAt(0))}(b0,gy)?Oh||xh:0):Ew.info!="switch"||U$||ch.doubleIndentSwitch==0?Ew.align?Ew.column+(U$?0:1):Ew.indented+(U$?0:xh):Ew.indented+(/^(?:case|default)\b/.test(gy)?xh:2*xh)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:Fh?null:"/*",blockCommentEnd:Fh?null:"*/",blockCommentContinue:Fh?null:" * ",lineComment:Fh?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:Fh?"json":"javascript",jsonldMode:Uh,jsonMode:Fh,expressionAllowed:q3,skipExpression:function(b0){cv(b0,"atom","atom","true",new lh.StringStream("",2,null))}}}),lh.registerHelper("wordChars","javascript",/[\w$]/),lh.defineMIME("text/javascript","javascript"),lh.defineMIME("text/ecmascript","javascript"),lh.defineMIME("application/javascript","javascript"),lh.defineMIME("application/x-javascript","javascript"),lh.defineMIME("application/ecmascript","javascript"),lh.defineMIME("application/json",{name:"javascript",json:!0}),lh.defineMIME("application/x-json",{name:"javascript",json:!0}),lh.defineMIME("application/manifest+json",{name:"javascript",json:!0}),lh.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),lh.defineMIME("text/typescript",{name:"javascript",typescript:!0}),lh.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(CodeMirror),function(lh){var ah={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},ch={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};lh.defineMode("xml",function(ph,_h){var xh,Oh,Uh=ph.indentUnit,Fh={},zh=_h.htmlMode?ah:ch;for(var n1 in zh)Fh[n1]=zh[n1];for(var n1 in _h)Fh[n1]=_h[n1];function t1(Y0,X0){function uy(t2){return X0.tokenize=t2,t2(Y0,X0)}var aw=Y0.next();return aw=="<"?Y0.eat("!")?Y0.eat("[")?Y0.match("CDATA[")?uy(g1("atom","]]>")):null:Y0.match("--")?uy(g1("comment","-->")):Y0.match("DOCTYPE",!0,!0)?(Y0.eatWhile(/[\w\._\-]/),uy(T1(1))):null:Y0.eat("?")?(Y0.eatWhile(/[\w\._\-]/),X0.tokenize=g1("meta","?>"),"meta"):(xh=Y0.eat("/")?"closeTag":"openTag",X0.tokenize=f1,"tag bracket"):aw=="&"?(Y0.eat("#")?Y0.eat("x")?Y0.eatWhile(/[a-fA-F\d]/)&&Y0.eat(";"):Y0.eatWhile(/[\d]/)&&Y0.eat(";"):Y0.eatWhile(/[\w\.\-:]/)&&Y0.eat(";"))?"atom":"error":(Y0.eatWhile(/[^&<]/),null)}function f1(Y0,X0){var uy,aw,t2=Y0.next();if(t2==">"||t2=="/"&&Y0.eat(">"))return X0.tokenize=t1,xh=t2==">"?"endTag":"selfcloseTag","tag bracket";if(t2=="=")return xh="equals",null;if(t2=="<"){X0.tokenize=t1,X0.state=iy,X0.tagName=X0.tagStart=null;var Y2=X0.tokenize(Y0,X0);return Y2?Y2+" tag error":"tag error"}return/[\'\"]/.test(t2)?(X0.tokenize=(uy=t2,aw=function(I2,gx){for(;!I2.eol();)if(I2.next()==uy){gx.tokenize=f1;break}return"string"},aw.isInAttribute=!0,aw),X0.stringStartCol=Y0.column(),X0.tokenize(Y0,X0)):(Y0.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function g1(Y0,X0){return function(uy,aw){for(;!uy.eol();){if(uy.match(X0)){aw.tokenize=t1;break}uy.next()}return Y0}}function T1(Y0){return function(X0,uy){for(var aw;(aw=X0.next())!=null;){if(aw=="<")return uy.tokenize=T1(Y0+1),uy.tokenize(X0,uy);if(aw==">"){if(Y0==1){uy.tokenize=t1;break}return uy.tokenize=T1(Y0-1),uy.tokenize(X0,uy)}}return"meta"}}function V1(Y0){return Y0&&Y0.toLowerCase()}function a0(Y0,X0,uy){this.prev=Y0.context,this.tagName=X0||"",this.indent=Y0.indented,this.startOfLine=uy,(Fh.doNotIndent.hasOwnProperty(X0)||Y0.context&&Y0.context.noIndent)&&(this.noIndent=!0)}function o0(Y0){Y0.context&&(Y0.context=Y0.context.prev)}function B0(Y0,X0){for(var uy;;){if(!Y0.context||(uy=Y0.context.tagName,!Fh.contextGrabbers.hasOwnProperty(V1(uy))||!Fh.contextGrabbers[V1(uy)].hasOwnProperty(V1(X0))))return;o0(Y0)}}function iy(Y0,X0,uy){return Y0=="openTag"?(uy.tagStart=X0.column(),Hy):Y0=="closeTag"?yv:iy}function Hy(Y0,X0,uy){return Y0=="word"?(uy.tagName=X0.current(),Oh="tag",N0):Fh.allowMissingTagName&&Y0=="endTag"?(Oh="tag bracket",N0(Y0,X0,uy)):(Oh="error",Hy)}function yv(Y0,X0,uy){if(Y0=="word"){var aw=X0.current();return uy.context&&uy.context.tagName!=aw&&Fh.implicitlyClosed.hasOwnProperty(V1(uy.context.tagName))&&o0(uy),uy.context&&uy.context.tagName==aw||Fh.matchClosing===!1?(Oh="tag",ky):(Oh="tag error",cv)}return Fh.allowMissingTagName&&Y0=="endTag"?(Oh="tag bracket",ky(Y0,X0,uy)):(Oh="error",cv)}function ky(Y0,X0,uy){return Y0!="endTag"?(Oh="error",ky):(o0(uy),iy)}function cv(Y0,X0,uy){return Oh="error",ky(Y0,0,uy)}function N0(Y0,X0,uy){if(Y0=="word")return Oh="attribute",n0;if(Y0=="endTag"||Y0=="selfcloseTag"){var aw=uy.tagName,t2=uy.tagStart;return uy.tagName=uy.tagStart=null,Y0=="selfcloseTag"||Fh.autoSelfClosers.hasOwnProperty(V1(aw))?B0(uy,aw):(B0(uy,aw),uy.context=new a0(uy,aw,t2==uy.indented)),iy}return Oh="error",N0}function n0(Y0,X0,uy){return Y0=="equals"?r0:(Fh.allowMissing||(Oh="error"),N0(Y0,0,uy))}function r0(Y0,X0,uy){return Y0=="string"?ty:Y0=="word"&&Fh.allowUnquoted?(Oh="string",N0):(Oh="error",N0(Y0,0,uy))}function ty(Y0,X0,uy){return Y0=="string"?ty:N0(Y0,0,uy)}return t1.isInText=!0,{startState:function(Y0){var X0={tokenize:t1,state:iy,indented:Y0||0,tagName:null,tagStart:null,context:null};return Y0!=null&&(X0.baseIndent=Y0),X0},token:function(Y0,X0){if(!X0.tagName&&Y0.sol()&&(X0.indented=Y0.indentation()),Y0.eatSpace())return null;xh=null;var uy=X0.tokenize(Y0,X0);return(uy||xh)&&uy!="comment"&&(Oh=null,X0.state=X0.state(xh||uy,Y0,X0),Oh&&(uy=Oh=="error"?uy+" error":Oh)),uy},indent:function(Y0,X0,uy){var aw=Y0.context;if(Y0.tokenize.isInAttribute)return Y0.tagStart==Y0.indented?Y0.stringStartCol+1:Y0.indented+Uh;if(aw&&aw.noIndent)return lh.Pass;if(Y0.tokenize!=f1&&Y0.tokenize!=t1)return uy?uy.match(/^(\s*)/)[0].length:0;if(Y0.tagName)return Fh.multilineTagIndentPastTag!==!1?Y0.tagStart+Y0.tagName.length+2:Y0.tagStart+Uh*(Fh.multilineTagIndentFactor||1);if(Fh.alignCDATA&&/$/,blockCommentStart:"",configuration:Fh.htmlMode?"html":"xml",helperType:Fh.htmlMode?"html":"xml",skipAttribute:function(Y0){Y0.state==r0&&(Y0.state=N0)},xmlCurrentTag:function(Y0){return Y0.tagName?{name:Y0.tagName,close:Y0.type=="closeTag"}:null},xmlCurrentContext:function(Y0){for(var X0=[],uy=Y0.context;uy;uy=uy.prev)X0.push(uy.tagName);return X0.reverse()}}}),lh.defineMIME("text/xml","xml"),lh.defineMIME("application/xml","xml"),lh.mimeModes.hasOwnProperty("text/html")||lh.defineMIME("text/html",{name:"xml",htmlMode:!0})}(CodeMirror),function(lh){function ah(ph,_h,xh,Oh){this.state=ph,this.mode=_h,this.depth=xh,this.prev=Oh}function ch(ph){return new ah(lh.copyState(ph.mode,ph.state),ph.mode,ph.depth,ph.prev&&ch(ph.prev))}lh.defineMode("jsx",function(ph,_h){var xh=lh.getMode(ph,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),Oh=lh.getMode(ph,_h&&_h.base||"javascript");function Uh(zh){var n1=zh.tagName;zh.tagName=null;var t1=xh.indent(zh,"","");return zh.tagName=n1,t1}function Fh(zh,n1){return n1.context.mode==xh?function(t1,f1,g1){if(g1.depth==2)return t1.match(/^.*?\*\//)?g1.depth=1:t1.skipToEnd(),"comment";if(t1.peek()=="{"){xh.skipAttribute(g1.state);var T1=Uh(g1.state),V1=g1.state.context;if(V1&&t1.match(/^[^>]*>\s*$/,!1)){for(;V1.prev&&!V1.startOfLine;)V1=V1.prev;V1.startOfLine?T1-=ph.indentUnit:g1.prev.state.lexical&&(T1=g1.prev.state.lexical.indented)}else g1.depth==1&&(T1+=ph.indentUnit);return f1.context=new ah(lh.startState(Oh,T1),Oh,0,f1.context),null}if(g1.depth==1){if(t1.peek()=="<")return xh.skipAttribute(g1.state),f1.context=new ah(lh.startState(xh,Uh(g1.state)),xh,0,f1.context),null;if(t1.match("//"))return t1.skipToEnd(),"comment";if(t1.match("/*"))return g1.depth=2,Fh(t1,f1)}var a0,o0=xh.token(t1,g1.state),B0=t1.current();return/\btag\b/.test(o0)?/>$/.test(B0)?g1.state.context?g1.depth=0:f1.context=f1.context.prev:/^-1&&t1.backUp(B0.length-a0),o0}(zh,n1,n1.context):function(t1,f1,g1){if(t1.peek()=="<"&&Oh.expressionAllowed(t1,g1.state))return f1.context=new ah(lh.startState(xh,Oh.indent(g1.state,"","")),xh,0,f1.context),Oh.skipExpression(g1.state),null;var T1=Oh.token(t1,g1.state);if(!T1&&g1.depth!=null){var V1=t1.current();V1=="{"?g1.depth++:V1=="}"&&--g1.depth==0&&(f1.context=f1.context.prev)}return T1}(zh,n1,n1.context)}return{startState:function(){return{context:new ah(lh.startState(Oh),Oh)}},copyState:function(zh){return{context:ch(zh.context)}},token:Fh,indent:function(zh,n1,t1){return zh.context.mode.indent(zh.context.state,n1,t1)},innerMode:function(zh){return zh.context}}},"xml","javascript"),lh.defineMIME("text/jsx","jsx"),lh.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})}(CodeMirror);/** +`,/^(?:(?![\&\<]).)+/],-1],["",-1],[/^(?:\<\!doctype|\<\!DOCTYPE)(?![a-zA-Z\-\.0-9_])/,7],[[0,/^(?!\>)/,/^[^]/],7,">",-1],[2,14,9,{name:"openTag"}],[3,"tag","/>",-1,[7,"selfClosing"],10,3,"tag",">",11],[3,"tag",">",-1],[1,3,11,/^(?=\<\/)/,12],[[7,"matchingTag"],13,0,-1],[2,21,-1,{name:"closeTag"}],[3,"tag",[0,"<",[6,24]],15],[xh[0],15,3,"tag",xh[1],16],[xh[0],16,0,17],[3,"attribute",xh[1],18,0,-1],[xh[0],18,"=",19,0,20],[xh[0],19,2,25,20,{name:"attributeValue",token:"string"}],[xh[0],20,0,17],[3,"tag","",-1],[xh[0],24,"/",-1],['"',26,"'",27,/^(?:(?![\n\t \>]).)*/,-1],[[0,/^(?!\")/,/^[^]/],26,'"',-1],[[0,/^(?!\')/,/^[^]/],27,"'",-1]],start:0,token:2});function Uh(g1){var T1=/^\s*([\w_\.-]+)/.exec(g1);return T1?T1[1].toLowerCase():"x"}function Fh(g1){return Uh(g1.startLine.slice(g1.startPos+1))}var zh="area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" "),n1={selfClosing:function(g1,T1,V1){return zh.indexOf(Fh(V1))>-1},matchingTag:function(g1,T1,V1){return Uh(g1.slice(T1+2))==Fh(V1)}},t1=function(g1){function T1(V1,a0){g1.call(this,Oh,{predicates:n1}),this.conf=V1}return g1&&(T1.__proto__=g1),T1.prototype=Object.create(g1&&g1.prototype),T1.prototype.constructor=T1,T1.prototype.indent=function(V1,a0,o0){return function(B0,iy,Hy,yv){for(var ky=B0.contextAt(Hy,Hy.length-iy.length),cv=/^\s*<\/\s*([\w_\.-]+)/.exec(iy);ky;){if(ky.name=="tag"){var N0=CodeMirror.countColumn(ky.startLine,null,yv.tabSize);return cv&&cv[1].toLowerCase()==Fh(ky)?N0:N0+yv.indentUnit}if(ky.name=="openTag")return CodeMirror.countColumn(ky.startLine,null,yv.tabSize)+2*yv.indentUnit;ky=ky.parent}return 0}(V1,a0,o0,this.conf)},T1}(yh.GrammarMode),f1=t1.prototype;f1.electricInput=/^\s*<\/.*?>/,f1.blockCommentStart="",f1.fold="xml",function(g1){g1.xmlCurrentTag=function(T1){var V1=T1.context;if(!V1||V1.name!="openTag"&&V1.name!="closeTag")return null;var a0=/^<\/?\s*([\w\-\.]+)/.exec(V1.startLine.slice(V1.startPos));return a0?{name:a0[1],close:V1.name=="closeTag"}:null},g1.xmlCurrentContext=function(T1){for(var V1=[],a0=T1.context;a0;a0=a0.parent)if(a0.name=="tag"){var o0=/^<\s*([\w\-\.]+)/.exec(a0.startLine.slice(a0.startPos));o0&&V1.push(o0[1])}return V1.reverse()}}(f1),yh.defineMode("google-html",function(g1,T1){return new t1(g1,T1)})})((lh=typeof globalThis<"u"?globalThis:lh||self).CodeMirror)}(window),function(lh){function ah(ky){for(var cv={},N0=0;N0*\/]/.test(qv)?y2(null,"select-op"):qv=="."&&Zy.match(/^-?[_a-z][_a-z0-9-]*/i)?y2("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(qv)?y2(null,qv):Zy.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(Zy.current())&&(Aw.tokenize=yk),y2("variable callee","variable")):/[\w\\\-]/.test(qv)?(Zy.eatWhile(/[\w\\\-]/),y2("property","word")):y2(null,null):/[\d.]/.test(Zy.peek())?(Zy.eatWhile(/[\w.%]/),y2("number","unit")):Zy.match(/^-[\w\\\-]*/)?(Zy.eatWhile(/[\w\\\-]/),Zy.match(/^\s*:/,!1)?y2("variable-2","variable-definition"):y2("variable-2","variable")):Zy.match(/^\w+-/)?y2("meta","meta"):void 0}function G3(Zy){return function(Aw,qv){for(var LC,J4=!1;(LC=Aw.next())!=null;){if(LC==Zy&&!J4){Zy==")"&&Aw.backUp(1);break}J4=!J4&&LC=="\\"}return(LC==Zy||!J4&&Zy!=")")&&(qv.tokenize=null),y2("string","string")}}function yk(Zy,Aw){return Zy.next(),Zy.match(/^\s*[\"\')]/,!1)?Aw.tokenize=null:Aw.tokenize=G3(")"),y2(null,"(")}function Zk(Zy,Aw,qv){this.type=Zy,this.indent=Aw,this.prev=qv}function HC(Zy,Aw,qv,LC){return Zy.context=new Zk(qv,Aw.indentation()+(LC===!1?0:ty),Zy.context),qv}function O3(Zy){return Zy.context.prev&&(Zy.context=Zy.context.prev),Zy.context.type}function sx(Zy,Aw,qv){return s3[qv.context.type](Zy,Aw,qv)}function b2(Zy,Aw,qv,LC){for(var J4=LC||1;J4>0;J4--)qv.context=qv.context.prev;return sx(Zy,Aw,qv)}function eC(Zy){var Aw=Zy.current().toLowerCase();r0=G2.hasOwnProperty(Aw)?"atom":N2.hasOwnProperty(Aw)?"keyword":"variable"}var s3={top:function(Zy,Aw,qv){if(Zy=="{")return HC(qv,Aw,"block");if(Zy=="}"&&qv.context.prev)return O3(qv);if($3&&/@component/i.test(Zy))return HC(qv,Aw,"atComponentBlock");if(/^@(-moz-)?document$/i.test(Zy))return HC(qv,Aw,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(Zy))return HC(qv,Aw,"atBlock");if(/^@(font-face|counter-style)/i.test(Zy))return qv.stateArg=Zy,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(Zy))return"keyframes";if(Zy&&Zy.charAt(0)=="@")return HC(qv,Aw,"at");if(Zy=="hash")r0="builtin";else if(Zy=="word")r0="tag";else{if(Zy=="variable-definition")return"maybeprop";if(Zy=="interpolation")return HC(qv,Aw,"interpolation");if(Zy==":")return"pseudo";if(Bx&&Zy=="(")return HC(qv,Aw,"parens")}return qv.context.type},block:function(Zy,Aw,qv){if(Zy=="word"){var LC=Aw.current().toLowerCase();return Y2.hasOwnProperty(LC)?(r0="property","maybeprop"):I2.hasOwnProperty(LC)?(r0=w2?"string-2":"property","maybeprop"):Bx?(r0=Aw.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(r0+=" error","maybeprop")}return Zy=="meta"?"block":Bx||Zy!="hash"&&Zy!="qualifier"?s3.top(Zy,Aw,qv):(r0="error","block")},maybeprop:function(Zy,Aw,qv){return Zy==":"?HC(qv,Aw,"prop"):sx(Zy,Aw,qv)},prop:function(Zy,Aw,qv){if(Zy==";")return O3(qv);if(Zy=="{"&&Bx)return HC(qv,Aw,"propBlock");if(Zy=="}"||Zy=="{")return b2(Zy,Aw,qv);if(Zy=="(")return HC(qv,Aw,"parens");if(Zy!="hash"||/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(Aw.current())){if(Zy=="word")eC(Aw);else if(Zy=="interpolation")return HC(qv,Aw,"interpolation")}else r0+=" error";return"prop"},propBlock:function(Zy,Aw,qv){return Zy=="}"?O3(qv):Zy=="word"?(r0="property","maybeprop"):qv.context.type},parens:function(Zy,Aw,qv){return Zy=="{"||Zy=="}"?b2(Zy,Aw,qv):Zy==")"?O3(qv):Zy=="("?HC(qv,Aw,"parens"):Zy=="interpolation"?HC(qv,Aw,"interpolation"):(Zy=="word"&&eC(Aw),"parens")},pseudo:function(Zy,Aw,qv){return Zy=="meta"?"pseudo":Zy=="word"?(r0="variable-3",qv.context.type):sx(Zy,Aw,qv)},documentTypes:function(Zy,Aw,qv){return Zy=="word"&&X0.hasOwnProperty(Aw.current())?(r0="tag",qv.context.type):s3.atBlock(Zy,Aw,qv)},atBlock:function(Zy,Aw,qv){if(Zy=="(")return HC(qv,Aw,"atBlock_parens");if(Zy=="}"||Zy==";")return b2(Zy,Aw,qv);if(Zy=="{")return O3(qv)&&HC(qv,Aw,Bx?"block":"top");if(Zy=="interpolation")return HC(qv,Aw,"interpolation");if(Zy=="word"){var LC=Aw.current().toLowerCase();r0=LC=="only"||LC=="not"||LC=="and"||LC=="or"?"keyword":uy.hasOwnProperty(LC)?"attribute":aw.hasOwnProperty(LC)?"property":t2.hasOwnProperty(LC)?"keyword":Y2.hasOwnProperty(LC)?"property":I2.hasOwnProperty(LC)?w2?"string-2":"property":G2.hasOwnProperty(LC)?"atom":N2.hasOwnProperty(LC)?"keyword":"error"}return qv.context.type},atComponentBlock:function(Zy,Aw,qv){return Zy=="}"?b2(Zy,Aw,qv):Zy=="{"?O3(qv)&&HC(qv,Aw,Bx?"block":"top",!1):(Zy=="word"&&(r0="error"),qv.context.type)},atBlock_parens:function(Zy,Aw,qv){return Zy==")"?O3(qv):Zy=="{"||Zy=="}"?b2(Zy,Aw,qv,2):s3.atBlock(Zy,Aw,qv)},restricted_atBlock_before:function(Zy,Aw,qv){return Zy=="{"?HC(qv,Aw,"restricted_atBlock"):Zy=="word"&&qv.stateArg=="@counter-style"?(r0="variable","restricted_atBlock_before"):sx(Zy,Aw,qv)},restricted_atBlock:function(Zy,Aw,qv){return Zy=="}"?(qv.stateArg=null,O3(qv)):Zy=="word"?(r0=qv.stateArg=="@font-face"&&!gx.hasOwnProperty(Aw.current().toLowerCase())||qv.stateArg=="@counter-style"&&!TA.hasOwnProperty(Aw.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(Zy,Aw,qv){return Zy=="word"?(r0="variable","keyframes"):Zy=="{"?HC(qv,Aw,"top"):sx(Zy,Aw,qv)},at:function(Zy,Aw,qv){return Zy==";"?O3(qv):Zy=="{"||Zy=="}"?b2(Zy,Aw,qv):(Zy=="word"?r0="tag":Zy=="hash"&&(r0="builtin"),"at")},interpolation:function(Zy,Aw,qv){return Zy=="}"?O3(qv):Zy=="{"||Zy==";"?b2(Zy,Aw,qv):(Zy=="word"?r0="variable":Zy!="variable"&&Zy!="("&&Zy!=")"&&(r0="error"),"interpolation")}};return{startState:function(Zy){return{tokenize:null,state:N0?"block":"top",stateArg:null,context:new Zk(N0?"block":"top",Zy||0,null)}},token:function(Zy,Aw){if(!Aw.tokenize&&Zy.eatSpace())return null;var qv=(Aw.tokenize||WC)(Zy,Aw);return qv&&typeof qv=="object"&&(n0=qv[1],qv=qv[0]),r0=qv,n0!="comment"&&(Aw.state=s3[Aw.state](n0,Zy,Aw)),r0},indent:function(Zy,Aw){var qv=Zy.context,LC=Aw&&Aw.charAt(0),J4=qv.indent;return qv.type!="prop"||LC!="}"&&LC!=")"||(qv=qv.prev),qv.prev&&(LC!="}"||qv.type!="block"&&qv.type!="top"&&qv.type!="interpolation"&&qv.type!="restricted_atBlock"?(LC!=")"||qv.type!="parens"&&qv.type!="atBlock_parens")&&(LC!="{"||qv.type!="at"&&qv.type!="atBlock")||(J4=Math.max(0,qv.indent-ty)):J4=(qv=qv.prev).indent),J4},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:mw,fold:"brace"}});var ch=["domain","regexp","url","url-prefix"],ph=ah(ch),yh=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],xh=ah(yh),Oh=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],Uh=ah(Oh),Fh=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],zh=ah(Fh),n1=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],t1=ah(n1),f1=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],g1=ah(f1),T1=ah(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),V1=ah(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),a0=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","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","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],o0=ah(a0),B0=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],iy=ah(B0),Hy=ch.concat(yh).concat(Oh).concat(Fh).concat(n1).concat(f1).concat(a0).concat(B0);function yv(ky,cv){for(var N0,n0=!1;(N0=ky.next())!=null;){if(n0&&N0=="/"){cv.tokenize=null;break}n0=N0=="*"}return["comment","comment"]}lh.registerHelper("hintWords","css",Hy),lh.defineMIME("text/css",{documentTypes:ph,mediaTypes:xh,mediaFeatures:Uh,mediaValueKeywords:zh,propertyKeywords:t1,nonStandardPropertyKeywords:g1,fontProperties:T1,counterDescriptors:V1,colorKeywords:o0,valueKeywords:iy,tokenHooks:{"/":function(ky,cv){return!!ky.eat("*")&&(cv.tokenize=yv,yv(ky,cv))}},name:"css"}),lh.defineMIME("text/x-scss",{mediaTypes:xh,mediaFeatures:Uh,mediaValueKeywords:zh,propertyKeywords:t1,nonStandardPropertyKeywords:g1,colorKeywords:o0,valueKeywords:iy,fontProperties:T1,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(ky,cv){return ky.eat("/")?(ky.skipToEnd(),["comment","comment"]):ky.eat("*")?(cv.tokenize=yv,yv(ky,cv)):["operator","operator"]},":":function(ky){return!!ky.match(/^\s*\{/,!1)&&[null,null]},$:function(ky){return ky.match(/^[\w-]+/),ky.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(ky){return!!ky.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),lh.defineMIME("text/x-less",{mediaTypes:xh,mediaFeatures:Uh,mediaValueKeywords:zh,propertyKeywords:t1,nonStandardPropertyKeywords:g1,colorKeywords:o0,valueKeywords:iy,fontProperties:T1,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(ky,cv){return ky.eat("/")?(ky.skipToEnd(),["comment","comment"]):ky.eat("*")?(cv.tokenize=yv,yv(ky,cv)):["operator","operator"]},"@":function(ky){return ky.eat("{")?[null,"interpolation"]:!ky.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(ky.eatWhile(/[\w\\\-]/),ky.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),lh.defineMIME("text/x-gss",{documentTypes:ph,mediaTypes:xh,mediaFeatures:Uh,propertyKeywords:t1,nonStandardPropertyKeywords:g1,fontProperties:T1,counterDescriptors:V1,colorKeywords:o0,valueKeywords:iy,supportsAtComponent:!0,tokenHooks:{"/":function(ky,cv){return!!ky.eat("*")&&(cv.tokenize=yv,yv(ky,cv))}},name:"css",helperType:"gss"})}(CodeMirror),function(lh){lh.defineMode("javascript",function(ah,ch){var ph,yh,xh=ah.indentUnit,Oh=ch.statementIndent,Uh=ch.jsonld,Fh=ch.json||Uh,zh=ch.trackScope!==!1,n1=ch.typescript,t1=ch.wordCharacters||/[\w$\xa1-\uffff]/,f1=function(){function b0(Hk){return{type:Hk,style:"keyword"}}var gy=b0("keyword a"),l2=b0("keyword b"),tv=b0("keyword c"),Ew=b0("keyword d"),oA=b0("operator"),WA={type:"atom",style:"atom"};return{if:b0("if"),while:gy,with:gy,else:l2,do:l2,try:l2,finally:l2,return:Ew,break:Ew,continue:Ew,new:b0("new"),delete:tv,void:tv,throw:tv,debugger:b0("debugger"),var:b0("var"),const:b0("var"),let:b0("var"),function:b0("function"),catch:b0("catch"),for:b0("for"),switch:b0("switch"),case:b0("case"),default:b0("default"),in:oA,typeof:oA,instanceof:oA,true:WA,false:WA,null:WA,undefined:WA,NaN:WA,Infinity:WA,this:b0("this"),class:b0("class"),super:b0("atom"),yield:tv,export:b0("export"),import:b0("import"),extends:tv,await:tv}}(),g1=/[+\-*&%=<>!?|~^@]/,T1=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function V1(b0,gy,l2){return ph=b0,yh=l2,gy}function a0(b0,gy){var l2,tv=b0.next();if(tv=='"'||tv=="'")return gy.tokenize=(l2=tv,function(WA,Hk){var U$,UD=!1;if(Uh&&WA.peek()=="@"&&WA.match(T1))return Hk.tokenize=a0,V1("jsonld-keyword","meta");for(;(U$=WA.next())!=null&&(U$!=l2||UD);)UD=!UD&&U$=="\\";return UD||(Hk.tokenize=a0),V1("string","string")}),gy.tokenize(b0,gy);if(tv=="."&&b0.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return V1("number","number");if(tv=="."&&b0.match(".."))return V1("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(tv))return V1(tv);if(tv=="="&&b0.eat(">"))return V1("=>","operator");if(tv=="0"&&b0.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return V1("number","number");if(/\d/.test(tv))return b0.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),V1("number","number");if(tv=="/")return b0.eat("*")?(gy.tokenize=o0,o0(b0,gy)):b0.eat("/")?(b0.skipToEnd(),V1("comment","comment")):q3(b0,gy,1)?(function(WA){for(var Hk,U$=!1,UD=!1;(Hk=WA.next())!=null;){if(!U$){if(Hk=="/"&&!UD)return;Hk=="["?UD=!0:UD&&Hk=="]"&&(UD=!1)}U$=!U$&&Hk=="\\"}}(b0),b0.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),V1("regexp","string-2")):(b0.eat("="),V1("operator","operator",b0.current()));if(tv=="`")return gy.tokenize=B0,B0(b0,gy);if(tv=="#"&&b0.peek()=="!")return b0.skipToEnd(),V1("meta","meta");if(tv=="#"&&b0.eatWhile(t1))return V1("variable","property");if(tv=="<"&&b0.match("!--")||tv=="-"&&b0.match("->")&&!/\S/.test(b0.string.slice(0,b0.start)))return b0.skipToEnd(),V1("comment","comment");if(g1.test(tv))return tv==">"&&gy.lexical&&gy.lexical.type==">"||(b0.eat("=")?tv!="!"&&tv!="="||b0.eat("="):/[<>*+\-|&?]/.test(tv)&&(b0.eat(tv),tv==">"&&b0.eat(tv))),tv=="?"&&b0.eat(".")?V1("."):V1("operator","operator",b0.current());if(t1.test(tv)){b0.eatWhile(t1);var Ew=b0.current();if(gy.lastType!="."){if(f1.propertyIsEnumerable(Ew)){var oA=f1[Ew];return V1(oA.type,oA.style,Ew)}if(Ew=="async"&&b0.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return V1("async","keyword",Ew)}return V1("variable","variable",Ew)}}function o0(b0,gy){for(var l2,tv=!1;l2=b0.next();){if(l2=="/"&&tv){gy.tokenize=a0;break}tv=l2=="*"}return V1("comment","comment")}function B0(b0,gy){for(var l2,tv=!1;(l2=b0.next())!=null;){if(!tv&&(l2=="`"||l2=="$"&&b0.eat("{"))){gy.tokenize=a0;break}tv=!tv&&l2=="\\"}return V1("quasi","string-2",b0.current())}function iy(b0,gy){gy.fatArrowAt&&(gy.fatArrowAt=null);var l2=b0.string.indexOf("=>",b0.start);if(!(l2<0)){if(n1){var tv=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(b0.string.slice(b0.start,l2));tv&&(l2=tv.index)}for(var Ew=0,oA=!1,WA=l2-1;WA>=0;--WA){var Hk=b0.string.charAt(WA),U$="([{}])".indexOf(Hk);if(U$>=0&&U$<3){if(!Ew){++WA;break}if(--Ew==0){Hk=="("&&(oA=!0);break}}else if(U$>=3&&U$<6)++Ew;else if(t1.test(Hk))oA=!0;else if(/["'\/`]/.test(Hk))for(;;--WA){if(WA==0)return;if(b0.string.charAt(WA-1)==Hk&&b0.string.charAt(WA-2)!="\\"){WA--;break}}else if(oA&&!Ew){++WA;break}}oA&&!Ew&&(gy.fatArrowAt=WA)}}var Hy={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function yv(b0,gy,l2,tv,Ew,oA){this.indented=b0,this.column=gy,this.type=l2,this.prev=Ew,this.info=oA,tv!=null&&(this.align=tv)}function ky(b0,gy){if(!zh)return!1;for(var l2=b0.localVars;l2;l2=l2.next)if(l2.name==gy)return!0;for(var tv=b0.context;tv;tv=tv.prev)for(l2=tv.vars;l2;l2=l2.next)if(l2.name==gy)return!0}function cv(b0,gy,l2,tv,Ew){var oA=b0.cc;for(N0.state=b0,N0.stream=Ew,N0.marked=null,N0.cc=oA,N0.style=gy,b0.lexical.hasOwnProperty("align")||(b0.lexical.align=!0);;)if((oA.length?oA.pop():Fh?w2:mw)(l2,tv)){for(;oA.length&&oA[oA.length-1].lex;)oA.pop()();return N0.marked?N0.marked:l2=="variable"&&ky(b0,tv)?"variable-2":gy}}var N0={state:null,column:null,marked:null,cc:null};function n0(){for(var b0=arguments.length-1;b0>=0;b0--)N0.cc.push(arguments[b0])}function r0(){return n0.apply(null,arguments),!0}function ty(b0,gy){for(var l2=gy;l2;l2=l2.next)if(l2.name==b0)return!0;return!1}function Y0(b0){var gy=N0.state;if(N0.marked="def",zh){if(gy.context){if(gy.lexical.info=="var"&&gy.context&&gy.context.block){var l2=X0(b0,gy.context);if(l2!=null)return void(gy.context=l2)}else if(!ty(b0,gy.localVars))return void(gy.localVars=new t2(b0,gy.localVars))}ch.globalVars&&!ty(b0,gy.globalVars)&&(gy.globalVars=new t2(b0,gy.globalVars))}}function X0(b0,gy){if(gy){if(gy.block){var l2=X0(b0,gy.prev);return l2?l2==gy.prev?gy:new aw(l2,gy.vars,!0):null}return ty(b0,gy.vars)?gy:new aw(gy.prev,new t2(b0,gy.vars),!1)}return null}function uy(b0){return b0=="public"||b0=="private"||b0=="protected"||b0=="abstract"||b0=="readonly"}function aw(b0,gy,l2){this.prev=b0,this.vars=gy,this.block=l2}function t2(b0,gy){this.name=b0,this.next=gy}var Y2=new t2("this",new t2("arguments",null));function I2(){N0.state.context=new aw(N0.state.context,N0.state.localVars,!1),N0.state.localVars=Y2}function gx(){N0.state.context=new aw(N0.state.context,N0.state.localVars,!0),N0.state.localVars=null}function TA(){N0.state.localVars=N0.state.context.vars,N0.state.context=N0.state.context.prev}function N2(b0,gy){var l2=function(){var tv=N0.state,Ew=tv.indented;if(tv.lexical.type=="stat")Ew=tv.lexical.indented;else for(var oA=tv.lexical;oA&&oA.type==")"&&oA.align;oA=oA.prev)Ew=oA.indented;tv.lexical=new yv(Ew,N0.stream.column(),b0,null,tv.lexical,gy)};return l2.lex=!0,l2}function G2(){var b0=N0.state;b0.lexical.prev&&(b0.lexical.type==")"&&(b0.indented=b0.lexical.indented),b0.lexical=b0.lexical.prev)}function Bx(b0){return function gy(l2){return l2==b0?r0():b0==";"||l2=="}"||l2==")"||l2=="]"?n0():r0(gy)}}function mw(b0,gy){return b0=="var"?r0(N2("vardef",gy),a7,Bx(";"),G2):b0=="keyword a"?r0(N2("form"),WC,mw,G2):b0=="keyword b"?r0(N2("form"),mw,G2):b0=="keyword d"?N0.stream.match(/^\s*$/,!1)?r0():r0(N2("stat"),yk,Bx(";"),G2):b0=="debugger"?r0(Bx(";")):b0=="{"?r0(N2("}"),gx,xR,G2,TA):b0==";"?r0():b0=="if"?(N0.state.lexical.info=="else"&&N0.state.cc[N0.state.cc.length-1]==G2&&N0.state.cc.pop()(),r0(N2("form"),WC,mw,G2,t6)):b0=="function"?r0(wI):b0=="for"?r0(N2("form"),gx,bH,mw,TA,G2):b0=="class"||n1&&gy=="interface"?(N0.marked="keyword",r0(N2("form",b0=="class"?b0:gy),hL,G2)):b0=="variable"?n1&&gy=="declare"?(N0.marked="keyword",r0(mw)):n1&&(gy=="module"||gy=="enum"||gy=="type")&&N0.stream.match(/^\s*\w/,!1)?(N0.marked="keyword",gy=="enum"?r0(c7):gy=="type"?r0(UU,Bx("operator"),c3,Bx(";")):r0(N2("form"),$4,Bx("{"),N2("}"),xR,G2,G2)):n1&&gy=="namespace"?(N0.marked="keyword",r0(N2("form"),w2,mw,G2)):n1&&gy=="abstract"?(N0.marked="keyword",r0(mw)):r0(N2("stat"),Aw):b0=="switch"?r0(N2("form"),WC,Bx("{"),N2("}","switch"),gx,xR,G2,G2,TA):b0=="case"?r0(w2,Bx(":")):b0=="default"?r0(Bx(":")):b0=="catch"?r0(N2("form"),I2,$3,mw,G2,TA):b0=="export"?r0(N2("stat"),o7,G2):b0=="import"?r0(N2("stat"),IP,G2):b0=="async"?r0(mw):gy=="@"?r0(w2,mw):n0(N2("stat"),w2,Bx(";"),G2)}function $3(b0){if(b0=="(")return r0(Q6,Bx(")"))}function w2(b0,gy){return G3(b0,gy,!1)}function y2(b0,gy){return G3(b0,gy,!0)}function WC(b0){return b0!="("?n0():r0(N2(")"),yk,Bx(")"),G2)}function G3(b0,gy,l2){if(N0.state.fatArrowAt==N0.stream.start){var tv=l2?eC:b2;if(b0=="(")return r0(I2,N2(")"),MO(Q6,")"),G2,Bx("=>"),tv,TA);if(b0=="variable")return n0(I2,$4,Bx("=>"),tv,TA)}var Ew=l2?HC:Zk;return Hy.hasOwnProperty(b0)?r0(Ew):b0=="function"?r0(wI,Ew):b0=="class"||n1&&gy=="interface"?(N0.marked="keyword",r0(N2("form"),RP,G2)):b0=="keyword c"||b0=="async"?r0(l2?y2:w2):b0=="("?r0(N2(")"),yk,Bx(")"),G2,Ew):b0=="operator"||b0=="spread"?r0(l2?y2:w2):b0=="["?r0(N2("]"),n6,G2,Ew):b0=="{"?QN(LC,"}",null,Ew):b0=="quasi"?n0(O3,Ew):b0=="new"?r0(function(oA){return function(WA){return WA=="."?r0(oA?Zy:s3):WA=="variable"&&n1?r0(r7,oA?HC:Zk):n0(oA?y2:w2)}}(l2)):r0()}function yk(b0){return b0.match(/[;\}\)\],]/)?n0():n0(w2)}function Zk(b0,gy){return b0==","?r0(yk):HC(b0,gy,!1)}function HC(b0,gy,l2){var tv=l2==0?Zk:HC,Ew=l2==0?w2:y2;return b0=="=>"?r0(I2,l2?eC:b2,TA):b0=="operator"?/\+\+|--/.test(gy)||n1&&gy=="!"?r0(tv):n1&&gy=="<"&&N0.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?r0(N2(">"),MO(c3,">"),G2,tv):gy=="?"?r0(w2,Bx(":"),Ew):r0(Ew):b0=="quasi"?n0(O3,tv):b0!=";"?b0=="("?QN(y2,")","call",tv):b0=="."?r0(qv,tv):b0=="["?r0(N2("]"),yk,Bx("]"),G2,tv):n1&&gy=="as"?(N0.marked="keyword",r0(c3,tv)):b0=="regexp"?(N0.state.lastType=N0.marked="operator",N0.stream.backUp(N0.stream.pos-N0.stream.start-1),r0(Ew)):void 0:void 0}function O3(b0,gy){return b0!="quasi"?n0():gy.slice(gy.length-2)!="${"?r0(O3):r0(yk,sx)}function sx(b0){if(b0=="}")return N0.marked="string-2",N0.state.tokenize=B0,r0(O3)}function b2(b0){return iy(N0.stream,N0.state),n0(b0=="{"?mw:w2)}function eC(b0){return iy(N0.stream,N0.state),n0(b0=="{"?mw:y2)}function s3(b0,gy){if(gy=="target")return N0.marked="keyword",r0(Zk)}function Zy(b0,gy){if(gy=="target")return N0.marked="keyword",r0(HC)}function Aw(b0){return b0==":"?r0(G2,mw):n0(Zk,Bx(";"),G2)}function qv(b0){if(b0=="variable")return N0.marked="property",r0()}function LC(b0,gy){return b0=="async"?(N0.marked="property",r0(LC)):b0=="variable"||N0.style=="keyword"?(N0.marked="property",gy=="get"||gy=="set"?r0(J4):(n1&&N0.state.fatArrowAt==N0.stream.start&&(l2=N0.stream.match(/^\s*:\s*/,!1))&&(N0.state.fatArrowAt=N0.stream.pos+l2[0].length),r0(NP))):b0=="number"||b0=="string"?(N0.marked=Uh?"property":N0.style+" property",r0(NP)):b0=="jsonld-keyword"?r0(NP):n1&&uy(gy)?(N0.marked="keyword",r0(LC)):b0=="["?r0(w2,l5,Bx("]"),NP):b0=="spread"?r0(y2,NP):gy=="*"?(N0.marked="keyword",r0(LC)):b0==":"?n0(NP):void 0;var l2}function J4(b0){return b0!="variable"?n0(NP):(N0.marked="property",r0(wI))}function NP(b0){return b0==":"?r0(y2):b0=="("?n0(wI):void 0}function MO(b0,gy,l2){function tv(Ew,oA){if(l2?l2.indexOf(Ew)>-1:Ew==","){var WA=N0.state.lexical;return WA.info=="call"&&(WA.pos=(WA.pos||0)+1),r0(function(Hk,U$){return Hk==gy||U$==gy?n0():n0(b0)},tv)}return Ew==gy||oA==gy?r0():l2&&l2.indexOf(";")>-1?n0(b0):r0(Bx(gy))}return function(Ew,oA){return Ew==gy||oA==gy?r0():n0(b0,tv)}}function QN(b0,gy,l2){for(var tv=3;tv"),c3):b0=="quasi"?n0(F$,C$):void 0}function tC(b0){if(b0=="=>")return r0(c3)}function i7(b0){return b0.match(/[\}\)\]]/)?r0():b0==","||b0==";"?r0(i7):n0(ZO,i7)}function ZO(b0,gy){return b0=="variable"||N0.style=="keyword"?(N0.marked="property",r0(ZO)):gy=="?"||b0=="number"||b0=="string"?r0(ZO):b0==":"?r0(c3):b0=="["?r0(Bx("variable"),DP,Bx("]"),ZO):b0=="("?n0(TR,ZO):b0.match(/[;\}\)\],]/)?void 0:r0()}function F$(b0,gy){return b0!="quasi"?n0():gy.slice(gy.length-2)!="${"?r0(F$):r0(c3,T$)}function T$(b0){if(b0=="}")return N0.marked="string-2",N0.state.tokenize=B0,r0(F$)}function hF(b0,gy){return b0=="variable"&&N0.stream.match(/^\s*[?:]/,!1)||gy=="?"?r0(hF):b0==":"?r0(c3):b0=="spread"?r0(hF):n0(c3)}function C$(b0,gy){return gy=="<"?r0(N2(">"),MO(c3,">"),G2,C$):gy=="|"||b0=="."||gy=="&"?r0(c3):b0=="["?r0(c3,Bx("]"),C$):gy=="extends"||gy=="implements"?(N0.marked="keyword",r0(c3)):gy=="?"?r0(c3,Bx(":"),c3):void 0}function r7(b0,gy){if(gy=="<")return r0(N2(">"),MO(c3,">"),G2,C$)}function fN(){return n0(c3,h5)}function h5(b0,gy){if(gy=="=")return r0(c3)}function a7(b0,gy){return gy=="enum"?(N0.marked="keyword",r0(c7)):n0($4,l5,d5,fF)}function $4(b0,gy){return n1&&uy(gy)?(N0.marked="keyword",r0($4)):b0=="variable"?(Y0(gy),r0()):b0=="spread"?r0($4):b0=="["?QN(BU,"]"):b0=="{"?QN(dF,"}"):void 0}function dF(b0,gy){return b0!="variable"||N0.stream.match(/^\s*:/,!1)?(b0=="variable"&&(N0.marked="property"),b0=="spread"?r0($4):b0=="}"?n0():b0=="["?r0(w2,Bx("]"),Bx(":"),dF):r0(Bx(":"),$4,d5)):(Y0(gy),r0(d5))}function BU(){return n0($4,d5)}function d5(b0,gy){if(gy=="=")return r0(y2)}function fF(b0){if(b0==",")return r0(a7)}function t6(b0,gy){if(b0=="keyword b"&&gy=="else")return r0(N2("form","else"),mw,G2)}function bH(b0,gy){return gy=="await"?r0(bH):b0=="("?r0(N2(")"),bX,G2):void 0}function bX(b0){return b0=="var"?r0(a7,X6):b0=="variable"?r0(X6):n0(X6)}function X6(b0,gy){return b0==")"?r0():b0==";"?r0(X6):gy=="in"||gy=="of"?(N0.marked="keyword",r0(w2,X6)):n0(w2,X6)}function wI(b0,gy){return gy=="*"?(N0.marked="keyword",r0(wI)):b0=="variable"?(Y0(gy),r0(wI)):b0=="("?r0(I2,N2(")"),MO(Q6,")"),G2,uF,mw,TA):n1&&gy=="<"?r0(N2(">"),MO(fN,">"),G2,wI):void 0}function TR(b0,gy){return gy=="*"?(N0.marked="keyword",r0(TR)):b0=="variable"?(Y0(gy),r0(TR)):b0=="("?r0(I2,N2(")"),MO(Q6,")"),G2,uF,TA):n1&&gy=="<"?r0(N2(">"),MO(fN,">"),G2,TR):void 0}function UU(b0,gy){return b0=="keyword"||b0=="variable"?(N0.marked="type",r0(UU)):gy=="<"?r0(N2(">"),MO(fN,">"),G2):void 0}function Q6(b0,gy){return gy=="@"&&r0(w2,Q6),b0=="spread"?r0(Q6):n1&&uy(gy)?(N0.marked="keyword",r0(Q6)):n1&&b0=="this"?r0(l5,d5):n0($4,l5,d5)}function RP(b0,gy){return b0=="variable"?hL(b0,gy):jU(b0,gy)}function hL(b0,gy){if(b0=="variable")return Y0(gy),r0(jU)}function jU(b0,gy){return gy=="<"?r0(N2(">"),MO(fN,">"),G2,jU):gy=="extends"||gy=="implements"||n1&&b0==","?(gy=="implements"&&(N0.marked="keyword"),r0(n1?c3:w2,jU)):b0=="{"?r0(N2("}"),CR,G2):void 0}function CR(b0,gy){return b0=="async"||b0=="variable"&&(gy=="static"||gy=="get"||gy=="set"||n1&&uy(gy))&&N0.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(N0.marked="keyword",r0(CR)):b0=="variable"||N0.style=="keyword"?(N0.marked="property",r0(dL,CR)):b0=="number"||b0=="string"?r0(dL,CR):b0=="["?r0(w2,l5,Bx("]"),dL,CR):gy=="*"?(N0.marked="keyword",r0(CR)):n1&&b0=="("?n0(TR,CR):b0==";"||b0==","?r0(CR):b0=="}"?r0():gy=="@"?r0(w2,CR):void 0}function dL(b0,gy){if(gy=="!"||gy=="?")return r0(dL);if(b0==":")return r0(c3,d5);if(gy=="=")return r0(y2);var l2=N0.state.lexical.prev;return n0(l2&&l2.info=="interface"?TR:wI)}function o7(b0,gy){return gy=="*"?(N0.marked="keyword",r0(mx,Bx(";"))):gy=="default"?(N0.marked="keyword",r0(w2,Bx(";"))):b0=="{"?r0(MO(_H,"}"),mx,Bx(";")):n0(mw)}function _H(b0,gy){return gy=="as"?(N0.marked="keyword",r0(Bx("variable"))):b0=="variable"?n0(y2,_H):void 0}function IP(b0){return b0=="string"?r0():b0=="("?n0(w2):b0=="."?n0(Zk):n0(f5,s7,mx)}function f5(b0,gy){return b0=="{"?QN(f5,"}"):(b0=="variable"&&Y0(gy),gy=="*"&&(N0.marked="keyword"),r0(B$))}function s7(b0){if(b0==",")return r0(f5,s7)}function B$(b0,gy){if(gy=="as")return N0.marked="keyword",r0(f5)}function mx(b0,gy){if(gy=="from")return N0.marked="keyword",r0(w2)}function n6(b0){return b0=="]"?r0():n0(MO(y2,"]"))}function c7(){return n0(N2("form"),$4,Bx("{"),N2("}"),MO(EI,"}"),G2,G2)}function EI(){return n0($4,d5)}function q3(b0,gy,l2){return gy.tokenize==a0&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(gy.lastType)||gy.lastType=="quasi"&&/\{\s*$/.test(b0.string.slice(0,b0.pos-(l2||0)))}return I2.lex=gx.lex=!0,TA.lex=!0,G2.lex=!0,{startState:function(b0){var gy={tokenize:a0,lastType:"sof",cc:[],lexical:new yv((b0||0)-xh,0,"block",!1),localVars:ch.localVars,context:ch.localVars&&new aw(null,null,!1),indented:b0||0};return ch.globalVars&&typeof ch.globalVars=="object"&&(gy.globalVars=ch.globalVars),gy},token:function(b0,gy){if(b0.sol()&&(gy.lexical.hasOwnProperty("align")||(gy.lexical.align=!1),gy.indented=b0.indentation(),iy(b0,gy)),gy.tokenize!=o0&&b0.eatSpace())return null;var l2=gy.tokenize(b0,gy);return ph=="comment"?l2:(gy.lastType=ph!="operator"||yh!="++"&&yh!="--"?ph:"incdec",cv(gy,l2,ph,yh,b0))},indent:function(b0,gy){if(b0.tokenize==o0||b0.tokenize==B0)return lh.Pass;if(b0.tokenize!=a0)return 0;var l2,tv=gy&&gy.charAt(0),Ew=b0.lexical;if(!/^\s*else\b/.test(gy))for(var oA=b0.cc.length-1;oA>=0;--oA){var WA=b0.cc[oA];if(WA==G2)Ew=Ew.prev;else if(WA!=t6&&WA!=TA)break}for(;(Ew.type=="stat"||Ew.type=="form")&&(tv=="}"||(l2=b0.cc[b0.cc.length-1])&&(l2==Zk||l2==HC)&&!/^[,\.=+\-*:?[\(]/.test(gy));)Ew=Ew.prev;Oh&&Ew.type==")"&&Ew.prev.type=="stat"&&(Ew=Ew.prev);var Hk=Ew.type,U$=tv==Hk;return Hk=="vardef"?Ew.indented+(b0.lastType=="operator"||b0.lastType==","?Ew.info.length+1:0):Hk=="form"&&tv=="{"?Ew.indented:Hk=="form"?Ew.indented+xh:Hk=="stat"?Ew.indented+(function(UD,EC){return UD.lastType=="operator"||UD.lastType==","||g1.test(EC.charAt(0))||/[,.]/.test(EC.charAt(0))}(b0,gy)?Oh||xh:0):Ew.info!="switch"||U$||ch.doubleIndentSwitch==0?Ew.align?Ew.column+(U$?0:1):Ew.indented+(U$?0:xh):Ew.indented+(/^(?:case|default)\b/.test(gy)?xh:2*xh)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:Fh?null:"/*",blockCommentEnd:Fh?null:"*/",blockCommentContinue:Fh?null:" * ",lineComment:Fh?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:Fh?"json":"javascript",jsonldMode:Uh,jsonMode:Fh,expressionAllowed:q3,skipExpression:function(b0){cv(b0,"atom","atom","true",new lh.StringStream("",2,null))}}}),lh.registerHelper("wordChars","javascript",/[\w$]/),lh.defineMIME("text/javascript","javascript"),lh.defineMIME("text/ecmascript","javascript"),lh.defineMIME("application/javascript","javascript"),lh.defineMIME("application/x-javascript","javascript"),lh.defineMIME("application/ecmascript","javascript"),lh.defineMIME("application/json",{name:"javascript",json:!0}),lh.defineMIME("application/x-json",{name:"javascript",json:!0}),lh.defineMIME("application/manifest+json",{name:"javascript",json:!0}),lh.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),lh.defineMIME("text/typescript",{name:"javascript",typescript:!0}),lh.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(CodeMirror),function(lh){var ah={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},ch={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};lh.defineMode("xml",function(ph,yh){var xh,Oh,Uh=ph.indentUnit,Fh={},zh=yh.htmlMode?ah:ch;for(var n1 in zh)Fh[n1]=zh[n1];for(var n1 in yh)Fh[n1]=yh[n1];function t1(Y0,X0){function uy(t2){return X0.tokenize=t2,t2(Y0,X0)}var aw=Y0.next();return aw=="<"?Y0.eat("!")?Y0.eat("[")?Y0.match("CDATA[")?uy(g1("atom","]]>")):null:Y0.match("--")?uy(g1("comment","-->")):Y0.match("DOCTYPE",!0,!0)?(Y0.eatWhile(/[\w\._\-]/),uy(T1(1))):null:Y0.eat("?")?(Y0.eatWhile(/[\w\._\-]/),X0.tokenize=g1("meta","?>"),"meta"):(xh=Y0.eat("/")?"closeTag":"openTag",X0.tokenize=f1,"tag bracket"):aw=="&"?(Y0.eat("#")?Y0.eat("x")?Y0.eatWhile(/[a-fA-F\d]/)&&Y0.eat(";"):Y0.eatWhile(/[\d]/)&&Y0.eat(";"):Y0.eatWhile(/[\w\.\-:]/)&&Y0.eat(";"))?"atom":"error":(Y0.eatWhile(/[^&<]/),null)}function f1(Y0,X0){var uy,aw,t2=Y0.next();if(t2==">"||t2=="/"&&Y0.eat(">"))return X0.tokenize=t1,xh=t2==">"?"endTag":"selfcloseTag","tag bracket";if(t2=="=")return xh="equals",null;if(t2=="<"){X0.tokenize=t1,X0.state=iy,X0.tagName=X0.tagStart=null;var Y2=X0.tokenize(Y0,X0);return Y2?Y2+" tag error":"tag error"}return/[\'\"]/.test(t2)?(X0.tokenize=(uy=t2,aw=function(I2,gx){for(;!I2.eol();)if(I2.next()==uy){gx.tokenize=f1;break}return"string"},aw.isInAttribute=!0,aw),X0.stringStartCol=Y0.column(),X0.tokenize(Y0,X0)):(Y0.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function g1(Y0,X0){return function(uy,aw){for(;!uy.eol();){if(uy.match(X0)){aw.tokenize=t1;break}uy.next()}return Y0}}function T1(Y0){return function(X0,uy){for(var aw;(aw=X0.next())!=null;){if(aw=="<")return uy.tokenize=T1(Y0+1),uy.tokenize(X0,uy);if(aw==">"){if(Y0==1){uy.tokenize=t1;break}return uy.tokenize=T1(Y0-1),uy.tokenize(X0,uy)}}return"meta"}}function V1(Y0){return Y0&&Y0.toLowerCase()}function a0(Y0,X0,uy){this.prev=Y0.context,this.tagName=X0||"",this.indent=Y0.indented,this.startOfLine=uy,(Fh.doNotIndent.hasOwnProperty(X0)||Y0.context&&Y0.context.noIndent)&&(this.noIndent=!0)}function o0(Y0){Y0.context&&(Y0.context=Y0.context.prev)}function B0(Y0,X0){for(var uy;;){if(!Y0.context||(uy=Y0.context.tagName,!Fh.contextGrabbers.hasOwnProperty(V1(uy))||!Fh.contextGrabbers[V1(uy)].hasOwnProperty(V1(X0))))return;o0(Y0)}}function iy(Y0,X0,uy){return Y0=="openTag"?(uy.tagStart=X0.column(),Hy):Y0=="closeTag"?yv:iy}function Hy(Y0,X0,uy){return Y0=="word"?(uy.tagName=X0.current(),Oh="tag",N0):Fh.allowMissingTagName&&Y0=="endTag"?(Oh="tag bracket",N0(Y0,X0,uy)):(Oh="error",Hy)}function yv(Y0,X0,uy){if(Y0=="word"){var aw=X0.current();return uy.context&&uy.context.tagName!=aw&&Fh.implicitlyClosed.hasOwnProperty(V1(uy.context.tagName))&&o0(uy),uy.context&&uy.context.tagName==aw||Fh.matchClosing===!1?(Oh="tag",ky):(Oh="tag error",cv)}return Fh.allowMissingTagName&&Y0=="endTag"?(Oh="tag bracket",ky(Y0,X0,uy)):(Oh="error",cv)}function ky(Y0,X0,uy){return Y0!="endTag"?(Oh="error",ky):(o0(uy),iy)}function cv(Y0,X0,uy){return Oh="error",ky(Y0,0,uy)}function N0(Y0,X0,uy){if(Y0=="word")return Oh="attribute",n0;if(Y0=="endTag"||Y0=="selfcloseTag"){var aw=uy.tagName,t2=uy.tagStart;return uy.tagName=uy.tagStart=null,Y0=="selfcloseTag"||Fh.autoSelfClosers.hasOwnProperty(V1(aw))?B0(uy,aw):(B0(uy,aw),uy.context=new a0(uy,aw,t2==uy.indented)),iy}return Oh="error",N0}function n0(Y0,X0,uy){return Y0=="equals"?r0:(Fh.allowMissing||(Oh="error"),N0(Y0,0,uy))}function r0(Y0,X0,uy){return Y0=="string"?ty:Y0=="word"&&Fh.allowUnquoted?(Oh="string",N0):(Oh="error",N0(Y0,0,uy))}function ty(Y0,X0,uy){return Y0=="string"?ty:N0(Y0,0,uy)}return t1.isInText=!0,{startState:function(Y0){var X0={tokenize:t1,state:iy,indented:Y0||0,tagName:null,tagStart:null,context:null};return Y0!=null&&(X0.baseIndent=Y0),X0},token:function(Y0,X0){if(!X0.tagName&&Y0.sol()&&(X0.indented=Y0.indentation()),Y0.eatSpace())return null;xh=null;var uy=X0.tokenize(Y0,X0);return(uy||xh)&&uy!="comment"&&(Oh=null,X0.state=X0.state(xh||uy,Y0,X0),Oh&&(uy=Oh=="error"?uy+" error":Oh)),uy},indent:function(Y0,X0,uy){var aw=Y0.context;if(Y0.tokenize.isInAttribute)return Y0.tagStart==Y0.indented?Y0.stringStartCol+1:Y0.indented+Uh;if(aw&&aw.noIndent)return lh.Pass;if(Y0.tokenize!=f1&&Y0.tokenize!=t1)return uy?uy.match(/^(\s*)/)[0].length:0;if(Y0.tagName)return Fh.multilineTagIndentPastTag!==!1?Y0.tagStart+Y0.tagName.length+2:Y0.tagStart+Uh*(Fh.multilineTagIndentFactor||1);if(Fh.alignCDATA&&/$/,blockCommentStart:"",configuration:Fh.htmlMode?"html":"xml",helperType:Fh.htmlMode?"html":"xml",skipAttribute:function(Y0){Y0.state==r0&&(Y0.state=N0)},xmlCurrentTag:function(Y0){return Y0.tagName?{name:Y0.tagName,close:Y0.type=="closeTag"}:null},xmlCurrentContext:function(Y0){for(var X0=[],uy=Y0.context;uy;uy=uy.prev)X0.push(uy.tagName);return X0.reverse()}}}),lh.defineMIME("text/xml","xml"),lh.defineMIME("application/xml","xml"),lh.mimeModes.hasOwnProperty("text/html")||lh.defineMIME("text/html",{name:"xml",htmlMode:!0})}(CodeMirror),function(lh){function ah(ph,yh,xh,Oh){this.state=ph,this.mode=yh,this.depth=xh,this.prev=Oh}function ch(ph){return new ah(lh.copyState(ph.mode,ph.state),ph.mode,ph.depth,ph.prev&&ch(ph.prev))}lh.defineMode("jsx",function(ph,yh){var xh=lh.getMode(ph,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),Oh=lh.getMode(ph,yh&&yh.base||"javascript");function Uh(zh){var n1=zh.tagName;zh.tagName=null;var t1=xh.indent(zh,"","");return zh.tagName=n1,t1}function Fh(zh,n1){return n1.context.mode==xh?function(t1,f1,g1){if(g1.depth==2)return t1.match(/^.*?\*\//)?g1.depth=1:t1.skipToEnd(),"comment";if(t1.peek()=="{"){xh.skipAttribute(g1.state);var T1=Uh(g1.state),V1=g1.state.context;if(V1&&t1.match(/^[^>]*>\s*$/,!1)){for(;V1.prev&&!V1.startOfLine;)V1=V1.prev;V1.startOfLine?T1-=ph.indentUnit:g1.prev.state.lexical&&(T1=g1.prev.state.lexical.indented)}else g1.depth==1&&(T1+=ph.indentUnit);return f1.context=new ah(lh.startState(Oh,T1),Oh,0,f1.context),null}if(g1.depth==1){if(t1.peek()=="<")return xh.skipAttribute(g1.state),f1.context=new ah(lh.startState(xh,Uh(g1.state)),xh,0,f1.context),null;if(t1.match("//"))return t1.skipToEnd(),"comment";if(t1.match("/*"))return g1.depth=2,Fh(t1,f1)}var a0,o0=xh.token(t1,g1.state),B0=t1.current();return/\btag\b/.test(o0)?/>$/.test(B0)?g1.state.context?g1.depth=0:f1.context=f1.context.prev:/^-1&&t1.backUp(B0.length-a0),o0}(zh,n1,n1.context):function(t1,f1,g1){if(t1.peek()=="<"&&Oh.expressionAllowed(t1,g1.state))return f1.context=new ah(lh.startState(xh,Oh.indent(g1.state,"","")),xh,0,f1.context),Oh.skipExpression(g1.state),null;var T1=Oh.token(t1,g1.state);if(!T1&&g1.depth!=null){var V1=t1.current();V1=="{"?g1.depth++:V1=="}"&&--g1.depth==0&&(f1.context=f1.context.prev)}return T1}(zh,n1,n1.context)}return{startState:function(){return{context:new ah(lh.startState(Oh),Oh)}},copyState:function(zh){return{context:ch(zh.context)}},token:Fh,indent:function(zh,n1,t1){return zh.context.mode.indent(zh.context.state,n1,t1)},innerMode:function(zh){return zh.context}}},"xml","javascript"),lh.defineMIME("text/jsx","jsx"),lh.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})}(CodeMirror);/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -682,11 +669,11 @@ span.CodeMirror-selectedtext { border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.3) 0 2px 10px; } - `;PlaygroundInternalOverlay=__decorate$6([e$O("playground-internal-overlay")],PlaygroundInternalOverlay);/** + `;PlaygroundInternalOverlay=__decorate$3([e$O("playground-internal-overlay")],PlaygroundInternalOverlay);/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */let PlaygroundCodeEditor=class extends s$C{constructor(){super(...arguments),this._docCache=new WeakMap,this.lineNumbers=!1,this.lineWrapping=!1,this.readonly=!1,this.noCompletions=!1,this._completionsOpen=!1,this._currentCompletionSelectionLabel="",this._currentCompletionRequestId=0,this.pragmas="on",this._showKeyboardHelp=!1,this._resizing=!1,this._valueChangingFromOutside=!1,this._diagnosticMarkers=[],this._diagnosticsMouseoverListenerActive=!1,this._onMouseOverWithDiagnostics=ah=>{var ch,ph,_h;if(!(!((ch=this.diagnostics)===null||ch===void 0)&&ch.length))return;const xh=(ph=ah.target.className)===null||ph===void 0?void 0:ph.match(/diagnostic-(\d+)/);if(xh===null){this._tooltipDiagnostic=void 0;return}const Oh=Number(xh[1]),Uh=this.diagnostics[Oh];if(Uh===((_h=this._tooltipDiagnostic)===null||_h===void 0?void 0:_h.diagnostic))return;let Fh="";const zh=this.getBoundingClientRect(),n1=ah.target.getBoundingClientRect(),t1=zh.y+zh.height/2;n1.y{var ch,ph,yh;if(!(!((ch=this.diagnostics)===null||ch===void 0)&&ch.length))return;const xh=(ph=ah.target.className)===null||ph===void 0?void 0:ph.match(/diagnostic-(\d+)/);if(xh===null){this._tooltipDiagnostic=void 0;return}const Oh=Number(xh[1]),Uh=this.diagnostics[Oh];if(Uh===((yh=this._tooltipDiagnostic)===null||yh===void 0?void 0:yh.diagnostic))return;let Fh="";const zh=this.getBoundingClientRect(),n1=ah.target.getBoundingClientRect(),t1=zh.y+zh.height/2;n1.y - `}connectedCallback(){typeof ResizeObserver=="function"&&(this._resizeObserver=new ResizeObserver(()=>{var ah;this._resizing||(this._resizing=!0,(ah=this._codemirror)===null||ah===void 0||ah.refresh(),this._resizing=!1)}),this._resizeObserver.observe(this)),super.connectedCallback()}disconnectedCallback(){var ah;(ah=this._resizeObserver)===null||ah===void 0||ah.disconnect(),this._resizeObserver=void 0,super.disconnectedCallback()}_createView(){var ah;const ch=CodeMirror$1(ph=>{this._cmDom=ph,this._resizing=!0,requestAnimationFrame(()=>{requestAnimationFrame(()=>{var _h;(_h=this._codemirror)===null||_h===void 0||_h.refresh(),this._resizing=!1})})},{value:(ah=this.value)!==null&&ah!==void 0?ah:"",lineNumbers:this.lineNumbers,lineWrapping:this.lineWrapping,mode:this._getLanguageMode(),readOnly:this.readonly,inputStyle:"contenteditable",tabindex:-1,extraKeys:{Tab:()=>{var ph;ch.replaceSelection(Array(((ph=ch.getOption("indentUnit"))!==null&&ph!==void 0?ph:2)+1).join(" "))},"Ctrl-Space":()=>{const ph=this.tokenUnderCursor.string.trim();this._requestCompletions({isRefinement:!1,tokenUnderCursor:ph})},"Ctrl-/":()=>ch.toggleComment(),"Cmd-/":()=>ch.toggleComment()}});ch.on("change",(ph,_h)=>{this._value=ch.getValue(),this._valueChangingFromOutside?(this._applyHideAndFoldRegions(),this._showDiagnostics()):(this.dispatchEvent(new Event("change")),this._requestCompletionsIfNeeded(_h))}),this.lineWrapping&&ch.on("renderLine",this._onRenderLine),this._codemirror=ch}_onRenderLine(ah,ch,ph){const xh=ah.getOption("lineNumbers")?"0.7em":"4px",Oh=ah.getOption("tabSize")||4,Uh=CodeMirror$1.countColumn(ch.text,null,Oh);Uh>0&&(ph.style.textIndent=`-${Uh}ch`,ph.style.paddingLeft=`calc(${xh} + ${Uh}ch)`)}_requestCompletionsIfNeeded(ah){if(this.noCompletions||!this._currentFiletypeSupportsCompletion()||!this._codemirror)return;const ch=this._codemirror.getTokenAt(ah.from),ph=this.tokenUnderCursor.string.trim(),_h=ph.trim(),xh=ah.origin==="+input",Oh=(ph.length>1||ch.string===".")&&xh,Uh=ah.origin==="complete";if(!(_h.length<=0)){if(Uh){this._completions=[];return}this._requestCompletions({isRefinement:Oh,tokenUnderCursor:ph})}}_requestCompletions({isRefinement:ah,tokenUnderCursor:ch}){if(this.noCompletions||!this._currentFiletypeSupportsCompletion()||!this._codemirror)return;const ph=++this._currentCompletionRequestId,_h=this.cursorIndex;this.dispatchEvent(new CustomEvent("request-completions",{detail:{isRefinement:ah,fileContent:this.value,tokenUnderCursor:ch,cursorIndex:this.cursorIndex,provideCompletions:xh=>this._onCompletionsProvided(ph,xh,_h)}}))}_onCompletionsProvided(ah,ch,ph){ah!==this._currentCompletionRequestId||ph!==this.cursorIndex||(this._completions=ch)}_currentFiletypeSupportsCompletion(){return this.type==="ts"}focus(){var ah;(ah=this._codemirrorEditable)===null||ah===void 0||ah.focus()}_completionsAsHints(){var ah,ch;const ph=this._codemirror,_h=ph.getCursor("start"),xh=ph.getTokenAt(_h),Oh=_h.line,Uh=(ch=(ah=this._completions)===null||ah===void 0?void 0:ah.map((zh,n1)=>({text:zh.text,displayText:zh.displayText,render:(t1,f1,g1)=>{const T1=g1;this._renderHint(t1,f1,T1,n1===0?zh.details:void 0)},get details(){return zh.details}})))!==null&&ch!==void 0?ch:[],Fh={from:{line:Oh,ch:xh.start},to:{line:Oh,ch:xh.end},list:Uh};return CodeMirror$1.on(Fh,"select",async(zh,n1)=>{var t1;this._isCodeEditorHint(zh)&&this._currentCompletionSelectionLabel!==zh.text&&((t1=this._onCompletionSelectedChange)===null||t1===void 0||t1.call(this),this._renderHint(n1,Fh,zh,zh.details))}),CodeMirror$1.on(Fh,"shown",()=>{window.requestAnimationFrame(()=>{this._completionsOpen=!0})}),CodeMirror$1.on(Fh,"close",()=>{window.requestAnimationFrame(()=>{this._completionsOpen=!1})}),Fh}_isCodeEditorHint(ah){return typeof ah!="string"&&Object.prototype.hasOwnProperty.call(ah,"details")}_renderHint(ah,ch,ph,_h){var xh;if(!ah)return;const Oh=ch.list.indexOf(ph),Uh=(xh=this._completions)===null||xh===void 0?void 0:xh[Oh],Fh=this._buildHintObjectName(ph.displayText,Uh);this._renderCompletionItem(Fh,ah),_h!==void 0&&_h.then(zh=>{this._renderCompletionItemWithDetails(Fh,zh,ah),this._onCompletionSelectedChange=()=>this._renderHint(ah,ch,ph),this._currentCompletionSelectionLabel=ph.text})}_renderCompletionItem(ah,ch){D$a(x$d`${ah}`,ch)}_renderCompletionItemWithDetails(ah,ch,ph){D$a(x$d`${ah} - ${ch.text} `,ph)}_buildHintObjectName(ah,ch){var ph;const _h=ah??"",xh=(ph=ch==null?void 0:ch.matches)!==null&&ph!==void 0?ph:[];if(xh.length<=0)return _h;const Uh=xh[0].indices[0],Fh=Uh[0],zh=Uh[1],n1=_h==null?void 0:_h.substring(0,Fh),t1=_h==null?void 0:_h.substring(Fh,zh+1),f1=_h==null?void 0:_h.substring(zh+1);return x$d` + `}connectedCallback(){typeof ResizeObserver=="function"&&(this._resizeObserver=new ResizeObserver(()=>{var ah;this._resizing||(this._resizing=!0,(ah=this._codemirror)===null||ah===void 0||ah.refresh(),this._resizing=!1)}),this._resizeObserver.observe(this)),super.connectedCallback()}disconnectedCallback(){var ah;(ah=this._resizeObserver)===null||ah===void 0||ah.disconnect(),this._resizeObserver=void 0,super.disconnectedCallback()}_createView(){var ah;const ch=CodeMirror$1(ph=>{this._cmDom=ph,this._resizing=!0,requestAnimationFrame(()=>{requestAnimationFrame(()=>{var yh;(yh=this._codemirror)===null||yh===void 0||yh.refresh(),this._resizing=!1})})},{value:(ah=this.value)!==null&&ah!==void 0?ah:"",lineNumbers:this.lineNumbers,lineWrapping:this.lineWrapping,mode:this._getLanguageMode(),readOnly:this.readonly,inputStyle:"contenteditable",tabindex:-1,extraKeys:{Tab:()=>{var ph;ch.replaceSelection(Array(((ph=ch.getOption("indentUnit"))!==null&&ph!==void 0?ph:2)+1).join(" "))},"Ctrl-Space":()=>{const ph=this.tokenUnderCursor.string.trim();this._requestCompletions({isRefinement:!1,tokenUnderCursor:ph})},"Ctrl-/":()=>ch.toggleComment(),"Cmd-/":()=>ch.toggleComment()}});ch.on("change",(ph,yh)=>{this._value=ch.getValue(),this._valueChangingFromOutside?(this._applyHideAndFoldRegions(),this._showDiagnostics()):(this.dispatchEvent(new Event("change")),this._requestCompletionsIfNeeded(yh))}),this.lineWrapping&&ch.on("renderLine",this._onRenderLine),this._codemirror=ch}_onRenderLine(ah,ch,ph){const xh=ah.getOption("lineNumbers")?"0.7em":"4px",Oh=ah.getOption("tabSize")||4,Uh=CodeMirror$1.countColumn(ch.text,null,Oh);Uh>0&&(ph.style.textIndent=`-${Uh}ch`,ph.style.paddingLeft=`calc(${xh} + ${Uh}ch)`)}_requestCompletionsIfNeeded(ah){if(this.noCompletions||!this._currentFiletypeSupportsCompletion()||!this._codemirror)return;const ch=this._codemirror.getTokenAt(ah.from),ph=this.tokenUnderCursor.string.trim(),yh=ph.trim(),xh=ah.origin==="+input",Oh=(ph.length>1||ch.string===".")&&xh,Uh=ah.origin==="complete";if(!(yh.length<=0)){if(Uh){this._completions=[];return}this._requestCompletions({isRefinement:Oh,tokenUnderCursor:ph})}}_requestCompletions({isRefinement:ah,tokenUnderCursor:ch}){if(this.noCompletions||!this._currentFiletypeSupportsCompletion()||!this._codemirror)return;const ph=++this._currentCompletionRequestId,yh=this.cursorIndex;this.dispatchEvent(new CustomEvent("request-completions",{detail:{isRefinement:ah,fileContent:this.value,tokenUnderCursor:ch,cursorIndex:this.cursorIndex,provideCompletions:xh=>this._onCompletionsProvided(ph,xh,yh)}}))}_onCompletionsProvided(ah,ch,ph){ah!==this._currentCompletionRequestId||ph!==this.cursorIndex||(this._completions=ch)}_currentFiletypeSupportsCompletion(){return this.type==="ts"}focus(){var ah;(ah=this._codemirrorEditable)===null||ah===void 0||ah.focus()}_completionsAsHints(){var ah,ch;const ph=this._codemirror,yh=ph.getCursor("start"),xh=ph.getTokenAt(yh),Oh=yh.line,Uh=(ch=(ah=this._completions)===null||ah===void 0?void 0:ah.map((zh,n1)=>({text:zh.text,displayText:zh.displayText,render:(t1,f1,g1)=>{const T1=g1;this._renderHint(t1,f1,T1,n1===0?zh.details:void 0)},get details(){return zh.details}})))!==null&&ch!==void 0?ch:[],Fh={from:{line:Oh,ch:xh.start},to:{line:Oh,ch:xh.end},list:Uh};return CodeMirror$1.on(Fh,"select",async(zh,n1)=>{var t1;this._isCodeEditorHint(zh)&&this._currentCompletionSelectionLabel!==zh.text&&((t1=this._onCompletionSelectedChange)===null||t1===void 0||t1.call(this),this._renderHint(n1,Fh,zh,zh.details))}),CodeMirror$1.on(Fh,"shown",()=>{window.requestAnimationFrame(()=>{this._completionsOpen=!0})}),CodeMirror$1.on(Fh,"close",()=>{window.requestAnimationFrame(()=>{this._completionsOpen=!1})}),Fh}_isCodeEditorHint(ah){return typeof ah!="string"&&Object.prototype.hasOwnProperty.call(ah,"details")}_renderHint(ah,ch,ph,yh){var xh;if(!ah)return;const Oh=ch.list.indexOf(ph),Uh=(xh=this._completions)===null||xh===void 0?void 0:xh[Oh],Fh=this._buildHintObjectName(ph.displayText,Uh);this._renderCompletionItem(Fh,ah),yh!==void 0&&yh.then(zh=>{this._renderCompletionItemWithDetails(Fh,zh,ah),this._onCompletionSelectedChange=()=>this._renderHint(ah,ch,ph),this._currentCompletionSelectionLabel=ph.text})}_renderCompletionItem(ah,ch){D$a(x$d`${ah}`,ch)}_renderCompletionItemWithDetails(ah,ch,ph){D$a(x$d`${ah} + ${ch.text} `,ph)}_buildHintObjectName(ah,ch){var ph;const yh=ah??"",xh=(ph=ch==null?void 0:ch.matches)!==null&&ph!==void 0?ph:[];if(xh.length<=0)return yh;const Uh=xh[0].indices[0],Fh=Uh[0],zh=Uh[1],n1=yh==null?void 0:yh.substring(0,Fh),t1=yh==null?void 0:yh.substring(Fh,zh+1),f1=yh==null?void 0:yh.substring(zh+1);return x$d` ${n1}${t1}${f1} - `}_showCompletions(){const ah=this._codemirror;if(!ah||!this._completions||this._completions.length<=0)return;const ch={hint:this._completionsAsHints.bind(this),completeSingle:!1,closeOnPick:!0,closeOnUnfocus:!0,container:this._focusContainer,alignWithWord:!0};ah.showHint(ch)}_onMousedown(){var ah;(ah=this._codemirrorEditable)===null||ah===void 0||ah.focus()}_onFocus(){this._showKeyboardHelp=!0}_onBlur(){this._showKeyboardHelp=!1}_onKeyDown(ah){var ch,ph;ah.key==="Enter"&&ah.target===this._focusContainer?((ch=this._codemirrorEditable)===null||ch===void 0||ch.focus(),ah.preventDefault()):ah.key==="Escape"&&(this._completionsOpen||(ph=this._focusContainer)===null||ph===void 0||ph.focus())}async _applyHideAndFoldRegions(){const ah=this._codemirror;if(!ah)return;for(const Uh of ah.getAllMarks())Uh.clear();if(this.pragmas==="off-visible")return;const ch=this._maskPatternForLang();if(ch===void 0)return;const ph=ah.getDoc(),_h=(Uh,Fh)=>{ah.foldCode(0,{widget:"…",rangeFinder:()=>({from:ph.posFromIndex(Uh),to:ph.posFromIndex(Fh)})})},xh=(Uh,Fh,zh)=>{ph.markText(ph.posFromIndex(Uh),ph.posFromIndex(Fh),{collapsed:!0,readOnly:zh})},Oh=ah.getValue();for(const Uh of Oh.matchAll(ch)){const[,Fh,zh,n1,t1]=Uh,f1=Uh.index;if(f1===void 0)continue;const g1=f1+Fh.length;xh(f1,g1,!1);const T1=g1;let V1;if(n1&&t1){V1=T1+n1.length;const a0=V1,o0=V1+t1.length;xh(a0,o0,!1)}else V1=Oh.length;this.pragmas==="on"&&(zh==="fold"?_h(T1,V1):zh==="hide"&&xh(T1,V1,!0))}}_maskPatternForLang(){switch(this.type){case"js":case"ts":case"css":case"jsx":case"tsx":return/( *\/\* *playground-(?hide|fold) *\*\/\n?)(?:(.*?)( *\/\* *playground-\k-end *\*\/\n?))?/gs;case"html":return/( *\n?)(?:(.*?)( *\n?))?/gs;default:return}}_getLanguageMode(){switch(this.type){case"ts":return"google-typescript";case"js":case"json":return"google-javascript";case"html":return"google-html";case"css":return"css";case"jsx":case"tsx":return"jsx"}}_showDiagnostics(){const ah=this._codemirror;ah!==void 0&&ah.operation(()=>{var ch,ph,_h;for(this._tooltipDiagnostic=void 0;this._diagnosticMarkers.length>0;)this._diagnosticMarkers.pop().clear();if(!(!((ch=this.diagnostics)===null||ch===void 0)&&ch.length)){this._diagnosticsMouseoverListenerActive&&((ph=this._cmDom)===null||ph===void 0||ph.removeEventListener("mouseover",this._onMouseOverWithDiagnostics),this._diagnosticsMouseoverListenerActive=!1);return}this._diagnosticsMouseoverListenerActive||((_h=this._cmDom)===null||_h===void 0||_h.addEventListener("mouseover",this._onMouseOverWithDiagnostics),this._diagnosticsMouseoverListenerActive=!0);for(let xh=0;xh{ah.foldCode(0,{widget:"…",rangeFinder:()=>({from:ph.posFromIndex(Uh),to:ph.posFromIndex(Fh)})})},xh=(Uh,Fh,zh)=>{ph.markText(ph.posFromIndex(Uh),ph.posFromIndex(Fh),{collapsed:!0,readOnly:zh})},Oh=ah.getValue();for(const Uh of Oh.matchAll(ch)){const[,Fh,zh,n1,t1]=Uh,f1=Uh.index;if(f1===void 0)continue;const g1=f1+Fh.length;xh(f1,g1,!1);const T1=g1;let V1;if(n1&&t1){V1=T1+n1.length;const a0=V1,o0=V1+t1.length;xh(a0,o0,!1)}else V1=Oh.length;this.pragmas==="on"&&(zh==="fold"?yh(T1,V1):zh==="hide"&&xh(T1,V1,!0))}}_maskPatternForLang(){switch(this.type){case"js":case"ts":case"css":case"jsx":case"tsx":return/( *\/\* *playground-(?hide|fold) *\*\/\n?)(?:(.*?)( *\/\* *playground-\k-end *\*\/\n?))?/gs;case"html":return/( *\n?)(?:(.*?)( *\n?))?/gs;default:return}}_getLanguageMode(){switch(this.type){case"ts":return"google-typescript";case"js":case"json":return"google-javascript";case"html":return"google-html";case"css":return"css";case"jsx":case"tsx":return"jsx"}}_showDiagnostics(){const ah=this._codemirror;ah!==void 0&&ah.operation(()=>{var ch,ph,yh;for(this._tooltipDiagnostic=void 0;this._diagnosticMarkers.length>0;)this._diagnosticMarkers.pop().clear();if(!(!((ch=this.diagnostics)===null||ch===void 0)&&ch.length)){this._diagnosticsMouseoverListenerActive&&((ph=this._cmDom)===null||ph===void 0||ph.removeEventListener("mouseover",this._onMouseOverWithDiagnostics),this._diagnosticsMouseoverListenerActive=!1);return}this._diagnosticsMouseoverListenerActive||((yh=this._cmDom)===null||yh===void 0||yh.addEventListener("mouseover",this._onMouseOverWithDiagnostics),this._diagnosticsMouseoverListenerActive=!0);for(let xh=0;xh{var ch;const ph=this.getRootNode();this._project=(ch=ph.getElementById(ah))!==null&&ch!==void 0?ch:void 0}):this._project=ah}}__decorate$6([n$P()],PlaygroundConnectedElement.prototype,"project",null);__decorate$6([t$t()],PlaygroundConnectedElement.prototype,"_project",void 0);/** + */class PlaygroundConnectedElement extends s$C{set project(ah){typeof ah=="string"?requestAnimationFrame(()=>{var ch;const ph=this.getRootNode();this._project=(ch=ph.getElementById(ah))!==null&&ch!==void 0?ch:void 0}):this._project=ah}}__decorate$3([n$P()],PlaygroundConnectedElement.prototype,"project",null);__decorate$3([t$t()],PlaygroundConnectedElement.prototype,"_project",void 0);/** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */let PlaygroundFileEditor=class extends PlaygroundConnectedElement{constructor(){super(...arguments),this.lineNumbers=!1,this.lineWrapping=!1,this.pragmas="on",this.readonly=!1,this.noCompletions=!1,this._onProjectFilesChanged=()=>{var ah,ch;(ah=this.filename)!==null&&ah!==void 0||(this.filename=(ch=this._files[0])===null||ch===void 0?void 0:ch.name),this.requestUpdate()},this._onCompileDone=()=>{this.requestUpdate()},this._onDiagnosticsChanged=()=>{this.requestUpdate()}}get _files(){var ah,ch;return(ch=(ah=this._project)===null||ah===void 0?void 0:ah.files)!==null&&ch!==void 0?ch:[]}get _currentFile(){return this.filename?this._files.find(ah=>ah.name===this.filename):void 0}async update(ah){if(ah.has("_project")){const ch=ah.get("_project");ch&&(ch.removeEventListener("filesChanged",this._onProjectFilesChanged),ch.removeEventListener("compileDone",this._onCompileDone),ch.removeEventListener("diagnosticsChanged",this._onDiagnosticsChanged)),this._project&&(this._project.addEventListener("filesChanged",this._onProjectFilesChanged),this._project.addEventListener("compileDone",this._onCompileDone),this._project.addEventListener("diagnosticsChanged",this._onDiagnosticsChanged)),this._onProjectFilesChanged()}super.update(ah)}render(){var ah,ch,ph,_h,xh,Oh;return x$d` + */let PlaygroundFileEditor=class extends PlaygroundConnectedElement{constructor(){super(...arguments),this.lineNumbers=!1,this.lineWrapping=!1,this.pragmas="on",this.readonly=!1,this.noCompletions=!1,this._onProjectFilesChanged=()=>{var ah,ch;(ah=this.filename)!==null&&ah!==void 0||(this.filename=(ch=this._files[0])===null||ch===void 0?void 0:ch.name),this.requestUpdate()},this._onCompileDone=()=>{this.requestUpdate()},this._onDiagnosticsChanged=()=>{this.requestUpdate()}}get _files(){var ah,ch;return(ch=(ah=this._project)===null||ah===void 0?void 0:ah.files)!==null&&ch!==void 0?ch:[]}get _currentFile(){return this.filename?this._files.find(ah=>ah.name===this.filename):void 0}async update(ah){if(ah.has("_project")){const ch=ah.get("_project");ch&&(ch.removeEventListener("filesChanged",this._onProjectFilesChanged),ch.removeEventListener("compileDone",this._onCompileDone),ch.removeEventListener("diagnosticsChanged",this._onDiagnosticsChanged)),this._project&&(this._project.addEventListener("filesChanged",this._onProjectFilesChanged),this._project.addEventListener("compileDone",this._onCompileDone),this._project.addEventListener("diagnosticsChanged",this._onDiagnosticsChanged)),this._onProjectFilesChanged()}super.update(ah)}render(){var ah,ch,ph,yh,xh,Oh;return x$d` ${this._files?x$d` `:x$d``} - `}_onEdit(){this._project===void 0||this._currentFile===void 0||this._editor.value===void 0||this._project.editFile(this._currentFile,this._editor.value)}async _onRequestCompletions(ah){var ch,ph;const _h=ah.detail;_h.fileName=(ch=this.filename)!==null&&ch!==void 0?ch:"";const xh=await((ph=this._project)===null||ph===void 0?void 0:ph.getCompletions(_h));xh&&_h.provideCompletions(xh)}};PlaygroundFileEditor.styles=i$E` + `}_onEdit(){this._project===void 0||this._currentFile===void 0||this._editor.value===void 0||this._project.editFile(this._currentFile,this._editor.value)}async _onRequestCompletions(ah){var ch,ph;const yh=ah.detail;yh.fileName=(ch=this.filename)!==null&&ch!==void 0?ch:"";const xh=await((ph=this._project)===null||ph===void 0?void 0:ph.getCompletions(yh));xh&&yh.provideCompletions(xh)}};PlaygroundFileEditor.styles=i$E` :host { display: block; /* Prevents scrollbars from changing container size and shifting layout @@ -828,15 +815,15 @@ span.CodeMirror-selectedtext { border-top-left-radius: 0; border-top-right-radius: 0; } - `;__decorate$6([i$B("playground-code-editor")],PlaygroundFileEditor.prototype,"_editor",void 0);__decorate$6([n$P()],PlaygroundFileEditor.prototype,"filename",void 0);__decorate$6([n$P({type:Boolean,attribute:"line-numbers"})],PlaygroundFileEditor.prototype,"lineNumbers",void 0);__decorate$6([n$P({type:Boolean,attribute:"line-wrapping"})],PlaygroundFileEditor.prototype,"lineWrapping",void 0);__decorate$6([n$P()],PlaygroundFileEditor.prototype,"pragmas",void 0);__decorate$6([n$P({type:Boolean,reflect:!0})],PlaygroundFileEditor.prototype,"readonly",void 0);__decorate$6([n$P({type:Boolean,attribute:"no-completions"})],PlaygroundFileEditor.prototype,"noCompletions",void 0);PlaygroundFileEditor=__decorate$6([e$O("playground-file-editor")],PlaygroundFileEditor);const mimeTypeToTypeEnum=lh=>{if(lh===void 0)return;const ah=lh.indexOf(";");switch(ah!==-1&&(lh=lh.substring(0,ah)),lh){case"video/mp2t":return"ts";case"text/javascript":case"application/javascript":return"js";case"text/jsx":return"jsx";case"text/typescript-jsx":return"tsx";case"application/json":return"json";case"text/html":return"html";case"text/css":return"css"}};/** + `;__decorate$3([i$B("playground-code-editor")],PlaygroundFileEditor.prototype,"_editor",void 0);__decorate$3([n$P()],PlaygroundFileEditor.prototype,"filename",void 0);__decorate$3([n$P({type:Boolean,attribute:"line-numbers"})],PlaygroundFileEditor.prototype,"lineNumbers",void 0);__decorate$3([n$P({type:Boolean,attribute:"line-wrapping"})],PlaygroundFileEditor.prototype,"lineWrapping",void 0);__decorate$3([n$P()],PlaygroundFileEditor.prototype,"pragmas",void 0);__decorate$3([n$P({type:Boolean,reflect:!0})],PlaygroundFileEditor.prototype,"readonly",void 0);__decorate$3([n$P({type:Boolean,attribute:"no-completions"})],PlaygroundFileEditor.prototype,"noCompletions",void 0);PlaygroundFileEditor=__decorate$3([e$O("playground-file-editor")],PlaygroundFileEditor);const mimeTypeToTypeEnum=lh=>{if(lh===void 0)return;const ah=lh.indexOf(";");switch(ah!==-1&&(lh=lh.substring(0,ah)),lh){case"video/mp2t":return"ts";case"text/javascript":case"application/javascript":return"js";case"text/jsx":return"jsx";case"text/typescript-jsx":return"tsx";case"application/json":return"json";case"text/html":return"html";case"text/css":return"css"}};/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o$J=e$M(class extends i$A{constructor(lh){var ah;if(super(lh),lh.type!==t$s.ATTRIBUTE||lh.name!=="class"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(lh){return" "+Object.keys(lh).filter(ah=>lh[ah]).join(" ")+" "}update(lh,[ah]){var ch,ph;if(this.it===void 0){this.it=new Set,lh.strings!==void 0&&(this.nt=new Set(lh.strings.join(" ").split(/\s/).filter(xh=>xh!=="")));for(const xh in ah)ah[xh]&&!(!((ch=this.nt)===null||ch===void 0)&&ch.has(xh))&&this.it.add(xh);return this.render(ah)}const _h=lh.element.classList;this.it.forEach(xh=>{xh in ah||(_h.remove(xh),this.it.delete(xh))});for(const xh in ah){const Oh=!!ah[xh];Oh===this.it.has(xh)||!((ph=this.nt)===null||ph===void 0)&&ph.has(xh)||(Oh?(_h.add(xh),this.it.add(xh)):(_h.remove(xh),this.it.delete(xh)))}return T$b}});function __decorate$5(lh,ah,ch,ph){var _h=arguments.length,xh=_h<3?ah:ph===null?ph=Object.getOwnPropertyDescriptor(ah,ch):ph,Oh;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")xh=Reflect.decorate(lh,ah,ch,ph);else for(var Uh=lh.length-1;Uh>=0;Uh--)(Oh=lh[Uh])&&(xh=(_h<3?Oh(xh):_h>3?Oh(ah,ch,xh):Oh(ah,ch))||xh);return _h>3&&xh&&Object.defineProperty(ah,ch,xh),xh}typeof SuppressedError=="function"&&SuppressedError;/** + */const o$J=e$M(class extends i$A{constructor(lh){var ah;if(super(lh),lh.type!==t$s.ATTRIBUTE||lh.name!=="class"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(lh){return" "+Object.keys(lh).filter(ah=>lh[ah]).join(" ")+" "}update(lh,[ah]){var ch,ph;if(this.it===void 0){this.it=new Set,lh.strings!==void 0&&(this.nt=new Set(lh.strings.join(" ").split(/\s/).filter(xh=>xh!=="")));for(const xh in ah)ah[xh]&&!(!((ch=this.nt)===null||ch===void 0)&&ch.has(xh))&&this.it.add(xh);return this.render(ah)}const yh=lh.element.classList;this.it.forEach(xh=>{xh in ah||(yh.remove(xh),this.it.delete(xh))});for(const xh in ah){const Oh=!!ah[xh];Oh===this.it.has(xh)||!((ph=this.nt)===null||ph===void 0)&&ph.has(xh)||(Oh?(yh.add(xh),this.it.add(xh)):(yh.remove(xh),this.it.delete(xh)))}return T$b}});/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e$J=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:_h,elements:xh}=ph;return{kind:_h,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** + */const e$J=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:yh,elements:xh}=ph;return{kind:yh,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -848,7 +835,7 @@ span.CodeMirror-selectedtext { * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o$I=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var _h;if(ph===void 0){const xh=(_h=ch.originalKey)!==null&&_h!==void 0?_h:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** + */const o$I=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var yh;if(ph===void 0){const xh=(yh=ch.originalKey)!==null&&yh!==void 0?yh:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -856,7 +843,7 @@ span.CodeMirror-selectedtext { * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function i$x(lh,ah){return o$I({descriptor:ch=>{const ph={get(){var _h,xh;return(xh=(_h=this.renderRoot)===null||_h===void 0?void 0:_h.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const _h=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[_h]===void 0&&(this[_h]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[_h]}}return ph}})}/** + */function i$x(lh,ah){return o$I({descriptor:ch=>{const ph={get(){var yh,xh;return(xh=(yh=this.renderRoot)===null||yh===void 0?void 0:yh.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const yh=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[yh]===void 0&&(this[yh]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[yh]}}return ph}})}/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -864,11 +851,11 @@ span.CodeMirror-selectedtext { * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var n$L;((n$L=window.HTMLSlotElement)===null||n$L===void 0?void 0:n$L.prototype.assignedElements)!=null;function __decorate$4(lh,ah,ch,ph){var _h=arguments.length,xh=_h<3?ah:ph===null?ph=Object.getOwnPropertyDescriptor(ah,ch):ph,Oh;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")xh=Reflect.decorate(lh,ah,ch,ph);else for(var Uh=lh.length-1;Uh>=0;Uh--)(Oh=lh[Uh])&&(xh=(_h<3?Oh(xh):_h>3?Oh(ah,ch,xh):Oh(ah,ch))||xh);return _h>3&&xh&&Object.defineProperty(ah,ch,xh),xh}typeof SuppressedError=="function"&&SuppressedError;/** + */var n$L;((n$L=window.HTMLSlotElement)===null||n$L===void 0?void 0:n$L.prototype.assignedElements)!=null;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e$F=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:_h,elements:xh}=ph;return{kind:_h,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** + */const e$F=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:yh,elements:xh}=ph;return{kind:yh,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -880,11 +867,11 @@ span.CodeMirror-selectedtext { * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o$H=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var _h;if(ph===void 0){const xh=(_h=ch.originalKey)!==null&&_h!==void 0?_h:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** + */const o$H=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var yh;if(ph===void 0){const xh=(yh=ch.originalKey)!==null&&yh!==void 0?yh:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function i$v(lh,ah){return o$H({descriptor:ch=>{const ph={get(){var _h,xh;return(xh=(_h=this.renderRoot)===null||_h===void 0?void 0:_h.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const _h=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[_h]===void 0&&(this[_h]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[_h]}}return ph}})}/** + */function i$v(lh,ah){return o$H({descriptor:ch=>{const ph={get(){var yh,xh;return(xh=(yh=this.renderRoot)===null||yh===void 0?void 0:yh.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const yh=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[yh]===void 0&&(this[yh]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[yh]}}return ph}})}/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -913,21 +900,21 @@ span.CodeMirror-selectedtext { * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const t$o=window,e$D=t$o.ShadowRoot&&(t$o.ShadyCSS===void 0||t$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$A=Symbol(),n$I=new WeakMap;let o$G=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$A)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$D&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$I.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$I.set(ch,ah))}return ah}toString(){return this.cssText}};const r$x=lh=>new o$G(typeof lh=="string"?lh:lh+"",void 0,s$A),S$h=(lh,ah)=>{e$D?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),_h=t$o.litNonce;_h!==void 0&&ph.setAttribute("nonce",_h),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$p=e$D?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$x(ch)})(lh):lh;/** + */const t$o=window,e$D=t$o.ShadowRoot&&(t$o.ShadyCSS===void 0||t$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$A=Symbol(),n$I=new WeakMap;let o$G=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$A)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$D&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$I.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$I.set(ch,ah))}return ah}toString(){return this.cssText}};const r$x=lh=>new o$G(typeof lh=="string"?lh:lh+"",void 0,s$A),S$h=(lh,ah)=>{e$D?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),yh=t$o.litNonce;yh!==void 0&&ph.setAttribute("nonce",yh),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$p=e$D?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$x(ch)})(lh):lh;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var s$z;const e$C=window,r$w=e$C.trustedTypes,h$k=r$w?r$w.emptyScript:"",o$F=e$C.reactiveElementPolyfillSupport,n$H={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$k:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$m=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$t={attribute:!0,type:String,converter:n$H,reflect:!1,hasChanged:a$m},d$h="finalized";let u$j=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const _h=this._$Ep(ph,ch);_h!==void 0&&(this._$Ev.set(_h,ph),ah.push(_h))}),ah}static createProperty(ah,ch=l$t){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,_h=this.getPropertyDescriptor(ah,ph,ch);_h!==void 0&&Object.defineProperty(this.prototype,ah,_h)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(_h){const xh=this[ah];this[ch]=_h,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$t}static finalize(){if(this.hasOwnProperty(d$h))return!1;this[d$h]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const _h of ph)this.createProperty(_h,ch[_h])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const _h of ph)ch.unshift(c$p(_h))}else ah!==void 0&&ch.push(c$p(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$h(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$t){var _h;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((_h=ph.converter)===null||_h===void 0?void 0:_h.toAttribute)!==void 0?ph.converter:n$H).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const _h=this.constructor,xh=_h._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=_h.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$H;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let _h=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$m)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):_h=!1),!this.isUpdatePending&&_h&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((_h,xh)=>this[xh]=_h),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(_h=>{var xh;return(xh=_h.hostUpdate)===null||xh===void 0?void 0:xh.call(_h)}),this.update(ph)):this._$Ek()}catch(_h){throw ch=!1,this._$Ek(),_h}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var _h;return(_h=ph.hostUpdated)===null||_h===void 0?void 0:_h.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$j[d$h]=!0,u$j.elementProperties=new Map,u$j.elementStyles=[],u$j.shadowRootOptions={mode:"open"},o$F==null||o$F({ReactiveElement:u$j}),((s$z=e$C.reactiveElementVersions)!==null&&s$z!==void 0?s$z:e$C.reactiveElementVersions=[]).push("1.6.3");/** + */var s$z;const e$C=window,r$w=e$C.trustedTypes,h$k=r$w?r$w.emptyScript:"",o$F=e$C.reactiveElementPolyfillSupport,n$H={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$k:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$m=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$t={attribute:!0,type:String,converter:n$H,reflect:!1,hasChanged:a$m},d$h="finalized";let u$k=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const yh=this._$Ep(ph,ch);yh!==void 0&&(this._$Ev.set(yh,ph),ah.push(yh))}),ah}static createProperty(ah,ch=l$t){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,yh=this.getPropertyDescriptor(ah,ph,ch);yh!==void 0&&Object.defineProperty(this.prototype,ah,yh)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(yh){const xh=this[ah];this[ch]=yh,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$t}static finalize(){if(this.hasOwnProperty(d$h))return!1;this[d$h]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const yh of ph)this.createProperty(yh,ch[yh])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const yh of ph)ch.unshift(c$p(yh))}else ah!==void 0&&ch.push(c$p(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$h(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$t){var yh;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((yh=ph.converter)===null||yh===void 0?void 0:yh.toAttribute)!==void 0?ph.converter:n$H).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const yh=this.constructor,xh=yh._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=yh.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$H;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let yh=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$m)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):yh=!1),!this.isUpdatePending&&yh&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((yh,xh)=>this[xh]=yh),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(yh=>{var xh;return(xh=yh.hostUpdate)===null||xh===void 0?void 0:xh.call(yh)}),this.update(ph)):this._$Ek()}catch(yh){throw ch=!1,this._$Ek(),yh}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var yh;return(yh=ph.hostUpdated)===null||yh===void 0?void 0:yh.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$k[d$h]=!0,u$k.elementProperties=new Map,u$k.elementStyles=[],u$k.shadowRootOptions={mode:"open"},o$F==null||o$F({ReactiveElement:u$k}),((s$z=e$C.reactiveElementVersions)!==null&&s$z!==void 0?s$z:e$C.reactiveElementVersions=[]).push("1.6.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var t$n;const i$u=window,s$y=i$u.trustedTypes,e$B=s$y?s$y.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$E="$lit$",n$G=`lit$${(Math.random()+"").slice(9)}$`,l$s="?"+n$G,h$j=`<${l$s}>`,r$v=document,u$i=()=>r$v.createComment(""),d$g=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$o=Array.isArray,v$b=lh=>c$o(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$l=`[ + */var t$n;const i$u=window,s$y=i$u.trustedTypes,e$B=s$y?s$y.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$E="$lit$",n$G=`lit$${(Math.random()+"").slice(9)}$`,l$s="?"+n$G,h$j=`<${l$s}>`,r$v=document,u$j=()=>r$v.createComment(""),d$g=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$o=Array.isArray,v$b=lh=>c$o(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$l=`[ \f\r]`,f$g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$9=/-->/g,m$c=/>/g,p$d=RegExp(`>|${a$l}(?:([^\\s"'>=/]+)(${a$l}*=${a$l}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),g$b=/'/g,$$a=/"/g,y$e=/^(?:script|style|textarea|title)$/i,T$a=Symbol.for("lit-noChange"),A$c=Symbol.for("lit-nothing"),E$a=new WeakMap,C$a=r$v.createTreeWalker(r$v,129,null,!1);function P$a(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$B!==void 0?e$B.createHTML(ah):ah}const V$a=(lh,ah)=>{const ch=lh.length-1,ph=[];let _h,xh=ah===2?"":"",Oh=f$g;for(let Uh=0;Uh"?(Oh=_h??f$g,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$d:n1[3]==='"'?$$a:g$b):Oh===$$a||Oh===g$b?Oh=p$d:Oh===_$9||Oh===m$c?Oh=f$g:(Oh=p$d,_h=void 0);const g1=Oh===p$d&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$g?Fh+h$j:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$E+Fh.slice(t1)+n$G+g1):Fh+n$G+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$a(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$b=class uZt{constructor({strings:ah,_$litType$:ch},ph){let _h;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$a(ah,ch);if(this.el=uZt.createElement(zh,ph),C$a.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(_h=C$a.nextNode())!==null&&Fh.length0){_h.textContent=s$y?s$y.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$c}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,_h){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$g(this,ah,ch,0),Oh=!d$g(ah)||ah!==this._$AH&&ah!==T$a,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,_h;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(_h=ch==null?void 0:ch.renderBefore)!==null&&_h!==void 0?_h:null;xh._$litPart$=Oh=new R$a(ah.insertBefore(u$i(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** +\f\r"'\`<>=]|("|')|))|$)`,"g"),g$b=/'/g,$$a=/"/g,y$e=/^(?:script|style|textarea|title)$/i,T$a=Symbol.for("lit-noChange"),A$c=Symbol.for("lit-nothing"),E$a=new WeakMap,C$a=r$v.createTreeWalker(r$v,129,null,!1);function P$a(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$B!==void 0?e$B.createHTML(ah):ah}const V$a=(lh,ah)=>{const ch=lh.length-1,ph=[];let yh,xh=ah===2?"":"",Oh=f$g;for(let Uh=0;Uh"?(Oh=yh??f$g,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$d:n1[3]==='"'?$$a:g$b):Oh===$$a||Oh===g$b?Oh=p$d:Oh===_$9||Oh===m$c?Oh=f$g:(Oh=p$d,yh=void 0);const g1=Oh===p$d&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$g?Fh+h$j:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$E+Fh.slice(t1)+n$G+g1):Fh+n$G+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$a(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$b=class uZt{constructor({strings:ah,_$litType$:ch},ph){let yh;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$a(ah,ch);if(this.el=uZt.createElement(zh,ph),C$a.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(yh=C$a.nextNode())!==null&&Fh.length0){yh.textContent=s$y?s$y.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$c}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,yh){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$g(this,ah,ch,0),Oh=!d$g(ah)||ah!==this._$AH&&ah!==T$a,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,yh;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(yh=ch==null?void 0:ch.renderBefore)!==null&&yh!==void 0?yh:null;xh._$litPart$=Oh=new R$a(ah.insertBefore(u$j(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var l$r,o$D;let s$x=class extends u$j{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$9(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$a}};s$x.finalized=!0,s$x._$litElement$=!0,(l$r=globalThis.litElementHydrateSupport)===null||l$r===void 0||l$r.call(globalThis,{LitElement:s$x});const n$F=globalThis.litElementPolyfillSupport;n$F==null||n$F({LitElement:s$x});((o$D=globalThis.litElementVersions)!==null&&o$D!==void 0?o$D:globalThis.litElementVersions=[]).push("3.3.3");/** + */var l$r,o$D;let s$x=class extends u$k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$9(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$a}};s$x.finalized=!0,s$x._$litElement$=!0,(l$r=globalThis.litElementHydrateSupport)===null||l$r===void 0||l$r.call(globalThis,{LitElement:s$x});const n$F=globalThis.litElementPolyfillSupport;n$F==null||n$F({LitElement:s$x});((o$D=globalThis.litElementVersions)!==null&&o$D!==void 0?o$D:globalThis.litElementVersions=[]).push("3.3.3");/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 @@ -935,7 +922,7 @@ span.CodeMirror-selectedtext { * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 - */class BaseElement extends s$x{click(){if(this.mdcRoot){this.mdcRoot.focus(),this.mdcRoot.click();return}super.click()}createFoundation(){this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}var extendStatics=function(lh,ah){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ch,ph){ch.__proto__=ph}||function(ch,ph){for(var _h in ph)Object.prototype.hasOwnProperty.call(ph,_h)&&(ch[_h]=ph[_h])},extendStatics(lh,ah)};function __extends(lh,ah){if(typeof ah!="function"&&ah!==null)throw new TypeError("Class extends value "+String(ah)+" is not a constructor or null");extendStatics(lh,ah);function ch(){this.constructor=lh}lh.prototype=ah===null?Object.create(ah):(ch.prototype=ah.prototype,new ch)}var __assign=function(){return __assign=Object.assign||function(ah){for(var ch,ph=1,_h=arguments.length;ph<_h;ph++){ch=arguments[ph];for(var xh in ch)Object.prototype.hasOwnProperty.call(ch,xh)&&(ah[xh]=ch[xh])}return ah},__assign.apply(this,arguments)};function __values(lh){var ah=typeof Symbol=="function"&&Symbol.iterator,ch=ah&&lh[ah],ph=0;if(ch)return ch.call(lh);if(lh&&typeof lh.length=="number")return{next:function(){return lh&&ph>=lh.length&&(lh=void 0),{value:lh&&lh[ph++],done:!lh}}};throw new TypeError(ah?"Object is not iterable.":"Symbol.iterator is not defined.")}typeof SuppressedError=="function"&&SuppressedError;/** + */class BaseElement extends s$x{click(){if(this.mdcRoot){this.mdcRoot.focus(),this.mdcRoot.click();return}super.click()}createFoundation(){this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}/** * @license * Copyright 2016 Google Inc. * @@ -977,7 +964,7 @@ span.CodeMirror-selectedtext { * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */var cssClasses={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},strings={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},numbers={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};function getNormalizedEventCoords(lh,ah,ch){if(!lh)return{x:0,y:0};var ph=ah.x,_h=ah.y,xh=ph+ch.left,Oh=_h+ch.top,Uh,Fh;if(lh.type==="touchstart"){var zh=lh;Uh=zh.changedTouches[0].pageX-xh,Fh=zh.changedTouches[0].pageY-Oh}else{var n1=lh;Uh=n1.pageX-xh,Fh=n1.pageY-Oh}return{x:Uh,y:Fh}}/** + */var cssClasses={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},strings={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},numbers={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};function getNormalizedEventCoords(lh,ah,ch){if(!lh)return{x:0,y:0};var ph=ah.x,yh=ah.y,xh=ph+ch.left,Oh=yh+ch.top,Uh,Fh;if(lh.type==="touchstart"){var zh=lh;Uh=zh.changedTouches[0].pageX-xh,Fh=zh.changedTouches[0].pageY-Oh}else{var n1=lh;Uh=n1.pageX-xh,Fh=n1.pageY-Oh}return{x:Uh,y:Fh}}/** * @license * Copyright 2016 Google Inc. * @@ -998,25 +985,25 @@ span.CodeMirror-selectedtext { * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */var ACTIVATION_EVENT_TYPES=["touchstart","pointerdown","mousedown","keydown"],POINTER_DEACTIVATION_EVENT_TYPES=["touchend","pointerup","mouseup","contextmenu"],activatedTargets=[],MDCRippleFoundation=function(lh){__extends(ah,lh);function ah(ch){var ph=lh.call(this,__assign(__assign({},ah.defaultAdapter),ch))||this;return ph.activationAnimationHasEnded=!1,ph.activationTimer=0,ph.fgDeactivationRemovalTimer=0,ph.fgScale="0",ph.frame={width:0,height:0},ph.initialSize=0,ph.layoutFrame=0,ph.maxRadius=0,ph.unboundedCoords={left:0,top:0},ph.activationState=ph.defaultActivationState(),ph.activationTimerCallback=function(){ph.activationAnimationHasEnded=!0,ph.runDeactivationUXLogicIfReady()},ph.activateHandler=function(_h){ph.activateImpl(_h)},ph.deactivateHandler=function(){ph.deactivateImpl()},ph.focusHandler=function(){ph.handleFocus()},ph.blurHandler=function(){ph.handleBlur()},ph.resizeHandler=function(){ph.layout()},ph}return Object.defineProperty(ah,"cssClasses",{get:function(){return cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(ah,"strings",{get:function(){return strings},enumerable:!1,configurable:!0}),Object.defineProperty(ah,"numbers",{get:function(){return numbers},enumerable:!1,configurable:!0}),Object.defineProperty(ah,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),ah.prototype.init=function(){var ch=this,ph=this.supportsPressRipple();if(this.registerRootHandlers(ph),ph){var _h=ah.cssClasses,xh=_h.ROOT,Oh=_h.UNBOUNDED;requestAnimationFrame(function(){ch.adapter.addClass(xh),ch.adapter.isUnbounded()&&(ch.adapter.addClass(Oh),ch.layoutInternal())})}},ah.prototype.destroy=function(){var ch=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(ah.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(ah.cssClasses.FG_DEACTIVATION));var ph=ah.cssClasses,_h=ph.ROOT,xh=ph.UNBOUNDED;requestAnimationFrame(function(){ch.adapter.removeClass(_h),ch.adapter.removeClass(xh),ch.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},ah.prototype.activate=function(ch){this.activateImpl(ch)},ah.prototype.deactivate=function(){this.deactivateImpl()},ah.prototype.layout=function(){var ch=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){ch.layoutInternal(),ch.layoutFrame=0})},ah.prototype.setUnbounded=function(ch){var ph=ah.cssClasses.UNBOUNDED;ch?this.adapter.addClass(ph):this.adapter.removeClass(ph)},ah.prototype.handleFocus=function(){var ch=this;requestAnimationFrame(function(){return ch.adapter.addClass(ah.cssClasses.BG_FOCUSED)})},ah.prototype.handleBlur=function(){var ch=this;requestAnimationFrame(function(){return ch.adapter.removeClass(ah.cssClasses.BG_FOCUSED)})},ah.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},ah.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},ah.prototype.registerRootHandlers=function(ch){var ph,_h;if(ch){try{for(var xh=__values(ACTIVATION_EVENT_TYPES),Oh=xh.next();!Oh.done;Oh=xh.next()){var Uh=Oh.value;this.adapter.registerInteractionHandler(Uh,this.activateHandler)}}catch(Fh){ph={error:Fh}}finally{try{Oh&&!Oh.done&&(_h=xh.return)&&_h.call(xh)}finally{if(ph)throw ph.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},ah.prototype.registerDeactivationHandlers=function(ch){var ph,_h;if(ch.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var xh=__values(POINTER_DEACTIVATION_EVENT_TYPES),Oh=xh.next();!Oh.done;Oh=xh.next()){var Uh=Oh.value;this.adapter.registerDocumentInteractionHandler(Uh,this.deactivateHandler)}}catch(Fh){ph={error:Fh}}finally{try{Oh&&!Oh.done&&(_h=xh.return)&&_h.call(xh)}finally{if(ph)throw ph.error}}},ah.prototype.deregisterRootHandlers=function(){var ch,ph;try{for(var _h=__values(ACTIVATION_EVENT_TYPES),xh=_h.next();!xh.done;xh=_h.next()){var Oh=xh.value;this.adapter.deregisterInteractionHandler(Oh,this.activateHandler)}}catch(Uh){ch={error:Uh}}finally{try{xh&&!xh.done&&(ph=_h.return)&&ph.call(_h)}finally{if(ch)throw ch.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},ah.prototype.deregisterDeactivationHandlers=function(){var ch,ph;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var _h=__values(POINTER_DEACTIVATION_EVENT_TYPES),xh=_h.next();!xh.done;xh=_h.next()){var Oh=xh.value;this.adapter.deregisterDocumentInteractionHandler(Oh,this.deactivateHandler)}}catch(Uh){ch={error:Uh}}finally{try{xh&&!xh.done&&(ph=_h.return)&&ph.call(_h)}finally{if(ch)throw ch.error}}},ah.prototype.removeCssVars=function(){var ch=this,ph=ah.strings,_h=Object.keys(ph);_h.forEach(function(xh){xh.indexOf("VAR_")===0&&ch.adapter.updateCssVariable(ph[xh],null)})},ah.prototype.activateImpl=function(ch){var ph=this;if(!this.adapter.isSurfaceDisabled()){var _h=this.activationState;if(!_h.isActivated){var xh=this.previousActivationEvent,Oh=xh&&ch!==void 0&&xh.type!==ch.type;if(!Oh){_h.isActivated=!0,_h.isProgrammatic=ch===void 0,_h.activationEvent=ch,_h.wasActivatedByPointer=_h.isProgrammatic?!1:ch!==void 0&&(ch.type==="mousedown"||ch.type==="touchstart"||ch.type==="pointerdown");var Uh=ch!==void 0&&activatedTargets.length>0&&activatedTargets.some(function(Fh){return ph.adapter.containsEventTarget(Fh)});if(Uh){this.resetActivationState();return}ch!==void 0&&(activatedTargets.push(ch.target),this.registerDeactivationHandlers(ch)),_h.wasElementMadeActive=this.checkElementMadeActive(ch),_h.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){activatedTargets=[],!_h.wasElementMadeActive&&ch!==void 0&&(ch.key===" "||ch.keyCode===32)&&(_h.wasElementMadeActive=ph.checkElementMadeActive(ch),_h.wasElementMadeActive&&ph.animateActivation()),_h.wasElementMadeActive||(ph.activationState=ph.defaultActivationState())})}}}},ah.prototype.checkElementMadeActive=function(ch){return ch!==void 0&&ch.type==="keydown"?this.adapter.isSurfaceActive():!0},ah.prototype.animateActivation=function(){var ch=this,ph=ah.strings,_h=ph.VAR_FG_TRANSLATE_START,xh=ph.VAR_FG_TRANSLATE_END,Oh=ah.cssClasses,Uh=Oh.FG_DEACTIVATION,Fh=Oh.FG_ACTIVATION,zh=ah.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var n1="",t1="";if(!this.adapter.isUnbounded()){var f1=this.getFgTranslationCoordinates(),g1=f1.startPoint,T1=f1.endPoint;n1=g1.x+"px, "+g1.y+"px",t1=T1.x+"px, "+T1.y+"px"}this.adapter.updateCssVariable(_h,n1),this.adapter.updateCssVariable(xh,t1),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(Uh),this.adapter.computeBoundingRect(),this.adapter.addClass(Fh),this.activationTimer=setTimeout(function(){ch.activationTimerCallback()},zh)},ah.prototype.getFgTranslationCoordinates=function(){var ch=this.activationState,ph=ch.activationEvent,_h=ch.wasActivatedByPointer,xh;_h?xh=getNormalizedEventCoords(ph,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):xh={x:this.frame.width/2,y:this.frame.height/2},xh={x:xh.x-this.initialSize/2,y:xh.y-this.initialSize/2};var Oh={x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2};return{startPoint:xh,endPoint:Oh}},ah.prototype.runDeactivationUXLogicIfReady=function(){var ch=this,ph=ah.cssClasses.FG_DEACTIVATION,_h=this.activationState,xh=_h.hasDeactivationUXRun,Oh=_h.isActivated,Uh=xh||!Oh;Uh&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(ph),this.fgDeactivationRemovalTimer=setTimeout(function(){ch.adapter.removeClass(ph)},numbers.FG_DEACTIVATION_MS))},ah.prototype.rmBoundedActivationClasses=function(){var ch=ah.cssClasses.FG_ACTIVATION;this.adapter.removeClass(ch),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},ah.prototype.resetActivationState=function(){var ch=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return ch.previousActivationEvent=void 0},ah.numbers.TAP_DELAY_MS)},ah.prototype.deactivateImpl=function(){var ch=this,ph=this.activationState;if(ph.isActivated){var _h=__assign({},ph);ph.isProgrammatic?(requestAnimationFrame(function(){ch.animateDeactivation(_h)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){ch.activationState.hasDeactivationUXRun=!0,ch.animateDeactivation(_h),ch.resetActivationState()}))}},ah.prototype.animateDeactivation=function(ch){var ph=ch.wasActivatedByPointer,_h=ch.wasElementMadeActive;(ph||_h)&&this.runDeactivationUXLogicIfReady()},ah.prototype.layoutInternal=function(){var ch=this;this.frame=this.adapter.computeBoundingRect();var ph=Math.max(this.frame.height,this.frame.width),_h=function(){var Oh=Math.sqrt(Math.pow(ch.frame.width,2)+Math.pow(ch.frame.height,2));return Oh+ah.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?ph:_h();var xh=Math.floor(ph*ah.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&xh%2!==0?this.initialSize=xh-1:this.initialSize=xh,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},ah.prototype.updateLayoutCssVars=function(){var ch=ah.strings,ph=ch.VAR_FG_SIZE,_h=ch.VAR_LEFT,xh=ch.VAR_TOP,Oh=ch.VAR_FG_SCALE;this.adapter.updateCssVariable(ph,this.initialSize+"px"),this.adapter.updateCssVariable(Oh,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(_h,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(xh,this.unboundedCoords.top+"px"))},ah}(MDCFoundation);const MDCRippleFoundation$1=MDCRippleFoundation;/** + */var ACTIVATION_EVENT_TYPES=["touchstart","pointerdown","mousedown","keydown"],POINTER_DEACTIVATION_EVENT_TYPES=["touchend","pointerup","mouseup","contextmenu"],activatedTargets=[],MDCRippleFoundation=function(lh){__extends(ah,lh);function ah(ch){var ph=lh.call(this,__assign(__assign({},ah.defaultAdapter),ch))||this;return ph.activationAnimationHasEnded=!1,ph.activationTimer=0,ph.fgDeactivationRemovalTimer=0,ph.fgScale="0",ph.frame={width:0,height:0},ph.initialSize=0,ph.layoutFrame=0,ph.maxRadius=0,ph.unboundedCoords={left:0,top:0},ph.activationState=ph.defaultActivationState(),ph.activationTimerCallback=function(){ph.activationAnimationHasEnded=!0,ph.runDeactivationUXLogicIfReady()},ph.activateHandler=function(yh){ph.activateImpl(yh)},ph.deactivateHandler=function(){ph.deactivateImpl()},ph.focusHandler=function(){ph.handleFocus()},ph.blurHandler=function(){ph.handleBlur()},ph.resizeHandler=function(){ph.layout()},ph}return Object.defineProperty(ah,"cssClasses",{get:function(){return cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(ah,"strings",{get:function(){return strings},enumerable:!1,configurable:!0}),Object.defineProperty(ah,"numbers",{get:function(){return numbers},enumerable:!1,configurable:!0}),Object.defineProperty(ah,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),ah.prototype.init=function(){var ch=this,ph=this.supportsPressRipple();if(this.registerRootHandlers(ph),ph){var yh=ah.cssClasses,xh=yh.ROOT,Oh=yh.UNBOUNDED;requestAnimationFrame(function(){ch.adapter.addClass(xh),ch.adapter.isUnbounded()&&(ch.adapter.addClass(Oh),ch.layoutInternal())})}},ah.prototype.destroy=function(){var ch=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(ah.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(ah.cssClasses.FG_DEACTIVATION));var ph=ah.cssClasses,yh=ph.ROOT,xh=ph.UNBOUNDED;requestAnimationFrame(function(){ch.adapter.removeClass(yh),ch.adapter.removeClass(xh),ch.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},ah.prototype.activate=function(ch){this.activateImpl(ch)},ah.prototype.deactivate=function(){this.deactivateImpl()},ah.prototype.layout=function(){var ch=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){ch.layoutInternal(),ch.layoutFrame=0})},ah.prototype.setUnbounded=function(ch){var ph=ah.cssClasses.UNBOUNDED;ch?this.adapter.addClass(ph):this.adapter.removeClass(ph)},ah.prototype.handleFocus=function(){var ch=this;requestAnimationFrame(function(){return ch.adapter.addClass(ah.cssClasses.BG_FOCUSED)})},ah.prototype.handleBlur=function(){var ch=this;requestAnimationFrame(function(){return ch.adapter.removeClass(ah.cssClasses.BG_FOCUSED)})},ah.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},ah.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},ah.prototype.registerRootHandlers=function(ch){var ph,yh;if(ch){try{for(var xh=__values(ACTIVATION_EVENT_TYPES),Oh=xh.next();!Oh.done;Oh=xh.next()){var Uh=Oh.value;this.adapter.registerInteractionHandler(Uh,this.activateHandler)}}catch(Fh){ph={error:Fh}}finally{try{Oh&&!Oh.done&&(yh=xh.return)&&yh.call(xh)}finally{if(ph)throw ph.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},ah.prototype.registerDeactivationHandlers=function(ch){var ph,yh;if(ch.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var xh=__values(POINTER_DEACTIVATION_EVENT_TYPES),Oh=xh.next();!Oh.done;Oh=xh.next()){var Uh=Oh.value;this.adapter.registerDocumentInteractionHandler(Uh,this.deactivateHandler)}}catch(Fh){ph={error:Fh}}finally{try{Oh&&!Oh.done&&(yh=xh.return)&&yh.call(xh)}finally{if(ph)throw ph.error}}},ah.prototype.deregisterRootHandlers=function(){var ch,ph;try{for(var yh=__values(ACTIVATION_EVENT_TYPES),xh=yh.next();!xh.done;xh=yh.next()){var Oh=xh.value;this.adapter.deregisterInteractionHandler(Oh,this.activateHandler)}}catch(Uh){ch={error:Uh}}finally{try{xh&&!xh.done&&(ph=yh.return)&&ph.call(yh)}finally{if(ch)throw ch.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},ah.prototype.deregisterDeactivationHandlers=function(){var ch,ph;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var yh=__values(POINTER_DEACTIVATION_EVENT_TYPES),xh=yh.next();!xh.done;xh=yh.next()){var Oh=xh.value;this.adapter.deregisterDocumentInteractionHandler(Oh,this.deactivateHandler)}}catch(Uh){ch={error:Uh}}finally{try{xh&&!xh.done&&(ph=yh.return)&&ph.call(yh)}finally{if(ch)throw ch.error}}},ah.prototype.removeCssVars=function(){var ch=this,ph=ah.strings,yh=Object.keys(ph);yh.forEach(function(xh){xh.indexOf("VAR_")===0&&ch.adapter.updateCssVariable(ph[xh],null)})},ah.prototype.activateImpl=function(ch){var ph=this;if(!this.adapter.isSurfaceDisabled()){var yh=this.activationState;if(!yh.isActivated){var xh=this.previousActivationEvent,Oh=xh&&ch!==void 0&&xh.type!==ch.type;if(!Oh){yh.isActivated=!0,yh.isProgrammatic=ch===void 0,yh.activationEvent=ch,yh.wasActivatedByPointer=yh.isProgrammatic?!1:ch!==void 0&&(ch.type==="mousedown"||ch.type==="touchstart"||ch.type==="pointerdown");var Uh=ch!==void 0&&activatedTargets.length>0&&activatedTargets.some(function(Fh){return ph.adapter.containsEventTarget(Fh)});if(Uh){this.resetActivationState();return}ch!==void 0&&(activatedTargets.push(ch.target),this.registerDeactivationHandlers(ch)),yh.wasElementMadeActive=this.checkElementMadeActive(ch),yh.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){activatedTargets=[],!yh.wasElementMadeActive&&ch!==void 0&&(ch.key===" "||ch.keyCode===32)&&(yh.wasElementMadeActive=ph.checkElementMadeActive(ch),yh.wasElementMadeActive&&ph.animateActivation()),yh.wasElementMadeActive||(ph.activationState=ph.defaultActivationState())})}}}},ah.prototype.checkElementMadeActive=function(ch){return ch!==void 0&&ch.type==="keydown"?this.adapter.isSurfaceActive():!0},ah.prototype.animateActivation=function(){var ch=this,ph=ah.strings,yh=ph.VAR_FG_TRANSLATE_START,xh=ph.VAR_FG_TRANSLATE_END,Oh=ah.cssClasses,Uh=Oh.FG_DEACTIVATION,Fh=Oh.FG_ACTIVATION,zh=ah.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var n1="",t1="";if(!this.adapter.isUnbounded()){var f1=this.getFgTranslationCoordinates(),g1=f1.startPoint,T1=f1.endPoint;n1=g1.x+"px, "+g1.y+"px",t1=T1.x+"px, "+T1.y+"px"}this.adapter.updateCssVariable(yh,n1),this.adapter.updateCssVariable(xh,t1),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(Uh),this.adapter.computeBoundingRect(),this.adapter.addClass(Fh),this.activationTimer=setTimeout(function(){ch.activationTimerCallback()},zh)},ah.prototype.getFgTranslationCoordinates=function(){var ch=this.activationState,ph=ch.activationEvent,yh=ch.wasActivatedByPointer,xh;yh?xh=getNormalizedEventCoords(ph,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):xh={x:this.frame.width/2,y:this.frame.height/2},xh={x:xh.x-this.initialSize/2,y:xh.y-this.initialSize/2};var Oh={x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2};return{startPoint:xh,endPoint:Oh}},ah.prototype.runDeactivationUXLogicIfReady=function(){var ch=this,ph=ah.cssClasses.FG_DEACTIVATION,yh=this.activationState,xh=yh.hasDeactivationUXRun,Oh=yh.isActivated,Uh=xh||!Oh;Uh&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(ph),this.fgDeactivationRemovalTimer=setTimeout(function(){ch.adapter.removeClass(ph)},numbers.FG_DEACTIVATION_MS))},ah.prototype.rmBoundedActivationClasses=function(){var ch=ah.cssClasses.FG_ACTIVATION;this.adapter.removeClass(ch),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},ah.prototype.resetActivationState=function(){var ch=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return ch.previousActivationEvent=void 0},ah.numbers.TAP_DELAY_MS)},ah.prototype.deactivateImpl=function(){var ch=this,ph=this.activationState;if(ph.isActivated){var yh=__assign({},ph);ph.isProgrammatic?(requestAnimationFrame(function(){ch.animateDeactivation(yh)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){ch.activationState.hasDeactivationUXRun=!0,ch.animateDeactivation(yh),ch.resetActivationState()}))}},ah.prototype.animateDeactivation=function(ch){var ph=ch.wasActivatedByPointer,yh=ch.wasElementMadeActive;(ph||yh)&&this.runDeactivationUXLogicIfReady()},ah.prototype.layoutInternal=function(){var ch=this;this.frame=this.adapter.computeBoundingRect();var ph=Math.max(this.frame.height,this.frame.width),yh=function(){var Oh=Math.sqrt(Math.pow(ch.frame.width,2)+Math.pow(ch.frame.height,2));return Oh+ah.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?ph:yh();var xh=Math.floor(ph*ah.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&xh%2!==0?this.initialSize=xh-1:this.initialSize=xh,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},ah.prototype.updateLayoutCssVars=function(){var ch=ah.strings,ph=ch.VAR_FG_SIZE,yh=ch.VAR_LEFT,xh=ch.VAR_TOP,Oh=ch.VAR_FG_SCALE;this.adapter.updateCssVariable(ph,this.initialSize+"px"),this.adapter.updateCssVariable(Oh,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(yh,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(xh,this.unboundedCoords.top+"px"))},ah}(MDCFoundation);const MDCRippleFoundation$1=MDCRippleFoundation;/** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const t$m=window,e$A=t$m.ShadowRoot&&(t$m.ShadyCSS===void 0||t$m.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$w=Symbol(),n$E=new WeakMap;let o$C=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$w)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$A&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$E.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$E.set(ch,ah))}return ah}toString(){return this.cssText}};const r$u=lh=>new o$C(typeof lh=="string"?lh:lh+"",void 0,s$w),i$t=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,_h,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(_h)+lh[xh+1],lh[0]);return new o$C(ch,lh,s$w)},S$f=(lh,ah)=>{e$A?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),_h=t$m.litNonce;_h!==void 0&&ph.setAttribute("nonce",_h),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$n=e$A?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$u(ch)})(lh):lh;/** + */const t$m=window,e$A=t$m.ShadowRoot&&(t$m.ShadyCSS===void 0||t$m.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$w=Symbol(),n$E=new WeakMap;let o$C=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$w)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$A&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$E.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$E.set(ch,ah))}return ah}toString(){return this.cssText}};const r$u=lh=>new o$C(typeof lh=="string"?lh:lh+"",void 0,s$w),i$t=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,yh,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(yh)+lh[xh+1],lh[0]);return new o$C(ch,lh,s$w)},S$f=(lh,ah)=>{e$A?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),yh=t$m.litNonce;yh!==void 0&&ph.setAttribute("nonce",yh),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$n=e$A?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$u(ch)})(lh):lh;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var s$v;const e$z=window,r$t=e$z.trustedTypes,h$i=r$t?r$t.emptyScript:"",o$B=e$z.reactiveElementPolyfillSupport,n$D={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$i:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$k=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$q={attribute:!0,type:String,converter:n$D,reflect:!1,hasChanged:a$k},d$f="finalized";let u$h=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const _h=this._$Ep(ph,ch);_h!==void 0&&(this._$Ev.set(_h,ph),ah.push(_h))}),ah}static createProperty(ah,ch=l$q){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,_h=this.getPropertyDescriptor(ah,ph,ch);_h!==void 0&&Object.defineProperty(this.prototype,ah,_h)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(_h){const xh=this[ah];this[ch]=_h,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$q}static finalize(){if(this.hasOwnProperty(d$f))return!1;this[d$f]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const _h of ph)this.createProperty(_h,ch[_h])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const _h of ph)ch.unshift(c$n(_h))}else ah!==void 0&&ch.push(c$n(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$f(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$q){var _h;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((_h=ph.converter)===null||_h===void 0?void 0:_h.toAttribute)!==void 0?ph.converter:n$D).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const _h=this.constructor,xh=_h._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=_h.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$D;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let _h=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$k)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):_h=!1),!this.isUpdatePending&&_h&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((_h,xh)=>this[xh]=_h),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(_h=>{var xh;return(xh=_h.hostUpdate)===null||xh===void 0?void 0:xh.call(_h)}),this.update(ph)):this._$Ek()}catch(_h){throw ch=!1,this._$Ek(),_h}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var _h;return(_h=ph.hostUpdated)===null||_h===void 0?void 0:_h.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$h[d$f]=!0,u$h.elementProperties=new Map,u$h.elementStyles=[],u$h.shadowRootOptions={mode:"open"},o$B==null||o$B({ReactiveElement:u$h}),((s$v=e$z.reactiveElementVersions)!==null&&s$v!==void 0?s$v:e$z.reactiveElementVersions=[]).push("1.6.3");/** + */var s$v;const e$z=window,r$t=e$z.trustedTypes,h$i=r$t?r$t.emptyScript:"",o$B=e$z.reactiveElementPolyfillSupport,n$D={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$i:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$k=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$q={attribute:!0,type:String,converter:n$D,reflect:!1,hasChanged:a$k},d$f="finalized";let u$i=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const yh=this._$Ep(ph,ch);yh!==void 0&&(this._$Ev.set(yh,ph),ah.push(yh))}),ah}static createProperty(ah,ch=l$q){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,yh=this.getPropertyDescriptor(ah,ph,ch);yh!==void 0&&Object.defineProperty(this.prototype,ah,yh)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(yh){const xh=this[ah];this[ch]=yh,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$q}static finalize(){if(this.hasOwnProperty(d$f))return!1;this[d$f]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const yh of ph)this.createProperty(yh,ch[yh])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const yh of ph)ch.unshift(c$n(yh))}else ah!==void 0&&ch.push(c$n(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$f(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$q){var yh;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((yh=ph.converter)===null||yh===void 0?void 0:yh.toAttribute)!==void 0?ph.converter:n$D).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const yh=this.constructor,xh=yh._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=yh.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$D;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let yh=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$k)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):yh=!1),!this.isUpdatePending&&yh&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((yh,xh)=>this[xh]=yh),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(yh=>{var xh;return(xh=yh.hostUpdate)===null||xh===void 0?void 0:xh.call(yh)}),this.update(ph)):this._$Ek()}catch(yh){throw ch=!1,this._$Ek(),yh}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var yh;return(yh=ph.hostUpdated)===null||yh===void 0?void 0:yh.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$i[d$f]=!0,u$i.elementProperties=new Map,u$i.elementStyles=[],u$i.shadowRootOptions={mode:"open"},o$B==null||o$B({ReactiveElement:u$i}),((s$v=e$z.reactiveElementVersions)!==null&&s$v!==void 0?s$v:e$z.reactiveElementVersions=[]).push("1.6.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var t$l;const i$s=window,s$u=i$s.trustedTypes,e$y=s$u?s$u.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$A="$lit$",n$C=`lit$${(Math.random()+"").slice(9)}$`,l$p="?"+n$C,h$h=`<${l$p}>`,r$s=document,u$g=()=>r$s.createComment(""),d$e=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$m=Array.isArray,v$a=lh=>c$m(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$j=`[ + */var t$l;const i$s=window,s$u=i$s.trustedTypes,e$y=s$u?s$u.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$A="$lit$",n$C=`lit$${(Math.random()+"").slice(9)}$`,l$p="?"+n$C,h$h=`<${l$p}>`,r$s=document,u$h=()=>r$s.createComment(""),d$e=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$m=Array.isArray,v$a=lh=>c$m(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$j=`[ \f\r]`,f$f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$8=/-->/g,m$b=/>/g,p$c=RegExp(`>|${a$j}(?:([^\\s"'>=/]+)(${a$j}*=${a$j}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),g$a=/'/g,$$9=/"/g,y$d=/^(?:script|style|textarea|title)$/i,w$a=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$c=w$a(1),T$9=Symbol.for("lit-noChange"),A$b=Symbol.for("lit-nothing"),E$9=new WeakMap,C$9=r$s.createTreeWalker(r$s,129,null,!1);function P$9(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$y!==void 0?e$y.createHTML(ah):ah}const V$9=(lh,ah)=>{const ch=lh.length-1,ph=[];let _h,xh=ah===2?"":"",Oh=f$f;for(let Uh=0;Uh"?(Oh=_h??f$f,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$c:n1[3]==='"'?$$9:g$a):Oh===$$9||Oh===g$a?Oh=p$c:Oh===_$8||Oh===m$b?Oh=f$f:(Oh=p$c,_h=void 0);const g1=Oh===p$c&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$f?Fh+h$h:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$A+Fh.slice(t1)+n$C+g1):Fh+n$C+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$9(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$a=class dZt{constructor({strings:ah,_$litType$:ch},ph){let _h;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$9(ah,ch);if(this.el=dZt.createElement(zh,ph),C$9.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(_h=C$9.nextNode())!==null&&Fh.length0){_h.textContent=s$u?s$u.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$b}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,_h){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$e(this,ah,ch,0),Oh=!d$e(ah)||ah!==this._$AH&&ah!==T$9,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,_h;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(_h=ch==null?void 0:ch.renderBefore)!==null&&_h!==void 0?_h:null;xh._$litPart$=Oh=new R$9(ah.insertBefore(u$g(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** +\f\r"'\`<>=]|("|')|))|$)`,"g"),g$a=/'/g,$$9=/"/g,y$d=/^(?:script|style|textarea|title)$/i,w$a=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$c=w$a(1),T$9=Symbol.for("lit-noChange"),A$b=Symbol.for("lit-nothing"),E$9=new WeakMap,C$9=r$s.createTreeWalker(r$s,129,null,!1);function P$9(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$y!==void 0?e$y.createHTML(ah):ah}const V$9=(lh,ah)=>{const ch=lh.length-1,ph=[];let yh,xh=ah===2?"":"",Oh=f$f;for(let Uh=0;Uh"?(Oh=yh??f$f,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$c:n1[3]==='"'?$$9:g$a):Oh===$$9||Oh===g$a?Oh=p$c:Oh===_$8||Oh===m$b?Oh=f$f:(Oh=p$c,yh=void 0);const g1=Oh===p$c&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$f?Fh+h$h:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$A+Fh.slice(t1)+n$C+g1):Fh+n$C+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$9(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$a=class dZt{constructor({strings:ah,_$litType$:ch},ph){let yh;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$9(ah,ch);if(this.el=dZt.createElement(zh,ph),C$9.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(yh=C$9.nextNode())!==null&&Fh.length0){yh.textContent=s$u?s$u.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$b}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,yh){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$e(this,ah,ch,0),Oh=!d$e(ah)||ah!==this._$AH&&ah!==T$9,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,yh;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(yh=ch==null?void 0:ch.renderBefore)!==null&&yh!==void 0?yh:null;xh._$litPart$=Oh=new R$9(ah.insertBefore(u$h(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var l$o,o$z;let s$t=class extends u$h{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$8(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$9}};s$t.finalized=!0,s$t._$litElement$=!0,(l$o=globalThis.litElementHydrateSupport)===null||l$o===void 0||l$o.call(globalThis,{LitElement:s$t});const n$B=globalThis.litElementPolyfillSupport;n$B==null||n$B({LitElement:s$t});((o$z=globalThis.litElementVersions)!==null&&o$z!==void 0?o$z:globalThis.litElementVersions=[]).push("3.3.3");/** + */var l$o,o$z;let s$t=class extends u$i{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$8(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$9}};s$t.finalized=!0,s$t._$litElement$=!0,(l$o=globalThis.litElementHydrateSupport)===null||l$o===void 0||l$o.call(globalThis,{LitElement:s$t});const n$B=globalThis.litElementPolyfillSupport;n$B==null||n$B({LitElement:s$t});((o$z=globalThis.litElementVersions)!==null&&o$z!==void 0?o$z:globalThis.litElementVersions=[]).push("3.3.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -1024,17 +1011,17 @@ span.CodeMirror-selectedtext { * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o$y=e$x(class extends i$r{constructor(lh){var ah;if(super(lh),lh.type!==t$k.ATTRIBUTE||lh.name!=="class"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(lh){return" "+Object.keys(lh).filter(ah=>lh[ah]).join(" ")+" "}update(lh,[ah]){var ch,ph;if(this.it===void 0){this.it=new Set,lh.strings!==void 0&&(this.nt=new Set(lh.strings.join(" ").split(/\s/).filter(xh=>xh!=="")));for(const xh in ah)ah[xh]&&!(!((ch=this.nt)===null||ch===void 0)&&ch.has(xh))&&this.it.add(xh);return this.render(ah)}const _h=lh.element.classList;this.it.forEach(xh=>{xh in ah||(_h.remove(xh),this.it.delete(xh))});for(const xh in ah){const Oh=!!ah[xh];Oh===this.it.has(xh)||!((ph=this.nt)===null||ph===void 0)&&ph.has(xh)||(Oh?(_h.add(xh),this.it.add(xh)):(_h.remove(xh),this.it.delete(xh)))}return T$9}});/** + */const o$y=e$x(class extends i$r{constructor(lh){var ah;if(super(lh),lh.type!==t$k.ATTRIBUTE||lh.name!=="class"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(lh){return" "+Object.keys(lh).filter(ah=>lh[ah]).join(" ")+" "}update(lh,[ah]){var ch,ph;if(this.it===void 0){this.it=new Set,lh.strings!==void 0&&(this.nt=new Set(lh.strings.join(" ").split(/\s/).filter(xh=>xh!=="")));for(const xh in ah)ah[xh]&&!(!((ch=this.nt)===null||ch===void 0)&&ch.has(xh))&&this.it.add(xh);return this.render(ah)}const yh=lh.element.classList;this.it.forEach(xh=>{xh in ah||(yh.remove(xh),this.it.delete(xh))});for(const xh in ah){const Oh=!!ah[xh];Oh===this.it.has(xh)||!((ph=this.nt)===null||ph===void 0)&&ph.has(xh)||(Oh?(yh.add(xh),this.it.add(xh)):(yh.remove(xh),this.it.delete(xh)))}return T$9}});/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const i$q="important",n$A=" !"+i$q,o$x=e$x(class extends i$r{constructor(lh){var ah;if(super(lh),lh.type!==t$k.ATTRIBUTE||lh.name!=="style"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(lh){return Object.keys(lh).reduce((ah,ch)=>{const ph=lh[ch];return ph==null?ah:ah+`${ch=ch.includes("-")?ch:ch.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${ph};`},"")}update(lh,[ah]){const{style:ch}=lh.element;if(this.ht===void 0){this.ht=new Set;for(const ph in ah)this.ht.add(ph);return this.render(ah)}this.ht.forEach(ph=>{ah[ph]==null&&(this.ht.delete(ph),ph.includes("-")?ch.removeProperty(ph):ch[ph]="")});for(const ph in ah){const _h=ah[ph];if(_h!=null){this.ht.add(ph);const xh=typeof _h=="string"&&_h.endsWith(n$A);ph.includes("-")||xh?ch.setProperty(ph,xh?_h.slice(0,-11):_h,xh?i$q:""):ch[ph]=_h}}return T$9}});/** + */const i$q="important",n$A=" !"+i$q,o$x=e$x(class extends i$r{constructor(lh){var ah;if(super(lh),lh.type!==t$k.ATTRIBUTE||lh.name!=="style"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(lh){return Object.keys(lh).reduce((ah,ch)=>{const ph=lh[ch];return ph==null?ah:ah+`${ch=ch.includes("-")?ch:ch.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${ph};`},"")}update(lh,[ah]){const{style:ch}=lh.element;if(this.ht===void 0){this.ht=new Set;for(const ph in ah)this.ht.add(ph);return this.render(ah)}this.ht.forEach(ph=>{ah[ph]==null&&(this.ht.delete(ph),ph.includes("-")?ch.removeProperty(ph):ch[ph]="")});for(const ph in ah){const yh=ah[ph];if(yh!=null){this.ht.add(ph);const xh=typeof yh=="string"&&yh.endsWith(n$A);ph.includes("-")||xh?ch.setProperty(ph,xh?yh.slice(0,-11):yh,xh?i$q:""):ch[ph]=yh}}return T$9}});/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 */class RippleBase extends BaseElement{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=MDCRippleFoundation$1}get isActive(){return matches(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:ah=>{switch(ah){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0;break}},removeClass:ah=>{switch(ah){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1;break}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(ah,ch)=>{switch(ah){case"--mdc-ripple-fg-scale":this.fgScale=ch;break;case"--mdc-ripple-fg-size":this.fgSize=ch;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=ch;break;case"--mdc-ripple-fg-translate-start":this.translateStart=ch;break;case"--mdc-ripple-left":this.leftPos=ch;break;case"--mdc-ripple-top":this.topPos=ch;break}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(ah){this.waitForFoundation(()=>{this.mdcFoundation.activate(ah)})}endPress(){this.waitForFoundation(()=>{this.mdcFoundation.deactivate()})}startFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleFocus()})}endFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleBlur()})}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(ah){this.mdcFoundation?ah():this.updateComplete.then(ah)}update(ah){ah.has("disabled")&&this.disabled&&this.endHover(),super.update(ah)}render(){const ah=this.activated&&(this.primary||!this.accent),ch=this.selected&&(this.primary||!this.accent),ph={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":ah,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":ch,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return x$c`
`}}__decorate$4([i$v(".mdc-ripple-surface")],RippleBase.prototype,"mdcRoot",void 0);__decorate$4([n$K({type:Boolean})],RippleBase.prototype,"primary",void 0);__decorate$4([n$K({type:Boolean})],RippleBase.prototype,"accent",void 0);__decorate$4([n$K({type:Boolean})],RippleBase.prototype,"unbounded",void 0);__decorate$4([n$K({type:Boolean})],RippleBase.prototype,"disabled",void 0);__decorate$4([n$K({type:Boolean})],RippleBase.prototype,"activated",void 0);__decorate$4([n$K({type:Boolean})],RippleBase.prototype,"selected",void 0);__decorate$4([n$K({type:Boolean})],RippleBase.prototype,"internalUseStateLayerCustomProperties",void 0);__decorate$4([t$p()],RippleBase.prototype,"hovering",void 0);__decorate$4([t$p()],RippleBase.prototype,"bgFocused",void 0);__decorate$4([t$p()],RippleBase.prototype,"fgActivation",void 0);__decorate$4([t$p()],RippleBase.prototype,"fgDeactivation",void 0);__decorate$4([t$p()],RippleBase.prototype,"fgScale",void 0);__decorate$4([t$p()],RippleBase.prototype,"fgSize",void 0);__decorate$4([t$p()],RippleBase.prototype,"translateStart",void 0);__decorate$4([t$p()],RippleBase.prototype,"translateEnd",void 0);__decorate$4([t$p()],RippleBase.prototype,"leftPos",void 0);__decorate$4([t$p()],RippleBase.prototype,"topPos",void 0);/** + style="${o$x({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}">`}}__decorate$3([i$v(".mdc-ripple-surface")],RippleBase.prototype,"mdcRoot",void 0);__decorate$3([n$K({type:Boolean})],RippleBase.prototype,"primary",void 0);__decorate$3([n$K({type:Boolean})],RippleBase.prototype,"accent",void 0);__decorate$3([n$K({type:Boolean})],RippleBase.prototype,"unbounded",void 0);__decorate$3([n$K({type:Boolean})],RippleBase.prototype,"disabled",void 0);__decorate$3([n$K({type:Boolean})],RippleBase.prototype,"activated",void 0);__decorate$3([n$K({type:Boolean})],RippleBase.prototype,"selected",void 0);__decorate$3([n$K({type:Boolean})],RippleBase.prototype,"internalUseStateLayerCustomProperties",void 0);__decorate$3([t$p()],RippleBase.prototype,"hovering",void 0);__decorate$3([t$p()],RippleBase.prototype,"bgFocused",void 0);__decorate$3([t$p()],RippleBase.prototype,"fgActivation",void 0);__decorate$3([t$p()],RippleBase.prototype,"fgDeactivation",void 0);__decorate$3([t$p()],RippleBase.prototype,"fgScale",void 0);__decorate$3([t$p()],RippleBase.prototype,"fgSize",void 0);__decorate$3([t$p()],RippleBase.prototype,"translateStart",void 0);__decorate$3([t$p()],RippleBase.prototype,"translateEnd",void 0);__decorate$3([t$p()],RippleBase.prototype,"leftPos",void 0);__decorate$3([t$p()],RippleBase.prototype,"topPos",void 0);/** * @license * Copyright 2021 Google LLC * SPDX-LIcense-Identifier: Apache-2.0 @@ -1042,11 +1029,11 @@ span.CodeMirror-selectedtext { * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 - */let Ripple=class extends RippleBase{};Ripple.styles=[styles$2];Ripple=__decorate$4([e$F("mwc-ripple")],Ripple);/** + */let Ripple=class extends RippleBase{};Ripple.styles=[styles$2];Ripple=__decorate$3([e$F("mwc-ripple")],Ripple);/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: Apache-2.0 - */function tsDecorator(lh,ah,ch){const ph=lh.constructor;if(!ch){const Uh=`__${ah}`;if(ch=ph.getPropertyDescriptor(ah,Uh),!ch)throw new Error("@ariaProperty must be used after a @property decorator")}const _h=ch;let xh="";if(!_h.set)throw new Error(`@ariaProperty requires a setter for ${ah}`);if(lh.dispatchWizEvent)return ch;const Oh={configurable:!0,enumerable:!0,set(Uh){if(xh===""){const Fh=ph.getPropertyOptions(ah);xh=typeof Fh.attribute=="string"?Fh.attribute:ah}this.hasAttribute(xh)&&this.removeAttribute(xh),_h.set.call(this,Uh)}};return _h.get&&(Oh.get=function(){return _h.get.call(this)}),Oh}function ariaProperty(lh,ah,ch){if(ah!==void 0)return tsDecorator(lh,ah,ch);throw new Error("@ariaProperty only supports TypeScript Decorators")}/** + */function tsDecorator(lh,ah,ch){const ph=lh.constructor;if(!ch){const Uh=`__${ah}`;if(ch=ph.getPropertyDescriptor(ah,Uh),!ch)throw new Error("@ariaProperty must be used after a @property decorator")}const yh=ch;let xh="";if(!yh.set)throw new Error(`@ariaProperty requires a setter for ${ah}`);if(lh.dispatchWizEvent)return ch;const Oh={configurable:!0,enumerable:!0,set(Uh){if(xh===""){const Fh=ph.getPropertyOptions(ah);xh=typeof Fh.attribute=="string"?Fh.attribute:ah}this.hasAttribute(xh)&&this.removeAttribute(xh),yh.set.call(this,Uh)}};return yh.get&&(Oh.get=function(){return yh.get.call(this)}),Oh}function ariaProperty(lh,ah,ch){if(ah!==void 0)return tsDecorator(lh,ah,ch);throw new Error("@ariaProperty only supports TypeScript Decorators")}/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 @@ -1054,21 +1041,21 @@ span.CodeMirror-selectedtext { * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const t$j=window,e$w=t$j.ShadowRoot&&(t$j.ShadyCSS===void 0||t$j.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$s=Symbol(),n$z=new WeakMap;let o$w=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$w&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$z.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$z.set(ch,ah))}return ah}toString(){return this.cssText}};const r$r=lh=>new o$w(typeof lh=="string"?lh:lh+"",void 0,s$s),i$p=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,_h,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(_h)+lh[xh+1],lh[0]);return new o$w(ch,lh,s$s)},S$d=(lh,ah)=>{e$w?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),_h=t$j.litNonce;_h!==void 0&&ph.setAttribute("nonce",_h),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$l=e$w?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$r(ch)})(lh):lh;/** + */const t$j=window,e$w=t$j.ShadowRoot&&(t$j.ShadyCSS===void 0||t$j.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$s=Symbol(),n$z=new WeakMap;let o$w=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$w&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$z.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$z.set(ch,ah))}return ah}toString(){return this.cssText}};const r$r=lh=>new o$w(typeof lh=="string"?lh:lh+"",void 0,s$s),i$p=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,yh,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(yh)+lh[xh+1],lh[0]);return new o$w(ch,lh,s$s)},S$d=(lh,ah)=>{e$w?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),yh=t$j.litNonce;yh!==void 0&&ph.setAttribute("nonce",yh),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$l=e$w?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$r(ch)})(lh):lh;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var s$r;const e$v=window,r$q=e$v.trustedTypes,h$g=r$q?r$q.emptyScript:"",o$v=e$v.reactiveElementPolyfillSupport,n$y={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$g:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$i=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$n={attribute:!0,type:String,converter:n$y,reflect:!1,hasChanged:a$i},d$d="finalized";let u$f=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const _h=this._$Ep(ph,ch);_h!==void 0&&(this._$Ev.set(_h,ph),ah.push(_h))}),ah}static createProperty(ah,ch=l$n){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,_h=this.getPropertyDescriptor(ah,ph,ch);_h!==void 0&&Object.defineProperty(this.prototype,ah,_h)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(_h){const xh=this[ah];this[ch]=_h,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$n}static finalize(){if(this.hasOwnProperty(d$d))return!1;this[d$d]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const _h of ph)this.createProperty(_h,ch[_h])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const _h of ph)ch.unshift(c$l(_h))}else ah!==void 0&&ch.push(c$l(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$d(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$n){var _h;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((_h=ph.converter)===null||_h===void 0?void 0:_h.toAttribute)!==void 0?ph.converter:n$y).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const _h=this.constructor,xh=_h._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=_h.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$y;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let _h=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$i)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):_h=!1),!this.isUpdatePending&&_h&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((_h,xh)=>this[xh]=_h),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(_h=>{var xh;return(xh=_h.hostUpdate)===null||xh===void 0?void 0:xh.call(_h)}),this.update(ph)):this._$Ek()}catch(_h){throw ch=!1,this._$Ek(),_h}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var _h;return(_h=ph.hostUpdated)===null||_h===void 0?void 0:_h.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$f[d$d]=!0,u$f.elementProperties=new Map,u$f.elementStyles=[],u$f.shadowRootOptions={mode:"open"},o$v==null||o$v({ReactiveElement:u$f}),((s$r=e$v.reactiveElementVersions)!==null&&s$r!==void 0?s$r:e$v.reactiveElementVersions=[]).push("1.6.3");/** + */var s$r;const e$v=window,r$q=e$v.trustedTypes,h$g=r$q?r$q.emptyScript:"",o$v=e$v.reactiveElementPolyfillSupport,n$y={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$g:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$i=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$n={attribute:!0,type:String,converter:n$y,reflect:!1,hasChanged:a$i},d$d="finalized";let u$g=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const yh=this._$Ep(ph,ch);yh!==void 0&&(this._$Ev.set(yh,ph),ah.push(yh))}),ah}static createProperty(ah,ch=l$n){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,yh=this.getPropertyDescriptor(ah,ph,ch);yh!==void 0&&Object.defineProperty(this.prototype,ah,yh)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(yh){const xh=this[ah];this[ch]=yh,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$n}static finalize(){if(this.hasOwnProperty(d$d))return!1;this[d$d]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const yh of ph)this.createProperty(yh,ch[yh])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const yh of ph)ch.unshift(c$l(yh))}else ah!==void 0&&ch.push(c$l(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$d(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$n){var yh;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((yh=ph.converter)===null||yh===void 0?void 0:yh.toAttribute)!==void 0?ph.converter:n$y).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const yh=this.constructor,xh=yh._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=yh.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$y;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let yh=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$i)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):yh=!1),!this.isUpdatePending&&yh&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((yh,xh)=>this[xh]=yh),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(yh=>{var xh;return(xh=yh.hostUpdate)===null||xh===void 0?void 0:xh.call(yh)}),this.update(ph)):this._$Ek()}catch(yh){throw ch=!1,this._$Ek(),yh}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var yh;return(yh=ph.hostUpdated)===null||yh===void 0?void 0:yh.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$g[d$d]=!0,u$g.elementProperties=new Map,u$g.elementStyles=[],u$g.shadowRootOptions={mode:"open"},o$v==null||o$v({ReactiveElement:u$g}),((s$r=e$v.reactiveElementVersions)!==null&&s$r!==void 0?s$r:e$v.reactiveElementVersions=[]).push("1.6.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var t$i;const i$o=window,s$q=i$o.trustedTypes,e$u=s$q?s$q.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$u="$lit$",n$x=`lit$${(Math.random()+"").slice(9)}$`,l$m="?"+n$x,h$f=`<${l$m}>`,r$p=document,u$e=()=>r$p.createComment(""),d$c=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$k=Array.isArray,v$9=lh=>c$k(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$h=`[ + */var t$i;const i$o=window,s$q=i$o.trustedTypes,e$u=s$q?s$q.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$u="$lit$",n$x=`lit$${(Math.random()+"").slice(9)}$`,l$m="?"+n$x,h$f=`<${l$m}>`,r$p=document,u$f=()=>r$p.createComment(""),d$c=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$k=Array.isArray,v$9=lh=>c$k(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$h=`[ \f\r]`,f$e=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$7=/-->/g,m$a=/>/g,p$b=RegExp(`>|${a$h}(?:([^\\s"'>=/]+)(${a$h}*=${a$h}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),g$9=/'/g,$$8=/"/g,y$c=/^(?:script|style|textarea|title)$/i,w$9=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$b=w$9(1),T$8=Symbol.for("lit-noChange"),A$a=Symbol.for("lit-nothing"),E$8=new WeakMap,C$8=r$p.createTreeWalker(r$p,129,null,!1);function P$8(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$u!==void 0?e$u.createHTML(ah):ah}const V$8=(lh,ah)=>{const ch=lh.length-1,ph=[];let _h,xh=ah===2?"":"",Oh=f$e;for(let Uh=0;Uh"?(Oh=_h??f$e,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$b:n1[3]==='"'?$$8:g$9):Oh===$$8||Oh===g$9?Oh=p$b:Oh===_$7||Oh===m$a?Oh=f$e:(Oh=p$b,_h=void 0);const g1=Oh===p$b&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$e?Fh+h$f:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$u+Fh.slice(t1)+n$x+g1):Fh+n$x+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$8(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$9=class pZt{constructor({strings:ah,_$litType$:ch},ph){let _h;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$8(ah,ch);if(this.el=pZt.createElement(zh,ph),C$8.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(_h=C$8.nextNode())!==null&&Fh.length0){_h.textContent=s$q?s$q.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$a}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,_h){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$c(this,ah,ch,0),Oh=!d$c(ah)||ah!==this._$AH&&ah!==T$8,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,_h;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(_h=ch==null?void 0:ch.renderBefore)!==null&&_h!==void 0?_h:null;xh._$litPart$=Oh=new R$8(ah.insertBefore(u$e(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** +\f\r"'\`<>=]|("|')|))|$)`,"g"),g$9=/'/g,$$8=/"/g,y$c=/^(?:script|style|textarea|title)$/i,w$9=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$b=w$9(1),T$8=Symbol.for("lit-noChange"),A$a=Symbol.for("lit-nothing"),E$8=new WeakMap,C$8=r$p.createTreeWalker(r$p,129,null,!1);function P$8(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$u!==void 0?e$u.createHTML(ah):ah}const V$8=(lh,ah)=>{const ch=lh.length-1,ph=[];let yh,xh=ah===2?"":"",Oh=f$e;for(let Uh=0;Uh"?(Oh=yh??f$e,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$b:n1[3]==='"'?$$8:g$9):Oh===$$8||Oh===g$9?Oh=p$b:Oh===_$7||Oh===m$a?Oh=f$e:(Oh=p$b,yh=void 0);const g1=Oh===p$b&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$e?Fh+h$f:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$u+Fh.slice(t1)+n$x+g1):Fh+n$x+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$8(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$9=class pZt{constructor({strings:ah,_$litType$:ch},ph){let yh;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$8(ah,ch);if(this.el=pZt.createElement(zh,ph),C$8.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(yh=C$8.nextNode())!==null&&Fh.length0){yh.textContent=s$q?s$q.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$a}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,yh){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$c(this,ah,ch,0),Oh=!d$c(ah)||ah!==this._$AH&&ah!==T$8,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,yh;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(yh=ch==null?void 0:ch.renderBefore)!==null&&yh!==void 0?yh:null;xh._$litPart$=Oh=new R$8(ah.insertBefore(u$f(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var l$l,o$t;let s$p=class extends u$f{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$7(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$8}};s$p.finalized=!0,s$p._$litElement$=!0,(l$l=globalThis.litElementHydrateSupport)===null||l$l===void 0||l$l.call(globalThis,{LitElement:s$p});const n$w=globalThis.litElementPolyfillSupport;n$w==null||n$w({LitElement:s$p});((o$t=globalThis.litElementVersions)!==null&&o$t!==void 0?o$t:globalThis.litElementVersions=[]).push("3.3.3");/** + */var l$l,o$t;let s$p=class extends u$g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$7(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$8}};s$p.finalized=!0,s$p._$litElement$=!0,(l$l=globalThis.litElementHydrateSupport)===null||l$l===void 0||l$l.call(globalThis,{LitElement:s$p});const n$w=globalThis.litElementPolyfillSupport;n$w==null||n$w({LitElement:s$p});((o$t=globalThis.litElementVersions)!==null&&o$t!==void 0?o$t:globalThis.litElementVersions=[]).push("3.3.3");/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -1098,7 +1085,7 @@ span.CodeMirror-selectedtext { - `}handleRippleMouseDown(ah){const ch=()=>{window.removeEventListener("mouseup",ch),this.handleRippleDeactivate()};window.addEventListener("mouseup",ch),this.rippleHandlers.startPress(ah)}handleRippleTouchStart(ah){this.rippleHandlers.startPress(ah)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}__decorate$5([n$M({type:Boolean,reflect:!0})],IconButtonBase.prototype,"disabled",void 0);__decorate$5([n$M({type:String})],IconButtonBase.prototype,"icon",void 0);__decorate$5([ariaProperty,n$M({type:String,attribute:"aria-label"})],IconButtonBase.prototype,"ariaLabel",void 0);__decorate$5([ariaProperty,n$M({type:String,attribute:"aria-haspopup"})],IconButtonBase.prototype,"ariaHasPopup",void 0);__decorate$5([i$x("button")],IconButtonBase.prototype,"buttonElement",void 0);__decorate$5([e$G("mwc-ripple")],IconButtonBase.prototype,"ripple",void 0);__decorate$5([t$q()],IconButtonBase.prototype,"shouldRenderRipple",void 0);__decorate$5([e$H({passive:!0})],IconButtonBase.prototype,"handleRippleMouseDown",null);__decorate$5([e$H({passive:!0})],IconButtonBase.prototype,"handleRippleTouchStart",null);/** + `}handleRippleMouseDown(ah){const ch=()=>{window.removeEventListener("mouseup",ch),this.handleRippleDeactivate()};window.addEventListener("mouseup",ch),this.rippleHandlers.startPress(ah)}handleRippleTouchStart(ah){this.rippleHandlers.startPress(ah)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}__decorate$3([n$M({type:Boolean,reflect:!0})],IconButtonBase.prototype,"disabled",void 0);__decorate$3([n$M({type:String})],IconButtonBase.prototype,"icon",void 0);__decorate$3([ariaProperty,n$M({type:String,attribute:"aria-label"})],IconButtonBase.prototype,"ariaLabel",void 0);__decorate$3([ariaProperty,n$M({type:String,attribute:"aria-haspopup"})],IconButtonBase.prototype,"ariaHasPopup",void 0);__decorate$3([i$x("button")],IconButtonBase.prototype,"buttonElement",void 0);__decorate$3([e$G("mwc-ripple")],IconButtonBase.prototype,"ripple",void 0);__decorate$3([t$q()],IconButtonBase.prototype,"shouldRenderRipple",void 0);__decorate$3([e$H({passive:!0})],IconButtonBase.prototype,"handleRippleMouseDown",null);__decorate$3([e$H({passive:!0})],IconButtonBase.prototype,"handleRippleTouchStart",null);/** * @license * Copyright 2021 Google LLC * SPDX-LIcense-Identifier: Apache-2.0 @@ -1106,11 +1093,11 @@ span.CodeMirror-selectedtext { * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 - */let IconButton=class extends IconButtonBase{};IconButton.styles=[styles$1];IconButton=__decorate$5([e$J("mwc-icon-button")],IconButton);function __decorate$3(lh,ah,ch,ph){var _h=arguments.length,xh=_h<3?ah:ph===null?ph=Object.getOwnPropertyDescriptor(ah,ch):ph,Oh;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")xh=Reflect.decorate(lh,ah,ch,ph);else for(var Uh=lh.length-1;Uh>=0;Uh--)(Oh=lh[Uh])&&(xh=(_h<3?Oh(xh):_h>3?Oh(ah,ch,xh):Oh(ah,ch))||xh);return _h>3&&xh&&Object.defineProperty(ah,ch,xh),xh}typeof SuppressedError=="function"&&SuppressedError;/** + */let IconButton=class extends IconButtonBase{};IconButton.styles=[styles$1];IconButton=__decorate$3([e$J("mwc-icon-button")],IconButton);/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e$t=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:_h,elements:xh}=ph;return{kind:_h,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** + */const e$t=lh=>ah=>typeof ah=="function"?((ch,ph)=>(customElements.define(ch,ph),ph))(lh,ah):((ch,ph)=>{const{kind:yh,elements:xh}=ph;return{kind:yh,elements:xh,finisher(Oh){customElements.define(ch,Oh)}}})(lh,ah);/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -1122,11 +1109,11 @@ span.CodeMirror-selectedtext { * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o$s=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var _h;if(ph===void 0){const xh=(_h=ch.originalKey)!==null&&_h!==void 0?_h:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** + */const o$s=({finisher:lh,descriptor:ah})=>(ch,ph)=>{var yh;if(ph===void 0){const xh=(yh=ch.originalKey)!==null&&yh!==void 0?yh:ch.key,Oh=ah!=null?{kind:"method",placement:"prototype",key:xh,descriptor:ah(ch.key)}:{...ch,key:xh};return lh!=null&&(Oh.finisher=function(Uh){lh(Uh,xh)}),Oh}{const xh=ch.constructor;ah!==void 0&&Object.defineProperty(ch,ph,ah(ph)),lh==null||lh(xh,ph)}};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function i$m(lh,ah){return o$s({descriptor:ch=>{const ph={get(){var _h,xh;return(xh=(_h=this.renderRoot)===null||_h===void 0?void 0:_h.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const _h=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[_h]===void 0&&(this[_h]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[_h]}}return ph}})}/** + */function i$m(lh,ah){return o$s({descriptor:ch=>{const ph={get(){var yh,xh;return(xh=(yh=this.renderRoot)===null||yh===void 0?void 0:yh.querySelector(lh))!==null&&xh!==void 0?xh:null},enumerable:!0,configurable:!0};if(ah){const yh=typeof ch=="symbol"?Symbol():"__"+ch;ph.get=function(){var xh,Oh;return this[yh]===void 0&&(this[yh]=(Oh=(xh=this.renderRoot)===null||xh===void 0?void 0:xh.querySelector(lh))!==null&&Oh!==void 0?Oh:null),this[yh]}}return ph}})}/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -1134,21 +1121,21 @@ span.CodeMirror-selectedtext { * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const t$g=window,e$r=t$g.ShadowRoot&&(t$g.ShadyCSS===void 0||t$g.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$o=Symbol(),n$t=new WeakMap;let o$r=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$r&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$t.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$t.set(ch,ah))}return ah}toString(){return this.cssText}};const r$o=lh=>new o$r(typeof lh=="string"?lh:lh+"",void 0,s$o),i$l=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,_h,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(_h)+lh[xh+1],lh[0]);return new o$r(ch,lh,s$o)},S$b=(lh,ah)=>{e$r?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),_h=t$g.litNonce;_h!==void 0&&ph.setAttribute("nonce",_h),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$j=e$r?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$o(ch)})(lh):lh;/** + */const t$g=window,e$r=t$g.ShadowRoot&&(t$g.ShadyCSS===void 0||t$g.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$o=Symbol(),n$t=new WeakMap;let o$r=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$r&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=n$t.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&n$t.set(ch,ah))}return ah}toString(){return this.cssText}};const r$o=lh=>new o$r(typeof lh=="string"?lh:lh+"",void 0,s$o),i$l=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,yh,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(yh)+lh[xh+1],lh[0]);return new o$r(ch,lh,s$o)},S$b=(lh,ah)=>{e$r?lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet):ah.forEach(ch=>{const ph=document.createElement("style"),yh=t$g.litNonce;yh!==void 0&&ph.setAttribute("nonce",yh),ph.textContent=ch.cssText,lh.appendChild(ph)})},c$j=e$r?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$o(ch)})(lh):lh;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var s$n;const e$q=window,r$n=e$q.trustedTypes,h$e=r$n?r$n.emptyScript:"",o$q=e$q.reactiveElementPolyfillSupport,n$s={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$e:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$g=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$j={attribute:!0,type:String,converter:n$s,reflect:!1,hasChanged:a$g},d$b="finalized";let u$d=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const _h=this._$Ep(ph,ch);_h!==void 0&&(this._$Ev.set(_h,ph),ah.push(_h))}),ah}static createProperty(ah,ch=l$j){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,_h=this.getPropertyDescriptor(ah,ph,ch);_h!==void 0&&Object.defineProperty(this.prototype,ah,_h)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(_h){const xh=this[ah];this[ch]=_h,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$j}static finalize(){if(this.hasOwnProperty(d$b))return!1;this[d$b]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const _h of ph)this.createProperty(_h,ch[_h])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const _h of ph)ch.unshift(c$j(_h))}else ah!==void 0&&ch.push(c$j(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$b(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$j){var _h;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((_h=ph.converter)===null||_h===void 0?void 0:_h.toAttribute)!==void 0?ph.converter:n$s).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const _h=this.constructor,xh=_h._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=_h.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$s;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let _h=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$g)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):_h=!1),!this.isUpdatePending&&_h&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((_h,xh)=>this[xh]=_h),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(_h=>{var xh;return(xh=_h.hostUpdate)===null||xh===void 0?void 0:xh.call(_h)}),this.update(ph)):this._$Ek()}catch(_h){throw ch=!1,this._$Ek(),_h}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var _h;return(_h=ph.hostUpdated)===null||_h===void 0?void 0:_h.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$d[d$b]=!0,u$d.elementProperties=new Map,u$d.elementStyles=[],u$d.shadowRootOptions={mode:"open"},o$q==null||o$q({ReactiveElement:u$d}),((s$n=e$q.reactiveElementVersions)!==null&&s$n!==void 0?s$n:e$q.reactiveElementVersions=[]).push("1.6.3");/** + */var s$n;const e$q=window,r$n=e$q.trustedTypes,h$e=r$n?r$n.emptyScript:"",o$q=e$q.reactiveElementPolyfillSupport,n$s={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?h$e:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},a$g=(lh,ah)=>ah!==lh&&(ah==ah||lh==lh),l$j={attribute:!0,type:String,converter:n$s,reflect:!1,hasChanged:a$g},d$b="finalized";let u$e=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(ah){var ch;this.finalize(),((ch=this.h)!==null&&ch!==void 0?ch:this.h=[]).push(ah)}static get observedAttributes(){this.finalize();const ah=[];return this.elementProperties.forEach((ch,ph)=>{const yh=this._$Ep(ph,ch);yh!==void 0&&(this._$Ev.set(yh,ph),ah.push(yh))}),ah}static createProperty(ah,ch=l$j){if(ch.state&&(ch.attribute=!1),this.finalize(),this.elementProperties.set(ah,ch),!ch.noAccessor&&!this.prototype.hasOwnProperty(ah)){const ph=typeof ah=="symbol"?Symbol():"__"+ah,yh=this.getPropertyDescriptor(ah,ph,ch);yh!==void 0&&Object.defineProperty(this.prototype,ah,yh)}}static getPropertyDescriptor(ah,ch,ph){return{get(){return this[ch]},set(yh){const xh=this[ah];this[ch]=yh,this.requestUpdate(ah,xh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)||l$j}static finalize(){if(this.hasOwnProperty(d$b))return!1;this[d$b]=!0;const ah=Object.getPrototypeOf(this);if(ah.finalize(),ah.h!==void 0&&(this.h=[...ah.h]),this.elementProperties=new Map(ah.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const ch=this.properties,ph=[...Object.getOwnPropertyNames(ch),...Object.getOwnPropertySymbols(ch)];for(const yh of ph)this.createProperty(yh,ch[yh])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const yh of ph)ch.unshift(c$j(yh))}else ah!==void 0&&ch.push(c$j(ah));return ch}static _$Ep(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}_$Eu(){var ah;this._$E_=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(ah=this.constructor.h)===null||ah===void 0||ah.forEach(ch=>ch(this))}addController(ah){var ch,ph;((ch=this._$ES)!==null&&ch!==void 0?ch:this._$ES=[]).push(ah),this.renderRoot!==void 0&&this.isConnected&&((ph=ah.hostConnected)===null||ph===void 0||ph.call(ah))}removeController(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.splice(this._$ES.indexOf(ah)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((ah,ch)=>{this.hasOwnProperty(ch)&&(this._$Ei.set(ch,this[ch]),delete this[ch])})}createRenderRoot(){var ah;const ch=(ah=this.shadowRoot)!==null&&ah!==void 0?ah:this.attachShadow(this.constructor.shadowRootOptions);return S$b(ch,this.constructor.elementStyles),ch}connectedCallback(){var ah;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)===null||ph===void 0?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$ES)===null||ah===void 0||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)===null||ph===void 0?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EO(ah,ch,ph=l$j){var yh;const xh=this.constructor._$Ep(ah,ph);if(xh!==void 0&&ph.reflect===!0){const Oh=(((yh=ph.converter)===null||yh===void 0?void 0:yh.toAttribute)!==void 0?ph.converter:n$s).toAttribute(ch,ph.type);this._$El=ah,Oh==null?this.removeAttribute(xh):this.setAttribute(xh,Oh),this._$El=null}}_$AK(ah,ch){var ph;const yh=this.constructor,xh=yh._$Ev.get(ah);if(xh!==void 0&&this._$El!==xh){const Oh=yh.getPropertyOptions(xh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((ph=Oh.converter)===null||ph===void 0?void 0:ph.fromAttribute)!==void 0?Oh.converter:n$s;this._$El=xh,this[xh]=Uh.fromAttribute(ch,Oh.type),this._$El=null}}requestUpdate(ah,ch,ph){let yh=!0;ah!==void 0&&(((ph=ph||this.constructor.getPropertyOptions(ah)).hasChanged||a$g)(this[ah],ch)?(this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$El!==ah&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(ah,ph))):yh=!1),!this.isUpdatePending&&yh&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ah;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((yh,xh)=>this[xh]=yh),this._$Ei=void 0);let ch=!1;const ph=this._$AL;try{ch=this.shouldUpdate(ph),ch?(this.willUpdate(ph),(ah=this._$ES)===null||ah===void 0||ah.forEach(yh=>{var xh;return(xh=yh.hostUpdate)===null||xh===void 0?void 0:xh.call(yh)}),this.update(ph)):this._$Ek()}catch(yh){throw ch=!1,this._$Ek(),yh}ch&&this._$AE(ph)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$ES)===null||ch===void 0||ch.forEach(ph=>{var yh;return(yh=ph.hostUpdated)===null||yh===void 0?void 0:yh.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(ah){return!0}update(ah){this._$EC!==void 0&&(this._$EC.forEach((ch,ph)=>this._$EO(ph,this[ph],ch)),this._$EC=void 0),this._$Ek()}updated(ah){}firstUpdated(ah){}};u$e[d$b]=!0,u$e.elementProperties=new Map,u$e.elementStyles=[],u$e.shadowRootOptions={mode:"open"},o$q==null||o$q({ReactiveElement:u$e}),((s$n=e$q.reactiveElementVersions)!==null&&s$n!==void 0?s$n:e$q.reactiveElementVersions=[]).push("1.6.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var t$f;const i$k=window,s$m=i$k.trustedTypes,e$p=s$m?s$m.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$p="$lit$",n$r=`lit$${(Math.random()+"").slice(9)}$`,l$i="?"+n$r,h$d=`<${l$i}>`,r$m=document,u$c=()=>r$m.createComment(""),d$a=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$i=Array.isArray,v$8=lh=>c$i(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$f=`[ + */var t$f;const i$k=window,s$m=i$k.trustedTypes,e$p=s$m?s$m.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,o$p="$lit$",n$r=`lit$${(Math.random()+"").slice(9)}$`,l$i="?"+n$r,h$d=`<${l$i}>`,r$m=document,u$d=()=>r$m.createComment(""),d$a=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",c$i=Array.isArray,v$8=lh=>c$i(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",a$f=`[ \f\r]`,f$d=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$6=/-->/g,m$9=/>/g,p$a=RegExp(`>|${a$f}(?:([^\\s"'>=/]+)(${a$f}*=${a$f}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),g$8=/'/g,$$7=/"/g,y$b=/^(?:script|style|textarea|title)$/i,w$8=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$a=w$8(1),T$7=Symbol.for("lit-noChange"),A$9=Symbol.for("lit-nothing"),E$7=new WeakMap,C$7=r$m.createTreeWalker(r$m,129,null,!1);function P$7(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$p!==void 0?e$p.createHTML(ah):ah}const V$7=(lh,ah)=>{const ch=lh.length-1,ph=[];let _h,xh=ah===2?"":"",Oh=f$d;for(let Uh=0;Uh"?(Oh=_h??f$d,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$a:n1[3]==='"'?$$7:g$8):Oh===$$7||Oh===g$8?Oh=p$a:Oh===_$6||Oh===m$9?Oh=f$d:(Oh=p$a,_h=void 0);const g1=Oh===p$a&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$d?Fh+h$d:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$p+Fh.slice(t1)+n$r+g1):Fh+n$r+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$7(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$8=class mZt{constructor({strings:ah,_$litType$:ch},ph){let _h;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$7(ah,ch);if(this.el=mZt.createElement(zh,ph),C$7.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(_h=C$7.nextNode())!==null&&Fh.length0){_h.textContent=s$m?s$m.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$9}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,_h){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$a(this,ah,ch,0),Oh=!d$a(ah)||ah!==this._$AH&&ah!==T$7,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,_h;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(_h=ch==null?void 0:ch.renderBefore)!==null&&_h!==void 0?_h:null;xh._$litPart$=Oh=new R$7(ah.insertBefore(u$c(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** +\f\r"'\`<>=]|("|')|))|$)`,"g"),g$8=/'/g,$$7=/"/g,y$b=/^(?:script|style|textarea|title)$/i,w$8=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$a=w$8(1),T$7=Symbol.for("lit-noChange"),A$9=Symbol.for("lit-nothing"),E$7=new WeakMap,C$7=r$m.createTreeWalker(r$m,129,null,!1);function P$7(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return e$p!==void 0?e$p.createHTML(ah):ah}const V$7=(lh,ah)=>{const ch=lh.length-1,ph=[];let yh,xh=ah===2?"":"",Oh=f$d;for(let Uh=0;Uh"?(Oh=yh??f$d,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?p$a:n1[3]==='"'?$$7:g$8):Oh===$$7||Oh===g$8?Oh=p$a:Oh===_$6||Oh===m$9?Oh=f$d:(Oh=p$a,yh=void 0);const g1=Oh===p$a&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$d?Fh+h$d:t1>=0?(ph.push(zh),Fh.slice(0,t1)+o$p+Fh.slice(t1)+n$r+g1):Fh+n$r+(t1===-2?(ph.push(void 0),Uh):g1)}return[P$7(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let N$8=class mZt{constructor({strings:ah,_$litType$:ch},ph){let yh;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=V$7(ah,ch);if(this.el=mZt.createElement(zh,ph),C$7.currentNode=this.el.content,ch===2){const t1=this.el.content,f1=t1.firstChild;f1.remove(),t1.append(...f1.childNodes)}for(;(yh=C$7.nextNode())!==null&&Fh.length0){yh.textContent=s$m?s$m.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=A$9}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(ah,ch=this,ph,yh){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=S$a(this,ah,ch,0),Oh=!d$a(ah)||ah!==this._$AH&&ah!==T$7,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{var ph,yh;const xh=(ph=ch==null?void 0:ch.renderBefore)!==null&&ph!==void 0?ph:ah;let Oh=xh._$litPart$;if(Oh===void 0){const Uh=(yh=ch==null?void 0:ch.renderBefore)!==null&&yh!==void 0?yh:null;xh._$litPart$=Oh=new R$7(ah.insertBefore(u$d(),Uh),Uh,void 0,ch??{})}return Oh._$AI(lh),Oh};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var l$h,o$o;let s$l=class extends u$d{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$6(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$7}};s$l.finalized=!0,s$l._$litElement$=!0,(l$h=globalThis.litElementHydrateSupport)===null||l$h===void 0||l$h.call(globalThis,{LitElement:s$l});const n$q=globalThis.litElementPolyfillSupport;n$q==null||n$q({LitElement:s$l});((o$o=globalThis.litElementVersions)!==null&&o$o!==void 0?o$o:globalThis.litElementVersions=[]).push("3.3.3");/** + */var l$h,o$o;let s$l=class extends u$e{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ah,ch;const ph=super.createRenderRoot();return(ah=(ch=this.renderOptions).renderBefore)!==null&&ah!==void 0||(ch.renderBefore=ph.firstChild),ph}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=D$6(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)===null||ah===void 0||ah.setConnected(!1)}render(){return T$7}};s$l.finalized=!0,s$l._$litElement$=!0,(l$h=globalThis.litElementHydrateSupport)===null||l$h===void 0||l$h.call(globalThis,{LitElement:s$l});const n$q=globalThis.litElementPolyfillSupport;n$q==null||n$q({LitElement:s$l});((o$o=globalThis.litElementVersions)!==null&&o$o!==void 0?o$o:globalThis.litElementVersions=[]).push("3.3.3");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -1156,7 +1143,7 @@ span.CodeMirror-selectedtext { * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o$n=e$o(class extends i$j{constructor(lh){var ah;if(super(lh),lh.type!==t$e.ATTRIBUTE||lh.name!=="class"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(lh){return" "+Object.keys(lh).filter(ah=>lh[ah]).join(" ")+" "}update(lh,[ah]){var ch,ph;if(this.it===void 0){this.it=new Set,lh.strings!==void 0&&(this.nt=new Set(lh.strings.join(" ").split(/\s/).filter(xh=>xh!=="")));for(const xh in ah)ah[xh]&&!(!((ch=this.nt)===null||ch===void 0)&&ch.has(xh))&&this.it.add(xh);return this.render(ah)}const _h=lh.element.classList;this.it.forEach(xh=>{xh in ah||(_h.remove(xh),this.it.delete(xh))});for(const xh in ah){const Oh=!!ah[xh];Oh===this.it.has(xh)||!((ph=this.nt)===null||ph===void 0)&&ph.has(xh)||(Oh?(_h.add(xh),this.it.add(xh)):(_h.remove(xh),this.it.delete(xh)))}return T$7}});/** + */const o$n=e$o(class extends i$j{constructor(lh){var ah;if(super(lh),lh.type!==t$e.ATTRIBUTE||lh.name!=="class"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(lh){return" "+Object.keys(lh).filter(ah=>lh[ah]).join(" ")+" "}update(lh,[ah]){var ch,ph;if(this.it===void 0){this.it=new Set,lh.strings!==void 0&&(this.nt=new Set(lh.strings.join(" ").split(/\s/).filter(xh=>xh!=="")));for(const xh in ah)ah[xh]&&!(!((ch=this.nt)===null||ch===void 0)&&ch.has(xh))&&this.it.add(xh);return this.render(ah)}const yh=lh.element.classList;this.it.forEach(xh=>{xh in ah||(yh.remove(xh),this.it.delete(xh))});for(const xh in ah){const Oh=!!ah[xh];Oh===this.it.has(xh)||!((ph=this.nt)===null||ph===void 0)&&ph.has(xh)||(Oh?(yh.add(xh),this.it.add(xh)):(yh.remove(xh),this.it.delete(xh)))}return T$7}});/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause @@ -1164,11 +1151,11 @@ span.CodeMirror-selectedtext { * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const i$i="important",n$p=" !"+i$i,o$m=e$o(class extends i$j{constructor(lh){var ah;if(super(lh),lh.type!==t$e.ATTRIBUTE||lh.name!=="style"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(lh){return Object.keys(lh).reduce((ah,ch)=>{const ph=lh[ch];return ph==null?ah:ah+`${ch=ch.includes("-")?ch:ch.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${ph};`},"")}update(lh,[ah]){const{style:ch}=lh.element;if(this.ht===void 0){this.ht=new Set;for(const ph in ah)this.ht.add(ph);return this.render(ah)}this.ht.forEach(ph=>{ah[ph]==null&&(this.ht.delete(ph),ph.includes("-")?ch.removeProperty(ph):ch[ph]="")});for(const ph in ah){const _h=ah[ph];if(_h!=null){this.ht.add(ph);const xh=typeof _h=="string"&&_h.endsWith(n$p);ph.includes("-")||xh?ch.setProperty(ph,xh?_h.slice(0,-11):_h,xh?i$i:""):ch[ph]=_h}}return T$7}});/** + */const i$i="important",n$p=" !"+i$i,o$m=e$o(class extends i$j{constructor(lh){var ah;if(super(lh),lh.type!==t$e.ATTRIBUTE||lh.name!=="style"||((ah=lh.strings)===null||ah===void 0?void 0:ah.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(lh){return Object.keys(lh).reduce((ah,ch)=>{const ph=lh[ch];return ph==null?ah:ah+`${ch=ch.includes("-")?ch:ch.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${ph};`},"")}update(lh,[ah]){const{style:ch}=lh.element;if(this.ht===void 0){this.ht=new Set;for(const ph in ah)this.ht.add(ph);return this.render(ah)}this.ht.forEach(ph=>{ah[ph]==null&&(this.ht.delete(ph),ph.includes("-")?ch.removeProperty(ph):ch[ph]="")});for(const ph in ah){const yh=ah[ph];if(yh!=null){this.ht.add(ph);const xh=typeof yh=="string"&&yh.endsWith(n$p);ph.includes("-")||xh?ch.setProperty(ph,xh?yh.slice(0,-11):yh,xh?i$i:""):ch[ph]=yh}}return T$7}});/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 - */class LinearProgressBase extends s$l{constructor(){super(...arguments),this.indeterminate=!1,this.progress=0,this.buffer=1,this.reverse=!1,this.closed=!1,this.stylePrimaryHalf="",this.stylePrimaryFull="",this.styleSecondaryQuarter="",this.styleSecondaryHalf="",this.styleSecondaryFull="",this.animationReady=!0,this.closedAnimationOff=!1,this.resizeObserver=null}connectedCallback(){super.connectedCallback(),this.rootEl&&this.attachResizeObserver()}render(){const ah={"mdc-linear-progress--closed":this.closed,"mdc-linear-progress--closed-animation-off":this.closedAnimationOff,"mdc-linear-progress--indeterminate":this.indeterminate,"mdc-linear-progress--animation-ready":this.animationReady},ch={"--mdc-linear-progress-primary-half":this.stylePrimaryHalf,"--mdc-linear-progress-primary-half-neg":this.stylePrimaryHalf!==""?`-${this.stylePrimaryHalf}`:"","--mdc-linear-progress-primary-full":this.stylePrimaryFull,"--mdc-linear-progress-primary-full-neg":this.stylePrimaryFull!==""?`-${this.stylePrimaryFull}`:"","--mdc-linear-progress-secondary-quarter":this.styleSecondaryQuarter,"--mdc-linear-progress-secondary-quarter-neg":this.styleSecondaryQuarter!==""?`-${this.styleSecondaryQuarter}`:"","--mdc-linear-progress-secondary-half":this.styleSecondaryHalf,"--mdc-linear-progress-secondary-half-neg":this.styleSecondaryHalf!==""?`-${this.styleSecondaryHalf}`:"","--mdc-linear-progress-secondary-full":this.styleSecondaryFull,"--mdc-linear-progress-secondary-full-neg":this.styleSecondaryFull!==""?`-${this.styleSecondaryFull}`:""},ph={"flex-basis":this.indeterminate?"100%":`${this.buffer*100}%`},_h={transform:this.indeterminate?"scaleX(1)":`scaleX(${this.progress})`};return x$a` + */class LinearProgressBase extends s$l{constructor(){super(...arguments),this.indeterminate=!1,this.progress=0,this.buffer=1,this.reverse=!1,this.closed=!1,this.stylePrimaryHalf="",this.stylePrimaryFull="",this.styleSecondaryQuarter="",this.styleSecondaryHalf="",this.styleSecondaryFull="",this.animationReady=!0,this.closedAnimationOff=!1,this.resizeObserver=null}connectedCallback(){super.connectedCallback(),this.rootEl&&this.attachResizeObserver()}render(){const ah={"mdc-linear-progress--closed":this.closed,"mdc-linear-progress--closed-animation-off":this.closedAnimationOff,"mdc-linear-progress--indeterminate":this.indeterminate,"mdc-linear-progress--animation-ready":this.animationReady},ch={"--mdc-linear-progress-primary-half":this.stylePrimaryHalf,"--mdc-linear-progress-primary-half-neg":this.stylePrimaryHalf!==""?`-${this.stylePrimaryHalf}`:"","--mdc-linear-progress-primary-full":this.stylePrimaryFull,"--mdc-linear-progress-primary-full-neg":this.stylePrimaryFull!==""?`-${this.stylePrimaryFull}`:"","--mdc-linear-progress-secondary-quarter":this.styleSecondaryQuarter,"--mdc-linear-progress-secondary-quarter-neg":this.styleSecondaryQuarter!==""?`-${this.styleSecondaryQuarter}`:"","--mdc-linear-progress-secondary-half":this.styleSecondaryHalf,"--mdc-linear-progress-secondary-half-neg":this.styleSecondaryHalf!==""?`-${this.styleSecondaryHalf}`:"","--mdc-linear-progress-secondary-full":this.styleSecondaryFull,"--mdc-linear-progress-secondary-full-neg":this.styleSecondaryFull!==""?`-${this.styleSecondaryFull}`:""},ph={"flex-basis":this.indeterminate?"100%":`${this.buffer*100}%`},yh={transform:this.indeterminate?"scaleX(1)":`scaleX(${this.progress})`};return x$a`
+ style=${o$m(yh)}>
-
`}update(ah){ah.has("closed")&&(!this.closed||ah.get("closed")===void 0)&&this.syncClosedState(),super.update(ah)}async firstUpdated(ah){super.firstUpdated(ah),this.attachResizeObserver()}syncClosedState(){this.closedAnimationOff=this.closed}updated(ah){!ah.has("indeterminate")&&ah.has("reverse")&&this.indeterminate&&this.restartAnimation(),ah.has("indeterminate")&&ah.get("indeterminate")!==void 0&&this.indeterminate&&window.ResizeObserver&&this.calculateAndSetAnimationDimensions(this.rootEl.offsetWidth),super.updated(ah)}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),super.disconnectedCallback()}attachResizeObserver(){if(window.ResizeObserver){this.resizeObserver=new window.ResizeObserver(ah=>{if(this.indeterminate){for(const ch of ah)if(ch.contentRect){const ph=ch.contentRect.width;this.calculateAndSetAnimationDimensions(ph)}}}),this.resizeObserver.observe(this.rootEl);return}this.resizeObserver=null}calculateAndSetAnimationDimensions(ah){const ch=ah*.8367142,ph=ah*2.00611057,_h=ah*.37651913,xh=ah*.84386165,Oh=ah*1.60277782;this.stylePrimaryHalf=`${ch}px`,this.stylePrimaryFull=`${ph}px`,this.styleSecondaryQuarter=`${_h}px`,this.styleSecondaryHalf=`${xh}px`,this.styleSecondaryFull=`${Oh}px`,this.restartAnimation()}async restartAnimation(){this.animationReady=!1,await this.updateComplete,await new Promise(requestAnimationFrame),this.animationReady=!0,await this.updateComplete}open(){this.closed=!1}close(){this.closed=!0}}__decorate$3([i$m(".mdc-linear-progress")],LinearProgressBase.prototype,"rootEl",void 0);__decorate$3([n$v({type:Boolean,reflect:!0})],LinearProgressBase.prototype,"indeterminate",void 0);__decorate$3([n$v({type:Number})],LinearProgressBase.prototype,"progress",void 0);__decorate$3([n$v({type:Number})],LinearProgressBase.prototype,"buffer",void 0);__decorate$3([n$v({type:Boolean,reflect:!0})],LinearProgressBase.prototype,"reverse",void 0);__decorate$3([n$v({type:Boolean,reflect:!0})],LinearProgressBase.prototype,"closed",void 0);__decorate$3([ariaProperty,n$v({attribute:"aria-label"})],LinearProgressBase.prototype,"ariaLabel",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"stylePrimaryHalf",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"stylePrimaryFull",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"styleSecondaryQuarter",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"styleSecondaryHalf",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"styleSecondaryFull",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"animationReady",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"closedAnimationOff",void 0);/** + `}update(ah){ah.has("closed")&&(!this.closed||ah.get("closed")===void 0)&&this.syncClosedState(),super.update(ah)}async firstUpdated(ah){super.firstUpdated(ah),this.attachResizeObserver()}syncClosedState(){this.closedAnimationOff=this.closed}updated(ah){!ah.has("indeterminate")&&ah.has("reverse")&&this.indeterminate&&this.restartAnimation(),ah.has("indeterminate")&&ah.get("indeterminate")!==void 0&&this.indeterminate&&window.ResizeObserver&&this.calculateAndSetAnimationDimensions(this.rootEl.offsetWidth),super.updated(ah)}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),super.disconnectedCallback()}attachResizeObserver(){if(window.ResizeObserver){this.resizeObserver=new window.ResizeObserver(ah=>{if(this.indeterminate){for(const ch of ah)if(ch.contentRect){const ph=ch.contentRect.width;this.calculateAndSetAnimationDimensions(ph)}}}),this.resizeObserver.observe(this.rootEl);return}this.resizeObserver=null}calculateAndSetAnimationDimensions(ah){const ch=ah*.8367142,ph=ah*2.00611057,yh=ah*.37651913,xh=ah*.84386165,Oh=ah*1.60277782;this.stylePrimaryHalf=`${ch}px`,this.stylePrimaryFull=`${ph}px`,this.styleSecondaryQuarter=`${yh}px`,this.styleSecondaryHalf=`${xh}px`,this.styleSecondaryFull=`${Oh}px`,this.restartAnimation()}async restartAnimation(){this.animationReady=!1,await this.updateComplete,await new Promise(requestAnimationFrame),this.animationReady=!0,await this.updateComplete}open(){this.closed=!1}close(){this.closed=!0}}__decorate$3([i$m(".mdc-linear-progress")],LinearProgressBase.prototype,"rootEl",void 0);__decorate$3([n$v({type:Boolean,reflect:!0})],LinearProgressBase.prototype,"indeterminate",void 0);__decorate$3([n$v({type:Number})],LinearProgressBase.prototype,"progress",void 0);__decorate$3([n$v({type:Number})],LinearProgressBase.prototype,"buffer",void 0);__decorate$3([n$v({type:Boolean,reflect:!0})],LinearProgressBase.prototype,"reverse",void 0);__decorate$3([n$v({type:Boolean,reflect:!0})],LinearProgressBase.prototype,"closed",void 0);__decorate$3([ariaProperty,n$v({attribute:"aria-label"})],LinearProgressBase.prototype,"ariaLabel",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"stylePrimaryHalf",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"stylePrimaryFull",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"styleSecondaryQuarter",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"styleSecondaryHalf",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"styleSecondaryFull",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"animationReady",void 0);__decorate$3([t$h()],LinearProgressBase.prototype,"closedAnimationOff",void 0);/** * @license * Copyright 2021 Google LLC * SPDX-LIcense-Identifier: Apache-2.0 @@ -1346,7 +1333,7 @@ span.CodeMirror-selectedtext { [hidden] { display: none; } - `;__decorate$6([n$P({attribute:"html-file"})],PlaygroundPreview.prototype,"htmlFile",void 0);__decorate$6([n$P()],PlaygroundPreview.prototype,"location",void 0);__decorate$6([i$B("iframe",!0)],PlaygroundPreview.prototype,"iframe",void 0);__decorate$6([i$B("slot")],PlaygroundPreview.prototype,"_slot",void 0);__decorate$6([t$t()],PlaygroundPreview.prototype,"_loading",void 0);__decorate$6([t$t()],PlaygroundPreview.prototype,"_showLoadingBar",void 0);__decorate$6([t$t()],PlaygroundPreview.prototype,"_loadedAtLeastOnce",void 0);__decorate$6([t$t()],PlaygroundPreview.prototype,"_error",void 0);PlaygroundPreview=__decorate$6([e$O("playground-preview")],PlaygroundPreview);var basePath="";function setBasePath(lh){basePath=lh}function getBasePath(lh=""){if(!basePath){const ah=[...document.getElementsByTagName("script")],ch=ah.find(ph=>ph.hasAttribute("data-shoelace"));if(ch)setBasePath(ch.getAttribute("data-shoelace"));else{const ph=ah.find(xh=>/shoelace(\.min)?\.js($|\?)/.test(xh.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(xh.src));let _h="";ph&&(_h=ph.getAttribute("src")),setBasePath(_h.split("/").slice(0,-1).join("/"))}}return basePath.replace(/\/$/,"")+(lh?`/${lh.replace(/^\//,"")}`:"")}var library={name:"default",resolver:lh=>getBasePath(`assets/icons/${lh}.svg`)},library_default_default=library,icons={caret:` + `;__decorate$3([n$P({attribute:"html-file"})],PlaygroundPreview.prototype,"htmlFile",void 0);__decorate$3([n$P()],PlaygroundPreview.prototype,"location",void 0);__decorate$3([i$B("iframe",!0)],PlaygroundPreview.prototype,"iframe",void 0);__decorate$3([i$B("slot")],PlaygroundPreview.prototype,"_slot",void 0);__decorate$3([t$t()],PlaygroundPreview.prototype,"_loading",void 0);__decorate$3([t$t()],PlaygroundPreview.prototype,"_showLoadingBar",void 0);__decorate$3([t$t()],PlaygroundPreview.prototype,"_loadedAtLeastOnce",void 0);__decorate$3([t$t()],PlaygroundPreview.prototype,"_error",void 0);PlaygroundPreview=__decorate$3([e$O("playground-preview")],PlaygroundPreview);var basePath="";function setBasePath(lh){basePath=lh}function getBasePath(lh=""){if(!basePath){const ah=[...document.getElementsByTagName("script")],ch=ah.find(ph=>ph.hasAttribute("data-shoelace"));if(ch)setBasePath(ch.getAttribute("data-shoelace"));else{const ph=ah.find(xh=>/shoelace(\.min)?\.js($|\?)/.test(xh.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(xh.src));let yh="";ph&&(yh=ph.getAttribute("src")),setBasePath(yh.split("/").slice(0,-1).join("/"))}}return basePath.replace(/\/$/,"")+(lh?`/${lh.replace(/^\//,"")}`:"")}var library={name:"default",resolver:lh=>getBasePath(`assets/icons/${lh}.svg`)},library_default_default=library,icons={caret:` @@ -1442,21 +1429,21 @@ span.CodeMirror-selectedtext { * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const t$d=globalThis,e$n=t$d.ShadowRoot&&(t$d.ShadyCSS===void 0||t$d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$k=Symbol(),o$l=new WeakMap;let n$o=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$k)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$n&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=o$l.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&o$l.set(ch,ah))}return ah}toString(){return this.cssText}};const r$l=lh=>new n$o(typeof lh=="string"?lh:lh+"",void 0,s$k),i$h=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,_h,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(_h)+lh[xh+1],lh[0]);return new n$o(ch,lh,s$k)},S$9=(lh,ah)=>{if(e$n)lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet);else for(const ch of ah){const ph=document.createElement("style"),_h=t$d.litNonce;_h!==void 0&&ph.setAttribute("nonce",_h),ph.textContent=ch.cssText,lh.appendChild(ph)}},c$h=e$n?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$l(ch)})(lh):lh;/** + */const t$d=globalThis,e$n=t$d.ShadowRoot&&(t$d.ShadyCSS===void 0||t$d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$k=Symbol(),o$l=new WeakMap;let n$o=class{constructor(ah,ch,ph){if(this._$cssResult$=!0,ph!==s$k)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=ah,this.t=ch}get styleSheet(){let ah=this.o;const ch=this.t;if(e$n&&ah===void 0){const ph=ch!==void 0&&ch.length===1;ph&&(ah=o$l.get(ch)),ah===void 0&&((this.o=ah=new CSSStyleSheet).replaceSync(this.cssText),ph&&o$l.set(ch,ah))}return ah}toString(){return this.cssText}};const r$l=lh=>new n$o(typeof lh=="string"?lh:lh+"",void 0,s$k),i$h=(lh,...ah)=>{const ch=lh.length===1?lh[0]:ah.reduce((ph,yh,xh)=>ph+(Oh=>{if(Oh._$cssResult$===!0)return Oh.cssText;if(typeof Oh=="number")return Oh;throw Error("Value passed to 'css' function must be a 'css' function result: "+Oh+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(yh)+lh[xh+1],lh[0]);return new n$o(ch,lh,s$k)},S$9=(lh,ah)=>{if(e$n)lh.adoptedStyleSheets=ah.map(ch=>ch instanceof CSSStyleSheet?ch:ch.styleSheet);else for(const ch of ah){const ph=document.createElement("style"),yh=t$d.litNonce;yh!==void 0&&ph.setAttribute("nonce",yh),ph.textContent=ch.cssText,lh.appendChild(ph)}},c$h=e$n?lh=>lh:lh=>lh instanceof CSSStyleSheet?(ah=>{let ch="";for(const ph of ah.cssRules)ch+=ph.cssText;return r$l(ch)})(lh):lh;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const{is:i$g,defineProperty:e$m,getOwnPropertyDescriptor:r$k,getOwnPropertyNames:h$c,getOwnPropertySymbols:o$k,getPrototypeOf:n$n}=Object,a$e=globalThis,c$g=a$e.trustedTypes,l$f=c$g?c$g.emptyScript:"",p$9=a$e.reactiveElementPolyfillSupport,d$9=(lh,ah)=>lh,u$b={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?l$f:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},f$c=(lh,ah)=>!i$g(lh,ah),y$a={attribute:!0,type:String,converter:u$b,reflect:!1,hasChanged:f$c};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),a$e.litPropertyMetadata??(a$e.litPropertyMetadata=new WeakMap);let b$5=class extends HTMLElement{static addInitializer(ah){this._$Ei(),(this.l??(this.l=[])).push(ah)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(ah,ch=y$a){if(ch.state&&(ch.attribute=!1),this._$Ei(),this.elementProperties.set(ah,ch),!ch.noAccessor){const ph=Symbol(),_h=this.getPropertyDescriptor(ah,ph,ch);_h!==void 0&&e$m(this.prototype,ah,_h)}}static getPropertyDescriptor(ah,ch,ph){const{get:_h,set:xh}=r$k(this.prototype,ah)??{get(){return this[ch]},set(Oh){this[ch]=Oh}};return{get(){return _h==null?void 0:_h.call(this)},set(Oh){const Uh=_h==null?void 0:_h.call(this);xh.call(this,Oh),this.requestUpdate(ah,Uh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)??y$a}static _$Ei(){if(this.hasOwnProperty(d$9("elementProperties")))return;const ah=n$n(this);ah.finalize(),ah.l!==void 0&&(this.l=[...ah.l]),this.elementProperties=new Map(ah.elementProperties)}static finalize(){if(this.hasOwnProperty(d$9("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$9("properties"))){const ch=this.properties,ph=[...h$c(ch),...o$k(ch)];for(const _h of ph)this.createProperty(_h,ch[_h])}const ah=this[Symbol.metadata];if(ah!==null){const ch=litPropertyMetadata.get(ah);if(ch!==void 0)for(const[ph,_h]of ch)this.elementProperties.set(ph,_h)}this._$Eh=new Map;for(const[ch,ph]of this.elementProperties){const _h=this._$Eu(ch,ph);_h!==void 0&&this._$Eh.set(_h,ch)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const _h of ph)ch.unshift(c$h(_h))}else ah!==void 0&&ch.push(c$h(ah));return ch}static _$Eu(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var ah;this._$ES=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$E_(),this.requestUpdate(),(ah=this.constructor.l)==null||ah.forEach(ch=>ch(this))}addController(ah){var ch;(this._$EO??(this._$EO=new Set)).add(ah),this.renderRoot!==void 0&&this.isConnected&&((ch=ah.hostConnected)==null||ch.call(ah))}removeController(ah){var ch;(ch=this._$EO)==null||ch.delete(ah)}_$E_(){const ah=new Map,ch=this.constructor.elementProperties;for(const ph of ch.keys())this.hasOwnProperty(ph)&&(ah.set(ph,this[ph]),delete this[ph]);ah.size>0&&(this._$Ep=ah)}createRenderRoot(){const ah=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$9(ah,this.constructor.elementStyles),ah}connectedCallback(){var ah;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$EO)==null||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)==null?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$EO)==null||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)==null?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EC(ah,ch){var xh;const ph=this.constructor.elementProperties.get(ah),_h=this.constructor._$Eu(ah,ph);if(_h!==void 0&&ph.reflect===!0){const Oh=(((xh=ph.converter)==null?void 0:xh.toAttribute)!==void 0?ph.converter:u$b).toAttribute(ch,ph.type);this._$Em=ah,Oh==null?this.removeAttribute(_h):this.setAttribute(_h,Oh),this._$Em=null}}_$AK(ah,ch){var xh;const ph=this.constructor,_h=ph._$Eh.get(ah);if(_h!==void 0&&this._$Em!==_h){const Oh=ph.getPropertyOptions(_h),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((xh=Oh.converter)==null?void 0:xh.fromAttribute)!==void 0?Oh.converter:u$b;this._$Em=_h,this[_h]=Uh.fromAttribute(ch,Oh.type),this._$Em=null}}requestUpdate(ah,ch,ph){if(ah!==void 0){if(ph??(ph=this.constructor.getPropertyOptions(ah)),!(ph.hasChanged??f$c)(this[ah],ch))return;this.P(ah,ch,ph)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(ah,ch,ph){this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$Em!==ah&&(this._$Ej??(this._$Ej=new Set)).add(ah)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ph;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[xh,Oh]of this._$Ep)this[xh]=Oh;this._$Ep=void 0}const _h=this.constructor.elementProperties;if(_h.size>0)for(const[xh,Oh]of _h)Oh.wrapped!==!0||this._$AL.has(xh)||this[xh]===void 0||this.P(xh,this[xh],Oh)}let ah=!1;const ch=this._$AL;try{ah=this.shouldUpdate(ch),ah?(this.willUpdate(ch),(ph=this._$EO)==null||ph.forEach(_h=>{var xh;return(xh=_h.hostUpdate)==null?void 0:xh.call(_h)}),this.update(ch)):this._$EU()}catch(_h){throw ah=!1,this._$EU(),_h}ah&&this._$AE(ch)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$EO)==null||ch.forEach(ph=>{var _h;return(_h=ph.hostUpdated)==null?void 0:_h.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(ah){return!0}update(ah){this._$Ej&&(this._$Ej=this._$Ej.forEach(ch=>this._$EC(ch,this[ch]))),this._$EU()}updated(ah){}firstUpdated(ah){}};b$5.elementStyles=[],b$5.shadowRootOptions={mode:"open"},b$5[d$9("elementProperties")]=new Map,b$5[d$9("finalized")]=new Map,p$9==null||p$9({ReactiveElement:b$5}),(a$e.reactiveElementVersions??(a$e.reactiveElementVersions=[])).push("2.0.4");/** + */const{is:i$g,defineProperty:e$m,getOwnPropertyDescriptor:r$k,getOwnPropertyNames:h$c,getOwnPropertySymbols:o$k,getPrototypeOf:n$n}=Object,a$e=globalThis,c$g=a$e.trustedTypes,l$f=c$g?c$g.emptyScript:"",p$9=a$e.reactiveElementPolyfillSupport,d$9=(lh,ah)=>lh,u$c={toAttribute(lh,ah){switch(ah){case Boolean:lh=lh?l$f:null;break;case Object:case Array:lh=lh==null?lh:JSON.stringify(lh)}return lh},fromAttribute(lh,ah){let ch=lh;switch(ah){case Boolean:ch=lh!==null;break;case Number:ch=lh===null?null:Number(lh);break;case Object:case Array:try{ch=JSON.parse(lh)}catch{ch=null}}return ch}},f$c=(lh,ah)=>!i$g(lh,ah),y$a={attribute:!0,type:String,converter:u$c,reflect:!1,hasChanged:f$c};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),a$e.litPropertyMetadata??(a$e.litPropertyMetadata=new WeakMap);let b$5=class extends HTMLElement{static addInitializer(ah){this._$Ei(),(this.l??(this.l=[])).push(ah)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(ah,ch=y$a){if(ch.state&&(ch.attribute=!1),this._$Ei(),this.elementProperties.set(ah,ch),!ch.noAccessor){const ph=Symbol(),yh=this.getPropertyDescriptor(ah,ph,ch);yh!==void 0&&e$m(this.prototype,ah,yh)}}static getPropertyDescriptor(ah,ch,ph){const{get:yh,set:xh}=r$k(this.prototype,ah)??{get(){return this[ch]},set(Oh){this[ch]=Oh}};return{get(){return yh==null?void 0:yh.call(this)},set(Oh){const Uh=yh==null?void 0:yh.call(this);xh.call(this,Oh),this.requestUpdate(ah,Uh,ph)},configurable:!0,enumerable:!0}}static getPropertyOptions(ah){return this.elementProperties.get(ah)??y$a}static _$Ei(){if(this.hasOwnProperty(d$9("elementProperties")))return;const ah=n$n(this);ah.finalize(),ah.l!==void 0&&(this.l=[...ah.l]),this.elementProperties=new Map(ah.elementProperties)}static finalize(){if(this.hasOwnProperty(d$9("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$9("properties"))){const ch=this.properties,ph=[...h$c(ch),...o$k(ch)];for(const yh of ph)this.createProperty(yh,ch[yh])}const ah=this[Symbol.metadata];if(ah!==null){const ch=litPropertyMetadata.get(ah);if(ch!==void 0)for(const[ph,yh]of ch)this.elementProperties.set(ph,yh)}this._$Eh=new Map;for(const[ch,ph]of this.elementProperties){const yh=this._$Eu(ch,ph);yh!==void 0&&this._$Eh.set(yh,ch)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(ah){const ch=[];if(Array.isArray(ah)){const ph=new Set(ah.flat(1/0).reverse());for(const yh of ph)ch.unshift(c$h(yh))}else ah!==void 0&&ch.push(c$h(ah));return ch}static _$Eu(ah,ch){const ph=ch.attribute;return ph===!1?void 0:typeof ph=="string"?ph:typeof ah=="string"?ah.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var ah;this._$ES=new Promise(ch=>this.enableUpdating=ch),this._$AL=new Map,this._$E_(),this.requestUpdate(),(ah=this.constructor.l)==null||ah.forEach(ch=>ch(this))}addController(ah){var ch;(this._$EO??(this._$EO=new Set)).add(ah),this.renderRoot!==void 0&&this.isConnected&&((ch=ah.hostConnected)==null||ch.call(ah))}removeController(ah){var ch;(ch=this._$EO)==null||ch.delete(ah)}_$E_(){const ah=new Map,ch=this.constructor.elementProperties;for(const ph of ch.keys())this.hasOwnProperty(ph)&&(ah.set(ph,this[ph]),delete this[ph]);ah.size>0&&(this._$Ep=ah)}createRenderRoot(){const ah=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$9(ah,this.constructor.elementStyles),ah}connectedCallback(){var ah;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(ah=this._$EO)==null||ah.forEach(ch=>{var ph;return(ph=ch.hostConnected)==null?void 0:ph.call(ch)})}enableUpdating(ah){}disconnectedCallback(){var ah;(ah=this._$EO)==null||ah.forEach(ch=>{var ph;return(ph=ch.hostDisconnected)==null?void 0:ph.call(ch)})}attributeChangedCallback(ah,ch,ph){this._$AK(ah,ph)}_$EC(ah,ch){var xh;const ph=this.constructor.elementProperties.get(ah),yh=this.constructor._$Eu(ah,ph);if(yh!==void 0&&ph.reflect===!0){const Oh=(((xh=ph.converter)==null?void 0:xh.toAttribute)!==void 0?ph.converter:u$c).toAttribute(ch,ph.type);this._$Em=ah,Oh==null?this.removeAttribute(yh):this.setAttribute(yh,Oh),this._$Em=null}}_$AK(ah,ch){var xh;const ph=this.constructor,yh=ph._$Eh.get(ah);if(yh!==void 0&&this._$Em!==yh){const Oh=ph.getPropertyOptions(yh),Uh=typeof Oh.converter=="function"?{fromAttribute:Oh.converter}:((xh=Oh.converter)==null?void 0:xh.fromAttribute)!==void 0?Oh.converter:u$c;this._$Em=yh,this[yh]=Uh.fromAttribute(ch,Oh.type),this._$Em=null}}requestUpdate(ah,ch,ph){if(ah!==void 0){if(ph??(ph=this.constructor.getPropertyOptions(ah)),!(ph.hasChanged??f$c)(this[ah],ch))return;this.P(ah,ch,ph)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(ah,ch,ph){this._$AL.has(ah)||this._$AL.set(ah,ch),ph.reflect===!0&&this._$Em!==ah&&(this._$Ej??(this._$Ej=new Set)).add(ah)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(ch){Promise.reject(ch)}const ah=this.scheduleUpdate();return ah!=null&&await ah,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var ph;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[xh,Oh]of this._$Ep)this[xh]=Oh;this._$Ep=void 0}const yh=this.constructor.elementProperties;if(yh.size>0)for(const[xh,Oh]of yh)Oh.wrapped!==!0||this._$AL.has(xh)||this[xh]===void 0||this.P(xh,this[xh],Oh)}let ah=!1;const ch=this._$AL;try{ah=this.shouldUpdate(ch),ah?(this.willUpdate(ch),(ph=this._$EO)==null||ph.forEach(yh=>{var xh;return(xh=yh.hostUpdate)==null?void 0:xh.call(yh)}),this.update(ch)):this._$EU()}catch(yh){throw ah=!1,this._$EU(),yh}ah&&this._$AE(ch)}willUpdate(ah){}_$AE(ah){var ch;(ch=this._$EO)==null||ch.forEach(ph=>{var yh;return(yh=ph.hostUpdated)==null?void 0:yh.call(ph)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(ah)),this.updated(ah)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(ah){return!0}update(ah){this._$Ej&&(this._$Ej=this._$Ej.forEach(ch=>this._$EC(ch,this[ch]))),this._$EU()}updated(ah){}firstUpdated(ah){}};b$5.elementStyles=[],b$5.shadowRootOptions={mode:"open"},b$5[d$9("elementProperties")]=new Map,b$5[d$9("finalized")]=new Map,p$9==null||p$9({ReactiveElement:b$5}),(a$e.reactiveElementVersions??(a$e.reactiveElementVersions=[])).push("2.0.4");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const t$c=globalThis,i$f=t$c.trustedTypes,s$j=i$f?i$f.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,e$l="$lit$",h$b=`lit$${(Math.random()+"").slice(9)}$`,o$j="?"+h$b,n$m=`<${o$j}>`,r$j=document,l$e=()=>r$j.createComment(""),c$f=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",a$d=Array.isArray,u$a=lh=>a$d(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",d$8=`[ + */const t$c=globalThis,i$f=t$c.trustedTypes,s$j=i$f?i$f.createPolicy("lit-html",{createHTML:lh=>lh}):void 0,e$l="$lit$",h$b=`lit$${Math.random().toFixed(9).slice(2)}$`,o$j="?"+h$b,n$m=`<${o$j}>`,r$j=document,l$e=()=>r$j.createComment(""),c$f=lh=>lh===null||typeof lh!="object"&&typeof lh!="function",a$d=Array.isArray,u$b=lh=>a$d(lh)||typeof(lh==null?void 0:lh[Symbol.iterator])=="function",d$8=`[ \f\r]`,f$b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$7=/-->/g,_$5=/>/g,m$8=RegExp(`>|${d$8}(?:([^\\s"'>=/]+)(${d$8}*=${d$8}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),p$8=/'/g,g$7=/"/g,$$6=/^(?:script|style|textarea|title)$/i,y$9=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$9=y$9(1),w$7=Symbol.for("lit-noChange"),T$6=Symbol.for("lit-nothing"),A$8=new WeakMap,E$6=r$j.createTreeWalker(r$j,129);function C$6(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return s$j!==void 0?s$j.createHTML(ah):ah}const P$6=(lh,ah)=>{const ch=lh.length-1,ph=[];let _h,xh=ah===2?"":"",Oh=f$b;for(let Uh=0;Uh"?(Oh=_h??f$b,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?m$8:n1[3]==='"'?g$7:p$8):Oh===g$7||Oh===p$8?Oh=m$8:Oh===v$7||Oh===_$5?Oh=f$b:(Oh=m$8,_h=void 0);const g1=Oh===m$8&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$b?Fh+n$m:t1>=0?(ph.push(zh),Fh.slice(0,t1)+e$l+Fh.slice(t1)+h$b+g1):Fh+h$b+(t1===-2?Uh:g1)}return[C$6(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let V$6=class _Zt{constructor({strings:ah,_$litType$:ch},ph){let _h;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=P$6(ah,ch);if(this.el=_Zt.createElement(zh,ph),E$6.currentNode=this.el.content,ch===2){const t1=this.el.content.firstChild;t1.replaceWith(...t1.childNodes)}for(;(_h=E$6.nextNode())!==null&&Fh.length0){_h.textContent=i$f?i$f.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=T$6}_$AI(ah,ch=this,ph,_h){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=N$7(this,ah,ch,0),Oh=!c$f(ah)||ah!==this._$AH&&ah!==w$7,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{const ph=(ch==null?void 0:ch.renderBefore)??ah;let _h=ph._$litPart$;if(_h===void 0){const xh=(ch==null?void 0:ch.renderBefore)??null;ph._$litPart$=_h=new M$6(ah.insertBefore(l$e(),xh),xh,void 0,ch??{})}return _h._$AI(lh),_h};/** +\f\r"'\`<>=]|("|')|))|$)`,"g"),p$8=/'/g,g$7=/"/g,$$6=/^(?:script|style|textarea|title)$/i,y$9=lh=>(ah,...ch)=>({_$litType$:lh,strings:ah,values:ch}),x$9=y$9(1),w$7=Symbol.for("lit-noChange"),T$6=Symbol.for("lit-nothing"),A$8=new WeakMap,E$6=r$j.createTreeWalker(r$j,129);function C$6(lh,ah){if(!Array.isArray(lh)||!lh.hasOwnProperty("raw"))throw Error("invalid template strings array");return s$j!==void 0?s$j.createHTML(ah):ah}const P$6=(lh,ah)=>{const ch=lh.length-1,ph=[];let yh,xh=ah===2?"":"",Oh=f$b;for(let Uh=0;Uh"?(Oh=yh??f$b,t1=-1):n1[1]===void 0?t1=-2:(t1=Oh.lastIndex-n1[2].length,zh=n1[1],Oh=n1[3]===void 0?m$8:n1[3]==='"'?g$7:p$8):Oh===g$7||Oh===p$8?Oh=m$8:Oh===v$7||Oh===_$5?Oh=f$b:(Oh=m$8,yh=void 0);const g1=Oh===m$8&&lh[Uh+1].startsWith("/>")?" ":"";xh+=Oh===f$b?Fh+n$m:t1>=0?(ph.push(zh),Fh.slice(0,t1)+e$l+Fh.slice(t1)+h$b+g1):Fh+h$b+(t1===-2?Uh:g1)}return[C$6(lh,xh+(lh[ch]||"")+(ah===2?"":"")),ph]};let V$6=class _Zt{constructor({strings:ah,_$litType$:ch},ph){let yh;this.parts=[];let xh=0,Oh=0;const Uh=ah.length-1,Fh=this.parts,[zh,n1]=P$6(ah,ch);if(this.el=_Zt.createElement(zh,ph),E$6.currentNode=this.el.content,ch===2){const t1=this.el.content.firstChild;t1.replaceWith(...t1.childNodes)}for(;(yh=E$6.nextNode())!==null&&Fh.length0){yh.textContent=i$f?i$f.emptyScript:"";for(let g1=0;g12||ph[0]!==""||ph[1]!==""?(this._$AH=Array(ph.length-1).fill(new String),this.strings=ph):this._$AH=T$6}_$AI(ah,ch=this,ph,yh){const xh=this.strings;let Oh=!1;if(xh===void 0)ah=N$7(this,ah,ch,0),Oh=!c$f(ah)||ah!==this._$AH&&ah!==w$7,Oh&&(this._$AH=ah);else{const Uh=ah;let Fh,zh;for(ah=xh[0],Fh=0;Fh{const ph=(ch==null?void 0:ch.renderBefore)??ah;let yh=ph._$litPart$;if(yh===void 0){const xh=(ch==null?void 0:ch.renderBefore)??null;ph._$litPart$=yh=new M$6(ah.insertBefore(l$e(),xh),xh,void 0,ch??{})}return yh._$AI(lh),yh};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */let s$i=class extends b$5{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ch;const ah=super.createRenderRoot();return(ch=this.renderOptions).renderBefore??(ch.renderBefore=ah.firstChild),ah}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=j$7(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)==null||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)==null||ah.setConnected(!1)}render(){return w$7}};var rZt;s$i._$litElement$=!0,s$i.finalized=!0,(rZt=globalThis.litElementHydrateSupport)==null||rZt.call(globalThis,{LitElement:s$i});const r$i=globalThis.litElementPolyfillSupport;r$i==null||r$i({LitElement:s$i});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.4");var icon_styles_default=i$h` + */let s$i=class extends b$5{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var ch;const ah=super.createRenderRoot();return(ch=this.renderOptions).renderBefore??(ch.renderBefore=ah.firstChild),ah}update(ah){const ch=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(ah),this._$Do=j$7(ch,this.renderRoot,this.renderOptions)}connectedCallback(){var ah;super.connectedCallback(),(ah=this._$Do)==null||ah.setConnected(!0)}disconnectedCallback(){var ah;super.disconnectedCallback(),(ah=this._$Do)==null||ah.setConnected(!1)}render(){return w$7}};var rZt;s$i._$litElement$=!0,s$i.finalized=!0,(rZt=globalThis.litElementHydrateSupport)==null||rZt.call(globalThis,{LitElement:s$i});const r$i=globalThis.litElementPolyfillSupport;r$i==null||r$i({LitElement:s$i});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.5");var icon_styles_default=i$h` :host { display: inline-block; width: 1em; @@ -1469,7 +1456,7 @@ span.CodeMirror-selectedtext { height: 100%; width: 100%; } -`,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(lh,ah,ch)=>ah in lh?__defProp(lh,ah,{enumerable:!0,configurable:!0,writable:!0,value:ch}):lh[ah]=ch,__spreadValues=(lh,ah)=>{for(var ch in ah||(ah={}))__hasOwnProp.call(ah,ch)&&__defNormalProp(lh,ch,ah[ch]);if(__getOwnPropSymbols)for(var ch of __getOwnPropSymbols(ah))__propIsEnum.call(ah,ch)&&__defNormalProp(lh,ch,ah[ch]);return lh},__decorateClass=(lh,ah,ch,ph)=>{for(var _h=ph>1?void 0:ph?__getOwnPropDesc(ah,ch):ah,xh=lh.length-1,Oh;xh>=0;xh--)(Oh=lh[xh])&&(_h=(ph?Oh(ah,ch,_h):Oh(_h))||_h);return ph&&_h&&__defProp(ah,ch,_h),_h};function watch(lh,ah){const ch=__spreadValues({waitUntilFirstUpdate:!1},ah);return(ph,_h)=>{const{update:xh}=ph,Oh=Array.isArray(lh)?lh:[lh];ph.update=function(Uh){Oh.forEach(Fh=>{const zh=Fh;if(Uh.has(zh)){const n1=Uh.get(zh),t1=this[zh];n1!==t1&&(!ch.waitUntilFirstUpdate||this.hasUpdated)&&this[_h](n1,t1)}}),xh.call(this,Uh)}}}var component_styles_default=i$h` +`,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(lh,ah,ch)=>ah in lh?__defProp(lh,ah,{enumerable:!0,configurable:!0,writable:!0,value:ch}):lh[ah]=ch,__spreadValues=(lh,ah)=>{for(var ch in ah||(ah={}))__hasOwnProp.call(ah,ch)&&__defNormalProp(lh,ch,ah[ch]);if(__getOwnPropSymbols)for(var ch of __getOwnPropSymbols(ah))__propIsEnum.call(ah,ch)&&__defNormalProp(lh,ch,ah[ch]);return lh},__decorateClass=(lh,ah,ch,ph)=>{for(var yh=ph>1?void 0:ph?__getOwnPropDesc(ah,ch):ah,xh=lh.length-1,Oh;xh>=0;xh--)(Oh=lh[xh])&&(yh=(ph?Oh(ah,ch,yh):Oh(yh))||yh);return ph&&yh&&__defProp(ah,ch,yh),yh};function watch(lh,ah){const ch=__spreadValues({waitUntilFirstUpdate:!1},ah);return(ph,yh)=>{const{update:xh}=ph,Oh=Array.isArray(lh)?lh:[lh];ph.update=function(Uh){Oh.forEach(Fh=>{const zh=Fh;if(Uh.has(zh)){const n1=Uh.get(zh),t1=this[zh];n1!==t1&&(!ch.waitUntilFirstUpdate||this.hasUpdated)&&this[yh](n1,t1)}}),xh.call(this,Uh)}}}var component_styles_default=i$h` :host { box-sizing: border-box; } @@ -1487,17 +1474,17 @@ span.CodeMirror-selectedtext { * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o$i={attribute:!0,type:String,converter:u$b,reflect:!1,hasChanged:f$c},r$h=(lh=o$i,ah,ch)=>{const{kind:ph,metadata:_h}=ch;let xh=globalThis.litPropertyMetadata.get(_h);if(xh===void 0&&globalThis.litPropertyMetadata.set(_h,xh=new Map),xh.set(ch.name,lh),ph==="accessor"){const{name:Oh}=ch;return{set(Uh){const Fh=ah.get.call(this);ah.set.call(this,Uh),this.requestUpdate(Oh,Fh,lh)},init(Uh){return Uh!==void 0&&this.P(Oh,void 0,lh),Uh}}}if(ph==="setter"){const{name:Oh}=ch;return function(Uh){const Fh=this[Oh];ah.call(this,Uh),this.requestUpdate(Oh,Fh,lh)}}throw Error("Unsupported decorator location: "+ph)};function n$l(lh){return(ah,ch)=>typeof ch=="object"?r$h(lh,ah,ch):((ph,_h,xh)=>{const Oh=_h.hasOwnProperty(xh);return _h.constructor.createProperty(xh,Oh?{...ph,wrapped:!0}:ph),Oh?Object.getOwnPropertyDescriptor(_h,xh):void 0})(lh,ah,ch)}/** + */const o$i={attribute:!0,type:String,converter:u$c,reflect:!1,hasChanged:f$c},r$h=(lh=o$i,ah,ch)=>{const{kind:ph,metadata:yh}=ch;let xh=globalThis.litPropertyMetadata.get(yh);if(xh===void 0&&globalThis.litPropertyMetadata.set(yh,xh=new Map),xh.set(ch.name,lh),ph==="accessor"){const{name:Oh}=ch;return{set(Uh){const Fh=ah.get.call(this);ah.set.call(this,Uh),this.requestUpdate(Oh,Fh,lh)},init(Uh){return Uh!==void 0&&this.P(Oh,void 0,lh),Uh}}}if(ph==="setter"){const{name:Oh}=ch;return function(Uh){const Fh=this[Oh];ah.call(this,Uh),this.requestUpdate(Oh,Fh,lh)}}throw Error("Unsupported decorator location: "+ph)};function n$l(lh){return(ah,ch)=>typeof ch=="object"?r$h(lh,ah,ch):((ph,yh,xh)=>{const Oh=yh.hasOwnProperty(xh);return yh.constructor.createProperty(xh,Oh?{...ph,wrapped:!0}:ph),Oh?Object.getOwnPropertyDescriptor(yh,xh):void 0})(lh,ah,ch)}/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function r$g(lh){return n$l({...lh,state:!0,attribute:!1})}var ShoelaceElement=class extends s$i{constructor(){super(),Object.entries(this.constructor.dependencies).forEach(([lh,ah])=>{this.constructor.define(lh,ah)})}emit(lh,ah){const ch=new CustomEvent(lh,__spreadValues({bubbles:!0,cancelable:!1,composed:!0,detail:{}},ah));return this.dispatchEvent(ch),ch}static define(lh,ah=this,ch={}){const ph=customElements.get(lh);if(!ph){customElements.define(lh,class extends ah{},ch);return}let _h=" (unknown version)",xh=_h;"version"in ah&&ah.version&&(_h=" v"+ah.version),"version"in ph&&ph.version&&(xh=" v"+ph.version),!(_h&&xh&&_h===xh)&&console.warn(`Attempted to register <${lh}>${_h}, but <${lh}>${xh} has already been registered.`)}};ShoelaceElement.version="2.14.0";ShoelaceElement.dependencies={};__decorateClass([n$l()],ShoelaceElement.prototype,"dir",2);__decorateClass([n$l()],ShoelaceElement.prototype,"lang",2);/** + */function r$g(lh){return n$l({...lh,state:!0,attribute:!1})}var ShoelaceElement=class extends s$i{constructor(){super(),Object.entries(this.constructor.dependencies).forEach(([lh,ah])=>{this.constructor.define(lh,ah)})}emit(lh,ah){const ch=new CustomEvent(lh,__spreadValues({bubbles:!0,cancelable:!1,composed:!0,detail:{}},ah));return this.dispatchEvent(ch),ch}static define(lh,ah=this,ch={}){const ph=customElements.get(lh);if(!ph){customElements.define(lh,class extends ah{},ch);return}let yh=" (unknown version)",xh=yh;"version"in ah&&ah.version&&(yh=" v"+ah.version),"version"in ph&&ph.version&&(xh=" v"+ph.version),!(yh&&xh&&yh===xh)&&console.warn(`Attempted to register <${lh}>${yh}, but <${lh}>${xh} has already been registered.`)}};ShoelaceElement.version="2.15.0";ShoelaceElement.dependencies={};__decorateClass([n$l()],ShoelaceElement.prototype,"dir",2);__decorateClass([n$l()],ShoelaceElement.prototype,"lang",2);/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e$k=(lh,ah)=>ah===void 0?(lh==null?void 0:lh._$litType$)!==void 0:(lh==null?void 0:lh._$litType$)===ah,f$a=lh=>lh.strings===void 0;var CACHEABLE_ERROR=Symbol(),RETRYABLE_ERROR=Symbol(),parser$1,iconCache=new Map,SlIcon=class extends ShoelaceElement{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(lh,ah){var ch;let ph;if(ah!=null&&ah.spriteSheet)return x$9` + */const e$k=(lh,ah)=>ah===void 0?(lh==null?void 0:lh._$litType$)!==void 0:(lh==null?void 0:lh._$litType$)===ah,f$a=lh=>lh.strings===void 0;var CACHEABLE_ERROR=Symbol(),RETRYABLE_ERROR=Symbol(),parser$1,iconCache=new Map,SlIcon=class extends ShoelaceElement{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(lh,ah){var ch;let ph;if(ah!=null&&ah.spriteSheet){this.svg=x$9` - `;try{if(ph=await fetch(lh,{mode:"cors"}),!ph.ok)return ph.status===410?CACHEABLE_ERROR:RETRYABLE_ERROR}catch{return RETRYABLE_ERROR}try{const _h=document.createElement("div");_h.innerHTML=await ph.text();const xh=_h.firstElementChild;if(((ch=xh==null?void 0:xh.tagName)==null?void 0:ch.toLowerCase())!=="svg")return CACHEABLE_ERROR;parser$1||(parser$1=new DOMParser);const Uh=parser$1.parseFromString(xh.outerHTML,"text/html").body.querySelector("svg");return Uh?(Uh.part.add("svg"),document.adoptNode(Uh)):CACHEABLE_ERROR}catch{return CACHEABLE_ERROR}}connectedCallback(){super.connectedCallback(),watchIcon(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),unwatchIcon(this)}getIconSource(){const lh=getIconLibrary(this.library);return this.name&&lh?{url:lh.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var lh;const{url:ah,fromLibrary:ch}=this.getIconSource(),ph=ch?getIconLibrary(this.library):void 0;if(!ah){this.svg=null;return}let _h=iconCache.get(ah);if(_h||(_h=this.resolveIcon(ah,ph),iconCache.set(ah,_h)),!this.initialRender)return;const xh=await _h;if(xh===RETRYABLE_ERROR&&iconCache.delete(ah),ah===this.getIconSource().url){if(e$k(xh)){this.svg=xh;return}switch(xh){case RETRYABLE_ERROR:case CACHEABLE_ERROR:this.svg=null,this.emit("sl-error");break;default:this.svg=xh.cloneNode(!0),(lh=ph==null?void 0:ph.mutator)==null||lh.call(ph,this.svg),this.emit("sl-load")}}}render(){return this.svg}};SlIcon.styles=[component_styles_default,icon_styles_default];__decorateClass([r$g()],SlIcon.prototype,"svg",2);__decorateClass([n$l({reflect:!0})],SlIcon.prototype,"name",2);__decorateClass([n$l()],SlIcon.prototype,"src",2);__decorateClass([n$l()],SlIcon.prototype,"label",2);__decorateClass([n$l({reflect:!0})],SlIcon.prototype,"library",2);__decorateClass([watch("label")],SlIcon.prototype,"handleLabelChange",1);__decorateClass([watch(["name","src","library"])],SlIcon.prototype,"setIcon",1);SlIcon.define("sl-icon");var mdiAlert="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",mdiFile="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z",mdiFolder="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z";function wrapPathInSvg$1(lh){return`data:image/svg+xml;utf8,${wrapPathInSvgWithoutPrefix(lh)}`}function wrapPathInSvgWithoutPrefix(lh){return``}var Kye,aZt;let PlaygroundExercise=(Kye=class extends s$G{constructor(){super(...arguments),this.syntaxError=!1,this.exportError=!1}render(){return x$e(aZt||(aZt=iZt([` + `,await this.updateComplete;const yh=this.shadowRoot.querySelector("[part='svg']");return typeof ah.mutator=="function"&&ah.mutator(yh),this.svg}try{if(ph=await fetch(lh,{mode:"cors"}),!ph.ok)return ph.status===410?CACHEABLE_ERROR:RETRYABLE_ERROR}catch{return RETRYABLE_ERROR}try{const yh=document.createElement("div");yh.innerHTML=await ph.text();const xh=yh.firstElementChild;if(((ch=xh==null?void 0:xh.tagName)==null?void 0:ch.toLowerCase())!=="svg")return CACHEABLE_ERROR;parser$1||(parser$1=new DOMParser);const Uh=parser$1.parseFromString(xh.outerHTML,"text/html").body.querySelector("svg");return Uh?(Uh.part.add("svg"),document.adoptNode(Uh)):CACHEABLE_ERROR}catch{return CACHEABLE_ERROR}}connectedCallback(){super.connectedCallback(),watchIcon(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),unwatchIcon(this)}getIconSource(){const lh=getIconLibrary(this.library);return this.name&&lh?{url:lh.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var lh;const{url:ah,fromLibrary:ch}=this.getIconSource(),ph=ch?getIconLibrary(this.library):void 0;if(!ah){this.svg=null;return}let yh=iconCache.get(ah);if(yh||(yh=this.resolveIcon(ah,ph),iconCache.set(ah,yh)),!this.initialRender)return;const xh=await yh;if(xh===RETRYABLE_ERROR&&iconCache.delete(ah),ah===this.getIconSource().url){if(e$k(xh)){this.svg=xh;return}switch(xh){case RETRYABLE_ERROR:case CACHEABLE_ERROR:this.svg=null,this.emit("sl-error");break;default:this.svg=xh.cloneNode(!0),(lh=ph==null?void 0:ph.mutator)==null||lh.call(ph,this.svg),this.emit("sl-load")}}}render(){return this.svg}};SlIcon.styles=[component_styles_default,icon_styles_default];__decorateClass([r$g()],SlIcon.prototype,"svg",2);__decorateClass([n$l({reflect:!0})],SlIcon.prototype,"name",2);__decorateClass([n$l()],SlIcon.prototype,"src",2);__decorateClass([n$l()],SlIcon.prototype,"label",2);__decorateClass([n$l({reflect:!0})],SlIcon.prototype,"library",2);__decorateClass([watch("label")],SlIcon.prototype,"handleLabelChange",1);__decorateClass([watch(["name","src","library"])],SlIcon.prototype,"setIcon",1);SlIcon.define("sl-icon");var mdiAlert="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",mdiFile="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z",mdiFolder="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z";function wrapPathInSvg$1(lh){return`data:image/svg+xml;utf8,${wrapPathInSvgWithoutPrefix(lh)}`}function wrapPathInSvgWithoutPrefix(lh){return``}var Kye,aZt;let PlaygroundExercise=(Kye=class extends s$G{constructor(){super(...arguments),this.syntaxError=!1,this.exportError=!1}render(){return x$e(aZt||(aZt=iZt([` {for(let ch in ah)lh[ch]=ah[ch];return lh},t$b=(lh,ah)=>Array.from(lh.querySelectorAll(ah)),i$e=(lh,ah,ch)=>{ch?lh.classList.add(ah):lh.classList.remove(ah)},s$h=lh=>{if(typeof lh=="string"){if(lh==="null")return null;if(lh==="true")return!0;if(lh==="false")return!1;if(lh.match(/^-?[\d\.]+$/))return parseFloat(lh)}return lh},a$c=(lh,ah)=>{lh.style.transform=ah},n$k=(lh,ah)=>{let ch=lh.matches||lh.matchesSelector||lh.msMatchesSelector;return!(!ch||!ch.call(lh,ah))},r$f=(lh,ah)=>{if(typeof lh.closest=="function")return lh.closest(ah);for(;lh;){if(n$k(lh,ah))return lh;lh=lh.parentNode}return null},o$h=(lh,ah,ch,ph="")=>{let _h=lh.querySelectorAll("."+ch);for(let Oh=0;Oh<_h.length;Oh++){let Uh=_h[Oh];if(Uh.parentNode===lh)return Uh}let xh=document.createElement(ah);return xh.className=ch,xh.innerHTML=ph,lh.appendChild(xh),xh},l$d=lh=>{let ah=document.createElement("style");return ah.type="text/css",lh&&lh.length>0&&(ah.styleSheet?ah.styleSheet.cssText=lh:ah.appendChild(document.createTextNode(lh))),document.head.appendChild(ah),ah},d$7=()=>{let lh={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,ah=>{lh[ah.split("=").shift()]=ah.split("=").pop()});for(let ah in lh){let ch=lh[ah];lh[ah]=s$h(unescape(ch))}return lh.dependencies!==void 0&&delete lh.dependencies,lh},c$e=(lh,ah=0)=>{if(lh){let ch,ph=lh.style.height;return lh.style.height="0px",lh.parentNode.style.height="auto",ch=ah-lh.parentNode.offsetHeight,lh.style.height=ph+"px",lh.parentNode.style.removeProperty("height"),ch}return ah},h$a={mp4:"video/mp4",m4a:"video/mp4",ogv:"video/ogg",mpeg:"video/mpeg",webm:"video/webm"},u$9=navigator.userAgent,g$6=document.createElement("div"),v$6=/(iphone|ipod|ipad|android)/gi.test(u$9)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,p$7=/chrome/i.test(u$9)&&!/edge/i.test(u$9),m$7=/android/gi.test(u$9),f$9="zoom"in g$6.style&&!v$6&&(p$7||/Version\/[\d\.]+.*Safari/.test(u$9));var b$4={};Object.defineProperty(b$4,"__esModule",{value:!0});var y$8=Object.assign||function(lh){for(var ah=1;ah1&&arguments[1]!==void 0?arguments[1]:{};return typeof X0=="string"?ty(ah(document.querySelectorAll(X0)),uy):ty([X0],uy)[0]}}(typeof window>"u"?null:window);let E$5=class{constructor(ah){this.Reveal=ah,this.startEmbeddedIframe=this.startEmbeddedIframe.bind(this)}shouldPreload(ah){let ch=this.Reveal.getConfig().preloadIframes;return typeof ch!="boolean"&&(ch=ah.hasAttribute("data-preload")),ch}load(ah,ch={}){ah.style.display=this.Reveal.getConfig().display,t$b(ah,"img[data-src], video[data-src], audio[data-src], iframe[data-src]").forEach(_h=>{(_h.tagName!=="IFRAME"||this.shouldPreload(_h))&&(_h.setAttribute("src",_h.getAttribute("data-src")),_h.setAttribute("data-lazy-loaded",""),_h.removeAttribute("data-src"))}),t$b(ah,"video, audio").forEach(_h=>{let xh=0;t$b(_h,"source[data-src]").forEach(Oh=>{Oh.setAttribute("src",Oh.getAttribute("data-src")),Oh.removeAttribute("data-src"),Oh.setAttribute("data-lazy-loaded",""),xh+=1}),v$6&&_h.tagName==="VIDEO"&&_h.setAttribute("playsinline",""),xh>0&&_h.load()});let ph=ah.slideBackgroundElement;if(ph){ph.style.display="block";let _h=ah.slideBackgroundContentElement,xh=ah.getAttribute("data-background-iframe");if(ph.hasAttribute("data-loaded")===!1){ph.setAttribute("data-loaded","true");let Uh=ah.getAttribute("data-background-image"),Fh=ah.getAttribute("data-background-video"),zh=ah.hasAttribute("data-background-video-loop"),n1=ah.hasAttribute("data-background-video-muted");if(Uh)/^data:/.test(Uh.trim())?_h.style.backgroundImage=`url(${Uh.trim()})`:_h.style.backgroundImage=Uh.split(",").map(t1=>`url(${encodeURI(t1.trim())})`).join(",");else if(Fh&&!this.Reveal.isSpeakerNotes()){let t1=document.createElement("video");zh&&t1.setAttribute("loop",""),n1&&(t1.muted=!0),v$6&&(t1.muted=!0,t1.setAttribute("playsinline","")),Fh.split(",").forEach(f1=>{let g1=((T1="")=>h$a[T1.split(".").pop()])(f1);t1.innerHTML+=g1?``:``}),_h.appendChild(t1)}else if(xh&&ch.excludeIframes!==!0){let t1=document.createElement("iframe");t1.setAttribute("allowfullscreen",""),t1.setAttribute("mozallowfullscreen",""),t1.setAttribute("webkitallowfullscreen",""),t1.setAttribute("allow","autoplay"),t1.setAttribute("data-src",xh),t1.style.width="100%",t1.style.height="100%",t1.style.maxHeight="100%",t1.style.maxWidth="100%",_h.appendChild(t1)}}let Oh=_h.querySelector("iframe[data-src]");Oh&&this.shouldPreload(ph)&&!/autoplay=(1|true|yes)/gi.test(xh)&&Oh.getAttribute("src")!==xh&&Oh.setAttribute("src",xh)}this.layout(ah)}layout(ah){Array.from(ah.querySelectorAll(".r-fit-text")).forEach(ch=>{w$6(ch,{minSize:24,maxSize:.8*this.Reveal.getConfig().height,observeMutations:!1,observeWindow:!1})})}unload(ah){ah.style.display="none";let ch=this.Reveal.getSlideBackground(ah);ch&&(ch.style.display="none",t$b(ch,"iframe[src]").forEach(ph=>{ph.removeAttribute("src")})),t$b(ah,"video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]").forEach(ph=>{ph.setAttribute("data-src",ph.getAttribute("src")),ph.removeAttribute("src")}),t$b(ah,"video[data-lazy-loaded] source[src], audio source[src]").forEach(ph=>{ph.setAttribute("data-src",ph.getAttribute("src")),ph.removeAttribute("src")})}formatEmbeddedContent(){let ah=(ch,ph,_h)=>{t$b(this.Reveal.getSlidesElement(),"iframe["+ch+'*="'+ph+'"]').forEach(xh=>{let Oh=xh.getAttribute(ch);Oh&&Oh.indexOf(_h)===-1&&xh.setAttribute(ch,Oh+(/\?/.test(Oh)?"&":"?")+_h)})};ah("src","youtube.com/embed/","enablejsapi=1"),ah("data-src","youtube.com/embed/","enablejsapi=1"),ah("src","player.vimeo.com/","api=1"),ah("data-src","player.vimeo.com/","api=1")}startEmbeddedContent(ah){ah&&!this.Reveal.isSpeakerNotes()&&(t$b(ah,'img[src$=".gif"]').forEach(ch=>{ch.setAttribute("src",ch.getAttribute("src"))}),t$b(ah,"video, audio").forEach(ch=>{if(r$f(ch,".fragment")&&!r$f(ch,".fragment.visible"))return;let ph=this.Reveal.getConfig().autoPlayMedia;if(typeof ph!="boolean"&&(ph=ch.hasAttribute("data-autoplay")||!!r$f(ch,".slide-background")),ph&&typeof ch.play=="function")if(ch.readyState>1)this.startEmbeddedMedia({target:ch});else if(v$6){let _h=ch.play();_h&&typeof _h.catch=="function"&&ch.controls===!1&&_h.catch(()=>{ch.controls=!0,ch.addEventListener("play",()=>{ch.controls=!1})})}else ch.removeEventListener("loadeddata",this.startEmbeddedMedia),ch.addEventListener("loadeddata",this.startEmbeddedMedia)}),t$b(ah,"iframe[src]").forEach(ch=>{r$f(ch,".fragment")&&!r$f(ch,".fragment.visible")||this.startEmbeddedIframe({target:ch})}),t$b(ah,"iframe[data-src]").forEach(ch=>{r$f(ch,".fragment")&&!r$f(ch,".fragment.visible")||ch.getAttribute("src")!==ch.getAttribute("data-src")&&(ch.removeEventListener("load",this.startEmbeddedIframe),ch.addEventListener("load",this.startEmbeddedIframe),ch.setAttribute("src",ch.getAttribute("data-src")))}))}startEmbeddedMedia(ah){let ch=!!r$f(ah.target,"html"),ph=!!r$f(ah.target,".present");ch&&ph&&(ah.target.currentTime=0,ah.target.play()),ah.target.removeEventListener("loadeddata",this.startEmbeddedMedia)}startEmbeddedIframe(ah){let ch=ah.target;if(ch&&ch.contentWindow){let ph=!!r$f(ah.target,"html"),_h=!!r$f(ah.target,".present");if(ph&&_h){let xh=this.Reveal.getConfig().autoPlayMedia;typeof xh!="boolean"&&(xh=ch.hasAttribute("data-autoplay")||!!r$f(ch,".slide-background")),/youtube\.com\/embed\//.test(ch.getAttribute("src"))&&xh?ch.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):/player\.vimeo\.com\//.test(ch.getAttribute("src"))&&xh?ch.contentWindow.postMessage('{"method":"play"}',"*"):ch.contentWindow.postMessage("slide:start","*")}}}stopEmbeddedContent(ah,ch={}){ch=e$j({unloadIframes:!0},ch),ah&&ah.parentNode&&(t$b(ah,"video, audio").forEach(ph=>{ph.hasAttribute("data-ignore")||typeof ph.pause!="function"||(ph.setAttribute("data-paused-by-reveal",""),ph.pause())}),t$b(ah,"iframe").forEach(ph=>{ph.contentWindow&&ph.contentWindow.postMessage("slide:stop","*"),ph.removeEventListener("load",this.startEmbeddedIframe)}),t$b(ah,'iframe[src*="youtube.com/embed/"]').forEach(ph=>{!ph.hasAttribute("data-ignore")&&ph.contentWindow&&typeof ph.contentWindow.postMessage=="function"&&ph.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),t$b(ah,'iframe[src*="player.vimeo.com/"]').forEach(ph=>{!ph.hasAttribute("data-ignore")&&ph.contentWindow&&typeof ph.contentWindow.postMessage=="function"&&ph.contentWindow.postMessage('{"method":"pause"}',"*")}),ch.unloadIframes===!0&&t$b(ah,"iframe[data-src]").forEach(ph=>{ph.setAttribute("src","about:blank"),ph.removeAttribute("src")}))}},R$5=class{constructor(ah){this.Reveal=ah}render(){this.element=document.createElement("div"),this.element.className="slide-number",this.Reveal.getRevealElement().appendChild(this.element)}configure(ah,ch){let ph="none";ah.slideNumber&&!this.Reveal.isPrintingPDF()&&(ah.showSlideNumber==="all"||ah.showSlideNumber==="speaker"&&this.Reveal.isSpeakerNotes())&&(ph="block"),this.element.style.display=ph}update(){this.Reveal.getConfig().slideNumber&&this.element&&(this.element.innerHTML=this.getSlideNumber())}getSlideNumber(ah=this.Reveal.getCurrentSlide()){let ch,ph=this.Reveal.getConfig(),_h="h.v";if(typeof ph.slideNumber=="function")ch=ph.slideNumber(ah);else{typeof ph.slideNumber=="string"&&(_h=ph.slideNumber),/c/.test(_h)||this.Reveal.getHorizontalSlides().length!==1||(_h="c");let Oh=ah&&ah.dataset.visibility==="uncounted"?0:1;switch(ch=[],_h){case"c":ch.push(this.Reveal.getSlidePastCount(ah)+Oh);break;case"c/t":ch.push(this.Reveal.getSlidePastCount(ah)+Oh,"/",this.Reveal.getTotalSlides());break;default:let Uh=this.Reveal.getIndices(ah);ch.push(Uh.h+Oh);let Fh=_h==="h/v"?"/":".";this.Reveal.isVerticalSlide(ah)&&ch.push(Fh,Uh.v+1)}}let xh="#"+this.Reveal.location.getHash(ah);return this.formatNumber(ch[0],ch[1],ch[2],xh)}formatNumber(ah,ch,ph,_h="#"+this.Reveal.location.getHash()){return typeof ph!="number"||isNaN(ph)?` +*/const e$j=(lh,ah)=>{for(let ch in ah)lh[ch]=ah[ch];return lh},t$b=(lh,ah)=>Array.from(lh.querySelectorAll(ah)),i$e=(lh,ah,ch)=>{ch?lh.classList.add(ah):lh.classList.remove(ah)},s$h=lh=>{if(typeof lh=="string"){if(lh==="null")return null;if(lh==="true")return!0;if(lh==="false")return!1;if(lh.match(/^-?[\d\.]+$/))return parseFloat(lh)}return lh},a$c=(lh,ah)=>{lh.style.transform=ah},n$k=(lh,ah)=>{let ch=lh.matches||lh.matchesSelector||lh.msMatchesSelector;return!(!ch||!ch.call(lh,ah))},r$f=(lh,ah)=>{if(typeof lh.closest=="function")return lh.closest(ah);for(;lh;){if(n$k(lh,ah))return lh;lh=lh.parentNode}return null},o$h=(lh,ah,ch,ph="")=>{let yh=lh.querySelectorAll("."+ch);for(let Oh=0;Oh{let ah=document.createElement("style");return ah.type="text/css",lh&&lh.length>0&&(ah.styleSheet?ah.styleSheet.cssText=lh:ah.appendChild(document.createTextNode(lh))),document.head.appendChild(ah),ah},d$7=()=>{let lh={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,ah=>{lh[ah.split("=").shift()]=ah.split("=").pop()});for(let ah in lh){let ch=lh[ah];lh[ah]=s$h(unescape(ch))}return lh.dependencies!==void 0&&delete lh.dependencies,lh},c$e=(lh,ah=0)=>{if(lh){let ch,ph=lh.style.height;return lh.style.height="0px",lh.parentNode.style.height="auto",ch=ah-lh.parentNode.offsetHeight,lh.style.height=ph+"px",lh.parentNode.style.removeProperty("height"),ch}return ah},h$a={mp4:"video/mp4",m4a:"video/mp4",ogv:"video/ogg",mpeg:"video/mpeg",webm:"video/webm"},u$a=navigator.userAgent,g$6=document.createElement("div"),v$6=/(iphone|ipod|ipad|android)/gi.test(u$a)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,p$7=/chrome/i.test(u$a)&&!/edge/i.test(u$a),m$7=/android/gi.test(u$a),f$9="zoom"in g$6.style&&!v$6&&(p$7||/Version\/[\d\.]+.*Safari/.test(u$a));var b$4={};Object.defineProperty(b$4,"__esModule",{value:!0});var y$8=Object.assign||function(lh){for(var ah=1;ah1&&arguments[1]!==void 0?arguments[1]:{};return typeof X0=="string"?ty(ah(document.querySelectorAll(X0)),uy):ty([X0],uy)[0]}}(typeof window>"u"?null:window);let E$5=class{constructor(ah){this.Reveal=ah,this.startEmbeddedIframe=this.startEmbeddedIframe.bind(this)}shouldPreload(ah){let ch=this.Reveal.getConfig().preloadIframes;return typeof ch!="boolean"&&(ch=ah.hasAttribute("data-preload")),ch}load(ah,ch={}){ah.style.display=this.Reveal.getConfig().display,t$b(ah,"img[data-src], video[data-src], audio[data-src], iframe[data-src]").forEach(yh=>{(yh.tagName!=="IFRAME"||this.shouldPreload(yh))&&(yh.setAttribute("src",yh.getAttribute("data-src")),yh.setAttribute("data-lazy-loaded",""),yh.removeAttribute("data-src"))}),t$b(ah,"video, audio").forEach(yh=>{let xh=0;t$b(yh,"source[data-src]").forEach(Oh=>{Oh.setAttribute("src",Oh.getAttribute("data-src")),Oh.removeAttribute("data-src"),Oh.setAttribute("data-lazy-loaded",""),xh+=1}),v$6&&yh.tagName==="VIDEO"&&yh.setAttribute("playsinline",""),xh>0&&yh.load()});let ph=ah.slideBackgroundElement;if(ph){ph.style.display="block";let yh=ah.slideBackgroundContentElement,xh=ah.getAttribute("data-background-iframe");if(ph.hasAttribute("data-loaded")===!1){ph.setAttribute("data-loaded","true");let Uh=ah.getAttribute("data-background-image"),Fh=ah.getAttribute("data-background-video"),zh=ah.hasAttribute("data-background-video-loop"),n1=ah.hasAttribute("data-background-video-muted");if(Uh)/^data:/.test(Uh.trim())?yh.style.backgroundImage=`url(${Uh.trim()})`:yh.style.backgroundImage=Uh.split(",").map(t1=>`url(${encodeURI(t1.trim())})`).join(",");else if(Fh&&!this.Reveal.isSpeakerNotes()){let t1=document.createElement("video");zh&&t1.setAttribute("loop",""),n1&&(t1.muted=!0),v$6&&(t1.muted=!0,t1.setAttribute("playsinline","")),Fh.split(",").forEach(f1=>{let g1=((T1="")=>h$a[T1.split(".").pop()])(f1);t1.innerHTML+=g1?``:``}),yh.appendChild(t1)}else if(xh&&ch.excludeIframes!==!0){let t1=document.createElement("iframe");t1.setAttribute("allowfullscreen",""),t1.setAttribute("mozallowfullscreen",""),t1.setAttribute("webkitallowfullscreen",""),t1.setAttribute("allow","autoplay"),t1.setAttribute("data-src",xh),t1.style.width="100%",t1.style.height="100%",t1.style.maxHeight="100%",t1.style.maxWidth="100%",yh.appendChild(t1)}}let Oh=yh.querySelector("iframe[data-src]");Oh&&this.shouldPreload(ph)&&!/autoplay=(1|true|yes)/gi.test(xh)&&Oh.getAttribute("src")!==xh&&Oh.setAttribute("src",xh)}this.layout(ah)}layout(ah){Array.from(ah.querySelectorAll(".r-fit-text")).forEach(ch=>{w$6(ch,{minSize:24,maxSize:.8*this.Reveal.getConfig().height,observeMutations:!1,observeWindow:!1})})}unload(ah){ah.style.display="none";let ch=this.Reveal.getSlideBackground(ah);ch&&(ch.style.display="none",t$b(ch,"iframe[src]").forEach(ph=>{ph.removeAttribute("src")})),t$b(ah,"video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]").forEach(ph=>{ph.setAttribute("data-src",ph.getAttribute("src")),ph.removeAttribute("src")}),t$b(ah,"video[data-lazy-loaded] source[src], audio source[src]").forEach(ph=>{ph.setAttribute("data-src",ph.getAttribute("src")),ph.removeAttribute("src")})}formatEmbeddedContent(){let ah=(ch,ph,yh)=>{t$b(this.Reveal.getSlidesElement(),"iframe["+ch+'*="'+ph+'"]').forEach(xh=>{let Oh=xh.getAttribute(ch);Oh&&Oh.indexOf(yh)===-1&&xh.setAttribute(ch,Oh+(/\?/.test(Oh)?"&":"?")+yh)})};ah("src","youtube.com/embed/","enablejsapi=1"),ah("data-src","youtube.com/embed/","enablejsapi=1"),ah("src","player.vimeo.com/","api=1"),ah("data-src","player.vimeo.com/","api=1")}startEmbeddedContent(ah){ah&&!this.Reveal.isSpeakerNotes()&&(t$b(ah,'img[src$=".gif"]').forEach(ch=>{ch.setAttribute("src",ch.getAttribute("src"))}),t$b(ah,"video, audio").forEach(ch=>{if(r$f(ch,".fragment")&&!r$f(ch,".fragment.visible"))return;let ph=this.Reveal.getConfig().autoPlayMedia;if(typeof ph!="boolean"&&(ph=ch.hasAttribute("data-autoplay")||!!r$f(ch,".slide-background")),ph&&typeof ch.play=="function")if(ch.readyState>1)this.startEmbeddedMedia({target:ch});else if(v$6){let yh=ch.play();yh&&typeof yh.catch=="function"&&ch.controls===!1&&yh.catch(()=>{ch.controls=!0,ch.addEventListener("play",()=>{ch.controls=!1})})}else ch.removeEventListener("loadeddata",this.startEmbeddedMedia),ch.addEventListener("loadeddata",this.startEmbeddedMedia)}),t$b(ah,"iframe[src]").forEach(ch=>{r$f(ch,".fragment")&&!r$f(ch,".fragment.visible")||this.startEmbeddedIframe({target:ch})}),t$b(ah,"iframe[data-src]").forEach(ch=>{r$f(ch,".fragment")&&!r$f(ch,".fragment.visible")||ch.getAttribute("src")!==ch.getAttribute("data-src")&&(ch.removeEventListener("load",this.startEmbeddedIframe),ch.addEventListener("load",this.startEmbeddedIframe),ch.setAttribute("src",ch.getAttribute("data-src")))}))}startEmbeddedMedia(ah){let ch=!!r$f(ah.target,"html"),ph=!!r$f(ah.target,".present");ch&&ph&&(ah.target.currentTime=0,ah.target.play()),ah.target.removeEventListener("loadeddata",this.startEmbeddedMedia)}startEmbeddedIframe(ah){let ch=ah.target;if(ch&&ch.contentWindow){let ph=!!r$f(ah.target,"html"),yh=!!r$f(ah.target,".present");if(ph&&yh){let xh=this.Reveal.getConfig().autoPlayMedia;typeof xh!="boolean"&&(xh=ch.hasAttribute("data-autoplay")||!!r$f(ch,".slide-background")),/youtube\.com\/embed\//.test(ch.getAttribute("src"))&&xh?ch.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):/player\.vimeo\.com\//.test(ch.getAttribute("src"))&&xh?ch.contentWindow.postMessage('{"method":"play"}',"*"):ch.contentWindow.postMessage("slide:start","*")}}}stopEmbeddedContent(ah,ch={}){ch=e$j({unloadIframes:!0},ch),ah&&ah.parentNode&&(t$b(ah,"video, audio").forEach(ph=>{ph.hasAttribute("data-ignore")||typeof ph.pause!="function"||(ph.setAttribute("data-paused-by-reveal",""),ph.pause())}),t$b(ah,"iframe").forEach(ph=>{ph.contentWindow&&ph.contentWindow.postMessage("slide:stop","*"),ph.removeEventListener("load",this.startEmbeddedIframe)}),t$b(ah,'iframe[src*="youtube.com/embed/"]').forEach(ph=>{!ph.hasAttribute("data-ignore")&&ph.contentWindow&&typeof ph.contentWindow.postMessage=="function"&&ph.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),t$b(ah,'iframe[src*="player.vimeo.com/"]').forEach(ph=>{!ph.hasAttribute("data-ignore")&&ph.contentWindow&&typeof ph.contentWindow.postMessage=="function"&&ph.contentWindow.postMessage('{"method":"pause"}',"*")}),ch.unloadIframes===!0&&t$b(ah,"iframe[data-src]").forEach(ph=>{ph.setAttribute("src","about:blank"),ph.removeAttribute("src")}))}},R$5=class{constructor(ah){this.Reveal=ah}render(){this.element=document.createElement("div"),this.element.className="slide-number",this.Reveal.getRevealElement().appendChild(this.element)}configure(ah,ch){let ph="none";ah.slideNumber&&!this.Reveal.isPrintingPDF()&&(ah.showSlideNumber==="all"||ah.showSlideNumber==="speaker"&&this.Reveal.isSpeakerNotes())&&(ph="block"),this.element.style.display=ph}update(){this.Reveal.getConfig().slideNumber&&this.element&&(this.element.innerHTML=this.getSlideNumber())}getSlideNumber(ah=this.Reveal.getCurrentSlide()){let ch,ph=this.Reveal.getConfig(),yh="h.v";if(typeof ph.slideNumber=="function")ch=ph.slideNumber(ah);else{typeof ph.slideNumber=="string"&&(yh=ph.slideNumber),/c/.test(yh)||this.Reveal.getHorizontalSlides().length!==1||(yh="c");let Oh=ah&&ah.dataset.visibility==="uncounted"?0:1;switch(ch=[],yh){case"c":ch.push(this.Reveal.getSlidePastCount(ah)+Oh);break;case"c/t":ch.push(this.Reveal.getSlidePastCount(ah)+Oh,"/",this.Reveal.getTotalSlides());break;default:let Uh=this.Reveal.getIndices(ah);ch.push(Uh.h+Oh);let Fh=yh==="h/v"?"/":".";this.Reveal.isVerticalSlide(ah)&&ch.push(Fh,Uh.v+1)}}let xh="#"+this.Reveal.location.getHash(ah);return this.formatNumber(ch[0],ch[1],ch[2],xh)}formatNumber(ah,ch,ph,yh="#"+this.Reveal.location.getHash()){return typeof ph!="number"||isNaN(ph)?` ${ah} - `:` + `:` ${ah} ${ch} ${ph} - `}destroy(){this.element.remove()}};const S$7=lh=>{let ah=lh.match(/^#([0-9a-f]{3})$/i);if(ah&&ah[1])return ah=ah[1],{r:17*parseInt(ah.charAt(0),16),g:17*parseInt(ah.charAt(1),16),b:17*parseInt(ah.charAt(2),16)};let ch=lh.match(/^#([0-9a-f]{6})$/i);if(ch&&ch[1])return ch=ch[1],{r:parseInt(ch.slice(0,2),16),g:parseInt(ch.slice(2,4),16),b:parseInt(ch.slice(4,6),16)};let ph=lh.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(ph)return{r:parseInt(ph[1],10),g:parseInt(ph[2],10),b:parseInt(ph[3],10)};let _h=lh.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return _h?{r:parseInt(_h[1],10),g:parseInt(_h[2],10),b:parseInt(_h[3],10),a:parseFloat(_h[4])}:null};let A$7=class{constructor(ah){this.Reveal=ah}render(){this.element=document.createElement("div"),this.element.className="backgrounds",this.Reveal.getRevealElement().appendChild(this.element)}create(){this.element.innerHTML="",this.element.classList.add("no-transition"),this.Reveal.getHorizontalSlides().forEach(ah=>{let ch=this.createBackground(ah,this.element);t$b(ah,"section").forEach(ph=>{this.createBackground(ph,ch),ch.classList.add("stack")})}),this.Reveal.getConfig().parallaxBackgroundImage?(this.element.style.backgroundImage='url("'+this.Reveal.getConfig().parallaxBackgroundImage+'")',this.element.style.backgroundSize=this.Reveal.getConfig().parallaxBackgroundSize,this.element.style.backgroundRepeat=this.Reveal.getConfig().parallaxBackgroundRepeat,this.element.style.backgroundPosition=this.Reveal.getConfig().parallaxBackgroundPosition,setTimeout(()=>{this.Reveal.getRevealElement().classList.add("has-parallax-background")},1)):(this.element.style.backgroundImage="",this.Reveal.getRevealElement().classList.remove("has-parallax-background"))}createBackground(ah,ch){let ph=document.createElement("div");ph.className="slide-background "+ah.className.replace(/present|past|future/,"");let _h=document.createElement("div");return _h.className="slide-background-content",ph.appendChild(_h),ch.appendChild(ph),ah.slideBackgroundElement=ph,ah.slideBackgroundContentElement=_h,this.sync(ah),ph}sync(ah){const ch=ah.slideBackgroundElement,ph=ah.slideBackgroundContentElement,_h={background:ah.getAttribute("data-background"),backgroundSize:ah.getAttribute("data-background-size"),backgroundImage:ah.getAttribute("data-background-image"),backgroundVideo:ah.getAttribute("data-background-video"),backgroundIframe:ah.getAttribute("data-background-iframe"),backgroundColor:ah.getAttribute("data-background-color"),backgroundRepeat:ah.getAttribute("data-background-repeat"),backgroundPosition:ah.getAttribute("data-background-position"),backgroundTransition:ah.getAttribute("data-background-transition"),backgroundOpacity:ah.getAttribute("data-background-opacity")},xh=ah.hasAttribute("data-preload");ah.classList.remove("has-dark-background"),ah.classList.remove("has-light-background"),ch.removeAttribute("data-loaded"),ch.removeAttribute("data-background-hash"),ch.removeAttribute("data-background-size"),ch.removeAttribute("data-background-transition"),ch.style.backgroundColor="",ph.style.backgroundSize="",ph.style.backgroundRepeat="",ph.style.backgroundPosition="",ph.style.backgroundImage="",ph.style.opacity="",ph.innerHTML="",_h.background&&(/^(http|file|\/\/)/gi.test(_h.background)||/\.(svg|png|jpg|jpeg|gif|bmp)([?#\s]|$)/gi.test(_h.background)?ah.setAttribute("data-background-image",_h.background):ch.style.background=_h.background),(_h.background||_h.backgroundColor||_h.backgroundImage||_h.backgroundVideo||_h.backgroundIframe)&&ch.setAttribute("data-background-hash",_h.background+_h.backgroundSize+_h.backgroundImage+_h.backgroundVideo+_h.backgroundIframe+_h.backgroundColor+_h.backgroundRepeat+_h.backgroundPosition+_h.backgroundTransition+_h.backgroundOpacity),_h.backgroundSize&&ch.setAttribute("data-background-size",_h.backgroundSize),_h.backgroundColor&&(ch.style.backgroundColor=_h.backgroundColor),_h.backgroundTransition&&ch.setAttribute("data-background-transition",_h.backgroundTransition),xh&&ch.setAttribute("data-preload",""),_h.backgroundSize&&(ph.style.backgroundSize=_h.backgroundSize),_h.backgroundRepeat&&(ph.style.backgroundRepeat=_h.backgroundRepeat),_h.backgroundPosition&&(ph.style.backgroundPosition=_h.backgroundPosition),_h.backgroundOpacity&&(ph.style.opacity=_h.backgroundOpacity);let Oh=_h.backgroundColor;if(!Oh||!S$7(Oh)){let Fh=window.getComputedStyle(ch);Fh&&Fh.backgroundColor&&(Oh=Fh.backgroundColor)}if(Oh){const Fh=S$7(Oh);Fh&&Fh.a!==0&&(typeof(Uh=Oh)=="string"&&(Uh=S$7(Uh)),(Uh?(299*Uh.r+587*Uh.g+114*Uh.b)/1e3:null)<128?ah.classList.add("has-dark-background"):ah.classList.add("has-light-background"))}var Uh}update(ah=!1){let ch=this.Reveal.getCurrentSlide(),ph=this.Reveal.getIndices(),_h=null,xh=this.Reveal.getConfig().rtl?"future":"past",Oh=this.Reveal.getConfig().rtl?"past":"future";if(Array.from(this.element.childNodes).forEach((Uh,Fh)=>{Uh.classList.remove("past","present","future"),Fhph.h?Uh.classList.add(Oh):(Uh.classList.add("present"),_h=Uh),(ah||Fh===ph.h)&&t$b(Uh,".slide-background").forEach((zh,n1)=>{zh.classList.remove("past","present","future"),n1ph.v?zh.classList.add("future"):(zh.classList.add("present"),Fh===ph.h&&(_h=zh))})}),this.previousBackground&&this.Reveal.slideContent.stopEmbeddedContent(this.previousBackground,{unloadIframes:!this.Reveal.slideContent.shouldPreload(this.previousBackground)}),_h){this.Reveal.slideContent.startEmbeddedContent(_h);let Uh=_h.querySelector(".slide-background-content");if(Uh){let n1=Uh.style.backgroundImage||"";/\.gif/i.test(n1)&&(Uh.style.backgroundImage="",window.getComputedStyle(Uh).opacity,Uh.style.backgroundImage=n1)}let Fh=this.previousBackground?this.previousBackground.getAttribute("data-background-hash"):null,zh=_h.getAttribute("data-background-hash");zh&&zh===Fh&&_h!==this.previousBackground&&this.element.classList.add("no-transition"),this.previousBackground=_h}ch&&["has-light-background","has-dark-background"].forEach(Uh=>{ch.classList.contains(Uh)?this.Reveal.getRevealElement().classList.add(Uh):this.Reveal.getRevealElement().classList.remove(Uh)},this),setTimeout(()=>{this.element.classList.remove("no-transition")},1)}updateParallax(){let ah=this.Reveal.getIndices();if(this.Reveal.getConfig().parallaxBackgroundImage){let ch,ph,_h=this.Reveal.getHorizontalSlides(),xh=this.Reveal.getVerticalSlides(),Oh=this.element.style.backgroundSize.split(" ");Oh.length===1?ch=ph=parseInt(Oh[0],10):(ch=parseInt(Oh[0],10),ph=parseInt(Oh[1],10));let Uh,Fh,zh=this.element.offsetWidth,n1=_h.length;Uh=typeof this.Reveal.getConfig().parallaxBackgroundHorizontal=="number"?this.Reveal.getConfig().parallaxBackgroundHorizontal:n1>1?(ch-zh)/(n1-1):0,Fh=Uh*ah.h*-1;let t1,f1,g1=this.element.offsetHeight,T1=xh.length;t1=typeof this.Reveal.getConfig().parallaxBackgroundVertical=="number"?this.Reveal.getConfig().parallaxBackgroundVertical:(ph-g1)/(T1-1),f1=T1>0?t1*ah.v:0,this.element.style.backgroundPosition=Fh+"px "+-f1+"px"}}destroy(){this.element.remove()}};const k$5=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/,L$5=/fade-(down|up|right|left|out|in-then-out|in-then-semi-out)|semi-fade-out|current-visible|shrink|grow/;let C$5=0,x$8=class{constructor(ah){this.Reveal=ah}run(ah,ch){this.reset();let ph=this.Reveal.getSlides(),_h=ph.indexOf(ch),xh=ph.indexOf(ah);if(ah.hasAttribute("data-auto-animate")&&ch.hasAttribute("data-auto-animate")&&ah.getAttribute("data-auto-animate-id")===ch.getAttribute("data-auto-animate-id")&&!(_h>xh?ch:ah).hasAttribute("data-auto-animate-restart")){this.autoAnimateStyleSheet=this.autoAnimateStyleSheet||l$d();let Oh=this.getAutoAnimateOptions(ch);ah.dataset.autoAnimate="pending",ch.dataset.autoAnimate="pending",Oh.slideDirection=_h>xh?"forward":"backward";let Uh=this.getAutoAnimatableElements(ah,ch).map(Fh=>this.autoAnimateElements(Fh.from,Fh.to,Fh.options||{},Oh,C$5++));if(ch.dataset.autoAnimateUnmatched!=="false"&&this.Reveal.getConfig().autoAnimateUnmatched===!0){let Fh=.8*Oh.duration,zh=.2*Oh.duration;this.getUnmatchedAutoAnimateElements(ch).forEach(n1=>{let t1=this.getAutoAnimateOptions(n1,Oh),f1="unmatched";t1.duration===Oh.duration&&t1.delay===Oh.delay||(f1="unmatched-"+C$5++,Uh.push(`[data-auto-animate="running"] [data-auto-animate-target="${f1}"] { transition: opacity ${t1.duration}s ease ${t1.delay}s; }`)),n1.dataset.autoAnimateTarget=f1},this),Uh.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${Fh}s ease ${zh}s; }`)}this.autoAnimateStyleSheet.innerHTML=Uh.join(""),requestAnimationFrame(()=>{this.autoAnimateStyleSheet&&(getComputedStyle(this.autoAnimateStyleSheet).fontWeight,ch.dataset.autoAnimate="running")}),this.Reveal.dispatchEvent({type:"autoanimate",data:{fromSlide:ah,toSlide:ch,sheet:this.autoAnimateStyleSheet}})}}reset(){t$b(this.Reveal.getRevealElement(),'[data-auto-animate]:not([data-auto-animate=""])').forEach(ah=>{ah.dataset.autoAnimate=""}),t$b(this.Reveal.getRevealElement(),"[data-auto-animate-target]").forEach(ah=>{delete ah.dataset.autoAnimateTarget}),this.autoAnimateStyleSheet&&this.autoAnimateStyleSheet.parentNode&&(this.autoAnimateStyleSheet.parentNode.removeChild(this.autoAnimateStyleSheet),this.autoAnimateStyleSheet=null)}autoAnimateElements(ah,ch,ph,_h,xh){ah.dataset.autoAnimateTarget="",ch.dataset.autoAnimateTarget=xh;let Oh=this.getAutoAnimateOptions(ch,_h);ph.delay!==void 0&&(Oh.delay=ph.delay),ph.duration!==void 0&&(Oh.duration=ph.duration),ph.easing!==void 0&&(Oh.easing=ph.easing);let Uh=this.getAutoAnimatableProperties("from",ah,ph),Fh=this.getAutoAnimatableProperties("to",ch,ph);if(ch.classList.contains("fragment")&&(delete Fh.styles.opacity,ah.classList.contains("fragment"))&&(ah.className.match(L$5)||[""])[0]===(ch.className.match(L$5)||[""])[0]&&_h.slideDirection==="forward"&&ch.classList.add("visible","disabled"),ph.translate!==!1||ph.scale!==!1){let t1=this.Reveal.getScale(),f1={x:(Uh.x-Fh.x)/t1,y:(Uh.y-Fh.y)/t1,scaleX:Uh.width/Fh.width,scaleY:Uh.height/Fh.height};f1.x=Math.round(1e3*f1.x)/1e3,f1.y=Math.round(1e3*f1.y)/1e3,f1.scaleX=Math.round(1e3*f1.scaleX)/1e3,f1.scaleX=Math.round(1e3*f1.scaleX)/1e3;let g1=ph.translate!==!1&&(f1.x!==0||f1.y!==0),T1=ph.scale!==!1&&(f1.scaleX!==0||f1.scaleY!==0);if(g1||T1){let V1=[];g1&&V1.push(`translate(${f1.x}px, ${f1.y}px)`),T1&&V1.push(`scale(${f1.scaleX}, ${f1.scaleY})`),Uh.styles.transform=V1.join(" "),Uh.styles["transform-origin"]="top left",Fh.styles.transform="none"}}for(let t1 in Fh.styles){const f1=Fh.styles[t1],g1=Uh.styles[t1];f1===g1?delete Fh.styles[t1]:(f1.explicitValue===!0&&(Fh.styles[t1]=f1.value),g1.explicitValue===!0&&(Uh.styles[t1]=g1.value))}let zh="",n1=Object.keys(Fh.styles);return n1.length>0&&(Uh.styles.transition="none",Fh.styles.transition=`all ${Oh.duration}s ${Oh.easing} ${Oh.delay}s`,Fh.styles["transition-property"]=n1.join(", "),Fh.styles["will-change"]=n1.join(", "),zh='[data-auto-animate-target="'+xh+'"] {'+Object.keys(Uh.styles).map(t1=>t1+": "+Uh.styles[t1]+" !important;").join("")+'}[data-auto-animate="running"] [data-auto-animate-target="'+xh+'"] {'+Object.keys(Fh.styles).map(t1=>t1+": "+Fh.styles[t1]+" !important;").join("")+"}"),zh}getAutoAnimateOptions(ah,ch){let ph={easing:this.Reveal.getConfig().autoAnimateEasing,duration:this.Reveal.getConfig().autoAnimateDuration,delay:0};if(ph=e$j(ph,ch),ah.parentNode){let _h=r$f(ah.parentNode,"[data-auto-animate-target]");_h&&(ph=this.getAutoAnimateOptions(_h,ph))}return ah.dataset.autoAnimateEasing&&(ph.easing=ah.dataset.autoAnimateEasing),ah.dataset.autoAnimateDuration&&(ph.duration=parseFloat(ah.dataset.autoAnimateDuration)),ah.dataset.autoAnimateDelay&&(ph.delay=parseFloat(ah.dataset.autoAnimateDelay)),ph}getAutoAnimatableProperties(ah,ch,ph){let _h=this.Reveal.getConfig(),xh={styles:[]};if(ph.translate!==!1||ph.scale!==!1){let Uh;if(typeof ph.measure=="function")Uh=ph.measure(ch);else if(_h.center)Uh=ch.getBoundingClientRect();else{let Fh=this.Reveal.getScale();Uh={x:ch.offsetLeft*Fh,y:ch.offsetTop*Fh,width:ch.offsetWidth*Fh,height:ch.offsetHeight*Fh}}xh.x=Uh.x,xh.y=Uh.y,xh.width=Uh.width,xh.height=Uh.height}const Oh=getComputedStyle(ch);return(ph.styles||_h.autoAnimateStyles).forEach(Uh=>{let Fh;typeof Uh=="string"&&(Uh={property:Uh}),Fh=Uh.from!==void 0&&ah==="from"?{value:Uh.from,explicitValue:!0}:Uh.to!==void 0&&ah==="to"?{value:Uh.to,explicitValue:!0}:Oh[Uh.property],Fh!==""&&(xh.styles[Uh.property]=Fh)}),xh}getAutoAnimatableElements(ah,ch){let ph=(typeof this.Reveal.getConfig().autoAnimateMatcher=="function"?this.Reveal.getConfig().autoAnimateMatcher:this.getAutoAnimatePairs).call(this,ah,ch),_h=[];return ph.filter((xh,Oh)=>{if(_h.indexOf(xh.to)===-1)return _h.push(xh.to),!0})}getAutoAnimatePairs(ah,ch){let ph=[];const _h="h1, h2, h3, h4, h5, h6, p, li";return this.findAutoAnimateMatches(ph,ah,ch,"[data-id]",xh=>xh.nodeName+":::"+xh.getAttribute("data-id")),this.findAutoAnimateMatches(ph,ah,ch,_h,xh=>xh.nodeName+":::"+xh.innerText),this.findAutoAnimateMatches(ph,ah,ch,"img, video, iframe",xh=>xh.nodeName+":::"+(xh.getAttribute("src")||xh.getAttribute("data-src"))),this.findAutoAnimateMatches(ph,ah,ch,"pre",xh=>xh.nodeName+":::"+xh.innerText),ph.forEach(xh=>{n$k(xh.from,_h)?xh.options={scale:!1}:n$k(xh.from,"pre")&&(xh.options={scale:!1,styles:["width","height"]},this.findAutoAnimateMatches(ph,xh.from,xh.to,".hljs .hljs-ln-code",Oh=>Oh.textContent,{scale:!1,styles:[],measure:this.getLocalBoundingBox.bind(this)}),this.findAutoAnimateMatches(ph,xh.from,xh.to,".hljs .hljs-ln-line[data-line-number]",Oh=>Oh.getAttribute("data-line-number"),{scale:!1,styles:["width"],measure:this.getLocalBoundingBox.bind(this)}))},this),ph}getLocalBoundingBox(ah){const ch=this.Reveal.getScale();return{x:Math.round(ah.offsetLeft*ch*100)/100,y:Math.round(ah.offsetTop*ch*100)/100,width:Math.round(ah.offsetWidth*ch*100)/100,height:Math.round(ah.offsetHeight*ch*100)/100}}findAutoAnimateMatches(ah,ch,ph,_h,xh,Oh){let Uh={},Fh={};[].slice.call(ch.querySelectorAll(_h)).forEach((zh,n1)=>{const t1=xh(zh);typeof t1=="string"&&t1.length&&(Uh[t1]=Uh[t1]||[],Uh[t1].push(zh))}),[].slice.call(ph.querySelectorAll(_h)).forEach((zh,n1)=>{const t1=xh(zh);let f1;if(Fh[t1]=Fh[t1]||[],Fh[t1].push(zh),Uh[t1]){const g1=Fh[t1].length-1,T1=Uh[t1].length-1;Uh[t1][g1]?(f1=Uh[t1][g1],Uh[t1][g1]=null):Uh[t1][T1]&&(f1=Uh[t1][T1],Uh[t1][T1]=null)}f1&&ah.push({from:f1,to:zh,options:Oh})})}getUnmatchedAutoAnimateElements(ah){return[].slice.call(ah.children).reduce((ch,ph)=>{const _h=ph.querySelector("[data-auto-animate-target]");return ph.hasAttribute("data-auto-animate-target")||_h||ch.push(ph),ph.querySelector("[data-auto-animate-target]")&&(ch=ch.concat(this.getUnmatchedAutoAnimateElements(ph))),ch},[])}},P$5=class{constructor(ah){this.Reveal=ah}configure(ah,ch){ah.fragments===!1?this.disable():ch.fragments===!1&&this.enable()}disable(){t$b(this.Reveal.getSlidesElement(),".fragment").forEach(ah=>{ah.classList.add("visible"),ah.classList.remove("current-fragment")})}enable(){t$b(this.Reveal.getSlidesElement(),".fragment").forEach(ah=>{ah.classList.remove("visible"),ah.classList.remove("current-fragment")})}availableRoutes(){let ah=this.Reveal.getCurrentSlide();if(ah&&this.Reveal.getConfig().fragments){let ch=ah.querySelectorAll(".fragment:not(.disabled)"),ph=ah.querySelectorAll(".fragment:not(.disabled):not(.visible)");return{prev:ch.length-ph.length>0,next:!!ph.length}}return{prev:!1,next:!1}}sort(ah,ch=!1){ah=Array.from(ah);let ph=[],_h=[],xh=[];ah.forEach(Uh=>{if(Uh.hasAttribute("data-fragment-index")){let Fh=parseInt(Uh.getAttribute("data-fragment-index"),10);ph[Fh]||(ph[Fh]=[]),ph[Fh].push(Uh)}else _h.push([Uh])}),ph=ph.concat(_h);let Oh=0;return ph.forEach(Uh=>{Uh.forEach(Fh=>{xh.push(Fh),Fh.setAttribute("data-fragment-index",Oh)}),Oh++}),ch===!0?ph:xh}sortAll(){this.Reveal.getHorizontalSlides().forEach(ah=>{let ch=t$b(ah,"section");ch.forEach((ph,_h)=>{this.sort(ph.querySelectorAll(".fragment"))},this),ch.length===0&&this.sort(ah.querySelectorAll(".fragment"))})}update(ah,ch){let ph={shown:[],hidden:[]},_h=this.Reveal.getCurrentSlide();if(_h&&this.Reveal.getConfig().fragments&&(ch=ch||this.sort(_h.querySelectorAll(".fragment"))).length){let xh=0;if(typeof ah!="number"){let Oh=this.sort(_h.querySelectorAll(".fragment.visible")).pop();Oh&&(ah=parseInt(Oh.getAttribute("data-fragment-index")||0,10))}Array.from(ch).forEach((Oh,Uh)=>{if(Oh.hasAttribute("data-fragment-index")&&(Uh=parseInt(Oh.getAttribute("data-fragment-index"),10)),xh=Math.max(xh,Uh),Uh<=ah){let Fh=Oh.classList.contains("visible");Oh.classList.add("visible"),Oh.classList.remove("current-fragment"),Uh===ah&&(this.Reveal.announceStatus(this.Reveal.getStatusText(Oh)),Oh.classList.add("current-fragment"),this.Reveal.slideContent.startEmbeddedContent(Oh)),Fh||(ph.shown.push(Oh),this.Reveal.dispatchEvent({target:Oh,type:"visible",bubbles:!1}))}else{let Fh=Oh.classList.contains("visible");Oh.classList.remove("visible"),Oh.classList.remove("current-fragment"),Fh&&(this.Reveal.slideContent.stopEmbeddedContent(Oh),ph.hidden.push(Oh),this.Reveal.dispatchEvent({target:Oh,type:"hidden",bubbles:!1}))}}),ah=typeof ah=="number"?ah:-1,ah=Math.max(Math.min(ah,xh),-1),_h.setAttribute("data-fragment",ah)}return ph}sync(ah=this.Reveal.getCurrentSlide()){return this.sort(ah.querySelectorAll(".fragment"))}goto(ah,ch=0){let ph=this.Reveal.getCurrentSlide();if(ph&&this.Reveal.getConfig().fragments){let _h=this.sort(ph.querySelectorAll(".fragment:not(.disabled)"));if(_h.length){if(typeof ah!="number"){let Oh=this.sort(ph.querySelectorAll(".fragment:not(.disabled).visible")).pop();ah=Oh?parseInt(Oh.getAttribute("data-fragment-index")||0,10):-1}ah+=ch;let xh=this.update(ah,_h);return xh.hidden.length&&this.Reveal.dispatchEvent({type:"fragmenthidden",data:{fragment:xh.hidden[0],fragments:xh.hidden}}),xh.shown.length&&this.Reveal.dispatchEvent({type:"fragmentshown",data:{fragment:xh.shown[0],fragments:xh.shown}}),this.Reveal.controls.update(),this.Reveal.progress.update(),this.Reveal.getConfig().fragmentInURL&&this.Reveal.location.writeURL(),!(!xh.shown.length&&!xh.hidden.length)}}return!1}next(){return this.goto(null,1)}prev(){return this.goto(null,-1)}},N$6=class{constructor(ah){this.Reveal=ah,this.active=!1,this.onSlideClicked=this.onSlideClicked.bind(this)}activate(){if(this.Reveal.getConfig().overview&&!this.isActive()){this.active=!0,this.Reveal.getRevealElement().classList.add("overview"),this.Reveal.cancelAutoSlide(),this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()),t$b(this.Reveal.getRevealElement(),".slides section").forEach(_h=>{_h.classList.contains("stack")||_h.addEventListener("click",this.onSlideClicked,!0)});const ah=70,ch=this.Reveal.getComputedSlideSize();this.overviewSlideWidth=ch.width+ah,this.overviewSlideHeight=ch.height+ah,this.Reveal.getConfig().rtl&&(this.overviewSlideWidth=-this.overviewSlideWidth),this.Reveal.updateSlidesVisibility(),this.layout(),this.update(),this.Reveal.layout();const ph=this.Reveal.getIndices();this.Reveal.dispatchEvent({type:"overviewshown",data:{indexh:ph.h,indexv:ph.v,currentSlide:this.Reveal.getCurrentSlide()}})}}layout(){this.Reveal.getHorizontalSlides().forEach((ah,ch)=>{ah.setAttribute("data-index-h",ch),a$c(ah,"translate3d("+ch*this.overviewSlideWidth+"px, 0, 0)"),ah.classList.contains("stack")&&t$b(ah,"section").forEach((ph,_h)=>{ph.setAttribute("data-index-h",ch),ph.setAttribute("data-index-v",_h),a$c(ph,"translate3d(0, "+_h*this.overviewSlideHeight+"px, 0)")})}),Array.from(this.Reveal.getBackgroundsElement().childNodes).forEach((ah,ch)=>{a$c(ah,"translate3d("+ch*this.overviewSlideWidth+"px, 0, 0)"),t$b(ah,".slide-background").forEach((ph,_h)=>{a$c(ph,"translate3d(0, "+_h*this.overviewSlideHeight+"px, 0)")})})}update(){const ah=Math.min(window.innerWidth,window.innerHeight),ch=Math.max(ah/5,150)/ah,ph=this.Reveal.getIndices();this.Reveal.transformSlides({overview:["scale("+ch+")","translateX("+-ph.h*this.overviewSlideWidth+"px)","translateY("+-ph.v*this.overviewSlideHeight+"px)"].join(" ")})}deactivate(){if(this.Reveal.getConfig().overview){this.active=!1,this.Reveal.getRevealElement().classList.remove("overview"),this.Reveal.getRevealElement().classList.add("overview-deactivating"),setTimeout(()=>{this.Reveal.getRevealElement().classList.remove("overview-deactivating")},1),this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()),t$b(this.Reveal.getRevealElement(),".slides section").forEach(ch=>{a$c(ch,""),ch.removeEventListener("click",this.onSlideClicked,!0)}),t$b(this.Reveal.getBackgroundsElement(),".slide-background").forEach(ch=>{a$c(ch,"")}),this.Reveal.transformSlides({overview:""});const ah=this.Reveal.getIndices();this.Reveal.slide(ah.h,ah.v),this.Reveal.layout(),this.Reveal.cueAutoSlide(),this.Reveal.dispatchEvent({type:"overviewhidden",data:{indexh:ah.h,indexv:ah.v,currentSlide:this.Reveal.getCurrentSlide()}})}}toggle(ah){typeof ah=="boolean"?ah?this.activate():this.deactivate():this.isActive()?this.deactivate():this.activate()}isActive(){return this.active}onSlideClicked(ah){if(this.isActive()){ah.preventDefault();let ch=ah.target;for(;ch&&!ch.nodeName.match(/section/gi);)ch=ch.parentNode;if(ch&&!ch.classList.contains("disabled")&&(this.deactivate(),ch.nodeName.match(/section/gi))){let ph=parseInt(ch.getAttribute("data-index-h"),10),_h=parseInt(ch.getAttribute("data-index-v"),10);this.Reveal.slide(ph,_h)}}}},M$5=class{constructor(ah){this.Reveal=ah,this.shortcuts={},this.bindings={},this.onDocumentKeyDown=this.onDocumentKeyDown.bind(this),this.onDocumentKeyPress=this.onDocumentKeyPress.bind(this)}configure(ah,ch){ah.navigationMode==="linear"?(this.shortcuts["→ , ↓ , SPACE , N , L , J"]="Next slide",this.shortcuts["← , ↑ , P , H , K"]="Previous slide"):(this.shortcuts["N , SPACE"]="Next slide",this.shortcuts["P , Shift SPACE"]="Previous slide",this.shortcuts["← , H"]="Navigate left",this.shortcuts["→ , L"]="Navigate right",this.shortcuts["↑ , K"]="Navigate up",this.shortcuts["↓ , J"]="Navigate down"),this.shortcuts["Alt + ←/↑/→/↓"]="Navigate without fragments",this.shortcuts["Shift + ←/↑/→/↓"]="Jump to first/last slide",this.shortcuts["B , ."]="Pause",this.shortcuts.F="Fullscreen",this.shortcuts["ESC, O"]="Slide overview"}bind(){document.addEventListener("keydown",this.onDocumentKeyDown,!1),document.addEventListener("keypress",this.onDocumentKeyPress,!1)}unbind(){document.removeEventListener("keydown",this.onDocumentKeyDown,!1),document.removeEventListener("keypress",this.onDocumentKeyPress,!1)}addKeyBinding(ah,ch){typeof ah=="object"&&ah.keyCode?this.bindings[ah.keyCode]={callback:ch,key:ah.key,description:ah.description}:this.bindings[ah]={callback:ch,key:null,description:null}}removeKeyBinding(ah){delete this.bindings[ah]}triggerKey(ah){this.onDocumentKeyDown({keyCode:ah})}registerKeyboardShortcut(ah,ch){this.shortcuts[ah]=ch}getShortcuts(){return this.shortcuts}getBindings(){return this.bindings}onDocumentKeyPress(ah){ah.shiftKey&&ah.charCode===63&&this.Reveal.toggleHelp()}onDocumentKeyDown(ah){let ch=this.Reveal.getConfig();if(typeof ch.keyboardCondition=="function"&&ch.keyboardCondition(ah)===!1||ch.keyboardCondition==="focused"&&!this.Reveal.isFocused())return!0;let ph=ah.keyCode,_h=!this.Reveal.isAutoSliding();this.Reveal.onUserInput(ah);let xh=document.activeElement&&document.activeElement.isContentEditable===!0,Oh=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName),Uh=document.activeElement&&document.activeElement.className&&/speaker-notes/i.test(document.activeElement.className),Fh=!([32,37,38,39,40,78,80].indexOf(ah.keyCode)!==-1&&ah.shiftKey||ah.altKey)&&(ah.shiftKey||ah.altKey||ah.ctrlKey||ah.metaKey);if(xh||Oh||Uh||Fh)return;let zh,n1=[66,86,190,191];if(typeof ch.keyboard=="object")for(zh in ch.keyboard)ch.keyboard[zh]==="togglePause"&&n1.push(parseInt(zh,10));if(this.Reveal.isPaused()&&n1.indexOf(ph)===-1)return!1;let t1=ch.navigationMode==="linear"||!this.Reveal.hasHorizontalSlides()||!this.Reveal.hasVerticalSlides(),f1=!1;if(typeof ch.keyboard=="object"){for(zh in ch.keyboard)if(parseInt(zh,10)===ph){let g1=ch.keyboard[zh];typeof g1=="function"?g1.apply(null,[ah]):typeof g1=="string"&&typeof this.Reveal[g1]=="function"&&this.Reveal[g1].call(),f1=!0}}if(f1===!1){for(zh in this.bindings)if(parseInt(zh,10)===ph){let g1=this.bindings[zh].callback;typeof g1=="function"?g1.apply(null,[ah]):typeof g1=="string"&&typeof this.Reveal[g1]=="function"&&this.Reveal[g1].call(),f1=!0}}f1===!1&&(f1=!0,ph===80||ph===33?this.Reveal.prev({skipFragments:ah.altKey}):ph===78||ph===34?this.Reveal.next({skipFragments:ah.altKey}):ph===72||ph===37?ah.shiftKey?this.Reveal.slide(0):!this.Reveal.overview.isActive()&&t1?this.Reveal.prev({skipFragments:ah.altKey}):this.Reveal.left({skipFragments:ah.altKey}):ph===76||ph===39?ah.shiftKey?this.Reveal.slide(this.Reveal.getHorizontalSlides().length-1):!this.Reveal.overview.isActive()&&t1?this.Reveal.next({skipFragments:ah.altKey}):this.Reveal.right({skipFragments:ah.altKey}):ph===75||ph===38?ah.shiftKey?this.Reveal.slide(void 0,0):!this.Reveal.overview.isActive()&&t1?this.Reveal.prev({skipFragments:ah.altKey}):this.Reveal.up({skipFragments:ah.altKey}):ph===74||ph===40?ah.shiftKey?this.Reveal.slide(void 0,Number.MAX_VALUE):!this.Reveal.overview.isActive()&&t1?this.Reveal.next({skipFragments:ah.altKey}):this.Reveal.down({skipFragments:ah.altKey}):ph===36?this.Reveal.slide(0):ph===35?this.Reveal.slide(this.Reveal.getHorizontalSlides().length-1):ph===32?(this.Reveal.overview.isActive()&&this.Reveal.overview.deactivate(),ah.shiftKey?this.Reveal.prev({skipFragments:ah.altKey}):this.Reveal.next({skipFragments:ah.altKey})):ph===58||ph===59||ph===66||ph===86||ph===190||ph===191?this.Reveal.togglePause():ph===70?(g1=>{let T1=(g1=g1||document.documentElement).requestFullscreen||g1.webkitRequestFullscreen||g1.webkitRequestFullScreen||g1.mozRequestFullScreen||g1.msRequestFullscreen;T1&&T1.apply(g1)})(ch.embedded?this.Reveal.getViewportElement():document.documentElement):ph===65?ch.autoSlideStoppable&&this.Reveal.toggleAutoSlide(_h):f1=!1),f1?ah.preventDefault&&ah.preventDefault():ph!==27&&ph!==79||(this.Reveal.closeOverlay()===!1&&this.Reveal.overview.toggle(),ah.preventDefault&&ah.preventDefault()),this.Reveal.cueAutoSlide()}},D$5=class{constructor(ah){var ch,ph,_h;_h=1e3,(ph="MAX_REPLACE_STATE_FREQUENCY")in(ch=this)?Object.defineProperty(ch,ph,{value:_h,enumerable:!0,configurable:!0,writable:!0}):ch[ph]=_h,this.Reveal=ah,this.writeURLTimeout=0,this.replaceStateTimestamp=0,this.onWindowHashChange=this.onWindowHashChange.bind(this)}bind(){window.addEventListener("hashchange",this.onWindowHashChange,!1)}unbind(){window.removeEventListener("hashchange",this.onWindowHashChange,!1)}getIndicesFromHash(ah=window.location.hash){let ch=ah.replace(/^#\/?/,""),ph=ch.split("/");if(/^[0-9]*$/.test(ph[0])||!ch.length){const _h=this.Reveal.getConfig();let xh,Oh=_h.hashOneBasedIndex?1:0,Uh=parseInt(ph[0],10)-Oh||0,Fh=parseInt(ph[1],10)-Oh||0;return _h.fragmentInURL&&(xh=parseInt(ph[2],10),isNaN(xh)&&(xh=void 0)),{h:Uh,v:Fh,f:xh}}{let _h,xh;/\/[-\d]+$/g.test(ch)&&(xh=parseInt(ch.split("/").pop(),10),xh=isNaN(xh)?void 0:xh,ch=ch.split("/").shift());try{_h=document.getElementById(decodeURIComponent(ch))}catch{}if(_h)return{...this.Reveal.getIndices(_h),f:xh}}return null}readURL(){const ah=this.Reveal.getIndices(),ch=this.getIndicesFromHash();ch?ch.h===ah.h&&ch.v===ah.v&&ch.f===void 0||this.Reveal.slide(ch.h,ch.v,ch.f):this.Reveal.slide(ah.h||0,ah.v||0)}writeURL(ah){let ch=this.Reveal.getConfig(),ph=this.Reveal.getCurrentSlide();if(clearTimeout(this.writeURLTimeout),typeof ah=="number")this.writeURLTimeout=setTimeout(this.writeURL,ah);else if(ph){let _h=this.getHash();ch.history?window.location.hash=_h:ch.hash&&(_h==="/"?this.debouncedReplaceState(window.location.pathname+window.location.search):this.debouncedReplaceState("#"+_h))}}replaceState(ah){window.history.replaceState(null,null,ah),this.replaceStateTimestamp=Date.now()}debouncedReplaceState(ah){clearTimeout(this.replaceStateTimeout),Date.now()-this.replaceStateTimestamp>this.MAX_REPLACE_STATE_FREQUENCY?this.replaceState(ah):this.replaceStateTimeout=setTimeout(()=>this.replaceState(ah),this.MAX_REPLACE_STATE_FREQUENCY)}getHash(ah){let ch="/",ph=ah||this.Reveal.getCurrentSlide(),_h=ph?ph.getAttribute("id"):null;_h&&(_h=encodeURIComponent(_h));let xh=this.Reveal.getIndices(ah);if(this.Reveal.getConfig().fragmentInURL||(xh.f=void 0),typeof _h=="string"&&_h.length)ch="/"+_h,xh.f>=0&&(ch+="/"+xh.f);else{let Oh=this.Reveal.getConfig().hashOneBasedIndex?1:0;(xh.h>0||xh.v>0||xh.f>=0)&&(ch+=xh.h+Oh),(xh.v>0||xh.f>=0)&&(ch+="/"+(xh.v+Oh)),xh.f>=0&&(ch+="/"+xh.f)}return ch}onWindowHashChange(ah){this.readURL()}},I$5=class{constructor(ah){this.Reveal=ah,this.onNavigateLeftClicked=this.onNavigateLeftClicked.bind(this),this.onNavigateRightClicked=this.onNavigateRightClicked.bind(this),this.onNavigateUpClicked=this.onNavigateUpClicked.bind(this),this.onNavigateDownClicked=this.onNavigateDownClicked.bind(this),this.onNavigatePrevClicked=this.onNavigatePrevClicked.bind(this),this.onNavigateNextClicked=this.onNavigateNextClicked.bind(this)}render(){const ah=this.Reveal.getConfig().rtl,ch=this.Reveal.getRevealElement();this.element=document.createElement("aside"),this.element.className="controls",this.element.innerHTML=` + `}destroy(){this.element.remove()}};const S$7=lh=>{let ah=lh.match(/^#([0-9a-f]{3})$/i);if(ah&&ah[1])return ah=ah[1],{r:17*parseInt(ah.charAt(0),16),g:17*parseInt(ah.charAt(1),16),b:17*parseInt(ah.charAt(2),16)};let ch=lh.match(/^#([0-9a-f]{6})$/i);if(ch&&ch[1])return ch=ch[1],{r:parseInt(ch.slice(0,2),16),g:parseInt(ch.slice(2,4),16),b:parseInt(ch.slice(4,6),16)};let ph=lh.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(ph)return{r:parseInt(ph[1],10),g:parseInt(ph[2],10),b:parseInt(ph[3],10)};let yh=lh.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return yh?{r:parseInt(yh[1],10),g:parseInt(yh[2],10),b:parseInt(yh[3],10),a:parseFloat(yh[4])}:null};let A$7=class{constructor(ah){this.Reveal=ah}render(){this.element=document.createElement("div"),this.element.className="backgrounds",this.Reveal.getRevealElement().appendChild(this.element)}create(){this.element.innerHTML="",this.element.classList.add("no-transition"),this.Reveal.getHorizontalSlides().forEach(ah=>{let ch=this.createBackground(ah,this.element);t$b(ah,"section").forEach(ph=>{this.createBackground(ph,ch),ch.classList.add("stack")})}),this.Reveal.getConfig().parallaxBackgroundImage?(this.element.style.backgroundImage='url("'+this.Reveal.getConfig().parallaxBackgroundImage+'")',this.element.style.backgroundSize=this.Reveal.getConfig().parallaxBackgroundSize,this.element.style.backgroundRepeat=this.Reveal.getConfig().parallaxBackgroundRepeat,this.element.style.backgroundPosition=this.Reveal.getConfig().parallaxBackgroundPosition,setTimeout(()=>{this.Reveal.getRevealElement().classList.add("has-parallax-background")},1)):(this.element.style.backgroundImage="",this.Reveal.getRevealElement().classList.remove("has-parallax-background"))}createBackground(ah,ch){let ph=document.createElement("div");ph.className="slide-background "+ah.className.replace(/present|past|future/,"");let yh=document.createElement("div");return yh.className="slide-background-content",ph.appendChild(yh),ch.appendChild(ph),ah.slideBackgroundElement=ph,ah.slideBackgroundContentElement=yh,this.sync(ah),ph}sync(ah){const ch=ah.slideBackgroundElement,ph=ah.slideBackgroundContentElement,yh={background:ah.getAttribute("data-background"),backgroundSize:ah.getAttribute("data-background-size"),backgroundImage:ah.getAttribute("data-background-image"),backgroundVideo:ah.getAttribute("data-background-video"),backgroundIframe:ah.getAttribute("data-background-iframe"),backgroundColor:ah.getAttribute("data-background-color"),backgroundRepeat:ah.getAttribute("data-background-repeat"),backgroundPosition:ah.getAttribute("data-background-position"),backgroundTransition:ah.getAttribute("data-background-transition"),backgroundOpacity:ah.getAttribute("data-background-opacity")},xh=ah.hasAttribute("data-preload");ah.classList.remove("has-dark-background"),ah.classList.remove("has-light-background"),ch.removeAttribute("data-loaded"),ch.removeAttribute("data-background-hash"),ch.removeAttribute("data-background-size"),ch.removeAttribute("data-background-transition"),ch.style.backgroundColor="",ph.style.backgroundSize="",ph.style.backgroundRepeat="",ph.style.backgroundPosition="",ph.style.backgroundImage="",ph.style.opacity="",ph.innerHTML="",yh.background&&(/^(http|file|\/\/)/gi.test(yh.background)||/\.(svg|png|jpg|jpeg|gif|bmp)([?#\s]|$)/gi.test(yh.background)?ah.setAttribute("data-background-image",yh.background):ch.style.background=yh.background),(yh.background||yh.backgroundColor||yh.backgroundImage||yh.backgroundVideo||yh.backgroundIframe)&&ch.setAttribute("data-background-hash",yh.background+yh.backgroundSize+yh.backgroundImage+yh.backgroundVideo+yh.backgroundIframe+yh.backgroundColor+yh.backgroundRepeat+yh.backgroundPosition+yh.backgroundTransition+yh.backgroundOpacity),yh.backgroundSize&&ch.setAttribute("data-background-size",yh.backgroundSize),yh.backgroundColor&&(ch.style.backgroundColor=yh.backgroundColor),yh.backgroundTransition&&ch.setAttribute("data-background-transition",yh.backgroundTransition),xh&&ch.setAttribute("data-preload",""),yh.backgroundSize&&(ph.style.backgroundSize=yh.backgroundSize),yh.backgroundRepeat&&(ph.style.backgroundRepeat=yh.backgroundRepeat),yh.backgroundPosition&&(ph.style.backgroundPosition=yh.backgroundPosition),yh.backgroundOpacity&&(ph.style.opacity=yh.backgroundOpacity);let Oh=yh.backgroundColor;if(!Oh||!S$7(Oh)){let Fh=window.getComputedStyle(ch);Fh&&Fh.backgroundColor&&(Oh=Fh.backgroundColor)}if(Oh){const Fh=S$7(Oh);Fh&&Fh.a!==0&&(typeof(Uh=Oh)=="string"&&(Uh=S$7(Uh)),(Uh?(299*Uh.r+587*Uh.g+114*Uh.b)/1e3:null)<128?ah.classList.add("has-dark-background"):ah.classList.add("has-light-background"))}var Uh}update(ah=!1){let ch=this.Reveal.getCurrentSlide(),ph=this.Reveal.getIndices(),yh=null,xh=this.Reveal.getConfig().rtl?"future":"past",Oh=this.Reveal.getConfig().rtl?"past":"future";if(Array.from(this.element.childNodes).forEach((Uh,Fh)=>{Uh.classList.remove("past","present","future"),Fhph.h?Uh.classList.add(Oh):(Uh.classList.add("present"),yh=Uh),(ah||Fh===ph.h)&&t$b(Uh,".slide-background").forEach((zh,n1)=>{zh.classList.remove("past","present","future"),n1ph.v?zh.classList.add("future"):(zh.classList.add("present"),Fh===ph.h&&(yh=zh))})}),this.previousBackground&&this.Reveal.slideContent.stopEmbeddedContent(this.previousBackground,{unloadIframes:!this.Reveal.slideContent.shouldPreload(this.previousBackground)}),yh){this.Reveal.slideContent.startEmbeddedContent(yh);let Uh=yh.querySelector(".slide-background-content");if(Uh){let n1=Uh.style.backgroundImage||"";/\.gif/i.test(n1)&&(Uh.style.backgroundImage="",window.getComputedStyle(Uh).opacity,Uh.style.backgroundImage=n1)}let Fh=this.previousBackground?this.previousBackground.getAttribute("data-background-hash"):null,zh=yh.getAttribute("data-background-hash");zh&&zh===Fh&&yh!==this.previousBackground&&this.element.classList.add("no-transition"),this.previousBackground=yh}ch&&["has-light-background","has-dark-background"].forEach(Uh=>{ch.classList.contains(Uh)?this.Reveal.getRevealElement().classList.add(Uh):this.Reveal.getRevealElement().classList.remove(Uh)},this),setTimeout(()=>{this.element.classList.remove("no-transition")},1)}updateParallax(){let ah=this.Reveal.getIndices();if(this.Reveal.getConfig().parallaxBackgroundImage){let ch,ph,yh=this.Reveal.getHorizontalSlides(),xh=this.Reveal.getVerticalSlides(),Oh=this.element.style.backgroundSize.split(" ");Oh.length===1?ch=ph=parseInt(Oh[0],10):(ch=parseInt(Oh[0],10),ph=parseInt(Oh[1],10));let Uh,Fh,zh=this.element.offsetWidth,n1=yh.length;Uh=typeof this.Reveal.getConfig().parallaxBackgroundHorizontal=="number"?this.Reveal.getConfig().parallaxBackgroundHorizontal:n1>1?(ch-zh)/(n1-1):0,Fh=Uh*ah.h*-1;let t1,f1,g1=this.element.offsetHeight,T1=xh.length;t1=typeof this.Reveal.getConfig().parallaxBackgroundVertical=="number"?this.Reveal.getConfig().parallaxBackgroundVertical:(ph-g1)/(T1-1),f1=T1>0?t1*ah.v:0,this.element.style.backgroundPosition=Fh+"px "+-f1+"px"}}destroy(){this.element.remove()}};const k$5=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/,L$5=/fade-(down|up|right|left|out|in-then-out|in-then-semi-out)|semi-fade-out|current-visible|shrink|grow/;let C$5=0,x$8=class{constructor(ah){this.Reveal=ah}run(ah,ch){this.reset();let ph=this.Reveal.getSlides(),yh=ph.indexOf(ch),xh=ph.indexOf(ah);if(ah.hasAttribute("data-auto-animate")&&ch.hasAttribute("data-auto-animate")&&ah.getAttribute("data-auto-animate-id")===ch.getAttribute("data-auto-animate-id")&&!(yh>xh?ch:ah).hasAttribute("data-auto-animate-restart")){this.autoAnimateStyleSheet=this.autoAnimateStyleSheet||l$d();let Oh=this.getAutoAnimateOptions(ch);ah.dataset.autoAnimate="pending",ch.dataset.autoAnimate="pending",Oh.slideDirection=yh>xh?"forward":"backward";let Uh=this.getAutoAnimatableElements(ah,ch).map(Fh=>this.autoAnimateElements(Fh.from,Fh.to,Fh.options||{},Oh,C$5++));if(ch.dataset.autoAnimateUnmatched!=="false"&&this.Reveal.getConfig().autoAnimateUnmatched===!0){let Fh=.8*Oh.duration,zh=.2*Oh.duration;this.getUnmatchedAutoAnimateElements(ch).forEach(n1=>{let t1=this.getAutoAnimateOptions(n1,Oh),f1="unmatched";t1.duration===Oh.duration&&t1.delay===Oh.delay||(f1="unmatched-"+C$5++,Uh.push(`[data-auto-animate="running"] [data-auto-animate-target="${f1}"] { transition: opacity ${t1.duration}s ease ${t1.delay}s; }`)),n1.dataset.autoAnimateTarget=f1},this),Uh.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${Fh}s ease ${zh}s; }`)}this.autoAnimateStyleSheet.innerHTML=Uh.join(""),requestAnimationFrame(()=>{this.autoAnimateStyleSheet&&(getComputedStyle(this.autoAnimateStyleSheet).fontWeight,ch.dataset.autoAnimate="running")}),this.Reveal.dispatchEvent({type:"autoanimate",data:{fromSlide:ah,toSlide:ch,sheet:this.autoAnimateStyleSheet}})}}reset(){t$b(this.Reveal.getRevealElement(),'[data-auto-animate]:not([data-auto-animate=""])').forEach(ah=>{ah.dataset.autoAnimate=""}),t$b(this.Reveal.getRevealElement(),"[data-auto-animate-target]").forEach(ah=>{delete ah.dataset.autoAnimateTarget}),this.autoAnimateStyleSheet&&this.autoAnimateStyleSheet.parentNode&&(this.autoAnimateStyleSheet.parentNode.removeChild(this.autoAnimateStyleSheet),this.autoAnimateStyleSheet=null)}autoAnimateElements(ah,ch,ph,yh,xh){ah.dataset.autoAnimateTarget="",ch.dataset.autoAnimateTarget=xh;let Oh=this.getAutoAnimateOptions(ch,yh);ph.delay!==void 0&&(Oh.delay=ph.delay),ph.duration!==void 0&&(Oh.duration=ph.duration),ph.easing!==void 0&&(Oh.easing=ph.easing);let Uh=this.getAutoAnimatableProperties("from",ah,ph),Fh=this.getAutoAnimatableProperties("to",ch,ph);if(ch.classList.contains("fragment")&&(delete Fh.styles.opacity,ah.classList.contains("fragment"))&&(ah.className.match(L$5)||[""])[0]===(ch.className.match(L$5)||[""])[0]&&yh.slideDirection==="forward"&&ch.classList.add("visible","disabled"),ph.translate!==!1||ph.scale!==!1){let t1=this.Reveal.getScale(),f1={x:(Uh.x-Fh.x)/t1,y:(Uh.y-Fh.y)/t1,scaleX:Uh.width/Fh.width,scaleY:Uh.height/Fh.height};f1.x=Math.round(1e3*f1.x)/1e3,f1.y=Math.round(1e3*f1.y)/1e3,f1.scaleX=Math.round(1e3*f1.scaleX)/1e3,f1.scaleX=Math.round(1e3*f1.scaleX)/1e3;let g1=ph.translate!==!1&&(f1.x!==0||f1.y!==0),T1=ph.scale!==!1&&(f1.scaleX!==0||f1.scaleY!==0);if(g1||T1){let V1=[];g1&&V1.push(`translate(${f1.x}px, ${f1.y}px)`),T1&&V1.push(`scale(${f1.scaleX}, ${f1.scaleY})`),Uh.styles.transform=V1.join(" "),Uh.styles["transform-origin"]="top left",Fh.styles.transform="none"}}for(let t1 in Fh.styles){const f1=Fh.styles[t1],g1=Uh.styles[t1];f1===g1?delete Fh.styles[t1]:(f1.explicitValue===!0&&(Fh.styles[t1]=f1.value),g1.explicitValue===!0&&(Uh.styles[t1]=g1.value))}let zh="",n1=Object.keys(Fh.styles);return n1.length>0&&(Uh.styles.transition="none",Fh.styles.transition=`all ${Oh.duration}s ${Oh.easing} ${Oh.delay}s`,Fh.styles["transition-property"]=n1.join(", "),Fh.styles["will-change"]=n1.join(", "),zh='[data-auto-animate-target="'+xh+'"] {'+Object.keys(Uh.styles).map(t1=>t1+": "+Uh.styles[t1]+" !important;").join("")+'}[data-auto-animate="running"] [data-auto-animate-target="'+xh+'"] {'+Object.keys(Fh.styles).map(t1=>t1+": "+Fh.styles[t1]+" !important;").join("")+"}"),zh}getAutoAnimateOptions(ah,ch){let ph={easing:this.Reveal.getConfig().autoAnimateEasing,duration:this.Reveal.getConfig().autoAnimateDuration,delay:0};if(ph=e$j(ph,ch),ah.parentNode){let yh=r$f(ah.parentNode,"[data-auto-animate-target]");yh&&(ph=this.getAutoAnimateOptions(yh,ph))}return ah.dataset.autoAnimateEasing&&(ph.easing=ah.dataset.autoAnimateEasing),ah.dataset.autoAnimateDuration&&(ph.duration=parseFloat(ah.dataset.autoAnimateDuration)),ah.dataset.autoAnimateDelay&&(ph.delay=parseFloat(ah.dataset.autoAnimateDelay)),ph}getAutoAnimatableProperties(ah,ch,ph){let yh=this.Reveal.getConfig(),xh={styles:[]};if(ph.translate!==!1||ph.scale!==!1){let Uh;if(typeof ph.measure=="function")Uh=ph.measure(ch);else if(yh.center)Uh=ch.getBoundingClientRect();else{let Fh=this.Reveal.getScale();Uh={x:ch.offsetLeft*Fh,y:ch.offsetTop*Fh,width:ch.offsetWidth*Fh,height:ch.offsetHeight*Fh}}xh.x=Uh.x,xh.y=Uh.y,xh.width=Uh.width,xh.height=Uh.height}const Oh=getComputedStyle(ch);return(ph.styles||yh.autoAnimateStyles).forEach(Uh=>{let Fh;typeof Uh=="string"&&(Uh={property:Uh}),Fh=Uh.from!==void 0&&ah==="from"?{value:Uh.from,explicitValue:!0}:Uh.to!==void 0&&ah==="to"?{value:Uh.to,explicitValue:!0}:Oh[Uh.property],Fh!==""&&(xh.styles[Uh.property]=Fh)}),xh}getAutoAnimatableElements(ah,ch){let ph=(typeof this.Reveal.getConfig().autoAnimateMatcher=="function"?this.Reveal.getConfig().autoAnimateMatcher:this.getAutoAnimatePairs).call(this,ah,ch),yh=[];return ph.filter((xh,Oh)=>{if(yh.indexOf(xh.to)===-1)return yh.push(xh.to),!0})}getAutoAnimatePairs(ah,ch){let ph=[];const yh="h1, h2, h3, h4, h5, h6, p, li";return this.findAutoAnimateMatches(ph,ah,ch,"[data-id]",xh=>xh.nodeName+":::"+xh.getAttribute("data-id")),this.findAutoAnimateMatches(ph,ah,ch,yh,xh=>xh.nodeName+":::"+xh.innerText),this.findAutoAnimateMatches(ph,ah,ch,"img, video, iframe",xh=>xh.nodeName+":::"+(xh.getAttribute("src")||xh.getAttribute("data-src"))),this.findAutoAnimateMatches(ph,ah,ch,"pre",xh=>xh.nodeName+":::"+xh.innerText),ph.forEach(xh=>{n$k(xh.from,yh)?xh.options={scale:!1}:n$k(xh.from,"pre")&&(xh.options={scale:!1,styles:["width","height"]},this.findAutoAnimateMatches(ph,xh.from,xh.to,".hljs .hljs-ln-code",Oh=>Oh.textContent,{scale:!1,styles:[],measure:this.getLocalBoundingBox.bind(this)}),this.findAutoAnimateMatches(ph,xh.from,xh.to,".hljs .hljs-ln-line[data-line-number]",Oh=>Oh.getAttribute("data-line-number"),{scale:!1,styles:["width"],measure:this.getLocalBoundingBox.bind(this)}))},this),ph}getLocalBoundingBox(ah){const ch=this.Reveal.getScale();return{x:Math.round(ah.offsetLeft*ch*100)/100,y:Math.round(ah.offsetTop*ch*100)/100,width:Math.round(ah.offsetWidth*ch*100)/100,height:Math.round(ah.offsetHeight*ch*100)/100}}findAutoAnimateMatches(ah,ch,ph,yh,xh,Oh){let Uh={},Fh={};[].slice.call(ch.querySelectorAll(yh)).forEach((zh,n1)=>{const t1=xh(zh);typeof t1=="string"&&t1.length&&(Uh[t1]=Uh[t1]||[],Uh[t1].push(zh))}),[].slice.call(ph.querySelectorAll(yh)).forEach((zh,n1)=>{const t1=xh(zh);let f1;if(Fh[t1]=Fh[t1]||[],Fh[t1].push(zh),Uh[t1]){const g1=Fh[t1].length-1,T1=Uh[t1].length-1;Uh[t1][g1]?(f1=Uh[t1][g1],Uh[t1][g1]=null):Uh[t1][T1]&&(f1=Uh[t1][T1],Uh[t1][T1]=null)}f1&&ah.push({from:f1,to:zh,options:Oh})})}getUnmatchedAutoAnimateElements(ah){return[].slice.call(ah.children).reduce((ch,ph)=>{const yh=ph.querySelector("[data-auto-animate-target]");return ph.hasAttribute("data-auto-animate-target")||yh||ch.push(ph),ph.querySelector("[data-auto-animate-target]")&&(ch=ch.concat(this.getUnmatchedAutoAnimateElements(ph))),ch},[])}},P$5=class{constructor(ah){this.Reveal=ah}configure(ah,ch){ah.fragments===!1?this.disable():ch.fragments===!1&&this.enable()}disable(){t$b(this.Reveal.getSlidesElement(),".fragment").forEach(ah=>{ah.classList.add("visible"),ah.classList.remove("current-fragment")})}enable(){t$b(this.Reveal.getSlidesElement(),".fragment").forEach(ah=>{ah.classList.remove("visible"),ah.classList.remove("current-fragment")})}availableRoutes(){let ah=this.Reveal.getCurrentSlide();if(ah&&this.Reveal.getConfig().fragments){let ch=ah.querySelectorAll(".fragment:not(.disabled)"),ph=ah.querySelectorAll(".fragment:not(.disabled):not(.visible)");return{prev:ch.length-ph.length>0,next:!!ph.length}}return{prev:!1,next:!1}}sort(ah,ch=!1){ah=Array.from(ah);let ph=[],yh=[],xh=[];ah.forEach(Uh=>{if(Uh.hasAttribute("data-fragment-index")){let Fh=parseInt(Uh.getAttribute("data-fragment-index"),10);ph[Fh]||(ph[Fh]=[]),ph[Fh].push(Uh)}else yh.push([Uh])}),ph=ph.concat(yh);let Oh=0;return ph.forEach(Uh=>{Uh.forEach(Fh=>{xh.push(Fh),Fh.setAttribute("data-fragment-index",Oh)}),Oh++}),ch===!0?ph:xh}sortAll(){this.Reveal.getHorizontalSlides().forEach(ah=>{let ch=t$b(ah,"section");ch.forEach((ph,yh)=>{this.sort(ph.querySelectorAll(".fragment"))},this),ch.length===0&&this.sort(ah.querySelectorAll(".fragment"))})}update(ah,ch){let ph={shown:[],hidden:[]},yh=this.Reveal.getCurrentSlide();if(yh&&this.Reveal.getConfig().fragments&&(ch=ch||this.sort(yh.querySelectorAll(".fragment"))).length){let xh=0;if(typeof ah!="number"){let Oh=this.sort(yh.querySelectorAll(".fragment.visible")).pop();Oh&&(ah=parseInt(Oh.getAttribute("data-fragment-index")||0,10))}Array.from(ch).forEach((Oh,Uh)=>{if(Oh.hasAttribute("data-fragment-index")&&(Uh=parseInt(Oh.getAttribute("data-fragment-index"),10)),xh=Math.max(xh,Uh),Uh<=ah){let Fh=Oh.classList.contains("visible");Oh.classList.add("visible"),Oh.classList.remove("current-fragment"),Uh===ah&&(this.Reveal.announceStatus(this.Reveal.getStatusText(Oh)),Oh.classList.add("current-fragment"),this.Reveal.slideContent.startEmbeddedContent(Oh)),Fh||(ph.shown.push(Oh),this.Reveal.dispatchEvent({target:Oh,type:"visible",bubbles:!1}))}else{let Fh=Oh.classList.contains("visible");Oh.classList.remove("visible"),Oh.classList.remove("current-fragment"),Fh&&(this.Reveal.slideContent.stopEmbeddedContent(Oh),ph.hidden.push(Oh),this.Reveal.dispatchEvent({target:Oh,type:"hidden",bubbles:!1}))}}),ah=typeof ah=="number"?ah:-1,ah=Math.max(Math.min(ah,xh),-1),yh.setAttribute("data-fragment",ah)}return ph}sync(ah=this.Reveal.getCurrentSlide()){return this.sort(ah.querySelectorAll(".fragment"))}goto(ah,ch=0){let ph=this.Reveal.getCurrentSlide();if(ph&&this.Reveal.getConfig().fragments){let yh=this.sort(ph.querySelectorAll(".fragment:not(.disabled)"));if(yh.length){if(typeof ah!="number"){let Oh=this.sort(ph.querySelectorAll(".fragment:not(.disabled).visible")).pop();ah=Oh?parseInt(Oh.getAttribute("data-fragment-index")||0,10):-1}ah+=ch;let xh=this.update(ah,yh);return xh.hidden.length&&this.Reveal.dispatchEvent({type:"fragmenthidden",data:{fragment:xh.hidden[0],fragments:xh.hidden}}),xh.shown.length&&this.Reveal.dispatchEvent({type:"fragmentshown",data:{fragment:xh.shown[0],fragments:xh.shown}}),this.Reveal.controls.update(),this.Reveal.progress.update(),this.Reveal.getConfig().fragmentInURL&&this.Reveal.location.writeURL(),!(!xh.shown.length&&!xh.hidden.length)}}return!1}next(){return this.goto(null,1)}prev(){return this.goto(null,-1)}},N$6=class{constructor(ah){this.Reveal=ah,this.active=!1,this.onSlideClicked=this.onSlideClicked.bind(this)}activate(){if(this.Reveal.getConfig().overview&&!this.isActive()){this.active=!0,this.Reveal.getRevealElement().classList.add("overview"),this.Reveal.cancelAutoSlide(),this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()),t$b(this.Reveal.getRevealElement(),".slides section").forEach(yh=>{yh.classList.contains("stack")||yh.addEventListener("click",this.onSlideClicked,!0)});const ah=70,ch=this.Reveal.getComputedSlideSize();this.overviewSlideWidth=ch.width+ah,this.overviewSlideHeight=ch.height+ah,this.Reveal.getConfig().rtl&&(this.overviewSlideWidth=-this.overviewSlideWidth),this.Reveal.updateSlidesVisibility(),this.layout(),this.update(),this.Reveal.layout();const ph=this.Reveal.getIndices();this.Reveal.dispatchEvent({type:"overviewshown",data:{indexh:ph.h,indexv:ph.v,currentSlide:this.Reveal.getCurrentSlide()}})}}layout(){this.Reveal.getHorizontalSlides().forEach((ah,ch)=>{ah.setAttribute("data-index-h",ch),a$c(ah,"translate3d("+ch*this.overviewSlideWidth+"px, 0, 0)"),ah.classList.contains("stack")&&t$b(ah,"section").forEach((ph,yh)=>{ph.setAttribute("data-index-h",ch),ph.setAttribute("data-index-v",yh),a$c(ph,"translate3d(0, "+yh*this.overviewSlideHeight+"px, 0)")})}),Array.from(this.Reveal.getBackgroundsElement().childNodes).forEach((ah,ch)=>{a$c(ah,"translate3d("+ch*this.overviewSlideWidth+"px, 0, 0)"),t$b(ah,".slide-background").forEach((ph,yh)=>{a$c(ph,"translate3d(0, "+yh*this.overviewSlideHeight+"px, 0)")})})}update(){const ah=Math.min(window.innerWidth,window.innerHeight),ch=Math.max(ah/5,150)/ah,ph=this.Reveal.getIndices();this.Reveal.transformSlides({overview:["scale("+ch+")","translateX("+-ph.h*this.overviewSlideWidth+"px)","translateY("+-ph.v*this.overviewSlideHeight+"px)"].join(" ")})}deactivate(){if(this.Reveal.getConfig().overview){this.active=!1,this.Reveal.getRevealElement().classList.remove("overview"),this.Reveal.getRevealElement().classList.add("overview-deactivating"),setTimeout(()=>{this.Reveal.getRevealElement().classList.remove("overview-deactivating")},1),this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()),t$b(this.Reveal.getRevealElement(),".slides section").forEach(ch=>{a$c(ch,""),ch.removeEventListener("click",this.onSlideClicked,!0)}),t$b(this.Reveal.getBackgroundsElement(),".slide-background").forEach(ch=>{a$c(ch,"")}),this.Reveal.transformSlides({overview:""});const ah=this.Reveal.getIndices();this.Reveal.slide(ah.h,ah.v),this.Reveal.layout(),this.Reveal.cueAutoSlide(),this.Reveal.dispatchEvent({type:"overviewhidden",data:{indexh:ah.h,indexv:ah.v,currentSlide:this.Reveal.getCurrentSlide()}})}}toggle(ah){typeof ah=="boolean"?ah?this.activate():this.deactivate():this.isActive()?this.deactivate():this.activate()}isActive(){return this.active}onSlideClicked(ah){if(this.isActive()){ah.preventDefault();let ch=ah.target;for(;ch&&!ch.nodeName.match(/section/gi);)ch=ch.parentNode;if(ch&&!ch.classList.contains("disabled")&&(this.deactivate(),ch.nodeName.match(/section/gi))){let ph=parseInt(ch.getAttribute("data-index-h"),10),yh=parseInt(ch.getAttribute("data-index-v"),10);this.Reveal.slide(ph,yh)}}}},M$5=class{constructor(ah){this.Reveal=ah,this.shortcuts={},this.bindings={},this.onDocumentKeyDown=this.onDocumentKeyDown.bind(this),this.onDocumentKeyPress=this.onDocumentKeyPress.bind(this)}configure(ah,ch){ah.navigationMode==="linear"?(this.shortcuts["→ , ↓ , SPACE , N , L , J"]="Next slide",this.shortcuts["← , ↑ , P , H , K"]="Previous slide"):(this.shortcuts["N , SPACE"]="Next slide",this.shortcuts["P , Shift SPACE"]="Previous slide",this.shortcuts["← , H"]="Navigate left",this.shortcuts["→ , L"]="Navigate right",this.shortcuts["↑ , K"]="Navigate up",this.shortcuts["↓ , J"]="Navigate down"),this.shortcuts["Alt + ←/↑/→/↓"]="Navigate without fragments",this.shortcuts["Shift + ←/↑/→/↓"]="Jump to first/last slide",this.shortcuts["B , ."]="Pause",this.shortcuts.F="Fullscreen",this.shortcuts["ESC, O"]="Slide overview"}bind(){document.addEventListener("keydown",this.onDocumentKeyDown,!1),document.addEventListener("keypress",this.onDocumentKeyPress,!1)}unbind(){document.removeEventListener("keydown",this.onDocumentKeyDown,!1),document.removeEventListener("keypress",this.onDocumentKeyPress,!1)}addKeyBinding(ah,ch){typeof ah=="object"&&ah.keyCode?this.bindings[ah.keyCode]={callback:ch,key:ah.key,description:ah.description}:this.bindings[ah]={callback:ch,key:null,description:null}}removeKeyBinding(ah){delete this.bindings[ah]}triggerKey(ah){this.onDocumentKeyDown({keyCode:ah})}registerKeyboardShortcut(ah,ch){this.shortcuts[ah]=ch}getShortcuts(){return this.shortcuts}getBindings(){return this.bindings}onDocumentKeyPress(ah){ah.shiftKey&&ah.charCode===63&&this.Reveal.toggleHelp()}onDocumentKeyDown(ah){let ch=this.Reveal.getConfig();if(typeof ch.keyboardCondition=="function"&&ch.keyboardCondition(ah)===!1||ch.keyboardCondition==="focused"&&!this.Reveal.isFocused())return!0;let ph=ah.keyCode,yh=!this.Reveal.isAutoSliding();this.Reveal.onUserInput(ah);let xh=document.activeElement&&document.activeElement.isContentEditable===!0,Oh=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName),Uh=document.activeElement&&document.activeElement.className&&/speaker-notes/i.test(document.activeElement.className),Fh=!([32,37,38,39,40,78,80].indexOf(ah.keyCode)!==-1&&ah.shiftKey||ah.altKey)&&(ah.shiftKey||ah.altKey||ah.ctrlKey||ah.metaKey);if(xh||Oh||Uh||Fh)return;let zh,n1=[66,86,190,191];if(typeof ch.keyboard=="object")for(zh in ch.keyboard)ch.keyboard[zh]==="togglePause"&&n1.push(parseInt(zh,10));if(this.Reveal.isPaused()&&n1.indexOf(ph)===-1)return!1;let t1=ch.navigationMode==="linear"||!this.Reveal.hasHorizontalSlides()||!this.Reveal.hasVerticalSlides(),f1=!1;if(typeof ch.keyboard=="object"){for(zh in ch.keyboard)if(parseInt(zh,10)===ph){let g1=ch.keyboard[zh];typeof g1=="function"?g1.apply(null,[ah]):typeof g1=="string"&&typeof this.Reveal[g1]=="function"&&this.Reveal[g1].call(),f1=!0}}if(f1===!1){for(zh in this.bindings)if(parseInt(zh,10)===ph){let g1=this.bindings[zh].callback;typeof g1=="function"?g1.apply(null,[ah]):typeof g1=="string"&&typeof this.Reveal[g1]=="function"&&this.Reveal[g1].call(),f1=!0}}f1===!1&&(f1=!0,ph===80||ph===33?this.Reveal.prev({skipFragments:ah.altKey}):ph===78||ph===34?this.Reveal.next({skipFragments:ah.altKey}):ph===72||ph===37?ah.shiftKey?this.Reveal.slide(0):!this.Reveal.overview.isActive()&&t1?this.Reveal.prev({skipFragments:ah.altKey}):this.Reveal.left({skipFragments:ah.altKey}):ph===76||ph===39?ah.shiftKey?this.Reveal.slide(this.Reveal.getHorizontalSlides().length-1):!this.Reveal.overview.isActive()&&t1?this.Reveal.next({skipFragments:ah.altKey}):this.Reveal.right({skipFragments:ah.altKey}):ph===75||ph===38?ah.shiftKey?this.Reveal.slide(void 0,0):!this.Reveal.overview.isActive()&&t1?this.Reveal.prev({skipFragments:ah.altKey}):this.Reveal.up({skipFragments:ah.altKey}):ph===74||ph===40?ah.shiftKey?this.Reveal.slide(void 0,Number.MAX_VALUE):!this.Reveal.overview.isActive()&&t1?this.Reveal.next({skipFragments:ah.altKey}):this.Reveal.down({skipFragments:ah.altKey}):ph===36?this.Reveal.slide(0):ph===35?this.Reveal.slide(this.Reveal.getHorizontalSlides().length-1):ph===32?(this.Reveal.overview.isActive()&&this.Reveal.overview.deactivate(),ah.shiftKey?this.Reveal.prev({skipFragments:ah.altKey}):this.Reveal.next({skipFragments:ah.altKey})):ph===58||ph===59||ph===66||ph===86||ph===190||ph===191?this.Reveal.togglePause():ph===70?(g1=>{let T1=(g1=g1||document.documentElement).requestFullscreen||g1.webkitRequestFullscreen||g1.webkitRequestFullScreen||g1.mozRequestFullScreen||g1.msRequestFullscreen;T1&&T1.apply(g1)})(ch.embedded?this.Reveal.getViewportElement():document.documentElement):ph===65?ch.autoSlideStoppable&&this.Reveal.toggleAutoSlide(yh):f1=!1),f1?ah.preventDefault&&ah.preventDefault():ph!==27&&ph!==79||(this.Reveal.closeOverlay()===!1&&this.Reveal.overview.toggle(),ah.preventDefault&&ah.preventDefault()),this.Reveal.cueAutoSlide()}},D$5=class{constructor(ah){var ch,ph,yh;yh=1e3,(ph="MAX_REPLACE_STATE_FREQUENCY")in(ch=this)?Object.defineProperty(ch,ph,{value:yh,enumerable:!0,configurable:!0,writable:!0}):ch[ph]=yh,this.Reveal=ah,this.writeURLTimeout=0,this.replaceStateTimestamp=0,this.onWindowHashChange=this.onWindowHashChange.bind(this)}bind(){window.addEventListener("hashchange",this.onWindowHashChange,!1)}unbind(){window.removeEventListener("hashchange",this.onWindowHashChange,!1)}getIndicesFromHash(ah=window.location.hash){let ch=ah.replace(/^#\/?/,""),ph=ch.split("/");if(/^[0-9]*$/.test(ph[0])||!ch.length){const yh=this.Reveal.getConfig();let xh,Oh=yh.hashOneBasedIndex?1:0,Uh=parseInt(ph[0],10)-Oh||0,Fh=parseInt(ph[1],10)-Oh||0;return yh.fragmentInURL&&(xh=parseInt(ph[2],10),isNaN(xh)&&(xh=void 0)),{h:Uh,v:Fh,f:xh}}{let yh,xh;/\/[-\d]+$/g.test(ch)&&(xh=parseInt(ch.split("/").pop(),10),xh=isNaN(xh)?void 0:xh,ch=ch.split("/").shift());try{yh=document.getElementById(decodeURIComponent(ch))}catch{}if(yh)return{...this.Reveal.getIndices(yh),f:xh}}return null}readURL(){const ah=this.Reveal.getIndices(),ch=this.getIndicesFromHash();ch?ch.h===ah.h&&ch.v===ah.v&&ch.f===void 0||this.Reveal.slide(ch.h,ch.v,ch.f):this.Reveal.slide(ah.h||0,ah.v||0)}writeURL(ah){let ch=this.Reveal.getConfig(),ph=this.Reveal.getCurrentSlide();if(clearTimeout(this.writeURLTimeout),typeof ah=="number")this.writeURLTimeout=setTimeout(this.writeURL,ah);else if(ph){let yh=this.getHash();ch.history?window.location.hash=yh:ch.hash&&(yh==="/"?this.debouncedReplaceState(window.location.pathname+window.location.search):this.debouncedReplaceState("#"+yh))}}replaceState(ah){window.history.replaceState(null,null,ah),this.replaceStateTimestamp=Date.now()}debouncedReplaceState(ah){clearTimeout(this.replaceStateTimeout),Date.now()-this.replaceStateTimestamp>this.MAX_REPLACE_STATE_FREQUENCY?this.replaceState(ah):this.replaceStateTimeout=setTimeout(()=>this.replaceState(ah),this.MAX_REPLACE_STATE_FREQUENCY)}getHash(ah){let ch="/",ph=ah||this.Reveal.getCurrentSlide(),yh=ph?ph.getAttribute("id"):null;yh&&(yh=encodeURIComponent(yh));let xh=this.Reveal.getIndices(ah);if(this.Reveal.getConfig().fragmentInURL||(xh.f=void 0),typeof yh=="string"&&yh.length)ch="/"+yh,xh.f>=0&&(ch+="/"+xh.f);else{let Oh=this.Reveal.getConfig().hashOneBasedIndex?1:0;(xh.h>0||xh.v>0||xh.f>=0)&&(ch+=xh.h+Oh),(xh.v>0||xh.f>=0)&&(ch+="/"+(xh.v+Oh)),xh.f>=0&&(ch+="/"+xh.f)}return ch}onWindowHashChange(ah){this.readURL()}},I$5=class{constructor(ah){this.Reveal=ah,this.onNavigateLeftClicked=this.onNavigateLeftClicked.bind(this),this.onNavigateRightClicked=this.onNavigateRightClicked.bind(this),this.onNavigateUpClicked=this.onNavigateUpClicked.bind(this),this.onNavigateDownClicked=this.onNavigateDownClicked.bind(this),this.onNavigatePrevClicked=this.onNavigatePrevClicked.bind(this),this.onNavigateNextClicked=this.onNavigateNextClicked.bind(this)}render(){const ah=this.Reveal.getConfig().rtl,ch=this.Reveal.getRevealElement();this.element=document.createElement("aside"),this.element.className="controls",this.element.innerHTML=` - `,this.Reveal.getRevealElement().appendChild(this.element),this.controlsLeft=t$b(ch,".navigate-left"),this.controlsRight=t$b(ch,".navigate-right"),this.controlsUp=t$b(ch,".navigate-up"),this.controlsDown=t$b(ch,".navigate-down"),this.controlsPrev=t$b(ch,".navigate-prev"),this.controlsNext=t$b(ch,".navigate-next"),this.controlsRightArrow=this.element.querySelector(".navigate-right"),this.controlsLeftArrow=this.element.querySelector(".navigate-left"),this.controlsDownArrow=this.element.querySelector(".navigate-down")}configure(ah,ch){this.element.style.display=ah.controls?"block":"none",this.element.setAttribute("data-controls-layout",ah.controlsLayout),this.element.setAttribute("data-controls-back-arrows",ah.controlsBackArrows)}bind(){let ah=["touchstart","click"];m$7&&(ah=["touchstart"]),ah.forEach(ch=>{this.controlsLeft.forEach(ph=>ph.addEventListener(ch,this.onNavigateLeftClicked,!1)),this.controlsRight.forEach(ph=>ph.addEventListener(ch,this.onNavigateRightClicked,!1)),this.controlsUp.forEach(ph=>ph.addEventListener(ch,this.onNavigateUpClicked,!1)),this.controlsDown.forEach(ph=>ph.addEventListener(ch,this.onNavigateDownClicked,!1)),this.controlsPrev.forEach(ph=>ph.addEventListener(ch,this.onNavigatePrevClicked,!1)),this.controlsNext.forEach(ph=>ph.addEventListener(ch,this.onNavigateNextClicked,!1))})}unbind(){["touchstart","click"].forEach(ah=>{this.controlsLeft.forEach(ch=>ch.removeEventListener(ah,this.onNavigateLeftClicked,!1)),this.controlsRight.forEach(ch=>ch.removeEventListener(ah,this.onNavigateRightClicked,!1)),this.controlsUp.forEach(ch=>ch.removeEventListener(ah,this.onNavigateUpClicked,!1)),this.controlsDown.forEach(ch=>ch.removeEventListener(ah,this.onNavigateDownClicked,!1)),this.controlsPrev.forEach(ch=>ch.removeEventListener(ah,this.onNavigatePrevClicked,!1)),this.controlsNext.forEach(ch=>ch.removeEventListener(ah,this.onNavigateNextClicked,!1))})}update(){let ah=this.Reveal.availableRoutes();[...this.controlsLeft,...this.controlsRight,...this.controlsUp,...this.controlsDown,...this.controlsPrev,...this.controlsNext].forEach(ph=>{ph.classList.remove("enabled","fragmented"),ph.setAttribute("disabled","disabled")}),ah.left&&this.controlsLeft.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),ah.right&&this.controlsRight.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),ah.up&&this.controlsUp.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),ah.down&&this.controlsDown.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),(ah.left||ah.up)&&this.controlsPrev.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),(ah.right||ah.down)&&this.controlsNext.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")});let ch=this.Reveal.getCurrentSlide();if(ch){let ph=this.Reveal.fragments.availableRoutes();ph.prev&&this.controlsPrev.forEach(_h=>{_h.classList.add("fragmented","enabled"),_h.removeAttribute("disabled")}),ph.next&&this.controlsNext.forEach(_h=>{_h.classList.add("fragmented","enabled"),_h.removeAttribute("disabled")}),this.Reveal.isVerticalSlide(ch)?(ph.prev&&this.controlsUp.forEach(_h=>{_h.classList.add("fragmented","enabled"),_h.removeAttribute("disabled")}),ph.next&&this.controlsDown.forEach(_h=>{_h.classList.add("fragmented","enabled"),_h.removeAttribute("disabled")})):(ph.prev&&this.controlsLeft.forEach(_h=>{_h.classList.add("fragmented","enabled"),_h.removeAttribute("disabled")}),ph.next&&this.controlsRight.forEach(_h=>{_h.classList.add("fragmented","enabled"),_h.removeAttribute("disabled")}))}if(this.Reveal.getConfig().controlsTutorial){let ph=this.Reveal.getIndices();!this.Reveal.hasNavigatedVertically()&&ah.down?this.controlsDownArrow.classList.add("highlight"):(this.controlsDownArrow.classList.remove("highlight"),this.Reveal.getConfig().rtl?!this.Reveal.hasNavigatedHorizontally()&&ah.left&&ph.v===0?this.controlsLeftArrow.classList.add("highlight"):this.controlsLeftArrow.classList.remove("highlight"):!this.Reveal.hasNavigatedHorizontally()&&ah.right&&ph.v===0?this.controlsRightArrow.classList.add("highlight"):this.controlsRightArrow.classList.remove("highlight"))}}destroy(){this.unbind(),this.element.remove()}onNavigateLeftClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.getConfig().navigationMode==="linear"?this.Reveal.prev():this.Reveal.left()}onNavigateRightClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.getConfig().navigationMode==="linear"?this.Reveal.next():this.Reveal.right()}onNavigateUpClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.up()}onNavigateDownClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.down()}onNavigatePrevClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.prev()}onNavigateNextClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.next()}},T$5=class{constructor(ah){this.Reveal=ah,this.onProgressClicked=this.onProgressClicked.bind(this)}render(){this.element=document.createElement("div"),this.element.className="progress",this.Reveal.getRevealElement().appendChild(this.element),this.bar=document.createElement("span"),this.element.appendChild(this.bar)}configure(ah,ch){this.element.style.display=ah.progress?"block":"none"}bind(){this.Reveal.getConfig().progress&&this.element&&this.element.addEventListener("click",this.onProgressClicked,!1)}unbind(){this.Reveal.getConfig().progress&&this.element&&this.element.removeEventListener("click",this.onProgressClicked,!1)}update(){if(this.Reveal.getConfig().progress&&this.bar){let ah=this.Reveal.getProgress();this.Reveal.getTotalSlides()<2&&(ah=0),this.bar.style.transform="scaleX("+ah+")"}}getMaxWidth(){return this.Reveal.getRevealElement().offsetWidth}onProgressClicked(ah){this.Reveal.onUserInput(ah),ah.preventDefault();let ch=this.Reveal.getSlides(),ph=ch.length,_h=Math.floor(ah.clientX/this.getMaxWidth()*ph);this.Reveal.getConfig().rtl&&(_h=ph-_h);let xh=this.Reveal.getIndices(ch[_h]);this.Reveal.slide(xh.h,xh.v)}destroy(){this.element.remove()}},F$4=class{constructor(ah){this.Reveal=ah,this.lastMouseWheelStep=0,this.cursorHidden=!1,this.cursorInactiveTimeout=0,this.onDocumentCursorActive=this.onDocumentCursorActive.bind(this),this.onDocumentMouseScroll=this.onDocumentMouseScroll.bind(this)}configure(ah,ch){ah.mouseWheel?(document.addEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.addEventListener("mousewheel",this.onDocumentMouseScroll,!1)):(document.removeEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.removeEventListener("mousewheel",this.onDocumentMouseScroll,!1)),ah.hideInactiveCursor?(document.addEventListener("mousemove",this.onDocumentCursorActive,!1),document.addEventListener("mousedown",this.onDocumentCursorActive,!1)):(this.showCursor(),document.removeEventListener("mousemove",this.onDocumentCursorActive,!1),document.removeEventListener("mousedown",this.onDocumentCursorActive,!1))}showCursor(){this.cursorHidden&&(this.cursorHidden=!1,this.Reveal.getRevealElement().style.cursor="")}hideCursor(){this.cursorHidden===!1&&(this.cursorHidden=!0,this.Reveal.getRevealElement().style.cursor="none")}destroy(){this.showCursor(),document.removeEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.removeEventListener("mousewheel",this.onDocumentMouseScroll,!1),document.removeEventListener("mousemove",this.onDocumentCursorActive,!1),document.removeEventListener("mousedown",this.onDocumentCursorActive,!1)}onDocumentCursorActive(ah){this.showCursor(),clearTimeout(this.cursorInactiveTimeout),this.cursorInactiveTimeout=setTimeout(this.hideCursor.bind(this),this.Reveal.getConfig().hideCursorTime)}onDocumentMouseScroll(ah){if(Date.now()-this.lastMouseWheelStep>1e3){this.lastMouseWheelStep=Date.now();let ch=ah.detail||-ah.wheelDelta;ch>0?this.Reveal.next():ch<0&&this.Reveal.prev()}}};const z$5=(lh,ah)=>{const ch=document.createElement("script");ch.type="text/javascript",ch.async=!1,ch.defer=!1,ch.src=lh,typeof ah=="function"&&(ch.onload=ch.onreadystatechange=_h=>{(_h.type==="load"||/loaded|complete/.test(ch.readyState))&&(ch.onload=ch.onreadystatechange=ch.onerror=null,ah())},ch.onerror=_h=>{ch.onload=ch.onreadystatechange=ch.onerror=null,ah(new Error("Failed loading script: "+ch.src+` -`+_h))});const ph=document.querySelector("head");ph.insertBefore(ch,ph.lastChild)};let H$5=class{constructor(ah){this.Reveal=ah,this.state="idle",this.registeredPlugins={},this.asyncDependencies=[]}load(ah,ch){return this.state="loading",ah.forEach(this.registerPlugin.bind(this)),new Promise(ph=>{let _h=[],xh=0;if(ch.forEach(Oh=>{Oh.condition&&!Oh.condition()||(Oh.async?this.asyncDependencies.push(Oh):_h.push(Oh))}),_h.length){xh=_h.length;const Oh=Uh=>{Uh&&typeof Uh.callback=="function"&&Uh.callback(),--xh==0&&this.initPlugins().then(ph)};_h.forEach(Uh=>{typeof Uh.id=="string"?(this.registerPlugin(Uh),Oh(Uh)):typeof Uh.src=="string"?z$5(Uh.src,()=>Oh(Uh)):(console.warn("Unrecognized plugin format",Uh),Oh())})}else this.initPlugins().then(ph)})}initPlugins(){return new Promise(ah=>{let ch=Object.values(this.registeredPlugins),ph=ch.length;if(ph===0)this.loadAsync().then(ah);else{let _h,xh=()=>{--ph==0?this.loadAsync().then(ah):_h()},Oh=0;_h=()=>{let Uh=ch[Oh++];if(typeof Uh.init=="function"){let Fh=Uh.init(this.Reveal);Fh&&typeof Fh.then=="function"?Fh.then(xh):xh()}else xh()},_h()}})}loadAsync(){return this.state="loaded",this.asyncDependencies.length&&this.asyncDependencies.forEach(ah=>{z$5(ah.src,ah.callback)}),Promise.resolve()}registerPlugin(ah){arguments.length===2&&typeof arguments[0]=="string"?(ah=arguments[1]).id=arguments[0]:typeof ah=="function"&&(ah=ah());let ch=ah.id;typeof ch!="string"?console.warn("Unrecognized plugin format; can't find plugin.id",ah):this.registeredPlugins[ch]===void 0?(this.registeredPlugins[ch]=ah,this.state==="loaded"&&typeof ah.init=="function"&&ah.init(this.Reveal)):console.warn('reveal.js: "'+ch+'" plugin has already been registered')}hasPlugin(ah){return!!this.registeredPlugins[ah]}getPlugin(ah){return this.registeredPlugins[ah]}getRegisteredPlugins(){return this.registeredPlugins}destroy(){Object.values(this.registeredPlugins).forEach(ah=>{typeof ah.destroy=="function"&&ah.destroy()}),this.registeredPlugins={},this.asyncDependencies=[]}},q$3=class{constructor(ah){this.Reveal=ah}async setupPDF(){const ah=this.Reveal.getConfig(),ch=t$b(this.Reveal.getRevealElement(),".slides section"),ph=ah.slideNumber&&/all|print/i.test(ah.showSlideNumber),_h=this.Reveal.getComputedSlideSize(window.innerWidth,window.innerHeight),xh=Math.floor(_h.width*(1+ah.margin)),Oh=Math.floor(_h.height*(1+ah.margin)),Uh=_h.width,Fh=_h.height;await new Promise(requestAnimationFrame),l$d("@page{size:"+xh+"px "+Oh+"px; margin: 0px;}"),l$d(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+Uh+"px; max-height:"+Fh+"px}"),document.documentElement.classList.add("print-pdf"),document.body.style.width=xh+"px",document.body.style.height=Oh+"px";const zh=document.querySelector(".reveal-viewport");let n1;if(zh){const T1=window.getComputedStyle(zh);T1&&T1.background&&(n1=T1.background)}await new Promise(requestAnimationFrame),this.Reveal.layoutSlideContents(Uh,Fh),await new Promise(requestAnimationFrame);const t1=ch.map(T1=>T1.scrollHeight),f1=[],g1=ch[0].parentNode;ch.forEach(function(T1,V1){if(T1.classList.contains("stack")===!1){let a0=(xh-Uh)/2,o0=(Oh-Fh)/2;const B0=t1[V1];let iy=Math.max(Math.ceil(B0/Oh),1);iy=Math.min(iy,ah.pdfMaxPagesPerSlide),(iy===1&&ah.center||T1.classList.contains("center"))&&(o0=Math.max((Oh-B0)/2,0));const Hy=document.createElement("div");if(f1.push(Hy),Hy.className="pdf-page",Hy.style.height=(Oh+ah.pdfPageHeightOffset)*iy+"px",n1&&(Hy.style.background=n1),Hy.appendChild(T1),T1.style.left=a0+"px",T1.style.top=o0+"px",T1.style.width=Uh+"px",this.Reveal.slideContent.layout(T1),T1.slideBackgroundElement&&Hy.insertBefore(T1.slideBackgroundElement,T1),ah.showNotes){const yv=this.Reveal.getSlideNotes(T1);if(yv){const cv=typeof ah.showNotes=="string"?ah.showNotes:"inline",N0=document.createElement("div");N0.classList.add("speaker-notes"),N0.classList.add("speaker-notes-pdf"),N0.setAttribute("data-layout",cv),N0.innerHTML=yv,cv==="separate-page"?f1.push(N0):(N0.style.left="8px",N0.style.bottom="8px",N0.style.width=xh-2*8+"px",Hy.appendChild(N0))}}if(ph){const yv=V1+1,ky=document.createElement("div");ky.classList.add("slide-number"),ky.classList.add("slide-number-pdf"),ky.innerHTML=yv,Hy.appendChild(ky)}if(ah.pdfSeparateFragments){const yv=this.Reveal.fragments.sort(Hy.querySelectorAll(".fragment"),!0);let ky;yv.forEach(function(cv){ky&&ky.forEach(function(n0){n0.classList.remove("current-fragment")}),cv.forEach(function(n0){n0.classList.add("visible","current-fragment")},this);const N0=Hy.cloneNode(!0);f1.push(N0),ky=cv},this),yv.forEach(function(cv){cv.forEach(function(N0){N0.classList.remove("visible","current-fragment")})})}else t$b(Hy,".fragment:not(.fade-out)").forEach(function(yv){yv.classList.add("visible")})}},this),await new Promise(requestAnimationFrame),f1.forEach(T1=>g1.appendChild(T1)),this.Reveal.dispatchEvent({type:"pdf-ready"})}isPrintingPDF(){return/print-pdf/gi.test(window.location.search)}},B$5=class{constructor(ah){this.Reveal=ah,this.touchStartX=0,this.touchStartY=0,this.touchStartCount=0,this.touchCaptured=!1,this.onPointerDown=this.onPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this)}bind(){let ah=this.Reveal.getRevealElement();"onpointerdown"in window?(ah.addEventListener("pointerdown",this.onPointerDown,!1),ah.addEventListener("pointermove",this.onPointerMove,!1),ah.addEventListener("pointerup",this.onPointerUp,!1)):window.navigator.msPointerEnabled?(ah.addEventListener("MSPointerDown",this.onPointerDown,!1),ah.addEventListener("MSPointerMove",this.onPointerMove,!1),ah.addEventListener("MSPointerUp",this.onPointerUp,!1)):(ah.addEventListener("touchstart",this.onTouchStart,!1),ah.addEventListener("touchmove",this.onTouchMove,!1),ah.addEventListener("touchend",this.onTouchEnd,!1))}unbind(){let ah=this.Reveal.getRevealElement();ah.removeEventListener("pointerdown",this.onPointerDown,!1),ah.removeEventListener("pointermove",this.onPointerMove,!1),ah.removeEventListener("pointerup",this.onPointerUp,!1),ah.removeEventListener("MSPointerDown",this.onPointerDown,!1),ah.removeEventListener("MSPointerMove",this.onPointerMove,!1),ah.removeEventListener("MSPointerUp",this.onPointerUp,!1),ah.removeEventListener("touchstart",this.onTouchStart,!1),ah.removeEventListener("touchmove",this.onTouchMove,!1),ah.removeEventListener("touchend",this.onTouchEnd,!1)}isSwipePrevented(ah){if(n$k(ah,"video, audio"))return!0;for(;ah&&typeof ah.hasAttribute=="function";){if(ah.hasAttribute("data-prevent-swipe"))return!0;ah=ah.parentNode}return!1}onTouchStart(ah){if(this.isSwipePrevented(ah.target))return!0;this.touchStartX=ah.touches[0].clientX,this.touchStartY=ah.touches[0].clientY,this.touchStartCount=ah.touches.length}onTouchMove(ah){if(this.isSwipePrevented(ah.target))return!0;let ch=this.Reveal.getConfig();if(this.touchCaptured)m$7&&ah.preventDefault();else{this.Reveal.onUserInput(ah);let ph=ah.touches[0].clientX,_h=ah.touches[0].clientY;if(ah.touches.length===1&&this.touchStartCount!==2){let xh=this.Reveal.availableRoutes({includeFragments:!0}),Oh=ph-this.touchStartX,Uh=_h-this.touchStartY;Oh>40&&Math.abs(Oh)>Math.abs(Uh)?(this.touchCaptured=!0,ch.navigationMode==="linear"?ch.rtl?this.Reveal.next():this.Reveal.prev():this.Reveal.left()):Oh<-40&&Math.abs(Oh)>Math.abs(Uh)?(this.touchCaptured=!0,ch.navigationMode==="linear"?ch.rtl?this.Reveal.prev():this.Reveal.next():this.Reveal.right()):Uh>40&&xh.up?(this.touchCaptured=!0,ch.navigationMode==="linear"?this.Reveal.prev():this.Reveal.up()):Uh<-40&&xh.down&&(this.touchCaptured=!0,ch.navigationMode==="linear"?this.Reveal.next():this.Reveal.down()),ch.embedded?(this.touchCaptured||this.Reveal.isVerticalSlide())&&ah.preventDefault():ah.preventDefault()}}}onTouchEnd(ah){this.touchCaptured=!1}onPointerDown(ah){ah.pointerType!==ah.MSPOINTER_TYPE_TOUCH&&ah.pointerType!=="touch"||(ah.touches=[{clientX:ah.clientX,clientY:ah.clientY}],this.onTouchStart(ah))}onPointerMove(ah){ah.pointerType!==ah.MSPOINTER_TYPE_TOUCH&&ah.pointerType!=="touch"||(ah.touches=[{clientX:ah.clientX,clientY:ah.clientY}],this.onTouchMove(ah))}onPointerUp(ah){ah.pointerType!==ah.MSPOINTER_TYPE_TOUCH&&ah.pointerType!=="touch"||(ah.touches=[{clientX:ah.clientX,clientY:ah.clientY}],this.onTouchEnd(ah))}},O$3=class{constructor(ah){this.Reveal=ah,this.onRevealPointerDown=this.onRevealPointerDown.bind(this),this.onDocumentPointerDown=this.onDocumentPointerDown.bind(this)}configure(ah,ch){ah.embedded?this.blur():(this.focus(),this.unbind())}bind(){this.Reveal.getConfig().embedded&&this.Reveal.getRevealElement().addEventListener("pointerdown",this.onRevealPointerDown,!1)}unbind(){this.Reveal.getRevealElement().removeEventListener("pointerdown",this.onRevealPointerDown,!1),document.removeEventListener("pointerdown",this.onDocumentPointerDown,!1)}focus(){this.state!=="focus"&&(this.Reveal.getRevealElement().classList.add("focused"),document.addEventListener("pointerdown",this.onDocumentPointerDown,!1)),this.state="focus"}blur(){this.state!=="blur"&&(this.Reveal.getRevealElement().classList.remove("focused"),document.removeEventListener("pointerdown",this.onDocumentPointerDown,!1)),this.state="blur"}isFocused(){return this.state==="focus"}destroy(){this.Reveal.getRevealElement().classList.remove("focused")}onRevealPointerDown(ah){this.focus()}onDocumentPointerDown(ah){let ch=r$f(ah.target,".reveal");ch&&ch===this.Reveal.getRevealElement()||this.blur()}},U$3=class{constructor(ah){this.Reveal=ah}render(){this.element=document.createElement("div"),this.element.className="speaker-notes",this.element.setAttribute("data-prevent-swipe",""),this.element.setAttribute("tabindex","0"),this.Reveal.getRevealElement().appendChild(this.element)}configure(ah,ch){ah.showNotes&&this.element.setAttribute("data-layout",typeof ah.showNotes=="string"?ah.showNotes:"inline")}update(){this.Reveal.getConfig().showNotes&&this.element&&this.Reveal.getCurrentSlide()&&!this.Reveal.print.isPrintingPDF()&&(this.element.innerHTML=this.getSlideNotes()||'No notes on this slide.')}updateVisibility(){this.Reveal.getConfig().showNotes&&this.hasNotes()&&!this.Reveal.print.isPrintingPDF()?this.Reveal.getRevealElement().classList.add("show-notes"):this.Reveal.getRevealElement().classList.remove("show-notes")}hasNotes(){return this.Reveal.getSlidesElement().querySelectorAll("[data-notes], aside.notes").length>0}isSpeakerNotesWindow(){return!!window.location.search.match(/receiver/gi)}getSlideNotes(ah=this.Reveal.getCurrentSlide()){if(ah.hasAttribute("data-notes"))return ah.getAttribute("data-notes");let ch=ah.querySelector("aside.notes");return ch?ch.innerHTML:null}destroy(){this.element.remove()}},W$3=class{constructor(ah,ch){this.diameter=100,this.diameter2=this.diameter/2,this.thickness=6,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=ah,this.progressCheck=ch,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.canvas.style.width=this.diameter2+"px",this.canvas.style.height=this.diameter2+"px",this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}setPlaying(ah){const ch=this.playing;this.playing=ah,!ch&&this.playing?this.animate():this.render()}animate(){const ah=this.progress;this.progress=this.progressCheck(),ah>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&requestAnimationFrame(this.animate.bind(this))}render(){let ah=this.playing?this.progress:0,ch=this.diameter2-this.thickness,ph=this.diameter2,_h=this.diameter2,xh=28;this.progressOffset+=.1*(1-this.progressOffset);const Oh=-Math.PI/2+ah*(2*Math.PI),Uh=-Math.PI/2+this.progressOffset*(2*Math.PI);this.context.save(),this.context.clearRect(0,0,this.diameter,this.diameter),this.context.beginPath(),this.context.arc(ph,_h,ch+4,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(ph,_h,ch,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="rgba( 255, 255, 255, 0.2 )",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(ph,_h,ch,Uh,Oh,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(ph-14,_h-14),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,10,xh),this.context.fillRect(18,0,10,xh)):(this.context.beginPath(),this.context.translate(4,0),this.context.moveTo(0,0),this.context.lineTo(24,14),this.context.lineTo(0,xh),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()}on(ah,ch){this.canvas.addEventListener(ah,ch,!1)}off(ah,ch){this.canvas.removeEventListener(ah,ch,!1)}destroy(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)}};var K$3={width:960,height:700,margin:.04,minScale:.2,maxScale:2,controls:!0,controlsTutorial:!0,controlsLayout:"bottom-right",controlsBackArrows:"faded",progress:!0,slideNumber:!1,showSlideNumber:"all",hashOneBasedIndex:!1,hash:!1,respondToHashChanges:!0,history:!1,keyboard:!0,keyboardCondition:null,disableLayout:!1,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,navigationMode:"default",shuffle:!1,fragments:!0,fragmentInURL:!0,embedded:!1,help:!0,pause:!0,showNotes:!1,showHiddenSlides:!1,autoPlayMedia:null,preloadIframes:null,autoAnimate:!0,autoAnimateMatcher:null,autoAnimateEasing:"ease",autoAnimateDuration:1,autoAnimateUnmatched:!0,autoAnimateStyles:["opacity","color","background-color","padding","font-size","line-height","letter-spacing","border-width","border-color","border-radius","outline","outline-offset"],autoSlide:0,autoSlideStoppable:!0,autoSlideMethod:null,defaultTiming:null,mouseWheel:!1,previewLinks:!1,postMessage:!0,postMessageEvents:!1,focusBodyOnPageVisibilityChange:!0,transition:"slide",transitionSpeed:"default",backgroundTransition:"fade",parallaxBackgroundImage:"",parallaxBackgroundSize:"",parallaxBackgroundRepeat:"",parallaxBackgroundPosition:"",parallaxBackgroundHorizontal:null,parallaxBackgroundVertical:null,pdfMaxPagesPerSlide:Number.POSITIVE_INFINITY,pdfSeparateFragments:!0,pdfPageHeightOffset:-1,viewDistance:3,mobileViewDistance:2,display:"block",hideInactiveCursor:!0,hideCursorTime:5e3,dependencies:[],plugins:[]};function V$5(lh,ah){arguments.length<2&&(ah=arguments[0],lh=document.querySelector(".reveal"));const ch={};let ph,_h,xh,Oh,Uh,Fh={},zh=!1,n1={hasNavigatedHorizontally:!1,hasNavigatedVertically:!1},t1=[],f1=1,g1={layout:"",overview:""},T1={},V1="idle",a0=0,o0=0,B0=-1,iy=!1,Hy=new E$5(ch),yv=new R$5(ch),ky=new x$8(ch),cv=new A$7(ch),N0=new P$5(ch),n0=new N$6(ch),r0=new M$5(ch),ty=new D$5(ch),Y0=new I$5(ch),X0=new T$5(ch),uy=new F$4(ch),aw=new H$5(ch),t2=new q$3(ch),Y2=new O$3(ch),I2=new B$5(ch),gx=new U$3(ch);function TA(qy){if(!lh)throw'Unable to find presentation root (
).';if(T1.wrapper=lh,T1.slides=lh.querySelector(".slides"),!T1.slides)throw'Unable to find slides container (
).';return Fh={...K$3,...Fh,...ah,...qy,...d$7()},N2(),window.addEventListener("load",xR,!1),aw.load(Fh.plugins,Fh.dependencies).then(G2),new Promise(Pv=>ch.on("ready",Pv))}function N2(){Fh.embedded===!0?T1.viewport=r$f(lh,".reveal-viewport")||lh:(T1.viewport=document.body,document.documentElement.classList.add("reveal-full-page")),T1.viewport.classList.add("reveal-viewport")}function G2(){zh=!0,Bx(),mw(),yk(),WC(),G3(),dF(),Zk(),ty.readURL(),cv.update(!0),setTimeout(()=>{T1.slides.classList.remove("no-transition"),T1.wrapper.classList.add("ready"),Zy({type:"ready",data:{indexh:ph,indexv:_h,currentSlide:Oh}})},1),t2.isPrintingPDF()&&(O3(),document.readyState==="complete"?t2.setupPDF():window.addEventListener("load",()=>{t2.setupPDF()}))}function Bx(){Fh.showHiddenSlides||t$b(T1.wrapper,'section[data-visibility="hidden"]').forEach(qy=>{qy.parentNode.removeChild(qy)})}function mw(){T1.slides.classList.add("no-transition"),v$6?T1.wrapper.classList.add("no-hover"):T1.wrapper.classList.remove("no-hover"),cv.render(),yv.render(),Y0.render(),X0.render(),gx.render(),T1.pauseOverlay=o$h(T1.wrapper,"div","pause-overlay",Fh.controls?'':null),T1.statusElement=$3(),T1.wrapper.setAttribute("role","application")}function $3(){let qy=T1.wrapper.querySelector(".aria-status");return qy||(qy=document.createElement("div"),qy.style.position="absolute",qy.style.height="1px",qy.style.width="1px",qy.style.overflow="hidden",qy.style.clip="rect( 1px, 1px, 1px, 1px )",qy.classList.add("aria-status"),qy.setAttribute("aria-live","polite"),qy.setAttribute("aria-atomic","true"),T1.wrapper.appendChild(qy)),qy}function w2(qy){T1.statusElement.textContent=qy}function y2(qy){let Pv="";if(qy.nodeType===3)Pv+=qy.textContent;else if(qy.nodeType===1){let n2=qy.getAttribute("aria-hidden"),_2=window.getComputedStyle(qy).display==="none";n2==="true"||_2||Array.from(qy.childNodes).forEach(nC=>{Pv+=y2(nC)})}return Pv=Pv.trim(),Pv===""?"":Pv+" "}function WC(){setInterval(()=>{T1.wrapper.scrollTop===0&&T1.wrapper.scrollLeft===0||(T1.wrapper.scrollTop=0,T1.wrapper.scrollLeft=0)},1e3)}function G3(){document.addEventListener("fullscreenchange",U$),document.addEventListener("webkitfullscreenchange",U$)}function yk(){Fh.postMessage&&window.addEventListener("message",tv,!1)}function Zk(qy){const Pv={...Fh};if(typeof qy=="object"&&e$j(Fh,qy),ch.isReady()===!1)return;const n2=T1.wrapper.querySelectorAll(".slides section").length;T1.wrapper.classList.remove(Pv.transition),T1.wrapper.classList.add(Fh.transition),T1.wrapper.setAttribute("data-transition-speed",Fh.transitionSpeed),T1.wrapper.setAttribute("data-background-transition",Fh.backgroundTransition),T1.viewport.style.setProperty("--slide-width",Fh.width+"px"),T1.viewport.style.setProperty("--slide-height",Fh.height+"px"),Fh.shuffle&&BU(),i$e(T1.wrapper,"embedded",Fh.embedded),i$e(T1.wrapper,"rtl",Fh.rtl),i$e(T1.wrapper,"center",Fh.center),Fh.pause===!1&&T$(),Fh.previewLinks?(qv(),LC("[data-preview-link=false]")):(LC(),qv("[data-preview-link]:not([data-preview-link=false])")),ky.reset(),Uh&&(Uh.destroy(),Uh=null),n2>1&&Fh.autoSlide&&Fh.autoSlideStoppable&&(Uh=new W$3(T1.wrapper,()=>Math.min(Math.max((Date.now()-B0)/a0,0),1)),Uh.on("click",EC),iy=!1),Fh.navigationMode!=="default"?T1.wrapper.setAttribute("data-navigation-mode",Fh.navigationMode):T1.wrapper.removeAttribute("data-navigation-mode"),gx.configure(Fh,Pv),Y2.configure(Fh,Pv),uy.configure(Fh,Pv),Y0.configure(Fh,Pv),X0.configure(Fh,Pv),r0.configure(Fh,Pv),N0.configure(Fh,Pv),yv.configure(Fh,Pv),a7()}function HC(){window.addEventListener("resize",WA,!1),Fh.touch&&I2.bind(),Fh.keyboard&&r0.bind(),Fh.progress&&X0.bind(),Fh.respondToHashChanges&&ty.bind(),Y0.bind(),Y2.bind(),T1.slides.addEventListener("click",oA,!1),T1.slides.addEventListener("transitionend",Ew,!1),T1.pauseOverlay.addEventListener("click",T$,!1),Fh.focusBodyOnPageVisibilityChange&&document.addEventListener("visibilitychange",Hk,!1)}function O3(){I2.unbind(),Y2.unbind(),r0.unbind(),Y0.unbind(),X0.unbind(),ty.unbind(),window.removeEventListener("resize",WA,!1),T1.slides.removeEventListener("click",oA,!1),T1.slides.removeEventListener("transitionend",Ew,!1),T1.pauseOverlay.removeEventListener("click",T$,!1)}function sx(){O3(),s7(),LC(),gx.destroy(),Y2.destroy(),aw.destroy(),uy.destroy(),Y0.destroy(),X0.destroy(),cv.destroy(),yv.destroy(),document.removeEventListener("fullscreenchange",U$),document.removeEventListener("webkitfullscreenchange",U$),document.removeEventListener("visibilitychange",Hk,!1),window.removeEventListener("message",tv,!1),window.removeEventListener("load",xR,!1),T1.pauseOverlay&&T1.pauseOverlay.remove(),T1.statusElement&&T1.statusElement.remove(),document.documentElement.classList.remove("reveal-full-page"),T1.wrapper.classList.remove("ready","center","has-horizontal-slides","has-vertical-slides"),T1.wrapper.removeAttribute("data-transition-speed"),T1.wrapper.removeAttribute("data-background-transition"),T1.viewport.classList.remove("reveal-viewport"),T1.viewport.style.removeProperty("--slide-width"),T1.viewport.style.removeProperty("--slide-height"),T1.slides.style.removeProperty("width"),T1.slides.style.removeProperty("height"),T1.slides.style.removeProperty("zoom"),T1.slides.style.removeProperty("left"),T1.slides.style.removeProperty("top"),T1.slides.style.removeProperty("bottom"),T1.slides.style.removeProperty("right"),T1.slides.style.removeProperty("transform"),Array.from(T1.wrapper.querySelectorAll(".slides section")).forEach(qy=>{qy.style.removeProperty("display"),qy.style.removeProperty("top"),qy.removeAttribute("hidden"),qy.removeAttribute("aria-hidden")})}function b2(qy,Pv,n2){lh.addEventListener(qy,Pv,n2)}function eC(qy,Pv,n2){lh.removeEventListener(qy,Pv,n2)}function s3(qy){typeof qy.layout=="string"&&(g1.layout=qy.layout),typeof qy.overview=="string"&&(g1.overview=qy.overview),g1.layout?a$c(T1.slides,g1.layout+" "+g1.overview):a$c(T1.slides,g1.overview)}function Zy({target:qy=T1.wrapper,type:Pv,data:n2,bubbles:_2=!0}){let nC=document.createEvent("HTMLEvents",1,2);return nC.initEvent(Pv,_2,!0),e$j(nC,n2),qy.dispatchEvent(nC),qy===T1.wrapper&&Aw(Pv),nC}function Aw(qy,Pv){if(Fh.postMessageEvents&&window.parent!==window.self){let n2={namespace:"reveal",eventName:qy,state:_H()};e$j(n2,Pv),window.parent.postMessage(JSON.stringify(n2),"*")}}function qv(qy="a"){Array.from(T1.wrapper.querySelectorAll(qy)).forEach(Pv=>{/^(http|www)/gi.test(Pv.getAttribute("href"))&&Pv.addEventListener("click",UD,!1)})}function LC(qy="a"){Array.from(T1.wrapper.querySelectorAll(qy)).forEach(Pv=>{/^(http|www)/gi.test(Pv.getAttribute("href"))&&Pv.removeEventListener("click",UD,!1)})}function J4(qy){QN(),T1.overlay=document.createElement("div"),T1.overlay.classList.add("overlay"),T1.overlay.classList.add("overlay-preview"),T1.wrapper.appendChild(T1.overlay),T1.overlay.innerHTML=`
+ `,this.Reveal.getRevealElement().appendChild(this.element),this.controlsLeft=t$b(ch,".navigate-left"),this.controlsRight=t$b(ch,".navigate-right"),this.controlsUp=t$b(ch,".navigate-up"),this.controlsDown=t$b(ch,".navigate-down"),this.controlsPrev=t$b(ch,".navigate-prev"),this.controlsNext=t$b(ch,".navigate-next"),this.controlsRightArrow=this.element.querySelector(".navigate-right"),this.controlsLeftArrow=this.element.querySelector(".navigate-left"),this.controlsDownArrow=this.element.querySelector(".navigate-down")}configure(ah,ch){this.element.style.display=ah.controls?"block":"none",this.element.setAttribute("data-controls-layout",ah.controlsLayout),this.element.setAttribute("data-controls-back-arrows",ah.controlsBackArrows)}bind(){let ah=["touchstart","click"];m$7&&(ah=["touchstart"]),ah.forEach(ch=>{this.controlsLeft.forEach(ph=>ph.addEventListener(ch,this.onNavigateLeftClicked,!1)),this.controlsRight.forEach(ph=>ph.addEventListener(ch,this.onNavigateRightClicked,!1)),this.controlsUp.forEach(ph=>ph.addEventListener(ch,this.onNavigateUpClicked,!1)),this.controlsDown.forEach(ph=>ph.addEventListener(ch,this.onNavigateDownClicked,!1)),this.controlsPrev.forEach(ph=>ph.addEventListener(ch,this.onNavigatePrevClicked,!1)),this.controlsNext.forEach(ph=>ph.addEventListener(ch,this.onNavigateNextClicked,!1))})}unbind(){["touchstart","click"].forEach(ah=>{this.controlsLeft.forEach(ch=>ch.removeEventListener(ah,this.onNavigateLeftClicked,!1)),this.controlsRight.forEach(ch=>ch.removeEventListener(ah,this.onNavigateRightClicked,!1)),this.controlsUp.forEach(ch=>ch.removeEventListener(ah,this.onNavigateUpClicked,!1)),this.controlsDown.forEach(ch=>ch.removeEventListener(ah,this.onNavigateDownClicked,!1)),this.controlsPrev.forEach(ch=>ch.removeEventListener(ah,this.onNavigatePrevClicked,!1)),this.controlsNext.forEach(ch=>ch.removeEventListener(ah,this.onNavigateNextClicked,!1))})}update(){let ah=this.Reveal.availableRoutes();[...this.controlsLeft,...this.controlsRight,...this.controlsUp,...this.controlsDown,...this.controlsPrev,...this.controlsNext].forEach(ph=>{ph.classList.remove("enabled","fragmented"),ph.setAttribute("disabled","disabled")}),ah.left&&this.controlsLeft.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),ah.right&&this.controlsRight.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),ah.up&&this.controlsUp.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),ah.down&&this.controlsDown.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),(ah.left||ah.up)&&this.controlsPrev.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")}),(ah.right||ah.down)&&this.controlsNext.forEach(ph=>{ph.classList.add("enabled"),ph.removeAttribute("disabled")});let ch=this.Reveal.getCurrentSlide();if(ch){let ph=this.Reveal.fragments.availableRoutes();ph.prev&&this.controlsPrev.forEach(yh=>{yh.classList.add("fragmented","enabled"),yh.removeAttribute("disabled")}),ph.next&&this.controlsNext.forEach(yh=>{yh.classList.add("fragmented","enabled"),yh.removeAttribute("disabled")}),this.Reveal.isVerticalSlide(ch)?(ph.prev&&this.controlsUp.forEach(yh=>{yh.classList.add("fragmented","enabled"),yh.removeAttribute("disabled")}),ph.next&&this.controlsDown.forEach(yh=>{yh.classList.add("fragmented","enabled"),yh.removeAttribute("disabled")})):(ph.prev&&this.controlsLeft.forEach(yh=>{yh.classList.add("fragmented","enabled"),yh.removeAttribute("disabled")}),ph.next&&this.controlsRight.forEach(yh=>{yh.classList.add("fragmented","enabled"),yh.removeAttribute("disabled")}))}if(this.Reveal.getConfig().controlsTutorial){let ph=this.Reveal.getIndices();!this.Reveal.hasNavigatedVertically()&&ah.down?this.controlsDownArrow.classList.add("highlight"):(this.controlsDownArrow.classList.remove("highlight"),this.Reveal.getConfig().rtl?!this.Reveal.hasNavigatedHorizontally()&&ah.left&&ph.v===0?this.controlsLeftArrow.classList.add("highlight"):this.controlsLeftArrow.classList.remove("highlight"):!this.Reveal.hasNavigatedHorizontally()&&ah.right&&ph.v===0?this.controlsRightArrow.classList.add("highlight"):this.controlsRightArrow.classList.remove("highlight"))}}destroy(){this.unbind(),this.element.remove()}onNavigateLeftClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.getConfig().navigationMode==="linear"?this.Reveal.prev():this.Reveal.left()}onNavigateRightClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.getConfig().navigationMode==="linear"?this.Reveal.next():this.Reveal.right()}onNavigateUpClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.up()}onNavigateDownClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.down()}onNavigatePrevClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.prev()}onNavigateNextClicked(ah){ah.preventDefault(),this.Reveal.onUserInput(),this.Reveal.next()}},T$5=class{constructor(ah){this.Reveal=ah,this.onProgressClicked=this.onProgressClicked.bind(this)}render(){this.element=document.createElement("div"),this.element.className="progress",this.Reveal.getRevealElement().appendChild(this.element),this.bar=document.createElement("span"),this.element.appendChild(this.bar)}configure(ah,ch){this.element.style.display=ah.progress?"block":"none"}bind(){this.Reveal.getConfig().progress&&this.element&&this.element.addEventListener("click",this.onProgressClicked,!1)}unbind(){this.Reveal.getConfig().progress&&this.element&&this.element.removeEventListener("click",this.onProgressClicked,!1)}update(){if(this.Reveal.getConfig().progress&&this.bar){let ah=this.Reveal.getProgress();this.Reveal.getTotalSlides()<2&&(ah=0),this.bar.style.transform="scaleX("+ah+")"}}getMaxWidth(){return this.Reveal.getRevealElement().offsetWidth}onProgressClicked(ah){this.Reveal.onUserInput(ah),ah.preventDefault();let ch=this.Reveal.getSlides(),ph=ch.length,yh=Math.floor(ah.clientX/this.getMaxWidth()*ph);this.Reveal.getConfig().rtl&&(yh=ph-yh);let xh=this.Reveal.getIndices(ch[yh]);this.Reveal.slide(xh.h,xh.v)}destroy(){this.element.remove()}},F$4=class{constructor(ah){this.Reveal=ah,this.lastMouseWheelStep=0,this.cursorHidden=!1,this.cursorInactiveTimeout=0,this.onDocumentCursorActive=this.onDocumentCursorActive.bind(this),this.onDocumentMouseScroll=this.onDocumentMouseScroll.bind(this)}configure(ah,ch){ah.mouseWheel?(document.addEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.addEventListener("mousewheel",this.onDocumentMouseScroll,!1)):(document.removeEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.removeEventListener("mousewheel",this.onDocumentMouseScroll,!1)),ah.hideInactiveCursor?(document.addEventListener("mousemove",this.onDocumentCursorActive,!1),document.addEventListener("mousedown",this.onDocumentCursorActive,!1)):(this.showCursor(),document.removeEventListener("mousemove",this.onDocumentCursorActive,!1),document.removeEventListener("mousedown",this.onDocumentCursorActive,!1))}showCursor(){this.cursorHidden&&(this.cursorHidden=!1,this.Reveal.getRevealElement().style.cursor="")}hideCursor(){this.cursorHidden===!1&&(this.cursorHidden=!0,this.Reveal.getRevealElement().style.cursor="none")}destroy(){this.showCursor(),document.removeEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.removeEventListener("mousewheel",this.onDocumentMouseScroll,!1),document.removeEventListener("mousemove",this.onDocumentCursorActive,!1),document.removeEventListener("mousedown",this.onDocumentCursorActive,!1)}onDocumentCursorActive(ah){this.showCursor(),clearTimeout(this.cursorInactiveTimeout),this.cursorInactiveTimeout=setTimeout(this.hideCursor.bind(this),this.Reveal.getConfig().hideCursorTime)}onDocumentMouseScroll(ah){if(Date.now()-this.lastMouseWheelStep>1e3){this.lastMouseWheelStep=Date.now();let ch=ah.detail||-ah.wheelDelta;ch>0?this.Reveal.next():ch<0&&this.Reveal.prev()}}};const z$5=(lh,ah)=>{const ch=document.createElement("script");ch.type="text/javascript",ch.async=!1,ch.defer=!1,ch.src=lh,typeof ah=="function"&&(ch.onload=ch.onreadystatechange=yh=>{(yh.type==="load"||/loaded|complete/.test(ch.readyState))&&(ch.onload=ch.onreadystatechange=ch.onerror=null,ah())},ch.onerror=yh=>{ch.onload=ch.onreadystatechange=ch.onerror=null,ah(new Error("Failed loading script: "+ch.src+` +`+yh))});const ph=document.querySelector("head");ph.insertBefore(ch,ph.lastChild)};let H$5=class{constructor(ah){this.Reveal=ah,this.state="idle",this.registeredPlugins={},this.asyncDependencies=[]}load(ah,ch){return this.state="loading",ah.forEach(this.registerPlugin.bind(this)),new Promise(ph=>{let yh=[],xh=0;if(ch.forEach(Oh=>{Oh.condition&&!Oh.condition()||(Oh.async?this.asyncDependencies.push(Oh):yh.push(Oh))}),yh.length){xh=yh.length;const Oh=Uh=>{Uh&&typeof Uh.callback=="function"&&Uh.callback(),--xh==0&&this.initPlugins().then(ph)};yh.forEach(Uh=>{typeof Uh.id=="string"?(this.registerPlugin(Uh),Oh(Uh)):typeof Uh.src=="string"?z$5(Uh.src,()=>Oh(Uh)):(console.warn("Unrecognized plugin format",Uh),Oh())})}else this.initPlugins().then(ph)})}initPlugins(){return new Promise(ah=>{let ch=Object.values(this.registeredPlugins),ph=ch.length;if(ph===0)this.loadAsync().then(ah);else{let yh,xh=()=>{--ph==0?this.loadAsync().then(ah):yh()},Oh=0;yh=()=>{let Uh=ch[Oh++];if(typeof Uh.init=="function"){let Fh=Uh.init(this.Reveal);Fh&&typeof Fh.then=="function"?Fh.then(xh):xh()}else xh()},yh()}})}loadAsync(){return this.state="loaded",this.asyncDependencies.length&&this.asyncDependencies.forEach(ah=>{z$5(ah.src,ah.callback)}),Promise.resolve()}registerPlugin(ah){arguments.length===2&&typeof arguments[0]=="string"?(ah=arguments[1]).id=arguments[0]:typeof ah=="function"&&(ah=ah());let ch=ah.id;typeof ch!="string"?console.warn("Unrecognized plugin format; can't find plugin.id",ah):this.registeredPlugins[ch]===void 0?(this.registeredPlugins[ch]=ah,this.state==="loaded"&&typeof ah.init=="function"&&ah.init(this.Reveal)):console.warn('reveal.js: "'+ch+'" plugin has already been registered')}hasPlugin(ah){return!!this.registeredPlugins[ah]}getPlugin(ah){return this.registeredPlugins[ah]}getRegisteredPlugins(){return this.registeredPlugins}destroy(){Object.values(this.registeredPlugins).forEach(ah=>{typeof ah.destroy=="function"&&ah.destroy()}),this.registeredPlugins={},this.asyncDependencies=[]}},q$3=class{constructor(ah){this.Reveal=ah}async setupPDF(){const ah=this.Reveal.getConfig(),ch=t$b(this.Reveal.getRevealElement(),".slides section"),ph=ah.slideNumber&&/all|print/i.test(ah.showSlideNumber),yh=this.Reveal.getComputedSlideSize(window.innerWidth,window.innerHeight),xh=Math.floor(yh.width*(1+ah.margin)),Oh=Math.floor(yh.height*(1+ah.margin)),Uh=yh.width,Fh=yh.height;await new Promise(requestAnimationFrame),l$d("@page{size:"+xh+"px "+Oh+"px; margin: 0px;}"),l$d(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+Uh+"px; max-height:"+Fh+"px}"),document.documentElement.classList.add("print-pdf"),document.body.style.width=xh+"px",document.body.style.height=Oh+"px";const zh=document.querySelector(".reveal-viewport");let n1;if(zh){const T1=window.getComputedStyle(zh);T1&&T1.background&&(n1=T1.background)}await new Promise(requestAnimationFrame),this.Reveal.layoutSlideContents(Uh,Fh),await new Promise(requestAnimationFrame);const t1=ch.map(T1=>T1.scrollHeight),f1=[],g1=ch[0].parentNode;ch.forEach(function(T1,V1){if(T1.classList.contains("stack")===!1){let a0=(xh-Uh)/2,o0=(Oh-Fh)/2;const B0=t1[V1];let iy=Math.max(Math.ceil(B0/Oh),1);iy=Math.min(iy,ah.pdfMaxPagesPerSlide),(iy===1&&ah.center||T1.classList.contains("center"))&&(o0=Math.max((Oh-B0)/2,0));const Hy=document.createElement("div");if(f1.push(Hy),Hy.className="pdf-page",Hy.style.height=(Oh+ah.pdfPageHeightOffset)*iy+"px",n1&&(Hy.style.background=n1),Hy.appendChild(T1),T1.style.left=a0+"px",T1.style.top=o0+"px",T1.style.width=Uh+"px",this.Reveal.slideContent.layout(T1),T1.slideBackgroundElement&&Hy.insertBefore(T1.slideBackgroundElement,T1),ah.showNotes){const yv=this.Reveal.getSlideNotes(T1);if(yv){const cv=typeof ah.showNotes=="string"?ah.showNotes:"inline",N0=document.createElement("div");N0.classList.add("speaker-notes"),N0.classList.add("speaker-notes-pdf"),N0.setAttribute("data-layout",cv),N0.innerHTML=yv,cv==="separate-page"?f1.push(N0):(N0.style.left="8px",N0.style.bottom="8px",N0.style.width=xh-2*8+"px",Hy.appendChild(N0))}}if(ph){const yv=V1+1,ky=document.createElement("div");ky.classList.add("slide-number"),ky.classList.add("slide-number-pdf"),ky.innerHTML=yv,Hy.appendChild(ky)}if(ah.pdfSeparateFragments){const yv=this.Reveal.fragments.sort(Hy.querySelectorAll(".fragment"),!0);let ky;yv.forEach(function(cv){ky&&ky.forEach(function(n0){n0.classList.remove("current-fragment")}),cv.forEach(function(n0){n0.classList.add("visible","current-fragment")},this);const N0=Hy.cloneNode(!0);f1.push(N0),ky=cv},this),yv.forEach(function(cv){cv.forEach(function(N0){N0.classList.remove("visible","current-fragment")})})}else t$b(Hy,".fragment:not(.fade-out)").forEach(function(yv){yv.classList.add("visible")})}},this),await new Promise(requestAnimationFrame),f1.forEach(T1=>g1.appendChild(T1)),this.Reveal.dispatchEvent({type:"pdf-ready"})}isPrintingPDF(){return/print-pdf/gi.test(window.location.search)}},B$5=class{constructor(ah){this.Reveal=ah,this.touchStartX=0,this.touchStartY=0,this.touchStartCount=0,this.touchCaptured=!1,this.onPointerDown=this.onPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this)}bind(){let ah=this.Reveal.getRevealElement();"onpointerdown"in window?(ah.addEventListener("pointerdown",this.onPointerDown,!1),ah.addEventListener("pointermove",this.onPointerMove,!1),ah.addEventListener("pointerup",this.onPointerUp,!1)):window.navigator.msPointerEnabled?(ah.addEventListener("MSPointerDown",this.onPointerDown,!1),ah.addEventListener("MSPointerMove",this.onPointerMove,!1),ah.addEventListener("MSPointerUp",this.onPointerUp,!1)):(ah.addEventListener("touchstart",this.onTouchStart,!1),ah.addEventListener("touchmove",this.onTouchMove,!1),ah.addEventListener("touchend",this.onTouchEnd,!1))}unbind(){let ah=this.Reveal.getRevealElement();ah.removeEventListener("pointerdown",this.onPointerDown,!1),ah.removeEventListener("pointermove",this.onPointerMove,!1),ah.removeEventListener("pointerup",this.onPointerUp,!1),ah.removeEventListener("MSPointerDown",this.onPointerDown,!1),ah.removeEventListener("MSPointerMove",this.onPointerMove,!1),ah.removeEventListener("MSPointerUp",this.onPointerUp,!1),ah.removeEventListener("touchstart",this.onTouchStart,!1),ah.removeEventListener("touchmove",this.onTouchMove,!1),ah.removeEventListener("touchend",this.onTouchEnd,!1)}isSwipePrevented(ah){if(n$k(ah,"video, audio"))return!0;for(;ah&&typeof ah.hasAttribute=="function";){if(ah.hasAttribute("data-prevent-swipe"))return!0;ah=ah.parentNode}return!1}onTouchStart(ah){if(this.isSwipePrevented(ah.target))return!0;this.touchStartX=ah.touches[0].clientX,this.touchStartY=ah.touches[0].clientY,this.touchStartCount=ah.touches.length}onTouchMove(ah){if(this.isSwipePrevented(ah.target))return!0;let ch=this.Reveal.getConfig();if(this.touchCaptured)m$7&&ah.preventDefault();else{this.Reveal.onUserInput(ah);let ph=ah.touches[0].clientX,yh=ah.touches[0].clientY;if(ah.touches.length===1&&this.touchStartCount!==2){let xh=this.Reveal.availableRoutes({includeFragments:!0}),Oh=ph-this.touchStartX,Uh=yh-this.touchStartY;Oh>40&&Math.abs(Oh)>Math.abs(Uh)?(this.touchCaptured=!0,ch.navigationMode==="linear"?ch.rtl?this.Reveal.next():this.Reveal.prev():this.Reveal.left()):Oh<-40&&Math.abs(Oh)>Math.abs(Uh)?(this.touchCaptured=!0,ch.navigationMode==="linear"?ch.rtl?this.Reveal.prev():this.Reveal.next():this.Reveal.right()):Uh>40&&xh.up?(this.touchCaptured=!0,ch.navigationMode==="linear"?this.Reveal.prev():this.Reveal.up()):Uh<-40&&xh.down&&(this.touchCaptured=!0,ch.navigationMode==="linear"?this.Reveal.next():this.Reveal.down()),ch.embedded?(this.touchCaptured||this.Reveal.isVerticalSlide())&&ah.preventDefault():ah.preventDefault()}}}onTouchEnd(ah){this.touchCaptured=!1}onPointerDown(ah){ah.pointerType!==ah.MSPOINTER_TYPE_TOUCH&&ah.pointerType!=="touch"||(ah.touches=[{clientX:ah.clientX,clientY:ah.clientY}],this.onTouchStart(ah))}onPointerMove(ah){ah.pointerType!==ah.MSPOINTER_TYPE_TOUCH&&ah.pointerType!=="touch"||(ah.touches=[{clientX:ah.clientX,clientY:ah.clientY}],this.onTouchMove(ah))}onPointerUp(ah){ah.pointerType!==ah.MSPOINTER_TYPE_TOUCH&&ah.pointerType!=="touch"||(ah.touches=[{clientX:ah.clientX,clientY:ah.clientY}],this.onTouchEnd(ah))}},O$3=class{constructor(ah){this.Reveal=ah,this.onRevealPointerDown=this.onRevealPointerDown.bind(this),this.onDocumentPointerDown=this.onDocumentPointerDown.bind(this)}configure(ah,ch){ah.embedded?this.blur():(this.focus(),this.unbind())}bind(){this.Reveal.getConfig().embedded&&this.Reveal.getRevealElement().addEventListener("pointerdown",this.onRevealPointerDown,!1)}unbind(){this.Reveal.getRevealElement().removeEventListener("pointerdown",this.onRevealPointerDown,!1),document.removeEventListener("pointerdown",this.onDocumentPointerDown,!1)}focus(){this.state!=="focus"&&(this.Reveal.getRevealElement().classList.add("focused"),document.addEventListener("pointerdown",this.onDocumentPointerDown,!1)),this.state="focus"}blur(){this.state!=="blur"&&(this.Reveal.getRevealElement().classList.remove("focused"),document.removeEventListener("pointerdown",this.onDocumentPointerDown,!1)),this.state="blur"}isFocused(){return this.state==="focus"}destroy(){this.Reveal.getRevealElement().classList.remove("focused")}onRevealPointerDown(ah){this.focus()}onDocumentPointerDown(ah){let ch=r$f(ah.target,".reveal");ch&&ch===this.Reveal.getRevealElement()||this.blur()}},U$3=class{constructor(ah){this.Reveal=ah}render(){this.element=document.createElement("div"),this.element.className="speaker-notes",this.element.setAttribute("data-prevent-swipe",""),this.element.setAttribute("tabindex","0"),this.Reveal.getRevealElement().appendChild(this.element)}configure(ah,ch){ah.showNotes&&this.element.setAttribute("data-layout",typeof ah.showNotes=="string"?ah.showNotes:"inline")}update(){this.Reveal.getConfig().showNotes&&this.element&&this.Reveal.getCurrentSlide()&&!this.Reveal.print.isPrintingPDF()&&(this.element.innerHTML=this.getSlideNotes()||'No notes on this slide.')}updateVisibility(){this.Reveal.getConfig().showNotes&&this.hasNotes()&&!this.Reveal.print.isPrintingPDF()?this.Reveal.getRevealElement().classList.add("show-notes"):this.Reveal.getRevealElement().classList.remove("show-notes")}hasNotes(){return this.Reveal.getSlidesElement().querySelectorAll("[data-notes], aside.notes").length>0}isSpeakerNotesWindow(){return!!window.location.search.match(/receiver/gi)}getSlideNotes(ah=this.Reveal.getCurrentSlide()){if(ah.hasAttribute("data-notes"))return ah.getAttribute("data-notes");let ch=ah.querySelector("aside.notes");return ch?ch.innerHTML:null}destroy(){this.element.remove()}},W$3=class{constructor(ah,ch){this.diameter=100,this.diameter2=this.diameter/2,this.thickness=6,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=ah,this.progressCheck=ch,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.canvas.style.width=this.diameter2+"px",this.canvas.style.height=this.diameter2+"px",this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}setPlaying(ah){const ch=this.playing;this.playing=ah,!ch&&this.playing?this.animate():this.render()}animate(){const ah=this.progress;this.progress=this.progressCheck(),ah>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&requestAnimationFrame(this.animate.bind(this))}render(){let ah=this.playing?this.progress:0,ch=this.diameter2-this.thickness,ph=this.diameter2,yh=this.diameter2,xh=28;this.progressOffset+=.1*(1-this.progressOffset);const Oh=-Math.PI/2+ah*(2*Math.PI),Uh=-Math.PI/2+this.progressOffset*(2*Math.PI);this.context.save(),this.context.clearRect(0,0,this.diameter,this.diameter),this.context.beginPath(),this.context.arc(ph,yh,ch+4,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(ph,yh,ch,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="rgba( 255, 255, 255, 0.2 )",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(ph,yh,ch,Uh,Oh,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(ph-14,yh-14),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,10,xh),this.context.fillRect(18,0,10,xh)):(this.context.beginPath(),this.context.translate(4,0),this.context.moveTo(0,0),this.context.lineTo(24,14),this.context.lineTo(0,xh),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()}on(ah,ch){this.canvas.addEventListener(ah,ch,!1)}off(ah,ch){this.canvas.removeEventListener(ah,ch,!1)}destroy(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)}};var K$3={width:960,height:700,margin:.04,minScale:.2,maxScale:2,controls:!0,controlsTutorial:!0,controlsLayout:"bottom-right",controlsBackArrows:"faded",progress:!0,slideNumber:!1,showSlideNumber:"all",hashOneBasedIndex:!1,hash:!1,respondToHashChanges:!0,history:!1,keyboard:!0,keyboardCondition:null,disableLayout:!1,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,navigationMode:"default",shuffle:!1,fragments:!0,fragmentInURL:!0,embedded:!1,help:!0,pause:!0,showNotes:!1,showHiddenSlides:!1,autoPlayMedia:null,preloadIframes:null,autoAnimate:!0,autoAnimateMatcher:null,autoAnimateEasing:"ease",autoAnimateDuration:1,autoAnimateUnmatched:!0,autoAnimateStyles:["opacity","color","background-color","padding","font-size","line-height","letter-spacing","border-width","border-color","border-radius","outline","outline-offset"],autoSlide:0,autoSlideStoppable:!0,autoSlideMethod:null,defaultTiming:null,mouseWheel:!1,previewLinks:!1,postMessage:!0,postMessageEvents:!1,focusBodyOnPageVisibilityChange:!0,transition:"slide",transitionSpeed:"default",backgroundTransition:"fade",parallaxBackgroundImage:"",parallaxBackgroundSize:"",parallaxBackgroundRepeat:"",parallaxBackgroundPosition:"",parallaxBackgroundHorizontal:null,parallaxBackgroundVertical:null,pdfMaxPagesPerSlide:Number.POSITIVE_INFINITY,pdfSeparateFragments:!0,pdfPageHeightOffset:-1,viewDistance:3,mobileViewDistance:2,display:"block",hideInactiveCursor:!0,hideCursorTime:5e3,dependencies:[],plugins:[]};function V$5(lh,ah){arguments.length<2&&(ah=arguments[0],lh=document.querySelector(".reveal"));const ch={};let ph,yh,xh,Oh,Uh,Fh={},zh=!1,n1={hasNavigatedHorizontally:!1,hasNavigatedVertically:!1},t1=[],f1=1,g1={layout:"",overview:""},T1={},V1="idle",a0=0,o0=0,B0=-1,iy=!1,Hy=new E$5(ch),yv=new R$5(ch),ky=new x$8(ch),cv=new A$7(ch),N0=new P$5(ch),n0=new N$6(ch),r0=new M$5(ch),ty=new D$5(ch),Y0=new I$5(ch),X0=new T$5(ch),uy=new F$4(ch),aw=new H$5(ch),t2=new q$3(ch),Y2=new O$3(ch),I2=new B$5(ch),gx=new U$3(ch);function TA(qy){if(!lh)throw'Unable to find presentation root (
).';if(T1.wrapper=lh,T1.slides=lh.querySelector(".slides"),!T1.slides)throw'Unable to find slides container (
).';return Fh={...K$3,...Fh,...ah,...qy,...d$7()},N2(),window.addEventListener("load",xR,!1),aw.load(Fh.plugins,Fh.dependencies).then(G2),new Promise(Pv=>ch.on("ready",Pv))}function N2(){Fh.embedded===!0?T1.viewport=r$f(lh,".reveal-viewport")||lh:(T1.viewport=document.body,document.documentElement.classList.add("reveal-full-page")),T1.viewport.classList.add("reveal-viewport")}function G2(){zh=!0,Bx(),mw(),yk(),WC(),G3(),dF(),Zk(),ty.readURL(),cv.update(!0),setTimeout(()=>{T1.slides.classList.remove("no-transition"),T1.wrapper.classList.add("ready"),Zy({type:"ready",data:{indexh:ph,indexv:yh,currentSlide:Oh}})},1),t2.isPrintingPDF()&&(O3(),document.readyState==="complete"?t2.setupPDF():window.addEventListener("load",()=>{t2.setupPDF()}))}function Bx(){Fh.showHiddenSlides||t$b(T1.wrapper,'section[data-visibility="hidden"]').forEach(qy=>{qy.parentNode.removeChild(qy)})}function mw(){T1.slides.classList.add("no-transition"),v$6?T1.wrapper.classList.add("no-hover"):T1.wrapper.classList.remove("no-hover"),cv.render(),yv.render(),Y0.render(),X0.render(),gx.render(),T1.pauseOverlay=o$h(T1.wrapper,"div","pause-overlay",Fh.controls?'':null),T1.statusElement=$3(),T1.wrapper.setAttribute("role","application")}function $3(){let qy=T1.wrapper.querySelector(".aria-status");return qy||(qy=document.createElement("div"),qy.style.position="absolute",qy.style.height="1px",qy.style.width="1px",qy.style.overflow="hidden",qy.style.clip="rect( 1px, 1px, 1px, 1px )",qy.classList.add("aria-status"),qy.setAttribute("aria-live","polite"),qy.setAttribute("aria-atomic","true"),T1.wrapper.appendChild(qy)),qy}function w2(qy){T1.statusElement.textContent=qy}function y2(qy){let Pv="";if(qy.nodeType===3)Pv+=qy.textContent;else if(qy.nodeType===1){let n2=qy.getAttribute("aria-hidden"),_2=window.getComputedStyle(qy).display==="none";n2==="true"||_2||Array.from(qy.childNodes).forEach(nC=>{Pv+=y2(nC)})}return Pv=Pv.trim(),Pv===""?"":Pv+" "}function WC(){setInterval(()=>{T1.wrapper.scrollTop===0&&T1.wrapper.scrollLeft===0||(T1.wrapper.scrollTop=0,T1.wrapper.scrollLeft=0)},1e3)}function G3(){document.addEventListener("fullscreenchange",U$),document.addEventListener("webkitfullscreenchange",U$)}function yk(){Fh.postMessage&&window.addEventListener("message",tv,!1)}function Zk(qy){const Pv={...Fh};if(typeof qy=="object"&&e$j(Fh,qy),ch.isReady()===!1)return;const n2=T1.wrapper.querySelectorAll(".slides section").length;T1.wrapper.classList.remove(Pv.transition),T1.wrapper.classList.add(Fh.transition),T1.wrapper.setAttribute("data-transition-speed",Fh.transitionSpeed),T1.wrapper.setAttribute("data-background-transition",Fh.backgroundTransition),T1.viewport.style.setProperty("--slide-width",Fh.width+"px"),T1.viewport.style.setProperty("--slide-height",Fh.height+"px"),Fh.shuffle&&BU(),i$e(T1.wrapper,"embedded",Fh.embedded),i$e(T1.wrapper,"rtl",Fh.rtl),i$e(T1.wrapper,"center",Fh.center),Fh.pause===!1&&T$(),Fh.previewLinks?(qv(),LC("[data-preview-link=false]")):(LC(),qv("[data-preview-link]:not([data-preview-link=false])")),ky.reset(),Uh&&(Uh.destroy(),Uh=null),n2>1&&Fh.autoSlide&&Fh.autoSlideStoppable&&(Uh=new W$3(T1.wrapper,()=>Math.min(Math.max((Date.now()-B0)/a0,0),1)),Uh.on("click",EC),iy=!1),Fh.navigationMode!=="default"?T1.wrapper.setAttribute("data-navigation-mode",Fh.navigationMode):T1.wrapper.removeAttribute("data-navigation-mode"),gx.configure(Fh,Pv),Y2.configure(Fh,Pv),uy.configure(Fh,Pv),Y0.configure(Fh,Pv),X0.configure(Fh,Pv),r0.configure(Fh,Pv),N0.configure(Fh,Pv),yv.configure(Fh,Pv),a7()}function HC(){window.addEventListener("resize",WA,!1),Fh.touch&&I2.bind(),Fh.keyboard&&r0.bind(),Fh.progress&&X0.bind(),Fh.respondToHashChanges&&ty.bind(),Y0.bind(),Y2.bind(),T1.slides.addEventListener("click",oA,!1),T1.slides.addEventListener("transitionend",Ew,!1),T1.pauseOverlay.addEventListener("click",T$,!1),Fh.focusBodyOnPageVisibilityChange&&document.addEventListener("visibilitychange",Hk,!1)}function O3(){I2.unbind(),Y2.unbind(),r0.unbind(),Y0.unbind(),X0.unbind(),ty.unbind(),window.removeEventListener("resize",WA,!1),T1.slides.removeEventListener("click",oA,!1),T1.slides.removeEventListener("transitionend",Ew,!1),T1.pauseOverlay.removeEventListener("click",T$,!1)}function sx(){O3(),s7(),LC(),gx.destroy(),Y2.destroy(),aw.destroy(),uy.destroy(),Y0.destroy(),X0.destroy(),cv.destroy(),yv.destroy(),document.removeEventListener("fullscreenchange",U$),document.removeEventListener("webkitfullscreenchange",U$),document.removeEventListener("visibilitychange",Hk,!1),window.removeEventListener("message",tv,!1),window.removeEventListener("load",xR,!1),T1.pauseOverlay&&T1.pauseOverlay.remove(),T1.statusElement&&T1.statusElement.remove(),document.documentElement.classList.remove("reveal-full-page"),T1.wrapper.classList.remove("ready","center","has-horizontal-slides","has-vertical-slides"),T1.wrapper.removeAttribute("data-transition-speed"),T1.wrapper.removeAttribute("data-background-transition"),T1.viewport.classList.remove("reveal-viewport"),T1.viewport.style.removeProperty("--slide-width"),T1.viewport.style.removeProperty("--slide-height"),T1.slides.style.removeProperty("width"),T1.slides.style.removeProperty("height"),T1.slides.style.removeProperty("zoom"),T1.slides.style.removeProperty("left"),T1.slides.style.removeProperty("top"),T1.slides.style.removeProperty("bottom"),T1.slides.style.removeProperty("right"),T1.slides.style.removeProperty("transform"),Array.from(T1.wrapper.querySelectorAll(".slides section")).forEach(qy=>{qy.style.removeProperty("display"),qy.style.removeProperty("top"),qy.removeAttribute("hidden"),qy.removeAttribute("aria-hidden")})}function b2(qy,Pv,n2){lh.addEventListener(qy,Pv,n2)}function eC(qy,Pv,n2){lh.removeEventListener(qy,Pv,n2)}function s3(qy){typeof qy.layout=="string"&&(g1.layout=qy.layout),typeof qy.overview=="string"&&(g1.overview=qy.overview),g1.layout?a$c(T1.slides,g1.layout+" "+g1.overview):a$c(T1.slides,g1.overview)}function Zy({target:qy=T1.wrapper,type:Pv,data:n2,bubbles:_2=!0}){let nC=document.createEvent("HTMLEvents",1,2);return nC.initEvent(Pv,_2,!0),e$j(nC,n2),qy.dispatchEvent(nC),qy===T1.wrapper&&Aw(Pv),nC}function Aw(qy,Pv){if(Fh.postMessageEvents&&window.parent!==window.self){let n2={namespace:"reveal",eventName:qy,state:_H()};e$j(n2,Pv),window.parent.postMessage(JSON.stringify(n2),"*")}}function qv(qy="a"){Array.from(T1.wrapper.querySelectorAll(qy)).forEach(Pv=>{/^(http|www)/gi.test(Pv.getAttribute("href"))&&Pv.addEventListener("click",UD,!1)})}function LC(qy="a"){Array.from(T1.wrapper.querySelectorAll(qy)).forEach(Pv=>{/^(http|www)/gi.test(Pv.getAttribute("href"))&&Pv.removeEventListener("click",UD,!1)})}function J4(qy){QN(),T1.overlay=document.createElement("div"),T1.overlay.classList.add("overlay"),T1.overlay.classList.add("overlay-preview"),T1.wrapper.appendChild(T1.overlay),T1.overlay.innerHTML=`
@@ -1804,46 +1791,46 @@ span.CodeMirror-selectedtext {
${qy}
- `,T1.overlay.querySelector(".close").addEventListener("click",_2=>{QN(),_2.preventDefault()},!1)}}function QN(){return!!T1.overlay&&(T1.overlay.parentNode.removeChild(T1.overlay),T1.overlay=null,!0)}function xR(){if(T1.wrapper&&!t2.isPrintingPDF()){if(!Fh.disableLayout){v$6&&!Fh.embedded&&document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px");const qy=DP(),Pv=f1;l5(Fh.width,Fh.height),T1.slides.style.width=qy.width+"px",T1.slides.style.height=qy.height+"px",f1=Math.min(qy.presentationWidth/qy.width,qy.presentationHeight/qy.height),f1=Math.max(f1,Fh.minScale),f1=Math.min(f1,Fh.maxScale),f1===1?(T1.slides.style.zoom="",T1.slides.style.left="",T1.slides.style.top="",T1.slides.style.bottom="",T1.slides.style.right="",s3({layout:""})):f1>1&&f$9&&window.devicePixelRatio<2?(T1.slides.style.zoom=f1,T1.slides.style.left="",T1.slides.style.top="",T1.slides.style.bottom="",T1.slides.style.right="",s3({layout:""})):(T1.slides.style.zoom="",T1.slides.style.left="50%",T1.slides.style.top="50%",T1.slides.style.bottom="auto",T1.slides.style.right="auto",s3({layout:"translate(-50%, -50%) scale("+f1+")"}));const n2=Array.from(T1.wrapper.querySelectorAll(".slides section"));for(let _2=0,nC=n2.length;_2 .stretch, section > .r-stretch").forEach(n2=>{let _2=c$e(n2,Pv);if(/(img|video)/gi.test(n2.nodeName)){const nC=n2.naturalWidth||n2.videoWidth,l3=n2.naturalHeight||n2.videoHeight,$N=Math.min(qy/nC,_2/l3);n2.style.width=nC*$N+"px",n2.style.height=l3*$N+"px"}else n2.style.width=qy+"px",n2.style.height=_2+"px"})}function DP(qy,Pv){const n2={width:Fh.width,height:Fh.height,presentationWidth:qy||T1.wrapper.offsetWidth,presentationHeight:Pv||T1.wrapper.offsetHeight};return n2.presentationWidth-=n2.presentationWidth*Fh.margin,n2.presentationHeight-=n2.presentationHeight*Fh.margin,typeof n2.width=="string"&&/%$/.test(n2.width)&&(n2.width=parseInt(n2.width,10)/100*n2.presentationWidth),typeof n2.height=="string"&&/%$/.test(n2.height)&&(n2.height=parseInt(n2.height,10)/100*n2.presentationHeight),n2}function uF(qy,Pv){typeof qy=="object"&&typeof qy.setAttribute=="function"&&qy.setAttribute("data-previous-indexv",Pv||0)}function u5(qy){if(typeof qy=="object"&&typeof qy.setAttribute=="function"&&qy.classList.contains("stack")){const Pv=qy.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(qy.getAttribute(Pv)||0,10)}return 0}function c3(qy=Oh){return qy&&qy.parentNode&&!!qy.parentNode.nodeName.match(/section/i)}function tC(){return!(!Oh||!c3(Oh))&&!Oh.nextElementSibling}function i7(){return ph===0&&_h===0}function ZO(){return!!Oh&&!Oh.nextElementSibling&&(!c3(Oh)||!Oh.parentNode.nextElementSibling)}function F$(){if(Fh.pause){const qy=T1.wrapper.classList.contains("paused");s7(),T1.wrapper.classList.add("paused"),qy===!1&&Zy({type:"paused"})}}function T$(){const qy=T1.wrapper.classList.contains("paused");T1.wrapper.classList.remove("paused"),f5(),qy&&Zy({type:"resumed"})}function hF(qy){typeof qy=="boolean"?qy?F$():T$():C$()?T$():F$()}function C$(){return T1.wrapper.classList.contains("paused")}function r7(qy){typeof qy=="boolean"?qy?mx():B$():iy?mx():B$()}function fN(){return!(!a0||iy)}function h5(qy,Pv,n2,_2){if(Zy({type:"beforeslidechange",data:{indexh:qy===void 0?ph:qy,indexv:Pv===void 0?_h:Pv,origin:_2}}).defaultPrevented)return;xh=Oh;const nC=T1.wrapper.querySelectorAll(".slides>section");if(nC.length===0)return;Pv!==void 0||n0.isActive()||(Pv=u5(nC[qy])),xh&&xh.parentNode&&xh.parentNode.classList.contains("stack")&&uF(xh.parentNode,_h);const l3=t1.concat();t1.length=0;let $N=ph||0,fL=_h||0;ph=d5(".slides>section",qy===void 0?ph:qy),_h=d5(".slides>section.present>section",Pv===void 0?_h:Pv);let AR=ph!==$N||_h!==fL;AR||(xh=null);let pN=nC[ph];Oh=pN.querySelectorAll("section")[_h]||pN;let i6=!1;AR&&xh&&Oh&&!n0.isActive()&&(xh.hasAttribute("data-auto-animate")&&Oh.hasAttribute("data-auto-animate")&&xh.getAttribute("data-auto-animate-id")===Oh.getAttribute("data-auto-animate-id")&&!(ph>$N||_h>fL?Oh:xh).hasAttribute("data-auto-animate-restart")&&(i6=!0,T1.slides.classList.add("disable-slide-transitions")),V1="running"),fF(),xR(),n0.isActive()&&n0.update(),n2!==void 0&&N0.goto(n2),xh&&xh!==Oh&&(xh.classList.remove("present"),xh.setAttribute("aria-hidden","true"),i7()&&setTimeout(()=>{Q6().forEach(MP=>{uF(MP,0)})},0));e:for(let MP=0,LP=t1.length;MP{w2(y2(Oh))}),X0.update(),Y0.update(),gx.update(),cv.update(),cv.updateParallax(),yv.update(),N0.update(),ty.writeURL(),f5(),i6&&(setTimeout(()=>{T1.slides.classList.remove("disable-slide-transitions")},0),Fh.autoAnimate&&ky.run(xh,Oh))}function a7(){O3(),HC(),xR(),a0=Fh.autoSlide,f5(),cv.create(),ty.writeURL(),N0.sortAll(),Y0.update(),X0.update(),fF(),gx.update(),gx.updateVisibility(),cv.update(!0),yv.update(),Hy.formatEmbeddedContent(),Fh.autoPlayMedia===!1?Hy.stopEmbeddedContent(Oh,{unloadIframes:!1}):Hy.startEmbeddedContent(Oh),n0.isActive()&&n0.layout()}function $4(qy=Oh){cv.sync(qy),N0.sync(qy),Hy.load(qy),cv.update(),gx.update()}function dF(){TR().forEach(qy=>{t$b(qy,"section").forEach((Pv,n2)=>{n2>0&&(Pv.classList.remove("present"),Pv.classList.remove("past"),Pv.classList.add("future"),Pv.setAttribute("aria-hidden","true"))})})}function BU(qy=TR()){qy.forEach((Pv,n2)=>{let _2=qy[Math.floor(Math.random()*qy.length)];_2.parentNode===Pv.parentNode&&Pv.parentNode.insertBefore(Pv,_2);let nC=Pv.querySelectorAll("section");nC.length&&BU(nC)})}function d5(qy,Pv){let n2=t$b(T1.wrapper,qy),_2=n2.length,nC=t2.isPrintingPDF();if(_2){Fh.loop&&(Pv%=_2)<0&&(Pv=_2+Pv),Pv=Math.max(Math.min(Pv,_2-1),0);for(let AR=0;AR<_2;AR++){let pN=n2[AR],Z6=Fh.rtl&&!c3(pN);pN.classList.remove("past"),pN.classList.remove("present"),pN.classList.remove("future"),pN.setAttribute("hidden",""),pN.setAttribute("aria-hidden","true"),pN.querySelector("section")&&pN.classList.add("stack"),nC?pN.classList.add("present"):AR{i6.classList.add("visible"),i6.classList.remove("current-fragment")})):AR>Pv&&(pN.classList.add(Z6?"past":"future"),Fh.fragments&&t$b(pN,".fragment.visible").forEach(i6=>{i6.classList.remove("visible","current-fragment")}))}let l3=n2[Pv],$N=l3.classList.contains("present");l3.classList.add("present"),l3.removeAttribute("hidden"),l3.removeAttribute("aria-hidden"),$N||Zy({target:l3,type:"visible",bubbles:!1});let fL=l3.getAttribute("data-state");fL&&(t1=t1.concat(fL.split(" ")))}else Pv=0;return Pv}function fF(){let qy,Pv,n2=TR(),_2=n2.length;if(_2&&ph!==void 0){let nC=n0.isActive()?10:Fh.viewDistance;v$6&&(nC=n0.isActive()?6:Fh.mobileViewDistance),t2.isPrintingPDF()&&(nC=Number.MAX_VALUE);for(let l3=0;l3<_2;l3++){let $N=n2[l3],fL=t$b($N,"section"),AR=fL.length;if(qy=Math.abs((ph||0)-l3)||0,Fh.loop&&(qy=Math.abs(((ph||0)-l3)%(_2-nC))||0),qysection"),n2=T1.wrapper.querySelectorAll(".slides>section.present>section"),_2={left:ph>0,right:ph0,down:_h1&&(_2.left=!0,_2.right=!0),n2.length>1&&(_2.up=!0,_2.down=!0)),Pv.length>1&&Fh.navigationMode==="linear"&&(_2.right=_2.right||_2.down,_2.left=_2.left||_2.up),qy===!0){let nC=N0.availableRoutes();_2.left=_2.left||nC.prev,_2.up=_2.up||nC.prev,_2.down=_2.down||nC.next,_2.right=_2.right||nC.next}if(Fh.rtl){let nC=_2.left;_2.left=_2.right,_2.right=nC}return _2}function bH(qy=Oh){let Pv=TR(),n2=0;e:for(let _2=0;_20){let _2=.9;Pv+=Oh.querySelectorAll(".fragment.visible").length/n2.length*_2}}return Math.min(Pv/(qy-1),1)}function X6(qy){let Pv,n2=ph,_2=_h;if(qy){let nC=c3(qy),l3=nC?qy.parentNode:qy,$N=TR();n2=Math.max($N.indexOf(l3),0),_2=void 0,nC&&(_2=Math.max(t$b(qy.parentNode,"section").indexOf(qy),0))}if(!qy&&Oh&&Oh.querySelectorAll(".fragment").length>0){let nC=Oh.querySelector(".current-fragment");Pv=nC&&nC.hasAttribute("data-fragment-index")?parseInt(nC.getAttribute("data-fragment-index"),10):Oh.querySelectorAll(".fragment.visible").length-1}return{h:n2,v:_2,f:Pv}}function wI(){return t$b(T1.wrapper,'.slides section:not(.stack):not([data-visibility="uncounted"])')}function TR(){return t$b(T1.wrapper,".slides>section")}function UU(){return t$b(T1.wrapper,".slides>section>section")}function Q6(){return t$b(T1.wrapper,".slides>section.stack")}function RP(){return TR().length>1}function hL(){return UU().length>1}function jU(){return wI().map(qy=>{let Pv={};for(let n2=0;n2{nC.hasAttribute("data-autoplay")&&a0&&1e3*nC.duration/nC.playbackRate>a0&&(a0=1e3*nC.duration/nC.playbackRate+1e3)})),!a0||iy||C$()||n0.isActive()||ZO()&&!N0.availableRoutes().next&&Fh.loop!==!0||(o0=setTimeout(()=>{typeof Fh.autoSlideMethod=="function"?Fh.autoSlideMethod():gy(),f5()},a0),B0=Date.now()),Uh&&Uh.setPlaying(o0!==-1)}}function s7(){clearTimeout(o0),o0=-1}function B$(){a0&&!iy&&(iy=!0,Zy({type:"autoslidepaused"}),clearTimeout(o0),Uh&&Uh.setPlaying(!1))}function mx(){a0&&iy&&(iy=!1,Zy({type:"autoslideresumed"}),f5())}function n6({skipFragments:qy=!1}={}){n1.hasNavigatedHorizontally=!0,Fh.rtl?(n0.isActive()||qy||N0.next()===!1)&&t6().left&&h5(ph+1,Fh.navigationMode==="grid"?_h:void 0):(n0.isActive()||qy||N0.prev()===!1)&&t6().left&&h5(ph-1,Fh.navigationMode==="grid"?_h:void 0)}function c7({skipFragments:qy=!1}={}){n1.hasNavigatedHorizontally=!0,Fh.rtl?(n0.isActive()||qy||N0.prev()===!1)&&t6().right&&h5(ph-1,Fh.navigationMode==="grid"?_h:void 0):(n0.isActive()||qy||N0.next()===!1)&&t6().right&&h5(ph+1,Fh.navigationMode==="grid"?_h:void 0)}function EI({skipFragments:qy=!1}={}){(n0.isActive()||qy||N0.prev()===!1)&&t6().up&&h5(ph,_h-1)}function q3({skipFragments:qy=!1}={}){n1.hasNavigatedVertically=!0,(n0.isActive()||qy||N0.next()===!1)&&t6().down&&h5(ph,_h+1)}function b0({skipFragments:qy=!1}={}){if(qy||N0.prev()===!1)if(t6().up)EI({skipFragments:qy});else{let Pv;if(Pv=Fh.rtl?t$b(T1.wrapper,".slides>section.future").pop():t$b(T1.wrapper,".slides>section.past").pop(),Pv&&Pv.classList.contains("stack")){let n2=Pv.querySelectorAll("section").length-1||void 0;h5(ph-1,n2)}else n6({skipFragments:qy})}}function gy({skipFragments:qy=!1}={}){if(n1.hasNavigatedHorizontally=!0,n1.hasNavigatedVertically=!0,qy||N0.next()===!1){let Pv=t6();Pv.down&&Pv.right&&Fh.loop&&tC()&&(Pv.down=!1),Pv.down?q3({skipFragments:qy}):Fh.rtl?n6({skipFragments:qy}):c7({skipFragments:qy})}}function l2(qy){Fh.autoSlideStoppable&&B$()}function tv(qy){let Pv=qy.data;if(typeof Pv=="string"&&Pv.charAt(0)==="{"&&Pv.charAt(Pv.length-1)==="}"&&(Pv=JSON.parse(Pv),Pv.method&&typeof ch[Pv.method]=="function"))if(k$5.test(Pv.method)===!1){const n2=ch[Pv.method].apply(ch,Pv.args);Aw("callback",{method:Pv.method,result:n2})}else console.warn('reveal.js: "'+Pv.method+'" is is blacklisted from the postMessage API')}function Ew(qy){V1==="running"&&/section/gi.test(qy.target.nodeName)&&(V1="idle",Zy({type:"slidetransitionend",data:{indexh:ph,indexv:_h,previousSlide:xh,currentSlide:Oh}}))}function oA(qy){const Pv=r$f(qy.target,'a[href^="#"]');if(Pv){const n2=Pv.getAttribute("href"),_2=ty.getIndicesFromHash(n2);_2&&(ch.slide(_2.h,_2.v,_2.f),qy.preventDefault())}}function WA(qy){xR()}function Hk(qy){document.hidden===!1&&document.activeElement!==document.body&&(typeof document.activeElement.blur=="function"&&document.activeElement.blur(),document.body.focus())}function U$(qy){(document.fullscreenElement||document.webkitFullscreenElement)===T1.wrapper&&(qy.stopImmediatePropagation(),setTimeout(()=>{ch.layout(),ch.focus.focus()},1))}function UD(qy){if(qy.currentTarget&&qy.currentTarget.hasAttribute("href")){let Pv=qy.currentTarget.getAttribute("href");Pv&&(J4(Pv),qy.preventDefault())}}function EC(qy){ZO()&&Fh.loop===!1?(h5(0,0),mx()):iy?mx():B$()}const _X={VERSION:"4.3.1",initialize:TA,configure:Zk,destroy:sx,sync:a7,syncSlide:$4,syncFragments:N0.sync.bind(N0),slide:h5,left:n6,right:c7,up:EI,down:q3,prev:b0,next:gy,navigateLeft:n6,navigateRight:c7,navigateUp:EI,navigateDown:q3,navigatePrev:b0,navigateNext:gy,navigateFragment:N0.goto.bind(N0),prevFragment:N0.prev.bind(N0),nextFragment:N0.next.bind(N0),on:b2,off:eC,addEventListener:b2,removeEventListener:eC,layout:xR,shuffle:BU,availableRoutes:t6,availableFragments:N0.availableRoutes.bind(N0),toggleHelp:NP,toggleOverview:n0.toggle.bind(n0),togglePause:hF,toggleAutoSlide:r7,isFirstSlide:i7,isLastSlide:ZO,isLastVerticalSlide:tC,isVerticalSlide:c3,isPaused:C$,isAutoSliding:fN,isSpeakerNotes:gx.isSpeakerNotesWindow.bind(gx),isOverview:n0.isActive.bind(n0),isFocused:Y2.isFocused.bind(Y2),isPrintingPDF:t2.isPrintingPDF.bind(t2),isReady:()=>zh,loadSlide:Hy.load.bind(Hy),unloadSlide:Hy.unload.bind(Hy),showPreview:J4,hidePreview:QN,addEventListeners:HC,removeEventListeners:O3,dispatchEvent:Zy,getState:_H,setState:IP,getProgress:bX,getIndices:X6,getSlidesAttributes:jU,getSlidePastCount:bH,getTotalSlides:CR,getSlide:dL,getPreviousSlide:()=>xh,getCurrentSlide:()=>Oh,getSlideBackground:o7,getSlideNotes:gx.getSlideNotes.bind(gx),getSlides:wI,getHorizontalSlides:TR,getVerticalSlides:UU,hasHorizontalSlides:RP,hasVerticalSlides:hL,hasNavigatedHorizontally:()=>n1.hasNavigatedHorizontally,hasNavigatedVertically:()=>n1.hasNavigatedVertically,addKeyBinding:r0.addKeyBinding.bind(r0),removeKeyBinding:r0.removeKeyBinding.bind(r0),triggerKey:r0.triggerKey.bind(r0),registerKeyboardShortcut:r0.registerKeyboardShortcut.bind(r0),getComputedSlideSize:DP,getScale:()=>f1,getConfig:()=>Fh,getQueryHash:d$7,getSlidePath:ty.getHash.bind(ty),getRevealElement:()=>lh,getSlidesElement:()=>T1.slides,getViewportElement:()=>T1.viewport,getBackgroundsElement:()=>cv.element,registerPlugin:aw.registerPlugin.bind(aw),hasPlugin:aw.hasPlugin.bind(aw),getPlugin:aw.getPlugin.bind(aw),getPlugins:aw.getRegisteredPlugins.bind(aw)};return e$j(ch,{..._X,announceStatus:w2,getStatusText:y2,print:t2,focus:Y2,progress:X0,controls:Y0,location:ty,overview:n0,fragments:N0,slideContent:Hy,slideNumber:yv,onUserInput:l2,closeOverlay:QN,updateSlidesVisibility:fF,layoutSlideContents:l5,transformSlides:s3,cueAutoSlide:f5,cancelAutoSlide:s7}),_X}let $$5=V$5,j$6=[];$$5.initialize=lh=>(Object.assign($$5,new V$5(document.querySelector(".reveal"),lh)),j$6.map(ah=>ah($$5)),$$5.initialize()),["configure","on","off","addEventListener","removeEventListener","registerPlugin"].forEach(lh=>{$$5[lh]=(...ah)=>{j$6.push(ch=>ch[lh].call(null,...ah))}}),$$5.isReady=()=>!1,$$5.VERSION="4.3.1";function e$i(lh,ah){var ch=Object.keys(lh);if(Object.getOwnPropertySymbols){var ph=Object.getOwnPropertySymbols(lh);ah&&(ph=ph.filter(function(_h){return Object.getOwnPropertyDescriptor(lh,_h).enumerable})),ch.push.apply(ch,ph)}return ch}function t$a(lh,ah){if(!(lh instanceof ah))throw new TypeError("Cannot call a class as a function")}function n$j(lh,ah){for(var ch=0;ch=0||(n1[Fh]=Oh[Fh]);return n1}(lh,ah);if(Object.getOwnPropertySymbols){var xh=Object.getOwnPropertySymbols(lh);for(ph=0;ph=0||Object.prototype.propertyIsEnumerable.call(lh,ch)&&(_h[ch]=lh[ch])}return _h}function o$g(lh,ah){return function(ch){if(Array.isArray(ch))return ch}(lh)||function(ch,ph){var _h=ch&&(typeof Symbol<"u"&&ch[Symbol.iterator]||ch["@@iterator"]);if(_h!=null){var xh,Oh,Uh=[],Fh=!0,zh=!1;try{for(_h=_h.call(ch);!(Fh=(xh=_h.next()).done)&&(Uh.push(xh.value),!ph||Uh.length!==ph);Fh=!0);}catch(n1){zh=!0,Oh=n1}finally{try{Fh||_h.return==null||_h.return()}finally{if(zh)throw Oh}}return Uh}}(lh,ah)||a$b(lh,ah)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function a$b(lh,ah){if(lh){if(typeof lh=="string")return s$g(lh,ah);var ch=Object.prototype.toString.call(lh).slice(8,-1);return ch==="Object"&&lh.constructor&&(ch=lh.constructor.name),ch==="Map"||ch==="Set"?Array.from(lh):ch==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ch)?s$g(lh,ah):void 0}}function s$g(lh,ah){(ah==null||ah>lh.length)&&(ah=lh.length);for(var ch=0,ph=new Array(ah);ch=lh.length?{done:!0}:{done:!1,value:lh[ph++]}},e:function(Fh){throw Fh},f:_h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var xh,Oh=!0,Uh=!1;return{s:function(){ch=ch.call(lh)},n:function(){var Fh=ch.next();return Oh=Fh.done,Fh},e:function(Fh){Uh=!0,xh=Fh},f:function(){try{Oh||ch.return==null||ch.return()}finally{if(Uh)throw xh}}}}var c$d=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f$8=function(lh){return lh&&lh.Math==Math&&lh},p$6=f$8(typeof globalThis=="object"&&globalThis)||f$8(typeof window=="object"&&window)||f$8(typeof self=="object"&&self)||f$8(typeof c$d=="object"&&c$d)||function(){return this}()||Function("return this")(),h$9={},D$4=function(lh){try{return!!lh()}catch{return!0}},g$5=!D$4(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),d$6={},v$5={}.propertyIsEnumerable,y$7=Object.getOwnPropertyDescriptor,A$6=y$7&&!v$5.call({1:2},1);d$6.f=A$6?function(lh){var ah=y$7(this,lh);return!!ah&&ah.enumerable}:v$5;var m$6=function(lh,ah){return{enumerable:!(1&lh),configurable:!(2&lh),writable:!(4&lh),value:ah}},k$4={}.toString,E$4=function(lh){return k$4.call(lh).slice(8,-1)},x$7=E$4,F$3="".split,b$3=D$4(function(){return!Object("z").propertyIsEnumerable(0)})?function(lh){return x$7(lh)=="String"?F$3.call(lh,""):Object(lh)}:Object,C$4=function(lh){if(lh==null)throw TypeError("Can't call method on "+lh);return lh},w$5=b$3,B$4=C$4,S$6=function(lh){return w$5(B$4(lh))},_$4=function(lh){return typeof lh=="object"?lh!==null:typeof lh=="function"},T$4=_$4,O$2=function(lh,ah){if(!T$4(lh))return lh;var ch,ph;if(ah&&typeof(ch=lh.toString)=="function"&&!T$4(ph=ch.call(lh))||typeof(ch=lh.valueOf)=="function"&&!T$4(ph=ch.call(lh))||!ah&&typeof(ch=lh.toString)=="function"&&!T$4(ph=ch.call(lh)))return ph;throw TypeError("Can't convert object to primitive value")},R$4=C$4,I$4=function(lh){return Object(R$4(lh))},j$5=I$4,z$4={}.hasOwnProperty,$$4=function(lh,ah){return z$4.call(j$5(lh),ah)},P$4=_$4,L$4=p$6.document,M$4=P$4(L$4)&&P$4(L$4.createElement),N$5=function(lh){return M$4?L$4.createElement(lh):{}},U$2=N$5,q$2=!g$5&&!D$4(function(){return Object.defineProperty(U$2("div"),"a",{get:function(){return 7}}).a!=7}),Z$4=g$5,G$3=d$6,H$4=m$6,Q$2=S$6,V$4=O$2,Y$2=$$4,K$2=q$2,X$2=Object.getOwnPropertyDescriptor;h$9.f=Z$4?X$2:function(lh,ah){if(lh=Q$2(lh),ah=V$4(ah,!0),K$2)try{return X$2(lh,ah)}catch{}if(Y$2(lh,ah))return H$4(!G$3.f.call(lh,ah),lh[ah])};var W$2={},J$2=_$4,ee$2=function(lh){if(!J$2(lh))throw TypeError(String(lh)+" is not an object");return lh},te$2=g$5,ne$2=q$2,re$2=ee$2,ue$2=O$2,ie$2=Object.defineProperty;W$2.f=te$2?ie$2:function(lh,ah,ch){if(re$2(lh),ah=ue$2(ah,!0),re$2(ch),ne$2)try{return ie$2(lh,ah,ch)}catch{}if("get"in ch||"set"in ch)throw TypeError("Accessors not supported");return"value"in ch&&(lh[ah]=ch.value),lh};var oe$2=W$2,ae$2=m$6,se$2=g$5?function(lh,ah,ch){return oe$2.f(lh,ah,ae$2(1,ch))}:function(lh,ah,ch){return lh[ah]=ch,lh},le$2={exports:{}},ce$2=p$6,fe$2=se$2,pe$2=function(lh,ah){try{fe$2(ce$2,lh,ah)}catch{ce$2[lh]=ah}return ah},he$2=pe$2,De$2=p$6["__core-js_shared__"]||he$2("__core-js_shared__",{}),ge$2=De$2,de$2=Function.toString;typeof ge$2.inspectSource!="function"&&(ge$2.inspectSource=function(lh){return de$2.call(lh)});var ve$2=ge$2.inspectSource,ye$2=ve$2,Ae$2=p$6.WeakMap,me$2=typeof Ae$2=="function"&&/native code/.test(ye$2(Ae$2)),ke$2={exports:{}},Ee$2=De$2;(ke$2.exports=function(lh,ah){return Ee$2[lh]||(Ee$2[lh]=ah!==void 0?ah:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var xe$2,Fe$2,be$2,Ce$2=0,we$2=Math.random(),Be$2=function(lh){return"Symbol("+String(lh===void 0?"":lh)+")_"+(++Ce$2+we$2).toString(36)},Se$2=ke$2.exports,_e$2=Be$2,Te$2=Se$2("keys"),Oe$2=function(lh){return Te$2[lh]||(Te$2[lh]=_e$2(lh))},Re$2={},Ie$2=me$2,je$2=_$4,ze$2=se$2,$e$2=$$4,Pe$2=De$2,Le$2=Oe$2,Me$2=Re$2,Ne$2=p$6.WeakMap;if(Ie$2||Pe$2.state){var Ue$2=Pe$2.state||(Pe$2.state=new Ne$2),qe$2=Ue$2.get,Ze$2=Ue$2.has,Ge$2=Ue$2.set;xe$2=function(lh,ah){if(Ze$2.call(Ue$2,lh))throw new TypeError("Object already initialized");return ah.facade=lh,Ge$2.call(Ue$2,lh,ah),ah},Fe$2=function(lh){return qe$2.call(Ue$2,lh)||{}},be$2=function(lh){return Ze$2.call(Ue$2,lh)}}else{var He$2=Le$2("state");Me$2[He$2]=!0,xe$2=function(lh,ah){if($e$2(lh,He$2))throw new TypeError("Object already initialized");return ah.facade=lh,ze$2(lh,He$2,ah),ah},Fe$2=function(lh){return $e$2(lh,He$2)?lh[He$2]:{}},be$2=function(lh){return $e$2(lh,He$2)}}var Qe$2={set:xe$2,get:Fe$2,has:be$2,enforce:function(lh){return be$2(lh)?Fe$2(lh):xe$2(lh,{})},getterFor:function(lh){return function(ah){var ch;if(!je$2(ah)||(ch=Fe$2(ah)).type!==lh)throw TypeError("Incompatible receiver, "+lh+" required");return ch}}},Ve$2=p$6,Ye$2=se$2,Ke$2=$$4,Xe$2=pe$2,We$2=ve$2,Je$2=Qe$2.get,et$2=Qe$2.enforce,tt$2=String(String).split("String");(le$2.exports=function(lh,ah,ch,ph){var _h,xh=!!ph&&!!ph.unsafe,Oh=!!ph&&!!ph.enumerable,Uh=!!ph&&!!ph.noTargetGet;typeof ch=="function"&&(typeof ah!="string"||Ke$2(ch,"name")||Ye$2(ch,"name",ah),(_h=et$2(ch)).source||(_h.source=tt$2.join(typeof ah=="string"?ah:""))),lh!==Ve$2?(xh?!Uh&&lh[ah]&&(Oh=!0):delete lh[ah],Oh?lh[ah]=ch:Ye$2(lh,ah,ch)):Oh?lh[ah]=ch:Xe$2(ah,ch)})(Function.prototype,"toString",function(){return typeof this=="function"&&Je$2(this).source||We$2(this)});var nt$2=p$6,rt$2=p$6,ut$2=function(lh){return typeof lh=="function"?lh:void 0},it$2=function(lh,ah){return arguments.length<2?ut$2(nt$2[lh])||ut$2(rt$2[lh]):nt$2[lh]&&nt$2[lh][ah]||rt$2[lh]&&rt$2[lh][ah]},ot$2={},at$2=Math.ceil,st$2=Math.floor,lt$2=function(lh){return isNaN(lh=+lh)?0:(lh>0?st$2:at$2)(lh)},ct$2=lt$2,ft$2=Math.min,pt$2=function(lh){return lh>0?ft$2(ct$2(lh),9007199254740991):0},ht$2=lt$2,Dt$2=Math.max,gt$2=Math.min,dt$2=function(lh,ah){var ch=ht$2(lh);return ch<0?Dt$2(ch+ah,0):gt$2(ch,ah)},vt$2=S$6,yt$2=pt$2,At$2=dt$2,mt$2=function(lh){return function(ah,ch,ph){var _h,xh=vt$2(ah),Oh=yt$2(xh.length),Uh=At$2(ph,Oh);if(lh&&ch!=ch){for(;Oh>Uh;)if((_h=xh[Uh++])!=_h)return!0}else for(;Oh>Uh;Uh++)if((lh||Uh in xh)&&xh[Uh]===ch)return lh||Uh||0;return!lh&&-1}},kt$2={includes:mt$2(!0),indexOf:mt$2(!1)},Et$2=$$4,xt$2=S$6,Ft$2=kt$2.indexOf,bt$2=Re$2,Ct$2=function(lh,ah){var ch,ph=xt$2(lh),_h=0,xh=[];for(ch in ph)!Et$2(bt$2,ch)&&Et$2(ph,ch)&&xh.push(ch);for(;ah.length>_h;)Et$2(ph,ch=ah[_h++])&&(~Ft$2(xh,ch)||xh.push(ch));return xh},wt$2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Bt$2=Ct$2,St$2=wt$2.concat("length","prototype");ot$2.f=Object.getOwnPropertyNames||function(lh){return Bt$2(lh,St$2)};var _t$2={};_t$2.f=Object.getOwnPropertySymbols;var Tt$2=ot$2,Ot$2=_t$2,Rt$2=ee$2,It$2=it$2("Reflect","ownKeys")||function(lh){var ah=Tt$2.f(Rt$2(lh)),ch=Ot$2.f;return ch?ah.concat(ch(lh)):ah},jt$2=$$4,zt$2=It$2,$t$2=h$9,Pt$2=W$2,Lt$2=D$4,Mt$2=/#|\.prototype\./,Nt$2=function(lh,ah){var ch=qt$2[Ut$2(lh)];return ch==Gt$2||ch!=Zt$2&&(typeof ah=="function"?Lt$2(ah):!!ah)},Ut$2=Nt$2.normalize=function(lh){return String(lh).replace(Mt$2,".").toLowerCase()},qt$2=Nt$2.data={},Zt$2=Nt$2.NATIVE="N",Gt$2=Nt$2.POLYFILL="P",Ht$2=Nt$2,Qt$2=p$6,Vt$2=h$9.f,Yt$2=se$2,Kt$2=le$2.exports,Xt$2=pe$2,Wt$2=function(lh,ah){for(var ch=zt$2(ah),ph=Pt$2.f,_h=$t$2.f,xh=0;xh0&&(!xh.multiline||xh.multiline&&lh[xh.lastIndex-1]!==` -`)&&(Fh="(?: "+Fh+")",n1=" "+n1,zh++),ch=new RegExp("^(?:"+Fh+")",Uh)),gn$2&&(ch=new RegExp("^"+Fh+"$(?!\\s)",Uh)),hn$2&&(ah=xh.lastIndex),ph=cn$2.call(Oh?ch:xh,n1),Oh?ph?(ph.input=ph.input.slice(zh),ph[0]=ph[0].slice(zh),ph.index=xh.lastIndex,xh.lastIndex+=ph[0].length):xh.lastIndex=0:hn$2&&ph&&(xh.lastIndex=xh.global?ph.index+ph[0].length:ah),gn$2&&ph&&ph.length>1&&fn$2.call(ph[0],ch,function(){for(_h=1;_h=74)&&(vn$2=mn$2.match(/Chrome\/(\d+)/))&&(yn$2=vn$2[1]);var Fn$2=yn$2&&+yn$2,bn$2=Fn$2,Cn$2=D$4,wn$2=!!Object.getOwnPropertySymbols&&!Cn$2(function(){return!String(Symbol())||!Symbol.sham&&bn$2&&bn$2<41}),Bn$2=wn$2&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Sn$2=p$6,_n$2=ke$2.exports,Tn$2=$$4,On$2=Be$2,Rn$2=wn$2,In$2=Bn$2,jn$2=_n$2("wks"),zn$2=Sn$2.Symbol,$n$2=In$2?zn$2:zn$2&&zn$2.withoutSetter||On$2,Pn$2=function(lh){return Tn$2(jn$2,lh)&&(Rn$2||typeof jn$2[lh]=="string")||(Rn$2&&Tn$2(zn$2,lh)?jn$2[lh]=zn$2[lh]:jn$2[lh]=$n$2("Symbol."+lh)),jn$2[lh]},Ln$2=le$2.exports,Mn$2=dn$2,Nn$2=D$4,Un$2=Pn$2,qn$2=se$2,Zn$2=Un$2("species"),Gn$2=RegExp.prototype,Hn$2=!Nn$2(function(){var lh=/./;return lh.exec=function(){var ah=[];return ah.groups={a:"7"},ah},"".replace(lh,"$")!=="7"}),Qn$2="a".replace(/./,"$0")==="$0",Vn$2=Un$2("replace"),Yn$2=!!/./[Vn$2]&&/./[Vn$2]("a","$0")==="",Kn$2=!Nn$2(function(){var lh=/(?:)/,ah=lh.exec;lh.exec=function(){return ah.apply(this,arguments)};var ch="ab".split(lh);return ch.length!==2||ch[0]!=="a"||ch[1]!=="b"}),Xn$2=function(lh,ah,ch,ph){var _h=Un$2(lh),xh=!Nn$2(function(){var t1={};return t1[_h]=function(){return 7},""[lh](t1)!=7}),Oh=xh&&!Nn$2(function(){var t1=!1,f1=/a/;return lh==="split"&&((f1={}).constructor={},f1.constructor[Zn$2]=function(){return f1},f1.flags="",f1[_h]=/./[_h]),f1.exec=function(){return t1=!0,null},f1[_h](""),!t1});if(!xh||!Oh||lh==="replace"&&(!Hn$2||!Qn$2||Yn$2)||lh==="split"&&!Kn$2){var Uh=/./[_h],Fh=ch(_h,""[lh],function(t1,f1,g1,T1,V1){var a0=f1.exec;return a0===Mn$2||a0===Gn$2.exec?xh&&!V1?{done:!0,value:Uh.call(f1,g1,T1)}:{done:!0,value:t1.call(g1,f1,T1)}:{done:!1}},{REPLACE_KEEPS_$0:Qn$2,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Yn$2}),zh=Fh[0],n1=Fh[1];Ln$2(String.prototype,lh,zh),Ln$2(Gn$2,_h,ah==2?function(t1,f1){return n1.call(t1,this,f1)}:function(t1){return n1.call(t1,this)})}ph&&qn$2(Gn$2[_h],"sham",!0)},Wn$2=lt$2,Jn$2=C$4,er$2=function(lh){return function(ah,ch){var ph,_h,xh=String(Jn$2(ah)),Oh=Wn$2(ch),Uh=xh.length;return Oh<0||Oh>=Uh?lh?"":void 0:(ph=xh.charCodeAt(Oh))<55296||ph>56319||Oh+1===Uh||(_h=xh.charCodeAt(Oh+1))<56320||_h>57343?lh?xh.charAt(Oh):ph:lh?xh.slice(Oh,Oh+2):_h-56320+(ph-55296<<10)+65536}},tr$2={codeAt:er$2(!1),charAt:er$2(!0)},nr$2=tr$2.charAt,rr$2=function(lh,ah,ch){return ah+(ch?nr$2(lh,ah).length:1)},ur$2=I$4,ir$2=Math.floor,or$2="".replace,ar$2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,sr$2=/\$([$&'`]|\d{1,2})/g,lr$2=E$4,cr$2=dn$2,fr$2=function(lh,ah){var ch=lh.exec;if(typeof ch=="function"){var ph=ch.call(lh,ah);if(typeof ph!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return ph}if(lr$2(lh)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return cr$2.call(lh,ah)},pr$2=Xn$2,hr$2=ee$2,Dr$2=pt$2,gr$2=lt$2,dr$2=C$4,vr$2=rr$2,yr$2=function(lh,ah,ch,ph,_h,xh){var Oh=ch+lh.length,Uh=ph.length,Fh=sr$2;return _h!==void 0&&(_h=ur$2(_h),Fh=ar$2),or$2.call(xh,Fh,function(zh,n1){var t1;switch(n1.charAt(0)){case"$":return"$";case"&":return lh;case"`":return ah.slice(0,ch);case"'":return ah.slice(Oh);case"<":t1=_h[n1.slice(1,-1)];break;default:var f1=+n1;if(f1===0)return zh;if(f1>Uh){var g1=ir$2(f1/10);return g1===0?zh:g1<=Uh?ph[g1-1]===void 0?n1.charAt(1):ph[g1-1]+n1.charAt(1):zh}t1=ph[f1-1]}return t1===void 0?"":t1})},Ar$2=fr$2,mr$2=Math.max,kr$2=Math.min;pr$2("replace",2,function(lh,ah,ch,ph){var _h=ph.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,xh=ph.REPLACE_KEEPS_$0,Oh=_h?"$":"$0";return[function(Uh,Fh){var zh=dr$2(this),n1=Uh==null?void 0:Uh[lh];return n1!==void 0?n1.call(Uh,zh,Fh):ah.call(String(zh),Uh,Fh)},function(Uh,Fh){if(!_h&&xh||typeof Fh=="string"&&Fh.indexOf(Oh)===-1){var zh=ch(ah,Uh,this,Fh);if(zh.done)return zh.value}var n1=hr$2(Uh),t1=String(this),f1=typeof Fh=="function";f1||(Fh=String(Fh));var g1=n1.global;if(g1){var T1=n1.unicode;n1.lastIndex=0}for(var V1=[];;){var a0=Ar$2(n1,t1);if(a0===null||(V1.push(a0),!g1))break;String(a0[0])===""&&(n1.lastIndex=vr$2(t1,Dr$2(n1.lastIndex),T1))}for(var o0,B0="",iy=0,Hy=0;Hy=iy&&(B0+=t1.slice(iy,ky)+ty,iy=ky+yv.length)}return B0+t1.slice(iy)}]});var Er$2=_$4,xr$2=ee$2,Fr$2=function(lh){if(!Er$2(lh)&&lh!==null)throw TypeError("Can't set "+String(lh)+" as a prototype");return lh},br$2=Object.setPrototypeOf||("__proto__"in{}?function(){var lh,ah=!1,ch={};try{(lh=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(ch,[]),ah=ch instanceof Array}catch{}return function(ph,_h){return xr$2(ph),Fr$2(_h),ah?lh.call(ph,_h):ph.__proto__=_h,ph}}():void 0),Cr$2=_$4,wr$2=br$2,Br$2=_$4,Sr$2=E$4,_r$2=Pn$2("match"),Tr$2=function(lh){var ah;return Br$2(lh)&&((ah=lh[_r$2])!==void 0?!!ah:Sr$2(lh)=="RegExp")},Or$2=it$2,Rr$2=W$2,Ir$2=g$5,jr$2=Pn$2("species"),zr$2=function(lh){var ah=Or$2(lh),ch=Rr$2.f;Ir$2&&ah&&!ah[jr$2]&&ch(ah,jr$2,{configurable:!0,get:function(){return this}})},$r$2=g$5,Pr$2=p$6,Lr$2=Ht$2,Mr$2=function(lh,ah,ch){var ph,_h;return wr$2&&typeof(ph=ah.constructor)=="function"&&ph!==ch&&Cr$2(_h=ph.prototype)&&_h!==ch.prototype&&wr$2(lh,_h),lh},Nr$2=W$2.f,Ur$2=ot$2.f,qr$2=Tr$2,Zr$2=nn$2,Gr$2=rn$2,Hr$2=le$2.exports,Qr$2=D$4,Vr$2=Qe$2.enforce,Yr$2=zr$2,Kr$2=Pn$2("match"),Xr$2=Pr$2.RegExp,Wr$2=Xr$2.prototype,Jr$2=/a/g,eu$2=/a/g,tu$2=new Xr$2(Jr$2)!==Jr$2,nu$2=Gr$2.UNSUPPORTED_Y;if($r$2&&Lr$2("RegExp",!tu$2||nu$2||Qr$2(function(){return eu$2[Kr$2]=!1,Xr$2(Jr$2)!=Jr$2||Xr$2(eu$2)==eu$2||Xr$2(Jr$2,"i")!="/a/i"}))){for(var ru$2=function(lh,ah){var ch,ph=this instanceof ru$2,_h=qr$2(lh),xh=ah===void 0;if(!ph&&_h&&lh.constructor===ru$2&&xh)return lh;tu$2?_h&&!xh&&(lh=lh.source):lh instanceof ru$2&&(xh&&(ah=Zr$2.call(lh)),lh=lh.source),nu$2&&(ch=!!ah&&ah.indexOf("y")>-1)&&(ah=ah.replace(/y/g,""));var Oh=Mr$2(tu$2?new Xr$2(lh,ah):Xr$2(lh,ah),ph?this:Wr$2,ru$2);return nu$2&&ch&&(Vr$2(Oh).sticky=!0),Oh},uu$2=function(lh){lh in ru$2||Nr$2(ru$2,lh,{configurable:!0,get:function(){return Xr$2[lh]},set:function(ah){Xr$2[lh]=ah}})},iu$2=Ur$2(Xr$2),ou$2=0;iu$2.length>ou$2;)uu$2(iu$2[ou$2++]);Wr$2.constructor=ru$2,ru$2.prototype=Wr$2,Hr$2(Pr$2,"RegExp",ru$2)}Yr$2("RegExp");var au$2=le$2.exports,su$2=ee$2,lu$2=D$4,cu$2=nn$2,fu$2=RegExp.prototype,pu$2=fu$2.toString,hu$2=lu$2(function(){return pu$2.call({source:"a",flags:"b"})!="/a/b"}),Du$2=pu$2.name!="toString";(hu$2||Du$2)&&au$2(RegExp.prototype,"toString",function(){var lh=su$2(this),ah=String(lh.source),ch=lh.flags;return"/"+ah+"/"+String(ch===void 0&&lh instanceof RegExp&&!("flags"in fu$2)?cu$2.call(lh):ch)},{unsafe:!0});var gu$2=ee$2,du$2=pt$2,vu$2=C$4,yu$2=rr$2,Au$2=fr$2;Xn$2("match",1,function(lh,ah,ch){return[function(ph){var _h=vu$2(this),xh=ph==null?void 0:ph[lh];return xh!==void 0?xh.call(ph,_h):new RegExp(ph)[lh](String(_h))},function(ph){var _h=ch(ah,ph,this);if(_h.done)return _h.value;var xh=gu$2(ph),Oh=String(this);if(!xh.global)return Au$2(xh,Oh);var Uh=xh.unicode;xh.lastIndex=0;for(var Fh,zh=[],n1=0;(Fh=Au$2(xh,Oh))!==null;){var t1=String(Fh[0]);zh[n1]=t1,t1===""&&(xh.lastIndex=yu$2(Oh,du$2(xh.lastIndex),Uh)),n1++}return n1===0?null:zh}]});var mu$2=g$5,ku$2=W$2.f,Eu$2=Function.prototype,xu$2=Eu$2.toString,Fu$2=/^\s*function ([^ (]*)/;mu$2&&!("name"in Eu$2)&&ku$2(Eu$2,"name",{configurable:!0,get:function(){try{return xu$2.call(this).match(Fu$2)[1]}catch{return""}}});var bu$2=D$4,Cu$2=function(lh,ah){var ch=[][lh];return!!ch&&bu$2(function(){ch.call(null,ah||function(){throw 1},1)})},wu$2=en$2,Bu$2=S$6,Su$2=[].join,_u$2=b$3!=Object,Tu$2=Cu$2("join",",");wu$2({target:"Array",proto:!0,forced:_u$2||!Tu$2},{join:function(lh){return Su$2.call(Bu$2(this),lh===void 0?",":lh)}});var Ou$2=function(lh){if(typeof lh!="function")throw TypeError(String(lh)+" is not a function");return lh},Ru$2=ee$2,Iu$2=Ou$2,ju$2=Pn$2("species"),zu$2=function(lh,ah){var ch,ph=Ru$2(lh).constructor;return ph===void 0||(ch=Ru$2(ph)[ju$2])==null?ah:Iu$2(ch)},$u$2=Xn$2,Pu$2=Tr$2,Lu$2=ee$2,Mu$2=C$4,Nu$2=zu$2,Uu$2=rr$2,qu$2=pt$2,Zu$2=fr$2,Gu$2=dn$2,Hu$2=rn$2.UNSUPPORTED_Y,Qu$2=[].push,Vu$2=Math.min;$u$2("split",2,function(lh,ah,ch){var ph;return ph="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(_h,xh){var Oh=String(Mu$2(this)),Uh=xh===void 0?4294967295:xh>>>0;if(Uh===0)return[];if(_h===void 0)return[Oh];if(!Pu$2(_h))return ah.call(Oh,_h,Uh);for(var Fh,zh,n1,t1=[],f1=(_h.ignoreCase?"i":"")+(_h.multiline?"m":"")+(_h.unicode?"u":"")+(_h.sticky?"y":""),g1=0,T1=new RegExp(_h.source,f1+"g");(Fh=Gu$2.call(T1,Oh))&&!((zh=T1.lastIndex)>g1&&(t1.push(Oh.slice(g1,Fh.index)),Fh.length>1&&Fh.index=Uh));)T1.lastIndex===Fh.index&&T1.lastIndex++;return g1===Oh.length?!n1&&T1.test("")||t1.push(""):t1.push(Oh.slice(g1)),t1.length>Uh?t1.slice(0,Uh):t1}:"0".split(void 0,0).length?function(_h,xh){return _h===void 0&&xh===0?[]:ah.call(this,_h,xh)}:ah,[function(_h,xh){var Oh=Mu$2(this),Uh=_h==null?void 0:_h[lh];return Uh!==void 0?Uh.call(_h,Oh,xh):ph.call(String(Oh),_h,xh)},function(_h,xh){var Oh=ch(ph,_h,this,xh,ph!==ah);if(Oh.done)return Oh.value;var Uh=Lu$2(_h),Fh=String(this),zh=Nu$2(Uh,RegExp),n1=Uh.unicode,t1=(Uh.ignoreCase?"i":"")+(Uh.multiline?"m":"")+(Uh.unicode?"u":"")+(Hu$2?"g":"y"),f1=new zh(Hu$2?"^(?:"+Uh.source+")":Uh,t1),g1=xh===void 0?4294967295:xh>>>0;if(g1===0)return[];if(Fh.length===0)return Zu$2(f1,Fh)===null?[Fh]:[];for(var T1=0,V1=0,a0=[];V1{QN(),_2.preventDefault()},!1)}}function QN(){return!!T1.overlay&&(T1.overlay.parentNode.removeChild(T1.overlay),T1.overlay=null,!0)}function xR(){if(T1.wrapper&&!t2.isPrintingPDF()){if(!Fh.disableLayout){v$6&&!Fh.embedded&&document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px");const qy=DP(),Pv=f1;l5(Fh.width,Fh.height),T1.slides.style.width=qy.width+"px",T1.slides.style.height=qy.height+"px",f1=Math.min(qy.presentationWidth/qy.width,qy.presentationHeight/qy.height),f1=Math.max(f1,Fh.minScale),f1=Math.min(f1,Fh.maxScale),f1===1?(T1.slides.style.zoom="",T1.slides.style.left="",T1.slides.style.top="",T1.slides.style.bottom="",T1.slides.style.right="",s3({layout:""})):f1>1&&f$9&&window.devicePixelRatio<2?(T1.slides.style.zoom=f1,T1.slides.style.left="",T1.slides.style.top="",T1.slides.style.bottom="",T1.slides.style.right="",s3({layout:""})):(T1.slides.style.zoom="",T1.slides.style.left="50%",T1.slides.style.top="50%",T1.slides.style.bottom="auto",T1.slides.style.right="auto",s3({layout:"translate(-50%, -50%) scale("+f1+")"}));const n2=Array.from(T1.wrapper.querySelectorAll(".slides section"));for(let _2=0,nC=n2.length;_2 .stretch, section > .r-stretch").forEach(n2=>{let _2=c$e(n2,Pv);if(/(img|video)/gi.test(n2.nodeName)){const nC=n2.naturalWidth||n2.videoWidth,l3=n2.naturalHeight||n2.videoHeight,$N=Math.min(qy/nC,_2/l3);n2.style.width=nC*$N+"px",n2.style.height=l3*$N+"px"}else n2.style.width=qy+"px",n2.style.height=_2+"px"})}function DP(qy,Pv){const n2={width:Fh.width,height:Fh.height,presentationWidth:qy||T1.wrapper.offsetWidth,presentationHeight:Pv||T1.wrapper.offsetHeight};return n2.presentationWidth-=n2.presentationWidth*Fh.margin,n2.presentationHeight-=n2.presentationHeight*Fh.margin,typeof n2.width=="string"&&/%$/.test(n2.width)&&(n2.width=parseInt(n2.width,10)/100*n2.presentationWidth),typeof n2.height=="string"&&/%$/.test(n2.height)&&(n2.height=parseInt(n2.height,10)/100*n2.presentationHeight),n2}function uF(qy,Pv){typeof qy=="object"&&typeof qy.setAttribute=="function"&&qy.setAttribute("data-previous-indexv",Pv||0)}function u5(qy){if(typeof qy=="object"&&typeof qy.setAttribute=="function"&&qy.classList.contains("stack")){const Pv=qy.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(qy.getAttribute(Pv)||0,10)}return 0}function c3(qy=Oh){return qy&&qy.parentNode&&!!qy.parentNode.nodeName.match(/section/i)}function tC(){return!(!Oh||!c3(Oh))&&!Oh.nextElementSibling}function i7(){return ph===0&&yh===0}function ZO(){return!!Oh&&!Oh.nextElementSibling&&(!c3(Oh)||!Oh.parentNode.nextElementSibling)}function F$(){if(Fh.pause){const qy=T1.wrapper.classList.contains("paused");s7(),T1.wrapper.classList.add("paused"),qy===!1&&Zy({type:"paused"})}}function T$(){const qy=T1.wrapper.classList.contains("paused");T1.wrapper.classList.remove("paused"),f5(),qy&&Zy({type:"resumed"})}function hF(qy){typeof qy=="boolean"?qy?F$():T$():C$()?T$():F$()}function C$(){return T1.wrapper.classList.contains("paused")}function r7(qy){typeof qy=="boolean"?qy?mx():B$():iy?mx():B$()}function fN(){return!(!a0||iy)}function h5(qy,Pv,n2,_2){if(Zy({type:"beforeslidechange",data:{indexh:qy===void 0?ph:qy,indexv:Pv===void 0?yh:Pv,origin:_2}}).defaultPrevented)return;xh=Oh;const nC=T1.wrapper.querySelectorAll(".slides>section");if(nC.length===0)return;Pv!==void 0||n0.isActive()||(Pv=u5(nC[qy])),xh&&xh.parentNode&&xh.parentNode.classList.contains("stack")&&uF(xh.parentNode,yh);const l3=t1.concat();t1.length=0;let $N=ph||0,fL=yh||0;ph=d5(".slides>section",qy===void 0?ph:qy),yh=d5(".slides>section.present>section",Pv===void 0?yh:Pv);let AR=ph!==$N||yh!==fL;AR||(xh=null);let pN=nC[ph];Oh=pN.querySelectorAll("section")[yh]||pN;let i6=!1;AR&&xh&&Oh&&!n0.isActive()&&(xh.hasAttribute("data-auto-animate")&&Oh.hasAttribute("data-auto-animate")&&xh.getAttribute("data-auto-animate-id")===Oh.getAttribute("data-auto-animate-id")&&!(ph>$N||yh>fL?Oh:xh).hasAttribute("data-auto-animate-restart")&&(i6=!0,T1.slides.classList.add("disable-slide-transitions")),V1="running"),fF(),xR(),n0.isActive()&&n0.update(),n2!==void 0&&N0.goto(n2),xh&&xh!==Oh&&(xh.classList.remove("present"),xh.setAttribute("aria-hidden","true"),i7()&&setTimeout(()=>{Q6().forEach(MP=>{uF(MP,0)})},0));e:for(let MP=0,LP=t1.length;MP{w2(y2(Oh))}),X0.update(),Y0.update(),gx.update(),cv.update(),cv.updateParallax(),yv.update(),N0.update(),ty.writeURL(),f5(),i6&&(setTimeout(()=>{T1.slides.classList.remove("disable-slide-transitions")},0),Fh.autoAnimate&&ky.run(xh,Oh))}function a7(){O3(),HC(),xR(),a0=Fh.autoSlide,f5(),cv.create(),ty.writeURL(),N0.sortAll(),Y0.update(),X0.update(),fF(),gx.update(),gx.updateVisibility(),cv.update(!0),yv.update(),Hy.formatEmbeddedContent(),Fh.autoPlayMedia===!1?Hy.stopEmbeddedContent(Oh,{unloadIframes:!1}):Hy.startEmbeddedContent(Oh),n0.isActive()&&n0.layout()}function $4(qy=Oh){cv.sync(qy),N0.sync(qy),Hy.load(qy),cv.update(),gx.update()}function dF(){TR().forEach(qy=>{t$b(qy,"section").forEach((Pv,n2)=>{n2>0&&(Pv.classList.remove("present"),Pv.classList.remove("past"),Pv.classList.add("future"),Pv.setAttribute("aria-hidden","true"))})})}function BU(qy=TR()){qy.forEach((Pv,n2)=>{let _2=qy[Math.floor(Math.random()*qy.length)];_2.parentNode===Pv.parentNode&&Pv.parentNode.insertBefore(Pv,_2);let nC=Pv.querySelectorAll("section");nC.length&&BU(nC)})}function d5(qy,Pv){let n2=t$b(T1.wrapper,qy),_2=n2.length,nC=t2.isPrintingPDF();if(_2){Fh.loop&&(Pv%=_2)<0&&(Pv=_2+Pv),Pv=Math.max(Math.min(Pv,_2-1),0);for(let AR=0;AR<_2;AR++){let pN=n2[AR],Z6=Fh.rtl&&!c3(pN);pN.classList.remove("past"),pN.classList.remove("present"),pN.classList.remove("future"),pN.setAttribute("hidden",""),pN.setAttribute("aria-hidden","true"),pN.querySelector("section")&&pN.classList.add("stack"),nC?pN.classList.add("present"):AR{i6.classList.add("visible"),i6.classList.remove("current-fragment")})):AR>Pv&&(pN.classList.add(Z6?"past":"future"),Fh.fragments&&t$b(pN,".fragment.visible").forEach(i6=>{i6.classList.remove("visible","current-fragment")}))}let l3=n2[Pv],$N=l3.classList.contains("present");l3.classList.add("present"),l3.removeAttribute("hidden"),l3.removeAttribute("aria-hidden"),$N||Zy({target:l3,type:"visible",bubbles:!1});let fL=l3.getAttribute("data-state");fL&&(t1=t1.concat(fL.split(" ")))}else Pv=0;return Pv}function fF(){let qy,Pv,n2=TR(),_2=n2.length;if(_2&&ph!==void 0){let nC=n0.isActive()?10:Fh.viewDistance;v$6&&(nC=n0.isActive()?6:Fh.mobileViewDistance),t2.isPrintingPDF()&&(nC=Number.MAX_VALUE);for(let l3=0;l3<_2;l3++){let $N=n2[l3],fL=t$b($N,"section"),AR=fL.length;if(qy=Math.abs((ph||0)-l3)||0,Fh.loop&&(qy=Math.abs(((ph||0)-l3)%(_2-nC))||0),qysection"),n2=T1.wrapper.querySelectorAll(".slides>section.present>section"),_2={left:ph>0,right:ph0,down:yh1&&(_2.left=!0,_2.right=!0),n2.length>1&&(_2.up=!0,_2.down=!0)),Pv.length>1&&Fh.navigationMode==="linear"&&(_2.right=_2.right||_2.down,_2.left=_2.left||_2.up),qy===!0){let nC=N0.availableRoutes();_2.left=_2.left||nC.prev,_2.up=_2.up||nC.prev,_2.down=_2.down||nC.next,_2.right=_2.right||nC.next}if(Fh.rtl){let nC=_2.left;_2.left=_2.right,_2.right=nC}return _2}function bH(qy=Oh){let Pv=TR(),n2=0;e:for(let _2=0;_20){let _2=.9;Pv+=Oh.querySelectorAll(".fragment.visible").length/n2.length*_2}}return Math.min(Pv/(qy-1),1)}function X6(qy){let Pv,n2=ph,_2=yh;if(qy){let nC=c3(qy),l3=nC?qy.parentNode:qy,$N=TR();n2=Math.max($N.indexOf(l3),0),_2=void 0,nC&&(_2=Math.max(t$b(qy.parentNode,"section").indexOf(qy),0))}if(!qy&&Oh&&Oh.querySelectorAll(".fragment").length>0){let nC=Oh.querySelector(".current-fragment");Pv=nC&&nC.hasAttribute("data-fragment-index")?parseInt(nC.getAttribute("data-fragment-index"),10):Oh.querySelectorAll(".fragment.visible").length-1}return{h:n2,v:_2,f:Pv}}function wI(){return t$b(T1.wrapper,'.slides section:not(.stack):not([data-visibility="uncounted"])')}function TR(){return t$b(T1.wrapper,".slides>section")}function UU(){return t$b(T1.wrapper,".slides>section>section")}function Q6(){return t$b(T1.wrapper,".slides>section.stack")}function RP(){return TR().length>1}function hL(){return UU().length>1}function jU(){return wI().map(qy=>{let Pv={};for(let n2=0;n2{nC.hasAttribute("data-autoplay")&&a0&&1e3*nC.duration/nC.playbackRate>a0&&(a0=1e3*nC.duration/nC.playbackRate+1e3)})),!a0||iy||C$()||n0.isActive()||ZO()&&!N0.availableRoutes().next&&Fh.loop!==!0||(o0=setTimeout(()=>{typeof Fh.autoSlideMethod=="function"?Fh.autoSlideMethod():gy(),f5()},a0),B0=Date.now()),Uh&&Uh.setPlaying(o0!==-1)}}function s7(){clearTimeout(o0),o0=-1}function B$(){a0&&!iy&&(iy=!0,Zy({type:"autoslidepaused"}),clearTimeout(o0),Uh&&Uh.setPlaying(!1))}function mx(){a0&&iy&&(iy=!1,Zy({type:"autoslideresumed"}),f5())}function n6({skipFragments:qy=!1}={}){n1.hasNavigatedHorizontally=!0,Fh.rtl?(n0.isActive()||qy||N0.next()===!1)&&t6().left&&h5(ph+1,Fh.navigationMode==="grid"?yh:void 0):(n0.isActive()||qy||N0.prev()===!1)&&t6().left&&h5(ph-1,Fh.navigationMode==="grid"?yh:void 0)}function c7({skipFragments:qy=!1}={}){n1.hasNavigatedHorizontally=!0,Fh.rtl?(n0.isActive()||qy||N0.prev()===!1)&&t6().right&&h5(ph-1,Fh.navigationMode==="grid"?yh:void 0):(n0.isActive()||qy||N0.next()===!1)&&t6().right&&h5(ph+1,Fh.navigationMode==="grid"?yh:void 0)}function EI({skipFragments:qy=!1}={}){(n0.isActive()||qy||N0.prev()===!1)&&t6().up&&h5(ph,yh-1)}function q3({skipFragments:qy=!1}={}){n1.hasNavigatedVertically=!0,(n0.isActive()||qy||N0.next()===!1)&&t6().down&&h5(ph,yh+1)}function b0({skipFragments:qy=!1}={}){if(qy||N0.prev()===!1)if(t6().up)EI({skipFragments:qy});else{let Pv;if(Pv=Fh.rtl?t$b(T1.wrapper,".slides>section.future").pop():t$b(T1.wrapper,".slides>section.past").pop(),Pv&&Pv.classList.contains("stack")){let n2=Pv.querySelectorAll("section").length-1||void 0;h5(ph-1,n2)}else n6({skipFragments:qy})}}function gy({skipFragments:qy=!1}={}){if(n1.hasNavigatedHorizontally=!0,n1.hasNavigatedVertically=!0,qy||N0.next()===!1){let Pv=t6();Pv.down&&Pv.right&&Fh.loop&&tC()&&(Pv.down=!1),Pv.down?q3({skipFragments:qy}):Fh.rtl?n6({skipFragments:qy}):c7({skipFragments:qy})}}function l2(qy){Fh.autoSlideStoppable&&B$()}function tv(qy){let Pv=qy.data;if(typeof Pv=="string"&&Pv.charAt(0)==="{"&&Pv.charAt(Pv.length-1)==="}"&&(Pv=JSON.parse(Pv),Pv.method&&typeof ch[Pv.method]=="function"))if(k$5.test(Pv.method)===!1){const n2=ch[Pv.method].apply(ch,Pv.args);Aw("callback",{method:Pv.method,result:n2})}else console.warn('reveal.js: "'+Pv.method+'" is is blacklisted from the postMessage API')}function Ew(qy){V1==="running"&&/section/gi.test(qy.target.nodeName)&&(V1="idle",Zy({type:"slidetransitionend",data:{indexh:ph,indexv:yh,previousSlide:xh,currentSlide:Oh}}))}function oA(qy){const Pv=r$f(qy.target,'a[href^="#"]');if(Pv){const n2=Pv.getAttribute("href"),_2=ty.getIndicesFromHash(n2);_2&&(ch.slide(_2.h,_2.v,_2.f),qy.preventDefault())}}function WA(qy){xR()}function Hk(qy){document.hidden===!1&&document.activeElement!==document.body&&(typeof document.activeElement.blur=="function"&&document.activeElement.blur(),document.body.focus())}function U$(qy){(document.fullscreenElement||document.webkitFullscreenElement)===T1.wrapper&&(qy.stopImmediatePropagation(),setTimeout(()=>{ch.layout(),ch.focus.focus()},1))}function UD(qy){if(qy.currentTarget&&qy.currentTarget.hasAttribute("href")){let Pv=qy.currentTarget.getAttribute("href");Pv&&(J4(Pv),qy.preventDefault())}}function EC(qy){ZO()&&Fh.loop===!1?(h5(0,0),mx()):iy?mx():B$()}const _X={VERSION:"4.3.1",initialize:TA,configure:Zk,destroy:sx,sync:a7,syncSlide:$4,syncFragments:N0.sync.bind(N0),slide:h5,left:n6,right:c7,up:EI,down:q3,prev:b0,next:gy,navigateLeft:n6,navigateRight:c7,navigateUp:EI,navigateDown:q3,navigatePrev:b0,navigateNext:gy,navigateFragment:N0.goto.bind(N0),prevFragment:N0.prev.bind(N0),nextFragment:N0.next.bind(N0),on:b2,off:eC,addEventListener:b2,removeEventListener:eC,layout:xR,shuffle:BU,availableRoutes:t6,availableFragments:N0.availableRoutes.bind(N0),toggleHelp:NP,toggleOverview:n0.toggle.bind(n0),togglePause:hF,toggleAutoSlide:r7,isFirstSlide:i7,isLastSlide:ZO,isLastVerticalSlide:tC,isVerticalSlide:c3,isPaused:C$,isAutoSliding:fN,isSpeakerNotes:gx.isSpeakerNotesWindow.bind(gx),isOverview:n0.isActive.bind(n0),isFocused:Y2.isFocused.bind(Y2),isPrintingPDF:t2.isPrintingPDF.bind(t2),isReady:()=>zh,loadSlide:Hy.load.bind(Hy),unloadSlide:Hy.unload.bind(Hy),showPreview:J4,hidePreview:QN,addEventListeners:HC,removeEventListeners:O3,dispatchEvent:Zy,getState:_H,setState:IP,getProgress:bX,getIndices:X6,getSlidesAttributes:jU,getSlidePastCount:bH,getTotalSlides:CR,getSlide:dL,getPreviousSlide:()=>xh,getCurrentSlide:()=>Oh,getSlideBackground:o7,getSlideNotes:gx.getSlideNotes.bind(gx),getSlides:wI,getHorizontalSlides:TR,getVerticalSlides:UU,hasHorizontalSlides:RP,hasVerticalSlides:hL,hasNavigatedHorizontally:()=>n1.hasNavigatedHorizontally,hasNavigatedVertically:()=>n1.hasNavigatedVertically,addKeyBinding:r0.addKeyBinding.bind(r0),removeKeyBinding:r0.removeKeyBinding.bind(r0),triggerKey:r0.triggerKey.bind(r0),registerKeyboardShortcut:r0.registerKeyboardShortcut.bind(r0),getComputedSlideSize:DP,getScale:()=>f1,getConfig:()=>Fh,getQueryHash:d$7,getSlidePath:ty.getHash.bind(ty),getRevealElement:()=>lh,getSlidesElement:()=>T1.slides,getViewportElement:()=>T1.viewport,getBackgroundsElement:()=>cv.element,registerPlugin:aw.registerPlugin.bind(aw),hasPlugin:aw.hasPlugin.bind(aw),getPlugin:aw.getPlugin.bind(aw),getPlugins:aw.getRegisteredPlugins.bind(aw)};return e$j(ch,{..._X,announceStatus:w2,getStatusText:y2,print:t2,focus:Y2,progress:X0,controls:Y0,location:ty,overview:n0,fragments:N0,slideContent:Hy,slideNumber:yv,onUserInput:l2,closeOverlay:QN,updateSlidesVisibility:fF,layoutSlideContents:l5,transformSlides:s3,cueAutoSlide:f5,cancelAutoSlide:s7}),_X}let $$5=V$5,j$6=[];$$5.initialize=lh=>(Object.assign($$5,new V$5(document.querySelector(".reveal"),lh)),j$6.map(ah=>ah($$5)),$$5.initialize()),["configure","on","off","addEventListener","removeEventListener","registerPlugin"].forEach(lh=>{$$5[lh]=(...ah)=>{j$6.push(ch=>ch[lh].call(null,...ah))}}),$$5.isReady=()=>!1,$$5.VERSION="4.3.1";function e$i(lh,ah){var ch=Object.keys(lh);if(Object.getOwnPropertySymbols){var ph=Object.getOwnPropertySymbols(lh);ah&&(ph=ph.filter(function(yh){return Object.getOwnPropertyDescriptor(lh,yh).enumerable})),ch.push.apply(ch,ph)}return ch}function t$a(lh,ah){if(!(lh instanceof ah))throw new TypeError("Cannot call a class as a function")}function n$j(lh,ah){for(var ch=0;ch=0||(n1[Fh]=Oh[Fh]);return n1}(lh,ah);if(Object.getOwnPropertySymbols){var xh=Object.getOwnPropertySymbols(lh);for(ph=0;ph=0||Object.prototype.propertyIsEnumerable.call(lh,ch)&&(yh[ch]=lh[ch])}return yh}function o$g(lh,ah){return function(ch){if(Array.isArray(ch))return ch}(lh)||function(ch,ph){var yh=ch&&(typeof Symbol<"u"&&ch[Symbol.iterator]||ch["@@iterator"]);if(yh!=null){var xh,Oh,Uh=[],Fh=!0,zh=!1;try{for(yh=yh.call(ch);!(Fh=(xh=yh.next()).done)&&(Uh.push(xh.value),!ph||Uh.length!==ph);Fh=!0);}catch(n1){zh=!0,Oh=n1}finally{try{Fh||yh.return==null||yh.return()}finally{if(zh)throw Oh}}return Uh}}(lh,ah)||a$b(lh,ah)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function a$b(lh,ah){if(lh){if(typeof lh=="string")return s$g(lh,ah);var ch=Object.prototype.toString.call(lh).slice(8,-1);return ch==="Object"&&lh.constructor&&(ch=lh.constructor.name),ch==="Map"||ch==="Set"?Array.from(lh):ch==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ch)?s$g(lh,ah):void 0}}function s$g(lh,ah){(ah==null||ah>lh.length)&&(ah=lh.length);for(var ch=0,ph=new Array(ah);ch=lh.length?{done:!0}:{done:!1,value:lh[ph++]}},e:function(Fh){throw Fh},f:yh}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var xh,Oh=!0,Uh=!1;return{s:function(){ch=ch.call(lh)},n:function(){var Fh=ch.next();return Oh=Fh.done,Fh},e:function(Fh){Uh=!0,xh=Fh},f:function(){try{Oh||ch.return==null||ch.return()}finally{if(Uh)throw xh}}}}var c$d=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f$8=function(lh){return lh&&lh.Math==Math&&lh},p$6=f$8(typeof globalThis=="object"&&globalThis)||f$8(typeof window=="object"&&window)||f$8(typeof self=="object"&&self)||f$8(typeof c$d=="object"&&c$d)||function(){return this}()||Function("return this")(),h$9={},D$4=function(lh){try{return!!lh()}catch{return!0}},g$5=!D$4(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),d$6={},v$5={}.propertyIsEnumerable,y$7=Object.getOwnPropertyDescriptor,A$6=y$7&&!v$5.call({1:2},1);d$6.f=A$6?function(lh){var ah=y$7(this,lh);return!!ah&&ah.enumerable}:v$5;var m$6=function(lh,ah){return{enumerable:!(1&lh),configurable:!(2&lh),writable:!(4&lh),value:ah}},k$4={}.toString,E$4=function(lh){return k$4.call(lh).slice(8,-1)},x$7=E$4,F$3="".split,b$3=D$4(function(){return!Object("z").propertyIsEnumerable(0)})?function(lh){return x$7(lh)=="String"?F$3.call(lh,""):Object(lh)}:Object,C$4=function(lh){if(lh==null)throw TypeError("Can't call method on "+lh);return lh},w$5=b$3,B$4=C$4,S$6=function(lh){return w$5(B$4(lh))},_$4=function(lh){return typeof lh=="object"?lh!==null:typeof lh=="function"},T$4=_$4,O$2=function(lh,ah){if(!T$4(lh))return lh;var ch,ph;if(ah&&typeof(ch=lh.toString)=="function"&&!T$4(ph=ch.call(lh))||typeof(ch=lh.valueOf)=="function"&&!T$4(ph=ch.call(lh))||!ah&&typeof(ch=lh.toString)=="function"&&!T$4(ph=ch.call(lh)))return ph;throw TypeError("Can't convert object to primitive value")},R$4=C$4,I$4=function(lh){return Object(R$4(lh))},j$5=I$4,z$4={}.hasOwnProperty,$$4=function(lh,ah){return z$4.call(j$5(lh),ah)},P$4=_$4,L$4=p$6.document,M$4=P$4(L$4)&&P$4(L$4.createElement),N$5=function(lh){return M$4?L$4.createElement(lh):{}},U$2=N$5,q$2=!g$5&&!D$4(function(){return Object.defineProperty(U$2("div"),"a",{get:function(){return 7}}).a!=7}),Z$4=g$5,G$3=d$6,H$4=m$6,Q$2=S$6,V$4=O$2,Y$2=$$4,K$2=q$2,X$2=Object.getOwnPropertyDescriptor;h$9.f=Z$4?X$2:function(lh,ah){if(lh=Q$2(lh),ah=V$4(ah,!0),K$2)try{return X$2(lh,ah)}catch{}if(Y$2(lh,ah))return H$4(!G$3.f.call(lh,ah),lh[ah])};var W$2={},J$2=_$4,ee$2=function(lh){if(!J$2(lh))throw TypeError(String(lh)+" is not an object");return lh},te$2=g$5,ne$2=q$2,re$2=ee$2,ue$2=O$2,ie$2=Object.defineProperty;W$2.f=te$2?ie$2:function(lh,ah,ch){if(re$2(lh),ah=ue$2(ah,!0),re$2(ch),ne$2)try{return ie$2(lh,ah,ch)}catch{}if("get"in ch||"set"in ch)throw TypeError("Accessors not supported");return"value"in ch&&(lh[ah]=ch.value),lh};var oe$2=W$2,ae$2=m$6,se$2=g$5?function(lh,ah,ch){return oe$2.f(lh,ah,ae$2(1,ch))}:function(lh,ah,ch){return lh[ah]=ch,lh},le$2={exports:{}},ce$2=p$6,fe$2=se$2,pe$2=function(lh,ah){try{fe$2(ce$2,lh,ah)}catch{ce$2[lh]=ah}return ah},he$2=pe$2,De$2=p$6["__core-js_shared__"]||he$2("__core-js_shared__",{}),ge$2=De$2,de$2=Function.toString;typeof ge$2.inspectSource!="function"&&(ge$2.inspectSource=function(lh){return de$2.call(lh)});var ve$2=ge$2.inspectSource,ye$2=ve$2,Ae$2=p$6.WeakMap,me$2=typeof Ae$2=="function"&&/native code/.test(ye$2(Ae$2)),ke$2={exports:{}},Ee$2=De$2;(ke$2.exports=function(lh,ah){return Ee$2[lh]||(Ee$2[lh]=ah!==void 0?ah:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var xe$2,Fe$2,be$2,Ce$2=0,we$2=Math.random(),Be$2=function(lh){return"Symbol("+String(lh===void 0?"":lh)+")_"+(++Ce$2+we$2).toString(36)},Se$2=ke$2.exports,_e$2=Be$2,Te$2=Se$2("keys"),Oe$2=function(lh){return Te$2[lh]||(Te$2[lh]=_e$2(lh))},Re$2={},Ie$2=me$2,je$2=_$4,ze$2=se$2,$e$2=$$4,Pe$2=De$2,Le$2=Oe$2,Me$2=Re$2,Ne$2=p$6.WeakMap;if(Ie$2||Pe$2.state){var Ue$2=Pe$2.state||(Pe$2.state=new Ne$2),qe$2=Ue$2.get,Ze$2=Ue$2.has,Ge$2=Ue$2.set;xe$2=function(lh,ah){if(Ze$2.call(Ue$2,lh))throw new TypeError("Object already initialized");return ah.facade=lh,Ge$2.call(Ue$2,lh,ah),ah},Fe$2=function(lh){return qe$2.call(Ue$2,lh)||{}},be$2=function(lh){return Ze$2.call(Ue$2,lh)}}else{var He$2=Le$2("state");Me$2[He$2]=!0,xe$2=function(lh,ah){if($e$2(lh,He$2))throw new TypeError("Object already initialized");return ah.facade=lh,ze$2(lh,He$2,ah),ah},Fe$2=function(lh){return $e$2(lh,He$2)?lh[He$2]:{}},be$2=function(lh){return $e$2(lh,He$2)}}var Qe$2={set:xe$2,get:Fe$2,has:be$2,enforce:function(lh){return be$2(lh)?Fe$2(lh):xe$2(lh,{})},getterFor:function(lh){return function(ah){var ch;if(!je$2(ah)||(ch=Fe$2(ah)).type!==lh)throw TypeError("Incompatible receiver, "+lh+" required");return ch}}},Ve$2=p$6,Ye$2=se$2,Ke$2=$$4,Xe$2=pe$2,We$2=ve$2,Je$2=Qe$2.get,et$2=Qe$2.enforce,tt$2=String(String).split("String");(le$2.exports=function(lh,ah,ch,ph){var yh,xh=!!ph&&!!ph.unsafe,Oh=!!ph&&!!ph.enumerable,Uh=!!ph&&!!ph.noTargetGet;typeof ch=="function"&&(typeof ah!="string"||Ke$2(ch,"name")||Ye$2(ch,"name",ah),(yh=et$2(ch)).source||(yh.source=tt$2.join(typeof ah=="string"?ah:""))),lh!==Ve$2?(xh?!Uh&&lh[ah]&&(Oh=!0):delete lh[ah],Oh?lh[ah]=ch:Ye$2(lh,ah,ch)):Oh?lh[ah]=ch:Xe$2(ah,ch)})(Function.prototype,"toString",function(){return typeof this=="function"&&Je$2(this).source||We$2(this)});var nt$2=p$6,rt$2=p$6,ut$2=function(lh){return typeof lh=="function"?lh:void 0},it$2=function(lh,ah){return arguments.length<2?ut$2(nt$2[lh])||ut$2(rt$2[lh]):nt$2[lh]&&nt$2[lh][ah]||rt$2[lh]&&rt$2[lh][ah]},ot$2={},at$2=Math.ceil,st$2=Math.floor,lt$2=function(lh){return isNaN(lh=+lh)?0:(lh>0?st$2:at$2)(lh)},ct$2=lt$2,ft$2=Math.min,pt$2=function(lh){return lh>0?ft$2(ct$2(lh),9007199254740991):0},ht$2=lt$2,Dt$2=Math.max,gt$2=Math.min,dt$2=function(lh,ah){var ch=ht$2(lh);return ch<0?Dt$2(ch+ah,0):gt$2(ch,ah)},vt$2=S$6,yt$2=pt$2,At$2=dt$2,mt$2=function(lh){return function(ah,ch,ph){var yh,xh=vt$2(ah),Oh=yt$2(xh.length),Uh=At$2(ph,Oh);if(lh&&ch!=ch){for(;Oh>Uh;)if((yh=xh[Uh++])!=yh)return!0}else for(;Oh>Uh;Uh++)if((lh||Uh in xh)&&xh[Uh]===ch)return lh||Uh||0;return!lh&&-1}},kt$2={includes:mt$2(!0),indexOf:mt$2(!1)},Et$2=$$4,xt$2=S$6,Ft$2=kt$2.indexOf,bt$2=Re$2,Ct$2=function(lh,ah){var ch,ph=xt$2(lh),yh=0,xh=[];for(ch in ph)!Et$2(bt$2,ch)&&Et$2(ph,ch)&&xh.push(ch);for(;ah.length>yh;)Et$2(ph,ch=ah[yh++])&&(~Ft$2(xh,ch)||xh.push(ch));return xh},wt$2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Bt$2=Ct$2,St$2=wt$2.concat("length","prototype");ot$2.f=Object.getOwnPropertyNames||function(lh){return Bt$2(lh,St$2)};var _t$2={};_t$2.f=Object.getOwnPropertySymbols;var Tt$2=ot$2,Ot$2=_t$2,Rt$2=ee$2,It$2=it$2("Reflect","ownKeys")||function(lh){var ah=Tt$2.f(Rt$2(lh)),ch=Ot$2.f;return ch?ah.concat(ch(lh)):ah},jt$2=$$4,zt$2=It$2,$t$2=h$9,Pt$2=W$2,Lt$2=D$4,Mt$2=/#|\.prototype\./,Nt$2=function(lh,ah){var ch=qt$2[Ut$2(lh)];return ch==Gt$2||ch!=Zt$2&&(typeof ah=="function"?Lt$2(ah):!!ah)},Ut$2=Nt$2.normalize=function(lh){return String(lh).replace(Mt$2,".").toLowerCase()},qt$2=Nt$2.data={},Zt$2=Nt$2.NATIVE="N",Gt$2=Nt$2.POLYFILL="P",Ht$2=Nt$2,Qt$2=p$6,Vt$2=h$9.f,Yt$2=se$2,Kt$2=le$2.exports,Xt$2=pe$2,Wt$2=function(lh,ah){for(var ch=zt$2(ah),ph=Pt$2.f,yh=$t$2.f,xh=0;xh0&&(!xh.multiline||xh.multiline&&lh[xh.lastIndex-1]!==` +`)&&(Fh="(?: "+Fh+")",n1=" "+n1,zh++),ch=new RegExp("^(?:"+Fh+")",Uh)),gn$2&&(ch=new RegExp("^"+Fh+"$(?!\\s)",Uh)),hn$2&&(ah=xh.lastIndex),ph=cn$2.call(Oh?ch:xh,n1),Oh?ph?(ph.input=ph.input.slice(zh),ph[0]=ph[0].slice(zh),ph.index=xh.lastIndex,xh.lastIndex+=ph[0].length):xh.lastIndex=0:hn$2&&ph&&(xh.lastIndex=xh.global?ph.index+ph[0].length:ah),gn$2&&ph&&ph.length>1&&fn$2.call(ph[0],ch,function(){for(yh=1;yh=74)&&(vn$2=mn$2.match(/Chrome\/(\d+)/))&&(yn$2=vn$2[1]);var Fn$2=yn$2&&+yn$2,bn$2=Fn$2,Cn$2=D$4,wn$2=!!Object.getOwnPropertySymbols&&!Cn$2(function(){return!String(Symbol())||!Symbol.sham&&bn$2&&bn$2<41}),Bn$2=wn$2&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Sn$2=p$6,_n$2=ke$2.exports,Tn$2=$$4,On$2=Be$2,Rn$2=wn$2,In$2=Bn$2,jn$2=_n$2("wks"),zn$2=Sn$2.Symbol,$n$2=In$2?zn$2:zn$2&&zn$2.withoutSetter||On$2,Pn$2=function(lh){return Tn$2(jn$2,lh)&&(Rn$2||typeof jn$2[lh]=="string")||(Rn$2&&Tn$2(zn$2,lh)?jn$2[lh]=zn$2[lh]:jn$2[lh]=$n$2("Symbol."+lh)),jn$2[lh]},Ln$2=le$2.exports,Mn$2=dn$2,Nn$2=D$4,Un$2=Pn$2,qn$2=se$2,Zn$2=Un$2("species"),Gn$2=RegExp.prototype,Hn$2=!Nn$2(function(){var lh=/./;return lh.exec=function(){var ah=[];return ah.groups={a:"7"},ah},"".replace(lh,"$")!=="7"}),Qn$2="a".replace(/./,"$0")==="$0",Vn$2=Un$2("replace"),Yn$2=!!/./[Vn$2]&&/./[Vn$2]("a","$0")==="",Kn$2=!Nn$2(function(){var lh=/(?:)/,ah=lh.exec;lh.exec=function(){return ah.apply(this,arguments)};var ch="ab".split(lh);return ch.length!==2||ch[0]!=="a"||ch[1]!=="b"}),Xn$2=function(lh,ah,ch,ph){var yh=Un$2(lh),xh=!Nn$2(function(){var t1={};return t1[yh]=function(){return 7},""[lh](t1)!=7}),Oh=xh&&!Nn$2(function(){var t1=!1,f1=/a/;return lh==="split"&&((f1={}).constructor={},f1.constructor[Zn$2]=function(){return f1},f1.flags="",f1[yh]=/./[yh]),f1.exec=function(){return t1=!0,null},f1[yh](""),!t1});if(!xh||!Oh||lh==="replace"&&(!Hn$2||!Qn$2||Yn$2)||lh==="split"&&!Kn$2){var Uh=/./[yh],Fh=ch(yh,""[lh],function(t1,f1,g1,T1,V1){var a0=f1.exec;return a0===Mn$2||a0===Gn$2.exec?xh&&!V1?{done:!0,value:Uh.call(f1,g1,T1)}:{done:!0,value:t1.call(g1,f1,T1)}:{done:!1}},{REPLACE_KEEPS_$0:Qn$2,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Yn$2}),zh=Fh[0],n1=Fh[1];Ln$2(String.prototype,lh,zh),Ln$2(Gn$2,yh,ah==2?function(t1,f1){return n1.call(t1,this,f1)}:function(t1){return n1.call(t1,this)})}ph&&qn$2(Gn$2[yh],"sham",!0)},Wn$2=lt$2,Jn$2=C$4,er$2=function(lh){return function(ah,ch){var ph,yh,xh=String(Jn$2(ah)),Oh=Wn$2(ch),Uh=xh.length;return Oh<0||Oh>=Uh?lh?"":void 0:(ph=xh.charCodeAt(Oh))<55296||ph>56319||Oh+1===Uh||(yh=xh.charCodeAt(Oh+1))<56320||yh>57343?lh?xh.charAt(Oh):ph:lh?xh.slice(Oh,Oh+2):yh-56320+(ph-55296<<10)+65536}},tr$2={codeAt:er$2(!1),charAt:er$2(!0)},nr$2=tr$2.charAt,rr$2=function(lh,ah,ch){return ah+(ch?nr$2(lh,ah).length:1)},ur$2=I$4,ir$2=Math.floor,or$2="".replace,ar$2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,sr$2=/\$([$&'`]|\d{1,2})/g,lr$2=E$4,cr$2=dn$2,fr$2=function(lh,ah){var ch=lh.exec;if(typeof ch=="function"){var ph=ch.call(lh,ah);if(typeof ph!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return ph}if(lr$2(lh)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return cr$2.call(lh,ah)},pr$2=Xn$2,hr$2=ee$2,Dr$2=pt$2,gr$2=lt$2,dr$2=C$4,vr$2=rr$2,yr$2=function(lh,ah,ch,ph,yh,xh){var Oh=ch+lh.length,Uh=ph.length,Fh=sr$2;return yh!==void 0&&(yh=ur$2(yh),Fh=ar$2),or$2.call(xh,Fh,function(zh,n1){var t1;switch(n1.charAt(0)){case"$":return"$";case"&":return lh;case"`":return ah.slice(0,ch);case"'":return ah.slice(Oh);case"<":t1=yh[n1.slice(1,-1)];break;default:var f1=+n1;if(f1===0)return zh;if(f1>Uh){var g1=ir$2(f1/10);return g1===0?zh:g1<=Uh?ph[g1-1]===void 0?n1.charAt(1):ph[g1-1]+n1.charAt(1):zh}t1=ph[f1-1]}return t1===void 0?"":t1})},Ar$2=fr$2,mr$2=Math.max,kr$2=Math.min;pr$2("replace",2,function(lh,ah,ch,ph){var yh=ph.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,xh=ph.REPLACE_KEEPS_$0,Oh=yh?"$":"$0";return[function(Uh,Fh){var zh=dr$2(this),n1=Uh==null?void 0:Uh[lh];return n1!==void 0?n1.call(Uh,zh,Fh):ah.call(String(zh),Uh,Fh)},function(Uh,Fh){if(!yh&&xh||typeof Fh=="string"&&Fh.indexOf(Oh)===-1){var zh=ch(ah,Uh,this,Fh);if(zh.done)return zh.value}var n1=hr$2(Uh),t1=String(this),f1=typeof Fh=="function";f1||(Fh=String(Fh));var g1=n1.global;if(g1){var T1=n1.unicode;n1.lastIndex=0}for(var V1=[];;){var a0=Ar$2(n1,t1);if(a0===null||(V1.push(a0),!g1))break;String(a0[0])===""&&(n1.lastIndex=vr$2(t1,Dr$2(n1.lastIndex),T1))}for(var o0,B0="",iy=0,Hy=0;Hy=iy&&(B0+=t1.slice(iy,ky)+ty,iy=ky+yv.length)}return B0+t1.slice(iy)}]});var Er$2=_$4,xr$2=ee$2,Fr$2=function(lh){if(!Er$2(lh)&&lh!==null)throw TypeError("Can't set "+String(lh)+" as a prototype");return lh},br$2=Object.setPrototypeOf||("__proto__"in{}?function(){var lh,ah=!1,ch={};try{(lh=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(ch,[]),ah=ch instanceof Array}catch{}return function(ph,yh){return xr$2(ph),Fr$2(yh),ah?lh.call(ph,yh):ph.__proto__=yh,ph}}():void 0),Cr$2=_$4,wr$2=br$2,Br$2=_$4,Sr$2=E$4,_r$2=Pn$2("match"),Tr$2=function(lh){var ah;return Br$2(lh)&&((ah=lh[_r$2])!==void 0?!!ah:Sr$2(lh)=="RegExp")},Or$2=it$2,Rr$2=W$2,Ir$2=g$5,jr$2=Pn$2("species"),zr$2=function(lh){var ah=Or$2(lh),ch=Rr$2.f;Ir$2&&ah&&!ah[jr$2]&&ch(ah,jr$2,{configurable:!0,get:function(){return this}})},$r$2=g$5,Pr$2=p$6,Lr$2=Ht$2,Mr$2=function(lh,ah,ch){var ph,yh;return wr$2&&typeof(ph=ah.constructor)=="function"&&ph!==ch&&Cr$2(yh=ph.prototype)&&yh!==ch.prototype&&wr$2(lh,yh),lh},Nr$2=W$2.f,Ur$2=ot$2.f,qr$2=Tr$2,Zr$2=nn$2,Gr$2=rn$2,Hr$2=le$2.exports,Qr$2=D$4,Vr$2=Qe$2.enforce,Yr$2=zr$2,Kr$2=Pn$2("match"),Xr$2=Pr$2.RegExp,Wr$2=Xr$2.prototype,Jr$2=/a/g,eu$2=/a/g,tu$2=new Xr$2(Jr$2)!==Jr$2,nu$2=Gr$2.UNSUPPORTED_Y;if($r$2&&Lr$2("RegExp",!tu$2||nu$2||Qr$2(function(){return eu$2[Kr$2]=!1,Xr$2(Jr$2)!=Jr$2||Xr$2(eu$2)==eu$2||Xr$2(Jr$2,"i")!="/a/i"}))){for(var ru$2=function(lh,ah){var ch,ph=this instanceof ru$2,yh=qr$2(lh),xh=ah===void 0;if(!ph&&yh&&lh.constructor===ru$2&&xh)return lh;tu$2?yh&&!xh&&(lh=lh.source):lh instanceof ru$2&&(xh&&(ah=Zr$2.call(lh)),lh=lh.source),nu$2&&(ch=!!ah&&ah.indexOf("y")>-1)&&(ah=ah.replace(/y/g,""));var Oh=Mr$2(tu$2?new Xr$2(lh,ah):Xr$2(lh,ah),ph?this:Wr$2,ru$2);return nu$2&&ch&&(Vr$2(Oh).sticky=!0),Oh},uu$2=function(lh){lh in ru$2||Nr$2(ru$2,lh,{configurable:!0,get:function(){return Xr$2[lh]},set:function(ah){Xr$2[lh]=ah}})},iu$2=Ur$2(Xr$2),ou$2=0;iu$2.length>ou$2;)uu$2(iu$2[ou$2++]);Wr$2.constructor=ru$2,ru$2.prototype=Wr$2,Hr$2(Pr$2,"RegExp",ru$2)}Yr$2("RegExp");var au$2=le$2.exports,su$2=ee$2,lu$2=D$4,cu$2=nn$2,fu$2=RegExp.prototype,pu$2=fu$2.toString,hu$2=lu$2(function(){return pu$2.call({source:"a",flags:"b"})!="/a/b"}),Du$2=pu$2.name!="toString";(hu$2||Du$2)&&au$2(RegExp.prototype,"toString",function(){var lh=su$2(this),ah=String(lh.source),ch=lh.flags;return"/"+ah+"/"+String(ch===void 0&&lh instanceof RegExp&&!("flags"in fu$2)?cu$2.call(lh):ch)},{unsafe:!0});var gu$2=ee$2,du$2=pt$2,vu$2=C$4,yu$2=rr$2,Au$2=fr$2;Xn$2("match",1,function(lh,ah,ch){return[function(ph){var yh=vu$2(this),xh=ph==null?void 0:ph[lh];return xh!==void 0?xh.call(ph,yh):new RegExp(ph)[lh](String(yh))},function(ph){var yh=ch(ah,ph,this);if(yh.done)return yh.value;var xh=gu$2(ph),Oh=String(this);if(!xh.global)return Au$2(xh,Oh);var Uh=xh.unicode;xh.lastIndex=0;for(var Fh,zh=[],n1=0;(Fh=Au$2(xh,Oh))!==null;){var t1=String(Fh[0]);zh[n1]=t1,t1===""&&(xh.lastIndex=yu$2(Oh,du$2(xh.lastIndex),Uh)),n1++}return n1===0?null:zh}]});var mu$2=g$5,ku$2=W$2.f,Eu$2=Function.prototype,xu$2=Eu$2.toString,Fu$2=/^\s*function ([^ (]*)/;mu$2&&!("name"in Eu$2)&&ku$2(Eu$2,"name",{configurable:!0,get:function(){try{return xu$2.call(this).match(Fu$2)[1]}catch{return""}}});var bu$2=D$4,Cu$2=function(lh,ah){var ch=[][lh];return!!ch&&bu$2(function(){ch.call(null,ah||function(){throw 1},1)})},wu$2=en$2,Bu$2=S$6,Su$2=[].join,_u$2=b$3!=Object,Tu$2=Cu$2("join",",");wu$2({target:"Array",proto:!0,forced:_u$2||!Tu$2},{join:function(lh){return Su$2.call(Bu$2(this),lh===void 0?",":lh)}});var Ou$2=function(lh){if(typeof lh!="function")throw TypeError(String(lh)+" is not a function");return lh},Ru$2=ee$2,Iu$2=Ou$2,ju$2=Pn$2("species"),zu$2=function(lh,ah){var ch,ph=Ru$2(lh).constructor;return ph===void 0||(ch=Ru$2(ph)[ju$2])==null?ah:Iu$2(ch)},$u$2=Xn$2,Pu$2=Tr$2,Lu$2=ee$2,Mu$2=C$4,Nu$2=zu$2,Uu$2=rr$2,qu$2=pt$2,Zu$2=fr$2,Gu$2=dn$2,Hu$2=rn$2.UNSUPPORTED_Y,Qu$2=[].push,Vu$2=Math.min;$u$2("split",2,function(lh,ah,ch){var ph;return ph="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(yh,xh){var Oh=String(Mu$2(this)),Uh=xh===void 0?4294967295:xh>>>0;if(Uh===0)return[];if(yh===void 0)return[Oh];if(!Pu$2(yh))return ah.call(Oh,yh,Uh);for(var Fh,zh,n1,t1=[],f1=(yh.ignoreCase?"i":"")+(yh.multiline?"m":"")+(yh.unicode?"u":"")+(yh.sticky?"y":""),g1=0,T1=new RegExp(yh.source,f1+"g");(Fh=Gu$2.call(T1,Oh))&&!((zh=T1.lastIndex)>g1&&(t1.push(Oh.slice(g1,Fh.index)),Fh.length>1&&Fh.index=Uh));)T1.lastIndex===Fh.index&&T1.lastIndex++;return g1===Oh.length?!n1&&T1.test("")||t1.push(""):t1.push(Oh.slice(g1)),t1.length>Uh?t1.slice(0,Uh):t1}:"0".split(void 0,0).length?function(yh,xh){return yh===void 0&&xh===0?[]:ah.call(this,yh,xh)}:ah,[function(yh,xh){var Oh=Mu$2(this),Uh=yh==null?void 0:yh[lh];return Uh!==void 0?Uh.call(yh,Oh,xh):ph.call(String(Oh),yh,xh)},function(yh,xh){var Oh=ch(ph,yh,this,xh,ph!==ah);if(Oh.done)return Oh.value;var Uh=Lu$2(yh),Fh=String(this),zh=Nu$2(Uh,RegExp),n1=Uh.unicode,t1=(Uh.ignoreCase?"i":"")+(Uh.multiline?"m":"")+(Uh.unicode?"u":"")+(Hu$2?"g":"y"),f1=new zh(Hu$2?"^(?:"+Uh.source+")":Uh,t1),g1=xh===void 0?4294967295:xh>>>0;if(g1===0)return[];if(Fh.length===0)return Zu$2(f1,Fh)===null?[Fh]:[];for(var T1=0,V1=0,a0=[];V1B0;B0++)if((Uh||B0 in V1)&&(g1=a0(f1=V1[B0],B0,T1),lh))if(ah)Hy[B0]=g1;else if(g1)switch(lh){case 3:return!0;case 5:return f1;case 6:return B0;case 2:Ai$2.call(Hy,f1)}else switch(lh){case 4:return!1;case 7:Ai$2.call(Hy,f1)}return xh?-1:ph||_h?_h:Hy}},ki$2={forEach:mi$2(0),map:mi$2(1),filter:mi$2(2),some:mi$2(3),every:mi$2(4),find:mi$2(5),findIndex:mi$2(6),filterOut:mi$2(7)},Ei$2=ki$2.forEach,xi$2=p$6,Fi$2=ii$2,bi$2=Cu$2("forEach")?[].forEach:function(lh){return Ei$2(this,lh,arguments.length>1?arguments[1]:void 0)},Ci$2=se$2;for(var wi$2 in Fi$2){var Bi$2=xi$2[wi$2],Si$2=Bi$2&&Bi$2.prototype;if(Si$2&&Si$2.forEach!==bi$2)try{Ci$2(Si$2,"forEach",bi$2)}catch{Si$2.forEach=bi$2}}var _i$2={};_i$2[Pn$2("toStringTag")]="z";var Ti$2=String(_i$2)==="[object z]",Oi$2=Ti$2,Ri$2=E$4,Ii$2=Pn$2("toStringTag"),ji$2=Ri$2(function(){return arguments}())=="Arguments",zi$2=Oi$2?Ri$2:function(lh){var ah,ch,ph;return lh===void 0?"Undefined":lh===null?"Null":typeof(ch=function(_h,xh){try{return _h[xh]}catch{}}(ah=Object(lh),Ii$2))=="string"?ch:ji$2?Ri$2(ah):(ph=Ri$2(ah))=="Object"&&typeof ah.callee=="function"?"Arguments":ph},$i$2=zi$2,Pi$2=Ti$2?{}.toString:function(){return"[object "+$i$2(this)+"]"},Li$2=Ti$2,Mi$2=le$2.exports,Ni$2=Pi$2;Li$2||Mi$2(Object.prototype,"toString",Ni$2,{unsafe:!0});var Ui$2=p$6.Promise,qi$2=le$2.exports,Zi$2=W$2.f,Gi$2=$$4,Hi$2=Pn$2("toStringTag"),Qi$2=function(lh,ah,ch){lh&&!Gi$2(lh=ch?lh:lh.prototype,Hi$2)&&Zi$2(lh,Hi$2,{configurable:!0,value:ah})},Vi$2={},Yi$2=Vi$2,Ki$2=Pn$2("iterator"),Xi$2=Array.prototype,Wi$2=zi$2,Ji$2=Vi$2,eo$2=Pn$2("iterator"),to$3=ee$2,no$2=ee$2,ro$2=function(lh){return lh!==void 0&&(Yi$2.Array===lh||Xi$2[Ki$2]===lh)},uo$2=pt$2,io$2=ai$2,oo$2=function(lh){if(lh!=null)return lh[eo$2]||lh["@@iterator"]||Ji$2[Wi$2(lh)]},ao$2=function(lh){var ah=lh.return;if(ah!==void 0)return to$3(ah.call(lh)).value},so$2=function(lh,ah){this.stopped=lh,this.result=ah},lo$2=Pn$2("iterator"),co$2=!1;try{var fo$2=0,po$2={next:function(){return{done:!!fo$2++}},return:function(){co$2=!0}};po$2[lo$2]=function(){return this},Array.from(po$2,function(){throw 2})}catch{}var ho$2,Do$2,go$2,vo$2=it$2("document","documentElement"),yo$2=/(?:iphone|ipod|ipad).*applewebkit/i.test(An$2),Ao$2=E$4(p$6.process)=="process",mo$2=p$6,ko$2=D$4,Eo$2=ai$2,xo$2=vo$2,Fo$2=N$5,bo$2=yo$2,Co$2=Ao$2,wo$2=mo$2.location,Bo$2=mo$2.setImmediate,So$2=mo$2.clearImmediate,_o$2=mo$2.process,To$2=mo$2.MessageChannel,Oo$2=mo$2.Dispatch,Ro$2=0,Io$2={},jo$2=function(lh){if(Io$2.hasOwnProperty(lh)){var ah=Io$2[lh];delete Io$2[lh],ah()}},zo$2=function(lh){return function(){jo$2(lh)}},$o$2=function(lh){jo$2(lh.data)},Po$2=function(lh){mo$2.postMessage(lh+"",wo$2.protocol+"//"+wo$2.host)};Bo$2&&So$2||(Bo$2=function(lh){for(var ah=[],ch=1;arguments.length>ch;)ah.push(arguments[ch++]);return Io$2[++Ro$2]=function(){(typeof lh=="function"?lh:Function(lh)).apply(void 0,ah)},ho$2(Ro$2),Ro$2},So$2=function(lh){delete Io$2[lh]},Co$2?ho$2=function(lh){_o$2.nextTick(zo$2(lh))}:Oo$2&&Oo$2.now?ho$2=function(lh){Oo$2.now(zo$2(lh))}:To$2&&!bo$2?(go$2=(Do$2=new To$2).port2,Do$2.port1.onmessage=$o$2,ho$2=Eo$2(go$2.postMessage,go$2,1)):mo$2.addEventListener&&typeof postMessage=="function"&&!mo$2.importScripts&&wo$2&&wo$2.protocol!=="file:"&&!ko$2(Po$2)?(ho$2=Po$2,mo$2.addEventListener("message",$o$2,!1)):ho$2="onreadystatechange"in Fo$2("script")?function(lh){xo$2.appendChild(Fo$2("script")).onreadystatechange=function(){xo$2.removeChild(this),jo$2(lh)}}:function(lh){setTimeout(zo$2(lh),0)});var Lo$2,Mo$2,No$2,Uo$2,qo$2,Zo$2,Go$2,Ho$2,Qo$2={set:Bo$2,clear:So$2},Vo$2=/web0s(?!.*chrome)/i.test(An$2),Yo$2=p$6,Ko$2=h$9.f,Xo$2=Qo$2.set,Wo$2=yo$2,Jo$2=Vo$2,ea$2=Ao$2,ta$2=Yo$2.MutationObserver||Yo$2.WebKitMutationObserver,na$2=Yo$2.document,ra$2=Yo$2.process,ua$2=Yo$2.Promise,ia$2=Ko$2(Yo$2,"queueMicrotask"),oa$2=ia$2&&ia$2.value;oa$2||(Lo$2=function(){var lh,ah;for(ea$2&&(lh=ra$2.domain)&&lh.exit();Mo$2;){ah=Mo$2.fn,Mo$2=Mo$2.next;try{ah()}catch(ch){throw Mo$2?Uo$2():No$2=void 0,ch}}No$2=void 0,lh&&lh.enter()},Wo$2||ea$2||Jo$2||!ta$2||!na$2?ua$2&&ua$2.resolve?((Go$2=ua$2.resolve(void 0)).constructor=ua$2,Ho$2=Go$2.then,Uo$2=function(){Ho$2.call(Go$2,Lo$2)}):Uo$2=ea$2?function(){ra$2.nextTick(Lo$2)}:function(){Xo$2.call(Yo$2,Lo$2)}:(qo$2=!0,Zo$2=na$2.createTextNode(""),new ta$2(Lo$2).observe(Zo$2,{characterData:!0}),Uo$2=function(){Zo$2.data=qo$2=!qo$2}));var aa$2=oa$2||function(lh){var ah={fn:lh,next:void 0};No$2&&(No$2.next=ah),Mo$2||(Mo$2=ah,Uo$2()),No$2=ah},sa$2={},la$2=Ou$2,ca$2=function(lh){var ah,ch;this.promise=new lh(function(ph,_h){if(ah!==void 0||ch!==void 0)throw TypeError("Bad Promise constructor");ah=ph,ch=_h}),this.resolve=la$2(ah),this.reject=la$2(ch)};sa$2.f=function(lh){return new ca$2(lh)};var fa$2,pa$2,ha$2,Da$2,ga$2=ee$2,da$2=_$4,va$2=sa$2,ya$2=p$6,Aa$2=typeof window=="object",ma$2=en$2,ka$2=p$6,Ea$2=it$2,xa$2=Ui$2,Fa$2=le$2.exports,ba$2=function(lh,ah,ch){for(var ph in ah)qi$2(lh,ph,ah[ph],ch);return lh},Ca$2=br$2,wa$2=Qi$2,Ba$2=zr$2,Sa$2=_$4,_a$2=Ou$2,Ta$2=function(lh,ah,ch){if(!(lh instanceof ah))throw TypeError("Incorrect "+(ch?ch+" ":"")+"invocation");return lh},Oa$2=ve$2,Ra$2=function(lh,ah,ch){var ph,_h,xh,Oh,Uh,Fh,zh,n1=ch&&ch.that,t1=!(!ch||!ch.AS_ENTRIES),f1=!(!ch||!ch.IS_ITERATOR),g1=!(!ch||!ch.INTERRUPTED),T1=io$2(ah,n1,1+t1+g1),V1=function(o0){return ph&&ao$2(ph),new so$2(!0,o0)},a0=function(o0){return t1?(no$2(o0),g1?T1(o0[0],o0[1],V1):T1(o0[0],o0[1])):g1?T1(o0,V1):T1(o0)};if(f1)ph=lh;else{if(typeof(_h=oo$2(lh))!="function")throw TypeError("Target is not iterable");if(ro$2(_h)){for(xh=0,Oh=uo$2(lh.length);Oh>xh;xh++)if((Uh=a0(lh[xh]))&&Uh instanceof so$2)return Uh;return new so$2(!1)}ph=_h.call(lh)}for(Fh=ph.next;!(zh=Fh.call(ph)).done;){try{Uh=a0(zh.value)}catch(o0){throw ao$2(ph),o0}if(typeof Uh=="object"&&Uh&&Uh instanceof so$2)return Uh}return new so$2(!1)},Ia$2=function(lh,ah){if(!ah&&!co$2)return!1;var ch=!1;try{var ph={};ph[lo$2]=function(){return{next:function(){return{done:ch=!0}}}},lh(ph)}catch{}return ch},ja$2=zu$2,za$2=Qo$2.set,$a$2=aa$2,Pa$2=function(lh,ah){if(ga$2(lh),da$2(ah)&&ah.constructor===lh)return ah;var ch=va$2.f(lh);return(0,ch.resolve)(ah),ch.promise},La$2=function(lh,ah){var ch=ya$2.console;ch&&ch.error&&(arguments.length===1?ch.error(lh):ch.error(lh,ah))},Ma$2=sa$2,Na$2=function(lh){try{return{error:!1,value:lh()}}catch(ah){return{error:!0,value:ah}}},Ua$2=Qe$2,qa$2=Ht$2,Za$2=Aa$2,Ga$2=Ao$2,Ha$2=Fn$2,Qa$2=Pn$2("species"),Va$2="Promise",Ya$2=Ua$2.get,Ka$2=Ua$2.set,Xa$2=Ua$2.getterFor(Va$2),Wa$2=xa$2&&xa$2.prototype,Ja$2=xa$2,es$2=Wa$2,ts$2=ka$2.TypeError,ns$2=ka$2.document,rs$1=ka$2.process,us$1=Ma$2.f,is$2=us$1,os$1=!!(ns$2&&ns$2.createEvent&&ka$2.dispatchEvent),as$1=typeof PromiseRejectionEvent=="function",ss$1=!1,ls$1=qa$2(Va$2,function(){var lh=Oa$2(Ja$2)!==String(Ja$2);if(!lh&&Ha$2===66)return!0;if(Ha$2>=51&&/native code/.test(Ja$2))return!1;var ah=new Ja$2(function(ph){ph(1)}),ch=function(ph){ph(function(){},function(){})};return(ah.constructor={})[Qa$2]=ch,!(ss$1=ah.then(function(){})instanceof ch)||!lh&&Za$2&&!as$1}),cs$1=ls$1||!Ia$2(function(lh){Ja$2.all(lh).catch(function(){})}),fs$1=function(lh){var ah;return!(!Sa$2(lh)||typeof(ah=lh.then)!="function")&&ah},ps$1=function(lh,ah){if(!lh.notified){lh.notified=!0;var ch=lh.reactions;$a$2(function(){for(var ph=lh.value,_h=lh.state==1,xh=0;ch.length>xh;){var Oh,Uh,Fh,zh=ch[xh++],n1=_h?zh.ok:zh.fail,t1=zh.resolve,f1=zh.reject,g1=zh.domain;try{n1?(_h||(lh.rejection===2&&ds$1(lh),lh.rejection=1),n1===!0?Oh=ph:(g1&&g1.enter(),Oh=n1(ph),g1&&(g1.exit(),Fh=!0)),Oh===zh.promise?f1(ts$2("Promise-chain cycle")):(Uh=fs$1(Oh))?Uh.call(Oh,t1,f1):t1(Oh)):f1(ph)}catch(T1){g1&&!Fh&&g1.exit(),f1(T1)}}lh.reactions=[],lh.notified=!1,ah&&!lh.rejection&&Ds$1(lh)})}},hs$1=function(lh,ah,ch){var ph,_h;os$1?((ph=ns$2.createEvent("Event")).promise=ah,ph.reason=ch,ph.initEvent(lh,!1,!0),ka$2.dispatchEvent(ph)):ph={promise:ah,reason:ch},!as$1&&(_h=ka$2["on"+lh])?_h(ph):lh==="unhandledrejection"&&La$2("Unhandled promise rejection",ch)},Ds$1=function(lh){za$2.call(ka$2,function(){var ah,ch=lh.facade,ph=lh.value;if(gs$1(lh)&&(ah=Na$2(function(){Ga$2?rs$1.emit("unhandledRejection",ph,ch):hs$1("unhandledrejection",ch,ph)}),lh.rejection=Ga$2||gs$1(lh)?2:1,ah.error))throw ah.value})},gs$1=function(lh){return lh.rejection!==1&&!lh.parent},ds$1=function(lh){za$2.call(ka$2,function(){var ah=lh.facade;Ga$2?rs$1.emit("rejectionHandled",ah):hs$1("rejectionhandled",ah,lh.value)})},vs$1=function(lh,ah,ch){return function(ph){lh(ah,ph,ch)}},ys$1=function(lh,ah,ch){lh.done||(lh.done=!0,ch&&(lh=ch),lh.value=ah,lh.state=2,ps$1(lh,!0))},As$1=function(lh,ah,ch){if(!lh.done){lh.done=!0,ch&&(lh=ch);try{if(lh.facade===ah)throw ts$2("Promise can't be resolved itself");var ph=fs$1(ah);ph?$a$2(function(){var _h={done:!1};try{ph.call(ah,vs$1(As$1,_h,lh),vs$1(ys$1,_h,lh))}catch(xh){ys$1(_h,xh,lh)}}):(lh.value=ah,lh.state=1,ps$1(lh,!1))}catch(_h){ys$1({done:!1},_h,lh)}}};if(ls$1&&(es$2=(Ja$2=function(lh){Ta$2(this,Ja$2,Va$2),_a$2(lh),fa$2.call(this);var ah=Ya$2(this);try{lh(vs$1(As$1,ah),vs$1(ys$1,ah))}catch(ch){ys$1(ah,ch)}}).prototype,(fa$2=function(lh){Ka$2(this,{type:Va$2,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=ba$2(es$2,{then:function(lh,ah){var ch=Xa$2(this),ph=us$1(ja$2(this,Ja$2));return ph.ok=typeof lh!="function"||lh,ph.fail=typeof ah=="function"&&ah,ph.domain=Ga$2?rs$1.domain:void 0,ch.parent=!0,ch.reactions.push(ph),ch.state!=0&&ps$1(ch,!1),ph.promise},catch:function(lh){return this.then(void 0,lh)}}),pa$2=function(){var lh=new fa$2,ah=Ya$2(lh);this.promise=lh,this.resolve=vs$1(As$1,ah),this.reject=vs$1(ys$1,ah)},Ma$2.f=us$1=function(lh){return lh===Ja$2||lh===ha$2?new pa$2(lh):is$2(lh)},typeof xa$2=="function"&&Wa$2!==Object.prototype)){Da$2=Wa$2.then,ss$1||(Fa$2(Wa$2,"then",function(lh,ah){var ch=this;return new Ja$2(function(ph,_h){Da$2.call(ch,ph,_h)}).then(lh,ah)},{unsafe:!0}),Fa$2(Wa$2,"catch",es$2.catch,{unsafe:!0}));try{delete Wa$2.constructor}catch{}Ca$2&&Ca$2(Wa$2,es$2)}ma$2({global:!0,wrap:!0,forced:ls$1},{Promise:Ja$2}),wa$2(Ja$2,Va$2,!1),Ba$2(Va$2),ha$2=Ea$2(Va$2),ma$2({target:Va$2,stat:!0,forced:ls$1},{reject:function(lh){var ah=us$1(this);return ah.reject.call(void 0,lh),ah.promise}}),ma$2({target:Va$2,stat:!0,forced:ls$1},{resolve:function(lh){return Pa$2(this,lh)}}),ma$2({target:Va$2,stat:!0,forced:cs$1},{all:function(lh){var ah=this,ch=us$1(ah),ph=ch.resolve,_h=ch.reject,xh=Na$2(function(){var Oh=_a$2(ah.resolve),Uh=[],Fh=0,zh=1;Ra$2(lh,function(n1){var t1=Fh++,f1=!1;Uh.push(void 0),zh++,Oh.call(ah,n1).then(function(g1){f1||(f1=!0,Uh[t1]=g1,--zh||ph(Uh))},_h)}),--zh||ph(Uh)});return xh.error&&_h(xh.value),ch.promise},race:function(lh){var ah=this,ch=us$1(ah),ph=ch.reject,_h=Na$2(function(){var xh=_a$2(ah.resolve);Ra$2(lh,function(Oh){xh.call(ah,Oh).then(ch.resolve,ph)})});return _h.error&&ph(_h.value),ch.promise}});var ms$1=O$2,ks$1=W$2,Es$1=m$6,xs$1=function(lh,ah,ch){var ph=ms$1(ah);ph in lh?ks$1.f(lh,ph,Es$1(0,ch)):lh[ph]=ch},Fs$1=D$4,bs$1=Fn$2,Cs$1=Pn$2("species"),ws$1=function(lh){return bs$1>=51||!Fs$1(function(){var ah=[];return(ah.constructor={})[Cs$1]=function(){return{foo:1}},ah[lh](Boolean).foo!==1})},Bs$1=en$2,Ss$1=_$4,_s$1=li$2,Ts$1=dt$2,Os$1=pt$2,Rs$1=S$6,Is$1=xs$1,js$1=Pn$2,zs$1=ws$1("slice"),$s$1=js$1("species"),Ps$1=[].slice,Ls$1=Math.max;Bs$1({target:"Array",proto:!0,forced:!zs$1},{slice:function(lh,ah){var ch,ph,_h,xh=Rs$1(this),Oh=Os$1(xh.length),Uh=Ts$1(lh,Oh),Fh=Ts$1(ah===void 0?Oh:ah,Oh);if(_s$1(xh)&&(typeof(ch=xh.constructor)!="function"||ch!==Array&&!_s$1(ch.prototype)?Ss$1(ch)&&(ch=ch[$s$1])===null&&(ch=void 0):ch=void 0,ch===Array||ch===void 0))return Ps$1.call(xh,Uh,Fh);for(ph=new(ch===void 0?Array:ch)(Ls$1(Fh-Uh,0)),_h=0;Uhxh;)Zs$1.f(lh,ch=ph[xh++],ah[ch]);return lh},Vs$1=ee$2,Ys$1=Qs$1,Ks$1=wt$2,Xs$1=Re$2,Ws$1=vo$2,Js$1=N$5,el$1=Oe$2("IE_PROTO"),tl$1=function(){},nl$1=function(lh){return" +