TYPO3 v15 dev-main snapshot ()

This commit is contained in:
wappler committed 2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 files changed
+642608

No files matched your search

@@ -0,0 +1 @@
const i=new WeakMap;class t{constructor(t,s){this.startPaused=!1,this.disabled=!1,this.clients=new Set,this.pendingComplete=!1,this.host=t,this.defaultOptions=s.defaultOptions||{},this.startPaused=!!s.startPaused,this.disabled=!!s.disabled,this.onComplete=s.onComplete,i.set(this.host,this)}async add(i){this.clients.add(i),this.startPaused&&i.webAnimation?.pause(),this.pendingComplete=!0,await i.finished,this.pendingComplete&&!this.isAnimating&&(this.pendingComplete=!1,this.onComplete?.())}remove(i){this.clients.delete(i)}pause(){this.clients.forEach((i=>i.webAnimation?.pause()))}play(){this.clients.forEach((i=>i.webAnimation?.play()))}cancel(){this.clients.forEach((i=>i.webAnimation?.cancel())),this.clients.clear()}finish(){this.clients.forEach((i=>i.webAnimation?.finish())),this.clients.clear()}togglePlay(){this.isPlaying?this.pause():this.play()}get isAnimating(){return this.clients.size>0}get isPlaying(){return Array.from(this.clients).some((i=>"running"===i.webAnimation?.playState))}async finished(){await Promise.all(Array.from(this.clients).map((i=>i.finished)))}}export{t as AnimateController,i as controllerMap};
@@ -0,0 +1 @@
import{nothing as t}from"lit/html.js";import{directive as i,PartType as s}from"lit/directive.js";import{AsyncDirective as e}from"lit/async-directive.js";import{controllerMap as h}from"@lit-labs/motion/animate-controller.js";export{AnimateController}from"@lit-labs/motion/animate-controller.js";let o=0;const r=new Map,n=new WeakSet,a=()=>new Promise((t=>requestAnimationFrame(t))),c=[{transform:"translateY(100%) scale(0)",opacity:0}],l=[{transform:"translateY(-100%) scale(0)",opacity:0}],d=[{transform:"translateX(-100%) scale(0)",opacity:0}],u=[{transform:"translateX(100%) scale(0)",opacity:0}],m=[{}],f=[{opacity:0}],p=f,v=[{opacity:0},{opacity:1}],y=[{opacity:0},{opacity:.25,offset:.75},{opacity:1}],g=(t,i)=>{const s=t-i;return 0===s?void 0:s},w=(t,i)=>{const s=t/i;return 1===s?void 0:s},N={left:(t,i)=>{const s=g(t,i);return{value:s,transform:null==s||isNaN(s)?void 0:`translateX(${s}px)`}},top:(t,i)=>{const s=g(t,i);return{value:s,transform:null==s||isNaN(s)?void 0:`translateY(${s}px)`}},width:(t,i)=>{let s;0===i&&(i=1,s={width:"1px"});const e=w(t,i);return{value:e,overrideFrom:s,transform:null==e||isNaN(e)?void 0:`scaleX(${e})`}},height:(t,i)=>{let s;0===i&&(i=1,s={height:"1px"});const e=w(t,i);return{value:e,overrideFrom:s,transform:null==e||isNaN(e)?void 0:`scaleY(${e})`}}},A={duration:333,easing:"ease-in-out"},b=["left","top","width","height","opacity","color","background"],j=new WeakMap;class x extends e{constructor(t){if(super(t),this.t=!1,this.i=null,this.o=null,this.h=!0,this.shouldLog=!1,t.type===s.CHILD)throw Error("The `animate` directive must be used in attribute position.");this.createFinished()}createFinished(){this.resolveFinished?.(),this.finished=new Promise((t=>{this.l=t}))}async resolveFinished(){this.l?.(),this.l=void 0}render(i){return t}getController(){return h.get(this.u)}isDisabled(){return this.options.disabled||this.getController()?.disabled}update(t,[i]){const s=void 0===this.u;return s&&(this.u=t.options?.host,this.u.addController(this),this.u.updateComplete.then((t=>this.t=!0)),this.element=t.element,j.set(this.element,this)),this.optionsOrCallback=i,(s||"function"!=typeof i)&&this.p(i),this.render(i)}p(t){t=t??{};const i=this.getController();void 0!==i&&((t={...i.defaultOptions,...t}).keyframeOptions={...i.defaultOptions.keyframeOptions,...t.keyframeOptions}),t.properties??=b,this.options=t}m(){const t={},i=this.element.getBoundingClientRect(),s=getComputedStyle(this.element);return this.options.properties.forEach((e=>{const h=i[e]??(N[e]?void 0:s[e]),o=Number(h);t[e]=isNaN(o)?h+"":o})),t}v(){let t,i=!0;return this.options.guard&&(t=this.options.guard(),i=((t,i)=>{if(Array.isArray(t)){if(Array.isArray(i)&&i.length===t.length&&t.every(((t,s)=>t===i[s])))return!1}else if(i===t)return!1;return!0})(t,this._)),this.h=this.t&&!this.isDisabled()&&!this.isAnimating()&&i&&this.element.isConnected,this.h&&(this._=Array.isArray(t)?Array.from(t):t),this.h}hostUpdate(){"function"==typeof this.optionsOrCallback&&this.p(this.optionsOrCallback()),this.v()&&(this.A=this.m(),this.i=this.i??this.element.parentNode,this.o=this.element.nextSibling)}async hostUpdated(){if(!this.h||!this.element.isConnected||this.options.skipInitial&&!this.isHostRendered)return;let t;this.prepare(),await a;const i=this.O(),s=this.j(this.options.keyframeOptions,i),e=this.m();if(void 0!==this.A){const{from:s,to:h}=this.N(this.A,e,i);this.log("measured",[this.A,e,s,h]),t=this.calculateKeyframes(s,h)}else{const s=r.get(this.options.inId);if(s){r.delete(this.options.inId);const{from:h,to:n}=this.N(s,e,i);t=this.calculateKeyframes(h,n),t=this.options.in?[{...this.options.in[0],...t[0]},...this.options.in.slice(1),t[1]]:t,o++,t.forEach((t=>t.zIndex=o))}else this.options.in&&(t=[...this.options.in,{}])}this.animate(t,s)}resetStyles(){void 0!==this.P&&(this.element.setAttribute("style",this.P??""),this.P=void 0)}commitStyles(){this.P=this.element.getAttribute("style"),this.webAnimation?.commitStyles(),this.webAnimation?.cancel()}reconnected(){}async disconnected(){if(!this.h)return;if(void 0!==this.options.id&&r.set(this.options.id,this.A),void 0===this.options.out)return;if(this.prepare(),await a(),this.i?.isConnected){const t=this.o&&this.o.parentNode===this.i?this.o:null;if(this.i.insertBefore(this.element,t),this.options.stabilizeOut){const t=this.m();this.log("stabilizing out");const i=this.A.left-t.left,s=this.A.top-t.top;!("static"===getComputedStyle(this.element).position)||0===i&&0===s||(this.element.style.position="relative"),0!==i&&(this.element.style.left=i+"px"),0!==s&&(this.element.style.top=s+"px")}}const t=this.j(this.options.keyframeOptions);await this.animate(this.options.out,t),this.element.remove()}prepare(){this.createFinished()}start(){this.options.onStart?.(this)}didFinish(t){t&&this.options.onComplete?.(this),this.A=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}O(){const t=[];for(let i=this.element.parentNode;i;i=i?.parentNode){const s=j.get(i);s&&!s.isDisabled()&&s&&tLine truncated
@@ -0,0 +1 @@
export{Animate,animate,animationFrame,defaultCssProperties,defaultKeyframeOptions,fade,fadeIn,fadeInSlow,fadeOut,flyAbove,flyBelow,flyLeft,flyRight,none,transformProps}from"@lit-labs/motion/animate.js";export{AnimateController,controllerMap}from"@lit-labs/motion/animate-controller.js";export{Position,position}from"@lit-labs/motion/position.js";
@@ -0,0 +1 @@
import{nothing as t}from"lit/html.js";import{directive as i,PartType as s}from"lit/directive.js";import{AsyncDirective as o}from"lit/async-directive.js";const r=["top","right","bottom","left"];class e extends o{constructor(t){if(super(t),t.type!==s.ELEMENT)throw Error("The `position` directive must be used in attribute position.")}render(i,s){return t}update(t,[i,s]){return void 0===this.u&&(this.u=t.options?.host,this.u.addController(this)),this.S=t.element,this.C=i,this.F=s??["left","top","width","height"],this.render(i,s)}hostUpdated(){this.$()}$(){const t="function"==typeof this.C?this.C():this.C?.value,i=t.offsetParent;if(void 0===t||!i)return;const s=t.getBoundingClientRect(),o=i.getBoundingClientRect();this.F?.forEach((t=>{const i=r.includes(t)?s[t]-o[t]:s[t];this.S.style[t]=i+"px"}))}}const h=i(e);export{e as Position,h as position};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n("string"==typeof t?t:t+"",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};
@@ -0,0 +1 @@
export{customElement}from"@lit/reactive-element/decorators/custom-element.js";export{property,standardProperty}from"@lit/reactive-element/decorators/property.js";export{state}from"@lit/reactive-element/decorators/state.js";export{eventOptions}from"@lit/reactive-element/decorators/event-options.js";export{query}from"@lit/reactive-element/decorators/query.js";export{queryAll}from"@lit/reactive-element/decorators/query-all.js";export{queryAsync}from"@lit/reactive-element/decorators/query-async.js";export{queryAssignedElements}from"@lit/reactive-element/decorators/query-assigned-elements.js";export{queryAssignedNodes}from"@lit/reactive-element/decorators/query-assigned-nodes.js";
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const t=t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};export{t as customElement};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
function t(t){return(n,o)=>{const c="function"==typeof n?n:n[o];Object.assign(c,t)}}export{t as eventOptions};
@@ -0,0 +1,6 @@
import{defaultConverter as t,notEqual as e}from"@lit/reactive-element/reactive-element.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),"accessor"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error("Unsupported decorator location: "+n)};function n(t){return(e,o)=>"object"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};
@@ -0,0 +1,7 @@
import{desc as t}from"@lit/reactive-element/decorators/base.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
let e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};
@@ -0,0 +1,6 @@
import{desc as t}from"@lit/reactive-element/decorators/base.js";
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/function o(o){return(e,n)=>{const{slot:r,selector:s}=o??{},c="slot"+(r?`[name=${r}]`:":not([name])");return t(e,n,{get(){const t=this.renderRoot?.querySelector(c),e=t?.assignedElements(o)??[];return void 0===s?e:e.filter((t=>t.matches(s)))}})}}export{o as queryAssignedElements};
@@ -0,0 +1,6 @@
import{desc as t}from"@lit/reactive-element/decorators/base.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/function n(n){return(o,r)=>{const{slot:e}=n??{},s="slot"+(e?`[name=${e}]`:":not([name])");return t(o,r,{get(){const t=this.renderRoot?.querySelector(s);return t?.assignedNodes(n)??[]}})}}export{n as queryAssignedNodes};
@@ -0,0 +1,7 @@
import{desc as t}from"@lit/reactive-element/decorators/base.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
function r(r){return(n,e)=>t(n,e,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}export{r as queryAsync};
@@ -0,0 +1,6 @@
import{desc as t}from"@lit/reactive-element/decorators/base.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}="object"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};
@@ -0,0 +1,6 @@
import{property as t}from"@lit/reactive-element/decorators/property.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};
@@ -0,0 +1,6 @@
!function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var i,n="__scoped";null!==(i=globalThis.reactiveElementPolyfillSupport)&&void 0!==i||(globalThis.reactiveElementPolyfillSupport=function(i){var t=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var o=t.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(o);var d=o.createRenderRoot;o.createRenderRoot=function(){var i,t,o,w=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(n)){this.constructor[n]=!0;var s=this.constructor.elementStyles.map((function(i){return i instanceof CSSStyleSheet?Array.from(i.cssRules).reduce((function(i,n){return i+n.cssText}),""):i.cssText}));null===(t=null===(i=window.ShadyCSS)||void 0===i?void 0:i.ScopingShim)||void 0===t||t.prepareAdoptedCssText(s,w),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),w)}return null!==(o=this.shadowRoot)&&void 0!==o?o:this.attachShadow(this.constructor.shadowRootOptions)};var w=o.connectedCallback;o.connectedCallback=function(){w.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var s=o._$AE;o._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),s.call(this,i)}}})}));
@@ -0,0 +1,6 @@
import{getCompatibleStyle as t,adoptStyles as s}from"@lit/reactive-element/css-tag.js";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from"@lit/reactive-element/css-tag.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:"",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.foLine truncated
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const r=(r,t)=>r===t||r.length===t.length&&r.every(((r,e)=>i(r,t[e]))),t=Object.prototype.valueOf,e=Object.prototype.toString,{keys:n}=Object,{isArray:f}=Array,i=(r,o)=>{if(Object.is(r,o))return!0;if(null!==r&&null!==o&&"object"==typeof r&&"object"==typeof o){if(r.constructor!==o.constructor)return!1;if(f(r))return r.length===o.length&&r.every(((r,t)=>i(r,o[t])));if(r.valueOf!==t)return r.valueOf()===o.valueOf();if(r.toString!==e)return r.toString()===o.toString();if(r instanceof Map&&o instanceof Map){if(r.size!==o.size)return!1;for(const[t,e]of r.entries())if(!1===i(e,o.get(t))||void 0===e&&!1===o.has(t))return!1;return!0}if(r instanceof Set&&o instanceof Set){if(r.size!==o.size)return!1;for(const t of r.keys())if(!1===o.has(t))return!1;return!0}if(r instanceof RegExp)return r.source===o.source&&r.flags===o.flags;const u=n(r);if(u.length!==n(o).length)return!1;for(const t of u)if(!o.hasOwnProperty(t)||!i(r[t],o[t]))return!1;return!0}return!1};export{r as deepArrayEquals,i as deepEquals};
@@ -0,0 +1 @@
export{Task,TaskStatus,initialState,shallowArrayEquals}from"@lit/task/task.js";
@@ -0,0 +1,6 @@
import{notEqual as t}from"@lit/reactive-element";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const s={INITIAL:0,PENDING:1,COMPLETE:2,ERROR:3},i=Symbol();class h{get taskComplete(){return this.t||(1===this.i?this.t=new Promise(((t,s)=>{this.o=t,this.h=s})):3===this.i?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(t,s,i){this.p=0,this.i=0,(this._=t).addController(this);const h="object"==typeof s?s:{task:s,args:i};this.v=h.task,this.j=h.args,this.m=h.argsEqual??r,this.k=h.onComplete,this.A=h.onError,this.autoRun=h.autoRun??!0,"initialValue"in h&&(this.u=h.initialValue,this.i=2,this.O=this.T?.())}hostUpdate(){!0===this.autoRun&&this.S()}hostUpdated(){"afterUpdate"===this.autoRun&&this.S()}T(){if(void 0===this.j)return;const t=this.j();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async S(){const t=this.T(),s=this.O;this.O=t,t===s||void 0===t||void 0!==s&&this.m(s,t)||await this.run(t)}async run(t){let s,h;t??=this.T(),this.O=t,1===this.i?this.q?.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,"afterUpdate"===this.autoRun?queueMicrotask((()=>this._.requestUpdate())):this._.requestUpdate();const r=++this.p;this.q=new AbortController;let e=!1;try{s=await this.v(t,{signal:this.q.signal})}catch(t){e=!0,h=t}if(this.p===r){if(s===i)this.i=0;else{if(!1===e){try{this.k?.(s)}catch{}this.i=2,this.o?.(s)}else{try{this.A?.(h)}catch{}this.i=3,this.h?.(h)}this.u=s,this.l=h}this._.requestUpdate()}}abort(t){1===this.i&&this.q?.abort(t)}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(t){switch(this.i){case 0:return t.initial?.();case 1:return t.pending?.();case 2:return t.complete?.(this.value);case 3:return t.error?.(this.error);default:throw Error("Unexpected status: "+this.i)}}}const r=(s,i)=>s===i||s.length===i.length&&s.every(((s,h)=>!t(s,i[h])));export{h as Task,s as TaskStatus,i as initialState,r as shallowArrayEquals};
@@ -0,0 +1,15 @@
This directory contains all packaged third-party frontend libraries needed
for the TYPO3 CMS Core. They are mostly managed via Grunt or have been adapted
to fit our needs.
Please make sure to never reference any file directly here, rather copy
a file needed in your own extension or reference it via JavaScript import
statments instead of using the Path to this Contrib/ directory.
Libraries not handled by bower/Grunt:
- bootstrap/bootstrap.js
Twitter Bootstrap 3 is not shipped as an AMD module, and has been adapted to be
wrapped as an AMD module called "bootstrap".
Benni, March 2015.
@@ -0,0 +1 @@
var d=new Map;function H(o){var n=d.get(o);n&&n.destroy()}function L(o){var n=d.get(o);n&&n.update()}var u=null;typeof window>"u"?((u=function(o){return o}).destroy=function(o){return o},u.update=function(o){return o}):((u=function(o,n){return o&&Array.prototype.forEach.call(o.length?o:[o],function(m){return function(e){if(e&&e.nodeName&&e.nodeName==="TEXTAREA"&&!d.has(e)){var c,y=null,t=window.getComputedStyle(e),g=(c=e.value,function(){v({testForHeightReduction:c===""||!e.value.startsWith(c),restoreTextAlign:null}),c=e.value}),p=function(a){e.removeEventListener("autosize:destroy",p),e.removeEventListener("autosize:update",i),e.removeEventListener("input",g),window.removeEventListener("resize",i),Object.keys(a).forEach(function(l){return e.style[l]=a[l]}),d.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",p),e.addEventListener("autosize:update",i),e.addEventListener("input",g),window.addEventListener("resize",i),e.style.overflowX="hidden",e.style.wordWrap="break-word",d.set(e,{destroy:p,update:i}),i()}function v(a){var l,s,w=a.restoreTextAlign,f=w===void 0?null:w,E=a.testForHeightReduction,b=E===void 0||E,T=t.overflowY;if(e.scrollHeight!==0&&(t.resize==="vertical"?e.style.resize="none":t.resize==="both"&&(e.style.resize="horizontal"),b&&(l=function(r){for(var z=[];r&&r.parentNode&&r.parentNode instanceof Element;)r.parentNode.scrollTop&&z.push([r.parentNode,r.parentNode.scrollTop]),r=r.parentNode;return function(){return z.forEach(function(A){var h=A[0],F=A[1];h.style.scrollBehavior="auto",h.scrollTop=F,h.style.scrollBehavior=null})}}(e),e.style.height=""),s=t.boxSizing==="content-box"?e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),t.maxHeight!=="none"&&s>parseFloat(t.maxHeight)?(t.overflowY==="hidden"&&(e.style.overflow="scroll"),s=parseFloat(t.maxHeight)):t.overflowY!=="hidden"&&(e.style.overflow="hidden"),e.style.height=s+"px",f&&(e.style.textAlign=f),l&&l(),y!==s&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),y=s),T!==t.overflow&&!f)){var x=t.textAlign;t.overflow==="hidden"&&(e.style.textAlign=x==="start"?"end":"start"),v({restoreTextAlign:x,testForHeightReduction:!0})}}function i(){v({testForHeightReduction:!0,restoreTextAlign:null})}}(m)}),o}).destroy=function(o){return o&&Array.prototype.forEach.call(o.length?o:[o],H),o},u.update=function(o){return o&&Array.prototype.forEach.call(o.length?o:[o],L),o});var N=u,W=N;export{W as default};
@@ -0,0 +1,10 @@
var se=(H,B)=>()=>(B||H((B={exports:{}}).exports,B),B.exports);var he=se((Bt,_t)=>{/*!
* Cropper.js v1.6.1
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2023-09-17T03:44:19.860Z
*/(function(H,B){typeof Bt=="object"&&typeof _t<"u"?_t.exports=B():typeof define=="function"&&define.amd?define(B):(H=typeof globalThis<"u"?globalThis:H||self,H.Cropper=B())})(Bt,function(){"use strict";function H(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(a);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(a,o).enumerable})),e.push.apply(e,i)}return e}function B(a){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?H(Object(e),!0).forEach(function(i){wi(a,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(e)):H(Object(e)).forEach(function(i){Object.defineProperty(a,i,Object.getOwnPropertyDescriptor(e,i))})}return a}function gt(a){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(a)}function mi(a,t){if(!(a instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(a,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,Yt(i.key),i)}}function vi(a,t,e){return t&&kt(a.prototype,t),e&&kt(a,e),Object.defineProperty(a,"prototype",{writable:!1}),a}function wi(a,t,e){return t=Yt(t),t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function Pt(a){return bi(a)||yi(a)||xi(a)||Di()}function bi(a){if(Array.isArray(a))return mt(a)}function yi(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function xi(a,t){if(a){if(typeof a=="string")return mt(a,t);var e=Object.prototype.toString.call(a).slice(8,-1);if(e==="Object"&&a.constructor&&(e=a.constructor.name),e==="Map"||e==="Set")return Array.from(a);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return mt(a,t)}}function mt(a,t){(t==null||t>a.length)&&(t=a.length);for(var e=0,i=new Array(t);e<t;e++)i[e]=a[e];return i}function Di(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ei(a,t){if(typeof a!="object"||a===null)return a;var e=a[Symbol.toPrimitive];if(e!==void 0){var i=e.call(a,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(a)}function Yt(a){var t=Ei(a,"string");return typeof t=="symbol"?t:String(t)}var lt=typeof window<"u"&&typeof window.document<"u",k=lt?window:{},vt=lt&&k.document.documentElement?"ontouchstart"in k.document.documentElement:!1,wt=lt?"PointerEvent"in k:!1,b="cropper",bt="all",Xt="crop",zt="move",Ht="zoom",G="e",$="w",Z="s",W="n",at="ne",rt="nw",nt="se",ot="sw",yt="".concat(b,"-crop"),Wt="".concat(b,"-disabled"),N="".concat(b,"-hidden"),Ut="".concat(b,"-hide"),Mi="".concat(b,"-invisible"),ft="".concat(b,"-modal"),xt="".concat(b,"-move"),st="".concat(b,"Action"),dt="".concat(b,"Preview"),Dt="crop",jt="move",Vt="none",Et="crop",Mt="cropend",Tt="cropmove",Ct="cropstart",Gt="dblclick",Ti=vt?"touchstart":"mousedown",Ci=vt?"touchmove":"mousemove",Oi=vt?"touchend touchcancel":"mouseup",$t=wt?"pointerdown":Ti,qt=wt?"pointermove":Ci,Ft=wt?"pointerup pointercancel":Oi,Kt="ready",Qt="resize",Zt="wheel",Ot="zoom",Jt="image/jpeg",Ni=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,Ai=/^data:/,Si=/^data:image\/jpeg;base64,/,Ri=/^img|canvas$/i,ti=200,ii=100,ei={viewMode:0,dragMode:Dt,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:ti,minContainerHeight:ii,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},Ii='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',Li=Number.isNaN||k.isNaN;function u(a){return typeof a=="number"&&!Li(a)}var ai=function(t){return t>0&&t<1/0};function Nt(a){return typeof a>"u"}function q(a){return gt(a)==="object"&&a!==null}var Bi=Object.prototype.hasOwnProperty;function J(a){if(!q(a))return!1;try{var t=a.constructor,e=t.prototype;return t&&e&&Bi.call(e,"isPrototypeOf")}catch{return!1}}function A(a){return typeof a=="function"}var _i=Array.prototype.slice;function ri(a){return Array.from?Array.from(a):_i.call(a)}function D(a,t){return a&&A(t)&&(Array.isArray(a)||u(a.length)?ri(a).forEach(function(e,i){t.call(a,e,i,a)}):q(a)&&Object.keys(a).forEach(function(e){t.call(a,a[e],e,a)})),a}var y=Object.assign||function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return q(t)&&i.length>0&&i.forEach(function(r){q(r)&&Object.keys(r).forEach(function(n){t[n]=r[n]})}),t},ki=/\.\d*(?:0|9){12}\d*$/;function tt(a){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return ki.test(a)?Math.round(a*t)/t:a}var Pi=/^width|height|left|top|marginLeft|marginTop$/;function U(a,t){var e=a.style;D(t,function(i,o){Pi.test(o)&&u(i)&&(i="".concat(i,"px")),e[o]=i})}function Yi(a,t){return a.classList?a.classList.contains(t):a.className.indexOf(t)>-1}function C(a,t){if(t){if(u(a.length)){D(a,function(i){C(i,t)});return}if(a.classList){a.classList.add(t);return}var e=a.className.trim();e?e.indexOf(t)<0&&(a.className="".concat(e," ").concat(t)):a.className=t}}function P(a,t){if(t){if(u(a.length)){D(a,function(e){P(e,t)});return}if(a.classList){a.classList.remove(t);return}a.className.indexOf(t)>=0&&(a.className=a.className.replace(t,""))}}function it(a,t,e){if(t){if(u(a.length)){D(a,function(i){it(i,t,e)});return}e?C(a,t):P(a,t)}}var Xi=/([a-z\d])([A-Z])/g;function At(a){return a.repl Line truncated
@@ -0,0 +1,12 @@
var Da=Object.create;var tr=Object.defineProperty;var Na=Object.getOwnPropertyDescriptor;var Oa=Object.getOwnPropertyNames;var za=Object.getPrototypeOf,Fa=Object.prototype.hasOwnProperty;var Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),x=(e,t)=>{for(var r in t)tr(e,r,{get:t[r],enumerable:!0})},Ra=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Oa(t))!Fa.call(e,i)&&i!==r&&tr(e,i,{get:()=>t[i],enumerable:!(n=Na(t,i))||n.enumerable});return e};var Ma=(e,t,r)=>(r=e!=null?Da(za(e)):{},Ra(t||!e||!e.__esModule?tr(r,"default",{value:e,enumerable:!0}):r,e));var bo=Oe(ur=>{var go="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");ur.encode=function(e){if(0<=e&&e<go.length)return go[e];throw new TypeError("Must be between 0 and 63: "+e)};ur.decode=function(e){var t=65,r=90,n=97,i=122,o=48,a=57,u=43,l=47,s=26,c=52;return t<=e&&e<=r?e-t:n<=e&&e<=i?e-n+s:o<=e&&e<=a?e-o+c:e==u?62:e==l?63:-1}});var vo=Oe(hr=>{var xo=bo(),pr=5,yo=1<<pr,ko=yo-1,wo=yo;function Qa(e){return e<0?(-e<<1)+1:(e<<1)+0}function Xa(e){var t=(e&1)===1,r=e>>1;return t?-r:r}hr.encode=function(t){var r="",n,i=Qa(t);do n=i&ko,i>>>=pr,i>0&&(n|=wo),r+=xo.encode(n);while(i>0);return r};hr.decode=function(t,r,n){var i=t.length,o=0,a=0,u,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=xo.decode(t.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));u=!!(l&wo),l&=ko,o=o+(l<<a),a+=pr}while(u);n.value=Xa(o),n.rest=r}});var Pt=Oe(K=>{function $a(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}K.getArg=$a;var So=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Za=/^data:.+\,.+$/;function it(e){var t=e.match(So);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}K.urlParse=it;function je(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}K.urlGenerate=je;var Ja=32;function el(e){var t=[];return function(r){for(var n=0;n<t.length;n++)if(t[n].input===r){var i=t[0];return t[0]=t[n],t[n]=i,t[0].result}var o=e(r);return t.unshift({input:r,result:o}),t.length>Ja&&t.pop(),o}}var mr=el(function(t){var r=t,n=it(t);if(n){if(!n.path)return t;r=n.path}for(var i=K.isAbsolute(r),o=[],a=0,u=0;;)if(a=u,u=r.indexOf("/",a),u===-1){o.push(r.slice(a));break}else for(o.push(r.slice(a,u));u<r.length&&r[u]==="/";)u++;for(var l,s=0,u=o.length-1;u>=0;u--)l=o[u],l==="."?o.splice(u,1):l===".."?s++:s>0&&(l===""?(o.splice(u+1,s),s=0):(o.splice(u,2),s--));return r=o.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,je(n)):r});K.normalize=mr;function Co(e,t){e===""&&(e="."),t===""&&(t=".");var r=it(t),n=it(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),je(r);if(r||t.match(Za))return t;if(n&&!n.host&&!n.path)return n.host=t,je(n);var i=t.charAt(0)==="/"?t:mr(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,je(n)):i}K.join=Co;K.isAbsolute=function(e){return e.charAt(0)==="/"||So.test(e)};function tl(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}K.relative=tl;var To=function(){var e=Object.create(null);return!("__proto__"in e)}();function Ao(e){return e}function rl(e){return Lo(e)?"$"+e:e}K.toSetString=To?Ao:rl;function nl(e){return Lo(e)?e.slice(1):e}K.fromSetString=To?Ao:nl;function Lo(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function il(e,t,r){var n=ye(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:ye(e.name,t.name)}K.compareByOriginalPositions=il;function ol(e,t,r){var n;return n=e.originalLine-t.originalLine,n!==0||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:ye(e.name,t.name)}K.compareByOriginalPositionsNoSource=ol;function sl(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=ye(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:ye(e.name,t.name)}K.compareByGeneratedPositionsDeflated=sl;function al(e,t,r){var n=e.generatedColumn-t.generatedColumn;return n!==0||r||(n=ye(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:ye(e.name,t.name)}K.compareByGeneratedPositionsDeflaLine truncated
`)}})}var sr=100,ao=60,lo=" ";function co({source:e,line:t,column:r,baseLine:n,baseColumn:i},o){function a(v,ee){return s.slice(v,ee).map((G,C)=>String(v+C+1).padStart(m)+" |"+G).join(`
`)}let u=`
`.repeat(Math.max(n-1,0)),l=" ".repeat(Math.max(i-1,0)),s=(u+l+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-o)-1,h=Math.min(t+o,s.length+1),m=Math.max(4,String(h).length)+1,f=0;r+=(lo.length-1)*(s[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>sr&&(f=r-ao+3,r=ao-2);for(let v=c;v<=h;v++)v>=0&&v<s.length&&(s[v]=s[v].replace(/\t/g,lo),s[v]=(f>0&&s[v].length>f?"\u2026":"")+s[v].substr(f,sr-2)+(s[v].length>f+sr-1?"\u2026":""));return[a(c,t),new Array(r+m+2).join("-")+"^",a(t,h)].filter(Boolean).join(`
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function ar(e,t,r,n,i,o=1,a=1){return Object.assign(Ee("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(l){return co({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(l)?0:l)},get formattedMessage(){return`Parse error: ${e}
`+co({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}function uo(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var po=()=>{},Ga=33,Ya=35,lr=59,ho=123,mo=0;function Va(e){return function(){return this[e]()}}function cr(e){let t=Object.create(null);for(let r of Object.keys(e)){let n=e[r],i=n.parse||n;i&&(t[r]=i)}return t}function Ka(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:cr(e.atrule),pseudo:cr(e.pseudo),node:cr(e.node)};for(let[r,n]of Object.entries(e.parseContext))switch(typeof n){case"function":t.context[r]=n;break;case"string":t.context[r]=Va(n);break}return{config:t,...t,...t.node}}function fo(e){let t="",r="<unknown>",n=!1,i=po,o=!1,a=new Et,u=Object.assign(new nt,Ka(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:uo,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(s){return s===ho?1:0},consumeUntilLeftCurlyBracketOrSemicolon(s){return s===ho||s===lr?1:0},consumeUntilExclamationMarkOrSemicolon(s){return s===Ga||s===lr?1:0},consumeUntilSemicolonIncluded(s){return s===lr?2:0},createList(){return new Z},createSingleNodeList(s){return new Z().appendData(s)},getFirstListNode(s){return s&&s.first},getLastListNode(s){return s&&s.last},parseWithFallback(s,c){let h=this.tokenIndex;try{return s.call(this)}catch(m){if(o)throw m;this.skip(h-this.tokenIndex);let f=c.call(this);return o=!0,i(m,f),o=!1,f}},lookupNonWSType(s){let c;do if(c=this.lookupType(s++),c!==13&&c!==25)return c;while(c!==mo);return mo},charCodeAt(s){return s>=0&&s<t.length?t.charCodeAt(s):0},substring(s,c){return t.substring(s,c)},substrToCursor(s){return this.source.substring(s,this.tokenStart)},cmpChar(s,c){return be(t,s,c)},cmpStr(s,c,h){return xe(t,s,c,h)},consume(s){let c=this.tokenStart;return this.eat(s),this.substrToCursor(c)},consumeFunctionName(){let s=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),s},consumeNumber(s){let c=t.substring(this.tokenStart,Le(t,this.tokenStart));return this.eat(s),c},eat(s){if(this.tokenType!==s){let c=Be[s].slice(0,-6).replace(/-/g," ").replace(/^./,f=>f.toUpperCase()),h=`${/[[\](){}]/.test(c)?`"${c}"`:c} is expected`,m=this.tokenStart;switch(s){case 1:this.tokenType===2||this.tokenType===7?(m=this.tokenEnd-1,h="Identifier is expected but function found"):h="Identifier is expected";break;case 4:this.isDelim(Ya)&&(this.next(),m++,h="Name is expected");break;case 11:this.tokenType===10&&(m=this.tokenEnd,h="Percent sign is expected");break}this.error(h,m)}this.next()},eatIdent(s){(this.tokenType!==1||this.lookupValue(0,s)===!1)&&this.error(`Identifier "${s}" is expected`),this.next()},eatDelim(s){this.isDelim(s)||this.error(`Delim "${String.fromCharCode(s)}" is expected`),this.next()},getLocation(s,c){return n?a.getLocationRange(s,c,r):null},getLocationFromList(s){if(n){let c=this.getFirstListNode(s),h=this.getLastListNode(s);return a.getLocationRange(c!==null?c.loc.start.offset-a.startOffset:this.tokenStart,h!==null?h.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(s,c){let h=typeof c<"u"&&c<t.length?a.getLocation(c):this.eof?a.getLocation(no(t,t.length-1)):a.getLocation(this.tokenStart);throw new ar(s||"Unexpected input",t,h.offset,h.line,h.column,a.startLine,a.startColumn)}});return Object.assign(function(s,c){t=s,c=c||{},u.setSource(t,Se),a.setSource(t,c.offset,c.line,c.column),r=c.filename||"<unknown>",n=!!c.positions,i=typeof c.onParseError=="function"?c.onParseError:po,o=!1,u.parseAtrulePrelude="parseAtrulePrelude"in c?!!c.parseAtrulePrelude:!0,u.parseRulePrelude="parseRulePrelude"in c?!!c.parseRulePrelude:!0,u.parseValue="parseValue"in c?!!c.parseValue:!0,u.parseCustomProperty="parseCustomProperty"in c?!!c.parseCustomProperty:!1;let{context:h="default",onComment:m}=c;if(!(h in u.context))throw new Error("Unknown context `"+h+"`");typeof m=="function"&&u.forEachToken((v,ee,G)=>{if(v===25){let C=u.getLocation(ee,G),M=xe(t,G-2,G,"*/")?t.slice(ee+2,G-2):t.slice(ee+2,G);m(M,C)}});let f=u.context[h].call(u,c);return u.eof||u.error(),f},{SyntaxError:ar,config:u.config})}var Ro=Ma(zo(),1),Fo=new Set(["Atrule","Selector","Declaration"]);function Mo(e){let t=new Ro.SourceMapGenerator,r={line:1,column:0},n={line:0,column:0},i={line:1,column:0},o={generated:i},a=1,u=0,l=!1,s=e.node;e.node=function(m){if(m.loc&&m.loc.start&&Fo.has(m.type)){let f=m.loc.start.line,v=m.loc.start.column-1;(n.line!==f||n.column!==v)&&(n.line=f,n.column=v,r.line=a,r.column=u,l&&(l=!1,(r.line!==i.line||r.column!==i.column)&&t.addMapping(o)),l=!0,t.addMapping({source:m.loc.source,original:n,generated:r}))}s.call(this,m),l&&Fo.has(m.type)&&(i.line= Line truncated
`,13,!0)},emit(l){i+=l},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=Mo(a)),n.mode in Nt&&(a.tokenBefore=Nt[n.mode]));let u={node:l=>a.node(l),children:xl,token:(l,s)=>a.token(l,s),tokenize:yl};return a.node(r),a.result()}}function jo(e){return{fromPlainObject(t){return e(t,{enter(r){r.children&&!(r.children instanceof Z)&&(r.children=new Z().fromArray(r.children))}}),t},toPlainObject(t){return e(t,{leave(r){r.children&&r.children instanceof Z&&(r.children=r.children.toArray())}}),t}}}var{hasOwnProperty:xr}=Object.prototype,st=function(){};function qo(e){return typeof e=="function"?e:st}function Uo(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function kl(e,t){let r=t.structure,n=[];for(let i in r){if(xr.call(r,i)===!1)continue;let o=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(let u of o)u===null?a.nullable=!0:typeof u=="string"?a.type="node":Array.isArray(u)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function wl(e){let t={};for(let r in e.node)if(xr.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=kl(r,n)}return t}function Ho(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,u,l){let s;i&&(s=a[n],a[n]=o);for(let c of r){let h=o[c.name];if(!c.nullable||h){if(c.type==="list"){if(t?h.reduceRight(l,!1):h.reduce(l,!1))return!0}else if(u(h))return!0}}i&&(a[n]=s)}}function Go({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function Yo(e){let t=wl(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let s in t)xr.call(t,s)&&t[s]!==null&&(r[s]=Ho(t[s],!1),n[s]=Ho(t[s],!0));let a=Go(r),u=Go(n),l=function(s,c){function h(C,M,ve){let z=m.call(G,C,M,ve);return z===i?!0:z===o?!1:!!(v.hasOwnProperty(C.type)&&v[C.type](C,G,h,ee)||f.call(G,C,M,ve)===i)}let m=st,f=st,v=r,ee=(C,M,ve,z)=>C||h(M,ve,z),G={break:i,skip:o,root:s,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c=="function")m=c;else if(c&&(m=qo(c.enter),f=qo(c.leave),c.reverse&&(v=n),c.visit)){if(a.hasOwnProperty(c.visit))v=c.reverse?u[c.visit]:a[c.visit];else if(!t.hasOwnProperty(c.visit))throw new Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");m=Uo(m,c.visit),f=Uo(f,c.visit)}if(m===st&&f===st)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");h(s)};return l.break=i,l.skip=o,l.find=function(s,c){let h=null;return l(s,function(m,f,v){if(c.call(this,m,f,v))return h=m,i}),h},l.findLast=function(s,c){let h=null;return l(s,{reverse:!0,enter(m,f,v){if(c.call(this,m,f,v))return h=m,i}}),h},l.findAll=function(s,c){let h=[];return l(s,function(m,f,v){c.call(this,m,f,v)&&h.push(m)}),h},l}function vl(e){return e}function Sl(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function Cl(e){switch(e.type){case"Range":return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function Tl(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>yr(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function yr(e,t,r,n){let i;switch(e.type){case"Group":i=Tl(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return yr(e.term,t,r,n)+t(Sl(e),e);case"Type":i="<"+e.name+(e.opts?t(Cl(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Ie(e,t){let r=vl,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),yr(e,r,n,i)}var Vo={offset:0,line:1,column:1};function Al(e,t){let r=e.tokens,n=e.longestMatch,i=n<r.length&&r[n].node||null,o=i!==t?i:null,a=0,u=0,l=0,s="",c,h;for(let m=0;m<r.length;m++){let f=r[m].value;m===n&&(u=f.length,a=s.length),o!==null&&r[m].node===o&&(m<=n?l++:l=0),s+=f}return n===r.length||l>1?(c=Ot(o||t,"end")||at(Vo,s),h=at(c)):(c=Ot(o,"start")||at(Ot(t,"start")||Vo,s.slice(0,a)),h=Ot(o,"end")||at(c,s.substr(a,u))),{css:s,mismatchOffset:a,mismatchLength:u,start:c,end:h}}function Ot(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?at(r):r:null}function at({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let o=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+ Line truncated
syntax: `+i.syntax+`
value: `+(o||"<empty string>")+`
--------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:l,end:s},i};var zt=new Map,Ue=new Map,Ft=45,Rt=Ll,kr=El,$f=wr;function Mt(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Ft&&e.charCodeAt(t+1)===Ft}function wr(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Ft&&e.charCodeAt(t+1)!==Ft){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function Ll(e){if(zt.has(e))return zt.get(e);let t=e.toLowerCase(),r=zt.get(t);if(r===void 0){let n=Mt(t,0),i=n?"":wr(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return zt.set(e,r),r}function El(e){if(Ue.has(e))return Ue.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=Mt(t,r.length);if(!n&&(t=t.toLowerCase(),Ue.has(t))){let u=Ue.get(t);return Ue.set(e,u),u}let i=n?"":wr(t,r.length),o=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(r.length),hack:r,vendor:i,prefix:o,custom:n});return Ue.set(e,a),a}var He=["initial","inherit","unset","revert","revert-layer"];var ct=43,fe=45,vr=110,Ge=!0,Il=!1;function Cr(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function lt(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function Ce(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===ct||i===fe){if(r)return 0;t++}for(;t<e.value.length;t++)if(!j(e.value.charCodeAt(t)))return 0;return n+1}function Sr(e,t,r){let n=!1,i=lt(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(Cr(e,ct)||Cr(e,fe)){if(n=!0,i=lt(r(++i),i,r),e=r(i),e===null||e.type!==10)return 0}else return t;if(!n){let o=e.value.charCodeAt(0);if(o!==ct&&o!==fe)return 0}return Ce(e,n?0:1,n,i)}function Tr(e,t){let r=0;if(!e)return 0;if(e.type===10)return Ce(e,0,Il,r);if(e.type===1&&e.value.charCodeAt(0)===fe){if(!be(e.value,1,vr))return 0;switch(e.value.length){case 2:return Sr(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==fe?0:(r=lt(t(++r),r,t),e=t(r),Ce(e,0,Ge,r));default:return e.value.charCodeAt(2)!==fe?0:Ce(e,3,Ge,r)}}else if(e.type===1||Cr(e,ct)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!be(e.value,0,vr))return 0;switch(e.value.length){case 1:return Sr(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==fe?0:(r=lt(t(++r),r,t),e=t(r),Ce(e,0,Ge,r));default:return e.value.charCodeAt(1)!==fe?0:Ce(e,2,Ge,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===ct||n===fe?1:0,o=i;for(;o<e.value.length&&j(e.value.charCodeAt(o));o++);return o===i||!be(e.value,o,vr)?0:o+1===e.value.length?Sr(t(++r),r,t):e.value.charCodeAt(o+1)!==fe?0:o+2===e.value.length?(r=lt(t(++r),r,t),e=t(r),Ce(e,0,Ge,r)):Ce(e,o+2,Ge,r)}return 0}var Dl=43,Qo=45,Xo=63,Nl=117;function Ar(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Ol(e,t){return e.value.charCodeAt(0)===t}function ut(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===Qo&&r&&n!==0)return ut(e,t+n+1,!1),6;if(!te(o)||++n>6)return 0}return n}function Bt(e,t,r){if(!e)return 0;for(;Ar(r(t),Xo);){if(++e>6)return 0;t++}return t}function Lr(e,t){let r=0;if(e===null||e.type!==1||!be(e.value,0,Nl)||(e=t(++r),e===null))return 0;if(Ar(e,Dl))return e=t(++r),e===null?0:e.type===1?Bt(ut(e,0,!0),++r,t):Ar(e,Xo)?Bt(1,++r,t):0;if(e.type===10){let n=ut(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!Ol(e,Qo)||!ut(e,1,!1)?0:r+1:Bt(n,r,t))}return e.type===12?Bt(ut(e,1,!0),++r,t):0}var zl=["calc(","-moz-calc(","-webkit-calc("],Er=new Map([[2,22],[21,22],[19,20],[23,24]]);function ce(e,t){return t<e.length?e.charCodeAt(t):0}function $o(e,t){return xe(e,0,e.length,t)}function Zo(e,t){for(let r=0;r<t.length;r++)if($o(e,t[r]))return!0;return!1}function Jo(e,t){return t!==e.length-2?!1:ce(e,t)===92&&j(ce(e,t+1))}function _t(e,t,r){if(e&&e.type==="Range"){let n=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||e.min!==null&&n<e.min&&typeof e.min!="string"||e.max!==null&&n>e.max&&typeof e.max!="string")return!0}return!1}function Fl(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case 2:case 21:case 19:case 23:n.push(r),r=Er.get(e.type);break}i++}while(e=t(i));return i}function se(e){return function(t,r,n){return t===null?0:t.type===2&&Zo(t.value,zl)?Fl(t,r):e(t,r,n)}}function O(e){return function(t){return t===null||t.type!==e?0:1}}function Rl(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return Zo(t,He)||$o(t,"default")?0:1}function es(e){return e===null||e.type!==1||ce(e.value,0)!==45||ce(e.value,1)!==45?0:1}function Ml(e){return!es(e)||e.value==="--"?0:1}function Bl(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r<t;r++)if(!te(ce(e.value,r)))return 0;return 1}function _l(e){return e===null||e.type!==4||!Fe(ce(e.value,1),ce(e.value,2),ce(e.value,3))?0:1}function Wl(e,t) Line truncated
`+t+`
--`+new Array((r||t.length)+1).join("-")+"^"})}var rc=9,nc=10,ic=12,oc=13,sc=32,qt=class{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(t){for(;t<this.str.length;t++){let r=this.str.charCodeAt(t);if(r!==oc&&r!==nc&&r!==ic&&r!==sc&&r!==rc)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new jt(t,this.str,this.pos)}};var ac=9,lc=10,cc=12,uc=13,pc=32,us=33,Dr=35,ns=38,Ut=39,ps=40,hc=41,hs=42,Nr=43,Or=44,is=45,zr=60,ms=62,Ir=63,mc=64,Vt=91,Fr=93,Ht=123,os=124,ss=125,as=8734,pt=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),ls={" ":1,"&&":2,"||":3,"|":4};function Gt(e){return e.substringToPos(e.findWsEnd(e.pos))}function Ye(e){let t=e.pos;for(;t<e.str.length;t++){let r=e.str.charCodeAt(t);if(r>=128||pt[r]===0)break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function Yt(e){let t=e.pos;for(;t<e.str.length;t++){let r=e.str.charCodeAt(t);if(r<48||r>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function fc(e){let t=e.str.indexOf("'",e.pos+1);return t===-1&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function cs(e){let t=null,r=null;return e.eat(Ht),e.skipWs(),t=Yt(e),e.skipWs(),e.charCode()===Or?(e.pos++,e.skipWs(),e.charCode()!==ss&&(r=Yt(e),e.skipWs())):r=t,e.eat(ss),{min:Number(t),max:r?Number(r):0}}function dc(e){let t=null,r=!1;switch(e.charCode()){case hs:e.pos++,t={min:0,max:0};break;case Nr:e.pos++,t={min:1,max:0};break;case Ir:e.pos++,t={min:0,max:1};break;case Dr:e.pos++,r=!0,e.charCode()===Ht?t=cs(e):e.charCode()===Ir?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Ht:t=cs(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function Ve(e,t){let r=dc(e);return r!==null?(r.term=t,e.charCode()===Dr&&e.charCodeAt(e.pos-1)===Nr?Ve(e,r):r):t}function Pr(e){let t=e.peek();return t===""?null:{type:"Token",value:t}}function gc(e){let t;return e.eat(zr),e.eat(Ut),t=Ye(e),e.eat(Ut),e.eat(ms),Ve(e,{type:"Property",name:t})}function bc(e){let t=null,r=null,n=1;return e.eat(Vt),e.charCode()===is&&(e.peek(),n=-1),n==-1&&e.charCode()===as?e.peek():(t=n*Number(Yt(e)),pt[e.charCode()]!==0&&(t+=Ye(e))),Gt(e),e.eat(Or),Gt(e),e.charCode()===as?e.peek():(n=1,e.charCode()===is&&(e.peek(),n=-1),r=n*Number(Yt(e)),pt[e.charCode()]!==0&&(r+=Ye(e))),e.eat(Fr),{type:"Range",min:t,max:r}}function xc(e){let t,r=null;return e.eat(zr),t=Ye(e),e.charCode()===ps&&e.nextCharCode()===hc&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Vt&&(Gt(e),r=bc(e)),e.eat(ms),Ve(e,{type:"Type",name:t,opts:r})}function yc(e){let t=Ye(e);return e.charCode()===ps?(e.pos++,{type:"Function",name:t}):Ve(e,{type:"Keyword",name:t})}function kc(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>ls[i]-ls[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function fs(e){let t=[],r={},n,i=null,o=e.pos;for(;n=vc(e);)n.type!=="Spaces"&&(n.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[n.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(n),i=n,o=e.pos);return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:kc(t,r)||" ",disallowEmpty:!1,explicit:!1}}function wc(e){let t;return e.eat(Vt),t=fs(e),e.eat(Fr),t.explicit=!0,e.charCode()===us&&(e.pos++,t.disallowEmpty=!0),t}function vc(e){let t=e.charCode();if(t<128&&pt[t]===1)return yc(e);switch(t){case Fr:break;case Vt:return Ve(e,wc(e));case zr:return e.nextCharCode()===Ut?gc(e):xc(e);case os:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===os?2:1))};case ns:return e.pos++,e.eat(ns),{type:"Combinator",value:"&&"};case Or:return e.pos++,{type:"Comma"};case Ut:return Ve(e,{type:"String",value:fc(e)});case pc:case ac:case lc:case uc:case cc:return{type:"Spaces",value:Gt(e)};case mc:return t=e.nextCharCode(),t<128&&pt[t]===1?(e.pos++,{type:"AtKeyword",name:Ye(e)}):Pr(e);case hs:case Nr:case Ir:case Dr:case us:break;case Ht:if(t=e.nextCharCode(),t<48||t>57)return Pr(e);break;default:return Pr(e)}}function Ke(e){let t=new qt(e),r=fs(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type=== Line truncated
@@ -0,0 +1,3 @@
/*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */function Mt(n,o){(o==null||o>n.length)&&(o=n.length);for(var s=0,l=Array(o);s<o;s++)l[s]=n[s];return l}function Nn(n){if(Array.isArray(n))return n}function In(n,o){var s=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s!=null){var l,u,m,N,re=[],w=!0,ie=!1;try{if(m=(s=s.call(n)).next,o!==0)for(;!(w=(l=m.call(s)).done)&&(re.push(l.value),re.length!==o);w=!0);}catch(Ie){ie=!0,u=Ie}finally{try{if(!w&&s.return!=null&&(N=s.return(),Object(N)!==N))return}finally{if(ie)throw u}}return re}}function Dn(){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 Ln(n,o){return Nn(n)||In(n,o)||wn(n,o)||Dn()}function wn(n,o){if(n){if(typeof n=="string")return Mt(n,o);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?Mt(n,o):void 0}}const Pt=Object.entries,xt=Object.setPrototypeOf,Cn=Object.isFrozen,Mn=Object.getPrototypeOf,Pn=Object.getOwnPropertyDescriptor;let b=Object.freeze,O=Object.seal,ne=Object.create,kt=typeof Reflect<"u"&&Reflect,Ve=kt.apply,qe=kt.construct;b||(b=function(o){return o}),O||(O=function(o){return o}),Ve||(Ve=function(o,s){for(var l=arguments.length,u=new Array(l>2?l-2:0),m=2;m<l;m++)u[m-2]=arguments[m];return o.apply(s,u)}),qe||(qe=function(o){for(var s=arguments.length,l=new Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];return new o(...l)});const me=A(Array.prototype.forEach),xn=A(Array.prototype.lastIndexOf),vt=A(Array.prototype.pop),oe=A(Array.prototype.push),kn=A(Array.prototype.splice),W=Array.isArray,de=A(String.prototype.toLowerCase),Ke=A(String.prototype.toString),Ut=A(String.prototype.match),Te=A(String.prototype.replace),Ft=A(String.prototype.indexOf),vn=A(String.prototype.trim),Un=A(Number.prototype.toString),Fn=A(Boolean.prototype.toString),zt=typeof BigInt>"u"?null:A(BigInt.prototype.toString),Ht=typeof Symbol>"u"?null:A(Symbol.prototype.toString),S=A(Object.prototype.hasOwnProperty),_e=A(Object.prototype.toString),R=A(RegExp.prototype.test),q=zn(TypeError);function A(n){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var s=arguments.length,l=new Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];return Ve(n,o,l)}}function zn(n){return function(){for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];return qe(n,s)}}function f(n,o){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de;if(xt&&xt(n,null),!W(o))return n;let l=o.length;for(;l--;){let u=o[l];if(typeof u=="string"){const m=s(u);m!==u&&(Cn(o)||(o[l]=m),u=m)}n[u]=!0}return n}function Hn(n){for(let o=0;o<n.length;o++)S(n,o)||(n[o]=null);return n}function D(n){const o=ne(null);for(const l of Pt(n)){var s=Ln(l,2);const u=s[0],m=s[1];S(n,u)&&(W(m)?o[u]=Hn(m):m&&typeof m=="object"&&m.constructor===Object?o[u]=D(m):o[u]=m)}return o}function Gn(n){switch(typeof n){case"string":return n;case"number":return Un(n);case"boolean":return Fn(n);case"bigint":return zt?zt(n):"0";case"symbol":return Ht?Ht(n):"Symbol()";case"undefined":return _e(n);case"function":case"object":{if(n===null)return _e(n);const o=n,s=v(o,"toString");if(typeof s=="function"){const l=s(o);return typeof l=="string"?l:_e(l)}return _e(n)}default:return _e(n)}}function v(n,o){for(;n!==null;){const l=Pn(n,o);if(l){if(l.get)return A(l.get);if(typeof l.value=="function")return A(l.value)}n=Mn(n)}function s(){return null}return s}function Bn(n){try{return R(n,""),!0}catch{return!1}}const Gt=b(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ze=b(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Je=b(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Wn=b(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Q Line truncated
`+E),G&&(E=be(E)),L&&Ae?K(E):E},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ye(i),Me=!0,Pe=d,xe=T},o.clearConfig=function(){ee=null,Me=!1,Pe=null,xe=null,L=Le,$=""},o.isValidAttribute=function(i,e,t){ee||Ye({});const r=h(i),a=h(e);return Lt(r,a,t)},o.addHook=function(i,e){typeof e=="function"&&S(g,i)&&oe(g[i],e)},o.removeHook=function(i,e){if(S(g,i)){if(e!==void 0){const t=xn(g[i],e);return t===-1?void 0:kn(g[i],t,1)[0]}return vt(g[i])}},o.removeHooks=function(i){S(g,i)&&(g[i]=[])},o.removeAllHooks=function(){g=Xt()},o}var io=Vt();export{io as default};
@@ -0,0 +1,5 @@
var me=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],R={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(a){return typeof console<"u"&&console.warn(a)},getWeek:function(a){var r=new Date(a.getTime());r.setHours(0,0,0,0),r.setDate(r.getDate()+3-(r.getDay()+6)%7);var e=new Date(r.getFullYear(),0,4);return 1+Math.round(((r.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1};var ge={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(a){var r=a%100;if(r>3&&r<21)return"th";switch(r%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},pe=ge;var k=function(a,r){return r===void 0&&(r=2),("000"+a).slice(r*-1)},I=function(a){return a===!0?1:0};function _e(a,r){var e;return function(){var g=this,h=arguments;clearTimeout(e),e=setTimeout(function(){return a.apply(g,h)},r)}}var he=function(a){return a instanceof Array?a:[a]};function T(a,r,e){if(e===!0)return a.classList.add(r);a.classList.remove(r)}function v(a,r,e){var g=window.document.createElement(a);return r=r||"",e=e||"",g.className=r,e!==void 0&&(g.textContent=e),g}function te(a){for(;a.firstChild;)a.removeChild(a.firstChild)}function Oe(a,r){if(r(a))return a;if(a.parentNode)return Oe(a.parentNode,r)}function ae(a,r){var e=v("div","numInputWrapper"),g=v("input","numInput "+a),h=v("span","arrowUp"),m=v("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?g.type="number":(g.type="text",g.pattern="\\d*"),r!==void 0)for(var w in r)g.setAttribute(w,r[w]);return e.appendChild(g),e.appendChild(h),e.appendChild(m),e}function _(a){try{if(typeof a.composedPath=="function"){var r=a.composedPath();return r[0]}return a.target}catch{return a.target}}var Fe=function(){},ie=function(a,r,e){return e.months[r?"shorthand":"longhand"][a]},Ve={D:Fe,F:function(a,r,e){a.setMonth(e.months.longhand.indexOf(r))},G:function(a,r){a.setHours((a.getHours()>=12?12:0)+parseFloat(r))},H:function(a,r){a.setHours(parseFloat(r))},J:function(a,r){a.setDate(parseFloat(r))},K:function(a,r,e){a.setHours(a.getHours()%12+12*I(new RegExp(e.amPM[1],"i").test(r)))},M:function(a,r,e){a.setMonth(e.months.shorthand.indexOf(r))},S:function(a,r){a.setSeconds(parseFloat(r))},U:function(a,r){return new Date(parseFloat(r)*1e3)},W:function(a,r,e){var g=parseInt(r),h=new Date(a.getFullYear(),0,2+(g-1)*7,0,0,0,0);return h.setDate(h.getDate()-h.getDay()+e.firstDayOfWeek),h},Y:function(a,r){a.setFullYear(parseFloat(r))},Z:function(a,r){return new Date(r)},d:function(a,r){a.setDate(parseFloat(r))},h:function(a,r){a.setHours((a.getHours()>=12?12:0)+parseFloat(r))},i:function(a,r){a.setMinutes(parseFloat(r))},j:function(a,r){a.setDate(parseFloat(r))},l:Fe,m:function(a,r){a.setMonth(parseFloat(r)-1)},n:function(a,r){a.setMonth(parseFloat(r)-1)},s:function(a,r){a.setSeconds(parseFloat(r))},u:function(a,r){return new Date(parseFloat(r))},w:Fe,y:function(a,r){a.setFullYear(2e3+parseFloat(r))}},L={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",JLine truncated
<span class='flatpickr-weekday'>
`+t.join("</span><span class='flatpickr-weekday'>")+`
</span>
`}}function nn(){e.calendarContainer.classList.add("hasWeeks");var n=v("div","flatpickr-weekwrapper");n.appendChild(v("span","flatpickr-weekday",e.l10n.weekAbbreviation));var t=v("div","flatpickr-weeks");return n.appendChild(t),{weekWrapper:n,weekNumbers:t}}function ye(n,t){t===void 0&&(t=!0);var i=t?n:n-e.currentMonth;i<0&&e._hidePrevMonthArrow===!0||i>0&&e._hideNextMonthArrow===!0||(e.currentMonth+=i,(e.currentMonth<0||e.currentMonth>11)&&(e.currentYear+=e.currentMonth>11?1:-1,e.currentMonth=(e.currentMonth+12)%12,b("onYearChange"),z()),oe(),b("onMonthChange"),de())}function tn(n,t){if(n===void 0&&(n=!0),t===void 0&&(t=!0),e.input.value="",e.altInput!==void 0&&(e.altInput.value=""),e.mobileInput!==void 0&&(e.mobileInput.value=""),e.selectedDates=[],e.latestSelectedDateObj=void 0,t===!0&&(e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth()),e.config.enableTime===!0){var i=Me(e.config),o=i.hours,l=i.minutes,f=i.seconds;Y(o,l,f)}e.redraw(),n&&b("onChange")}function an(){e.isOpen=!1,e.isMobile||(e.calendarContainer!==void 0&&e.calendarContainer.classList.remove("open"),e._input!==void 0&&e._input.classList.remove("active")),b("onClose")}function rn(){e.config!==void 0&&b("onDestroy");for(var n=e._handlers.length;n--;)e._handlers[n].remove();if(e._handlers=[],e.mobileInput)e.mobileInput.parentNode&&e.mobileInput.parentNode.removeChild(e.mobileInput),e.mobileInput=void 0;else if(e.calendarContainer&&e.calendarContainer.parentNode)if(e.config.static&&e.calendarContainer.parentNode){var t=e.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else e.calendarContainer.parentNode.removeChild(e.calendarContainer);e.altInput&&(e.input.type="text",e.altInput.parentNode&&e.altInput.parentNode.removeChild(e.altInput),delete e.altInput),e.input&&(e.input.type=e.input._type,e.input.classList.remove("flatpickr-input"),e.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(i){try{delete e[i]}catch{}})}function ee(n){return e.calendarContainer.contains(n)}function xe(n){if(e.isOpen&&!e.config.inline){var t=_(n),i=ee(t),o=t===e.input||t===e.altInput||e.element.contains(t)||n.path&&n.path.indexOf&&(~n.path.indexOf(e.input)||~n.path.indexOf(e.altInput)),l=!o&&!i&&!ee(n.relatedTarget),f=!e.config.ignoredFocusElements.some(function(d){return d.contains(t)});l&&f&&(e.config.allowInput&&e.setDate(e._input.value,!1,e.config.altInput?e.config.altFormat:e.config.dateFormat),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0&&e.input.value!==""&&e.input.value!==void 0&&E(),e.close(),e.config&&e.config.mode==="range"&&e.selectedDates.length===1&&e.clear(!1))}}function le(n){if(!(!n||e.config.minDate&&n<e.config.minDate.getFullYear()||e.config.maxDate&&n>e.config.maxDate.getFullYear())){var t=n,i=e.currentYear!==t;e.currentYear=t||e.currentYear,e.config.maxDate&&e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth=Math.min(e.config.maxDate.getMonth(),e.currentMonth):e.config.minDate&&e.currentYear===e.config.minDate.getFullYear()&&(e.currentMonth=Math.max(e.config.minDate.getMonth(),e.currentMonth)),i&&(e.redraw(),b("onYearChange"),z())}}function J(n,t){var i;t===void 0&&(t=!0);var o=e.parseDate(n,void 0,t);if(e.config.minDate&&o&&O(o,e.config.minDate,t!==void 0?t:!e.minDateHasTime)<0||e.config.maxDate&&o&&O(o,e.config.maxDate,t!==void 0?t:!e.maxDateHasTime)>0)return!1;if(!e.config.enable&&e.config.disable.length===0)return!0;if(o===void 0)return!1;for(var l=!!e.config.enable,f=(i=e.config.enable)!==null&&i!==void 0?i:e.config.disable,d=0,s=void 0;d<f.length;d++){if(s=f[d],typeof s=="function"&&s(o))return l;if(s instanceof Date&&o!==void 0&&s.getTime()===o.getTime())return l;if(typeof s=="string"){var p=e.parseDate(s,void 0,!0);return p&&p.getTime()===o.getTime()?l:!l}else if(typeof s=="object"&&o!==void 0&&s.from&&s.to&&o.getTime()>=s.from.getTime()&&o.getTime()<=s.to.getTime())return l}return!l}function fe(n){return e.daysContainer!==void 0?n.className.indexOf("hidden")===-1&&n.className.indexOf("flatpickr-disabled")===-1&&e.daysContainer.contains(n):!1}function on(n){var t=n.target===e._input,i=e._input.value.trimEnd()!==Se();t&&i&&!(n.relatedTarget&&ee(n.relatedTarget))&&e.setDate(e._input.value,!0,n.target===e.altInput?e.config.altFormat:e.config.dateFormat)}function He(n){var t=_(n),i=e.config.wrap?a.contains(t):t===e._input,o=e.config.allowInpu Line truncated
@@ -0,0 +1 @@
var we=typeof window<"u"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},o={weekdays:{shorthand:["\u0623\u062D\u062F","\u0627\u062B\u0646\u064A\u0646","\u062B\u0644\u0627\u062B\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062E\u0645\u064A\u0633","\u062C\u0645\u0639\u0629","\u0633\u0628\u062A"],longhand:["\u0627\u0644\u0623\u062D\u062F","\u0627\u0644\u0627\u062B\u0646\u064A\u0646","\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062E\u0645\u064A\u0633","\u0627\u0644\u062C\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062A"]},months:{shorthand:["1","2","3","4","5","6","7","8","9","10","11","12"],longhand:["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"]},firstDayOfWeek:6,rangeSeparator:" \u0625\u0644\u0649 ",weekAbbreviation:"Wk",scrollTitle:"\u0642\u0645 \u0628\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0644\u0632\u064A\u0627\u062F\u0629",toggleTitle:"\u0627\u0636\u063A\u0637 \u0644\u0644\u062A\u0628\u062F\u064A\u0644",amPM:["\u0635","\u0645"],yearAriaLabel:"\u0633\u0646\u0629",monthAriaLabel:"\u0634\u0647\u0631",hourAriaLabel:"\u0633\u0627\u0639\u0629",minuteAriaLabel:"\u062F\u0642\u064A\u0642\u0629",time_24hr:!1};we.l10ns.ar=o;var Aa=we.l10ns;var me=typeof window<"u"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},i={weekdays:{shorthand:["So","Mo","Di","Mi","Do","Fr","Sa"],longhand:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},months:{shorthand:["J\xE4n","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],longhand:["J\xE4nner","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},firstDayOfWeek:1,weekAbbreviation:"KW",rangeSeparator:" bis ",scrollTitle:"Zum \xC4ndern scrollen",toggleTitle:"Zum Umschalten klicken",time_24hr:!0};me.l10ns.at=i;var Ta=me.l10ns;var ke=typeof window<"u"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},d={weekdays:{shorthand:["B.","B.e.","\xC7.a.","\xC7.","C.a.","C.","\u015E."],longhand:["Bazar","Bazar ert\u0259si","\xC7\u0259r\u015F\u0259nb\u0259 ax\u015Fam\u0131","\xC7\u0259r\u015F\u0259nb\u0259","C\xFCm\u0259 ax\u015Fam\u0131","C\xFCm\u0259","\u015E\u0259nb\u0259"]},months:{shorthand:["Yan","Fev","Mar","Apr","May","\u0130yn","\u0130yl","Avq","Sen","Okt","Noy","Dek"],longhand:["Yanvar","Fevral","Mart","Aprel","May","\u0130yun","\u0130yul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"]},firstDayOfWeek:1,ordinal:function(){return"."},rangeSeparator:" - ",weekAbbreviation:"Hf",scrollTitle:"Art\u0131rmaq \xFC\xE7\xFCn s\xFCr\xFC\u015Fd\xFCr\xFCn",toggleTitle:"A\xE7 / Ba\u011Fla",amPM:["G\u018F","GS"],time_24hr:!0};ke.l10ns.az=d;var Ja=ke.l10ns;var ge=typeof window<"u"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},l={weekdays:{shorthand:["\u041D\u0434","\u041F\u043D","\u0410\u045E","\u0421\u0440","\u0427\u0446","\u041F\u0442","\u0421\u0431"],longhand:["\u041D\u044F\u0434\u0437\u0435\u043B\u044F","\u041F\u0430\u043D\u044F\u0434\u0437\u0435\u043B\u0430\u043A","\u0410\u045E\u0442\u043E\u0440\u0430\u043A","\u0421\u0435\u0440\u0430\u0434\u0430","\u0427\u0430\u0446\u0432\u0435\u0440","\u041F\u044F\u0442\u043D\u0456\u0446\u0430","\u0421\u0443\u0431\u043E\u0442\u0430"]},months:{shorthand:["\u0421\u0442\u0443","\u041B\u044E\u0442","\u0421\u0430\u043A","\u041A\u0440\u0430","\u0422\u0440\u0430","\u0427\u044D\u0440","\u041B\u0456\u043F","\u0416\u043D\u0456","\u0412\u0435\u0440","\u041A\u0430\u0441","\u041B\u0456\u0441","\u0421\u043D\u0435"],longhand:["\u0421\u0442\u0443\u0434\u0437\u0435\u043D\u044C","\u041B\u044E\u0442\u044B","\u0421\u0430\u043A\u0430\u0432\u0456\u043A","\u041A\u0440\u0430\u0441\u0430\u0432\u0456\u043A","\u0422\u0440\u0430\u0432\u0435\u043D\u044C","\u0427\u044D\u0440\u0432\u0435\u043D\u044C","\u041B\u0456\u043F\u0435\u043D\u044C","\u0416\u043D\u0456\u0432\u0435\u043D\u044C","\u0412\u0435\u0440\u0430\u0441\u0435\u043D\u044C","\u041A\u0430\u0441\u0442\u0440\u044B\u0447\u043D\u0456\u043A","\u041B\u0456\u0441\u0442\u0430\u043F\u0430\u0434","\u0421\u043D\u0435\u0436\u0430\u043D\u044C"]},firstDayOfWeek:1,ordinal:function(){return""},rangeSeparator:" \u2014 ",weekAbbreviation:"\u0422\u044B\u0434.",scrollTitle:"\u041F\u0440\u0430\u043A\u0440\u0443\u0446\u0456\u0446\u0435 \u0434\u043B\u044F \u043F\u0430\u0432\u0435\u043B\u0456\u0447\u044D\u043D\u043D\u044F",toggleTitle:"\u041D\u0430\u0446\u0456\u0441\u043D\u0456\u0446\u0435 \u0434\u043B\u044F \u043F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u044F",amPM:["\u0414\u041F","\u041F\u041F"],yearAriaLabel:"\u0413\u043E\u0434",time_24hr:!0};ge.l10ns.be=l;vaLine truncated
@@ -0,0 +1,7 @@
var Bi=(H,j)=>()=>(j||H((j={exports:{}}).exports,j),j.exports);var Yi=Bi((Lr,En)=>{(function(H){typeof Lr=="object"&&typeof En<"u"?En.exports=H():typeof define=="function"&&define.amd?define([],H):(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).interact=H()})(function(){var H={};Object.defineProperty(H,"__esModule",{value:!0}),H.default=void 0,H.default=function(e){return!(!e||!e.Window)&&e instanceof e.Window};var j={};Object.defineProperty(j,"__esModule",{value:!0}),j.getWindow=function(e){return(0,H.default)(e)?e:(e.ownerDocument||e).defaultView||Rt.window},j.init=Tn,j.window=j.realWindow=void 0;var Sn=void 0;j.realWindow=Sn;var Rt=void 0;function Tn(e){j.realWindow=Sn=e;var t=e.document.createTextNode("");t.ownerDocument!==e.document&&typeof e.wrap=="function"&&e.wrap(t)===t&&(e=e.wrap(e)),j.window=Rt=e}j.window=Rt,typeof window<"u"&&window&&Tn(window);var h={};function De(e){return De=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},De(e)}Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var Qe=function(e){return!!e&&De(e)==="object"},jn=function(e){return typeof e=="function"},Ur={window:function(e){return e===j.window||(0,H.default)(e)},docFrag:function(e){return Qe(e)&&e.nodeType===11},object:Qe,func:jn,number:function(e){return typeof e=="number"},bool:function(e){return typeof e=="boolean"},string:function(e){return typeof e=="string"},element:function(e){if(!e||De(e)!=="object")return!1;var t=j.getWindow(e)||j.window;return/object|function/.test(typeof Element>"u"?"undefined":De(Element))?e instanceof Element||e instanceof t.Element:e.nodeType===1&&typeof e.nodeName=="string"},plainObject:function(e){return Qe(e)&&!!e.constructor&&/function Object\b/.test(e.constructor.toString())},array:function(e){return Qe(e)&&e.length!==void 0&&jn(e.splice)}};h.default=Ur;var Ae={};function Ft(e){var t=e.interaction;if(t.prepared.name==="drag"){var n=t.prepared.axis;n==="x"?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):n==="y"&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}}function Mn(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name==="drag"){var r=n.prepared.axis;if(r==="x"||r==="y"){var o=r==="x"?"y":"x";t.page[o]=n.coords.start.page[o],t.client[o]=n.coords.start.client[o],t.delta[o]=0}}}Object.defineProperty(Ae,"__esModule",{value:!0}),Ae.default=void 0;var et={id:"actions/drag",install:function(e){var t=e.actions,n=e.Interactable,r=e.defaults;n.prototype.draggable=et.draggable,t.map.drag=et,t.methodDict.drag="draggable",r.actions.drag=et.defaults},listeners:{"interactions:before-action-move":Ft,"interactions:action-resume":Ft,"interactions:action-move":Mn,"auto-start:check":function(e){var t=e.interaction,n=e.interactable,r=e.buttons,o=n.options.drag;if(o&&o.enabled&&(!t.pointerIsDown||!/mouse|pointer/.test(t.pointerType)||(r&n.options.drag.mouseButtons)!=0))return e.action={name:"drag",axis:o.lockAxis==="start"?o.startAxis:o.lockAxis},!1}},draggable:function(e){return h.default.object(e)?(this.options.drag.enabled=e.enabled!==!1,this.setPerAction("drag",e),this.setOnEvents("drag",e),/^(xy|x|y|start)$/.test(e.lockAxis)&&(this.options.drag.lockAxis=e.lockAxis),/^(xy|x|y)$/.test(e.startAxis)&&(this.options.drag.startAxis=e.startAxis),this):h.default.bool(e)?(this.options.drag.enabled=e,this):this.options.drag},beforeMove:Ft,move:Mn,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"}},Vr=et;Ae.default=Vr;var R={};Object.defineProperty(R,"__esModule",{value:!0}),R.default=void 0;var N={init:function(e){var t=e;N.document=t.document,N.DocumentFragment=t.DocumentFragment||we,N.SVGElement=t.SVGElement||we,N.SVGSVGElement=t.SVGSVGElement||we,N.SVGElementInstance=t.SVGElementInstance||we,N.Element=t.Element||we,N.HTMLElement=t.HTMLElement||N.Element,N.Event=t.Event,N.Touch=t.Touch||we,N.PointerEvent=t.PointerEvent||t.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function we(){}var Nr=N;R.default=Nr;var L={};Object.defineProperty(L,"__esModule",{value:!0}),L.default=void 0;var q={init:function(e){var t=R.default.Element,n=e.navigator||{};q.supportsTouch="ontouchstart"in e||h.default.func(e.DocumentTouch)&&R.default.document instanceof e.DocumentTouch,q.supportsPointerEvent=n.pointerEnabled!==!1&&!!R.default.PointerEvent,q.isIOS=/iP(hone|od|ad)/.test(n.platform),q.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),q.isIe9=/MSIE 9/.test(n.userAgent),q.isOperaMobile=n.appName==="Opera"&&q.supportsTouch&&/Presto/.test(n.userAgent),q.prefixedMatLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())),h.default.element(i)&&(i=(0,P.getElementRect)(i)),i},A.tlbrToXywh=function(e){return!e||"x"in e&&"y"in e||((e=(0,w.default)({},e)).x=e.left||0,e.y=e.top||0,e.width=e.width||(e.right||0)-e.x,e.height=e.height||(e.bottom||0)-e.y),e},A.xywhToTlbr=function(e){return!e||"left"in e&&"top"in e||((e=(0,w.default)({},e)).left=e.x||0,e.top=e.y||0,e.right=e.right||e.left+e.width,e.bottom=e.bottom||e.top+e.height),e};var ce={};Object.defineProperty(ce,"__esModule",{value:!0}),ce.default=function(e,t,n){var r=e.options[n],o=r&&r.origin||e.options.origin,i=(0,A.resolveRectLike)(o,e,t,[e&&t]);return(0,A.rectToXY)(i)||{x:0,y:0}};var _e={};function zn(e){return e.trim().split(/ +/)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function e(t,n,r){if(r=r||{},h.default.string(t)&&t.search(" ")!==-1&&(t=zn(t)),h.default.array(t))return t.reduce(function(s,u){return(0,w.default)(s,e(u,n,r))},r);if(h.default.object(t)&&(n=t,t=""),h.default.func(n))r[t]=r[t]||[],r[t].push(n);else if(h.default.array(n))for(var o=0;o<n.length;o++){var i;i=n[o],e(t,i,r)}else if(h.default.object(n))for(var l in n){var a=zn(l).map(function(s){return"".concat(t).concat(s)});e(a,n[l],r)}return r};var ie={};Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=void 0,ie.default=function(e,t){return Math.sqrt(e*e+t*t)};var rt={};Object.defineProperty(rt,"__esModule",{value:!0}),rt.default=function(e,t){e.__set||(e.__set={});var n=function(o){typeof e[o]!="function"&&o!=="__set"&&Object.defineProperty(e,o,{get:function(){return o in e.__set?e.__set[o]:e.__set[o]=t[o]},set:function(i){e.__set[o]=i},configurable:!0})};for(var r in t)n(r);return e};var x={};function Yt(e){return e instanceof R.default.Event||e instanceof R.default.Touch}function ze(e,t,n){return e=e||"page",(n=n||{}).x=t[e+"X"],n.y=t[e+"Y"],n}function Cn(e,t){return t=t||{x:0,y:0},L.default.isOperaMobile&&Yt(e)?(ze("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):ze("page",e,t),t}function Rn(e,t){return t=t||{},L.default.isOperaMobile&&Yt(e)?ze("screen",e,t):ze("client",e,t),t}function ot(e){var t=[];return h.default.array(e)?(t[0]=e[0],t[1]=e[1]):e.type==="touchend"?e.touches.length===1?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):e.touches.length===0&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t}function Fn(e){for(var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n<e.length;n++){var r=e[n];for(var o in t)t[o]+=r[o]}for(var i in t)t[i]/=e.length;return t}Object.defineProperty(x,"__esModule",{value:!0}),x.coordsToEvent=function(e){return{coords:e,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}},x.copyCoords=function(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp},x.getClientXY=Rn,x.getEventTargets=function(e){var t=h.default.func(e.composedPath)?e.composedPath():e.path;return[P.getActualElement(t?t[0]:e.target),P.getActualElement(e.currentTarget)]},x.getPageXY=Cn,x.getPointerId=function(e){return h.default.number(e.pointerId)?e.pointerId:e.identifier},x.getPointerType=function(e){return h.default.string(e.pointerType)?e.pointerType:h.default.number(e.pointerType)?[void 0,void 0,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type||"")||e instanceof R.default.Touch?"touch":"mouse"},x.getTouchPair=ot,x.getXY=ze,x.isNativePointer=Yt,x.newCoords=function(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},x.pointerAverage=Fn,Object.defineProperty(x,"pointerExtend",{enumerable:!0,get:function(){return rt.default}}),x.setCoordDeltas=function(e,t,n){e.page.x=n.page.x-t.page.x,e.page.y=n.page.y-t.page.y,e.client.x=n.client.x-t.client.x,e.client.y=n.client.y-t.client.y,e.timeStamp=n.timeStamp-t.timeStamp},x.setCoordVelocity=function(e,t){var n=Math.max(t.timeStamp/1e3,.001);e.page.x=t.page.x/n,e.page.y=t.page.y/n,e.client.x=t.client.x/n,e.client.y=t.client.y/n,e.timeStamp=n},x.setCoords=function(e,t,n){var r=t.length>1?Fn(t):t[0];Cn(r,e.page),Rn(r,e.client),e.timeStamp=n},x.setZeroCoords=function(e){e.page.x=0,e.page.y=0,e.client.x=0,e.client.y=0},x.touchAngle=function(e,t){var n=t+"X",r=t+"Y",o=ot(e),i=o[1][n]-o[0][n],l=o[1][r]-o[0][r];return 180*Math.atan2(l,i)/Math.PI},x.touchBBox=function(e){if(!e.length)return null;var t=ot(e),n=Math.min(t[0].pageX,t[1].pageX),r=Math.min(t[0].pageY,t[1].pageY),o=Math.max(t[0].pageX,t[1].pageX),i=Math.max( Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function tr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(he,"__esModule",{value:!0}),he.default=void 0,he.getRectOffset=nr;var wo=function(){function e(r){(function(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")})(this,e),ge(this,"states",[]),ge(this,"startOffset",{left:0,right:0,top:0,bottom:0}),ge(this,"startDelta",void 0),ge(this,"result",void 0),ge(this,"endResult",void 0),ge(this,"edges",void 0),ge(this,"interaction",void 0),this.interaction=r,this.result=ht()}var t,n;return t=e,(n=[{key:"start",value:function(r,o){var i=r.phase,l=this.interaction,a=function(u){var c=u.interactable.options[u.prepared.name],f=c.modifiers;return f&&f.length?f:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(p){var v=c[p];return v&&v.enabled&&{options:v,methods:v._methods}}).filter(function(p){return!!p})}(l);this.prepareStates(a),this.edges=(0,w.default)({},l.edges),this.startOffset=nr(l.rect,o),this.startDelta={x:0,y:0};var s=this.fillArg({phase:i,pageCoords:o,preEnd:!1});return this.result=ht(),this.startAll(s),this.result=this.setAll(s)}},{key:"fillArg",value:function(r){var o=this.interaction;return r.interaction=o,r.interactable=o.interactable,r.element=o.element,r.rect=r.rect||o.rect,r.edges=this.edges,r.startOffset=this.startOffset,r}},{key:"startAll",value:function(r){for(var o=0;o<this.states.length;o++){var i=this.states[o];i.methods.start&&(r.state=i,i.methods.start(r))}}},{key:"setAll",value:function(r){var o=r.phase,i=r.preEnd,l=r.skipModifiers,a=r.rect;r.coords=(0,w.default)({},r.pageCoords),r.rect=(0,w.default)({},a);for(var s=l?this.states.slice(l):this.states,u=ht(r.coords,r.rect),c=0;c<s.length;c++){var f,p=s[c],v=p.options,d=(0,w.default)({},r.coords),g=null;(f=p.methods)!=null&&f.set&&this.shouldDo(v,i,o)&&(r.state=p,g=p.methods.set(r),A.addEdges(this.interaction.edges,r.rect,{x:r.coords.x-d.x,y:r.coords.y-d.y})),u.eventProps.push(g)}u.delta.x=r.coords.x-r.pageCoords.x,u.delta.y=r.coords.y-r.pageCoords.y,u.rectDelta.left=r.rect.left-a.left,u.rectDelta.right=r.rect.right-a.right,u.rectDelta.top=r.rect.top-a.top,u.rectDelta.bottom=r.rect.bottom-a.bottom;var m=this.result.coords,y=this.result.rect;if(m&&y){var b=u.rect.left!==y.left||u.rect.right!==y.right||u.rect.top!==y.top||u.rect.bottom!==y.bottom;u.changed=b||m.x!==u.coords.x||m.y!==u.coords.y}return u}},{key:"applyToInteraction",value:function(r){var o=this.interaction,i=r.phase,l=o.coords.cur,a=o.coords.start,s=this.result,u=this.startDelta,c=s.delta;i==="start"&&(0,w.default)(this.startDelta,s.delta);for(var f=0;f<[[a,u],[l,c]].length;f++){var p=er([[a,u],[l,c]][f],2),v=p[0],d=p[1];v.page.x+=d.x,v.page.y+=d.y,v.client.x+=d.x,v.client.y+=d.y}var g=this.result.rectDelta,m=r.rect||o.rect;m.left+=g.left,m.right+=g.right,m.top+=g.top,m.bottom+=g.bottom,m.width=m.right-m.left,m.height=m.bottom-m.top}},{key:"setAndApply",value:function(r){var o=this.interaction,i=r.phase,l=r.preEnd,a=r.skipModifiers,s=this.setAll(this.fillArg({preEnd:l,phase:i,pageCoords:r.modifiedCoords||o.coords.cur.page}));if(this.result=s,!s.changed&&(!a||a<this.states.length)&&o.interacting())return!1;if(r.modifiedCoords){var u=o.coords.cur.page,c={x:r.modifiedCoords.x-u.x,y:r.modifiedCoords.y-u.y};s.coords.x+=c.x,s.coords.y+=c.y,s.delta.x+=c.x,s.delta.y+=c.y}this.applyToInteraction(r)}},{key:"beforeEnd",value:function(r){var o=r.interaction,i=r.event,l=this.states;if(l&&l.length){for(var a=!1,s=0;s<l.length;s++){var u=l[s];r.state=u;var c=u.options,f=u.methods,p=f.beforeEnd&&f.beforeEnd(r);if(p)return this.endResult=p,!1;a=a||!a&&this.shouldDo(c,!0,r.phase,!0)}a&&o.move({event:i,preEnd:!0})}}},{key:"stop",value:function(r){var o=r.interaction;if(this.states&&this.states.length){var i=(0,w.default)({states:this.states,interactable:o.interactable,element:o.element,rect:null},r);this.fillArg(i);for(var l=0;l<this.states.length;l++){var a=this.states[l];i.state=a,a.methods.stop&&a.methods.stop(i)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(r){this.states=[];for(var o=0;o<r.length;o++){var i=r[o],l=i.options,a=i.methods,s=i.name;this.states.push({options:l,methods:a,index:o,name:s})}return this.states}},{key:"restoreInteractionCoords",value:function(r){var o=r.interaction,i=o.coords,l=o.rect,a=o.modification;if(a.result){for(var s=a.startDelta,u=a.result,c=u.delta,f=u.rectDelta,p=[[i.start,s],[i.cur,c]],v=0;v<p.length;v++){var d=er(p[v],2),g=d[0],m=d[1];g.page.x-=m.x,g.page.y-=m.y,g.client.x-=m.x,g.client.y-=m.y}l.left-=f.left,l.right-=f.right,l Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function dr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.default=void 0;var Vo=function(){function e(r){(function(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")})(this,e),rn(this,"currentTarget",void 0),rn(this,"originalEvent",void 0),rn(this,"type",void 0),this.originalEvent=r,(0,rt.default)(this,r)}var t,n;return t=e,(n=[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}])&&Uo(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function qe(e){if(!h.default.object(e))return{capture:!!e,passive:!1};var t=(0,w.default)({},e);return t.capture=!!e.capture,t.passive=!!e.passive,t}var No={id:"events",install:function(e){var t,n=[],r={},o=[],i={add:l,remove:a,addDelegate:function(c,f,p,v,d){var g=qe(d);if(!r[p]){r[p]=[];for(var m=0;m<o.length;m++){var y=o[m];l(y,p,s),l(y,p,u,!0)}}var b=r[p],_=M.find(b,function(E){return E.selector===c&&E.context===f});_||(_={selector:c,context:f,listeners:[]},b.push(_)),_.listeners.push([v,g])},removeDelegate:function(c,f,p,v,d){var g,m=qe(d),y=r[p],b=!1;if(y)for(g=y.length-1;g>=0;g--){var _=y[g];if(_.selector===c&&_.context===f){for(var E=_.listeners,T=E.length-1;T>=0;T--){var D=on(E[T],2),S=D[0],I=D[1],$=I.capture,oe=I.passive;if(S===v&&$===m.capture&&oe===m.passive){E.splice(T,1),E.length||(y.splice(g,1),a(f,p,s),a(f,p,u,!0)),b=!0;break}}if(b)break}}},delegateListener:s,delegateUseCapture:u,delegatedEvents:r,documents:o,targets:n,supportsOptions:!1,supportsPassive:!1};function l(c,f,p,v){var d=qe(v),g=M.find(n,function(m){return m.eventTarget===c});g||(g={eventTarget:c,events:{}},n.push(g)),g.events[f]||(g.events[f]=[]),c.addEventListener&&!M.contains(g.events[f],p)&&(c.addEventListener(f,p,i.supportsOptions?d:d.capture),g.events[f].push(p))}function a(c,f,p,v){var d=qe(v),g=M.findIndex(n,function(T){return T.eventTarget===c}),m=n[g];if(m&&m.events)if(f!=="all"){var y=!1,b=m.events[f];if(b){if(p==="all"){for(var _=b.length-1;_>=0;_--)a(c,f,b[_],d);return}for(var E=0;E<b.length;E++)if(b[E]===p){c.removeEventListener(f,p,i.supportsOptions?d:d.capture),b.splice(E,1),b.length===0&&(delete m.events[f],y=!0);break}}y&&!Object.keys(m.events).length&&n.splice(g,1)}else for(f in m.events)m.events.hasOwnProperty(f)&&a(c,f,"all")}function s(c,f){for(var p=qe(f),v=new Vo(c),d=r[c.type],g=on(x.getEventTargets(c),1)[0],m=g;h.default.element(m);){for(var y=0;y<d.length;y++){var b=d[y],_=b.selector,E=b.context;if(P.matchesSelector(m,_)&&P.nodeContains(E,g)&&P.nodeContains(E,m)){var T=b.listeners;v.currentTarget=m;for(var D=0;D<T.length;D++){var S=on(T[D],2),I=S[0],$=S[1],oe=$.capture,On=$.passive;oe===p.capture&&On===p.passive&&I(v)}}}m=P.parentNode(m)}}function u(c){return s(c,!0)}return(t=e.document)==null||t.createElement("div").addEventListener("test",null,{get capture(){return i.supportsOptions=!0},get passive(){return i.supportsPassive=!0}}),e.events=i,i}};Pt.default=No;var Ot={};Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.default=void 0;var Et={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(e){for(var t=0;t<Et.methodOrder.length;t++){var n;n=Et.methodOrder[t];var r=Et[n](e);if(r)return r}return null},simulationResume:function(e){var t=e.pointerType,n=e.eventType,r=e.eventTarget,o=e.scope;if(!/down|start/i.test(n))return null;for(var i=0;i<o.interactions.list.length;i++){var l=o.interactions.list[i],a=r;if(l.simulation&&l.simulation.allowResume&&l.pointerType===t)for(;a;){if(a===l.element)return l;a=P.parentNode(a)}}return null},mouseOrPen:function(e){var t,n=e.pointerId,r=e.pointerType,o=e.eventType,i=e.scope;if(r!=="mouse"&&r!=="pen")return null;for(var l=0;l<i.interactions.list.length;l++){var a=i.interactions.list[l];if(a.pointerType===r){if(a.simulation&&!pr(a,n))continue;if(a.interacting())return a;t||(t=a)}}if(t)return t;for(var s=0;s<i.interactions.list.length;s++){var u=i.interactions.list[s];if(!(u.pointerType!==r||/down/i.test(o)&&u.simulation))return u}return null},hasPointer:function(e){for(var t=e.pointerId,n=e.scope,r=0;r<n.interactions.list.length;r++){var o=n.interactions.list[r];if(pr(o,t))return o}return null},idle:function(e){for(var t=e.pointerType,n=e.scope,r=0;r<n.interactions.list.length;r++){var o=n.interactions.list[r];if(o.pointers.length===1){var i=o.interactable;if(i&&(!i.options.gesture||!i.options.gesture.enabled))continue}else if(o.pointers.length>=2)continue;if(!o.interacting()&&t===o.pointerType)return o}return null}};function pr(e,t){return e.pointers.some(function(n){return n.id===t})}var qo=Et;Ot.default=qo;var St={};function an(e){return an=typeof Symbol=="funct Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function hr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Go(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sn(e,t){return sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},sn(e,t)}function Ho(e,t){if(t&&(an(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(e)}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tt(e)}Object.defineProperty(St,"__esModule",{value:!0}),St.default=void 0;var ln=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function gr(e,t){return function(n){var r=t.interactions.list,o=x.getPointerType(n),i=vr(x.getEventTargets(n),2),l=i[0],a=i[1],s=[];if(/^touch/.test(n.type)){t.prevTouchTime=t.now();for(var u=0;u<n.changedTouches.length;u++){var c=n.changedTouches[u],f={pointer:c,pointerId:x.getPointerId(c),pointerType:o,eventType:n.type,eventTarget:l,curEventTarget:a,scope:t},p=yr(f);s.push([f.pointer,f.eventTarget,f.curEventTarget,p])}}else{var v=!1;if(!L.default.supportsPointerEvent&&/mouse/.test(n.type)){for(var d=0;d<r.length&&!v;d++)v=r[d].pointerType!=="mouse"&&r[d].pointerIsDown;v=v||t.now()-t.prevTouchTime<500||n.timeStamp===0}if(!v){var g={pointer:n,pointerId:x.getPointerId(n),pointerType:o,eventType:n.type,curEventTarget:a,eventTarget:l,scope:t},m=yr(g);s.push([g.pointer,g.eventTarget,g.curEventTarget,m])}}for(var y=0;y<s.length;y++){var b=vr(s[y],4),_=b[0],E=b[1],T=b[2];b[3][e](_,n,E,T)}}}function yr(e){var t=e.pointerType,n=e.scope,r={interaction:Ot.default.search(e),searchDetails:e};return n.fire("interactions:find",r),r.interaction||n.interactions.new({pointerType:t})}function un(e,t){var n=e.doc,r=e.scope,o=e.options,i=r.interactions.docEvents,l=r.events,a=l[t];for(var s in r.browser.isIOS&&!o.events&&(o.events={passive:!1}),l.delegatedEvents)a(n,s,l.delegateListener),a(n,s,l.delegateUseCapture,!0);for(var u=o&&o.events,c=0;c<i.length;c++){var f=i[c];a(n,f.type,f.listener,u)}}var Ko={id:"core/interactions",install:function(e){for(var t={},n=0;n<ln.length;n++){var r=ln[n];t[r]=gr(r,e)}var o,i=L.default.pEventTypes;function l(){for(var a=0;a<e.interactions.list.length;a++){var s=e.interactions.list[a];if(s.pointerIsDown&&s.pointerType==="touch"&&!s._interacting)for(var u=function(){var f=s.pointers[c];e.documents.some(function(p){var v=p.doc;return(0,P.nodeContains)(v,f.downTarget)})||s.removePointer(f.pointer,f.event)},c=0;c<s.pointers.length;c++)u()}}(o=R.default.PointerEvent?[{type:i.down,listener:l},{type:i.down,listener:t.pointerDown},{type:i.move,listener:t.pointerMove},{type:i.up,listener:t.pointerUp},{type:i.cancel,listener:t.pointerUp}]:[{type:"mousedown",listener:t.pointerDown},{type:"mousemove",listener:t.pointerMove},{type:"mouseup",listener:t.pointerUp},{type:"touchstart",listener:l},{type:"touchstart",listener:t.pointerDown},{type:"touchmove",listener:t.pointerMove},{type:"touchend",listener:t.pointerUp},{type:"touchcancel",listener:t.pointerUp}]).push({type:"blur",listener:function(a){for(var s=0;s<e.interactions.list.length;s++)e.interactions.list[s].documentBlur(a)}}),e.prevTouchTime=0,e.Interaction=function(a){(function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(g&&g.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),g&&sn(d,g)})(v,a);var s,u,c,f,p=(c=v,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,g=Tt(c);if(f){var m=Tt(this).constructor;d=Reflect.construct(g,arguments,m)}else d=g.apply(this,arguments);return Ho(this,d)});function v(){return Go(this,v),p.apply(this,arguments)}return s=v,(u=[{key:"pointerMoveTolerance",get:function(){return e.interactions.pointerMoveTolerance},set:function(d){e.interactions.pointerMoveTolerance=d}},{key:"_now",value:function(){return e.now()}}])&&$o(s.prototype,u),Object.defineProperty(s,"prototype",{writable:!1}),v}(U.default),e.interactions={list:[],new:function(a){a.scopeFire=function(u,c){return e.fire(u,c)};var s=new e.Interaction(a);return e.interactions.list.push(s),s},listeners:t,docEvents:o,pointerMoveTolerance:1},e.usePlugin(pe.default)} Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=void 0,kt.default=function(e){var t=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(r){var o=Or(r,2),i=o[0],l=o[1];return i in e||l in e}),n=function(r,o){for(var i=e.range,l=e.limits,a=l===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:l,s=e.offset,u=s===void 0?{x:0,y:0}:s,c={range:i,grid:e,x:null,y:null},f=0;f<t.length;f++){var p=Or(t[f],2),v=p[0],d=p[1],g=Math.round((r-u.x)/e[v]),m=Math.round((o-u.y)/e[d]);c[v]=Math.max(a.left,Math.min(a.right,g*e[v]+u.x)),c[d]=Math.max(a.top,Math.min(a.bottom,m*e[d]+u.y))}return c};return n.grid=e,n.coordFields=t,n};var He={};Object.defineProperty(He,"__esModule",{value:!0}),Object.defineProperty(He,"edgeTarget",{enumerable:!0,get:function(){return jt.default}}),Object.defineProperty(He,"elements",{enumerable:!0,get:function(){return Mt.default}}),Object.defineProperty(He,"grid",{enumerable:!0,get:function(){return kt.default}});var It={};Object.defineProperty(It,"__esModule",{value:!0}),It.default=void 0;var ri={id:"snappers",install:function(e){var t=e.interactStatic;t.snappers=(0,w.default)(t.snappers||{},He),t.createSnapGrid=t.snappers.grid}},oi=ri;It.default=oi;var Se={};function Sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function dn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sr(Object(n),!0).forEach(function(r){ii(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(Se,"__esModule",{value:!0}),Se.default=Se.aspectRatio=void 0;var Tr={start:function(e){var t=e.state,n=e.rect,r=e.edges,o=e.pageCoords,i=t.options.ratio,l=t.options,a=l.equalDelta,s=l.modifiers;i==="preserve"&&(i=n.width/n.height),t.startCoords=(0,w.default)({},o),t.startRect=(0,w.default)({},n),t.ratio=i,t.equalDelta=a;var u=t.linkedEdges={top:r.top||r.left&&!r.bottom,left:r.left||r.top&&!r.right,bottom:r.bottom||r.right&&!r.top,right:r.right||r.bottom&&!r.left};if(t.xIsPrimaryAxis=!(!r.left&&!r.right),t.equalDelta){var c=(u.left?1:-1)*(u.top?1:-1);t.edgeSign={x:c,y:c}}else t.edgeSign={x:u.left?-1:1,y:u.top?-1:1};if((0,w.default)(e.edges,u),s&&s.length){var f=new he.default(e.interaction);f.copyFrom(e.interaction.modification),f.prepareStates(s),t.subModification=f,f.startAll(dn({},e))}},set:function(e){var t=e.state,n=e.rect,r=e.coords,o=(0,w.default)({},r),i=t.equalDelta?ai:si;if(i(t,t.xIsPrimaryAxis,r,n),!t.subModification)return null;var l=(0,w.default)({},n);(0,A.addEdges)(t.linkedEdges,l,{x:r.x-o.x,y:r.y-o.y});var a=t.subModification.setAll(dn(dn({},e),{},{rect:l,edges:t.linkedEdges,pageCoords:r,prevCoords:r,prevRect:l})),s=a.delta;return a.changed&&(i(t,Math.abs(s.x)>Math.abs(s.y),a.coords,a.rect),(0,w.default)(r,a.coords)),a.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function ai(e,t,n){var r=e.startCoords,o=e.edgeSign;t?n.y=r.y+(n.x-r.x)*o.y:n.x=r.x+(n.y-r.y)*o.x}function si(e,t,n,r){var o=e.startRect,i=e.startCoords,l=e.ratio,a=e.edgeSign;if(t){var s=r.width/l;n.y=i.y+(s-o.height)*a.y}else{var u=r.height*l;n.x=i.x+(u-o.width)*a.x}}Se.aspectRatio=Tr;var li=(0,X.makeModifier)(Tr,"aspectRatio");Se.default=li;var me={};Object.defineProperty(me,"__esModule",{value:!0}),me.default=void 0;var jr=function(){};jr._defaults={};var ui=jr;me.default=ui;var pn={};Object.defineProperty(pn,"__esModule",{value:!0}),Object.defineProperty(pn,"default",{enumerable:!0,get:function(){return me.default}});var W={};function vn(e,t,n){return h.default.func(e)?A.resolveRectLike(e,t.interactable,t.element,[n.x,n.y,t]):A.resolveRectLike(e,t.interactable,t.element)}Object.defineProperty(W,"__esModule",{value:!0}),W.default=void 0,W.getRestrictionRect=vn,W.restrict=void 0;var Mr={start:function(e){var t=e.rect,n=e.startOffset,r=e.state,o=e.interaction,i=e.pageCoords,l=r.options,a=l.elementRect,s=(0,w.default)({left:0,top:0,right:0,bottom:0},l.offset||{});if(t&&a){var u=vn(l.restriction,o,i);if(u){var c=u.right-u.left-t.width,f=u.bottom-u.top-t.height;c<0&&(s.left+=c,s.right+=c),f<0&&(s.top+=f,s.bottom+=f)}s.left+=n.left-t.width*a.left,s.top+=n.top-t.height*a.top,s.right+=n.right-t.width*(1-a.right),s.bottom+=n.bottom-t.height*(1-a.bottom)}r.offset=s},set:function(e){var t=e.coords,n=e.interaction,r=e.state,o=r.options,i=r.offset,l=vn(o.restriction,n,t);if(l){var a=A.xywhToTlbr(l);t.x=Math.max(Mat Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()),d=v[0],g=v[1];if(d in f||g in f){f.x=f[d],f.y=f[g];break}}o.options.targets.push(f)}}var m=le.snap.set(e);return o.options=l,m},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}};re.snapSize=Xr;var mi=(0,X.makeModifier)(Xr,"snapSize");re.default=mi;var Me={};Object.defineProperty(Me,"__esModule",{value:!0}),Me.snapEdges=Me.default=void 0;var Br={start:function(e){var t=e.edges;return t?(e.state.targetFields=e.state.targetFields||[[t.left?"left":"right",t.top?"top":"bottom"]],re.snapSize.start(e)):null},set:re.snapSize.set,defaults:(0,w.default)((0,ve.default)(re.snapSize.defaults),{targets:null,range:null,offset:{x:0,y:0}})};Me.snapEdges=Br;var bi=(0,X.makeModifier)(Br,"snapEdges");Me.default=bi;var gn={};Object.defineProperty(gn,"__esModule",{value:!0}),Object.defineProperty(gn,"default",{enumerable:!0,get:function(){return me.default}});var yn={};Object.defineProperty(yn,"__esModule",{value:!0}),Object.defineProperty(yn,"default",{enumerable:!0,get:function(){return me.default}});var ke={};Object.defineProperty(ke,"__esModule",{value:!0}),ke.default=void 0;var xi={aspectRatio:Se.default,restrictEdges:Z.default,restrict:W.default,restrictRect:Te.default,restrictSize:je.default,snapEdges:Me.default,snap:le.default,snapSize:re.default,spring:gn.default,avoid:pn.default,transform:yn.default,rubberband:hn.default};ke.default=xi;var Ke={};Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.default=void 0;var wi={id:"modifiers",install:function(e){var t=e.interactStatic;for(var n in e.usePlugin(X.default),e.usePlugin(It.default),t.modifiers=ke.default,ke.default){var r=ke.default[n],o=r._defaults,i=r._methods;o._methods=i,e.defaults.perAction[n]=o}}},_i=wi;Ke.default=_i;var be={};function mn(e){return mn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mn(e)}function Pi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bn(e,t){return bn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},bn(e,t)}function Oi(e,t){if(t&&(mn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xn(e)}function xn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dt(e){return Dt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Dt(e)}Object.defineProperty(be,"__esModule",{value:!0}),be.default=be.PointerEvent=void 0;var Ei=function(e){(function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(s&&s.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),s&&bn(a,s)})(l,e);var t,n,r,o,i=(r=l,o=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var a,s=Dt(r);if(o){var u=Dt(this).constructor;a=Reflect.construct(s,arguments,u)}else a=s.apply(this,arguments);return Oi(this,a)});function l(a,s,u,c,f,p){var v;if(function(m,y){if(!(m instanceof y))throw new TypeError("Cannot call a class as a function")}(this,l),v=i.call(this,f),x.pointerExtend(xn(v),u),u!==s&&x.pointerExtend(xn(v),s),v.timeStamp=p,v.originalEvent=u,v.type=a,v.pointerId=x.getPointerId(s),v.pointerType=x.getPointerType(s),v.target=c,v.currentTarget=null,a==="tap"){var d=f.getPointerIndex(s);v.dt=v.timeStamp-f.pointers[d].downTime;var g=v.timeStamp-f.tapTime;v.double=!!f.prevTap&&f.prevTap.type!=="doubletap"&&f.prevTap.target===v.target&&g<500}else a==="doubletap"&&(v.dt=s.timeStamp-f.tapTime,v.double=!0);return v}return t=l,(n=[{key:"_subtractOrigin",value:function(a){var s=a.x,u=a.y;return this.pageX-=s,this.pageY-=u,this.clientX-=s,this.clientY-=u,this}},{key:"_addOrigin",value:function(a){var s=a.x,u=a.y;return this.pageX+=s,this.pageY+=u,this.clientX+=s,this.clientY+=u,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}])&&Pi(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.BaseEvent);be.PointerEvent=be.default=Ei;var Ze={};Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var At={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(e){e.pointerEvents=At,e.defaults.actions.pointerEvents=At.defaults,(0,w.default)(e.actions.phaselessTypes,At.types)},listeners:{"interactions:new":function(e){var t=e.interac Line truncated
@@ -0,0 +1,3 @@
function G(e,t){let n=t&&t.cache?t.cache:ge,r=t&&t.serializer?t.serializer:be;return(t&&t.strategy?t.strategy:me)(e,{cache:n,serializer:r})}function fe(e){return e==null||typeof e=="number"||typeof e=="boolean"}function q(e,t,n,r){let i=fe(r)?r:n(r),o=t.get(i);return typeof o>"u"&&(o=e.call(this,r),t.set(i,o)),o}function J(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,r),t.set(i,o)),o}function V(e,t,n,r,i){return n.bind(t,e,r,i)}function me(e,t){let n=e.length===1?q:J;return V(e,this,n,t.cache.create(),t.serializer)}function pe(e,t){return V(e,this,J,t.cache.create(),t.serializer)}function Ee(e,t){return V(e,this,q,t.cache.create(),t.serializer)}var be=function(){return JSON.stringify(arguments)},k=class{cache;constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,n){this.cache[t]=n}},ge={create:function(){return new k}},U={variadic:pe,monadic:Ee};var He=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Y(e){let t={};return e.replace(He,n=>{let r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var K=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function re(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");let t=e.split(K).filter(r=>r.length>0),n=[];for(let r of t){let i=r.split("/");if(i.length===0)throw new Error("Invalid number skeleton");let[o,...h]=i;for(let u of h)if(u.length===0)throw new Error("Invalid number skeleton");n.push({stem:o,options:h})}return n}function Te(e){return e.replace(/^(.*?)-/,"")}var ee=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ie=/^(@+)?(\+|#+)?[rs]?$/g,Be=/(\*)(0+)|(#+)(0+)|(0+)/g,se=/^(0+)$/;function te(e){let t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ie,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function oe(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ye(e){let t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){let n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!se.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ne(e){let t={},n=oe(eLine truncated
Try polyfilling it using "@formatjs/intl-pluralrules"
`,C.MISSING_INTL_API,h);let H=typeof a=="bigint"?Number(a):a,T=n.getPluralRules(t,{type:s.pluralType}).select(H-(s.offset||0));m=(Object.prototype.hasOwnProperty.call(s.options,T)?s.options[T]:void 0)||s.options.other}if(!m)throw new R(s.value,a,Object.keys(s.options),h);let b=typeof a=="bigint"?Number(a):a;u.push(...O(m.value,t,n,r,i,b-(s.offset||0)));continue}}return Ge(u)}function we(e,t){return t?{...e,...t,...Object.keys(e).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{})}:e}function De(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=we(e[r],t[r]),n),{...e}):e}function Q(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function Fe(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:G((...t)=>new Intl.NumberFormat(...t),{cache:Q(e.number),strategy:U.variadic}),getDateTimeFormat:G((...t)=>new Intl.DateTimeFormat(...t),{cache:Q(e.dateTime),strategy:U.variadic}),getPluralRules:G((...t)=>new Intl.PluralRules(...t),{cache:Q(e.pluralRules),strategy:U.variadic})}}var x=class e{ast;locales;resolvedLocale;formatters;formats;message;formatterCache={number:{},dateTime:{},pluralRules:{}};constructor(t,n=e.defaultLocale,r,i){if(this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...o}=i||{};this.ast=e.__parse(t,{...o,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=De(e.formats,r),this.formatters=i&&i.formatters||Fe(this.formatterCache)}format=t=>{let n=this.formatToParts(t);if(n.length===1)return n[0].value;let r=n.reduce((i,o)=>(!i.length||o.type!==g.literal||typeof i[i.length-1]!="string"?i.push(o.value):i[i.length-1]+=o.value,i),[]);return r.length<=1?r[0]||"":r};formatToParts=t=>O(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message);resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]});getAst=()=>this.ast;static memoizedDefaultLocale=null;static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static resolveLocale=t=>{if(typeof Intl.Locale>"u")return;let n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])};static __parse=le;static formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}};var dt=x;export{C as ErrorCode,B as FormatError,x as IntlMessageFormat,R as InvalidValueError,F as InvalidValueTypeError,v as MissingValueError,g as PART_TYPE,dt as default,O as formatToParts,Ue as isFormatXMLElementFn};
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/custom-element.js";export*from"@lit/reactive-element/decorators/property.js";export*from"@lit/reactive-element/decorators/state.js";export*from"@lit/reactive-element/decorators/event-options.js";export*from"@lit/reactive-element/decorators/query.js";export*from"@lit/reactive-element/decorators/query-all.js";export*from"@lit/reactive-element/decorators/query-async.js";export*from"@lit/reactive-element/decorators/query-assigned-elements.js";export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/custom-element.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/event-options.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/property.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query-all.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query-assigned-elements.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query-async.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/state.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element";export*from"lit-html";export{LitElement,_$LE}from"lit-element/lit-element.js";
@@ -0,0 +1,6 @@
import{ReactiveElement as e}from"@lit/reactive-element";export*from"@lit/reactive-element";import{render as n,noChange as l}from"lit-html";export*from"lit-html";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/class h extends e{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=n(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return l}}h._$litElement$=!0,h["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:h});const f=globalThis.litElementPolyfillSupport;f?.({LitElement:h});const x={_$AK:(t,e,s)=>{t._$AK(e,s)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.1.0");export{h as LitElement,x as _$LE};
@@ -0,0 +1,6 @@
!function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var i,n,o="__scoped";null!==(i=globalThis.reactiveElementPolyfillSupport)&&void 0!==i||(globalThis.reactiveElementPolyfillSupport=function(i){var n=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var t=n.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(t);var d=t.createRenderRoot;t.createRenderRoot=function(){var i,n,t,w=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(o)){this.constructor[o]=!0;var v=this.constructor.elementStyles.map((function(i){return i instanceof CSSStyleSheet?Array.from(i.cssRules).reduce((function(i,n){return i+n.cssText}),""):i.cssText}));null===(n=null===(i=window.ShadyCSS)||void 0===i?void 0:i.ScopingShim)||void 0===n||n.prepareAdoptedCssText(v,w),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),w)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var w=t.connectedCallback;t.connectedCallback=function(){w.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var v=t._$AE;t._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),v.call(this,i)}}});var t,d=new Set,w=new Map;null!==(n=globalThis.litHtmlPolyfillSupport)&&void 0!==n||(globalThis.litHtmlPolyfillSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var o=function(i){return void 0!==i&&!d.has(i)},t=function(i){var n=w.get(i);return void 0===n&&w.set(i,n=[]),n},v=new Map,l=i.createElement;i.createElement=function(n,d){var w=l.call(i,n,d),v=null==d?void 0:d.scope;if(void 0!==v&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(w,v),o(v))){var r=t(v),u=w.content.querySelectorAll("style");r.push.apply(r,Array.from(u).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return w};var r=document.createDocumentFragment(),u=document.createComment(""),s=n.prototype,e=s._$AI;s._$AI=function(i,n){var v,l;void 0===n&&(n=this);var s=this._$AA.parentNode,a=null===(v=this.options)||void 0===v?void 0:v.scope;if(s instanceof ShadowRoot&&o(a)){var h=this._$AA,f=this._$AB;r.appendChild(u),this._$AA=u,this._$AB=null,e.call(this,i,n);var c=(null==i?void 0:i._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,n){var o,v=t(i),l=0!==v.length;l&&((o=document.createElement("style")).textContent=v.join("\n"),n.content.appendChild(o)),d.add(i),w.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),l&&window.ShadyCSS.nativeShadow&&null!==(o=n.content.querySelector("style"))&&n.content.appendChild(o)}(a,c),r.removeChild(u),null===(l=window.ShadyCSS)||void 0===l?void 0:l.nativeShadow){var y=c.content.querySelector("style");null!==y&&r.appendChild(y.cloneNode(!0))}s.insertBefore(r,f),this._$AA=h,this._$AB=f}else e.call(this,i,n)},s._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=v.get(t);void 0===d&&v.set(t,d=new Map);var w=d.get(n.strings);return void 0===w&&d.set(n.strings,w=new i(n,this.options)),w}}}),null!==(t=globalThis.litElementPolyfillSupport)&&void 0!==t||(globalThis.litElementPolyfillSupport=function(i){var n=i.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n._$AJ=!0;var o=n.prototype,t=o.createRenderRoot;o.createRenderRoot=function(){return this.renderOptions.scope=this.localName,t.call(this)}}})}));
@@ -0,0 +1,6 @@
import{_$LE as v}from"lit-element/lit-element.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const x={attributeToProperty:v._$AK,changedProperties:v._$AL};export{x as _$LE};
@@ -0,0 +1,6 @@
import{isSingleExpression as rt}from"lit-html/directive-helpers.js";import{Directive as i,PartType as t}from"lit-html/directive.js";export{directive}from"lit-html/directive.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const mt=(i,t)=>{const e=i._$AN;if(void 0===e)return!1;for(const i of e)i._$AO?.(t,!1),mt(i,t);return!0},_t=i=>{let t,e;do{if(void 0===(t=i._$AM))break;e=t._$AN,e.delete(i),i=t}while(0===e?.size)},wt=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(void 0===e)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),gt(t)}};function bt(i){void 0!==this._$AN?(_t(this),this._$AM=i,wt(this)):this._$AM=i}function yt(i,t=!1,e=0){const s=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)mt(s[i],!1),_t(s[i]);else null!=s&&(mt(s,!1),_t(s));else mt(this,i)}const gt=i=>{i.type==t.CHILD&&(i._$AP??=yt,i._$AQ??=bt)};class $t extends i{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,e){super._$AT(i,t,e),wt(this),this.isConnected=i._$AU}_$AO(i,t=!0){i!==this.isConnected&&(this.isConnected=i,i?this.reconnected?.():this.disconnected?.()),t&&(mt(this,i),_t(this))}setValue(i){if(rt(this.t))this.t._$AI(i,this);else{const t=[...this.t._$AH];t[this.i]=i,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}}export{$t as AsyncDirective,i as Directive,t as PartType};
@@ -0,0 +1,6 @@
import{_$LH as io}from"lit-html/lit-html.js";
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const{I:et}=io,st=o=>null===o||"object"!=typeof o&&"function"!=typeof o,no={HTML:1,SVG:2,MATHML:3},nt=(o,t)=>void 0===t?void 0!==o?._$litType$:o?._$litType$===t,ot=o=>null!=o?._$litType$?.h,eo=o=>void 0!==o?._$litDirective$,lo=o=>o?._$litDirective$,rt=o=>void 0===o.strings,lt=()=>document.createComment(""),at=(o,t,i)=>{const n=o._$AA.parentNode,e=void 0===t?o._$AB:t._$AA;if(void 0===i){const t=n.insertBefore(lt(),e),l=n.insertBefore(lt(),e);i=new et(t,l,o,o.options)}else{const t=i._$AB.nextSibling,l=i._$AM,c=l!==o;if(c){let t;i._$AQ?.(o),i._$AM=o,void 0!==i._$AP&&(t=o._$AU)!==l._$AU&&i._$AP(t)}if(t!==e||c){let o=i._$AA;for(;o!==t;){const t=o.nextSibling;n.insertBefore(o,e),o=t}}}return i},ct=(o,t,i=o)=>(o._$AI(t,i),o),ht={},dt=(o,t=ht)=>o._$AH=t,ut=o=>o._$AH,pt=o=>{o._$AP?.(!1,!0);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o}},ft=o=>{o._$AR()};export{no as TemplateResultType,ft as clearPart,ut as getCommittedValue,lo as getDirectiveClass,at as insertPart,ot as isCompiledTemplateResult,eo as isDirectiveResult,st as isPrimitive,rt as isSingleExpression,nt as isTemplateResult,pt as removePart,ct as setChildPartValue,dt as setCommittedValue};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this.t=t,this._$AM=e,this.i=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};
@@ -0,0 +1,6 @@
import{directive as e,PartType as t}from"lit-html/directive.js";import{AsyncReplaceDirective as kt}from"lit-html/directives/async-replace.js";import{clearPart as ft,insertPart as at,setChildPartValue as ct}from"lit-html/directive-helpers.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const jt=e(class extends kt{constructor(r){if(super(r),r.type!==t.CHILD)throw Error("asyncAppend can only be used in child expressions")}update(r,e){return this.tt=r,super.update(r,e)}commitValue(r,e){0===e&&ft(this.tt);const s=at(this.tt);ct(s,r)}});export{jt as asyncAppend};
@@ -0,0 +1,6 @@
import{noChange as R}from"lit-html/lit-html.js";import{AsyncDirective as $t}from"lit-html/async-directive.js";import{PseudoWeakRef as Tt,Pauser as Et,forAwaitOf as ti}from"lit-html/directives/private-async-helpers.js";import{directive as e}from"lit-html/directive.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/class kt extends $t{constructor(){super(...arguments),this.K=new Tt(this),this.X=new Et}render(t,i){return R}update(t,[i,s]){if(this.isConnected||this.disconnected(),i===this.J)return R;this.J=i;let r=0;const{K:e,X:n}=this;return ti(i,(async t=>{for(;n.get();)await n.get();const o=e.deref();if(void 0!==o){if(o.J!==i)return!1;void 0!==s&&(t=s(t,r)),o.commitValue(t,r),r++}return!0})),R}commitValue(t,i){this.setValue(t)}disconnected(){this.K.disconnect(),this.X.pause()}reconnected(){this.K.reconnect(this),this.X.resume()}}const Ot=e(kt);export{kt as AsyncReplaceDirective,Ot as asyncReplace};
@@ -0,0 +1,6 @@
import{render as Q,nothing as D}from"lit-html/lit-html.js";import{directive as e,Directive as i}from"lit-html/directive.js";import{isTemplateResult as nt,getCommittedValue as ut,setCommittedValue as dt,insertPart as at,clearPart as ft,isCompiledTemplateResult as ot}from"lit-html/directive-helpers.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const Pt=t=>ot(t)?t._$litType$.h:t.strings,At=e(class extends i{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[i]){const s=nt(this.it)?Pt(this.it):null,e=nt(i)?Pt(i):null;if(null!==s&&(null===e||s!==e)){const i=ut(t).pop();let e=this.et.get(s);if(void 0===e){const t=document.createDocumentFragment();e=Q(D,t),e.setConnected(!1),this.et.set(s,e)}dt(e,[i]),at(e,void 0,i)}if(null!==e){if(null===s||s!==e){const i=this.et.get(e);if(void 0!==i){const s=ut(i).pop();ft(t),at(t,void 0,s),dt(t,[s])}}this.it=i}else this.it=void 0;return this.render(i)}});export{At as cache};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const rr=(r,o,t)=>{for(const t of o)if(t[0]===r)return(0,t[1])();return t?.()};export{rr as choose};
@@ -0,0 +1,6 @@
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const Rt=e(class extends i{constructor(s){if(super(s),s.type!==t.ATTRIBUTE||"class"!==s.name||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(t,[s]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in s)s[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(s)}const i=t.element.classList;for(const t of this.st)t in s||(i.remove(t),this.st.delete(t));for(const t in s){const r=!!s[t];r===this.st.has(t)||this.nt?.has(t)||(r?(i.add(t),this.st.add(t)):(i.remove(t),this.st.delete(t)))}return R}});export{Rt as classMap};
@@ -0,0 +1,7 @@
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i}from"lit-html/directive.js";
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const Vt={},It=e(class extends i{constructor(){super(...arguments),this.ot=Vt}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every(((r,t)=>r===this.ot[t])))return R}else if(this.ot===t)return R;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{It as guard};
@@ -0,0 +1,6 @@
import{nothing as D}from"lit-html/lit-html.js";
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const to=t=>t??D;export{to as ifDefined};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
function*oo(o,t){const f="function"==typeof t;if(void 0!==o){let i=-1;for(const n of o)i>-1&&(yield f?t(i):t),i++,yield n}}export{oo as join};
@@ -0,0 +1,6 @@
import{nothing as D}from"lit-html/lit-html.js";import{directive as e,Directive as i}from"lit-html/directive.js";import{setCommittedValue as dt}from"lit-html/directive-helpers.js";
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const Bt=e(class extends i{constructor(){super(...arguments),this.key=D}render(r,t){return this.key=r,t}update(r,[t,e]){return t!==this.key&&(dt(r),this.key=t),e}});export{Bt as keyed};
@@ -0,0 +1,6 @@
import{noChange as R,nothing as D}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";import{isSingleExpression as rt,setCommittedValue as dt}from"lit-html/directive-helpers.js";
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const Ft=e(class extends i{constructor(r){if(super(r),r.type!==t.PROPERTY&&r.type!==t.ATTRIBUTE&&r.type!==t.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!rt(r))throw Error("`live` bindings can only contain a single expression")}render(r){return r}update(r,[e]){if(e===R||e===D)return e;const i=r.element,n=r.name;if(r.type===t.PROPERTY){if(e===i[n])return R}else if(r.type===t.BOOLEAN_ATTRIBUTE){if(!!e===i.hasAttribute(n))return R}else if(r.type===t.ATTRIBUTE&&i.getAttribute(n)===e+"")return R;return dt(r),e}});export{Ft as live};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
function*oo(o,f){if(void 0!==o){let i=0;for(const t of o)yield f(t,i++)}}export{oo as map};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const ti=async(t,s)=>{for await(const i of t)if(!1===await s(i))return};class Tt{constructor(t){this.Y=t}disconnect(){this.Y=void 0}reconnect(t){this.Y=t}deref(){return this.Y}}class Et{constructor(){this.Z=void 0,this.q=void 0}get(){return this.Z}pause(){this.Z??=new Promise((t=>this.q=t))}resume(){this.q?.(),this.Z=this.q=void 0}}export{Et as Pauser,Tt as PseudoWeakRef,ti as forAwaitOf};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
function*oo(o,t,e=1){const i=void 0===t?0:o;t??=o;for(let o=i;e>0?o<t:t<o;o+=e)yield o}export{oo as range};
@@ -0,0 +1,6 @@
import{nothing as D}from"lit-html/lit-html.js";import{AsyncDirective as $t}from"lit-html/async-directive.js";import{directive as e}from"lit-html/directive.js";
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const ii=()=>new Zt;class Zt{}const qt=new WeakMap,Kt=e(class extends $t{render(t){return D}update(t,[i]){const s=i!==this.Y;return s&&void 0!==this.Y&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.Y=i,this.ht=t.options?.host,this.rt(this.ct=t.element)),D}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.Y){const i=this.ht??globalThis;let s=qt.get(i);void 0===s&&(s=new WeakMap,qt.set(i,s)),void 0!==s.get(this.Y)&&this.Y.call(this.ht,void 0),s.set(this.Y,t),void 0!==t&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return"function"==typeof this.Y?qt.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{ii as createRef,Kt as ref};
@@ -0,0 +1,7 @@
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";import{getCommittedValue as ut,setChildPartValue as ct,insertPart as at,removePart as pt,setCommittedValue as dt}from"lit-html/directive-helpers.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const Jt=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},Qt=e(class extends i{constructor(e){if(super(e),e.type!==t.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return{values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(e,[s,t,r]){const l=ut(e),{values:o,keys:i}=this.dt(s,t,r);if(!Array.isArray(l))return this.ut=i,o;const n=this.ut??=[],f=[];let u,c,d=0,p=l.length-1,a=0,h=o.length-1;for(;d<=p&&a<=h;)if(null===l[d])d++;else if(null===l[p])p--;else if(n[d]===i[a])f[a]=ct(l[d],o[a]),d++,a++;else if(n[p]===i[h])f[h]=ct(l[p],o[h]),p--,h--;else if(n[d]===i[h])f[h]=ct(l[d],o[h]),at(e,f[h+1],l[d]),d++,h--;else if(n[p]===i[a])f[a]=ct(l[p],o[a]),at(e,l[d],l[p]),p--,a++;else if(void 0===u&&(u=Jt(i,a,h),c=Jt(n,d,p)),u.has(n[d]))if(u.has(n[p])){const s=c.get(i[a]),t=void 0!==s?l[s]:null;if(null===t){const s=at(e,l[d]);ct(s,o[a]),f[a]=s}else f[a]=ct(t,o[a]),at(e,l[d],t),l[s]=null;a++}else pt(l[p]),p--;else pt(l[d]),d++;for(;a<=h;){const s=at(e,f[h+1]);ct(s,o[a]),f[a++]=s}for(;d<=p;){const e=l[d++];null!==e&&pt(e)}return this.ut=i,dt(e,f),R}});export{Qt as repeat};
@@ -0,0 +1,6 @@
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const ee="important",ie=" !"+ee,se=e(class extends i{constructor(e){if(super(e),e.type!==t.ATTRIBUTE||"style"!==e.name||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?r.removeProperty(t):r[t]=null);for(const t in e){const s=e[t];if(null!=s){this.ft.add(t);const e="string"==typeof s&&s.endsWith(ie);t.includes("-")||e?r.setProperty(t,e?s.slice(0,-11):s,e?ee:""):r[t]=s}}return R}});export{se as styleMap};
@@ -0,0 +1,6 @@
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const oe=e(class extends i{constructor(r){if(super(r),r.type!==t.CHILD)throw Error("templateContent can only be used in child bindings")}render(t){return this.vt===t?R:(this.vt=t,document.importNode(t.content,!0))}});export{oe as templateContent};
@@ -0,0 +1,6 @@
import{nothing as D,noChange as R}from"lit-html/lit-html.js";import{Directive as i,PartType as t,directive as e}from"lit-html/directive.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/class le extends i{constructor(i){if(super(i),this.it=D,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this._t=void 0,this.it=t;if(t===R)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}le.directiveName="unsafeHTML",le.resultType=1;const ae=e(le);export{le as UnsafeHTMLDirective,ae as unsafeHTML};
@@ -0,0 +1,6 @@
import{directive as e}from"lit-html/directive.js";import{UnsafeHTMLDirective as le}from"lit-html/directives/unsafe-html.js";
/**
* @license
* Copyright 2024 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/class he extends le{}he.directiveName="unsafeMath",he.resultType=3;const de=e(he);export{de as unsafeMathML};
@@ -0,0 +1,6 @@
import{directive as e}from"lit-html/directive.js";import{UnsafeHTMLDirective as le}from"lit-html/directives/unsafe-html.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/class pe extends le{}pe.directiveName="unsafeSVG",pe.resultType=2;const fe=e(pe);export{fe as unsafeSVG};
@@ -0,0 +1,6 @@
import{noChange as R}from"lit-html/lit-html.js";import{isPrimitive as st}from"lit-html/directive-helpers.js";import{AsyncDirective as $t}from"lit-html/async-directive.js";import{PseudoWeakRef as Tt,Pauser as Et}from"lit-html/directives/private-async-helpers.js";import{directive as e}from"lit-html/directive.js";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const me=t=>!st(t)&&"function"==typeof t.then,_e=1073741823;class we extends $t{constructor(){super(...arguments),this.wt=_e,this.bt=[],this.K=new Tt(this),this.X=new Et}render(...t){return t.find((t=>!me(t)))??R}update(t,s){const i=this.bt;let e=i.length;this.bt=s;const r=this.K,o=this.X;this.isConnected||this.disconnected();for(let t=0;t<s.length&&!(t>this.wt);t++){const n=s[t];if(!me(n))return this.wt=t,n;t<e&&n===i[t]||(this.wt=_e,e=0,Promise.resolve(n).then((async t=>{for(;o.get();)await o.get();const s=r.deref();if(void 0!==s){const i=s.bt.indexOf(n);i>-1&&i<s.wt&&(s.wt=i,s.setValue(t))}})))}return R}disconnected(){this.K.disconnect(),this.X.pause()}reconnected(){this.K.reconnect(this),this.X.resume()}}const be=e(we);export{we as UntilDirective,be as until};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
function nn(n,r,t){return n?r(n):t?.(n)}export{nn as when};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2022 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const co=!1;export{co as isServer};
@@ -0,0 +1,6 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const n=globalThis,c=n.trustedTypes,h=c?c.createPolicy("lit-html",{createHTML:t=>t}):void 0,f="$lit$",v=`lit$${Math.random().toFixed(9).slice(2)}$`,m="?"+v,_=`<${m}>`,w=document,lt=()=>w.createComment(""),st=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,$=t=>g(t)||"function"==typeof t?.[Symbol.iterator],x="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,E=/-->/g,k=/>/g,O=RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),S=/'/g,j=/"/g,M=/^(?:script|style|textarea|title)$/i,P=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),ke=P(1),Oe=P(2),Se=P(3),R=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),V=new WeakMap,I=w.createTreeWalker(w,129);function N(t,i){if(!g(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==h?h.createHTML(i):i}const U=(t,i)=>{const s=t.length-1,e=[];let h,o=2===i?"<svg>":3===i?"<math>":"",n=T;for(let i=0;i<s;i++){const s=t[i];let r,l,c=-1,a=0;for(;a<s.length&&(n.lastIndex=a,l=n.exec(s),null!==l);)a=n.lastIndex,n===T?"!--"===l[1]?n=E:void 0!==l[1]?n=k:void 0!==l[2]?(M.test(l[2])&&(h=RegExp("</"+l[2],"g")),n=O):void 0!==l[3]&&(n=O):n===O?">"===l[0]?(n=h??T,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,r=l[1],n=void 0===l[3]?O:'"'===l[3]?j:S):n===j||n===S?n=O:n===E||n===k?n=T:(n=O,h=void 0);const u=n===O&&t[i+1].startsWith("/>")?" ":"";o+=n===T?s+_:c>=0?(e.push(r),s.slice(0,c)+f+s.slice(c)+v+u):s+v+(-2===c?i:u)}return[N(t,o+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),e]};class B{constructor({strings:t,_$litType$:i},s){let e;this.parts=[];let h=0,o=0;const n=t.length-1,r=this.parts,[l,a]=U(t,i);if(this.el=B.createElement(l,s),I.currentNode=this.el.content,2===i||3===i){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=I.nextNode())&&r.length<n;){if(1===e.nodeType){if(e.hasAttributes())for(const t of e.getAttributeNames())if(t.endsWith(f)){const i=a[o++],s=e.getAttribute(t).split(v),n=/([.?@])?(.*)/.exec(i);r.push({type:1,index:h,name:n[2],strings:s,ctor:"."===n[1]?Y:"?"===n[1]?Z:"@"===n[1]?q:G}),e.removeAttribute(t)}else t.startsWith(v)&&(r.push({type:6,index:h}),e.removeAttribute(t));if(M.test(e.tagName)){const t=e.textContent.split(v),i=t.length-1;if(i>0){e.textContent=c?c.emptyScript:"";for(let s=0;s<i;s++)e.append(t[s],lt()),I.nextNode(),r.push({type:2,index:++h});e.append(t[i],lt())}}}else if(8===e.nodeType)if(e.data===m)r.push({type:2,index:h});else{let t=-1;for(;-1!==(t=e.data.indexOf(v,t+1));)r.push({type:7,index:h}),t+=v.length-1}h++}}static createElement(t,i){const s=w.createElement("template");return s.innerHTML=t,s}}function z(t,i,s=t,e){if(i===R)return i;let h=void 0!==e?s.o?.[e]:s.l;const o=st(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s.o??=[])[e]=h:s.l=h),void 0!==h&&(i=z(t,h._$AS(t,i.values),h,e)),i}class F{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??w).importNode(i,!0);I.currentNode=e;let h=I.nextNode(),o=0,n=0,r=s[0];for(;void 0!==r;){if(o===r.index){let i;2===r.type?i=new et(h,h.nextSibling,this,t):1===r.type?i=new r.ctor(h,r.name,r.strings,this,t):6===r.type&&(i=new K(h,this,t)),this._$AV.push(i),r=s[++n]}o!==r?.index&&(h=I.nextNode(),o++)}return I.currentNode=w,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class et{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,i,s,e){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this.v=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=z(this,t,i),st(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==R&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):$(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==D&&st(this._$AH)?this._$AA.nextSibling.data=t:this.T(w.createTextNode(t)),this._$AH=t}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=B.createElement(N(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else{const t=new F(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t}}_$AC(t){let i=V.get(t.strings);return void 0===i&&V.set(t.strings,i=new B(t)),i}k(t){g(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new et(this.O(lt()),this.O(lt()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$ARLine truncated
@@ -0,0 +1,6 @@
!function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){"use strict";
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var i,n=new Set,o=new Map;null!==(i=globalThis.litHtmlPolyfillSupport)&&void 0!==i||(globalThis.litHtmlPolyfillSupport=function(i,t){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){return void 0!==i&&!n.has(i)},e=function(i){var n=o.get(i);return void 0===n&&o.set(i,n=[]),n},v=new Map,u=i.createElement;i.createElement=function(n,o){var t=u.call(i,n,o),v=null==o?void 0:o.scope;if(void 0!==v&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,v),d(v))){var l=e(v),r=t.content.querySelectorAll("style");l.push.apply(l,Array.from(r).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var l=document.createDocumentFragment(),r=document.createComment(""),a=t.prototype,s=a._$AI;a._$AI=function(i,t){var v,u;void 0===t&&(t=this);var a=this._$AA.parentNode,w=null===(v=this.options)||void 0===v?void 0:v.scope;if(a instanceof ShadowRoot&&d(w)){var f=this._$AA,c=this._$AB;l.appendChild(r),this._$AA=r,this._$AB=null,s.call(this,i,t);var h=(null==i?void 0:i._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,t){var d,v=e(i),u=0!==v.length;u&&((d=document.createElement("style")).textContent=v.join("\n"),t.content.appendChild(d)),n.add(i),o.delete(i),window.ShadyCSS.prepareTemplateStyles(t,i),u&&window.ShadyCSS.nativeShadow&&null!==(d=t.content.querySelector("style"))&&t.content.appendChild(d)}(w,h),l.removeChild(r),null===(u=window.ShadyCSS)||void 0===u?void 0:u.nativeShadow){var y=h.content.querySelector("style");null!==y&&l.appendChild(y.cloneNode(!0))}a.insertBefore(l,c),this._$AA=f,this._$AB=c}else s.call(this,i,t)},a._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=v.get(t);void 0===d&&v.set(t,d=new Map);var e=d.get(n.strings);return void 0===e&&d.set(n.strings,e=new i(n,this.options)),e}}})}));
@@ -0,0 +1,7 @@
import{_$LH as X,noChange as R}from"lit-html/lit-html.js";
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
let Me=null;const Ie={boundAttributeSuffix:X.M,marker:X.P,markerMatch:X.A,HTML_RESULT:X.C,getTemplateHtml:X.L,overrideDirectiveResolve:(e,t)=>class extends e{_$AS(e,r){return t(this,r)}},patchDirectiveResolve:(e,t)=>{if(e.prototype._$AS!==t){Me??=e.prototype._$AS.name;for(let r=e.prototype;r!==Object.prototype;r=Object.getPrototypeOf(r))if(r.hasOwnProperty(Me))return void(r[Me]=t);throw Error("Internal error: It is possible that both dev mode and production mode Lit was mixed together during SSR. Please comment on the issue: https://github.com/lit/lit/issues/4527")}},setDirectiveClass(e,t){e._$litDirective$=t},getAttributePartCommittedValue:(e,t,r)=>{let i=R;return e.j=e=>i=e,e._$AI(t,e,r),i},connectedDisconnectable:e=>({...e,_$AU:!0}),resolveDirective:X.V,AttributePart:X.H,PropertyPart:X.B,BooleanAttributePart:X.N,EventPart:X.U,ElementPart:X.F,TemplateInstance:X.R,isIterable:X.D,ChildPart:X.I};export{Ie as _$LH};
@@ -0,0 +1,7 @@
import{html as A,svg as C,mathml as L}from"lit-html/lit-html.js";
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const $e=Symbol.for(""),xe=t=>{if(t?.r===$e)return t?._$litStatic$},tr=t=>({_$litStatic$:t,r:$e}),er=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:$e}),Te=new Map,Ee=t=>(r,...e)=>{const a=e.length;let o,s;const i=[],l=[];let n,u=0,c=!1;for(;u<a;){for(n=r[u];u<a&&void 0!==(s=e[u],o=xe(s));)n+=o+r[++u],c=!0;u!==a&&l.push(s),i.push(n),u++}if(u===a&&i.push(r[a]),c){const t=i.join("$$lit$$");void 0===(r=Te.get(t))&&(i.raw=i,Te.set(t,r=i)),e=l}return t(r,...e)},ke=Ee(A),Oe=Ee(C),Se=Ee(L);export{ke as html,er as literal,Se as mathml,Oe as svg,tr as unsafeStatic,Ee as withStatic};
@@ -0,0 +1 @@
export*from"lit-html/async-directive.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/custom-element.js";export*from"@lit/reactive-element/decorators/property.js";export*from"@lit/reactive-element/decorators/state.js";export*from"@lit/reactive-element/decorators/event-options.js";export*from"@lit/reactive-element/decorators/query.js";export*from"@lit/reactive-element/decorators/query-all.js";export*from"@lit/reactive-element/decorators/query-async.js";export*from"@lit/reactive-element/decorators/query-assigned-elements.js";export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/custom-element.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/event-options.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/property.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query-all.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query-assigned-elements.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query-async.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/query.js";
@@ -0,0 +1 @@
export*from"@lit/reactive-element/decorators/state.js";
@@ -0,0 +1 @@
export*from"lit-html/directive-helpers.js";
@@ -0,0 +1 @@
export*from"lit-html/directive.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/async-append.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/async-replace.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/cache.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/choose.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/class-map.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/guard.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/if-defined.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/join.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/keyed.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/live.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/map.js";
@@ -0,0 +1 @@
export*from"lit-html/directives/range.js";
Loaded 100 of 6818 files, more files were not shown because too many files have changed in this diff. Show more