From 7e646ad1016e24cd85616c7756b30ea2d248977c Mon Sep 17 00:00:00 2001 From: marksie1988 Date: Thu, 24 Aug 2023 19:47:13 +0100 Subject: [PATCH 1/5] refactor: updated dependencies and templates --- .devcontainer/post-install.sh | 14 + .devcontainer/recommended-Dockerfile | 13 +- .devcontainer/recommended-devcontainer.json | 51 +- .github/PULL_REQUEST_TEMPLATE.md | 38 + .github/workflows/hacs_validate.yml | 15 +- .github/workflows/release.yml | 66 +- .gitignore | 1 + dist/atomic-calendar-revive.js | 714 ++++++++--- docs/overview/quickstart.rst | 2 +- info.md | 45 - package.json | 40 +- src/index.ts | 140 ++- yarn.lock | 1255 +++++++++++++------ 13 files changed, 1672 insertions(+), 722 deletions(-) create mode 100644 .devcontainer/post-install.sh create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.devcontainer/post-install.sh b/.devcontainer/post-install.sh new file mode 100644 index 00000000..e90aa89d --- /dev/null +++ b/.devcontainer/post-install.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -ex + +# Convenience workspace directory for later use +WORKSPACE_DIR=$(pwd) + +# Now install all dependencies +yarn install + +# Install documentation dependencies +pip3 install -r docs/requirements.txt +pip3 install sphinx-autobuild + +echo "Done!" diff --git a/.devcontainer/recommended-Dockerfile b/.devcontainer/recommended-Dockerfile index e20fc36e..554f4406 100644 --- a/.devcontainer/recommended-Dockerfile +++ b/.devcontainer/recommended-Dockerfile @@ -1,16 +1,9 @@ -FROM node:latest +FROM mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye -RUN apt update +RUN apt update && apt upgrade -y -RUN apt upgrade -y - -RUN apt install python3 zsh -y +RUN apt install -y zsh python3 python3-sphinx python3-pip RUN wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O - | zsh || true -RUN yarn install - -RUN pip3 install -r ../docs/requirements.txt -RUN pip3 install sphinx - CMD ["zsh"] diff --git a/.devcontainer/recommended-devcontainer.json b/.devcontainer/recommended-devcontainer.json index a99b5ef5..fe45a2db 100644 --- a/.devcontainer/recommended-devcontainer.json +++ b/.devcontainer/recommended-devcontainer.json @@ -2,28 +2,31 @@ "name": "Atomic Calendar Revive", "dockerFile": "Dockerfile", "context": "..", - "appPorts": [ - 5000 - ], - "postCreateCommand": "npm install", - "extensions": [ - "github.vscode-pull-request-github", - "yzhang.markdown-all-in-one", - "bierner.lit-html", - "runem.lit-plugin", - "davidanson.vscode-markdownlint", - "redhat.vscode-yaml", - "eamodio.gitlens", - "ms-python.python", - "tht13.html-preview-vscode" - ], - "settings": { - "files.eol": "\n", - "editor.tabSize": 4, - "terminal.integrated.shell.linux": "/bin/zsh", - "editor.formatOnPaste": false, - "editor.formatOnSave": true, - "editor.formatOnType": true, - "files.trimTrailingWhitespace": true - } + "customizations": { + "vscode": { + "settings": { + "files.eol": "\n", + "editor.tabSize": 4, + "terminal.integrated.shell.linux": "/bin/zsh", + "editor.formatOnPaste": false, + "editor.formatOnSave": true, + "editor.formatOnType": true, + "files.trimTrailingWhitespace": true + }, + "extensions": [ + "github.vscode-pull-request-github", + "yzhang.markdown-all-in-one", + "bierner.lit-html", + "runem.lit-plugin", + "davidanson.vscode-markdownlint", + "redhat.vscode-yaml", + "eamodio.gitlens", + "ms-python.python", + "tht13.html-preview-vscode", + "sourcery.sourcery", + "tabnine.tabnine-vscode" + ] + } + }, + "postCreateCommand": "zsh ./.devcontainer/post-install.sh" } diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..f9927a47 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,38 @@ + + +## Description + + + +## Related issues + + + + + +## Motivation and Context + + +## How has this been tested + + + +## Type of change + +Please delete options that are not relevant. + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] This change requires a documentation update + +## Checklist + + +- [ ] My code follows the style guidelines of this project +- [ ] I have performed a self-review of my code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation +- [ ] My changes generate no new warnings +- [ ] Any dependent changes have been merged and published in downstream modules +- [ ] I have updated the version in `package.json` following [semver](https://semver.org/) diff --git a/.github/workflows/hacs_validate.yml b/.github/workflows/hacs_validate.yml index 8732da36..ff7f04c7 100644 --- a/.github/workflows/hacs_validate.yml +++ b/.github/workflows/hacs_validate.yml @@ -1,17 +1,18 @@ -name: Validate HACS +name: Validate on: push: pull_request: schedule: - - cron: "0 0 1 * *" + - cron: "0 0 * * *" + workflow_dispatch: + jobs: - validate: + validate-hacs: runs-on: "ubuntu-latest" steps: - - uses: "actions/checkout@v2" + - uses: "actions/checkout@v3" - name: HACS validation - uses: "hacs/integration/action@master" + uses: "hacs/action@main" with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CATEGORY: "plugin" + category: "plugin" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e596a6c..e0cccd77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,23 +2,79 @@ name: release on: push: - tags: - - "v*" + branches: + - main workflow_dispatch: jobs: release: name: Create release - if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest steps: - name: Getting your configuration from GitHub uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: 14 + + - name: Install dependencies + run: yarn install + + - name: Check if TypeScript files changed + id: check-ts-changes + run: echo ::set-output name=changed::$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '\.ts$' | wc -l) + + - name: Get latest tag + id: get-latest-tag + run: echo ::set-output name=latest_tag::$(git describe --tags --abbrev=0 | sed 's/^v//') + + - name: Get current version + id: get-version + run: echo ::set-output name=version::$(node -pe "require('./package.json').version") + + - name: Check if version is higher + id: check-version + run: echo ::set-output name=is_higher::$(node -pe "const semver = require('semver'); semver.gt('${{ steps.get-version.outputs.version }}', '${{ steps.get-latest-tag.outputs.latest_tag }}')") + + - name: Check if semver label is valid + id: check-semver + if: steps.check-ts-changes.outputs.changed == 'true' + run: | + const labelsInput = ${{ toJSON(github.event.pull_request.labels) }}; + const currentVersion = ${{ steps.get-version.outputs.version }}; + const isMajor = labelsInput.some(label => label.name === 'semver/major' || label.name === 'type/breaking'); + const isMinor = labelsInput.some(label => label.name === 'semver/minor' || label.name === 'type/feature); + const isPatch = labelsInput.some(label => label.name === 'semver/patch' || label.name === 'type/bug); + + const isSemverValid = () => { + if (isMajor) { + return currentVersion.includes('0.0.0'); + } else if (isMinor) { + return currentVersion.includes('0.0.'); + } else if (isPatch) { + return currentVersion.includes('0.'); + } else { + return false + } + }; + echo ::set-output name=is_valid::$(isSemverValid) + + - name: Build project + if: steps.check-ts-changes.outputs.changed == 'true' && steps.check-semver.outputs.is_valid == 'true' && steps.check-version.outputs.is_higher == 'true' + run: yarn run build + - name: 🛎️ Create release - id: create_release + if: steps.check-ts-changes.outputs.changed == 'true' && steps.check-semver.outputs.is_valid == 'true' && steps.check-version.outputs.is_higher == 'true' uses: softprops/action-gh-release@v1 with: + files: dist/atomic-calendar-revive.js + tag_name: ${{ steps.get-version.outputs.version }} + name: Release ${{ steps.get-version.outputs.version }} + token: ${{ secrets.GITHUB_TOKEN }} generate_release_notes: true - prerelease: ${{ contains(needs.tag_version.outputs.tag, '-rc*') || contains(needs.tag_version.outputs.tag, '-b*') || contains(needs.tag_version.outputs.tag, '-a*') }} + - name: 🏷️ Update latest tag + if: steps.check-ts-changes.outputs.changed == 'true' && steps.check-semver.outputs.is_valid == 'true' && steps.check-version.outputs.is_higher == 'true' uses: EndBug/latest-tag@latest diff --git a/.gitignore b/.gitignore index 19272441..80c670d3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ dist/* .devcontainer/* !.devcontainer/recommended-devcontainer.json !.devcontainer/recommended-Dockerfile +!.devcontainer/post-install.sh .vscode/* diff --git a/dist/atomic-calendar-revive.js b/dist/atomic-calendar-revive.js index 8f869b21..872a256b 100644 --- a/dist/atomic-calendar-revive.js +++ b/dist/atomic-calendar-revive.js @@ -1,95 +1,65 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AtomicCalendarRevive={})}(this,(function(t){"use strict";function e(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},i(t,e)};function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return a=Object.assign||function(t){for(var e,i=1,n=arguments.length;i=0;s--)(a=t[s])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r}function r(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")} +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).AtomicCalendarRevive={})}(this,(function(t){"use strict";function e(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},i(t,e)};function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")} /** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const s=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),l=new Map;const c=t=>new class{constructor(t,e){if(this._$cssResult$=!0,e!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=l.get(this.cssText);return s&&void 0===t&&(l.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}("string"==typeof t?t:t+"",d),m=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return c(e)})(t):t + */const a=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),l=new Map;let c=class{constructor(t,e){if(this._$cssResult$=!0,e!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=l.get(this.cssText);return a&&void 0===t&&(l.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}};const h=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,n)=>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.")})(i)+t[n+1]),t[0]);return new c(i,d)},u=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new c("string"==typeof t?t:t+"",d))(e)})(t):t /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */;var h;const u=window.trustedTypes,p=u?u.emptyScript:"",f=window.reactiveElementPolyfillSupport,g={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){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}},v=(t,e)=>e!==t&&(e==e||t==t),_={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:v};let b=class extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const n=this._$Eh(i,e);void 0!==n&&(this._$Eu.set(n,i),t.push(n))})),t}static createProperty(t,e=_){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const a=this[t];this[e]=n,this.requestUpdate(t,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||_}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(m(t))}else void 0!==t&&e.push(m(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{s?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=_){var n,a;const o=this.constructor._$Eh(t,i);if(void 0!==o&&!0===i.reflect){const r=(null!==(a=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==a?a:g.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Ei=null}}_$AK(t,e){var i,n,a;const o=this.constructor,r=o._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=o.getPropertyOptions(r),s=t.converter,d=null!==(a=null!==(n=null===(i=s)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof s?s:null)&&void 0!==a?a:g.fromAttribute;this._$Ei=r,this[r]=d(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}; + */;var m;const p=window.trustedTypes,f=p?p.emptyScript:"",v=window.reactiveElementPolyfillSupport,g={toAttribute(t,e){switch(e){case Boolean:t=t?f:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){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}},_=(t,e)=>e!==t&&(e==e||t==t),y={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:_};let b=class extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const n=this._$Eh(i,e);void 0!==n&&(this._$Eu.set(n,i),t.push(n))})),t}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const o=this[t];this[e]=n,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||y}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=y){var n,o;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const s=(null!==(o=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==o?o:g.toAttribute)(e,i.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,e){var i,n,o;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,d=null!==(o=null!==(n=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof a?a:null)&&void 0!==o?o:g.fromAttribute;this._$Ei=s,this[s]=d(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||_)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var y;b.finalized=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==f||f({ReactiveElement:b}),(null!==(h=globalThis.reactiveElementVersions)&&void 0!==h?h:globalThis.reactiveElementVersions=[]).push("1.2.1");const x=window,w=x.trustedTypes,k=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,E="$lit$",M=`lit$${(Math.random()+"").slice(9)}$`,T="?"+M,L=`<${T}>`,S=document,D=()=>S.createComment(""),C=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,I="[ \t\n\f\r]",Y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,F=/>/g,R=RegExp(`>|${I}(?:([^\\s"'>=/]+)(${I}*=${I}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),H=/'/g,N=/"/g,$=/^(?:script|style|textarea|title)$/i,z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),P=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),V=new WeakMap,B=S.createTreeWalker(S,129,null,!1);class U{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let a=0,o=0;const r=t.length-1,s=this.parts,[d,l]=((t,e)=>{const i=t.length-1,n=[];let a,o=2===e?"":"",r=Y;for(let e=0;e"===d[0]?(r=null!=a?a:Y,l=-1):void 0===d[1]?l=-2:(l=r.lastIndex-d[2].length,s=d[1],r=void 0===d[3]?R:'"'===d[3]?N:H):r===N||r===H?r=R:r===O||r===F?r=Y:(r=R,a=void 0);const m=r===R&&t[e+1].startsWith("/>")?" ":"";o+=r===Y?i+L:l>=0?(n.push(s),i.slice(0,l)+E+i.slice(l)+M+m):i+M+(-2===l?(n.push(void 0),e):m)}const s=o+(t[i]||"")+(2===e?"":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(s):s,n]})(t,e);if(this.el=U.createElement(d,i),B.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=B.nextNode())&&s.length0){n.textContent=w?w.emptyScript:"";for(let i=0;iA(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==j&&C(this._$AH)?this._$AA.nextSibling.data=t:this.$(S.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:n}=t,a="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=U.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===a)this._$AH.v(i);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:n}=this._$AD,a=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:S).importNode(i,!0);B.currentNode=a;let o=B.nextNode(),r=0,s=0,d=n[0];for(;void 0!==d;){if(r===d.index){let e;2===d.type?e=new q(o,o.nextSibling,this,t):1===d.type?e=new d.ctor(o,d.name,d.strings,this,t):6===d.type&&(e=new Q(o,this,t)),this._$AV.push(e),d=n[++s]}r!==(null==d?void 0:d.index)&&(o=B.nextNode(),r++)}return B.currentNode=S,a}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}(a,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new U(t)),e}T(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const a of t)n===e.length?e.push(i=new q(this.k(D()),this.k(D()),this,this.options)):i=e[n],i._$AI(a),n++;n2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const a=this.strings;let o=!1;if(void 0===a)t=W(this,t,e,0),o=!C(t)||t!==this._$AH&&t!==P,o&&(this._$AH=t);else{const n=t;let r,s;for(t=a[0],r=0;r{const i=1===t.length?t[0]:e.reduce(((e,i,n)=>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.")})(i)+t[n+1]),t[0]);return new at(i,it)},rt=et?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new at("string"==typeof t?t:t+"",it))(e)})(t):t -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */;var st;const dt=window.trustedTypes,lt=dt?dt.emptyScript:"",ct=window.reactiveElementPolyfillSupport,mt={toAttribute(t,e){switch(e){case Boolean:t=t?lt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){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}},ht=(t,e)=>e!==t&&(e==e||t==t),ut={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:ht};class pt extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const n=this._$Eh(i,e);void 0!==n&&(this._$Eu.set(n,i),t.push(n))})),t}static createProperty(t,e=ut){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const a=this[t];this[e]=n,this.requestUpdate(t,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||ut}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(rt(t))}else void 0!==t&&e.push(rt(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{et?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=ut){var n,a;const o=this.constructor._$Eh(t,i);if(void 0!==o&&!0===i.reflect){const r=(null!==(a=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==a?a:mt.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Ei=null}}_$AK(t,e){var i,n,a;const o=this.constructor,r=o._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=o.getPropertyOptions(r),s=t.converter,d=null!==(a=null!==(n=null===(i=s)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof s?s:null)&&void 0!==a?a:mt.fromAttribute;this._$Ei=r,this[r]=d(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||ht)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}} +var x;b.finalized=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:b}),(null!==(m=globalThis.reactiveElementVersions)&&void 0!==m?m:globalThis.reactiveElementVersions=[]).push("1.2.1");const w=window,E=w.trustedTypes,k=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,S="$lit$",M=`lit$${(Math.random()+"").slice(9)}$`,T="?"+M,C=`<${T}>`,A=document,L=()=>A.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,O="[ \t\n\f\r]",I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,Y=/>/g,H=RegExp(`>|${O}(?:([^\\s"'>=/]+)(${O}*=${O}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,F=/"/g,N=/^(?:script|style|textarea|title)$/i,z=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),j=new WeakMap,V=A.createTreeWalker(A,129,null,!1);function B(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==k?k.createHTML(e):e}let W=class t{constructor({strings:e,_$litType$:i},n){let o;this.parts=[];let r=0,s=0;const a=e.length-1,d=this.parts,[l,c]=((t,e)=>{const i=t.length-1,n=[];let o,r=2===e?"":"",s=I;for(let e=0;e"===d[0]?(s=null!=o?o:I,l=-1):void 0===d[1]?l=-2:(l=s.lastIndex-d[2].length,a=d[1],s=void 0===d[3]?H:'"'===d[3]?F:P):s===F||s===P?s=H:s===R||s===Y?s=I:(s=H,o=void 0);const h=s===H&&t[e+1].startsWith("/>")?" ":"";r+=s===I?i+C:l>=0?(n.push(a),i.slice(0,l)+S+i.slice(l)+M+h):i+M+(-2===l?(n.push(void 0),e):h)}return[B(t,r+(t[i]||"")+(2===e?"":"")),n]})(e,i);if(this.el=t.createElement(l,n),V.currentNode=this.el.content,2===i){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=V.nextNode())&&d.length0){o.textContent=E?E.emptyScript:"";for(let i=0;iD(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==U&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:n}=t,o="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=W.createElement(B(n.h,n.h[0]),this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.v(i);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:n}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:A).importNode(i,!0);V.currentNode=o;let r=V.nextNode(),s=0,a=0,d=n[0];for(;void 0!==d;){if(s===d.index){let e;2===d.type?e=new K(r,r.nextSibling,this,t):1===d.type?e=new d.ctor(r,d.name,d.strings,this,t):6===d.type&&(e=new tt(r,this,t)),this._$AV.push(e),d=n[++a]}s!==(null==d?void 0:d.index)&&(r=V.nextNode(),s++)}return V.currentNode=A,o}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}(o,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=j.get(t.strings);return void 0===e&&j.set(t.strings,e=new W(t)),e}T(e){D(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let n,o=0;for(const r of e)o===i.length?i.push(n=new t(this.k(L()),this.k(L()),this,this.options)):n=i[o],n._$AI(r),o++;o2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const o=this.strings;let r=!1;if(void 0===o)t=q(this,t,e,0),r=!$(t)||t!==this._$AH&&t!==z,r&&(this._$AH=t);else{const n=t;let s,a;for(t=o[0],s=0;s{var n,a;const o=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let r=o._$litPart$;if(void 0===r){const t=null!==(a=null==i?void 0:i.renderBefore)&&void 0!==a?a:null;o._$litPart$=r=new q(e.insertBefore(D(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return P}};vt.finalized=!0,vt._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:vt});const _t=globalThis.litElementPolyfillSupport;null==_t||_t({LitElement:vt}),(null!==(gt=globalThis.litElementVersions)&&void 0!==gt?gt:globalThis.litElementVersions=[]).push("3.3.2"); +var it;null==et||et(W,K),(null!==(x=w.litHtmlVersions)&&void 0!==x?x:w.litHtmlVersions=[]).push("2.8.0");const nt=window,ot=nt.trustedTypes,rt=ot?ot.createPolicy("lit-html",{createHTML:t=>t}):void 0,st="$lit$",at=`lit$${(Math.random()+"").slice(9)}$`,dt="?"+at,lt=`<${dt}>`,ct=document,ht=()=>ct.createComment(""),ut=t=>null===t||"object"!=typeof t&&"function"!=typeof t,mt=Array.isArray,pt="[ \t\n\f\r]",ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vt=/-->/g,gt=/>/g,_t=RegExp(`>|${pt}(?:([^\\s"'>=/]+)(${pt}*=${pt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),yt=/'/g,bt=/"/g,xt=/^(?:script|style|textarea|title)$/i,wt=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Et=Symbol.for("lit-noChange"),kt=Symbol.for("lit-nothing"),St=new WeakMap,Mt=ct.createTreeWalker(ct,129,null,!1);let Tt=class t{constructor({strings:e,_$litType$:i},n){let o;this.parts=[];let r=0,s=0;const a=e.length-1,d=this.parts,[l,c]=((t,e)=>{const i=t.length-1,n=[];let o,r=2===e?"":"",s=ft;for(let e=0;e"===d[0]?(s=null!=o?o:ft,l=-1):void 0===d[1]?l=-2:(l=s.lastIndex-d[2].length,a=d[1],s=void 0===d[3]?_t:'"'===d[3]?bt:yt):s===bt||s===yt?s=_t:s===vt||s===gt?s=ft:(s=_t,o=void 0);const h=s===_t&&t[e+1].startsWith("/>")?" ":"";r+=s===ft?i+lt:l>=0?(n.push(a),i.slice(0,l)+st+i.slice(l)+at+h):i+at+(-2===l?(n.push(void 0),e):h)}const a=r+(t[i]||"")+(2===e?"":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==rt?rt.createHTML(a):a,n]})(e,i);if(this.el=t.createElement(l,n),Mt.currentNode=this.el.content,2===i){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Mt.nextNode())&&d.length0){o.textContent=ot?ot.emptyScript:"";for(let i=0;imt(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==kt&&ut(this._$AH)?this._$AA.nextSibling.data=t:this.$(ct.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:n}=t,o="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=Tt.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.v(i);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:n}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:ct).importNode(i,!0);Mt.currentNode=o;let r=Mt.nextNode(),s=0,a=0,d=n[0];for(;void 0!==d;){if(s===d.index){let e;2===d.type?e=new At(r,r.nextSibling,this,t):1===d.type?e=new d.ctor(r,d.name,d.strings,this,t):6===d.type&&(e=new Rt(r,this,t)),this._$AV.push(e),d=n[++a]}s!==(null==d?void 0:d.index)&&(r=Mt.nextNode(),s++)}return Mt.currentNode=ct,o}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}(o,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=St.get(t.strings);return void 0===e&&St.set(t.strings,e=new Tt(t)),e}T(e){mt(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let n,o=0;for(const r of e)o===i.length?i.push(n=new t(this.k(ht()),this.k(ht()),this,this.options)):n=i[o],n._$AI(r),o++;o2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=kt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const o=this.strings;let r=!1;if(void 0===o)t=Ct(this,t,e,0),r=!ut(t)||t!==this._$AH&&t!==Et,r&&(this._$AH=t);else{const n=t;let s,a;for(t=o[0],s=0;se=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:n}=e;return{kind:i,elements:n,finisher(e){window.customElements.define(t,e)}}})(t,e) -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */,yt=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function xt(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):yt(t,e) +var Ht,Pt;let Ft=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var n,o;const r=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let s=r._$litPart$;if(void 0===s){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;r._$litPart$=s=new At(e.insertBefore(ht(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Et}};Ft.finalized=!0,Ft._$litElement$=!0,null===(Ht=globalThis.litElementHydrateSupport)||void 0===Ht||Ht.call(globalThis,{LitElement:Ft});const Nt=globalThis.litElementPolyfillSupport;null==Nt||Nt({LitElement:Ft}),(null!==(Pt=globalThis.litElementVersions)&&void 0!==Pt?Pt:globalThis.litElementVersions=[]).push("3.3.2"); /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */}function wt(t){return xt({...t,state:!0})} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const kt=({finisher:t,descriptor:e})=>(i,n)=>{var a;if(void 0===n){const n=null!==(a=i.originalKey)&&void 0!==a?a:i.key,o=null!=e?{kind:"method",placement:"prototype",key:n,descriptor:e(i.key)}:{...i,key:n};return null!=t&&(o.finisher=function(e){t(e,n)}),o}{const a=i.constructor;void 0!==e&&Object.defineProperty(i,n,e(n)),null==t||t(a,n)}} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */;function Et(t){return kt({finisher:(e,i)=>{Object.assign(e.prototype[i],t)}})} + */ +const zt=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:n}=e;return{kind:i,elements:n,finisher(e){window.customElements.define(t,e)}}})(t,e) /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function Mt(t,e){return kt({descriptor:i=>{const n={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[e]&&(this[e]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==n?n:null),this[e]}}return n}})} + */,Ut=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function jt(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):Ut(t,e) /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function Tt(t){return kt({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})} + */}function Vt(t){return jt({...t,state:!0})} /** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var Lt;const St=null!=(null===(Lt=window.HTMLSlotElement)||void 0===Lt?void 0:Lt.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE)); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -function Dt(t,e,i){let n,a=t;return"object"==typeof t?(a=t.slot,n=t):n={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return kt({descriptor:n=>({get(){var n;const a="slot"+(e?`[name=${e}]`:":not([name])"),o=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(a),r=null!=o?St(o,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:a,flatten:e,selector:i}):kt({descriptor:t=>({get(){var t,e;const i="slot"+(a?`[name=${a}]`:":not([name])"),o=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==o?void 0:o.assignedNodes(n))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}var Ct,At;!function(t){t.language="language",t.system="system",t.comma_decimal="comma_decimal",t.decimal_comma="decimal_comma",t.space_comma="space_comma",t.none="none"}(Ct||(Ct={})),function(t){t.language="language",t.system="system",t.am_pm="12",t.twenty_four="24"}(At||(At={}));var It=function(t,e,i,n){n=n||{},i=null==i?{}:i;var a=new Event(e,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed});return a.detail=i,t.dispatchEvent(a),a};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function Yt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ot={exports:{}};!function(t,e){t.exports=function(){var t=1e3,e=6e4,i=36e5,n="millisecond",a="second",o="minute",r="hour",s="day",d="week",l="month",c="quarter",m="year",h="date",u="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}},v=function(t,e,i){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(i)+t},_={s:v,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),n=Math.floor(i/60),a=i%60;return(e<=0?"+":"-")+v(n,2,"0")+":"+v(a,2,"0")},m:function t(e,i){if(e.date()1)return t(r[0])}else{var s=e.name;y[s]=e,a=s}return!n&&a&&(b=a),a||!n&&b},k=function(t,e){if(x(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new M(i)},E=_;E.l=w,E.i=x,E.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var M=function(){function g(t){this.$L=w(t.locale,null,!0),this.parse(t)}var v=g.prototype;return v.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(E.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(p);if(n){var a=n[2]-1||0,o=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return E},v.isValid=function(){return!(this.$d.toString()===u)},v.isSame=function(t,e){var i=k(t);return this.startOf(e)<=i&&i<=this.endOf(e)},v.isAfter=function(t,e){return k(t)68?1900:2e3)},s=function(t){return function(e){this[t]=+e}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],l=function(t){var e=o[t];return e&&(e.indexOf?e:e.s.concat(e.f))},c=function(t,e){var i,n=o.meridiem;if(n){for(var a=1;a<=24;a+=1)if(t.indexOf(n(a,0,e))>-1){i=a>12;break}}else i=t===(e?"pm":"PM");return i},m={A:[a,function(t){this.afternoon=c(t,!1)}],a:[a,function(t){this.afternoon=c(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[i,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[n,s("seconds")],ss:[n,s("seconds")],m:[n,s("minutes")],mm:[n,s("minutes")],H:[n,s("hours")],h:[n,s("hours")],HH:[n,s("hours")],hh:[n,s("hours")],D:[n,s("day")],DD:[i,s("day")],Do:[a,function(t){var e=o.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var n=1;n<=31;n+=1)e(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],M:[n,s("month")],MM:[i,s("month")],MMM:[a,function(t){var e=l("months"),i=(l("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],MMMM:[a,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,s("year")],YY:[i,function(t){this.year=r(t)}],YYYY:[/\d{4}/,s("year")],Z:d,ZZ:d};function h(i){var n,a;n=i,a=o&&o.formats;for(var r=(i=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,i,n){var o=n&&n.toUpperCase();return i||a[n]||t[n]||a[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,i){return e||i.slice(1)}))}))).match(e),s=r.length,d=0;d-1)return new Date(("X"===e?1e3:1)*t);var n=h(e)(t),a=n.year,o=n.month,r=n.day,s=n.hours,d=n.minutes,l=n.seconds,c=n.milliseconds,m=n.zone,u=new Date,p=r||(a||o?1:u.getDate()),f=a||u.getFullYear(),g=0;a&&!o||(g=o>0?o-1:u.getMonth());var v=s||0,_=d||0,b=l||0,y=c||0;return m?new Date(Date.UTC(f,g,p,v,_,b,y+60*m.offset*1e3)):i?new Date(Date.UTC(f,g,p,v,_,b,y)):new Date(f,g,p,v,_,b,y)}catch(t){return new Date("")}}(e,s,n),this.init(),m&&!0!==m&&(this.$L=this.locale(m).$L),c&&e!=this.format(s)&&(this.$d=new Date("")),o={}}else if(s instanceof Array)for(var u=s.length,p=1;p<=u;p+=1){r[1]=s[p-1];var f=i.apply(this,r);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}p===u&&(this.$d=new Date(""))}else a.call(this,t)}}}()}(Ht);var Nt=Yt(Ht.exports),$t={exports:{}};!function(t,e){t.exports=function(t,e,i){e.prototype.isBetween=function(t,e,n,a){var o=i(t),r=i(e),s="("===(a=a||"()")[0],d=")"===a[1];return(s?this.isAfter(o,n):!this.isBefore(o,n))&&(d?this.isBefore(r,n):!this.isAfter(r,n))||(s?this.isBefore(o,n):!this.isAfter(o,n))&&(d?this.isAfter(r,n):!this.isBefore(r,n))}}}($t);var zt,Pt=Yt($t.exports);class jt{constructor(t,e){this.calendarDay=t,this._lp=e,this.ymd=Rt(t).format("YYYY-MM-DD"),this._allEvents=[]}get date(){return Rt(this.calendarDay)}set allEvents(t){this._allEvents=t}get allEvents(){return this._allEvents}}class Vt{constructor(t,e){this._eventClass=t,this._globalConfig=e,this.isEmpty=!1}get rawEvent(){return this._eventClass}get id(){return(this.rawEvent.id||this.rawEvent.uid)+this.title}get originCalendar(){return this.rawEvent.originCalendar}get entity(){return this._eventClass.hassEntity||{}}get entityConfig(){return this._eventClass.entity||{}}get originName(){const{originCalendar:t}=this;if(t&&t.name)return t.name;const{entity:e}=this;return e&&e.attributes&&e.attributes.friendly_name?e.attributes.friendly_name:t&&t.entity?t.entity:e&&e.entity||e||"Unknown"}get startDateTime(){if(void 0===this._startDateTime){const t=this.rawEvent.start&&this.rawEvent.start.date||this.rawEvent.start.dateTime||this.rawEvent.start||"";this._startDateTime=this._processDate(t)}return this._startDateTime.clone()}get endDateTime(){if(void 0===this._endDateTime){const t=this.rawEvent.end&&this.rawEvent.end.date||this.rawEvent.end.dateTime||this.rawEvent.end;this._endDateTime=this._processDate(t,!0)}return this._endDateTime.clone()}get addDays(){return void 0!==this.rawEvent.addDays&&this.rawEvent.addDays}get daysLong(){return this.rawEvent.daysLong}get isFirstDay(){return this.rawEvent._isFirstDay}get isLastDay(){return this.rawEvent._isLastDay}_processDate(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?(t=Rt(t),!1!==this.addDays&&(!e&&this.addDays&&(t=t.add(this.addDays,"days")),!this.isLastDay&&e?t=Rt(this.startDateTime).endOf("day"):this.isLastDay&&!e&&(t=t.startOf("day"))),t):t}get isRecurring(){return!!this.rawEvent.recurringEventId}get isDeclined(){return 0!==(this.rawEvent.attendees||[]).filter((t=>t.self&&"declined"===t.responseStatus)).length}get isRunning(){return this.startDateTime.isBefore(Rt())&&this.endDateTime.isAfter(Rt())}get isFinished(){return this.endDateTime.isBefore(Rt())}get htmlLink(){return this.rawEvent.htmlLink||""}get sourceUrl(){return this.rawEvent.source&&this.rawEvent.source.url||""}get isMultiDay(){if(this.endDateTime.diff(this.startDateTime,"hours")>24)return!0;const t=Math.abs(this.startDateTime.date()-this.endDateTime.subtract(1,"minute").date());return(1!==t||0!==this.endDateTime.hour()||0!==this.endDateTime.minute())&&!!t}get isAllDayEvent(){const t=0===this.startDateTime.startOf("day").diff(this.startDateTime),e=0===this.endDateTime.startOf("day").diff(this.endDateTime);return!(!t||!e)||(!(this.isFirstDay||this.isLastDay||!this.daysLong)||t&&e)}splitIntoMultiDay(t){const e=[];let i=2;const n=Math.round(this.endDateTime.subtract(1,"minutes").endOf("day").diff(this.startDateTime.startOf("day"),"hours")/24);n&&(i=n);for(let n=0;n0;const o=new Vt(a,this._globalConfig);Rt().startOf("day").add(this._globalConfig.maxDaysToShow,"days").isAfter(o.startDateTime)&&Rt().startOf("day").subtract(1,"minute").isBefore(o.startDateTime)&&e.push(o)}return e}get titleColor(){return this.entityConfig.eventTitleColor?this.entityConfig.eventTitleColor:"var(--primary-text-color)"}get title(){return this.rawEvent.summary?this.rawEvent.summary:this.entityConfig.eventTitle?this.entityConfig.eventTitle:this._globalConfig.eventTitle}get description(){return new RegExp("^Observance","i").test(this.rawEvent.description)?"":this.rawEvent.description}get startTimeToShow(){const t=this.startDateTime;return!Rt(t).isBefore(Rt().startOf("day"))||this._globalConfig.startDaysAhead<0?t:Rt().startOf("day")}get daysToSort(){return this.startTimeToShow.format("YYYYMMDD")}get location(){return this.rawEvent.location?this.rawEvent.location.split(" ").join("+"):""}get address(){return this.rawEvent.location?this.rawEvent.location.split(",")[0]:""}get visibility(){return this.rawEvent.visibility}}async function Bt(t,e,i){const n=function(t,e){const i=e.startOf("month"),n=i.day(),a=[];let o=0;o=n-t.firstDayOfWeek>=0?0:7;for(let e=t.firstDayOfWeek-n-o;e<42-n+t.firstDayOfWeek-o;e++)a.push(new jt(i.add(e,"day"),e));return a}(t,i),{events:a,failedEvents:o}=await Ut(n[0].date,n[41].date,t,e);return n.map((t=>(a.map((e=>{e.startDateTime.isSame(t.date,"day")&&t.allEvents.push(e)})),t))),n}async function Ut(t,e,i,n){const a=Rt(),o="YYYY-MM-DDTHH:mm:ss",r=-Rt().utcOffset(),s=t.startOf("day").add(r,"minutes").format(o),d=e.endOf("day").add(r,"minutes").format(o),l=[],c=[],m=[];return i.entities.map((t=>{const e=t&&t.entity||t,h=void 0!==t.maxDaysToShow?a.endOf("day").add(t.maxDaysToShow-1+i.startDaysAhead,"day").add(r,"minutes").format(o):d,u="calendars/".concat(t.entity,"?start=").concat(s,"Z&end=").concat(h,"Z");m.push(n.callApi("GET",u).then((i=>(i.map((i=>{i.entity=t,i.calendarEntity=e,i.hassEntity=n.states[e]})),i))).then((t=>{l.push(...t)})).catch((i=>{c.push({name:t.name||e,error:i})})))})),await Promise.all(m),{failedEvents:c,events:Wt(l,i)}}function Wt(t,e){let i=t.reduce(((t,i)=>{i.originCalendar=e.entities.find((t=>t.entity===i.entity.entity));const n=new Vt(i,e);if(e.hideDeclined&&n.isDeclined)return t;if(n.entityConfig.blocklist&&n.title){if(new RegExp(n.entityConfig.blocklist,"i").test(n.title))return t}if(n.entityConfig.blocklistLocation&&n.location){if(new RegExp(n.entityConfig.blocklistLocation,"i").test(n.location))return t}if(n.entityConfig.allowlist&&n.title){if(!new RegExp(n.entityConfig.allowlist,"i").test(n.title))return t}if(n.entityConfig.allowlistLocation&&n.location){if(!new RegExp(n.entityConfig.allowlistLocation,"i").test(n.location))return t}if(n.entityConfig.startTimeFilter&&n.entityConfig.endTimeFilter&&!function(t,e,i){const n=e.split(":",1)[0],a=e.split(":",2)[1],o=t.startDateTime.set("hour",n).set("minutes",a),r=i.split(":",1)[0],s=i.split(":",2)[1],d=t.startDateTime.set("hour",r).set("minutes",s);return t.startDateTime.isBetween(o,d,"minute","[]")}(n,n.entityConfig.startTimeFilter,n.entityConfig.endTimeFilter))return t;if(e.showMultiDay&&n.isMultiDay){const e=n.splitIntoMultiDay(n);t=t.concat(e)}else t.push(n);return t}),[]);var n;return e.hideFinishedEvents&&(i=i.filter((function(t){return 0==t.isFinished}))),e.hideDuplicates&&(i=i.filter((n=Object.create(null),t=>(t=>!n[t]&&(n[t]=!0))(t.title+"|"+t.startDateTime+"|"+t.endDateTime)))),e.sortByStartTime&&i.sort(((t,e)=>t.startDateTime.isBefore(e.startDateTime)?-1:1)),e.maxEventCount&&(!e.softLimit&&e.maxEventCounte.maxEventCount+e.softLimit)&&(i.length=e.maxEventCount),i=function(t,e){const i=t.filter((t=>t.isAllDayEvent)),n=t.filter((t=>!t.isAllDayEvent));return i.sort(((t,i)=>{const n=e.find((e=>e.entity===t.entity.entity_id)),a=e.find((t=>t.entity===i.entity.entity_id));if(!n||!a)return 0;const o=e.indexOf(n),r=e.indexOf(a);return o===r?t.title.localeCompare(i.title):o-r})),[...i,...n]}(i,e.entities),i}Rt.extend(Nt),Rt.extend(Pt);const qt=ot(zt||(zt=e(["\n\t\t.cal-card {\n\t\t\tcursor: default;\n\t\t\tpadding: 16px;\n\t\t\theight: var(--card-height);\n\t\t\toverflow: auto;\n\t\t}\n\n\n\t\t.header {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\t\t\tjustify-content: space-between;\n\t\t\tvertical-align: middle;\n\t\t\talign-items: center;\n\t\t\tmargin: 0 8px 0 2px;\n\t\t}\n\n\t\t.headerName {\n\t\t\tfont-family: var(--paper-font-headline_-_font-family);\n\t\t\t-webkit-font-smoothing: var(--paper-font-headline_-_-webkit-font-smoothing);\n\t\t\tfont-size: var(--paper-font-headline_-_font-size);\n\t\t\tfont-weight: var(--paper-font-headline_-_font-weight);\n\t\t\tletter-spacing: var(--paper-font-headline_-_letter-spacing);\n\t\t\tline-height: var(--paper-font-headline_-_line-height);\n\t\t\ttext-rendering: var(--paper-font-common-expensive-kerning_-_text-rendering);\n\t\t\topacity: var(--dark-primary-opacity);\n\t\t\tpadding: 4px 8px 12px 0px;\n\t\t\tfloat: left;\n\t\t}\n\n\t\t.headerNameSuperCompact {\n font-family: var(--paper-font-headline_-_font-family);\n -webkit-font-smoothing: var(--paper-font-headline_-_-webkit-font-smoothing);\n font-size: var(--paper-font-headline_-_font-size);\n font-weight: var(--paper-font-headline_-_font-weight);\n letter-spacing: var(--paper-font-headline_-_letter-spacing);\n line-height: var(--paper-font-headline_-_line-height);\n text-rendering: var(--paper-font-common-expensive-kerning_-_text-rendering);\n opacity: var(--dark-primary-opacity);\n float: left;\n font-size: 1rem;\n }\n\n\t\t.headerDate {\n\t\t\tfont-size: var(--paper-font-headline_-_font-size);\n\t\t\tfont-size: 1.3rem;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: var(--primary-text-color);\n\t\t\tpadding: 4px 8px 12px 0px;\n\t\t\tline-height: var(--paper-font-headline_-_line-height);\n\t\t\tfloat: right;\n\t\t}\n\n\t\t.headerDateSuperCompact {\n font-size: var(--paper-font-headline_-_font-size);\n font-size: 1.3rem;\n font-weight: 400;\n color: var(--primary-text-color);\n line-height: var(--paper-font-headline_-_line-height);\n float: right;\n font-size: 1rem;\n }\n\n\t\ttable {\n\t\t\tcolor: black;\n\t\t\tmargin-left: 0px;\n\t\t\tmargin-right: 0px;\n\t\t\tborder-spacing: 10px 5px;\n\t\t\tborder-collapse: collapse;\n\t\t}\n\n\t\ttd {\n\t\t\tpadding: 4px 0 4px 0;\n\t\t}\n\n\t\t.daywrap {\n\t\t\tpadding: 2px 0 4px 0;\n\t\t\tborder-top: 1px solid;\n\t\t}\n\n\t\ttr {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t.event-left {\n\t\t\tpadding: 4px 10px 3px 8px;\n\t\t\ttext-align: center;\n\t\t\tvertical-align: top;\n\t\t}\n\n\t\t.event-leftSuperCompact {\n padding: 1px 1px 1px 1px;\n text-align: center;\n vertical-align: top;\n }\n\n\t\t.event-leftCurrentDay {\n\t\t\twidth: 40px;\n\t\t}\n\n\t\t.week-number{\n\t\t\tcolor: var(--primary-color);\n\t\t\t-webkit-border-radius: 5px;\n\t\t\tborder-radius: 5px;\n\t\t\tborder: 2px solid;\n\t\t\tpadding: 0 4px;\n\t\t\tmargin: 5px 0;\n\t\t\tline-height: 16px;\n\t\t\twidth: 100%;\n\t\t\ttext-align: center;\n\t\t}\n\n\t\t.daywrap > td {\n\t\t\tpadding-top: 8px;\n\t\t}\n\n\t\t.event-right {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 0px 5px 0 5px;\n\t\t}\n\n\t\t.event-description {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 0px 5px 0 5px;\n\t\t\tcolor: var(--description-color);\n\t\t\tfont-size: var(--description-size);\n\t\t\toverflow-wrap: anywhere;\n\t\t\tuser-select: text;\n\t\t}\n\t\t.hidden-events {\n\t\t\tcolor: var(--primary-text-color);\n\t\t}\n\n\t\t.hoursHTML {\n\t\t\tcolor: var(--time-color);\n\t\t\tfont-size: var(--time-size) !important;\n\t\t\tfloat: left;\n\t\t}\n\n\t\t.relativeTime {\n\t\t\tcolor: var(--time-color);\n\t\t\tfont-size: var(--time-size) !important;\n\t\t\tfloat: right;\n\t\t\tpadding-left: 5px;\n\t\t}\n\n\t\t.event-main {\n\t\t\tflex-direction: row nowrap;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t}\n\n\t\t.event-title {\n\t\t\tfont-size: var(--event-title-size);\n\t\t\tuser-select: text;\n\t\t}\n\n\t\t.event-titleRunning {\n\t\t\tfont-size: var(--event-title-size);\n\t\t}\n\n\t\t.event-location {\n\t\t\ttext-align: right;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tuser-select: text;\n\t\t\toverflow-wrap: anywhere;\n\t\t}\n\n\t\t.event-location-icon {\n\t\t\t--mdc-icon-size: 15px;\n\t\t\tcolor: var(--location-icon-color);\n\t\t\theight: 15px;\n\t\t\twidth: 15px;\n\t\t\tmargin-top: -2px;\n\t\t}\n\n\t\t.location-link {\n\t\t\ttext-decoration: none;\n\t\t\tcolor: var(--accent-color);\n\t\t\tfont-size: var(--location-link-size);\n\t\t\tuser-select: text;\n\t\t}\n\n\t\thr.event {\n\t\t\tcolor: var(--event-bar-color);\n\t\t\tmargin: -8px 0px 2px 0px;\n\t\t\tborder-width: 2px 0 0 0;\n\t\t}\n\n\t\t.event-cal-name {\n\t\t}\n\t\t.event-cal-name-icon {\n\t\t\t--mdc-icon-size: 15px;\n\t\t}\n\n\t\t.eventBar {\n\t\t\tmargin-top: -10px;\n\t\t\tmargin-bottom: 0px;\n\t\t}\n\n\t\tprogress {\n\t\t\tborder-radius: 2px;\n\t\t\twidth: 100%;\n\t\t\theight: 3px;\n\t\t\tbox-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);\n\t\t}\n\t\tprogress::-webkit-progress-bar {\n\t\t\tbackground-color: var(--progress-bar-bg);\n\t\t\tborder-radius: 2px;\n\t\t}\n\t\tprogress::-webkit-progress-value{\n\t\t\tbackground-color: var(--progress-bar);\n\t\t\tborder-radius: 2px;\n\t\t}\n\n\t\tha-button-toggle-group {\n\t\t\tcolor: var(--primary-color);\n\t\t}\n\n\t\t.calTitleContainer {\n\t\t\tpadding: 0px 8px 8px 8px;\n\t\t}\n\n\t\t.calIconSelector {\n\t\t\t--mdc-icon-button-size: var(--button-toggle-size, 48px);\n\t\t\t--mdc-icon-size: var(--button-toggle-icon-size, 24px);\n\t\t\tborder-radius: 4px 4px 4px 4px;\n\t\t\tborder: 1px solid var(--primary-color);\n\t\t\tfloat: right;\n\t\t\tdisplay: inline-flex;\n\t\t\ttext-align: center;\n\t\t}\n\t\t.calDateSelector {\n\t\t\t--mdc-icon-button-size: var(--button-toggle-size, 48px);\n\t\t\t--mdc-icon-size: var(--button-toggle-icon-size, 24px);\n\t\t\tdisplay: inline-flex;\n\t\t\ttext-align: center;\n\t\t}\n\t\tdiv.calIconSelector ha-icon-button,\n\t\tdiv.calDateSelector ha-icon-button {\n\t\t\tcolor: var(--primary-color);\n\t\t}\n\t\tdiv.calDateSelector .prev {\n\t\t\tborder: 1px solid var(--primary-color);\n\t\t\tborder-radius: 3px 0px 0px 3px;\n\t\t}\n\t\tdiv.calDateSelector .date {\n\t\t\tborder: 1px solid var(--primary-color);\n\t\t\tborder-radius: 0px 0px 0px 0px;\n\t\t\tpadding: 4px 2px 2px 4px;\n\t\t}\n\t\tdiv.calDateSelector .next {\n\t\t\tborder: 1px solid var(--primary-color);\n\t\t\tborder-radius: 0px 4px 4px 0px;\n\t\t}\n\n\t\tha-icon-button {\n\t\t\t--mdc-icon-size: 20px;\n\t\t\t--mdc-icon-button-size: 25px;\n\n\t\t}\n\n\t\ttable.cal {\n\t\t\tmargin-left: 0px;\n\t\t\tmargin-right: 0px;\n\t\t\tborder-spacing: 10px 5px;\n\t\t\tborder-collapse: collapse;\n\t\t\twidth: 100%;\n\t\t\ttable-layout: fixed;\n\t\t}\n\n\t\tthead th.cal {\n\t\t\tcolor: var(--secondary-text-color);\n\t\t\tborder: 1px solid --cal-border-color;\n\t\t\tfont-size: 11px;\n\t\t\tfont-weight: 400;\n\t\t\ttext-transform: uppercase;\n\t\t}\n\n\t\ttd.cal {\n\t\t\tpadding: 5px 5px 5px 5px;\n\t\t\tborder: 1px solid var(--cal-grid-color);\n\t\t\ttext-align: center;\n\t\t\tvertical-align: middle;\n\t\t\twidth: 100%;\n\t\t\tcolor: var(--cal-day-color);\n\t\t}\n\n\t\t.calDay {\n\t\t\theight: 38px;\n\t\t\tfont-size: 95%;\n\t\t\tmax-width: 38px;\n\t\t\tmargin: auto;\n\t\t}\n\n\t\t.calDay.currentDay {\n\t\t\theight: 20px;\n\t\t\tbackground-color: var(--primary-color);\n\t\t\tborder-radius: 50%;\n\t\t\tdisplay: inline-block;\n\t\t\ttext-align: center;\n\t\t\twhite-space: nowrap;\n\t\t\twidth: max-content;\n\t\t\tmin-width: 20px;\n\t\t\tline-height: 140%;\n\t\t\tcolor: var(--text-primary-color) !important;\n\t\t}\n\n\t\ttr.cal {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t.calTableContainer {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t.summary-div {\n\t\t\tfont-size: 90%;\n\t\t}\n\n\t\t.summary-event-div {\n\t\t\tpadding-top: 3px;\n\t\t}\n\n\t\t.bullet-event-div-accepted {\n\t\t\t-webkit-border-radius: 8px;\n\t\t\tborder-radius: 8px;\n\t\t\tborder: 4px solid;\n\t\t\theight: 0;\n\t\t\twidth: 0;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t.bullet-event-div-declined {\n\t\t\t-webkit-border-radius: 8px;\n\t\t\tborder-radius: 8px;\n\t\t\tborder: 1px solid;\n\t\t\theight: 6px;\n\t\t\twidth: 6px;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t.bullet-event-span {\n\t\t\toverflow: hidden;\n\t\t\twhite-space: nowrap;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: middle;\n\t\t\tmargin: 0 5px;\n\t\t\ttext-decoration: none !important;\n\t\t}\n\n\t\t.summary-fullday-div-accepted {\n\t\t\t-webkit-border-radius: 5px;\n\t\t\tborder-radius: 5px;\n\t\t\tborder: 2px solid;\n\t\t\tborder-left: 7px solid;\n\t\t\tpadding: 0 4px;\n\t\t\tmargin: 5px 0;\n\t\t\tline-height: 16px;\n\t\t}\n\n\t\t.summary-fullday-div-declined {\n\t\t\t-webkit-border-radius: 5px;\n\t\t\tborder-radius: 5px;\n\t\t\tborder: 1px solid;\n\t\t\tpadding: 0 4px;\n\t\t\tmargin: 5px 0;\n\t\t\theight: 18px;\n\t\t\tline-height: 16px;\n\t\t}\n\n\t\t.calDescription {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 0px 5px 0 5px;\n\t\t\tcolor: var(--description-color);\n\t\t\tfont-size: var(--description-size);\n\t\t}\n\n\t\t.calMain {\n\t\t\tflex-direction: row nowrap;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t}\n\n\t\t.calIcon {\n\t\t\t--mdc-icon-size: 10px;\n\t\t\twidth: 10px;\n\t\t\theight: 10px;\n\t\t\tpadding-top: 0px;\n\t\t\tmargin-top: -10px;\n\t\t\tmargin-right: -1px;\n\t\t\tmargin-left: -1px;\n\t\t}\n\n\t\t.eventIcon {\n\t\t\t--mdc-icon-size: 15px !important;\n\t\t\tpadding-top: 0px;\n\t\t\tmargin-top: -10px;\n\t\t\tmargin-right: -1px;\n\t\t\tmargin-left: -1px;\n\t\t}\n\n\t\t.loader {\n\t\t\tborder: 4px solid #f3f3f3;\n\t\t\tborder-top: 4px solid grey;\n\t\t\tborder-radius: 50%;\n\t\t\twidth: 14px;\n\t\t\theight: 14px;\n\t\t\tanimation: spin 2s linear infinite;\n\t\t\tfloat: left;\n\t\t}\n\n\t\t@keyframes spin {\n\t\t\t0% {\n\t\t\t\ttransform: rotate(0deg);\n\t\t\t}\n\t\t\t100% {\n\t\t\t\ttransform: rotate(360deg);\n\t\t\t}\n\t\t}\n"])));var Gt={exports:{}};!function(t,e){t.exports=function(t,e,i){var n=e.prototype,a=function(t){return t&&(t.indexOf?t:t.s)},o=function(t,e,i,n,o){var r=t.name?t:t.$locale(),s=a(r[e]),d=a(r[i]),l=s||d.map((function(t){return t.slice(0,n)}));if(!o)return l;var c=r.weekStart;return l.map((function(t,e){return l[(e+(c||0))%7]}))},r=function(){return i.Ls[i.locale()]},s=function(t,e){return t.formats[e]||function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,i){return e||i.slice(1)}))}(t.formats[e.toUpperCase()])},d=function(){var t=this;return{months:function(e){return e?e.format("MMMM"):o(t,"months")},monthsShort:function(e){return e?e.format("MMM"):o(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):o(t,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):o(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):o(t,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return s(t.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return d.bind(this)()},i.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(e){return s(t,e)},meridiem:t.meridiem,ordinal:t.ordinal}},i.months=function(){return o(r(),"months")},i.monthsShort=function(){return o(r(),"monthsShort","months",3)},i.weekdays=function(t){return o(r(),"weekdays",null,null,t)},i.weekdaysShort=function(t){return o(r(),"weekdaysShort","weekdays",3,t)},i.weekdaysMin=function(t){return o(r(),"weekdaysMin","weekdays",2,t)}}}(Gt);var Kt=Yt(Gt.exports),Xt={exports:{}};!function(t,e){t.exports=function(t,e,i){i.updateLocale=function(t,e){var n=i.Ls[t];if(n)return(e?Object.keys(e):[]).forEach((function(t){n[t]=e[t]})),n}}}(Xt);var Jt=Yt(Xt.exports),Zt={exports:{}};!function(t,e){t.exports=function(t,e,i){t=t||{};var n=e.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(t,e,i,a){return n.fromToBase(t,e,i,a)}i.en.relativeTime=a,n.fromToBase=function(e,n,o,r,s){for(var d,l,c,m=o.$locale().relativeTime||a,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],u=h.length,p=0;p0,g<=f.r||!f.r){g<=1&&p>0&&(f=h[p-1]);var v=m[f.l];s&&(g=s(""+g)),l="string"==typeof v?v.replace("%d",g):v(g,n,f.l,c);break}}if(n)return l;var _=c?m.future:m.past;return"function"==typeof _?_(l):_.replace("%s",l)},n.to=function(t,e){return o(t,e,this,!0)},n.from=function(t,e){return o(t,e,this)};var r=function(t){return t.$u?i.utc():i()};n.toNow=function(t){return this.to(r(this),t)},n.fromNow=function(t){return this.from(r(this),t)}}}(Zt);var Qt=Yt(Zt.exports),te={exports:{}};!function(t,e){t.exports=function(){var t="day";return function(e,i,n){var a=function(e){return e.add(4-e.isoWeekday(),t)},o=i.prototype;o.isoWeekYear=function(){return a(this).year()},o.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var i,o,r,s=a(this),d=(i=this.isoWeekYear(),r=4-(o=(this.$u?n.utc:n)().year(i).startOf("year")).isoWeekday(),o.isoWeekday()>4&&(r+=7),o.add(r,t));return s.diff(d,"week")+1},o.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var r=o.startOf;o.startOf=function(t,e){var i=this.$utils(),n=!!i.u(e)||e;return"isoweek"===i.p(t)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):r.bind(this)(t,e)}}}()}(te);var ee=Yt(te.exports),ie={exports:{}};!function(t,e){t.exports=function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,i,n){var a=i.prototype,o=a.format;n.en.formats=t,a.format=function(e){void 0===e&&(e="YYYY-MM-DDTHH:mm:ssZ");var i=this.$locale().formats,n=function(e,i){return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,a){var o=a&&a.toUpperCase();return n||i[a]||t[a]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,i){return e||i.slice(1)}))}))}(e,void 0===i?{}:i);return o.call(this,n)}}}()}(ie);var ne=Yt(ie.exports),ae={exports:{}};!function(t,e){t.exports=function(t,e){e.prototype.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)}}}(ae);var oe=Yt(ae.exports),re={exports:{}};!function(t,e){t.exports=function(){var t="week",e="year";return function(i,n,a){var o=n.prototype;o.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=a(this).startOf(e).add(1,e).date(n),r=a(this).endOf(t);if(o.isBefore(r))return 1}var s=a(this).startOf(e).date(n).startOf(t).subtract(1,"millisecond"),d=this.diff(s,t,!0);return d<0?a(this).startOf("week").week():Math.ceil(d)},o.weeks=function(t){return void 0===t&&(t=null),this.week(t)}}}()}(re);var se=Yt(re.exports),de={exports:{}};!function(t,e){t.exports=function(){var t,e,i=1e3,n=6e4,a=36e5,o=864e5,r=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,d=2592e6,l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,c={years:s,months:d,days:o,hours:a,minutes:n,seconds:i,milliseconds:1,weeks:6048e5},m=function(t){return t instanceof _},h=function(t,e,i){return new _(t,i,e.$l)},u=function(t){return e.p(t)+"s"},p=function(t){return t<0},f=function(t){return p(t)?Math.ceil(t):Math.floor(t)},g=function(t){return Math.abs(t)},v=function(t,e){return t?p(t)?{negative:!0,format:""+g(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},_=function(){function p(t,e,i){var n=this;if(this.$d={},this.$l=i,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),e)return h(t*c[u(e)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach((function(e){n.$d[u(e)]=t[e]})),this.calMilliseconds(),this;if("string"==typeof t){var a=t.match(l);if(a){var o=a.slice(2).map((function(t){return null!=t?Number(t):0}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var g=p.prototype;return g.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(e,i){return e+(t.$d[i]||0)*c[i]}),0)},g.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=f(t/s),t%=s,this.$d.months=f(t/d),t%=d,this.$d.days=f(t/o),t%=o,this.$d.hours=f(t/a),t%=a,this.$d.minutes=f(t/n),t%=n,this.$d.seconds=f(t/i),t%=i,this.$d.milliseconds=t},g.toISOString=function(){var t=v(this.$d.years,"Y"),e=v(this.$d.months,"M"),i=+this.$d.days||0;this.$d.weeks&&(i+=7*this.$d.weeks);var n=v(i,"D"),a=v(this.$d.hours,"H"),o=v(this.$d.minutes,"M"),r=this.$d.seconds||0;this.$d.milliseconds&&(r+=this.$d.milliseconds/1e3);var s=v(r,"S"),d=t.negative||e.negative||n.negative||a.negative||o.negative||s.negative,l=a.format||o.format||s.format?"T":"",c=(d?"-":"")+"P"+t.format+e.format+n.format+l+a.format+o.format+s.format;return"P"===c||"-P"===c?"P0D":c},g.toJSON=function(){return this.toISOString()},g.format=function(t){var i=t||"YYYY-MM-DDTHH:mm:ss",n={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return i.replace(r,(function(t,e){return e||String(n[t])}))},g.as=function(t){return this.$ms/c[u(t)]},g.get=function(t){var e=this.$ms,i=u(t);return"milliseconds"===i?e%=1e3:e="weeks"===i?f(e/c[i]):this.$d[i],0===e?0:e},g.add=function(t,e,i){var n;return n=e?t*c[u(e)]:m(t)?t.$ms:h(t,this).$ms,h(this.$ms+n*(i?-1:1),this)},g.subtract=function(t,e){return this.add(t,e,!0)},g.locale=function(t){var e=this.clone();return e.$l=t,e},g.clone=function(){return h(this.$ms,this)},g.humanize=function(e){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get("milliseconds")},g.asMilliseconds=function(){return this.as("milliseconds")},g.seconds=function(){return this.get("seconds")},g.asSeconds=function(){return this.as("seconds")},g.minutes=function(){return this.get("minutes")},g.asMinutes=function(){return this.as("minutes")},g.hours=function(){return this.get("hours")},g.asHours=function(){return this.as("hours")},g.days=function(){return this.get("days")},g.asDays=function(){return this.as("days")},g.weeks=function(){return this.get("weeks")},g.asWeeks=function(){return this.as("weeks")},g.months=function(){return this.get("months")},g.asMonths=function(){return this.as("months")},g.years=function(){return this.get("years")},g.asYears=function(){return this.as("years")},p}();return function(i,n,a){t=a,e=a().$utils(),a.duration=function(t,e){var i=a.locale();return h(t,{$l:i},e)},a.isDuration=m;var o=n.prototype.add,r=n.prototype.subtract;n.prototype.add=function(t,e){return m(t)&&(t=t.asMilliseconds()),o.bind(this)(t,e)},n.prototype.subtract=function(t,e){return m(t)&&(t=t.asMilliseconds()),r.bind(this)(t,e)}}}()}(de);var le=Yt(de.exports);!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t);function n(t){return t>1&&t<5&&1!=~~(t/10)}function a(t,e,i,a){var o=t+" ";switch(i){case"s":return e||a?"pár sekund":"pár sekundami";case"m":return e?"minuta":a?"minutu":"minutou";case"mm":return e||a?o+(n(t)?"minuty":"minut"):o+"minutami";case"h":return e?"hodina":a?"hodinu":"hodinou";case"hh":return e||a?o+(n(t)?"hodiny":"hodin"):o+"hodinami";case"d":return e||a?"den":"dnem";case"dd":return e||a?o+(n(t)?"dny":"dní"):o+"dny";case"M":return e||a?"měsíc":"měsícem";case"MM":return e||a?o+(n(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return e||a?"rok":"rokem";case"yy":return e||a?o+(n(t)?"roky":"let"):o+"lety"}}var o={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(t){return t+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a}};return i.default.locale(o,null,!0),o}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,ordinal:function(t){return t+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function a(t,e,i){var a=n[i];return Array.isArray(a)&&(a=a[e?0:1]),a.replace("%d",t)}var o={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a}};return i.default.locale(o,null,!0),o}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function a(t,e,i){var a=n[i];return Array.isArray(a)&&(a=a[e?0:1]),a.replace("%d",t)}var o={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a}};return i.default.locale(o,null,!0),o}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function a(t,e,i){var a=n[i];return Array.isArray(a)&&(a=a[e?0:1]),a.replace("%d",t)}var o={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a}};return i.default.locale(o,null,!0),o}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}}}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"es-do",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"es-us",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t);function n(t,e,i,n){var a={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},o={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},r=n&&!e?o:a,s=r[i];return t<10?s.replace("%d",r.numbers[t]):s.replace("%d",t)}var a={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return i.default.locale(a,null,!0),a}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(t){return t+(1===t?"er":"")}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function a(t,e,i){return(n[i+(2===t?"2":"")]||n[i]).replace("%d",t)}var o={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},ordinal:function(t){return t},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return i.default.locale(o,null,!0),o}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(t){return t+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(t,e,i,n){return"néhány másodperc"+(n||e?"":"e")},m:function(t,e,i,n){return"egy perc"+(n||e?"":"e")},mm:function(t,e,i,n){return t+" perc"+(n||e?"":"e")},h:function(t,e,i,n){return"egy "+(n||e?"óra":"órája")},hh:function(t,e,i,n){return t+" "+(n||e?"óra":"órája")},d:function(t,e,i,n){return"egy "+(n||e?"nap":"napja")},dd:function(t,e,i,n){return t+" "+(n||e?"nap":"napja")},M:function(t,e,i,n){return"egy "+(n||e?"hónap":"hónapja")},MM:function(t,e,i,n){return t+" "+(n||e?"hónap":"hónapja")},y:function(t,e,i,n){return"egy "+(n||e?"év":"éve")},yy:function(t,e,i,n){return t+" "+(n||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(t){return t+"º"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(t){return t+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(t){return t<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(t){return(""+t).replace(/\d/g,(function(t){return"०१२३४५६७८९"[t]}))},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(t){return"["+t+(1===t||8===t||t>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t);function n(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function a(t,e,i){var a=t+" ";switch(i){case"m":return e?"minuta":"minutę";case"mm":return a+(n(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return a+(n(t)?"godziny":"godzin");case"MM":return a+(n(t)?"miesiące":"miesięcy");case"yy":return a+(n(t)?"lata":"lat")}}var o="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),s=/D MMMM/,d=function(t,e){return s.test(e)?o[t.month()]:r[t.month()]};d.s=r,d.f=o;var l={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:d,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:a,y:"rok",yy:a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(l,null,!0),l}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(t){return t+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(t){return t+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),a="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),o="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),r="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),s=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(t,e,i){var n,a;return"m"===i?e?"минута":"минуту":t+" "+(n=+t,a={mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[i].split("_"),n%10==1&&n%100!=11?a[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?a[1]:a[2])}var l=function(t,e){return s.test(e)?n[t.month()]:a[t.month()]};l.s=a,l.f=n;var c=function(t,e){return s.test(e)?o[t.month()]:r[t.month()]};c.s=r,c.f=o;var m={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:l,monthsShort:c,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:d,mm:d,h:"час",hh:d,d:"день",dd:d,M:"месяц",MM:d,y:"год",yy:d},ordinal:function(t){return t},meridiem:function(t){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"}};return i.default.locale(m,null,!0),m}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(t){return t+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"čez %s",past:"pred %s",s:"nekaj sekund",m:"minuta",mm:"%d minut",h:"ura",hh:"%d ur",d:"dan",dd:"%d dni",M:"mesec",MM:"%d mesecev",y:"leto",yy:"%d let"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(t){var e=t%10;return"["+t+(1===e||2===e?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return i.default.locale(n,null,!0),n}(Ft)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t);function n(t){return t>1&&t<5&&1!=~~(t/10)}function a(t,e,i,a){var o=t+" ";switch(i){case"s":return e||a?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":a?"minútu":"minútou";case"mm":return e||a?o+(n(t)?"minúty":"minút"):o+"minútami";case"h":return e?"hodina":a?"hodinu":"hodinou";case"hh":return e||a?o+(n(t)?"hodiny":"hodín"):o+"hodinami";case"d":return e||a?"deň":"dňom";case"dd":return e||a?o+(n(t)?"dni":"dní"):o+"dňami";case"M":return e||a?"mesiac":"mesiacom";case"MM":return e||a?o+(n(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||a?"rok":"rokom";case"yy":return e||a?o+(n(t)?"roky":"rokov"):o+"rokmi"}}var o={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(t){return t+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a}};return i.default.locale(o,null,!0),o}(Ft)}({exports:{}}); + */var Bt,Wt,qt;null===(Bt=window.HTMLSlotElement)||void 0===Bt||Bt.prototype.assignedElements,function(t){t.language="language",t.system="system",t.comma_decimal="comma_decimal",t.decimal_comma="decimal_comma",t.space_comma="space_comma",t.none="none"}(Wt||(Wt={})),function(t){t.language="language",t.system="system",t.am_pm="12",t.twenty_four="24"}(qt||(qt={}));var Kt=function(t,e,i,n){n=n||{},i=null==i?{}:i;var o=new Event(e,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed});return o.detail=i,t.dispatchEvent(o),o};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function Gt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Jt={exports:{}};!function(t,e){t.exports=function(){var t=1e3,e=6e4,i=36e5,n="millisecond",o="second",r="minute",s="hour",a="day",d="week",l="month",c="quarter",h="year",u="date",m="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}},g=function(t,e,i){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(i)+t},_={s:g,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),n=Math.floor(i/60),o=i%60;return(e<=0?"+":"-")+g(n,2,"0")+":"+g(o,2,"0")},m:function t(e,i){if(e.date()1)return t(s[0])}else{var a=e.name;b[a]=e,o=a}return!n&&o&&(y=o),o||!n&&y},E=function(t,e){if(x(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new S(i)},k=_;k.l=w,k.i=x,k.w=function(t,e){return E(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var S=function(){function v(t){this.$L=w(t.locale,null,!0),this.parse(t)}var g=v.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(k.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(p);if(n){var o=n[2]-1||0,r=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,r)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return!(this.$d.toString()===m)},g.isSame=function(t,e){var i=E(t);return this.startOf(e)<=i&&i<=this.endOf(e)},g.isAfter=function(t,e){return E(t)68?1900:2e3)},a=function(t){return function(e){this[t]=+e}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],l=function(t){var e=r[t];return e&&(e.indexOf?e:e.s.concat(e.f))},c=function(t,e){var i,n=r.meridiem;if(n){for(var o=1;o<=24;o+=1)if(t.indexOf(n(o,0,e))>-1){i=o>12;break}}else i=t===(e?"pm":"PM");return i},h={A:[o,function(t){this.afternoon=c(t,!1)}],a:[o,function(t){this.afternoon=c(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[i,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[n,a("seconds")],ss:[n,a("seconds")],m:[n,a("minutes")],mm:[n,a("minutes")],H:[n,a("hours")],h:[n,a("hours")],HH:[n,a("hours")],hh:[n,a("hours")],D:[n,a("day")],DD:[i,a("day")],Do:[o,function(t){var e=r.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var n=1;n<=31;n+=1)e(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],M:[n,a("month")],MM:[i,a("month")],MMM:[o,function(t){var e=l("months"),i=(l("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],MMMM:[o,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,a("year")],YY:[i,function(t){this.year=s(t)}],YYYY:[/\d{4}/,a("year")],Z:d,ZZ:d};function u(i){var n,o;n=i,o=r&&r.formats;for(var s=(i=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,i,n){var r=n&&n.toUpperCase();return i||o[n]||t[n]||o[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,i){return e||i.slice(1)}))}))).match(e),a=s.length,d=0;d-1)return new Date(("X"===e?1e3:1)*t);var n=u(e)(t),o=n.year,r=n.month,s=n.day,a=n.hours,d=n.minutes,l=n.seconds,c=n.milliseconds,h=n.zone,m=new Date,p=s||(o||r?1:m.getDate()),f=o||m.getFullYear(),v=0;o&&!r||(v=r>0?r-1:m.getMonth());var g=a||0,_=d||0,y=l||0,b=c||0;return h?new Date(Date.UTC(f,v,p,g,_,y,b+60*h.offset*1e3)):i?new Date(Date.UTC(f,v,p,g,_,y,b)):new Date(f,v,p,g,_,y,b)}catch(t){return new Date("")}}(e,a,n),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),c&&e!=this.format(a)&&(this.$d=new Date("")),r={}}else if(a instanceof Array)for(var m=a.length,p=1;p<=m;p+=1){s[1]=a[p-1];var f=i.apply(this,s);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}p===m&&(this.$d=new Date(""))}else o.call(this,t)}}}()}(Qt);var te=Gt(Qt.exports),ee={exports:{}};!function(t,e){t.exports=function(t,e,i){e.prototype.isBetween=function(t,e,n,o){var r=i(t),s=i(e),a="("===(o=o||"()")[0],d=")"===o[1];return(a?this.isAfter(r,n):!this.isBefore(r,n))&&(d?this.isBefore(s,n):!this.isAfter(s,n))||(a?this.isBefore(r,n):!this.isAfter(r,n))&&(d?this.isAfter(s,n):!this.isBefore(s,n))}}}(ee);var ie,ne=Gt(ee.exports);class oe{constructor(t,e){this.calendarDay=t,this._lp=e,this.ymd=Zt(t).format("YYYY-MM-DD"),this._allEvents=[]}get date(){return Zt(this.calendarDay)}set allEvents(t){this._allEvents=t}get allEvents(){return this._allEvents}}class re{constructor(t,e){this._eventClass=t,this._globalConfig=e,this.isEmpty=!1}get rawEvent(){return this._eventClass}get id(){return(this.rawEvent.id||this.rawEvent.uid)+this.title}get originCalendar(){return this.rawEvent.originCalendar}get entity(){return this._eventClass.hassEntity||{}}get entityConfig(){return this._eventClass.entity||{}}get originName(){const{originCalendar:t}=this;if(t&&t.name)return t.name;const{entity:e}=this;return e&&e.attributes&&e.attributes.friendly_name?e.attributes.friendly_name:t&&t.entity?t.entity:e&&e.entity||e||"Unknown"}get startDateTime(){if(void 0===this._startDateTime){const t=this.rawEvent.start&&this.rawEvent.start.date||this.rawEvent.start.dateTime||this.rawEvent.start||"";this._startDateTime=this._processDate(t)}return this._startDateTime.clone()}get endDateTime(){if(void 0===this._endDateTime){const t=this.rawEvent.end&&this.rawEvent.end.date||this.rawEvent.end.dateTime||this.rawEvent.end;this._endDateTime=this._processDate(t,!0)}return this._endDateTime.clone()}get addDays(){return void 0!==this.rawEvent.addDays&&this.rawEvent.addDays}get daysLong(){return this.rawEvent.daysLong}get isFirstDay(){return this.rawEvent._isFirstDay}get isLastDay(){return this.rawEvent._isLastDay}_processDate(t,e=!1){return t?(t=Zt(t),!1!==this.addDays&&(!e&&this.addDays&&(t=t.add(this.addDays,"days")),!this.isLastDay&&e?t=Zt(this.startDateTime).endOf("day"):this.isLastDay&&!e&&(t=t.startOf("day"))),t):t}get isRecurring(){return!!this.rawEvent.recurringEventId}get isDeclined(){return 0!==(this.rawEvent.attendees||[]).filter((t=>t.self&&"declined"===t.responseStatus)).length}get isRunning(){return this.startDateTime.isBefore(Zt())&&this.endDateTime.isAfter(Zt())}get isFinished(){return this.endDateTime.isBefore(Zt())}get htmlLink(){return this.rawEvent.htmlLink||""}get sourceUrl(){return this.rawEvent.source&&this.rawEvent.source.url||""}get isMultiDay(){if(this.endDateTime.diff(this.startDateTime,"hours")>24)return!0;const t=Math.abs(this.startDateTime.date()-this.endDateTime.subtract(1,"minute").date());return(1!==t||0!==this.endDateTime.hour()||0!==this.endDateTime.minute())&&!!t}get isAllDayEvent(){const t=0===this.startDateTime.startOf("day").diff(this.startDateTime),e=0===this.endDateTime.startOf("day").diff(this.endDateTime);return!(!t||!e)||(!(this.isFirstDay||this.isLastDay||!this.daysLong)||t&&e)}splitIntoMultiDay(t){const e=[];let i=2;const n=Math.round(this.endDateTime.subtract(1,"minutes").endOf("day").diff(this.startDateTime.startOf("day"),"hours")/24);n&&(i=n);for(let n=0;n0;const r=new re(o,this._globalConfig);Zt().startOf("day").add(this._globalConfig.maxDaysToShow,"days").isAfter(r.startDateTime)&&Zt().startOf("day").subtract(1,"minute").isBefore(r.startDateTime)&&e.push(r)}return e}get titleColor(){return this.entityConfig.eventTitleColor?this.entityConfig.eventTitleColor:"var(--primary-text-color)"}get title(){return this.rawEvent.summary?this.rawEvent.summary:this.entityConfig.eventTitle?this.entityConfig.eventTitle:this._globalConfig.eventTitle}get description(){return new RegExp("^Observance","i").test(this.rawEvent.description)?"":this.rawEvent.description}get startTimeToShow(){const t=this.startDateTime;return!Zt(t).isBefore(Zt().startOf("day"))||this._globalConfig.startDaysAhead<0?t:Zt().startOf("day")}get daysToSort(){return this.startTimeToShow.format("YYYYMMDD")}get location(){return this.rawEvent.location?this.rawEvent.location.split(" ").join("+"):""}get address(){return this.rawEvent.location?this.rawEvent.location.split(",")[0]:""}get visibility(){return this.rawEvent.visibility}}async function se(t,e,i){const n=function(t,e){const i=e.startOf("month"),n=i.day(),o=[];let r=0;r=n-t.firstDayOfWeek>=0?0:7;for(let e=t.firstDayOfWeek-n-r;e<42-n+t.firstDayOfWeek-r;e++)o.push(new oe(i.add(e,"day"),e));return o}(t,i),{events:o,failedEvents:r}=await ae(n[0].date,n[41].date,t,e);return n.map((t=>(o.map((e=>{e.startDateTime.isSame(t.date,"day")&&t.allEvents.push(e)})),t))),n}async function ae(t,e,i,n){const o=Zt(),r="YYYY-MM-DDTHH:mm:ss",s=-Zt().utcOffset(),a=t.startOf("day").add(s,"minutes").format(r),d=e.endOf("day").add(s,"minutes").format(r),l=[],c=[],h=[];return i.entities.map((t=>{const e=t&&t.entity||t,u=void 0!==t.maxDaysToShow?o.endOf("day").add(t.maxDaysToShow-1+i.startDaysAhead,"day").add(s,"minutes").format(r):d,m="calendars/".concat(t.entity,"?start=").concat(a,"Z&end=").concat(u,"Z");h.push(n.callApi("GET",m).then((i=>(i.map((i=>{i.entity=t,i.calendarEntity=e,i.hassEntity=n.states[e]})),i))).then((t=>{l.push(...t)})).catch((i=>{c.push({name:t.name||e,error:i})})))})),await Promise.all(h),{failedEvents:c,events:de(l,i)}}function de(t,e){let i=t.reduce(((t,i)=>{i.originCalendar=e.entities.find((t=>t.entity===i.entity.entity));const n=new re(i,e);if(e.hideDeclined&&n.isDeclined)return t;if(n.entityConfig.blocklist&&n.title){if(new RegExp(n.entityConfig.blocklist,"i").test(n.title))return t}if(n.entityConfig.blocklistLocation&&n.location){if(new RegExp(n.entityConfig.blocklistLocation,"i").test(n.location))return t}if(n.entityConfig.allowlist&&n.title){if(!new RegExp(n.entityConfig.allowlist,"i").test(n.title))return t}if(n.entityConfig.allowlistLocation&&n.location){if(!new RegExp(n.entityConfig.allowlistLocation,"i").test(n.location))return t}if(n.entityConfig.startTimeFilter&&n.entityConfig.endTimeFilter&&!function(t,e,i){const n=e.split(":",1)[0],o=e.split(":",2)[1],r=t.startDateTime.set("hour",n).set("minutes",o),s=i.split(":",1)[0],a=i.split(":",2)[1],d=t.startDateTime.set("hour",s).set("minutes",a);return t.startDateTime.isBetween(r,d,"minute","[]")}(n,n.entityConfig.startTimeFilter,n.entityConfig.endTimeFilter))return t;if(e.showMultiDay&&n.isMultiDay){const e=n.splitIntoMultiDay(n);t=t.concat(e)}else t.push(n);return t}),[]);var n;return e.hideFinishedEvents&&(i=i.filter((function(t){return 0==t.isFinished}))),e.hideDuplicates&&(i=i.filter((n=Object.create(null),t=>(t=>!n[t]&&(n[t]=!0))(t.title+"|"+t.startDateTime+"|"+t.endDateTime)))),e.sortByStartTime&&i.sort(((t,e)=>t.startDateTime.isBefore(e.startDateTime)?-1:1)),e.maxEventCount&&(!e.softLimit&&e.maxEventCounte.maxEventCount+e.softLimit)&&(i.length=e.maxEventCount),i=function(t,e){const i=t.filter((t=>t.isAllDayEvent)),n=t.filter((t=>!t.isAllDayEvent));return i.sort(((t,i)=>{const n=e.find((e=>e.entity===t.entity.entity_id)),o=e.find((t=>t.entity===i.entity.entity_id));if(!n||!o)return 0;const r=e.indexOf(n),s=e.indexOf(o);return r===s?t.title.localeCompare(i.title):r-s})),[...i,...n]}(i,e.entities),i}Zt.extend(te),Zt.extend(ne);const le=h(ie||(ie=e(["\n\t\t.cal-card {\n\t\t\tcursor: default;\n\t\t\tpadding: 16px;\n\t\t\theight: var(--card-height);\n\t\t\toverflow: auto;\n\t\t}\n\n\n\t\t.header {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\t\t\tjustify-content: space-between;\n\t\t\tvertical-align: middle;\n\t\t\talign-items: center;\n\t\t\tmargin: 0 8px 0 2px;\n\t\t}\n\n\t\t.headerName {\n\t\t\tfont-family: var(--paper-font-headline_-_font-family);\n\t\t\t-webkit-font-smoothing: var(--paper-font-headline_-_-webkit-font-smoothing);\n\t\t\tfont-size: var(--paper-font-headline_-_font-size);\n\t\t\tfont-weight: var(--paper-font-headline_-_font-weight);\n\t\t\tletter-spacing: var(--paper-font-headline_-_letter-spacing);\n\t\t\tline-height: var(--paper-font-headline_-_line-height);\n\t\t\ttext-rendering: var(--paper-font-common-expensive-kerning_-_text-rendering);\n\t\t\topacity: var(--dark-primary-opacity);\n\t\t\tpadding: 4px 8px 12px 0px;\n\t\t\tfloat: left;\n\t\t}\n\n\t\t.headerNameSuperCompact {\n font-family: var(--paper-font-headline_-_font-family);\n -webkit-font-smoothing: var(--paper-font-headline_-_-webkit-font-smoothing);\n font-size: var(--paper-font-headline_-_font-size);\n font-weight: var(--paper-font-headline_-_font-weight);\n letter-spacing: var(--paper-font-headline_-_letter-spacing);\n line-height: var(--paper-font-headline_-_line-height);\n text-rendering: var(--paper-font-common-expensive-kerning_-_text-rendering);\n opacity: var(--dark-primary-opacity);\n float: left;\n font-size: 1rem;\n }\n\n\t\t.headerDate {\n\t\t\tfont-size: var(--paper-font-headline_-_font-size);\n\t\t\tfont-size: 1.3rem;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: var(--primary-text-color);\n\t\t\tpadding: 4px 8px 12px 0px;\n\t\t\tline-height: var(--paper-font-headline_-_line-height);\n\t\t\tfloat: right;\n\t\t}\n\n\t\t.headerDateSuperCompact {\n font-size: var(--paper-font-headline_-_font-size);\n font-size: 1.3rem;\n font-weight: 400;\n color: var(--primary-text-color);\n line-height: var(--paper-font-headline_-_line-height);\n float: right;\n font-size: 1rem;\n }\n\n\t\ttable {\n\t\t\tcolor: black;\n\t\t\tmargin-left: 0px;\n\t\t\tmargin-right: 0px;\n\t\t\tborder-spacing: 10px 5px;\n\t\t\tborder-collapse: collapse;\n\t\t}\n\n\t\ttd {\n\t\t\tpadding: 4px 0 4px 0;\n\t\t}\n\n\t\t.daywrap {\n\t\t\tpadding: 2px 0 4px 0;\n\t\t\tborder-top: 1px solid;\n\t\t}\n\n\t\ttr {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t.event-left {\n\t\t\tpadding: 4px 10px 3px 8px;\n\t\t\ttext-align: center;\n\t\t\tvertical-align: top;\n\t\t}\n\n\t\t.event-leftSuperCompact {\n padding: 1px 1px 1px 1px;\n text-align: center;\n vertical-align: top;\n }\n\n\t\t.event-leftCurrentDay {\n\t\t\twidth: 40px;\n\t\t}\n\n\t\t.week-number{\n\t\t\tcolor: var(--primary-color);\n\t\t\t-webkit-border-radius: 5px;\n\t\t\tborder-radius: 5px;\n\t\t\tborder: 2px solid;\n\t\t\tpadding: 0 4px;\n\t\t\tmargin: 5px 0;\n\t\t\tline-height: 16px;\n\t\t\twidth: 100%;\n\t\t\ttext-align: center;\n\t\t}\n\n\t\t.daywrap > td {\n\t\t\tpadding-top: 8px;\n\t\t}\n\n\t\t.event-right {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 0px 5px 0 5px;\n\t\t}\n\n\t\t.event-description {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 0px 5px 0 5px;\n\t\t\tcolor: var(--description-color);\n\t\t\tfont-size: var(--description-size);\n\t\t\toverflow-wrap: anywhere;\n\t\t\tuser-select: text;\n\t\t}\n\t\t.hidden-events {\n\t\t\tcolor: var(--primary-text-color);\n\t\t}\n\n\t\t.hoursHTML {\n\t\t\tcolor: var(--time-color);\n\t\t\tfont-size: var(--time-size) !important;\n\t\t\tfloat: left;\n\t\t}\n\n\t\t.relativeTime {\n\t\t\tcolor: var(--time-color);\n\t\t\tfont-size: var(--time-size) !important;\n\t\t\tfloat: right;\n\t\t\tpadding-left: 5px;\n\t\t}\n\n\t\t.event-main {\n\t\t\tflex-direction: row nowrap;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t}\n\n\t\t.event-title {\n\t\t\tfont-size: var(--event-title-size);\n\t\t\tuser-select: text;\n\t\t}\n\n\t\t.event-titleRunning {\n\t\t\tfont-size: var(--event-title-size);\n\t\t}\n\n\t\t.event-location {\n\t\t\ttext-align: right;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t\tuser-select: text;\n\t\t\toverflow-wrap: anywhere;\n\t\t}\n\n\t\t.event-location-icon {\n\t\t\t--mdc-icon-size: 15px;\n\t\t\tcolor: var(--location-icon-color);\n\t\t\theight: 15px;\n\t\t\twidth: 15px;\n\t\t\tmargin-top: -2px;\n\t\t}\n\n\t\t.location-link {\n\t\t\ttext-decoration: none;\n\t\t\tcolor: var(--accent-color);\n\t\t\tfont-size: var(--location-link-size);\n\t\t\tuser-select: text;\n\t\t}\n\n\t\thr.event {\n\t\t\tcolor: var(--event-bar-color);\n\t\t\tmargin: -8px 0px 2px 0px;\n\t\t\tborder-width: 2px 0 0 0;\n\t\t}\n\n\t\t.event-cal-name {\n\t\t}\n\t\t.event-cal-name-icon {\n\t\t\t--mdc-icon-size: 15px;\n\t\t}\n\n\t\t.eventBar {\n\t\t\tmargin-top: -10px;\n\t\t\tmargin-bottom: 0px;\n\t\t}\n\n\t\tprogress {\n\t\t\tborder-radius: 2px;\n\t\t\twidth: 100%;\n\t\t\theight: 3px;\n\t\t\tbox-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);\n\t\t}\n\t\tprogress::-webkit-progress-bar {\n\t\t\tbackground-color: var(--progress-bar-bg);\n\t\t\tborder-radius: 2px;\n\t\t}\n\t\tprogress::-webkit-progress-value{\n\t\t\tbackground-color: var(--progress-bar);\n\t\t\tborder-radius: 2px;\n\t\t}\n\n\t\tha-button-toggle-group {\n\t\t\tcolor: var(--primary-color);\n\t\t}\n\n\t\t.calTitleContainer {\n\t\t\tpadding: 0px 8px 8px 8px;\n\t\t}\n\n\t\t.calIconSelector {\n\t\t\t--mdc-icon-button-size: var(--button-toggle-size, 48px);\n\t\t\t--mdc-icon-size: var(--button-toggle-icon-size, 24px);\n\t\t\tborder-radius: 4px 4px 4px 4px;\n\t\t\tborder: 1px solid var(--primary-color);\n\t\t\tfloat: right;\n\t\t\tdisplay: inline-flex;\n\t\t\ttext-align: center;\n\t\t}\n\t\t.calDateSelector {\n\t\t\t--mdc-icon-button-size: var(--button-toggle-size, 48px);\n\t\t\t--mdc-icon-size: var(--button-toggle-icon-size, 24px);\n\t\t\tdisplay: inline-flex;\n\t\t\ttext-align: center;\n\t\t}\n\t\tdiv.calIconSelector ha-icon-button,\n\t\tdiv.calDateSelector ha-icon-button {\n\t\t\tcolor: var(--primary-color);\n\t\t}\n\t\tdiv.calDateSelector .prev {\n\t\t\tborder: 1px solid var(--primary-color);\n\t\t\tborder-radius: 3px 0px 0px 3px;\n\t\t}\n\t\tdiv.calDateSelector .date {\n\t\t\tborder: 1px solid var(--primary-color);\n\t\t\tborder-radius: 0px 0px 0px 0px;\n\t\t\tpadding: 4px 2px 2px 4px;\n\t\t}\n\t\tdiv.calDateSelector .next {\n\t\t\tborder: 1px solid var(--primary-color);\n\t\t\tborder-radius: 0px 4px 4px 0px;\n\t\t}\n\n\t\tha-icon-button {\n\t\t\t--mdc-icon-size: 20px;\n\t\t\t--mdc-icon-button-size: 25px;\n\n\t\t}\n\n\t\ttable.cal {\n\t\t\tmargin-left: 0px;\n\t\t\tmargin-right: 0px;\n\t\t\tborder-spacing: 10px 5px;\n\t\t\tborder-collapse: collapse;\n\t\t\twidth: 100%;\n\t\t\ttable-layout: fixed;\n\t\t}\n\n\t\tthead th.cal {\n\t\t\tcolor: var(--secondary-text-color);\n\t\t\tborder: 1px solid --cal-border-color;\n\t\t\tfont-size: 11px;\n\t\t\tfont-weight: 400;\n\t\t\ttext-transform: uppercase;\n\t\t}\n\n\t\ttd.cal {\n\t\t\tpadding: 5px 5px 5px 5px;\n\t\t\tborder: 1px solid var(--cal-grid-color);\n\t\t\ttext-align: center;\n\t\t\tvertical-align: middle;\n\t\t\twidth: 100%;\n\t\t\tcolor: var(--cal-day-color);\n\t\t}\n\n\t\t.calDay {\n\t\t\theight: 38px;\n\t\t\tfont-size: 95%;\n\t\t\tmax-width: 38px;\n\t\t\tmargin: auto;\n\t\t}\n\n\t\t.calDay.currentDay {\n\t\t\theight: 20px;\n\t\t\tbackground-color: var(--primary-color);\n\t\t\tborder-radius: 50%;\n\t\t\tdisplay: inline-block;\n\t\t\ttext-align: center;\n\t\t\twhite-space: nowrap;\n\t\t\twidth: max-content;\n\t\t\tmin-width: 20px;\n\t\t\tline-height: 140%;\n\t\t\tcolor: var(--text-primary-color) !important;\n\t\t}\n\n\t\ttr.cal {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t.calTableContainer {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t.summary-div {\n\t\t\tfont-size: 90%;\n\t\t}\n\n\t\t.summary-event-div {\n\t\t\tpadding-top: 3px;\n\t\t}\n\n\t\t.bullet-event-div-accepted {\n\t\t\t-webkit-border-radius: 8px;\n\t\t\tborder-radius: 8px;\n\t\t\tborder: 4px solid;\n\t\t\theight: 0;\n\t\t\twidth: 0;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t.bullet-event-div-declined {\n\t\t\t-webkit-border-radius: 8px;\n\t\t\tborder-radius: 8px;\n\t\t\tborder: 1px solid;\n\t\t\theight: 6px;\n\t\t\twidth: 6px;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t.bullet-event-span {\n\t\t\toverflow: hidden;\n\t\t\twhite-space: nowrap;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: middle;\n\t\t\tmargin: 0 5px;\n\t\t\ttext-decoration: none !important;\n\t\t}\n\n\t\t.summary-fullday-div-accepted {\n\t\t\t-webkit-border-radius: 5px;\n\t\t\tborder-radius: 5px;\n\t\t\tborder: 2px solid;\n\t\t\tborder-left: 7px solid;\n\t\t\tpadding: 0 4px;\n\t\t\tmargin: 5px 0;\n\t\t\tline-height: 16px;\n\t\t}\n\n\t\t.summary-fullday-div-declined {\n\t\t\t-webkit-border-radius: 5px;\n\t\t\tborder-radius: 5px;\n\t\t\tborder: 1px solid;\n\t\t\tpadding: 0 4px;\n\t\t\tmargin: 5px 0;\n\t\t\theight: 18px;\n\t\t\tline-height: 16px;\n\t\t}\n\n\t\t.calDescription {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 0px 5px 0 5px;\n\t\t\tcolor: var(--description-color);\n\t\t\tfont-size: var(--description-size);\n\t\t}\n\n\t\t.calMain {\n\t\t\tflex-direction: row nowrap;\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: top;\n\t\t}\n\n\t\t.calIcon {\n\t\t\t--mdc-icon-size: 10px;\n\t\t\twidth: 10px;\n\t\t\theight: 10px;\n\t\t\tpadding-top: 0px;\n\t\t\tmargin-top: -10px;\n\t\t\tmargin-right: -1px;\n\t\t\tmargin-left: -1px;\n\t\t}\n\n\t\t.eventIcon {\n\t\t\t--mdc-icon-size: 15px !important;\n\t\t\tpadding-top: 0px;\n\t\t\tmargin-top: -10px;\n\t\t\tmargin-right: -1px;\n\t\t\tmargin-left: -1px;\n\t\t}\n\n\t\t.loader {\n\t\t\tborder: 4px solid #f3f3f3;\n\t\t\tborder-top: 4px solid grey;\n\t\t\tborder-radius: 50%;\n\t\t\twidth: 14px;\n\t\t\theight: 14px;\n\t\t\tanimation: spin 2s linear infinite;\n\t\t\tfloat: left;\n\t\t}\n\n\t\t@keyframes spin {\n\t\t\t0% {\n\t\t\t\ttransform: rotate(0deg);\n\t\t\t}\n\t\t\t100% {\n\t\t\t\ttransform: rotate(360deg);\n\t\t\t}\n\t\t}\n"])));var ce={exports:{}};!function(t,e){t.exports=function(t,e,i){var n=e.prototype,o=function(t){return t&&(t.indexOf?t:t.s)},r=function(t,e,i,n,r){var s=t.name?t:t.$locale(),a=o(s[e]),d=o(s[i]),l=a||d.map((function(t){return t.slice(0,n)}));if(!r)return l;var c=s.weekStart;return l.map((function(t,e){return l[(e+(c||0))%7]}))},s=function(){return i.Ls[i.locale()]},a=function(t,e){return t.formats[e]||function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,i){return e||i.slice(1)}))}(t.formats[e.toUpperCase()])},d=function(){var t=this;return{months:function(e){return e?e.format("MMMM"):r(t,"months")},monthsShort:function(e){return e?e.format("MMM"):r(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):r(t,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):r(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):r(t,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(t.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return d.bind(this)()},i.localeData=function(){var t=s();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(e){return a(t,e)},meridiem:t.meridiem,ordinal:t.ordinal}},i.months=function(){return r(s(),"months")},i.monthsShort=function(){return r(s(),"monthsShort","months",3)},i.weekdays=function(t){return r(s(),"weekdays",null,null,t)},i.weekdaysShort=function(t){return r(s(),"weekdaysShort","weekdays",3,t)},i.weekdaysMin=function(t){return r(s(),"weekdaysMin","weekdays",2,t)}}}(ce);var he=Gt(ce.exports),ue={exports:{}};!function(t,e){t.exports=function(t,e,i){i.updateLocale=function(t,e){var n=i.Ls[t];if(n)return(e?Object.keys(e):[]).forEach((function(t){n[t]=e[t]})),n}}}(ue);var me=Gt(ue.exports),pe={exports:{}};!function(t,e){t.exports=function(t,e,i){t=t||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function r(t,e,i,o){return n.fromToBase(t,e,i,o)}i.en.relativeTime=o,n.fromToBase=function(e,n,r,s,a){for(var d,l,c,h=r.$locale().relativeTime||o,u=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=u.length,p=0;p0,v<=f.r||!f.r){v<=1&&p>0&&(f=u[p-1]);var g=h[f.l];a&&(v=a(""+v)),l="string"==typeof g?g.replace("%d",v):g(v,n,f.l,c);break}}if(n)return l;var _=c?h.future:h.past;return"function"==typeof _?_(l):_.replace("%s",l)},n.to=function(t,e){return r(t,e,this,!0)},n.from=function(t,e){return r(t,e,this)};var s=function(t){return t.$u?i.utc():i()};n.toNow=function(t){return this.to(s(this),t)},n.fromNow=function(t){return this.from(s(this),t)}}}(pe);var fe=Gt(pe.exports),ve={exports:{}};!function(t,e){t.exports=function(){var t="day";return function(e,i,n){var o=function(e){return e.add(4-e.isoWeekday(),t)},r=i.prototype;r.isoWeekYear=function(){return o(this).year()},r.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var i,r,s,a=o(this),d=(i=this.isoWeekYear(),s=4-(r=(this.$u?n.utc:n)().year(i).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(s+=7),r.add(s,t));return a.diff(d,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var s=r.startOf;r.startOf=function(t,e){var i=this.$utils(),n=!!i.u(e)||e;return"isoweek"===i.p(t)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(t,e)}}}()}(ve);var ge=Gt(ve.exports),_e={exports:{}};!function(t,e){t.exports=function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,i,n){var o=i.prototype,r=o.format;n.en.formats=t,o.format=function(e){void 0===e&&(e="YYYY-MM-DDTHH:mm:ssZ");var i=this.$locale().formats,n=function(e,i){return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,o){var r=o&&o.toUpperCase();return n||i[o]||t[o]||i[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,i){return e||i.slice(1)}))}))}(e,void 0===i?{}:i);return r.call(this,n)}}}()}(_e);var ye=Gt(_e.exports),be={exports:{}};!function(t,e){t.exports=function(t,e){e.prototype.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)}}}(be);var xe=Gt(be.exports),we={exports:{}};!function(t,e){t.exports=function(){var t="week",e="year";return function(i,n,o){var r=n.prototype;r.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var r=o(this).startOf(e).add(1,e).date(n),s=o(this).endOf(t);if(r.isBefore(s))return 1}var a=o(this).startOf(e).date(n).startOf(t).subtract(1,"millisecond"),d=this.diff(a,t,!0);return d<0?o(this).startOf("week").week():Math.ceil(d)},r.weeks=function(t){return void 0===t&&(t=null),this.week(t)}}}()}(we);var Ee=Gt(we.exports),ke={exports:{}};!function(t,e){t.exports=function(){var t,e,i=1e3,n=6e4,o=36e5,r=864e5,s=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,a=31536e6,d=2592e6,l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,c={years:a,months:d,days:r,hours:o,minutes:n,seconds:i,milliseconds:1,weeks:6048e5},h=function(t){return t instanceof _},u=function(t,e,i){return new _(t,i,e.$l)},m=function(t){return e.p(t)+"s"},p=function(t){return t<0},f=function(t){return p(t)?Math.ceil(t):Math.floor(t)},v=function(t){return Math.abs(t)},g=function(t,e){return t?p(t)?{negative:!0,format:""+v(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},_=function(){function p(t,e,i){var n=this;if(this.$d={},this.$l=i,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),e)return u(t*c[m(e)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach((function(e){n.$d[m(e)]=t[e]})),this.calMilliseconds(),this;if("string"==typeof t){var o=t.match(l);if(o){var r=o.slice(2).map((function(t){return null!=t?Number(t):0}));return this.$d.years=r[0],this.$d.months=r[1],this.$d.weeks=r[2],this.$d.days=r[3],this.$d.hours=r[4],this.$d.minutes=r[5],this.$d.seconds=r[6],this.calMilliseconds(),this}}return this}var v=p.prototype;return v.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(e,i){return e+(t.$d[i]||0)*c[i]}),0)},v.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=f(t/a),t%=a,this.$d.months=f(t/d),t%=d,this.$d.days=f(t/r),t%=r,this.$d.hours=f(t/o),t%=o,this.$d.minutes=f(t/n),t%=n,this.$d.seconds=f(t/i),t%=i,this.$d.milliseconds=t},v.toISOString=function(){var t=g(this.$d.years,"Y"),e=g(this.$d.months,"M"),i=+this.$d.days||0;this.$d.weeks&&(i+=7*this.$d.weeks);var n=g(i,"D"),o=g(this.$d.hours,"H"),r=g(this.$d.minutes,"M"),s=this.$d.seconds||0;this.$d.milliseconds&&(s+=this.$d.milliseconds/1e3);var a=g(s,"S"),d=t.negative||e.negative||n.negative||o.negative||r.negative||a.negative,l=o.format||r.format||a.format?"T":"",c=(d?"-":"")+"P"+t.format+e.format+n.format+l+o.format+r.format+a.format;return"P"===c||"-P"===c?"P0D":c},v.toJSON=function(){return this.toISOString()},v.format=function(t){var i=t||"YYYY-MM-DDTHH:mm:ss",n={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return i.replace(s,(function(t,e){return e||String(n[t])}))},v.as=function(t){return this.$ms/c[m(t)]},v.get=function(t){var e=this.$ms,i=m(t);return"milliseconds"===i?e%=1e3:e="weeks"===i?f(e/c[i]):this.$d[i],0===e?0:e},v.add=function(t,e,i){var n;return n=e?t*c[m(e)]:h(t)?t.$ms:u(t,this).$ms,u(this.$ms+n*(i?-1:1),this)},v.subtract=function(t,e){return this.add(t,e,!0)},v.locale=function(t){var e=this.clone();return e.$l=t,e},v.clone=function(){return u(this.$ms,this)},v.humanize=function(e){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},v.valueOf=function(){return this.asMilliseconds()},v.milliseconds=function(){return this.get("milliseconds")},v.asMilliseconds=function(){return this.as("milliseconds")},v.seconds=function(){return this.get("seconds")},v.asSeconds=function(){return this.as("seconds")},v.minutes=function(){return this.get("minutes")},v.asMinutes=function(){return this.as("minutes")},v.hours=function(){return this.get("hours")},v.asHours=function(){return this.as("hours")},v.days=function(){return this.get("days")},v.asDays=function(){return this.as("days")},v.weeks=function(){return this.get("weeks")},v.asWeeks=function(){return this.as("weeks")},v.months=function(){return this.get("months")},v.asMonths=function(){return this.as("months")},v.years=function(){return this.get("years")},v.asYears=function(){return this.as("years")},p}(),y=function(t,e,i){return t.add(e.years()*i,"y").add(e.months()*i,"M").add(e.days()*i,"d").add(e.hours()*i,"h").add(e.minutes()*i,"m").add(e.seconds()*i,"s").add(e.milliseconds()*i,"ms")};return function(i,n,o){t=o,e=o().$utils(),o.duration=function(t,e){var i=o.locale();return u(t,{$l:i},e)},o.isDuration=h;var r=n.prototype.add,s=n.prototype.subtract;n.prototype.add=function(t,e){return h(t)?y(this,t,1):r.bind(this)(t,e)},n.prototype.subtract=function(t,e){return h(t)?y(this,t,-1):s.bind(this)(t,e)}}}()}(ke);var Se=Gt(ke.exports);!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t);function n(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,i,o){var r=t+" ";switch(i){case"s":return e||o?"pár sekund":"pár sekundami";case"m":return e?"minuta":o?"minutu":"minutou";case"mm":return e||o?r+(n(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":o?"hodinu":"hodinou";case"hh":return e||o?r+(n(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||o?"den":"dnem";case"dd":return e||o?r+(n(t)?"dny":"dní"):r+"dny";case"M":return e||o?"měsíc":"měsícem";case"MM":return e||o?r+(n(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||o?"rok":"rokem";case"yy":return e||o?r+(n(t)?"roky":"let"):r+"lety"}}var r={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(t){return t+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return i.default.locale(r,null,!0),r}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,ordinal:function(t){return t+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(t,e,i){var o=n[i];return Array.isArray(o)&&(o=o[e?0:1]),o.replace("%d",t)}var r={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return i.default.locale(r,null,!0),r}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(t,e,i){var o=n[i];return Array.isArray(o)&&(o=o[e?0:1]),o.replace("%d",t)}var r={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return i.default.locale(r,null,!0),r}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(t,e,i){var o=n[i];return Array.isArray(o)&&(o=o[e?0:1]),o.replace("%d",t)}var r={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return i.default.locale(r,null,!0),r}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}}}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"es-do",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"es-us",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(t){return t+"º"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t);function n(t,e,i,n){var o={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},r={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=n&&!e?r:o,a=s[i];return t<10?a.replace("%d",s.numbers[t]):a.replace("%d",t)}var o={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return i.default.locale(o,null,!0),o}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(t){return t+(1===t?"er":"")}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function o(t,e,i){return(n[i+(2===t?"2":"")]||n[i]).replace("%d",t)}var r={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},ordinal:function(t){return t},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return i.default.locale(r,null,!0),r}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(t){return t+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(t,e,i,n){return"néhány másodperc"+(n||e?"":"e")},m:function(t,e,i,n){return"egy perc"+(n||e?"":"e")},mm:function(t,e,i,n){return t+" perc"+(n||e?"":"e")},h:function(t,e,i,n){return"egy "+(n||e?"óra":"órája")},hh:function(t,e,i,n){return t+" "+(n||e?"óra":"órája")},d:function(t,e,i,n){return"egy "+(n||e?"nap":"napja")},dd:function(t,e,i,n){return t+" "+(n||e?"nap":"napja")},M:function(t,e,i,n){return"egy "+(n||e?"hónap":"hónapja")},MM:function(t,e,i,n){return t+" "+(n||e?"hónap":"hónapja")},y:function(t,e,i,n){return"egy "+(n||e?"év":"éve")},yy:function(t,e,i,n){return t+" "+(n||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(t){return t+"º"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(t){return t+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(t){return t<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(t){return(""+t).replace(/\d/g,(function(t){return"०१२३४५६७८९"[t]}))},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(t){return"["+t+(1===t||8===t||t>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t);function n(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function o(t,e,i){var o=t+" ";switch(i){case"m":return e?"minuta":"minutę";case"mm":return o+(n(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return o+(n(t)?"godziny":"godzin");case"MM":return o+(n(t)?"miesiące":"miesięcy");case"yy":return o+(n(t)?"lata":"lat")}}var r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),s="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a=/D MMMM/,d=function(t,e){return a.test(e)?r[t.month()]:s[t.month()]};d.s=s,d.f=r;var l={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:d,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:o,y:"rok",yy:o},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(l,null,!0),l}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(t){return t+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(t){return t+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),o="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),r="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),s="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),a=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(t,e,i){var n,o;return"m"===i?e?"минута":"минуту":t+" "+(n=+t,o={mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[i].split("_"),n%10==1&&n%100!=11?o[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?o[1]:o[2])}var l=function(t,e){return a.test(e)?n[t.month()]:o[t.month()]};l.s=o,l.f=n;var c=function(t,e){return a.test(e)?r[t.month()]:s[t.month()]};c.s=s,c.f=r;var h={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:l,monthsShort:c,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:d,mm:d,h:"час",hh:d,d:"день",dd:d,M:"месяц",MM:d,y:"год",yy:d},ordinal:function(t){return t},meridiem:function(t){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"}};return i.default.locale(h,null,!0),h}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(t){return t+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"čez %s",past:"pred %s",s:"nekaj sekund",m:"minuta",mm:"%d minut",h:"ura",hh:"%d ur",d:"dan",dd:"%d dni",M:"mesec",MM:"%d mesecev",y:"leto",yy:"%d let"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(t){var e=t%10;return"["+t+(1===e||2===e?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return i.default.locale(n,null,!0),n}(Xt)}({exports:{}});!function(t,e){t.exports=function(t){function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t);function n(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,i,o){var r=t+" ";switch(i){case"s":return e||o?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":o?"minútu":"minútou";case"mm":return e||o?r+(n(t)?"minúty":"minút"):r+"minútami";case"h":return e?"hodina":o?"hodinu":"hodinou";case"hh":return e||o?r+(n(t)?"hodiny":"hodín"):r+"hodinami";case"d":return e||o?"deň":"dňom";case"dd":return e||o?r+(n(t)?"dni":"dní"):r+"dňami";case"M":return e||o?"mesiac":"mesiacom";case"MM":return e||o?r+(n(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||o?"rok":"rokom";case"yy":return e||o?r+(n(t)?"roky":"rokov"):r+"rokmi"}}var r={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(t){return t+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return i.default.locale(r,null,!0),r}(Xt)}({exports:{}}); /** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -const ce=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype; +const Me=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype; /** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -function me(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:n}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const a=this.renderOptions.creationScope=this.attachShadow({...n,customElements:t.registry});return((t,e)=>{ce?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(a,this.constructor.elementStyles),a}}}var he={version:"Version",show_warning:"Vis Advarsel",error:"Fejl",description:"Et avanceret kalender kort til Home Assistant.",fullDayEventText:"Hele dagen",untilText:"Indtil",noEventText:"Ingen aftaler",noEventsForNextDaysText:"Ingen aftaler de næste få dage",hiddenEventText:"Aftaler er skjulte"},ue={common:{previous:"Forrige",next:"Næste",week:"Uge"}},pe={invalid_configuration:"Konfiguration er ikke korrekt",update_card:"Kalender kan ikke blive indlæste fra Home Assistant atomic-calendar-revive",no_entities:"Der er ikke valgt nogen entiteter"},fe={name:"Påkrævet",secondary:"Valg er påkrævet for at atomic-calendar-revive skal virke"},ge={name:"Hoved muligheder",secondary:"Muligheder der virker globalt",fields:{name:"Navn",showColors:"Vis Farver",maxDaysToShow:"Antal max dage at vise",showLocation:"Vis placerings ikon",showLoader:"Vis animeret indlæsning",showDate:"Vis dato på kort",showDeclined:"Vis afviste aftaler",sortByStartTime:"Sorter på start tid",hideFinishedEvents:"Skjul overståede aftaler",dateFormat:"Dato format",hoursFormat:"Time format",defaultMode:"Default mode",linkTarget:"Link mål",refreshInterval:"Opdaterings interval",showRelativeTime:"Vis den relative tid",firstDayOfWeek:"Første dag i ugen 0-6",cardHeight:"Højde på kort",hideDuplicates:"Skjul dubletter",showMultiDay:"Opdelt flerdages begivenheder",showMultiDayEventParts:"Vis flere dages begivenhedsdele",eventTitle:"Indstil tom begivenhedstitel",compactMode:"Aktiver kompakt tilstand",hoursOnSameLine:"Vis timer på begivenhedslinjen",titleLength:"Max titellængde (0 for ubegrænset)",descLength:"Max beskrivelseslængde (0 for ubegrænset)"}},ve={name:"Tilstand for aftaler",secondary:"Tilstand for specifikke muligheder",fields:{showCurrentEventLine:"Vis en linie før aftale?",showProgressBar:"Vis status bar?",showMonth:"Vis måned?",showWeekDay:"Vis ugedag",showDescription:"Vis beskrivelse?",disableEventLink:"Fjern link i titel på aftale?",disableLocationLink:"Fjern link på placering?",showNoEventsForToday:"Vis Ingen aftaler i dag?",showFullDayProgress:"Vis fremskridt på hel dags aftaler?",untilText:"Indtil næste gang:",noEventText:"Hvis ingen aftale, vis tekst:",noEventsForNextDaysText:"Tekst der vises, Ingen aftaler de næste dage:",fullDayEventText:"Hel dags tekst:",showEventIcon:"Vis aftale ikon",showHiddenText:"Vis skjulte aftaler tekst?",hiddenEventText:"Tekst til skjulte aftaler:",showCalendarName:"Vis kalendernavn",showWeekNumber:"Vis ugenumre",showEventDate:"Vis dato for arrangementer",showDatePerEvent:"Vis dato ud for hver begivenhed",showTimeRemaining:"Vis resterende tid",showAllDayHours:"Vis Heldagsbegivenhedstekst"}},_e={name:"Tilstand for kalender",secondary:"Specifikke kalender tilstande muligheder",fields:{showLastCalendarWeek:"Vis sidste kalender uge",disableCalEventLink:"Fjern kalender aftale link",disableCalLocationLink:"Fjern kalender lokation link",calShowDescription:"Vis beskrivelse",disableCalLink:"Fjern kalender link"}},be={name:"Appearance",secondary:"Tilpas farver etc.",main:{name:"Main",secondary:"Global indstillinger for farver"},fields:{locationLinkColor:"Placerings link farve:",dimFinishedEvents:"Nedtone overståede aftaler?"}},ye={common:he,ui:ue,errors:pe,required:fe,main:ge,event:ve,calendar:_e,appearance:be},xe={version:"Version",show_warning:"Warnung anzeigen",error:"Fehler",description:"Erweiterte Kalenderkarte für Home Assistant Lovelace",fullDayEventText:"Ganztägig",untilText:"Bis",noEventText:"Keine Einträge",noEventsForNextDaysText:"Keine Einträge in den nächsten Tagen",hiddenEventText:"Einige Einträge sind ausgeblendet."},we={common:{previous:"Zurück",next:"Vor",week:"Woche"}},ke={invalid_configuration:"Ungültige Konfiguration",update_card:"Der Kalender kann von der Home Assistant-Komponente nicht geladen werden!"},Ee={name:"Benötigt",secondary:"Folgende Optionen sind notwendig, damit die Lovelace Karte angezeigt werden kann:"},Me={name:"Haupteinstellungen",secondary:"Global geltende Optionen",fields:{name:"Name",showColors:"Farben anzeigen",maxDaysToShow:"Maximal angezeigte Tage",showLocation:"Ortssymbol anzeigen",showLoader:"Ladeanimation anzeigen",showDate:"Datum mitanzeigen",showDeclined:"Abgelehnte Einträge anzeigen",sortByStartTime:"Nach Startzeit sortieren",hideFinishedEvents:"Beendete Einträge ausblenden",dateFormat:"Datumsformat",hoursFormat:"Stundenformat",defaultMode:"Standardmodus",linkTarget:"Verknüpfungsziel",refreshInterval:"Aktualisierungsintervall",showRelativeTime:"Relative Zeit anzeigen",firstDayOfWeek:"Erster Wochentag 0-6",cardHeight:"Kartenhöhe",hideDuplicates:"Duplikate ausblenden",showMultiDay:"Split meerdaagse evenementen",showMultiDayEventParts:"Toon meerdaagse evenementonderdelen",eventTitle:"Lege evenementtitel instellen",compactMode:"Schakel de compacte modus in",hoursOnSameLine:"Toon uren op de gebeurtenisregel",titleLength:"Maximale titellengte (0 voor onbeperkt)",descLength:"Maximale beschrijvingslengte (0 voor onbeperkt)"}},Te={name:"Ereignismodus",secondary:"Ereignismodus-spezifische Optionen",fields:{showCurrentEventLine:"Linie vor einem Eintrag anzeigen?",showProgressBar:"Fortschrittsbalken anzeigen?",showMonth:"Monat anzeigen?",showWeekDay:"Wochentag anzeigen?",showDescription:"Beschreibung anzeigen?",disableEventLink:"Links im Ereignistitel deaktivieren?",disableLocationLink:"Links zum Ort deaktivieren?",showNoEventsForToday:"'Keine Einträge heute' anzeigen?",showFullDayProgress:"Ganztägigen Fortschritt der Einträge anzeigen?",untilText:"Text für 'bis':",noEventText:"Text für 'Keine Einträge heute':",noEventsForNextDaysText:"Text für 'Keine Einträge in den nächsten Tagen':",fullDayEventText:"Text für 'Ganztägiger Eintrag':",showEventIcon:"Ereignis-Symbol anzeigen?",showHiddenText:"Versteckten Ereignistext anzeigen?",hiddenEventText:"Text für versteckte Ereignisse",showCalendarName:"Toon agendanaam",showWeekNumber:"Toon weeknummers",showEventDate:"Toon datum voor evenementen",showDatePerEvent:"Toon datum naast elk evenement",showTimeRemaining:"Laat de resterende tijd zien",showAllDayHours:"Toon de tekst van de hele dag-gebeurtenis"}},Le={name:"Kalendermodus",secondary:"Kalendermodus-spezifische Optionen",fields:{showLastCalendarWeek:"Letzte Kalenderwoche anzeigen?",disableCalEventLink:"Links für Kalendereinträge deaktivieren?",disableCalLocationLink:"Links für Ortsangaben in Kalendereinträgen deaktivieren?",calShowDescription:"Beschreibung anzeigen?",disableCalLink:"Kalenderlinks deaktivieren?"}},Se={name:"Erscheinungsbild",secondary:"Farbanpassungen usw.",main:{name:"Globale Einstellungen",secondary:"Globale Farbeinstellungen"},fields:{locationLinkColor:"Farbe für Links zu Ortsangaben:",dimFinishedEvents:"Erledigte Einträge blasser anzeigen?"}},De={common:xe,ui:we,errors:ke,required:Ee,main:Me,event:Te,calendar:Le,appearance:Se},Ce={version:"Version",show_warning:"Show Warning",error:"Error",description:"An advanced calendar card for Home Assistant with Lovelace.",fullDayEventText:"All Day",untilText:"Until",noEventText:"No events",noEventsForNextDaysText:"No events in the next few days",hiddenEventText:"events are hidden"},Ae={common:{previous:"Previous",next:"Next",week:"Week"}},Ie={invalid_configuration:"Invalid Configuration",update_card:"The calendar can't be loaded from Home Assistant component",no_entities:"You have not specified any entities"},Ye={name:"Required",secondary:"Required options for this card to function"},Oe={name:"Main Options",secondary:"Options that apply globally",fields:{name:"Name",showColors:"Show Colors",maxDaysToShow:"Max days to show",showLocation:"Show location icon",showLoader:"Show loader animation",showDate:"Show date on card",showDeclined:"Show declined events",sortByStartTime:"Sort by start time",hideFinishedEvents:"Hide finished events",dateFormat:"Date format",hoursFormat:"Hours format",defaultMode:"Default mode",linkTarget:"Link target",refreshInterval:"Refresh Interval",showRelativeTime:"Show Relative Time",firstDayOfWeek:"First Day of Week 0-6",cardHeight:"Card Height",hideDuplicates:"Hide duplicates",showMultiDay:"Split Multi-Day Events",showMultiDayEventParts:"Show Multi-Day Event Parts",eventTitle:"Set blank event title",compactMode:"Enable compact mode",hoursOnSameLine:"Show hours on the event line",titleLength:"Max title length (0 for unlimited)",descLength:"Max description length (0 for unlimited)"}},Fe={name:"Event Mode",secondary:"Event Mode specific options",fields:{showCurrentEventLine:"Show line before event?",showProgressBar:"Show progress bar?",showMonth:"Show month?",showWeekDay:"Show Week Day",showDescription:"Show Description?",disableEventLink:"Disable links in event title?",disableLocationLink:"Disable links to location?",showNoEventsForToday:"Show No Events Today?",showFullDayProgress:"Show full day event progress?",untilText:"until text:",noEventText:"No events today text:",noEventsForNextDaysText:"No events in the next few days text:",fullDayEventText:"Full day event text:",showEventIcon:"Show Event Icon",showHiddenText:"Show hidden event text?",hiddenEventText:"Text for hidden events:",showCalendarName:"Show calendar name",showWeekNumber:"Show week numbers",showEventDate:"Show date for events",showDatePerEvent:"Show date next to each event",showTimeRemaining:"Show time remaining",showAllDayHours:"Show All Day event text"}},Re={name:"Calendar Mode",secondary:"Calendar Mode specific options",fields:{showLastCalendarWeek:"Show last calendar week",disableCalEventLink:"Disable calendar event link",disableCalLocationLink:"Disable calendar location link",calShowDescription:"Show Description",disableCalLink:"Disable calendar link"}},He={name:"Appearance",secondary:"Customize the colors etc.",main:{name:"Main",secondary:"Global Color Settings"},fields:{locationLinkColor:"Location Link Color:",dimFinishedEvents:"Dim finished events?"}},Ne={common:Ce,ui:Ae,errors:Ie,required:Ye,main:Oe,event:Fe,calendar:Re,appearance:He},$e={version:"Versioon",show_warning:"Näita hoiatusi",error:"Viga",description:"Lisa mugandatav kalender kasutajaliidesesse.",fullDayEventText:"Terve päev",untilText:"Kuni",noEventText:"üritusi pole",noEventsForNextDaysText:"Paari järgmise päeva sündmusi pole",hiddenEventText:"Sündmused on varjatud"},ze={common:{previous:"Eelmine",next:"Järgmine",week:"Nädal"}},Pe={invalid_configuration:"Sätetes on viga",update_card:"Kalendri laadimine nurjus"},je={name:"Vajalikud",secondary:"Selle kaardi toimiseks oluline teave"},Ve={name:"Üleüldised valikud",secondary:"Valikud kõigi kaardi olemite jaoks",fields:{name:"Pealkiri",showColors:"Kasuta värve",maxDaysToShow:"Mitu päeva kuvada",showLocation:"Kuva asukoha ikooni",showLoader:"Kuva laadimisel animatsiooni",showDate:"Kuva tänane kuupäev",showDeclined:"Kuva summutatud sündmused",sortByStartTime:"Järjesta ajaliselt",hideFinishedEvents:"Peida lõppenud sündmused",dateFormat:"Kuupäeva vorming",hoursFormat:"Kellaaja vorming",defaultMode:"Vaikerežiim",linkTarget:"Viite tüüp",refreshInterval:"Värskendussagedus",showRelativeTime:"Kuva suhtelist aega",firstDayOfWeek:"Nädala esimene päev (0-6)",cardHeight:"kaardi kõrgus",hideDuplicates:"peida duplikaadid",showMultiDay:"Jagatud mitmepäevased üritused",showMultiDayEventParts:"Näita mitmepäevaste sündmuste osi",eventTitle:"Määra tühi sündmuse pealkiri",compactMode:"Kompaktrežiimi lubamine",hoursOnSameLine:"Näidake sündmuse reale tundi",titleLength:"Pealkirja maksimaalne pikkus (0 piiramatu jaoks)",descLength:"Kirjelduse maksimaalne pikkus (0 piiramatu puhul)"}},Be={name:"Sündmuste vaade",secondary:"Sündmuste vaate valikud",fields:{showCurrentEventLine:"Kas kuvada sündmuse ees eraldaja",showProgressBar:"Kas kuvada edenemise riba?",showMonth:"Kas kuvada kuu?",showWeekDay:"Kuva nädalapäev",showDescription:"Kas kuvada kirjeldust?",disableEventLink:"Kas keelata viited sündmuse päises?",disableLocationLink:"Kas keelata asukoha viited?",showNoEventsForToday:"Kas kuvada tänaste sündmuste puudumist?",showFullDayProgress:"Kas kuvada terve päeva sündmuste edenemist?",untilText:"Kestab kuni tekst:",noEventText:"Tänased sündmused puuduvad tekst:",noEventsForNextDaysText:"Paaril järgmisel päeval pole sündmusi tekst:",fullDayEventText:"Kogu päeva kestev sündmus tekst:",showEventIcon:"Kuva sündmuse ikooni",showHiddenText:"Kas näidata summutatud teksti?",showCalendarName:"Kuva kalendri nimi",showWeekNumber:"Näita nädala numbreid",showEventDate:"Näita sündmuste kuupäeva",showDatePerEvent:"Kuva kuupäev iga sündmuse kõrval",showTimeRemaining:"Näita järelejäänud aega",showAllDayHours:"Näita kogu päeva sündmuse teksti"}},Ue={name:"Kalendrivaade",secondary:"Kalendrivaate valikud",fields:{showLastCalendarWeek:"Kuva kalendri viimane nädal",disableCalEventLink:"Keela kalendrisündmuse viide",disableCalLocationLink:"Keela sündmuse asukoha viide",calShowDescription:"Kirjelduse kuvamine",disableCalLink:"Peida kalendri viide"}},We={name:"Välimus",secondary:"Muganda värve jms.",main:{name:"Peamine",secondary:"Üldised värvuse sätted"},fields:{locationLinkColor:"Asukohaviite värv:",dimFinishedEvents:"Kas tumendada lõppenud sündmused?"}},qe={common:$e,ui:ze,errors:Pe,required:je,main:Ve,event:Be,calendar:Ue,appearance:We},Ge={version:"Versio",show_warning:"Näytä varoitus",error:"Virhe",description:"Edistyksellinen kalenterikortti Home Assistantille Lovelacen kanssa.",fullDayEventText:"Koko päivä",untilText:"Asti",noEventText:"Ei tapahtumia",noEventsForNextDaysText:"Ei tapahtumia lähipäivinä",hiddenEventText:"tapahtumat on piilotettu"},Ke={common:{previous:"Edellinen",next:"Seuraava",week:"Viikko"}},Xe={invalid_configuration:"Virheelliset asetukset",update_card:"Kalenteria ei voi ladata Home Assistant -komponentista",no_entities:"Et ole määrittänyt yhtään entiteettiä"},Je={name:"Vaadittu",secondary:"Tämän kortin toiminnan edellyttämät vaihtoehdot"},Ze={name:"Päävaihtoehdot",secondary:"Vaihtoehdot, jotka ovat voimassa kaikkialla",fields:{name:"Nimi",showColors:"Näytä värit",maxDaysToShow:"Enintään näytettävät päivät",showLocation:"Näytä sijainnin kuvake",showLoader:"Näytä latausanimaatio",showDate:"Näytä päivämäärä kortissa",showDeclined:"Näytä hylätyt tapahtumat",sortByStartTime:"Lajittele alkamisajan mukaan",hideFinishedEvents:"Piilota valmiit tapahtumat",dateFormat:"Päivämäärämuoto",hoursFormat:"Tuntien muoto",defaultMode:"Oletustila",linkTarget:"Linkin kohde",refreshInterval:"Päivitysväli",showRelativeTime:"Näytä suhteellinen aika",firstDayOfWeek:"Viikon ensimmäinen päivä 0-6",cardHeight:"Kortin korkeus",hideDuplicates:"Piilota kaksoiskappaleet",showMultiDay:"Jaa monipäiväiset tapahtumat",showMultiDayEventParts:"Näytä usean päivän tapahtuman osat",eventTitle:"Aseta tyhjä tapahtuman otsikko",compactMode:"Ota kompakti tila käyttöön",hoursOnSameLine:"Näytä tunnit tapahtumarivillä",titleLength:"Otsikon enimmäispituus (0 rajattomasti)",descLength:"Kuvauksen enimmäispituus (0 rajattomasti)"}},Qe={name:"Tapahtumatila",secondary:"Tapahtumatilan erityisasetukset",fields:{showCurrentEventLine:"Näytetäänkö viiva ennen tapahtumaa?",showProgressBar:"Näytetäänkö edistymispalkki?",showMonth:"Näytä kuukausi?",showWeekDay:"Näytä viikonpäivä?",showDescription:"Näytä kuvaus?",disableEventLink:"Poistetaanko linkit käytöstä tapahtuman otsikossa?",disableLocationLink:"Poistetaanko sijaintilinkit käytöstä?",showNoEventsForToday:"Näytä ei tapahtumia tänään?",showFullDayProgress:"Näytetäänkö koko päivän tapahtuman edistyminen?",untilText:"asti -teksti:",noEventText:"Ei tapahtumia tänään -teksti:",noEventsForNextDaysText:"Ei tapahtumia lähipäivinä -teksti:",fullDayEventText:"Koko päivän tapahtuma -teksti:",showEventIcon:"Näytä tapahtumakuvake",showHiddenText:"Näytetäänkö piilotetun tapahtuman teksti?",hiddenEventText:"Teksti piilotetuille tapahtumille:",showCalendarName:"Näytä kalenterin nimi",showWeekNumber:"Näytä viikkonumerot",showEventDate:"Näytä tapahtumien päivämäärä",showDatePerEvent:"Näytä päivämäärä jokaisen tapahtuman vieressä",showTimeRemaining:"Näytä jäljellä oleva aika",showAllDayHours:"Näytä koko päivän tapahtuman teksti"}},ti={name:"Kalenteritila",secondary:"Kalenteritilan erityisasetukset",fields:{showLastCalendarWeek:"Näytä viimeinen kalenteriviikko",disableCalEventLink:"Poista kalenterin tapahtumalinkki käytöstä",disableCalLocationLink:"Poista kalenterin sijaintilinkki käytöstä",calShowDescription:"Näytä kuvaus",disableCalLink:"Poista kalenterilinkki käytöstä"}},ei={name:"Ulkomuoto",secondary:"Mukauta värejä jne.",main:{name:"Pää",secondary:"Yleiset väriasetukset"},fields:{locationLinkColor:"Sijaintilinkin väri:",dimFinishedEvents:"Himmennä päättyneet tapahtumat?"}},ii={common:Ge,ui:Ke,errors:Xe,required:Je,main:Ze,event:Qe,calendar:ti,appearance:ei},ni={version:"Version",show_warning:"Afficher l'avertissement",error:"Erreur",description:"Une carte avancée pour le calendrier dans Home Assistant avec Lovelace.",fullDayEventText:"Toute la journée",untilText:"Jusqu'au",noEventText:"pas d'événements",noEventsForNextDaysText:"Aucun événement dans les prochains jours",hiddenEventText:"les événements sont masqués"},ai={common:{previous:"Précédent",next:"Suivant",week:"Semaine"}},oi={invalid_configuration:"Configuration invalide",update_card:"Le calendrier ne peut pas être chargé depuis le composant Home Assistant",no_entities:"Vous n'avez pas specifier d'entitées"},ri={name:"Requis",secondary:"Options requises pour que la carte fonctionne"},si={name:"Options principales",secondary:"Options appliquées globalement",fields:{name:"Nom",showColors:"Afficher les couleurs",maxDaysToShow:"Max jours affichés",showLocation:"Afficher l'icone de lieu",showLoader:"Afficher l'animation de chargement",showDate:"Afficher la date sur la carte",showDeclined:"Afficher les événements déclinés",sortByStartTime:"Trier par date de début",hideFinishedEvents:"Cacher les événements terminés",dateFormat:"Format de date",hoursFormat:"Format des heures",defaultMode:"Mode par défaut",linkTarget:"Lien cible",refreshInterval:"Interval de raffraîchissement",showRelativeTime:"Afficher l'heure relative",firstDayOfWeek:"Premier jour de la semaine 0-6",cardHeight:"hauteur de la carte",hideDuplicates:"masquer les doublons",showMultiDay:"Séparer les événements de plusieurs jours",showMultiDayEventParts:"Afficher les parties de l'événement sur plusieurs jours",eventTitle:"Définir un titre d'événement vide",compactMode:"Activer le mode compact",hoursOnSameLine:"Afficher les heures sur la ligne de l'événement",titleLength:"Longueur maximale du titre (0 pour illimité)",descLength:"Longueur maximale de la description (0 pour illimité)"}},di={name:"Mode événement",secondary:"Options spécifiques du mode événement",fields:{showCurrentEventLine:"Afficher une ligne avant l'événement?",showProgressBar:"Afficher la barre de progression?",showMonth:"Afficher le mois?",showWeekDay:"Afficher le jour de la semaine?",showDescription:"Afficher la description?",disableEventLink:"Désactiver les liens dans les titres d'événements?",disableLocationLink:"Désactiver les liens vers le lieu?",showNoEventsForToday:"Afficher Aucun événement aujourd'hui?",showFullDayProgress:"Afficher la progression des événements sur une journée?",untilText:"Texte Jusqu'au:",noEventText:"Texte Aucun événement aujourd'hui:",noEventsForNextDaysText:"Texte Aucun événement dans les prochains jours:",fullDayEventText:"Texte Toute la journée:",showEventIcon:"Afficher l'icone d'événement",showHiddenText:"Afficher le texte de l'événement masqué",hiddenEventText:"Texte pour les événements masqués:",showCalendarName:"Afficher le nom du calendrier",showWeekNumber:"Afficher les numéros de semaine",showEventDate:"Afficher la date des événements",showDatePerEvent:"Afficher la date à côté de chaque événement",showTimeRemaining:"Afficher le temps restant",showAllDayHours:"Afficher le texte de l'événement toute la journée"}},li={name:"Mode calendrier",secondary:"Options spécifiques du mode calendrier",fields:{showLastCalendarWeek:"Afficher la dernière semaine du calendrier",disableCalEventLink:"Désactiver les liens sur les événements du calendrier",disableCalLocationLink:"Désactiver les liens sur les lieux du calendrier",calShowDescription:"Afficher la description",disableCalLink:"Désactiver les liens calendar"}},ci={name:"Apparence",secondary:"Customiser les couleurs etc.",main:{name:"Principal",secondary:"Paramètres globaux de couleur"},fields:{locationLinkColor:"Couleur du lien d'un lieu:",dimFinishedEvents:"Diminuer la visibilité des événements terminés?"}},mi={common:ni,ui:ai,errors:oi,required:ri,main:si,event:di,calendar:li,appearance:ci},hi={version:"Versjon",show_warning:"Vis Advarsel",error:"Feil",description:"Et avansert kalenderkort for Home Assistant med Lovelace",fullDayEventText:"Hele dagen",untilText:"Inntil",noEventText:"Ingen hendelser",noEventsForNextDaysText:"Ingen hendelser de nærmeste dager",hiddenEventText:"hendelser er skjulte"},ui={common:{previous:"Forrige",next:"Neste",week:"Uke"}},pi={invalid_configuration:"Ugyldig konfigurasjon",update_card:"Kalenderen kan ikke bli hentet fra Home Assistant komponenten",no_entities:"Du har ikke valgt noen entiteter"},fi={name:"Obligatorisk",secondary:"Obligatoriske valg for at atomic-calendar-revive skal virke"},gi={name:"Hovedvalg",secondary:"Valg som virker globalt",fields:{name:"Navn",showColors:"Vis Farger",maxDaysToShow:"Maksimum antall dager å vise",showLocation:"Vis lokasjonsikon",showLoader:"Vis animasjon ved innlasting",showDate:"Vis dato på kort",showDeclined:"Vis avviste hendelser",sortByStartTime:"Sortér på starttid",hideFinishedEvents:"Skjul avsluttede hendelser",dateFormat:"Datoformat",hoursFormat:"Timesformat",defaultMode:"Standardmodus",linkTarget:"Lenkemål",refreshInterval:"Oppdateringsintervall",showRelativeTime:"Vis den relative tiden",firstDayOfWeek:"Første dag i uken 0-6",cardHeight:"Høyde på kort",hideDuplicates:"Skjul duplikater",showMultiDay:"Delte flerdagers arrangementer",showMultiDayEventParts:"Vis flerdagers arrangementsdeler",eventTitle:"Angi en tom hendelsestittel",compactMode:"Aktiver kompakt modus",hoursOnSameLine:"Vis timer på arrangementslinjen",titleLength:"Maks tittellengde (0 for ubegrenset)",descLength:"Maks beskrivelseslengde (0 for ubegrenset)"}},vi={name:"Hendelsesmodus",secondary:"Innstillinger for hendelsesmodus",fields:{showCurrentEventLine:"Vis en linje før hendelse?",showProgressBar:"Vis fremdriftsindikator?",showMonth:"Vis måned?",showWeekDay:"Vis ukedag?",showDescription:"Vis beskrivelse?",disableEventLink:"Fjern lenke i hendelsestittel?",disableLocationLink:"Fjern lenke til plassering?",showNoEventsForToday:"Vis Ingen hendelser i dag?",showFullDayProgress:"Vis fremdrift på heldagshendelse?",untilText:"Inntil tekst:",noEventText:"Hvis ingen hendelse, vis tekst:",noEventsForNextDaysText:"Ingen hendelser de nærmeste dager tekst:",fullDayEventText:"Heldagshendelse tekst:",showEventIcon:"Vis hendelsesikon",showHiddenText:"Vis skjult hendelsestekst?",hiddenEventText:"Tekst for skjulte hendelser:",showCalendarName:"Vis kalendernavn",showWeekNumber:"Vis ukenummer",showEventDate:"Vis dato for arrangementer",showDatePerEvent:"Vis dato ved siden av hvert arrangement",showTimeRemaining:"Vis gjenværende tid",showAllDayHours:"Vis tekst for hele dagen"}},_i={name:"Kalendermodus",secondary:"Innstillinger for kalendermodus",fields:{showLastCalendarWeek:"Vis forrige uke",disableCalEventLink:"Fjern kalenderhendelseslenke",disableCalLocationLink:"Fjern kalenderposisjonslenke",calShowDescription:"Vis beskrivelse",disableCalLink:"Fjern kalenderlenke"}},bi={name:"Utseende",secondary:"Personlige farger, osv.",main:{name:"Hovedvalg",secondary:"Valg som virker globalt"},fields:{locationLinkColor:"Farge for posjonslenke:",dimFinishedEvents:"Tone ned avsluttede hendelser?"}},yi={common:hi,ui:ui,errors:pi,required:fi,main:gi,event:vi,calendar:_i,appearance:bi},xi={version:"Verzija",show_warning:"Prikaži opozorilo",error:"Napaka",description:"Napreden koledar za Home Assistant z Lovelace vmesnikom.",fullDayEventText:"Ves dan",untilText:"Do",noEventText:"Ni dogodkov",noEventsForNextDaysText:"Ni dogodkov v naslednjih nekaj dneh",hiddenEventText:"dogodki so skriti"},wi={common:{previous:"Prejšnji",next:"Naslednji",week:"Teden"}},ki={invalid_configuration:"Nepravilna konfiguracija",update_card:"Koledarja ni mogoče naložiti iz komponente Home Assistant",no_entities:"Niste določili nobene entitete"},Ei={name:"Zahtevano",secondary:"Zahtevane možnosti za delovanje te kartice"},Mi={name:"Glavne možnosti",secondary:"Nastavitve za celotno kartico",fields:{name:"Naziv",showColors:"Prikaži barve",maxDaysToShow:"Največje število dni za prikaz",showLocation:"Pokaži ikono lokacije",showLoader:"Pokaži animacijo nalagalnika",showDate:"Prikaži datum na kartici",showDeclined:"Prikaži zavrnjene dogodke",sortByStartTime:"Razvrsti po času začetka",hideFinishedEvents:"Skrij končane dogodke",dateFormat:"Format datuma",hoursFormat:"Format ur",defaultMode:"Privzeti način",linkTarget:"Cilj povezave",refreshInterval:"Osvežitveni interval",showRelativeTime:"Pokaži relativni čas",firstDayOfWeek:"Prvi dan v tednu 0-6",cardHeight:"Višina kartice",hideDuplicates:"skrij dvojnike",showMultiDay:"Razdeljeni večdnevni dogodki",showMultiDayEventParts:"Prikaži dele večdnevnega dogodka",eventTitle:"Nastavite prazen naslov dogodka",compactMode:"Omogoči kompaktni način",hoursOnSameLine:"Prikaži ure na vrstici dogodkov",titleLength:"Največja dolžina naslova (0 za neomejeno)",descLength:"Največja dolžina opisa (0 za neomejeno)"}},Ti={name:"Način dogodka",secondary:"Posebne možnosti za način dogodka",fields:{showCurrentEventLine:"Prikaži vrstico pred dogodkom?",showProgressBar:"Prikaži vrstico napredka?",showMonth:"Prikaži mesec?",showWeekDay:"Prikaži dan tedna",showDescription:"Prikaži opis?",disableEventLink:"Onemogoči povezave v naslovu dogodka?",disableLocationLink:"Onemogoči povezave do lokacije?",showNoEventsForToday:"Prikaži danes ni dogodka?",showFullDayProgress:"Pokaži celodnevni napredek dogodka?",untilText:"do besedila:",noEventText:"Besedilo danes ni dogodka:",noEventsForNextDaysText:"Besedilo v naslednjih dneh ni nobenega dogodka:",fullDayEventText:"Celodnevno besedilo dogodka:",showEventIcon:"Pokaži ikono dogodka",showHiddenText:"Pokaži skrito besedilo dogodka?",hiddenEventText:"Besedilo za skrite dogodke:",showCalendarName:"Pokaži ime koledarja",showWeekNumber:"Prikaži številke tednov",showEventDate:"Pokaži datum za dogodke",showDatePerEvent:"Prikažite datum poleg vsakega dogodka",showTimeRemaining:"Pokaži preostali čas",showAllDayHours:"Prikaži besedilo celodnevnega dogodka"}},Li={name:"Način koledarja",secondary:"Možnosti za način koledarja",fields:{showLastCalendarWeek:"Pokaži zadnji koledarski teden",disableCalEventLink:"Onemogoči povezavo do dogodka v koledarju",disableCalLocationLink:"Onemogoči povezavo do lokacije koledarja",calShowDescription:"Prikaži opis",disableCalLink:"Onemogoči povezavo do koledarja"}},Si={name:"Videz",secondary:"Prilagodite barve itd.",main:{name:"Osnovni",secondary:"Glavne barvne nastavitve"},fields:{locationLinkColor:"Barva povezave do lokacije:",dimFinishedEvents:"Zatemniti končane dogodke?"}},Di={common:xi,ui:wi,errors:ki,required:Ei,main:Mi,event:Ti,calendar:Li,appearance:Si},Ci={version:"Version",show_warning:"Visa varning",error:"Fel",description:"Ett avancerat kalenderkort för Home Assistant med Lovelace",fullDayEventText:"Heldag",untilText:"Tills",noEventText:"Inga händelser",noEventsForNextDaysText:"Inga händelser de närmaste dagarna",hiddenEventText:"händelser är dolda"},Ai={common:{previous:"Föregående",next:"Nästa",week:"Vecka"}},Ii={invalid_configuration:"Ogiltig konfiguration",update_card:"Kalendern kan inte laddas från Home Assistant-komponenten"},Yi={name:"Nödvändig",secondary:"Nödvändiga optioner för att detta kort ska fungera"},Oi={name:"Huvud-ptioner",secondary:"Globala Optioner",fields:{name:"Namn",showColors:"Visa färger",maxDaysToShow:"Max antal dagar att visa",showLocation:"Visa plats-ikon",showLoader:"Visa animation för laddning",showDate:"Visa datum på kortet",showDeclined:"Visa nekade händelser",sortByStartTime:"Sortera efter starttid",hideFinishedEvents:"Hide finished events Dölj avslutade händelser",dateFormat:"Datumformat",hoursFormat:"Timformat",defaultMode:"Standard-mode",linkTarget:"Länkmål",refreshInterval:"Refresh Interval",showRelativeTime:"Show Relative Time",firstDayOfWeek:"First Day of Week 0-6",cardHeight:"kortets höjd",hideDuplicates:"dölja dubbletter",showMultiDay:"Dela flerdagarsevenemang",showMultiDayEventParts:"Visa flerdagarsevenemangsdelar",eventTitle:"Ange tom händelsetitel",compactMode:"Aktivera kompakt läge",hoursOnSameLine:"Visa öppettider på evenemangsraden",titleLength:"Max titellängd (0 för obegränsat)",descLength:"Max beskrivningslängd (0 för obegränsat)"}},Fi={name:"Händelse-mode",secondary:"Optioner för händelse-mode",fields:{showCurrentEventLine:"Visa länk före händelsen?",showProgressBar:"Visa förlopp?",showMonth:"Visa månad?",showWeekDay:"Visa veckodag?",showDescription:"Visa beskrivning?",disableEventLink:"Inaktivera länkar i händelsetitel?",disableLocationLink:"Inaktivera länkar till plats?",showNoEventsForToday:"Visa inga händelser idag?",showFullDayProgress:"Visa förlopp för heldagshändelser?",untilText:"Text för Tills:",noEventText:"Text för INga händelser idag:",noEventsForNextDaysText:"Text för Inga händelser för följande dagar:",fullDayEventText:"Text för Heldagshändelse:",showEventIcon:"Show Event Icon",showHiddenText:"Visa dold händelsetext",hiddenEventText:"Text för dolda händelser:",showCalendarName:"Visa kalendernamn",showWeekNumber:"Visa veckonummer",showEventDate:"Visa datum för evenemang",showDatePerEvent:"Visa datum bredvid varje evenemang",showTimeRemaining:"Visa återstående tid",showAllDayHours:"Visa heldagshändelsetext"}},Ri={name:"Kalender-mode",secondary:"Optioner för kalender-mode",fields:{showLastCalendarWeek:"Visa sista veckan",disableCalEventLink:"Inaktivera länk till händelse",disableCalLocationLink:"Inaktivera länk till plats",calShowDescription:"Visa beskrivning?"}},Hi={name:"Utseende",secondary:"Personliga färger etc.",main:{name:"Huvid",secondary:"Globala färginställningar"},fields:{locationLinkColor:"Färg för platslänk:",dimFinishedEvents:"Dimma slutförda händelser?"}},Ni={common:Ci,ui:Ai,errors:Ii,required:Yi,main:Oi,event:Fi,calendar:Ri,appearance:Hi};const $i={da:Object.freeze({__proto__:null,appearance:be,calendar:_e,common:he,default:ye,errors:pe,event:ve,main:ge,required:fe,ui:ue}),de:Object.freeze({__proto__:null,appearance:Se,calendar:Le,common:xe,default:De,errors:ke,event:Te,main:Me,required:Ee,ui:we}),en:Object.freeze({__proto__:null,appearance:He,calendar:Re,common:Ce,default:Ne,errors:Ie,event:Fe,main:Oe,required:Ye,ui:Ae}),et:Object.freeze({__proto__:null,appearance:We,calendar:Ue,common:$e,default:qe,errors:Pe,event:Be,main:Ve,required:je,ui:ze}),fi:Object.freeze({__proto__:null,appearance:ei,calendar:ti,common:Ge,default:ii,errors:Xe,event:Qe,main:Ze,required:Je,ui:Ke}),fr:Object.freeze({__proto__:null,appearance:ci,calendar:li,common:ni,default:mi,errors:oi,event:di,main:si,required:ri,ui:ai}),nb:Object.freeze({__proto__:null,appearance:bi,calendar:_i,common:hi,default:yi,errors:pi,event:vi,main:gi,required:fi,ui:ui}),sl:Object.freeze({__proto__:null,appearance:Si,calendar:Li,common:xi,default:Di,errors:ki,event:Ti,main:Mi,required:Ei,ui:wi}),sv:Object.freeze({__proto__:null,appearance:Hi,calendar:Ri,common:Ci,default:Ni,errors:Ii,event:Fi,main:Oi,required:Yi,ui:Ai})};function zi(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const n=(localStorage.getItem("selectedLanguage")||"en").replace(/['"]+/g,"").replace("-","_");let a;try{a=t.split(".").reduce(((t,e)=>t[e]),$i[n])}catch(e){a=t.split(".").reduce(((t,e)=>t[e]),$i.en)}return void 0===a&&(a=t.split(".").reduce(((t,e)=>t[e]),$i.en)),""!==e&&""!==i&&(a=a.replace(e,i)),a}var Pi;const ji=ot(Pi||(Pi=e(["\n\t.option {\n\t\tpadding: 4px 0px;\n\t\tcursor: pointer;\n\t}\n\t.row {\n\t\tdisplay: flex;\n\t\tmargin-bottom: -14px;\n\t\tpointer-events: none;\n\t}\n\t.title {\n\t\tpadding-left: 16px;\n\t\tmargin-top: -6px;\n\t\tpointer-events: none;\n\t}\n\t.secondary {\n\t\tpadding-left: 40px;\n\t\tcolor: var(--secondary-text-color);\n\t\tpointer-events: none;\n\t}\n\t.values {\n\t\tpadding-left: 16px;\n\t\tbackground: var(--secondary-background-color);\n\t}\n\tha-switch {\n\t\tpadding-bottom: 8px;\n\t\tpadding-top: 16px;\n\t}\n\t.mdc-label {\n\t\tmargin-left: 12px;\n\t\tvertical-align: text-bottom;\n\t}\n\t.side-by-side {\n\t\tdisplay: flex;\n\t}\n\t.side-by-side > * {\n\t\tflex: 1;\n\t\tpadding-right: 4px;\n\t}\n\t.origin-calendar {\n width: 50%;\n margin-left: 35px;\n }\n"]))); +function Te(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:n}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...n,customElements:t.registry});return((t,e)=>{Me?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(o,this.constructor.elementStyles),o}}}var Ce={version:"Version",show_warning:"Vis Advarsel",error:"Fejl",description:"Et avanceret kalender kort til Home Assistant.",fullDayEventText:"Hele dagen",untilText:"Indtil",noEventText:"Ingen aftaler",noEventsForNextDaysText:"Ingen aftaler de næste få dage",hiddenEventText:"Aftaler er skjulte"},Ae={common:{previous:"Forrige",next:"Næste",week:"Uge"}},Le={invalid_configuration:"Konfiguration er ikke korrekt",update_card:"Kalender kan ikke blive indlæste fra Home Assistant atomic-calendar-revive",no_entities:"Der er ikke valgt nogen entiteter"},$e={name:"Påkrævet",secondary:"Valg er påkrævet for at atomic-calendar-revive skal virke"},De={name:"Hoved muligheder",secondary:"Muligheder der virker globalt",fields:{name:"Navn",showColors:"Vis Farver",maxDaysToShow:"Antal max dage at vise",showLocation:"Vis placerings ikon",showLoader:"Vis animeret indlæsning",showDate:"Vis dato på kort",showDeclined:"Vis afviste aftaler",sortByStartTime:"Sorter på start tid",hideFinishedEvents:"Skjul overståede aftaler",dateFormat:"Dato format",hoursFormat:"Time format",defaultMode:"Default mode",linkTarget:"Link mål",refreshInterval:"Opdaterings interval",showRelativeTime:"Vis den relative tid",firstDayOfWeek:"Første dag i ugen 0-6",cardHeight:"Højde på kort",hideDuplicates:"Skjul dubletter",showMultiDay:"Opdelt flerdages begivenheder",showMultiDayEventParts:"Vis flere dages begivenhedsdele",eventTitle:"Indstil tom begivenhedstitel",compactMode:"Aktiver kompakt tilstand",hoursOnSameLine:"Vis timer på begivenhedslinjen",titleLength:"Max titellængde (0 for ubegrænset)",descLength:"Max beskrivelseslængde (0 for ubegrænset)"}},Oe={name:"Tilstand for aftaler",secondary:"Tilstand for specifikke muligheder",fields:{showCurrentEventLine:"Vis en linie før aftale?",showProgressBar:"Vis status bar?",showMonth:"Vis måned?",showWeekDay:"Vis ugedag",showDescription:"Vis beskrivelse?",disableEventLink:"Fjern link i titel på aftale?",disableLocationLink:"Fjern link på placering?",showNoEventsForToday:"Vis Ingen aftaler i dag?",showFullDayProgress:"Vis fremskridt på hel dags aftaler?",untilText:"Indtil næste gang:",noEventText:"Hvis ingen aftale, vis tekst:",noEventsForNextDaysText:"Tekst der vises, Ingen aftaler de næste dage:",fullDayEventText:"Hel dags tekst:",showEventIcon:"Vis aftale ikon",showHiddenText:"Vis skjulte aftaler tekst?",hiddenEventText:"Tekst til skjulte aftaler:",showCalendarName:"Vis kalendernavn",showWeekNumber:"Vis ugenumre",showEventDate:"Vis dato for arrangementer",showDatePerEvent:"Vis dato ud for hver begivenhed",showTimeRemaining:"Vis resterende tid",showAllDayHours:"Vis Heldagsbegivenhedstekst"}},Ie={name:"Tilstand for kalender",secondary:"Specifikke kalender tilstande muligheder",fields:{showLastCalendarWeek:"Vis sidste kalender uge",disableCalEventLink:"Fjern kalender aftale link",disableCalLocationLink:"Fjern kalender lokation link",calShowDescription:"Vis beskrivelse",disableCalLink:"Fjern kalender link"}},Re={name:"Appearance",secondary:"Tilpas farver etc.",main:{name:"Main",secondary:"Global indstillinger for farver"},fields:{locationLinkColor:"Placerings link farve:",dimFinishedEvents:"Nedtone overståede aftaler?"}},Ye={common:Ce,ui:Ae,errors:Le,required:$e,main:De,event:Oe,calendar:Ie,appearance:Re},He={version:"Version",show_warning:"Warnung anzeigen",error:"Fehler",description:"Erweiterte Kalenderkarte für Home Assistant Lovelace",fullDayEventText:"Ganztägig",untilText:"Bis",noEventText:"Keine Einträge",noEventsForNextDaysText:"Keine Einträge in den nächsten Tagen",hiddenEventText:"Einige Einträge sind ausgeblendet."},Pe={common:{previous:"Zurück",next:"Vor",week:"Woche"}},Fe={invalid_configuration:"Ungültige Konfiguration",update_card:"Der Kalender kann von der Home Assistant-Komponente nicht geladen werden!"},Ne={name:"Benötigt",secondary:"Folgende Optionen sind notwendig, damit die Lovelace Karte angezeigt werden kann:"},ze={name:"Haupteinstellungen",secondary:"Global geltende Optionen",fields:{name:"Name",showColors:"Farben anzeigen",maxDaysToShow:"Maximal angezeigte Tage",showLocation:"Ortssymbol anzeigen",showLoader:"Ladeanimation anzeigen",showDate:"Datum mitanzeigen",showDeclined:"Abgelehnte Einträge anzeigen",sortByStartTime:"Nach Startzeit sortieren",hideFinishedEvents:"Beendete Einträge ausblenden",dateFormat:"Datumsformat",hoursFormat:"Stundenformat",defaultMode:"Standardmodus",linkTarget:"Verknüpfungsziel",refreshInterval:"Aktualisierungsintervall",showRelativeTime:"Relative Zeit anzeigen",firstDayOfWeek:"Erster Wochentag 0-6",cardHeight:"Kartenhöhe",hideDuplicates:"Duplikate ausblenden",showMultiDay:"Split meerdaagse evenementen",showMultiDayEventParts:"Toon meerdaagse evenementonderdelen",eventTitle:"Lege evenementtitel instellen",compactMode:"Schakel de compacte modus in",hoursOnSameLine:"Toon uren op de gebeurtenisregel",titleLength:"Maximale titellengte (0 voor onbeperkt)",descLength:"Maximale beschrijvingslengte (0 voor onbeperkt)"}},Ue={name:"Ereignismodus",secondary:"Ereignismodus-spezifische Optionen",fields:{showCurrentEventLine:"Linie vor einem Eintrag anzeigen?",showProgressBar:"Fortschrittsbalken anzeigen?",showMonth:"Monat anzeigen?",showWeekDay:"Wochentag anzeigen?",showDescription:"Beschreibung anzeigen?",disableEventLink:"Links im Ereignistitel deaktivieren?",disableLocationLink:"Links zum Ort deaktivieren?",showNoEventsForToday:"'Keine Einträge heute' anzeigen?",showFullDayProgress:"Ganztägigen Fortschritt der Einträge anzeigen?",untilText:"Text für 'bis':",noEventText:"Text für 'Keine Einträge heute':",noEventsForNextDaysText:"Text für 'Keine Einträge in den nächsten Tagen':",fullDayEventText:"Text für 'Ganztägiger Eintrag':",showEventIcon:"Ereignis-Symbol anzeigen?",showHiddenText:"Versteckten Ereignistext anzeigen?",hiddenEventText:"Text für versteckte Ereignisse",showCalendarName:"Toon agendanaam",showWeekNumber:"Toon weeknummers",showEventDate:"Toon datum voor evenementen",showDatePerEvent:"Toon datum naast elk evenement",showTimeRemaining:"Laat de resterende tijd zien",showAllDayHours:"Toon de tekst van de hele dag-gebeurtenis"}},je={name:"Kalendermodus",secondary:"Kalendermodus-spezifische Optionen",fields:{showLastCalendarWeek:"Letzte Kalenderwoche anzeigen?",disableCalEventLink:"Links für Kalendereinträge deaktivieren?",disableCalLocationLink:"Links für Ortsangaben in Kalendereinträgen deaktivieren?",calShowDescription:"Beschreibung anzeigen?",disableCalLink:"Kalenderlinks deaktivieren?"}},Ve={name:"Erscheinungsbild",secondary:"Farbanpassungen usw.",main:{name:"Globale Einstellungen",secondary:"Globale Farbeinstellungen"},fields:{locationLinkColor:"Farbe für Links zu Ortsangaben:",dimFinishedEvents:"Erledigte Einträge blasser anzeigen?"}},Be={common:He,ui:Pe,errors:Fe,required:Ne,main:ze,event:Ue,calendar:je,appearance:Ve},We={version:"Version",show_warning:"Show Warning",error:"Error",description:"An advanced calendar card for Home Assistant with Lovelace.",fullDayEventText:"All Day",untilText:"Until",noEventText:"No events",noEventsForNextDaysText:"No events in the next few days",hiddenEventText:"events are hidden"},qe={common:{previous:"Previous",next:"Next",week:"Week"}},Ke={invalid_configuration:"Invalid Configuration",update_card:"The calendar can't be loaded from Home Assistant component",no_entities:"You have not specified any entities"},Ge={name:"Required",secondary:"Required options for this card to function"},Je={name:"Main Options",secondary:"Options that apply globally",fields:{name:"Name",showColors:"Show Colors",maxDaysToShow:"Max days to show",showLocation:"Show location icon",showLoader:"Show loader animation",showDate:"Show date on card",showDeclined:"Show declined events",sortByStartTime:"Sort by start time",hideFinishedEvents:"Hide finished events",dateFormat:"Date format",hoursFormat:"Hours format",defaultMode:"Default mode",linkTarget:"Link target",refreshInterval:"Refresh Interval",showRelativeTime:"Show Relative Time",firstDayOfWeek:"First Day of Week 0-6",cardHeight:"Card Height",hideDuplicates:"Hide duplicates",showMultiDay:"Split Multi-Day Events",showMultiDayEventParts:"Show Multi-Day Event Parts",eventTitle:"Set blank event title",compactMode:"Enable compact mode",hoursOnSameLine:"Show hours on the event line",titleLength:"Max title length (0 for unlimited)",descLength:"Max description length (0 for unlimited)"}},Xe={name:"Event Mode",secondary:"Event Mode specific options",fields:{showCurrentEventLine:"Show line before event?",showProgressBar:"Show progress bar?",showMonth:"Show month?",showWeekDay:"Show Week Day",showDescription:"Show Description?",disableEventLink:"Disable links in event title?",disableLocationLink:"Disable links to location?",showNoEventsForToday:"Show No Events Today?",showFullDayProgress:"Show full day event progress?",untilText:"until text:",noEventText:"No events today text:",noEventsForNextDaysText:"No events in the next few days text:",fullDayEventText:"Full day event text:",showEventIcon:"Show Event Icon",showHiddenText:"Show hidden event text?",hiddenEventText:"Text for hidden events:",showCalendarName:"Show calendar name",showWeekNumber:"Show week numbers",showEventDate:"Show date for events",showDatePerEvent:"Show date next to each event",showTimeRemaining:"Show time remaining",showAllDayHours:"Show All Day event text"}},Ze={name:"Calendar Mode",secondary:"Calendar Mode specific options",fields:{showLastCalendarWeek:"Show last calendar week",disableCalEventLink:"Disable calendar event link",disableCalLocationLink:"Disable calendar location link",calShowDescription:"Show Description",disableCalLink:"Disable calendar link"}},Qe={name:"Appearance",secondary:"Customize the colors etc.",main:{name:"Main",secondary:"Global Color Settings"},fields:{locationLinkColor:"Location Link Color:",dimFinishedEvents:"Dim finished events?"}},ti={common:We,ui:qe,errors:Ke,required:Ge,main:Je,event:Xe,calendar:Ze,appearance:Qe},ei={version:"Versioon",show_warning:"Näita hoiatusi",error:"Viga",description:"Lisa mugandatav kalender kasutajaliidesesse.",fullDayEventText:"Terve päev",untilText:"Kuni",noEventText:"üritusi pole",noEventsForNextDaysText:"Paari järgmise päeva sündmusi pole",hiddenEventText:"Sündmused on varjatud"},ii={common:{previous:"Eelmine",next:"Järgmine",week:"Nädal"}},ni={invalid_configuration:"Sätetes on viga",update_card:"Kalendri laadimine nurjus"},oi={name:"Vajalikud",secondary:"Selle kaardi toimiseks oluline teave"},ri={name:"Üleüldised valikud",secondary:"Valikud kõigi kaardi olemite jaoks",fields:{name:"Pealkiri",showColors:"Kasuta värve",maxDaysToShow:"Mitu päeva kuvada",showLocation:"Kuva asukoha ikooni",showLoader:"Kuva laadimisel animatsiooni",showDate:"Kuva tänane kuupäev",showDeclined:"Kuva summutatud sündmused",sortByStartTime:"Järjesta ajaliselt",hideFinishedEvents:"Peida lõppenud sündmused",dateFormat:"Kuupäeva vorming",hoursFormat:"Kellaaja vorming",defaultMode:"Vaikerežiim",linkTarget:"Viite tüüp",refreshInterval:"Värskendussagedus",showRelativeTime:"Kuva suhtelist aega",firstDayOfWeek:"Nädala esimene päev (0-6)",cardHeight:"kaardi kõrgus",hideDuplicates:"peida duplikaadid",showMultiDay:"Jagatud mitmepäevased üritused",showMultiDayEventParts:"Näita mitmepäevaste sündmuste osi",eventTitle:"Määra tühi sündmuse pealkiri",compactMode:"Kompaktrežiimi lubamine",hoursOnSameLine:"Näidake sündmuse reale tundi",titleLength:"Pealkirja maksimaalne pikkus (0 piiramatu jaoks)",descLength:"Kirjelduse maksimaalne pikkus (0 piiramatu puhul)"}},si={name:"Sündmuste vaade",secondary:"Sündmuste vaate valikud",fields:{showCurrentEventLine:"Kas kuvada sündmuse ees eraldaja",showProgressBar:"Kas kuvada edenemise riba?",showMonth:"Kas kuvada kuu?",showWeekDay:"Kuva nädalapäev",showDescription:"Kas kuvada kirjeldust?",disableEventLink:"Kas keelata viited sündmuse päises?",disableLocationLink:"Kas keelata asukoha viited?",showNoEventsForToday:"Kas kuvada tänaste sündmuste puudumist?",showFullDayProgress:"Kas kuvada terve päeva sündmuste edenemist?",untilText:"Kestab kuni tekst:",noEventText:"Tänased sündmused puuduvad tekst:",noEventsForNextDaysText:"Paaril järgmisel päeval pole sündmusi tekst:",fullDayEventText:"Kogu päeva kestev sündmus tekst:",showEventIcon:"Kuva sündmuse ikooni",showHiddenText:"Kas näidata summutatud teksti?",showCalendarName:"Kuva kalendri nimi",showWeekNumber:"Näita nädala numbreid",showEventDate:"Näita sündmuste kuupäeva",showDatePerEvent:"Kuva kuupäev iga sündmuse kõrval",showTimeRemaining:"Näita järelejäänud aega",showAllDayHours:"Näita kogu päeva sündmuse teksti"}},ai={name:"Kalendrivaade",secondary:"Kalendrivaate valikud",fields:{showLastCalendarWeek:"Kuva kalendri viimane nädal",disableCalEventLink:"Keela kalendrisündmuse viide",disableCalLocationLink:"Keela sündmuse asukoha viide",calShowDescription:"Kirjelduse kuvamine",disableCalLink:"Peida kalendri viide"}},di={name:"Välimus",secondary:"Muganda värve jms.",main:{name:"Peamine",secondary:"Üldised värvuse sätted"},fields:{locationLinkColor:"Asukohaviite värv:",dimFinishedEvents:"Kas tumendada lõppenud sündmused?"}},li={common:ei,ui:ii,errors:ni,required:oi,main:ri,event:si,calendar:ai,appearance:di},ci={version:"Versio",show_warning:"Näytä varoitus",error:"Virhe",description:"Edistyksellinen kalenterikortti Home Assistantille Lovelacen kanssa.",fullDayEventText:"Koko päivä",untilText:"Asti",noEventText:"Ei tapahtumia",noEventsForNextDaysText:"Ei tapahtumia lähipäivinä",hiddenEventText:"tapahtumat on piilotettu"},hi={common:{previous:"Edellinen",next:"Seuraava",week:"Viikko"}},ui={invalid_configuration:"Virheelliset asetukset",update_card:"Kalenteria ei voi ladata Home Assistant -komponentista",no_entities:"Et ole määrittänyt yhtään entiteettiä"},mi={name:"Vaadittu",secondary:"Tämän kortin toiminnan edellyttämät vaihtoehdot"},pi={name:"Päävaihtoehdot",secondary:"Vaihtoehdot, jotka ovat voimassa kaikkialla",fields:{name:"Nimi",showColors:"Näytä värit",maxDaysToShow:"Enintään näytettävät päivät",showLocation:"Näytä sijainnin kuvake",showLoader:"Näytä latausanimaatio",showDate:"Näytä päivämäärä kortissa",showDeclined:"Näytä hylätyt tapahtumat",sortByStartTime:"Lajittele alkamisajan mukaan",hideFinishedEvents:"Piilota valmiit tapahtumat",dateFormat:"Päivämäärämuoto",hoursFormat:"Tuntien muoto",defaultMode:"Oletustila",linkTarget:"Linkin kohde",refreshInterval:"Päivitysväli",showRelativeTime:"Näytä suhteellinen aika",firstDayOfWeek:"Viikon ensimmäinen päivä 0-6",cardHeight:"Kortin korkeus",hideDuplicates:"Piilota kaksoiskappaleet",showMultiDay:"Jaa monipäiväiset tapahtumat",showMultiDayEventParts:"Näytä usean päivän tapahtuman osat",eventTitle:"Aseta tyhjä tapahtuman otsikko",compactMode:"Ota kompakti tila käyttöön",hoursOnSameLine:"Näytä tunnit tapahtumarivillä",titleLength:"Otsikon enimmäispituus (0 rajattomasti)",descLength:"Kuvauksen enimmäispituus (0 rajattomasti)"}},fi={name:"Tapahtumatila",secondary:"Tapahtumatilan erityisasetukset",fields:{showCurrentEventLine:"Näytetäänkö viiva ennen tapahtumaa?",showProgressBar:"Näytetäänkö edistymispalkki?",showMonth:"Näytä kuukausi?",showWeekDay:"Näytä viikonpäivä?",showDescription:"Näytä kuvaus?",disableEventLink:"Poistetaanko linkit käytöstä tapahtuman otsikossa?",disableLocationLink:"Poistetaanko sijaintilinkit käytöstä?",showNoEventsForToday:"Näytä ei tapahtumia tänään?",showFullDayProgress:"Näytetäänkö koko päivän tapahtuman edistyminen?",untilText:"asti -teksti:",noEventText:"Ei tapahtumia tänään -teksti:",noEventsForNextDaysText:"Ei tapahtumia lähipäivinä -teksti:",fullDayEventText:"Koko päivän tapahtuma -teksti:",showEventIcon:"Näytä tapahtumakuvake",showHiddenText:"Näytetäänkö piilotetun tapahtuman teksti?",hiddenEventText:"Teksti piilotetuille tapahtumille:",showCalendarName:"Näytä kalenterin nimi",showWeekNumber:"Näytä viikkonumerot",showEventDate:"Näytä tapahtumien päivämäärä",showDatePerEvent:"Näytä päivämäärä jokaisen tapahtuman vieressä",showTimeRemaining:"Näytä jäljellä oleva aika",showAllDayHours:"Näytä koko päivän tapahtuman teksti"}},vi={name:"Kalenteritila",secondary:"Kalenteritilan erityisasetukset",fields:{showLastCalendarWeek:"Näytä viimeinen kalenteriviikko",disableCalEventLink:"Poista kalenterin tapahtumalinkki käytöstä",disableCalLocationLink:"Poista kalenterin sijaintilinkki käytöstä",calShowDescription:"Näytä kuvaus",disableCalLink:"Poista kalenterilinkki käytöstä"}},gi={name:"Ulkomuoto",secondary:"Mukauta värejä jne.",main:{name:"Pää",secondary:"Yleiset väriasetukset"},fields:{locationLinkColor:"Sijaintilinkin väri:",dimFinishedEvents:"Himmennä päättyneet tapahtumat?"}},_i={common:ci,ui:hi,errors:ui,required:mi,main:pi,event:fi,calendar:vi,appearance:gi},yi={version:"Version",show_warning:"Afficher l'avertissement",error:"Erreur",description:"Une carte avancée pour le calendrier dans Home Assistant avec Lovelace.",fullDayEventText:"Toute la journée",untilText:"Jusqu'au",noEventText:"pas d'événements",noEventsForNextDaysText:"Aucun événement dans les prochains jours",hiddenEventText:"les événements sont masqués"},bi={common:{previous:"Précédent",next:"Suivant",week:"Semaine"}},xi={invalid_configuration:"Configuration invalide",update_card:"Le calendrier ne peut pas être chargé depuis le composant Home Assistant",no_entities:"Vous n'avez pas specifier d'entitées"},wi={name:"Requis",secondary:"Options requises pour que la carte fonctionne"},Ei={name:"Options principales",secondary:"Options appliquées globalement",fields:{name:"Nom",showColors:"Afficher les couleurs",maxDaysToShow:"Max jours affichés",showLocation:"Afficher l'icone de lieu",showLoader:"Afficher l'animation de chargement",showDate:"Afficher la date sur la carte",showDeclined:"Afficher les événements déclinés",sortByStartTime:"Trier par date de début",hideFinishedEvents:"Cacher les événements terminés",dateFormat:"Format de date",hoursFormat:"Format des heures",defaultMode:"Mode par défaut",linkTarget:"Lien cible",refreshInterval:"Interval de raffraîchissement",showRelativeTime:"Afficher l'heure relative",firstDayOfWeek:"Premier jour de la semaine 0-6",cardHeight:"hauteur de la carte",hideDuplicates:"masquer les doublons",showMultiDay:"Séparer les événements de plusieurs jours",showMultiDayEventParts:"Afficher les parties de l'événement sur plusieurs jours",eventTitle:"Définir un titre d'événement vide",compactMode:"Activer le mode compact",hoursOnSameLine:"Afficher les heures sur la ligne de l'événement",titleLength:"Longueur maximale du titre (0 pour illimité)",descLength:"Longueur maximale de la description (0 pour illimité)"}},ki={name:"Mode événement",secondary:"Options spécifiques du mode événement",fields:{showCurrentEventLine:"Afficher une ligne avant l'événement?",showProgressBar:"Afficher la barre de progression?",showMonth:"Afficher le mois?",showWeekDay:"Afficher le jour de la semaine?",showDescription:"Afficher la description?",disableEventLink:"Désactiver les liens dans les titres d'événements?",disableLocationLink:"Désactiver les liens vers le lieu?",showNoEventsForToday:"Afficher Aucun événement aujourd'hui?",showFullDayProgress:"Afficher la progression des événements sur une journée?",untilText:"Texte Jusqu'au:",noEventText:"Texte Aucun événement aujourd'hui:",noEventsForNextDaysText:"Texte Aucun événement dans les prochains jours:",fullDayEventText:"Texte Toute la journée:",showEventIcon:"Afficher l'icone d'événement",showHiddenText:"Afficher le texte de l'événement masqué",hiddenEventText:"Texte pour les événements masqués:",showCalendarName:"Afficher le nom du calendrier",showWeekNumber:"Afficher les numéros de semaine",showEventDate:"Afficher la date des événements",showDatePerEvent:"Afficher la date à côté de chaque événement",showTimeRemaining:"Afficher le temps restant",showAllDayHours:"Afficher le texte de l'événement toute la journée"}},Si={name:"Mode calendrier",secondary:"Options spécifiques du mode calendrier",fields:{showLastCalendarWeek:"Afficher la dernière semaine du calendrier",disableCalEventLink:"Désactiver les liens sur les événements du calendrier",disableCalLocationLink:"Désactiver les liens sur les lieux du calendrier",calShowDescription:"Afficher la description",disableCalLink:"Désactiver les liens calendar"}},Mi={name:"Apparence",secondary:"Customiser les couleurs etc.",main:{name:"Principal",secondary:"Paramètres globaux de couleur"},fields:{locationLinkColor:"Couleur du lien d'un lieu:",dimFinishedEvents:"Diminuer la visibilité des événements terminés?"}},Ti={common:yi,ui:bi,errors:xi,required:wi,main:Ei,event:ki,calendar:Si,appearance:Mi},Ci={version:"Versjon",show_warning:"Vis Advarsel",error:"Feil",description:"Et avansert kalenderkort for Home Assistant med Lovelace",fullDayEventText:"Hele dagen",untilText:"Inntil",noEventText:"Ingen hendelser",noEventsForNextDaysText:"Ingen hendelser de nærmeste dager",hiddenEventText:"hendelser er skjulte"},Ai={common:{previous:"Forrige",next:"Neste",week:"Uke"}},Li={invalid_configuration:"Ugyldig konfigurasjon",update_card:"Kalenderen kan ikke bli hentet fra Home Assistant komponenten",no_entities:"Du har ikke valgt noen entiteter"},$i={name:"Obligatorisk",secondary:"Obligatoriske valg for at atomic-calendar-revive skal virke"},Di={name:"Hovedvalg",secondary:"Valg som virker globalt",fields:{name:"Navn",showColors:"Vis Farger",maxDaysToShow:"Maksimum antall dager å vise",showLocation:"Vis lokasjonsikon",showLoader:"Vis animasjon ved innlasting",showDate:"Vis dato på kort",showDeclined:"Vis avviste hendelser",sortByStartTime:"Sortér på starttid",hideFinishedEvents:"Skjul avsluttede hendelser",dateFormat:"Datoformat",hoursFormat:"Timesformat",defaultMode:"Standardmodus",linkTarget:"Lenkemål",refreshInterval:"Oppdateringsintervall",showRelativeTime:"Vis den relative tiden",firstDayOfWeek:"Første dag i uken 0-6",cardHeight:"Høyde på kort",hideDuplicates:"Skjul duplikater",showMultiDay:"Delte flerdagers arrangementer",showMultiDayEventParts:"Vis flerdagers arrangementsdeler",eventTitle:"Angi en tom hendelsestittel",compactMode:"Aktiver kompakt modus",hoursOnSameLine:"Vis timer på arrangementslinjen",titleLength:"Maks tittellengde (0 for ubegrenset)",descLength:"Maks beskrivelseslengde (0 for ubegrenset)"}},Oi={name:"Hendelsesmodus",secondary:"Innstillinger for hendelsesmodus",fields:{showCurrentEventLine:"Vis en linje før hendelse?",showProgressBar:"Vis fremdriftsindikator?",showMonth:"Vis måned?",showWeekDay:"Vis ukedag?",showDescription:"Vis beskrivelse?",disableEventLink:"Fjern lenke i hendelsestittel?",disableLocationLink:"Fjern lenke til plassering?",showNoEventsForToday:"Vis Ingen hendelser i dag?",showFullDayProgress:"Vis fremdrift på heldagshendelse?",untilText:"Inntil tekst:",noEventText:"Hvis ingen hendelse, vis tekst:",noEventsForNextDaysText:"Ingen hendelser de nærmeste dager tekst:",fullDayEventText:"Heldagshendelse tekst:",showEventIcon:"Vis hendelsesikon",showHiddenText:"Vis skjult hendelsestekst?",hiddenEventText:"Tekst for skjulte hendelser:",showCalendarName:"Vis kalendernavn",showWeekNumber:"Vis ukenummer",showEventDate:"Vis dato for arrangementer",showDatePerEvent:"Vis dato ved siden av hvert arrangement",showTimeRemaining:"Vis gjenværende tid",showAllDayHours:"Vis tekst for hele dagen"}},Ii={name:"Kalendermodus",secondary:"Innstillinger for kalendermodus",fields:{showLastCalendarWeek:"Vis forrige uke",disableCalEventLink:"Fjern kalenderhendelseslenke",disableCalLocationLink:"Fjern kalenderposisjonslenke",calShowDescription:"Vis beskrivelse",disableCalLink:"Fjern kalenderlenke"}},Ri={name:"Utseende",secondary:"Personlige farger, osv.",main:{name:"Hovedvalg",secondary:"Valg som virker globalt"},fields:{locationLinkColor:"Farge for posjonslenke:",dimFinishedEvents:"Tone ned avsluttede hendelser?"}},Yi={common:Ci,ui:Ai,errors:Li,required:$i,main:Di,event:Oi,calendar:Ii,appearance:Ri},Hi={version:"Verzija",show_warning:"Prikaži opozorilo",error:"Napaka",description:"Napreden koledar za Home Assistant z Lovelace vmesnikom.",fullDayEventText:"Ves dan",untilText:"Do",noEventText:"Ni dogodkov",noEventsForNextDaysText:"Ni dogodkov v naslednjih nekaj dneh",hiddenEventText:"dogodki so skriti"},Pi={common:{previous:"Prejšnji",next:"Naslednji",week:"Teden"}},Fi={invalid_configuration:"Nepravilna konfiguracija",update_card:"Koledarja ni mogoče naložiti iz komponente Home Assistant",no_entities:"Niste določili nobene entitete"},Ni={name:"Zahtevano",secondary:"Zahtevane možnosti za delovanje te kartice"},zi={name:"Glavne možnosti",secondary:"Nastavitve za celotno kartico",fields:{name:"Naziv",showColors:"Prikaži barve",maxDaysToShow:"Največje število dni za prikaz",showLocation:"Pokaži ikono lokacije",showLoader:"Pokaži animacijo nalagalnika",showDate:"Prikaži datum na kartici",showDeclined:"Prikaži zavrnjene dogodke",sortByStartTime:"Razvrsti po času začetka",hideFinishedEvents:"Skrij končane dogodke",dateFormat:"Format datuma",hoursFormat:"Format ur",defaultMode:"Privzeti način",linkTarget:"Cilj povezave",refreshInterval:"Osvežitveni interval",showRelativeTime:"Pokaži relativni čas",firstDayOfWeek:"Prvi dan v tednu 0-6",cardHeight:"Višina kartice",hideDuplicates:"skrij dvojnike",showMultiDay:"Razdeljeni večdnevni dogodki",showMultiDayEventParts:"Prikaži dele večdnevnega dogodka",eventTitle:"Nastavite prazen naslov dogodka",compactMode:"Omogoči kompaktni način",hoursOnSameLine:"Prikaži ure na vrstici dogodkov",titleLength:"Največja dolžina naslova (0 za neomejeno)",descLength:"Največja dolžina opisa (0 za neomejeno)"}},Ui={name:"Način dogodka",secondary:"Posebne možnosti za način dogodka",fields:{showCurrentEventLine:"Prikaži vrstico pred dogodkom?",showProgressBar:"Prikaži vrstico napredka?",showMonth:"Prikaži mesec?",showWeekDay:"Prikaži dan tedna",showDescription:"Prikaži opis?",disableEventLink:"Onemogoči povezave v naslovu dogodka?",disableLocationLink:"Onemogoči povezave do lokacije?",showNoEventsForToday:"Prikaži danes ni dogodka?",showFullDayProgress:"Pokaži celodnevni napredek dogodka?",untilText:"do besedila:",noEventText:"Besedilo danes ni dogodka:",noEventsForNextDaysText:"Besedilo v naslednjih dneh ni nobenega dogodka:",fullDayEventText:"Celodnevno besedilo dogodka:",showEventIcon:"Pokaži ikono dogodka",showHiddenText:"Pokaži skrito besedilo dogodka?",hiddenEventText:"Besedilo za skrite dogodke:",showCalendarName:"Pokaži ime koledarja",showWeekNumber:"Prikaži številke tednov",showEventDate:"Pokaži datum za dogodke",showDatePerEvent:"Prikažite datum poleg vsakega dogodka",showTimeRemaining:"Pokaži preostali čas",showAllDayHours:"Prikaži besedilo celodnevnega dogodka"}},ji={name:"Način koledarja",secondary:"Možnosti za način koledarja",fields:{showLastCalendarWeek:"Pokaži zadnji koledarski teden",disableCalEventLink:"Onemogoči povezavo do dogodka v koledarju",disableCalLocationLink:"Onemogoči povezavo do lokacije koledarja",calShowDescription:"Prikaži opis",disableCalLink:"Onemogoči povezavo do koledarja"}},Vi={name:"Videz",secondary:"Prilagodite barve itd.",main:{name:"Osnovni",secondary:"Glavne barvne nastavitve"},fields:{locationLinkColor:"Barva povezave do lokacije:",dimFinishedEvents:"Zatemniti končane dogodke?"}},Bi={common:Hi,ui:Pi,errors:Fi,required:Ni,main:zi,event:Ui,calendar:ji,appearance:Vi},Wi={version:"Version",show_warning:"Visa varning",error:"Fel",description:"Ett avancerat kalenderkort för Home Assistant med Lovelace",fullDayEventText:"Heldag",untilText:"Tills",noEventText:"Inga händelser",noEventsForNextDaysText:"Inga händelser de närmaste dagarna",hiddenEventText:"händelser är dolda"},qi={common:{previous:"Föregående",next:"Nästa",week:"Vecka"}},Ki={invalid_configuration:"Ogiltig konfiguration",update_card:"Kalendern kan inte laddas från Home Assistant-komponenten"},Gi={name:"Nödvändig",secondary:"Nödvändiga optioner för att detta kort ska fungera"},Ji={name:"Huvud-ptioner",secondary:"Globala Optioner",fields:{name:"Namn",showColors:"Visa färger",maxDaysToShow:"Max antal dagar att visa",showLocation:"Visa plats-ikon",showLoader:"Visa animation för laddning",showDate:"Visa datum på kortet",showDeclined:"Visa nekade händelser",sortByStartTime:"Sortera efter starttid",hideFinishedEvents:"Hide finished events Dölj avslutade händelser",dateFormat:"Datumformat",hoursFormat:"Timformat",defaultMode:"Standard-mode",linkTarget:"Länkmål",refreshInterval:"Refresh Interval",showRelativeTime:"Show Relative Time",firstDayOfWeek:"First Day of Week 0-6",cardHeight:"kortets höjd",hideDuplicates:"dölja dubbletter",showMultiDay:"Dela flerdagarsevenemang",showMultiDayEventParts:"Visa flerdagarsevenemangsdelar",eventTitle:"Ange tom händelsetitel",compactMode:"Aktivera kompakt läge",hoursOnSameLine:"Visa öppettider på evenemangsraden",titleLength:"Max titellängd (0 för obegränsat)",descLength:"Max beskrivningslängd (0 för obegränsat)"}},Xi={name:"Händelse-mode",secondary:"Optioner för händelse-mode",fields:{showCurrentEventLine:"Visa länk före händelsen?",showProgressBar:"Visa förlopp?",showMonth:"Visa månad?",showWeekDay:"Visa veckodag?",showDescription:"Visa beskrivning?",disableEventLink:"Inaktivera länkar i händelsetitel?",disableLocationLink:"Inaktivera länkar till plats?",showNoEventsForToday:"Visa inga händelser idag?",showFullDayProgress:"Visa förlopp för heldagshändelser?",untilText:"Text för Tills:",noEventText:"Text för INga händelser idag:",noEventsForNextDaysText:"Text för Inga händelser för följande dagar:",fullDayEventText:"Text för Heldagshändelse:",showEventIcon:"Show Event Icon",showHiddenText:"Visa dold händelsetext",hiddenEventText:"Text för dolda händelser:",showCalendarName:"Visa kalendernamn",showWeekNumber:"Visa veckonummer",showEventDate:"Visa datum för evenemang",showDatePerEvent:"Visa datum bredvid varje evenemang",showTimeRemaining:"Visa återstående tid",showAllDayHours:"Visa heldagshändelsetext"}},Zi={name:"Kalender-mode",secondary:"Optioner för kalender-mode",fields:{showLastCalendarWeek:"Visa sista veckan",disableCalEventLink:"Inaktivera länk till händelse",disableCalLocationLink:"Inaktivera länk till plats",calShowDescription:"Visa beskrivning?"}},Qi={name:"Utseende",secondary:"Personliga färger etc.",main:{name:"Huvid",secondary:"Globala färginställningar"},fields:{locationLinkColor:"Färg för platslänk:",dimFinishedEvents:"Dimma slutförda händelser?"}},tn={common:Wi,ui:qi,errors:Ki,required:Gi,main:Ji,event:Xi,calendar:Zi,appearance:Qi};const en={da:Object.freeze({__proto__:null,appearance:Re,calendar:Ie,common:Ce,default:Ye,errors:Le,event:Oe,main:De,required:$e,ui:Ae}),de:Object.freeze({__proto__:null,appearance:Ve,calendar:je,common:He,default:Be,errors:Fe,event:Ue,main:ze,required:Ne,ui:Pe}),en:Object.freeze({__proto__:null,appearance:Qe,calendar:Ze,common:We,default:ti,errors:Ke,event:Xe,main:Je,required:Ge,ui:qe}),et:Object.freeze({__proto__:null,appearance:di,calendar:ai,common:ei,default:li,errors:ni,event:si,main:ri,required:oi,ui:ii}),fi:Object.freeze({__proto__:null,appearance:gi,calendar:vi,common:ci,default:_i,errors:ui,event:fi,main:pi,required:mi,ui:hi}),fr:Object.freeze({__proto__:null,appearance:Mi,calendar:Si,common:yi,default:Ti,errors:xi,event:ki,main:Ei,required:wi,ui:bi}),nb:Object.freeze({__proto__:null,appearance:Ri,calendar:Ii,common:Ci,default:Yi,errors:Li,event:Oi,main:Di,required:$i,ui:Ai}),sl:Object.freeze({__proto__:null,appearance:Vi,calendar:ji,common:Hi,default:Bi,errors:Fi,event:Ui,main:zi,required:Ni,ui:Pi}),sv:Object.freeze({__proto__:null,appearance:Qi,calendar:Zi,common:Wi,default:tn,errors:Ki,event:Xi,main:Ji,required:Gi,ui:qi})};function nn(t,e="",i=""){const n=(localStorage.getItem("selectedLanguage")||"en").replace(/['"]+/g,"").replace("-","_");let o;try{o=t.split(".").reduce(((t,e)=>t[e]),en[n])}catch(e){o=t.split(".").reduce(((t,e)=>t[e]),en.en)}return void 0===o&&(o=t.split(".").reduce(((t,e)=>t[e]),en.en)),""!==e&&""!==i&&(o=o.replace(e,i)),o}var on;const rn=h(on||(on=e(["\n\t.option {\n\t\tpadding: 4px 0px;\n\t\tcursor: pointer;\n\t}\n\t.row {\n\t\tdisplay: flex;\n\t\tmargin-bottom: -14px;\n\t\tpointer-events: none;\n\t}\n\t.title {\n\t\tpadding-left: 16px;\n\t\tmargin-top: -6px;\n\t\tpointer-events: none;\n\t}\n\t.secondary {\n\t\tpadding-left: 40px;\n\t\tcolor: var(--secondary-text-color);\n\t\tpointer-events: none;\n\t}\n\t.values {\n\t\tpadding-left: 16px;\n\t\tbackground: var(--secondary-background-color);\n\t}\n\tha-switch {\n\t\tpadding-bottom: 8px;\n\t\tpadding-top: 16px;\n\t}\n\t.mdc-label {\n\t\tmargin-left: 12px;\n\t\tvertical-align: text-bottom;\n\t}\n\t.side-by-side {\n\t\tdisplay: flex;\n\t}\n\t.side-by-side > * {\n\t\tflex: 1;\n\t\tpadding-right: 4px;\n\t}\n\t.origin-calendar {\n width: 50%;\n margin-left: 35px;\n }\n"]))); /** * @license * Copyright 2016 Google Inc. @@ -111,7 +81,7 @@ function me(t){return class extends t{createRenderRoot(){const t=this.constructo * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */var Vi=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),Bi={ROOT:"mdc-form-field"},Ui={LABEL_SELECTOR:".mdc-form-field > label"},Wi=function(t){function e(i){var n=t.call(this,a(a({},e.defaultAdapter),i))||this;return n.click=function(){n.handleClick()},n}return n(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return Bi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Ui},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},e.prototype.handleClick=function(){var t=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){t.adapter.deactivateInputRipple()}))},e}(Vi); + */var sn=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),an={ROOT:"mdc-form-field"},dn={LABEL_SELECTOR:".mdc-form-field > label"},ln=function(t){function e(i){var n=t.call(this,o(o({},e.defaultAdapter),i))||this;return n.click=function(){n.handleClick()},n}return n(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return an},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return dn},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},e.prototype.handleClick=function(){var t=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){t.adapter.deactivateInputRipple()}))},e}(sn); /** * @license * Copyright 2017 Google Inc. @@ -136,53 +106,125 @@ function me(t){return class extends t{createRenderRoot(){const t=this.constructo */ /** * @license - * Copyright 2018 Google LLC - * SPDX-License-Identifier: Apache-2.0 + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause */ -const qi=t=>t.nodeType===Node.ELEMENT_NODE;function Gi(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}const Ki=()=>{},Xi={get passive(){return!1}};document.addEventListener("x",Ki,Xi),document.removeEventListener("x",Ki);const Ji=(t=window.document)=>{let e=t.activeElement;const i=[];if(!e)return i;for(;e&&(i.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return i},Zi=t=>{const e=Ji();if(!e.length)return!1;const i=e[e.length-1],n=new Event("check-if-focused",{bubbles:!0,composed:!0});let a=[];const o=t=>{a=t.composedPath()};return document.body.addEventListener("check-if-focused",o),i.dispatchEvent(n),document.body.removeEventListener("check-if-focused",o),-1!==a.indexOf(t)}; +const cn=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,hn=Symbol(),un=new Map;const mn=t=>new class{constructor(t,e){if(this._$cssResult$=!0,e!==hn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=un.get(this.cssText);return cn&&void 0===t&&(un.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}("string"==typeof t?t:t+"",hn),pn=cn?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return mn(e)})(t):t +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */;var fn;const vn=window.trustedTypes,gn=vn?vn.emptyScript:"",_n=window.reactiveElementPolyfillSupport,yn={toAttribute(t,e){switch(e){case Boolean:t=t?gn:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){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}},bn=(t,e)=>e!==t&&(e==e||t==t),xn={attribute:!0,type:String,converter:yn,reflect:!1,hasChanged:bn};let wn=class extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const n=this._$Eh(i,e);void 0!==n&&(this._$Eu.set(n,i),t.push(n))})),t}static createProperty(t,e=xn){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const o=this[t];this[e]=n,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||xn}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(pn(t))}else void 0!==t&&e.push(pn(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{cn?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=xn){var n,o;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const s=(null!==(o=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==o?o:yn.toAttribute)(e,i.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,e){var i,n,o;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,d=null!==(o=null!==(n=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof a?a:null)&&void 0!==o?o:yn.fromAttribute;this._$Ei=s,this[s]=d(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||bn)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}; +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +var En;wn.finalized=!0,wn.elementProperties=new Map,wn.elementStyles=[],wn.shadowRootOptions={mode:"open"},null==_n||_n({ReactiveElement:wn}),(null!==(fn=globalThis.reactiveElementVersions)&&void 0!==fn?fn:globalThis.reactiveElementVersions=[]).push("1.2.1");const kn=window,Sn=kn.trustedTypes,Mn=Sn?Sn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tn="$lit$",Cn=`lit$${(Math.random()+"").slice(9)}$`,An="?"+Cn,Ln=`<${An}>`,$n=document,Dn=()=>$n.createComment(""),On=t=>null===t||"object"!=typeof t&&"function"!=typeof t,In=Array.isArray,Rn="[ \t\n\f\r]",Yn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Hn=/-->/g,Pn=/>/g,Fn=RegExp(`>|${Rn}(?:([^\\s"'>=/]+)(${Rn}*=${Rn}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Nn=/'/g,zn=/"/g,Un=/^(?:script|style|textarea|title)$/i,jn=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Vn=Symbol.for("lit-noChange"),Bn=Symbol.for("lit-nothing"),Wn=new WeakMap,qn=$n.createTreeWalker($n,129,null,!1);class Kn{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let o=0,r=0;const s=t.length-1,a=this.parts,[d,l]=((t,e)=>{const i=t.length-1,n=[];let o,r=2===e?"":"",s=Yn;for(let e=0;e"===d[0]?(s=null!=o?o:Yn,l=-1):void 0===d[1]?l=-2:(l=s.lastIndex-d[2].length,a=d[1],s=void 0===d[3]?Fn:'"'===d[3]?zn:Nn):s===zn||s===Nn?s=Fn:s===Hn||s===Pn?s=Yn:(s=Fn,o=void 0);const h=s===Fn&&t[e+1].startsWith("/>")?" ":"";r+=s===Yn?i+Ln:l>=0?(n.push(a),i.slice(0,l)+Tn+i.slice(l)+Cn+h):i+Cn+(-2===l?(n.push(void 0),e):h)}const a=r+(t[i]||"")+(2===e?"":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==Mn?Mn.createHTML(a):a,n]})(t,e);if(this.el=Kn.createElement(d,i),qn.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=qn.nextNode())&&a.length0){n.textContent=Sn?Sn.emptyScript:"";for(let i=0;iIn(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Bn&&On(this._$AH)?this._$AA.nextSibling.data=t:this.$($n.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:n}=t,o="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=Kn.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.v(i);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:n}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:$n).importNode(i,!0);qn.currentNode=o;let r=qn.nextNode(),s=0,a=0,d=n[0];for(;void 0!==d;){if(s===d.index){let e;2===d.type?e=new Jn(r,r.nextSibling,this,t):1===d.type?e=new d.ctor(r,d.name,d.strings,this,t):6===d.type&&(e=new io(r,this,t)),this._$AV.push(e),d=n[++a]}s!==(null==d?void 0:d.index)&&(r=qn.nextNode(),s++)}return qn.currentNode=$n,o}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}(o,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Wn.get(t.strings);return void 0===e&&Wn.set(t.strings,e=new Kn(t)),e}T(t){In(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const o of t)n===e.length?e.push(i=new Jn(this.k(Dn()),this.k(Dn()),this,this.options)):i=e[n],i._$AI(o),n++;n2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Bn}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const o=this.strings;let r=!1;if(void 0===o)t=Gn(this,t,e,0),r=!On(t)||t!==this._$AH&&t!==Vn,r&&(this._$AH=t);else{const n=t;let s,a;for(t=o[0],s=0;s{var n,o;const r=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let s=r._$litPart$;if(void 0===s){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;r._$litPart$=s=new Jn(e.insertBefore(Dn(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */};var ro,so;let ao=class extends wn{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=oo(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Vn}};ao.finalized=!0,ao._$litElement$=!0,null===(ro=globalThis.litElementHydrateSupport)||void 0===ro||ro.call(globalThis,{LitElement:ao});const lo=globalThis.litElementPolyfillSupport;null==lo||lo({LitElement:ao}),(null!==(so=globalThis.litElementVersions)&&void 0!==so?so:globalThis.litElementVersions=[]).push("3.3.2"); /** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 */ -class Qi extends vt{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}} +const co=t=>t.nodeType===Node.ELEMENT_NODE;function ho(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}const uo=()=>{},mo={get passive(){return!1}};document.addEventListener("x",uo,mo),document.removeEventListener("x",uo);const po=(t=window.document)=>{let e=t.activeElement;const i=[];if(!e)return i;for(;e&&(i.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return i},fo=t=>{const e=po();if(!e.length)return!1;const i=e[e.length-1],n=new Event("check-if-focused",{bubbles:!0,composed:!0});let o=[];const r=t=>{o=t.composedPath()};return document.body.addEventListener("check-if-focused",r),i.dispatchEvent(n),document.body.removeEventListener("check-if-focused",r),-1!==o.indexOf(t)}; /** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 - */var tn,en;const nn=null!==(en=null===(tn=window.ShadyDOM)||void 0===tn?void 0:tn.inUse)&&void 0!==en&&en;class an extends Qi{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=t=>{this.disabled||this.setFormData(t.formData)}}findFormElement(){if(!this.shadowRoot||nn)return null;const t=this.getRootNode().querySelectorAll("form");for(const e of Array.from(t))if(e.contains(this))return e;return null}connectedCallback(){var t;super.connectedCallback(),this.containingForm=this.findFormElement(),null===(t=this.containingForm)||void 0===t||t.addEventListener("formdata",this.formDataListener)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this.containingForm)||void 0===t||t.removeEventListener("formdata",this.formDataListener),this.containingForm=null}click(){this.formElement&&!this.disabled&&(this.formElement.focus(),this.formElement.click())}firstUpdated(){super.firstUpdated(),this.shadowRoot&&this.mdcRoot.addEventListener("change",(t=>{this.dispatchEvent(new Event("change",t))}))}}an.shadowRootOptions={mode:"open",delegatesFocus:!0},o([xt({type:Boolean})],an.prototype,"disabled",void 0); + */ +class vo extends ao{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}} +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const go=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}}; +/** + * @license + * Copyright 2021 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +var _o,yo,bo;null===(_o=window.HTMLSlotElement)||void 0===_o||_o.prototype.assignedElements;const xo=null!==(bo=null===(yo=window.ShadyDOM)||void 0===yo?void 0:yo.inUse)&&void 0!==bo&&bo;class wo extends vo{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=t=>{this.disabled||this.setFormData(t.formData)}}findFormElement(){if(!this.shadowRoot||xo)return null;const t=this.getRootNode().querySelectorAll("form");for(const e of Array.from(t))if(e.contains(this))return e;return null}connectedCallback(){var t;super.connectedCallback(),this.containingForm=this.findFormElement(),null===(t=this.containingForm)||void 0===t||t.addEventListener("formdata",this.formDataListener)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this.containingForm)||void 0===t||t.removeEventListener("formdata",this.formDataListener),this.containingForm=null}click(){this.formElement&&!this.disabled&&(this.formElement.focus(),this.formElement.click())}firstUpdated(){super.firstUpdated(),this.shadowRoot&&this.mdcRoot.addEventListener("change",(t=>{this.dispatchEvent(new Event("change",t))}))}}wo.shadowRootOptions={mode:"open",delegatesFocus:!0},r([function(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):go(t,e)}({type:Boolean})],wo.prototype,"disabled",void 0); /** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 */ -const on=t=>(e,i)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach(((t,i)=>e.constructor._observers.set(i,t)))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach(((t,e)=>{const i=this.constructor._observers.get(e);void 0!==i&&i.call(this,this[e],t)}))}}e.constructor._observers.set(i,t)} +const Eo=t=>(e,i)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach(((t,i)=>e.constructor._observers.set(i,t)))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach(((t,e)=>{const i=this.constructor._observers.get(e);void 0!==i&&i.call(this,this[e],t)}))}}e.constructor._observers.set(i,t)} +/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */,ko=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,So=Symbol(),Mo=new Map;let To=class{constructor(t,e){if(this._$cssResult$=!0,e!==So)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=Mo.get(this.cssText);return ko&&void 0===t&&(Mo.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}};const Co=ko?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new To("string"==typeof t?t:t+"",So))(e)})(t):t +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */;var Ao;const Lo=window.trustedTypes,$o=Lo?Lo.emptyScript:"",Do=window.reactiveElementPolyfillSupport,Oo={toAttribute(t,e){switch(e){case Boolean:t=t?$o:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){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}},Io=(t,e)=>e!==t&&(e==e||t==t),Ro={attribute:!0,type:String,converter:Oo,reflect:!1,hasChanged:Io};let Yo=class extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const n=this._$Eh(i,e);void 0!==n&&(this._$Eu.set(n,i),t.push(n))})),t}static createProperty(t,e=Ro){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const o=this[t];this[e]=n,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Ro}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(Co(t))}else void 0!==t&&e.push(Co(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{ko?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=Ro){var n,o;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const s=(null!==(o=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==o?o:Oo.toAttribute)(e,i.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,e){var i,n,o;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,d=null!==(o=null!==(n=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof a?a:null)&&void 0!==o?o:Oo.fromAttribute;this._$Ei=s,this[s]=d(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||Io)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}; +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +var Ho,Po;Yo.finalized=!0,Yo.elementProperties=new Map,Yo.elementStyles=[],Yo.shadowRootOptions={mode:"open"},null==Do||Do({ReactiveElement:Yo}),(null!==(Ao=globalThis.reactiveElementVersions)&&void 0!==Ao?Ao:globalThis.reactiveElementVersions=[]).push("1.2.1");let Fo=class extends Yo{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=oo(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Vn}};Fo.finalized=!0,Fo._$litElement$=!0,null===(Ho=globalThis.litElementHydrateSupport)||void 0===Ho||Ho.call(globalThis,{LitElement:Fo});const No=globalThis.litElementPolyfillSupport;null==No||No({LitElement:Fo}),(null!==(Po=globalThis.litElementVersions)&&void 0!==Po?Po:globalThis.litElementVersions=[]).push("3.3.2"); +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +const zo=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function Uo(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):zo(t,e) /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */,rn=1,sn=2,dn=3,ln=4,cn=t=>(...e)=>({_$litDirective$:t,values:e});let mn=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}; + */}const jo=({finisher:t,descriptor:e})=>(i,n)=>{var o;if(void 0===n){const n=null!==(o=i.originalKey)&&void 0!==o?o:i.key,r=null!=e?{kind:"method",placement:"prototype",key:n,descriptor:e(i.key)}:{...i,key:n};return null!=t&&(r.finisher=function(e){t(e,n)}),r}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,n,e(n)),null==t||t(o,n)}} +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */;function Vo(t,e){return jo({descriptor:i=>{const n={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[e]&&(this[e]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==n?n:null),this[e]}}return n}})} +/** + * @license + * Copyright 2021 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */var Bo;const Wo=null!=(null===(Bo=window.HTMLSlotElement)||void 0===Bo?void 0:Bo.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE)); +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +const qo=1,Ko=3,Go=4,Jo=t=>(...e)=>({_$litDirective$:t,values:e});let Xo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}; /** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const hn=cn(class extends mn{constructor(t){var e;if(super(t),t.type!==rn||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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((e=>t[e])).join(" ")+" "}update(t,[e]){var i,n;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const a=t.element.classList;this.it.forEach((t=>{t in e||(a.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(n=this.nt)||void 0===n?void 0:n.has(t))||(i?(a.add(t),this.it.add(t)):(a.remove(t),this.it.delete(t)))}return P}}); + */const Zo=Jo(class extends Xo{constructor(t){var e;if(super(t),t.type!==qo||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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((e=>t[e])).join(" ")+" "}update(t,[e]){var i,n;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const o=t.element.classList;this.it.forEach((t=>{t in e||(o.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(n=this.nt)||void 0===n?void 0:n.has(t))||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Vn}}); /** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 - */class un extends Qi{constructor(){super(...arguments),this.alignEnd=!1,this.spaceBetween=!1,this.nowrap=!1,this.label="",this.mdcFoundationClass=Wi}createAdapter(){return{registerInteractionHandler:(t,e)=>{this.labelEl.addEventListener(t,e)},deregisterInteractionHandler:(t,e)=>{this.labelEl.removeEventListener(t,e)},activateInputRipple:async()=>{const t=this.input;if(t instanceof an){const e=await t.ripple;e&&e.startPress()}},deactivateInputRipple:async()=>{const t=this.input;if(t instanceof an){const e=await t.ripple;e&&e.endPress()}}}}get input(){var t,e;return null!==(e=null===(t=this.slottedInputs)||void 0===t?void 0:t[0])&&void 0!==e?e:null}render(){const t={"mdc-form-field--align-end":this.alignEnd,"mdc-form-field--space-between":this.spaceBetween,"mdc-form-field--nowrap":this.nowrap};return z` -
+ */class Qo extends vo{constructor(){super(...arguments),this.alignEnd=!1,this.spaceBetween=!1,this.nowrap=!1,this.label="",this.mdcFoundationClass=ln}createAdapter(){return{registerInteractionHandler:(t,e)=>{this.labelEl.addEventListener(t,e)},deregisterInteractionHandler:(t,e)=>{this.labelEl.removeEventListener(t,e)},activateInputRipple:async()=>{const t=this.input;if(t instanceof wo){const e=await t.ripple;e&&e.startPress()}},deactivateInputRipple:async()=>{const t=this.input;if(t instanceof wo){const e=await t.ripple;e&&e.endPress()}}}}get input(){var t,e;return null!==(e=null===(t=this.slottedInputs)||void 0===t?void 0:t[0])&&void 0!==e?e:null}render(){const t={"mdc-form-field--align-end":this.alignEnd,"mdc-form-field--space-between":this.spaceBetween,"mdc-form-field--nowrap":this.nowrap};return jn` +
-
`}click(){this._labelClick()}_labelClick(){const t=this.input;t&&(t.focus(),t.click())}}o([xt({type:Boolean})],un.prototype,"alignEnd",void 0),o([xt({type:Boolean})],un.prototype,"spaceBetween",void 0),o([xt({type:Boolean})],un.prototype,"nowrap",void 0),o([xt({type:String}),on((async function(t){var e;null===(e=this.input)||void 0===e||e.setAttribute("aria-label",t)}))],un.prototype,"label",void 0),o([Mt(".mdc-form-field")],un.prototype,"mdcRoot",void 0),o([Dt("",!0,"*")],un.prototype,"slottedInputs",void 0),o([Mt("label")],un.prototype,"labelEl",void 0); +
`}click(){this._labelClick()}_labelClick(){const t=this.input;t&&(t.focus(),t.click())}}r([Uo({type:Boolean})],Qo.prototype,"alignEnd",void 0),r([Uo({type:Boolean})],Qo.prototype,"spaceBetween",void 0),r([Uo({type:Boolean})],Qo.prototype,"nowrap",void 0),r([Uo({type:String}),Eo((async function(t){var e;null===(e=this.input)||void 0===e||e.setAttribute("aria-label",t)}))],Qo.prototype,"label",void 0),r([Vo(".mdc-form-field")],Qo.prototype,"mdcRoot",void 0),r([ +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return jo({descriptor:n=>({get(){var n;const o="slot"+(e?`[name=${e}]`:":not([name])"),r=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(o),s=null!=r?Wo(r,t):[];return i?s.filter((t=>t.matches(i))):s},enumerable:!0,configurable:!0})})}({slot:o,flatten:e,selector:i}):jo({descriptor:t=>({get(){var t,e;const i="slot"+(o?`[name=${o}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==r?void 0:r.assignedNodes(n))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0,"*")],Qo.prototype,"slottedInputs",void 0),r([Vo("label")],Qo.prototype,"labelEl",void 0); /** * @license * Copyright 2021 Google LLC * SPDX-LIcense-Identifier: Apache-2.0 */ -const pn=ot`.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}:host{display:inline-flex}.mdc-form-field{width:100%}::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}::slotted(mwc-switch){margin-right:10px}[dir=rtl] ::slotted(mwc-switch),::slotted(mwc-switch[dir=rtl]){margin-left:10px}`,fn={"mwc-formfield":class extends un{static get styles(){return pn}}}; +const tr=((t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,n)=>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.")})(i)+t[n+1]),t[0]);return new To(i,So)})`.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}:host{display:inline-flex}.mdc-form-field{width:100%}::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}::slotted(mwc-switch){margin-right:10px}[dir=rtl] ::slotted(mwc-switch),::slotted(mwc-switch[dir=rtl]){margin-left:10px}`,er={"mwc-formfield":class extends Qo{static get styles(){return tr}}}; /** * @license * Copyright 2016 Google Inc. @@ -205,7 +247,7 @@ const pn=ot`.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoot * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -var gn={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"},vn=function(t){function e(i){var n=t.call(this,a(a({},e.defaultAdapter),i))||this;return n.shakeAnimationEndHandler=function(){n.handleShakeAnimationEnd()},n}return n(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return gn},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(t){var i=e.cssClasses.LABEL_SHAKE;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.float=function(t){var i=e.cssClasses,n=i.LABEL_FLOAT_ABOVE,a=i.LABEL_SHAKE;t?this.adapter.addClass(n):(this.adapter.removeClass(n),this.adapter.removeClass(a))},e.prototype.setRequired=function(t){var i=e.cssClasses.LABEL_REQUIRED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.handleShakeAnimationEnd=function(){var t=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(t)},e}(Vi); +var ir={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"},nr=function(t){function e(i){var n=t.call(this,o(o({},e.defaultAdapter),i))||this;return n.shakeAnimationEndHandler=function(){n.handleShakeAnimationEnd()},n}return n(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return ir},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(t){var i=e.cssClasses.LABEL_SHAKE;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.float=function(t){var i=e.cssClasses,n=i.LABEL_FLOAT_ABOVE,o=i.LABEL_SHAKE;t?this.adapter.addClass(n):(this.adapter.removeClass(n),this.adapter.removeClass(o))},e.prototype.setRequired=function(t){var i=e.cssClasses.LABEL_REQUIRED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.handleShakeAnimationEnd=function(){var t=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(t)},e}(sn); /** * @license * Copyright 2016 Google Inc. @@ -227,7 +269,7 @@ var gn={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */const _n=cn(class extends mn{constructor(t){switch(super(t),this.foundation=null,this.previousPart=null,t.type){case rn:case dn:break;default:throw new Error("FloatingLabel directive only support attribute and property parts")}}update(t,[e]){if(t!==this.previousPart){this.foundation&&this.foundation.destroy(),this.previousPart=t;const e=t.element;e.classList.add("mdc-floating-label");const i=(t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),getWidth:()=>t.scrollWidth,registerInteractionHandler:(e,i)=>{t.addEventListener(e,i)},deregisterInteractionHandler:(e,i)=>{t.removeEventListener(e,i)}}))(e);this.foundation=new vn(i),this.foundation.init()}return this.render(e)}render(t){return this.foundation}}); + */const or=Jo(class extends Xo{constructor(t){switch(super(t),this.foundation=null,this.previousPart=null,t.type){case qo:case Ko:break;default:throw new Error("FloatingLabel directive only support attribute and property parts")}}update(t,[e]){if(t!==this.previousPart){this.foundation&&this.foundation.destroy(),this.previousPart=t;const e=t.element;e.classList.add("mdc-floating-label");const i=(t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),getWidth:()=>t.scrollWidth,registerInteractionHandler:(e,i)=>{t.addEventListener(e,i)},deregisterInteractionHandler:(e,i)=>{t.removeEventListener(e,i)}}))(e);this.foundation=new nr(i),this.foundation.init()}return this.render(e)}render(t){return this.foundation}}); /** * @license * Copyright 2018 Google Inc. @@ -249,7 +291,7 @@ var gn={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */var bn={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},yn=function(t){function e(i){var n=t.call(this,a(a({},e.defaultAdapter),i))||this;return n.transitionEndHandler=function(t){n.handleTransitionEnd(t)},n}return n(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return bn},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(bn.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(bn.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(t){this.adapter.setStyle("transform-origin",t+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(bn.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(t){var e=this.adapter.hasClass(bn.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter.removeClass(bn.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(bn.LINE_RIPPLE_DEACTIVATING))},e}(Vi); + */var rr={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},sr=function(t){function e(i){var n=t.call(this,o(o({},e.defaultAdapter),i))||this;return n.transitionEndHandler=function(t){n.handleTransitionEnd(t)},n}return n(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return rr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(rr.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(rr.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(t){this.adapter.setStyle("transform-origin",t+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(rr.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(t){var e=this.adapter.hasClass(rr.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter.removeClass(rr.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(rr.LINE_RIPPLE_DEACTIVATING))},e}(sn); /** * @license * Copyright 2018 Google Inc. @@ -271,7 +313,7 @@ var gn={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */const xn=cn(class extends mn{constructor(t){switch(super(t),this.previousPart=null,this.foundation=null,t.type){case rn:case dn:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(t,e){if(this.previousPart!==t){this.foundation&&this.foundation.destroy(),this.previousPart=t;const e=t.element;e.classList.add("mdc-line-ripple");const i=(t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,i)=>t.style.setProperty(e,i),registerEventHandler:(e,i)=>{t.addEventListener(e,i)},deregisterEventHandler:(e,i)=>{t.removeEventListener(e,i)}}))(e);this.foundation=new yn(i),this.foundation.init()}return this.render()}render(){return this.foundation}}); + */const ar=Jo(class extends Xo{constructor(t){switch(super(t),this.previousPart=null,this.foundation=null,t.type){case qo:case Ko:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(t,e){if(this.previousPart!==t){this.foundation&&this.foundation.destroy(),this.previousPart=t;const e=t.element;e.classList.add("mdc-line-ripple");const i=(t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,i)=>t.style.setProperty(e,i),registerEventHandler:(e,i)=>{t.addEventListener(e,i)},deregisterEventHandler:(e,i)=>{t.removeEventListener(e,i)}}))(e);this.foundation=new sr(i),this.foundation.init()}return this.render()}render(){return this.foundation}}); /** * @license * Copyright 2016 Google Inc. @@ -293,24 +335,73 @@ var gn={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */var wn={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},kn={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},En={LABEL_SCALE:.75},Mn=["pattern","min","max","required","step","minlength","maxlength"],Tn=["color","date","datetime-local","month","range","time","week"],Ln=["mousedown","touchstart"],Sn=["click","keydown"],Dn=function(t){function e(i,n){void 0===n&&(n={});var o=t.call(this,a(a({},e.defaultAdapter),i))||this;return o.isFocused=!1,o.receivedUserInput=!1,o.valid=!0,o.useNativeValidation=!0,o.validateOnValueChange=!0,o.helperText=n.helperText,o.characterCounter=n.characterCounter,o.leadingIcon=n.leadingIcon,o.trailingIcon=n.trailingIcon,o.inputFocusHandler=function(){o.activateFocus()},o.inputBlurHandler=function(){o.deactivateFocus()},o.inputInputHandler=function(){o.handleInput()},o.setPointerXOffset=function(t){o.setTransformOrigin(t)},o.textFieldInteractionHandler=function(){o.handleTextFieldInteraction()},o.validationAttributeChangeHandler=function(t){o.handleValidationAttributeChange(t)},o}return n(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return kn},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return wn},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return En},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldAlwaysFloat",{get:function(){var t=this.getNativeInput().type;return Tn.indexOf(t)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t,e,i,n;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var a=r(Ln),o=a.next();!o.done;o=a.next()){var s=o.value;this.adapter.registerInputInteractionHandler(s,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}try{for(var d=r(Sn),l=d.next();!l.done;l=d.next()){s=l.value;this.adapter.registerTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(t){i={error:t}}finally{try{l&&!l.done&&(n=d.return)&&n.call(d)}finally{if(i)throw i.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},e.prototype.destroy=function(){var t,e,i,n;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var a=r(Ln),o=a.next();!o.done;o=a.next()){var s=o.value;this.adapter.deregisterInputInteractionHandler(s,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}try{for(var d=r(Sn),l=d.next();!l.done;l=d.next()){s=l.value;this.adapter.deregisterTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(t){i={error:t}}finally{try{l&&!l.done&&(n=d.return)&&n.call(d)}finally{if(i)throw i.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},e.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput=!0)},e.prototype.handleValidationAttributeChange=function(t){var e=this;t.some((function(t){return Mn.indexOf(t)>-1&&(e.styleValidity(!0),e.adapter.setLabelRequired(e.getNativeInput().required),!0)})),t.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(t){var e=this.adapter.getLabelWidth()*En.LABEL_SCALE;this.adapter.notchOutline(e)}else this.adapter.closeOutline()},e.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText||!this.helperText.isPersistent()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()},e.prototype.setTransformOrigin=function(t){if(!this.isDisabled()&&!this.adapter.hasOutline()){var e=t.touches,i=e?e[0]:t,n=i.target.getBoundingClientRect(),a=i.clientX-n.left;this.adapter.setLineRippleTransformOrigin(a)}},e.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},e.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},e.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity(t),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},e.prototype.getValue=function(){return this.getNativeInput().value},e.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput().value=t),this.setcharacterCounter(t.length),this.validateOnValueChange){var e=this.isValid();this.styleValidity(e)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},e.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},e.prototype.setValid=function(t){this.valid=t,this.styleValidity(t);var e=!t&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(e)},e.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange=t},e.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},e.prototype.setUseNativeValidation=function(t){this.useNativeValidation=t},e.prototype.isDisabled=function(){return this.getNativeInput().disabled},e.prototype.setDisabled=function(t){this.getNativeInput().disabled=t,this.styleDisabled(t)},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon&&this.trailingIcon.setAriaLabel(t)},e.prototype.setTrailingIconContent=function(t){this.trailingIcon&&this.trailingIcon.setContent(t)},e.prototype.setcharacterCounter=function(t){if(this.characterCounter){var e=this.getNativeInput().maxLength;if(-1===e)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(t,e)}},e.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},e.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},e.prototype.styleValidity=function(t){var i=e.cssClasses.INVALID;if(t?this.adapter.removeClass(i):this.adapter.addClass(i),this.helperText){if(this.helperText.setValidity(t),!this.helperText.isValidation())return;var n=this.helperText.isVisible(),a=this.helperText.getId();n&&a?this.adapter.setInputAttr(wn.ARIA_DESCRIBEDBY,a):this.adapter.removeInputAttr(wn.ARIA_DESCRIBEDBY)}},e.prototype.styleFocused=function(t){var i=e.cssClasses.FOCUSED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.styleDisabled=function(t){var i=e.cssClasses,n=i.DISABLED,a=i.INVALID;t?(this.adapter.addClass(n),this.adapter.removeClass(a)):this.adapter.removeClass(n),this.leadingIcon&&this.leadingIcon.setDisabled(t),this.trailingIcon&&this.trailingIcon.setDisabled(t)},e.prototype.styleFloating=function(t){var i=e.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},e}(Vi),Cn=Dn; + */var dr={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},lr={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},cr={LABEL_SCALE:.75},hr=["pattern","min","max","required","step","minlength","maxlength"],ur=["color","date","datetime-local","month","range","time","week"],mr=["mousedown","touchstart"],pr=["click","keydown"],fr=function(t){function e(i,n){void 0===n&&(n={});var r=t.call(this,o(o({},e.defaultAdapter),i))||this;return r.isFocused=!1,r.receivedUserInput=!1,r.valid=!0,r.useNativeValidation=!0,r.validateOnValueChange=!0,r.helperText=n.helperText,r.characterCounter=n.characterCounter,r.leadingIcon=n.leadingIcon,r.trailingIcon=n.trailingIcon,r.inputFocusHandler=function(){r.activateFocus()},r.inputBlurHandler=function(){r.deactivateFocus()},r.inputInputHandler=function(){r.handleInput()},r.setPointerXOffset=function(t){r.setTransformOrigin(t)},r.textFieldInteractionHandler=function(){r.handleTextFieldInteraction()},r.validationAttributeChangeHandler=function(t){r.handleValidationAttributeChange(t)},r}return n(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return lr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return dr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return cr},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldAlwaysFloat",{get:function(){var t=this.getNativeInput().type;return ur.indexOf(t)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t,e,i,n;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var o=s(mr),r=o.next();!r.done;r=o.next()){var a=r.value;this.adapter.registerInputInteractionHandler(a,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}try{for(var d=s(pr),l=d.next();!l.done;l=d.next()){a=l.value;this.adapter.registerTextFieldInteractionHandler(a,this.textFieldInteractionHandler)}}catch(t){i={error:t}}finally{try{l&&!l.done&&(n=d.return)&&n.call(d)}finally{if(i)throw i.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},e.prototype.destroy=function(){var t,e,i,n;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var o=s(mr),r=o.next();!r.done;r=o.next()){var a=r.value;this.adapter.deregisterInputInteractionHandler(a,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}try{for(var d=s(pr),l=d.next();!l.done;l=d.next()){a=l.value;this.adapter.deregisterTextFieldInteractionHandler(a,this.textFieldInteractionHandler)}}catch(t){i={error:t}}finally{try{l&&!l.done&&(n=d.return)&&n.call(d)}finally{if(i)throw i.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},e.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput=!0)},e.prototype.handleValidationAttributeChange=function(t){var e=this;t.some((function(t){return hr.indexOf(t)>-1&&(e.styleValidity(!0),e.adapter.setLabelRequired(e.getNativeInput().required),!0)})),t.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(t){var e=this.adapter.getLabelWidth()*cr.LABEL_SCALE;this.adapter.notchOutline(e)}else this.adapter.closeOutline()},e.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText||!this.helperText.isPersistent()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()},e.prototype.setTransformOrigin=function(t){if(!this.isDisabled()&&!this.adapter.hasOutline()){var e=t.touches,i=e?e[0]:t,n=i.target.getBoundingClientRect(),o=i.clientX-n.left;this.adapter.setLineRippleTransformOrigin(o)}},e.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},e.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},e.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity(t),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},e.prototype.getValue=function(){return this.getNativeInput().value},e.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput().value=t),this.setcharacterCounter(t.length),this.validateOnValueChange){var e=this.isValid();this.styleValidity(e)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},e.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},e.prototype.setValid=function(t){this.valid=t,this.styleValidity(t);var e=!t&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(e)},e.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange=t},e.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},e.prototype.setUseNativeValidation=function(t){this.useNativeValidation=t},e.prototype.isDisabled=function(){return this.getNativeInput().disabled},e.prototype.setDisabled=function(t){this.getNativeInput().disabled=t,this.styleDisabled(t)},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon&&this.trailingIcon.setAriaLabel(t)},e.prototype.setTrailingIconContent=function(t){this.trailingIcon&&this.trailingIcon.setContent(t)},e.prototype.setcharacterCounter=function(t){if(this.characterCounter){var e=this.getNativeInput().maxLength;if(-1===e)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(t,e)}},e.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},e.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},e.prototype.styleValidity=function(t){var i=e.cssClasses.INVALID;if(t?this.adapter.removeClass(i):this.adapter.addClass(i),this.helperText){if(this.helperText.setValidity(t),!this.helperText.isValidation())return;var n=this.helperText.isVisible(),o=this.helperText.getId();n&&o?this.adapter.setInputAttr(dr.ARIA_DESCRIBEDBY,o):this.adapter.removeInputAttr(dr.ARIA_DESCRIBEDBY)}},e.prototype.styleFocused=function(t){var i=e.cssClasses.FOCUSED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.styleDisabled=function(t){var i=e.cssClasses,n=i.DISABLED,o=i.INVALID;t?(this.adapter.addClass(n),this.adapter.removeClass(o)):this.adapter.removeClass(n),this.leadingIcon&&this.leadingIcon.setDisabled(t),this.trailingIcon&&this.trailingIcon.setDisabled(t)},e.prototype.styleFloating=function(t){var i=e.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},e}(sn),vr=fr; +/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +const gr=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_r=Symbol(),yr=new Map;let br=class{constructor(t,e){if(this._$cssResult$=!0,e!==_r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=yr.get(this.cssText);return gr&&void 0===t&&(yr.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}};const xr=gr?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new br("string"==typeof t?t:t+"",_r))(e)})(t):t +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */;var wr;const Er=window.trustedTypes,kr=Er?Er.emptyScript:"",Sr=window.reactiveElementPolyfillSupport,Mr={toAttribute(t,e){switch(e){case Boolean:t=t?kr:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){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}},Tr=(t,e)=>e!==t&&(e==e||t==t),Cr={attribute:!0,type:String,converter:Mr,reflect:!1,hasChanged:Tr};let Ar=class extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const n=this._$Eh(i,e);void 0!==n&&(this._$Eu.set(n,i),t.push(n))})),t}static createProperty(t,e=Cr){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const o=this[t];this[e]=n,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Cr}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(xr(t))}else void 0!==t&&e.push(xr(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{gr?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=Cr){var n,o;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const s=(null!==(o=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==o?o:Mr.toAttribute)(e,i.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,e){var i,n,o;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,d=null!==(o=null!==(n=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof a?a:null)&&void 0!==o?o:Mr.fromAttribute;this._$Ei=s,this[s]=d(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||Tr)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}; +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +var Lr,$r;Ar.finalized=!0,Ar.elementProperties=new Map,Ar.elementStyles=[],Ar.shadowRootOptions={mode:"open"},null==Sr||Sr({ReactiveElement:Ar}),(null!==(wr=globalThis.reactiveElementVersions)&&void 0!==wr?wr:globalThis.reactiveElementVersions=[]).push("1.2.1");let Dr=class extends Ar{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=oo(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Vn}};Dr.finalized=!0,Dr._$litElement$=!0,null===(Lr=globalThis.litElementHydrateSupport)||void 0===Lr||Lr.call(globalThis,{LitElement:Dr});const Or=globalThis.litElementPolyfillSupport;null==Or||Or({LitElement:Dr}),(null!==($r=globalThis.litElementVersions)&&void 0!==$r?$r:globalThis.litElementVersions=[]).push("3.3.2"); +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +const Ir=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function Rr(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):Ir(t,e) +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */}function Yr(t){return Rr({...t,state:!0})} +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Hr=({finisher:t,descriptor:e})=>(i,n)=>{var o;if(void 0===n){const n=null!==(o=i.originalKey)&&void 0!==o?o:i.key,r=null!=e?{kind:"method",placement:"prototype",key:n,descriptor:e(i.key)}:{...i,key:n};return null!=t&&(r.finisher=function(e){t(e,n)}),r}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,n,e(n)),null==t||t(o,n)}} +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */; +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +function Pr(t,e){return Hr({descriptor:i=>{const n={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[e]&&(this[e]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==n?n:null),this[e]}}return n}})} +/** + * @license + * Copyright 2021 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */var Fr;null===(Fr=window.HTMLSlotElement)||void 0===Fr||Fr.prototype.assignedElements; /** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -const An=t=>null!=t?t:j +const Nr=t=>null!=t?t:Bn /** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */,In={},Yn=cn(class extends mn{constructor(t){if(super(t),t.type!==dn&&t.type!==rn&&t.type!==ln)throw Error("The `live` directive is not allowed on child or event bindings");if(!(t=>void 0===t.strings)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===P||e===j)return e;const i=t.element,n=t.name;if(t.type===dn){if(e===i[n])return P}else if(t.type===ln){if(!!e===i.hasAttribute(n))return P}else if(t.type===rn&&i.getAttribute(n)===e+"")return P;return((t,e=In)=>{t._$AH=e; + */,zr={},Ur=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Ko&&t.type!==qo&&t.type!==Go)throw Error("The `live` directive is not allowed on child or event bindings");if(!(t=>void 0===t.strings)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===Vn||e===Bn)return e;const i=t.element,n=t.name;if(t.type===Ko){if(e===i[n])return Vn}else if(t.type===Go){if(!!e===i.hasAttribute(n))return Vn}else if(t.type===qo&&i.getAttribute(n)===e+"")return Vn;return((t,e=zr)=>{t._$AH=e; /** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */})(t),e}}),On=["touchstart","touchmove","scroll","mousewheel"],Fn=(t={})=>{const e={};for(const i in t)e[i]=t[i];return Object.assign({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1},e)};class Rn extends an{constructor(){super(...arguments),this.mdcFoundationClass=Cn,this.value="",this.type="text",this.placeholder="",this.label="",this.icon="",this.iconTrailing="",this.disabled=!1,this.required=!1,this.minLength=-1,this.maxLength=-1,this.outlined=!1,this.helper="",this.validateOnInitialRender=!1,this.validationMessage="",this.autoValidate=!1,this.pattern="",this.min="",this.max="",this.step=null,this.size=null,this.helperPersistent=!1,this.charCounter=!1,this.endAligned=!1,this.prefix="",this.suffix="",this.name="",this.readOnly=!1,this.autocapitalize="",this.outlineOpen=!1,this.outlineWidth=0,this.isUiValid=!0,this.focused=!1,this._validity=Fn(),this.validityTransform=null}get validity(){return this._checkValidity(this.value),this._validity}get willValidate(){return this.formElement.willValidate}get selectionStart(){return this.formElement.selectionStart}get selectionEnd(){return this.formElement.selectionEnd}focus(){const t=new CustomEvent("focus");this.formElement.dispatchEvent(t),this.formElement.focus()}blur(){const t=new CustomEvent("blur");this.formElement.dispatchEvent(t),this.formElement.blur()}select(){this.formElement.select()}setSelectionRange(t,e,i){this.formElement.setSelectionRange(t,e,i)}update(t){t.has("autoValidate")&&this.mdcFoundation&&this.mdcFoundation.setValidateOnValueChange(this.autoValidate),t.has("value")&&"string"!=typeof this.value&&(this.value=`${this.value}`),super.update(t)}setFormData(t){this.name&&t.append(this.name,this.value)}render(){const t=this.charCounter&&-1!==this.maxLength,e=!!this.helper||!!this.validationMessage||t,i={"mdc-text-field--disabled":this.disabled,"mdc-text-field--no-label":!this.label,"mdc-text-field--filled":!this.outlined,"mdc-text-field--outlined":this.outlined,"mdc-text-field--with-leading-icon":this.icon,"mdc-text-field--with-trailing-icon":this.iconTrailing,"mdc-text-field--end-aligned":this.endAligned};return z` -