@descope/web-components-ui 1.0.65 → 1.0.67
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +6 -4
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +663 -433
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/233.js +5 -1
- package/dist/umd/314.js +283 -0
- package/dist/umd/314.js.LICENSE.txt +27 -0
- package/dist/umd/541.js +744 -0
- package/dist/umd/541.js.LICENSE.txt +21 -0
- package/dist/umd/725.js +37 -1
- package/dist/umd/786.js +1 -1
- package/dist/umd/824.js +229 -0
- package/dist/umd/{54.js.LICENSE.txt → 824.js.LICENSE.txt} +0 -6
- package/dist/umd/840.js +9 -9
- package/dist/umd/860.js +1 -0
- package/dist/umd/descope-button-index-js.js +1 -1
- package/dist/umd/descope-checkbox-index-js.js +1 -1
- package/dist/umd/descope-combo-box-index-js.js +1 -0
- package/dist/umd/descope-container-index-js.js +1 -1
- package/dist/umd/descope-date-picker-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-loader-linear-index-js.js +1 -1
- package/dist/umd/descope-loader-radial-index-js.js +1 -1
- package/dist/umd/descope-logo-index-js.js +1 -1
- package/dist/umd/descope-number-field-index-js.js +1 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
- package/dist/umd/descope-passcode-index-js.js +1 -1
- package/dist/umd/descope-password-field-index-js.js +1 -1
- package/dist/umd/descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/descope-text-area-index-js.js +1 -1
- package/dist/umd/descope-text-field-index-js.js +1 -1
- package/dist/umd/descope-text-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +2 -1
- package/src/components/descope-combo-box/ComboBox.js +111 -0
- package/src/components/descope-combo-box/index.js +6 -0
- package/src/constants.js +3 -1
- package/src/helpers/componentHelpers.js +55 -36
- package/src/helpers/index.js +2 -1
- package/src/helpers/themeHelpers/index.js +3 -3
- package/src/mixins/createStyleMixin/index.js +117 -91
- package/src/mixins/index.js +1 -0
- package/src/mixins/inputMixin.js +2 -3
- package/src/mixins/portalMixin.js +62 -0
- package/src/theme/components/comboBox.js +32 -0
- package/src/theme/components/index.js +3 -1
- package/dist/umd/54.js +0 -971
- package/dist/umd/666.js +0 -37
- /package/dist/umd/{666.js.LICENSE.txt → 725.js.LICENSE.txt} +0 -0
package/dist/umd/840.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*! For license information please see 840.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[840],{7221:(t,e,s)=>{s.d(e,{e:()=>a}),s(7894);var r=s(1014),o=s(2224),i=s(1342);const n=o.YA,a=(0,r.o)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let s in t)s in e||e._createPropertyAccessor(s)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,s){let r=this.__data[t],o=this._shouldPropertyChange(t,e,r);return o&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=r),this.__data[t]=e,this.__dataPending[t]=e),o}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,n.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,s=this.__dataOld;this._shouldPropertiesChange(t,e,s)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,s)),this.__dataCounter--}_shouldPropertiesChange(t,e,s){return Boolean(e)}_propertiesChanged(t,e,s){}_shouldPropertyChange(t,e,s){return s!==e&&(s==s||e==e)}attributeChangedCallback(t,e,s,r){e!==s&&this._attributeToProperty(t,s),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,s,r)}_attributeToProperty(t,e,s){if(!this.__serializing){const r=this.__dataAttributes,o=r&&r[t]||t;this[o]=this._deserializeValue(e,s||this.constructor.typeForProperty(o))}}_propertyToAttribute(t,e,s){this.__serializing=!0,s=arguments.length<3?this[t]:s,this._valueToNodeAttribute(this,s,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,s){const r=this._serializeValue(e);"class"!==s&&"name"!==s&&"slot"!==s||(t=(0,i.r)(t)),void 0===r?t.removeAttribute(s):t.setAttribute(s,""===r&&window.trustedTypes?window.trustedTypes.emptyScript:r)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}}))},4933:(t,e,s)=>{s.d(e,{q:()=>at}),s(7894);var r=s(1342),o=s(1014),i=s(1446);const n={},a=/-[a-z]/g,l=/([A-Z])/g;function d(t){return n[t]||(n[t]=t.indexOf("-")<0?t:t.replace(a,(t=>t[1].toUpperCase())))}function c(t){return n[t]||(n[t]=t.replace(l,"-$1").toLowerCase())}var h=s(7221);const u={};let p=HTMLElement.prototype;for(;p;){let t=Object.getOwnPropertyNames(p);for(let e=0;e<t.length;e++)u[t[e]]=!0;p=Object.getPrototypeOf(p)}const _=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1,m=(0,o.o)((t=>{const e=(0,h.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(d(t[e]))}static attributeNameForProperty(t){return c(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){this.hasAttribute(t)||this._valueToNodeAttribute(this,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(_(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let s;switch(e){case Object:try{s=JSON.parse(t)}catch(e){s=t}break;case Array:try{s=JSON.parse(t)}catch(e){s=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:s=isNaN(t)?String(t):Number(t),s=new Date(s);break;default:s=super._deserializeValue(t,e)}return s}_definePropertyAccessor(t,e){!function(t,e){if(!u[e]){let s=t[e];void 0!==s&&(t.__data?t._setPendingProperty(e,s):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=s))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),f={"dom-if":!0,"dom-repeat":!0};let y=!1,v=!1;const g=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,s,r)=>{const o=s.getAttribute(r);t&&r.startsWith("on-")?e.setAttribute(r,t.createScript(o,r)):e.setAttribute(r,o)}})();function b(t){let e=t.getAttribute("is");if(e&&f[e]){let s=t;for(s.removeAttribute("is"),t=s.ownerDocument.createElement(e),s.parentNode.replaceChild(t,s),t.appendChild(s);s.attributes.length;){const{name:e}=s.attributes[0];g(t,s,e),s.removeAttribute(e)}}return t}function w(t,e){let s=e.parentInfo&&w(t,e.parentInfo);if(!s)return t;for(let t=s.firstChild,r=0;t;t=t.nextSibling)if(e.parentIndex===r++)return t}function P(t,e,s,r){r.id&&(e[r.id]=s)}function C(t,e,s){if(s.events&&s.events.length)for(let r,o=0,i=s.events;o<i.length&&(r=i[o]);o++)t._addMethodEventListenerToNode(e,r.name,r.value,t)}function A(t,e,s,r){s.templateInfo&&(e._templateInfo=s.templateInfo,e._parentTemplateInfo=r)}const S=(0,o.o)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let s=t._templateInfo={};s.nodeInfoList=[],s.nestedTemplate=Boolean(e),s.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,s,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,s){return this._parseTemplateNode(t.content,e,s)}static _parseTemplateNode(t,e,s){let r=!1,o=t;return"template"!=o.localName||o.hasAttribute("preserve-content")?"slot"===o.localName&&(e.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(o,e,s)||r,function(t){(function(){if(!y){y=!0;const t=document.createElement("textarea");t.placeholder="a",v=t.placeholder===t.textContent}return v})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(o),o.firstChild&&this._parseTemplateChildNodes(o,e,s),o.hasAttributes&&o.hasAttributes()&&(r=this._parseTemplateNodeAttributes(o,e,s)||r),r||s.noted}static _parseTemplateChildNodes(t,e,s){if("script"!==t.localName&&"style"!==t.localName)for(let r,o=t.firstChild,i=0;o;o=r){if("template"==o.localName&&(o=b(o)),r=o.nextSibling,o.nodeType===Node.TEXT_NODE){let s=r;for(;s&&s.nodeType===Node.TEXT_NODE;)o.textContent+=s.textContent,r=s.nextSibling,t.removeChild(s),s=r;if(e.stripWhiteSpace&&!o.textContent.trim()){t.removeChild(o);continue}}let n={parentIndex:i,parentInfo:s};this._parseTemplateNode(o,e,n)&&(n.infoIndex=e.nodeInfoList.push(n)-1),o.parentNode&&i++}}static _parseTemplateNestedTemplate(t,e,s){let r=t,o=this._parseTemplate(r,e);return(o.content=r.content.ownerDocument.createDocumentFragment()).appendChild(r.content),s.templateInfo=o,!0}static _parseTemplateNodeAttributes(t,e,s){let r=!1,o=Array.from(t.attributes);for(let i,n=o.length-1;i=o[n];n--)r=this._parseTemplateNodeAttribute(t,e,s,i.name,i.value)||r;return r}static _parseTemplateNodeAttribute(t,e,s,r,o){return"on-"===r.slice(0,3)?(t.removeAttribute(r),s.events=s.events||[],s.events.push({name:r.slice(3),value:o}),!0):"id"===r&&(s.id=o,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let s=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,r=e.content||t.content,o=document.importNode(r,!0);o.__noInsertionPoint=!e.hasInsertionPoint;let i=o.nodeList=new Array(s.length);o.$={};for(let t,r=0,n=s.length;r<n&&(t=s[r]);r++){let s=i[r]=w(o,t);P(0,o.$,s,t),A(0,s,t,e),C(this,s,t)}return o}_addMethodEventListenerToNode(t,e,s,r){let o=function(t,e,s){return t=t._methodHost||t,function(e){t[s]?t[s](e,e.detail):console.warn("listener method `"+s+"` not defined")}}(r=r||t,0,s);return this._addEventListenerToNode(t,e,o),o}_addEventListenerToNode(t,e,s){t.addEventListener(e,s)}_removeEventListenerFromNode(t,e,s){t.removeEventListener(e,s)}}));var E=s(9387);let x=0;const T=[],O={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},N="__computeInfo",$=/[A-Z]/;function k(t,e,s){let r=t[e];if(r){if(!t.hasOwnProperty(e)&&(r=t[e]=Object.create(t[e]),s))for(let t in r){let e=r[t],s=r[t]=Array(e.length);for(let t=0;t<e.length;t++)s[t]=e[t]}}else r=t[e]={};return r}function M(t,e,s,r,o,n){if(e){let a=!1;const l=x++;for(let d in s){let c=e[o?(0,i.Jz)(d):d];if(c)for(let e,i=0,h=c.length;i<h&&(e=c[i]);i++)e.info&&e.info.lastRun===l||o&&!z(d,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,d,s,r,e.info,o,n),a=!0)}return a}return!1}function I(t,e,s,r,o,n,a,l){let d=!1,c=e[a?(0,i.Jz)(r):r];if(c)for(let e,i=0,h=c.length;i<h&&(e=c[i]);i++)e.info&&e.info.lastRun===s||a&&!z(r,e.trigger)||(e.info&&(e.info.lastRun=s),e.fn(t,r,o,n,e.info,a,l),d=!0);return d}function z(t,e){if(e){let s=e.name;return s==t||!(!e.structured||!(0,i.jg)(s,t))||!(!e.wildcard||!(0,i.SG)(s,t))}return!0}function R(t,e,s,r,o){let i="string"==typeof o.method?t[o.method]:o.method,n=o.property;i?i.call(t,t.__data[n],r[n]):o.dynamicFn||console.warn("observer method `"+o.method+"` not defined")}function L(t,e,s){let r=(0,i.Jz)(e);return r!==e&&(H(t,c(r)+"-changed",s[e],e),!0)}function H(t,e,s,o){let i={value:s,queueProperty:!0};o&&(i.path=o),(0,r.r)(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function D(t,e,s,r,o,n){let a=(n?(0,i.Jz)(e):e)!=e?e:null,l=a?(0,i.U2)(t,a):t.__data[e];a&&void 0===l&&(l=s[e]),H(t,o.eventName,l,a)}function U(t,e,s,r,o){let i=t.__data[e];E.v1&&(i=(0,E.v1)(i,o.attrName,"attribute",t)),t._propertyToAttribute(e,o.attrName,i)}const F=(t,e,s)=>{let r=0,o=e.length-1,i=-1;for(;r<=o;){const n=r+o>>1,a=s.get(e[n].methodInfo)-s.get(t.methodInfo);if(a<0)r=n+1;else{if(!(a>0)){i=n;break}o=n-1}}i<0&&(i=o+1),e.splice(i,0,t)},j=(t,e,s,r,o)=>{const n=e[o?(0,i.Jz)(t):t];if(n)for(let e=0;e<n.length;e++){const i=n[e];i.info.lastRun===x||o&&!z(t,i.trigger)||(i.info.lastRun=x,F(i.info,s,r))}};function V(t,e,s,r,o){let i=K(t,e,s,0,o);if(i===T)return!1;let n=o.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[n]?t._setPendingProperty(n,i,!0):(t[n]=i,!1)}function B(t,e,s,r,o,i,n){s.bindings=s.bindings||[];let a={kind:r,target:o,parts:i,literal:n,isCompound:1!==i.length};if(s.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||c(o)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let s=0;s<a.parts.length;s++){let r=a.parts[s];r.compoundIndex=s,Y(t,e,a,r,l)}}function Y(t,e,s,r,o){if(!r.literal)if("attribute"===s.kind&&"-"===s.target[0])console.warn("Cannot set attribute "+s.target+' because "-" is not a valid attribute starting character');else{let i=r.dependencies,n={index:o,binding:s,part:r,evaluator:t};for(let s=0;s<i.length;s++){let r=i[s];"string"==typeof r&&(r=rt(r),r.wildcard=!0),t._addTemplatePropertyEffect(e,r.rootProperty,{fn:q,info:n,trigger:r})}}}function q(t,e,s,r,o,n,a){let l=a[o.index],d=o.binding,c=o.part;if(n&&c.source&&e.length>c.source.length&&"property"==d.kind&&!d.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[d.target]){let r=s[e];e=(0,i.Iu)(c.source,d.target,e),l._setPendingPropertyOrPath(e,r,!1,!0)&&t._enqueueClient(l)}else{let i=o.evaluator._evaluateBinding(t,c,e,s,r,n);i!==T&&function(t,e,s,r,o){if(o=function(t,e,s,r){if(s.isCompound){let o=t.__dataCompoundStorage[s.target];o[r.compoundIndex]=e,e=o.join("")}return"attribute"!==s.kind&&("textContent"!==s.target&&("value"!==s.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,o,s,r),E.v1&&(o=(0,E.v1)(o,s.target,s.kind,e)),"attribute"==s.kind)t._valueToNodeAttribute(e,o,s.target);else{let r=s.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[r]?e[O.READ_ONLY]&&e[O.READ_ONLY][r]||e._setPendingProperty(r,o)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,r,o)}}(t,l,d,c,i)}}function J(t,e){if(e.isCompound){let s=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),o=e.parts,i=new Array(o.length);for(let t=0;t<o.length;t++)i[t]=o[t].literal;let n=e.target;s[n]=i,e.literal&&"property"==e.kind&&("className"===n&&(t=(0,r.r)(t)),t[n]=e.literal)}}function W(t,e,s){if(s.listenerEvent){let r=s.parts[0];t.addEventListener(s.listenerEvent,(function(t){!function(t,e,s,r,o){let n,a=t.detail,l=a&&a.path;l?(r=(0,i.Iu)(s,r,l),n=a&&a.value):n=t.currentTarget[s],n=o?!n:n,e[O.READ_ONLY]&&e[O.READ_ONLY][r]||!e._setPendingPropertyOrPath(r,n,!0,Boolean(l))||a&&a.queueProperty||e._invalidateProperties()}(t,e,s.target,r.source,r.negate)}))}}function G(t,e,s,r,o,i){i=e.static||i&&("object"!=typeof i||i[e.methodName]);let n={methodName:e.methodName,args:e.args,methodInfo:o,dynamicFn:i};for(let o,i=0;i<e.args.length&&(o=e.args[i]);i++)o.literal||t._addPropertyEffect(o.rootProperty,s,{fn:r,info:n,trigger:o});return i&&t._addPropertyEffect(e.methodName,s,{fn:r,info:n}),n}function K(t,e,s,r,o){let i=t._methodHost||t,n=i[o.methodName];if(n){let r=t._marshalArgs(o.args,e,s);return r===T?T:n.apply(i,r)}o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const Z=[],X="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Q="(?:("+X+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",tt=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+X+"\\s*(?:\\(\\s*(?:(?:"+Q+"(?:,\\s*"+Q+")*)?)\\)\\s*)?)(?:]]|}})","g");function et(t){let e="";for(let s=0;s<t.length;s++)e+=t[s].literal||"";return e}function st(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:Z};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let s=rt(t);return s.literal||(e.static=!1),s}),this),e}(e[2].replace(/\\,/g,",").split(","),t):t}return null}function rt(t){let e=t.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),s={name:e,value:"",literal:!1},r=e[0];switch("-"===r&&(r=e[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':s.value=e.slice(1,-1),s.literal=!0;break;case"#":s.value=Number(e),s.literal=!0}return s.literal||(s.rootProperty=(0,i.Jz)(e),s.structured=(0,i.AZ)(e),s.structured&&(s.wildcard=".*"==e.slice(-2),s.wildcard&&(s.name=e.slice(0,-2)))),s}function ot(t,e,s){let r=(0,i.U2)(t,s);return void 0===r&&(r=e[s]),r}function it(t,e,s,r){const o={indexSplices:r};E.HY&&!t._overrideLegacyUndefined&&(e.splices=o),t.notifyPath(s+".splices",o),t.notifyPath(s+".length",e.length),E.HY&&!t._overrideLegacyUndefined&&(o.indexSplices=[])}function nt(t,e,s,r,o,i){it(t,e,s,[{index:r,addedCount:o,removed:i,object:e,type:"splice"}])}const at=(0,o.o)((t=>{const e=S(m(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return O}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(lt.length){let t=lt[lt.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[O.READ_ONLY];for(let s in t)e&&e[s]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[s]=this.__dataPending[s]=t[s])}_addPropertyEffect(t,e,s){this._createPropertyAccessor(t,e==O.READ_ONLY);let r=k(this,e,!0)[t];r||(r=this[e][t]=[]),r.push(s)}_removePropertyEffect(t,e,s){let r=k(this,e,!0)[t],o=r.indexOf(s);o>=0&&r.splice(o,1)}_hasPropertyEffect(t,e){let s=this[e];return Boolean(s&&s[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,O.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,O.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,O.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,O.COMPUTE)}_setPendingPropertyOrPath(t,e,s,r){if(r||(0,i.Jz)(Array.isArray(t)?t[0]:t)!==t){if(!r){let s=(0,i.U2)(this,t);if(!(t=(0,i.t8)(this,t,e))||!super._shouldPropertyChange(t,e,s))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,s))return function(t,e,s){let r=t.__dataLinkedPaths;if(r){let o;for(let n in r){let a=r[n];(0,i.SG)(n,e)?(o=(0,i.Iu)(n,a,e),t._setPendingPropertyOrPath(o,s,!0,!0)):(0,i.SG)(a,e)&&(o=(0,i.Iu)(a,n,e),t._setPendingPropertyOrPath(o,s,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,s);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,s){s===t[e]&&"object"!=typeof s||("className"===e&&(t=(0,r.r)(t)),t[e]=s)}_setPendingProperty(t,e,s){let r=this.__dataHasPaths&&(0,i.AZ)(t),o=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,o[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),r?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(r||this[O.NOTIFY]&&this[O.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=s),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let s=t[e];s.__dataEnabled?s.__dataPending&&s._flushProperties():s._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let s in t)!e&&this[O.READ_ONLY]&&this[O.READ_ONLY][s]||this._setPendingPropertyOrPath(s,t[s],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,s){let r,o=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,s,r){let o=t[O.COMPUTE];if(o)if(E.ls){x++;const i=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const s=t[O.COMPUTE];let r,{counts:o,ready:i,total:n}=function(t){const e=t[N],s={},r=t[O.COMPUTE],o=[];let i=0;for(let t in e){const r=e[t];i+=s[t]=r.args.filter((t=>!t.literal)).length+(r.dynamicFn?1:0)}for(let t in r)e[t]||o.push(t);return{counts:s,ready:o,total:i}}(t);for(;r=i.shift();){e.set(r,e.size);const t=s[r];t&&t.forEach((t=>{const e=t.info.methodInfo;--n,0==--o[e]&&i.push(e)}))}if(0!==n){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),n=[];for(let t in e)j(t,o,n,i,r);let a;for(;a=n.shift();)V(t,"",e,0,a)&&j(a.methodInfo,o,n,i,r);Object.assign(s,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let i=e;for(;M(t,o,i,s,r);)Object.assign(s,t.__dataOld),Object.assign(e,t.__dataPending),i=t.__dataPending,t.__dataPending=null}}(this,e,s,o),r=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,s,o),this._flushClients(),M(this,this[O.REFLECT],e,s,o),M(this,this[O.OBSERVE],e,s,o),r&&function(t,e,s,r,o){let i,n,a=t[O.NOTIFY],l=x++;for(let n in e)e[n]&&(a&&I(t,a,l,n,s,r,o)||o&&L(t,n,s))&&(i=!0);i&&(n=t.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,r,e,s,o),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,s){this[O.PROPAGATE]&&M(this,this[O.PROPAGATE],t,e,s),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,s)}_runEffectsForTemplate(t,e,s,r){const o=(e,r)=>{M(this,t.propertyEffects,e,s,r,t.nodeList);for(let o=t.firstChild;o;o=o.nextSibling)this._runEffectsForTemplate(o,e,s,r)};t.runEffects?t.runEffects(o,e,r):o(e,r)}linkPaths(t,e){t=(0,i.Fv)(t),e=(0,i.Fv)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,i.Fv)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let s={path:""};it(this,(0,i.U2)(this,t,s),s.path,e)}get(t,e){return(0,i.U2)(e||this,t)}set(t,e,s){s?(0,i.t8)(s,t,e):this[O.READ_ONLY]&&this[O.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let s={path:""},r=(0,i.U2)(this,t,s),o=r.length,n=r.push(...e);return e.length&&nt(this,r,s.path,o,e.length,[]),n}pop(t){let e={path:""},s=(0,i.U2)(this,t,e),r=Boolean(s.length),o=s.pop();return r&&nt(this,s,e.path,s.length,0,[o]),o}splice(t,e,s,...r){let o,n={path:""},a=(0,i.U2)(this,t,n);return e<0?e=a.length-Math.floor(-e):e&&(e=Math.floor(e)),o=2===arguments.length?a.splice(e):a.splice(e,s,...r),(r.length||o.length)&&nt(this,a,n.path,e,r.length,o),o}shift(t){let e={path:""},s=(0,i.U2)(this,t,e),r=Boolean(s.length),o=s.shift();return r&&nt(this,s,e.path,0,0,[o]),o}unshift(t,...e){let s={path:""},r=(0,i.U2)(this,t,s),o=r.unshift(...e);return e.length&&nt(this,r,s.path,0,e.length,[]),o}notifyPath(t,e){let s;if(1==arguments.length){let r={path:""};e=(0,i.U2)(this,t,r),s=r.path}else s=Array.isArray(t)?(0,i.Fv)(t):t;this._setPendingPropertyOrPath(s,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var s;this._addPropertyEffect(t,O.READ_ONLY),e&&(this["_set"+(s=t,s[0].toUpperCase()+s.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,s){let r={property:t,method:e,dynamicFn:Boolean(s)};this._addPropertyEffect(t,O.OBSERVE,{fn:R,info:r,trigger:{name:t}}),s&&this._addPropertyEffect(e,O.OBSERVE,{fn:R,info:r,trigger:{name:e}})}_createMethodObserver(t,e){let s=st(t);if(!s)throw new Error("Malformed observer expression '"+t+"'");G(this,s,O.OBSERVE,K,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,O.NOTIFY,{fn:D,info:{eventName:c(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,O.REFLECT,{fn:U,info:{attrName:e}})}_createComputedProperty(t,e,s){let r=st(e);if(!r)throw new Error("Malformed computed expression '"+e+"'");const o=G(this,r,O.COMPUTE,V,t,s);k(this,N)[t]=o}_marshalArgs(t,e,s){const r=this.__data,o=[];for(let n=0,a=t.length;n<a;n++){let{name:a,structured:l,wildcard:d,value:c,literal:h}=t[n];if(!h)if(d){const t=(0,i.SG)(a,e),o=ot(r,s,t?e:a);c={path:t?e:a,value:o,base:t?(0,i.U2)(r,a):o}}else c=l?ot(r,s,a):r[a];if(E.HY&&!this._overrideLegacyUndefined&&void 0===c&&t.length>1)return T;o[n]=c}return o}static addPropertyEffect(t,e,s){this.prototype._addPropertyEffect(t,e,s)}static createPropertyObserver(t,e,s){this.prototype._createPropertyObserver(t,e,s)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,s){this.prototype._createComputedProperty(t,e,s)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let s=this.constructor._parseTemplate(t),r=this.__preBoundTemplateInfo==s;if(!r)for(let t in s.propertyEffects)this._createPropertyAccessor(t);if(e)if(s=Object.create(s),s.wasPreBound=r,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,r=e.lastChild;s.parent=e,e.lastChild=s,s.previousSibling=r,r?r.nextSibling=s:e.firstChild=s}else this.__templateInfo=s;else this.__preBoundTemplateInfo=s;return s}static _addTemplatePropertyEffect(t,e,s){(t.hostProps=t.hostProps||{})[e]=!0;let r=t.propertyEffects=t.propertyEffects||{};(r[e]=r[e]||[]).push(s)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),lt.push(this);let s=super._stampTemplate(t,e);if(lt.pop(),e.nodeList=s.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=s.firstChild;e;e=e.nextSibling)t.push(e)}return s.templateInfo=e,function(t,e){let{nodeList:s,nodeInfoList:r}=e;if(r.length)for(let e=0;e<r.length;e++){let o=r[e],i=s[e],n=o.bindings;if(n)for(let e=0;e<n.length;e++){let s=n[e];J(i,s),W(i,t,s)}i.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),s}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:s,nextSibling:o,parent:i}=e;s?s.nextSibling=o:i&&(i.firstChild=o),o?o.previousSibling=s:i&&(i.lastChild=s),e.nextSibling=e.previousSibling=null;let n=e.childNodes;for(let t=0;t<n.length;t++){let e=n[t];(0,r.r)((0,r.r)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,s,r){let o=e._parseTemplateNode.call(this,t,s,r);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,s);e&&(t.textContent=et(e)||" ",B(this,s,r,"text","textContent",e),o=!0)}return o}static _parseTemplateNodeAttribute(t,s,r,o,i){let n=this._parseBindings(i,s);if(n){let e=o,i="property";$.test(o)?i="attribute":"$"==o[o.length-1]&&(o=o.slice(0,-1),i="attribute");let a=et(n);return a&&"attribute"==i&&("class"==o&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(o)),t.setAttribute(o,a)),"attribute"==i&&"disable-upgrade$"==e&&t.setAttribute(o,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===i&&(o=d(o)),B(this,s,r,i,o,n,a),!0}return e._parseTemplateNodeAttribute.call(this,t,s,r,o,i)}static _parseTemplateNestedTemplate(t,s,r){let o=e._parseTemplateNestedTemplate.call(this,t,s,r);const i=t.parentNode,n=r.templateInfo,a="dom-if"===i.localName,l="dom-repeat"===i.localName;E.gx&&(a||l)&&(i.removeChild(t),(r=r.parentInfo).templateInfo=n,r.noted=!0,o=!1);let d=n.hostProps;if(E.ew&&a)d&&(s.hostProps=Object.assign(s.hostProps||{},d),E.gx||(r.parentInfo.noted=!0));else{let t="{";for(let e in d)B(this,s,r,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return o}static _parseBindings(t,e){let s,r=[],o=0;for(;null!==(s=tt.exec(t));){s.index>o&&r.push({literal:t.slice(o,s.index)});let i=s[1][0],n=Boolean(s[2]),a=s[3].trim(),l=!1,d="",c=-1;"{"==i&&(c=a.indexOf("::"))>0&&(d=a.substring(c+2),a=a.substring(0,c),l=!0);let h=st(a),u=[];if(h){let{args:t,methodName:s}=h;for(let e=0;e<t.length;e++){let s=t[e];s.literal||u.push(s)}let r=e.dynamicFns;(r&&r[s]||h.static)&&(u.push(s),h.dynamicFn=!0)}else u.push(a);r.push({source:a,mode:i,negate:n,customEvent:l,signature:h,dependencies:u,event:d}),o=tt.lastIndex}if(o&&o<t.length){let e=t.substring(o);e&&r.push({literal:e})}return r.length?r:null}static _evaluateBinding(t,e,s,r,o,n){let a;return a=e.signature?K(t,s,r,0,e.signature):s!=e.source?(0,i.U2)(t,e.source):n&&(0,i.AZ)(s)?(0,i.U2)(t,s):t.__data[s],e.negate&&(a=!a),a}}})),lt=[]},2224:(t,e,s)=>{s.d(e,{Wc:()=>d,YA:()=>c}),s(7894);let r=0,o=0,i=[],n=0,a=!1,l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=i.length;for(let e=0;e<t;e++){let t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),o+=t})).observe(l,{characterData:!0});const d={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},c={run:t=>(a||(a=!0,l.textContent=n++),i.push(t),r++),cancel(t){const e=t-o;if(e>=0){if(!i[e])throw new Error("invalid async handle: "+t);i[e]=null}}}},7894:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},1121:(t,e,s)=>{s.d(e,{d:()=>n}),s(7894);const r=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class o{constructor(t,e){a(t,e);const s=e.reduce(((e,s,r)=>e+i(s)+t[r+1]),t[0]);this.value=s.toString()}toString(){return this.value}}function i(t){if(t instanceof o)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const n=function(t,...e){a(t,e);const s=document.createElement("template");let n=e.reduce(((e,s,r)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof o)return i(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(s)+t[r+1]),t[0]);return r&&(n=r.createHTML(n)),s.innerHTML=n,s},a=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},1014:(t,e,s)=>{s.d(e,{o:()=>i}),s(7894);let r=0;function o(){}o.prototype.__mixinApplications,o.prototype.__mixinSet;const i=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let s=r++;return function(r){let o=r.__mixinSet;if(o&&o[s])return r;let i=e,n=i.get(r);if(!n){n=t(r),i.set(r,n);let e=Object.create(n.__mixinSet||o||null);e[s]=!0,n.__mixinSet=e}return n}}},1446:(t,e,s)=>{function r(t){return t.indexOf(".")>=0}function o(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function i(t,e){return 0===t.indexOf(e+".")}function n(t,e){return 0===e.indexOf(t+".")}function a(t,e,s){return e+s.slice(t.length)}function l(t,e){return t===e||i(t,e)||n(t,e)}function d(t){if(Array.isArray(t)){let e=[];for(let s=0;s<t.length;s++){let r=t[s].toString().split(".");for(let t=0;t<r.length;t++)e.push(r[t])}return e.join(".")}return t}function c(t){return Array.isArray(t)?d(t).split("."):t.toString().split(".")}function h(t,e,s){let r=t,o=c(e);for(let t=0;t<o.length;t++){if(!r)return;r=r[o[t]]}return s&&(s.path=o.join(".")),r}function u(t,e,s){let r=t,o=c(e),i=o[o.length-1];if(o.length>1){for(let t=0;t<o.length-1;t++)if(r=r[o[t]],!r)return;r[i]=s}else r[e]=s;return o.join(".")}s.d(e,{AZ:()=>r,Fv:()=>d,Iu:()=>a,Jz:()=>o,SG:()=>n,U2:()=>h,jg:()=>i,t8:()=>u,wB:()=>l}),s(7894)},9967:(t,e,s)=>{s.d(e,{Kk:()=>a,Rq:()=>l,iY:()=>d}),s(7894);let r,o,i=/(url\()([^)]*)(\))/g,n=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&n.test(t))return t;if("//"===t)return t;if(void 0===r){r=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",r="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),r)try{return new URL(t,e).href}catch(e){return t}return o||(o=document.implementation.createHTMLDocument("temp"),o.base=o.createElement("base"),o.head.appendChild(o.base),o.anchor=o.createElement("a"),o.body.appendChild(o.anchor)),o.base.href=e,o.anchor.href=t,o.anchor.href||t}function l(t,e){return t.replace(i,(function(t,s,r,o){return s+"'"+a(r.replace(/["']/g,""),e)+"'"+o}))}function d(t){return t.substring(0,t.lastIndexOf("/")+1)}},9387:(t,e,s)=>{s.d(e,{FV:()=>i,HY:()=>p,Hr:()=>u,XN:()=>l,ZN:()=>d,a2:()=>h,dJ:()=>g,ew:()=>v,gx:()=>y,ls:()=>_,md:()=>b,my:()=>o,nL:()=>c,sM:()=>n,v1:()=>a,xj:()=>f}),s(7894);var r=s(9967);const o=!window.ShadyDOM||!window.ShadyDOM.inUse,i=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,o&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let n=window.Polymer&&window.Polymer.rootPath||(0,r.iY)(document.baseURI||window.location.href),a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let l=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,d=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,c=window.Polymer&&window.Polymer.legacyOptimizations||!1,h=window.Polymer&&window.Polymer.legacyWarnings||!1,u=window.Polymer&&window.Polymer.syncInitialRender||!1,p=window.Polymer&&window.Polymer.legacyUndefined||!1,_=window.Polymer&&window.Polymer.orderedComputed||!1,m=!0;const f=function(t){m=t};let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1,v=window.Polymer&&window.Polymer.fastDomIf||!1,g=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let b=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},1342:(t,e,s)=>{s.d(e,{r:()=>r});const r=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t},4241:(t,e,s)=>{s.d(e,{H3:()=>T,dy:()=>x.d}),s(7894);var r=s(9387),o=s(1014),i=s(9967);let n={},a={};function l(t,e){n[t]=a[t.toLowerCase()]=e}function d(t){return n[t]||a[t.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let s=d(t);return s&&e?s.querySelector(e):s}return null}attributeChangedCallback(t,e,s,r){e!==s&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,i.Kk)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,i.iY)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(r.XN&&void 0!==d(t))throw l(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,l(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}c.prototype.modules=n,customElements.define("dom-module",c);const h="link[rel=import][type~=css]",u="include",p="shady-unscoped";function _(t){return c.import(t)}function m(t){let e=t.body?t.body:t;const s=(0,i.Rq)(e.textContent,t.baseURI),r=document.createElement("style");return r.textContent=s,r}function f(t){const e=t.trim().split(/\s+/),s=[];for(let t=0;t<e.length;t++)s.push(...y(e[t]));return s}function y(t){const e=_(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...g(e));const s=e.querySelector("template");s&&t.push(...v(s,e.assetpath)),e._styles=t}return e._styles}function v(t,e){if(!t._styles){const s=[],r=t.content.querySelectorAll("style");for(let t=0;t<r.length;t++){let o=r[t],n=o.getAttribute(u);n&&s.push(...f(n).filter((function(t,e,s){return s.indexOf(t)===e}))),e&&(o.textContent=(0,i.Rq)(o.textContent,e)),s.push(o)}t._styles=s}return t._styles}function g(t){const e=[],s=t.querySelectorAll(h);for(let t=0;t<s.length;t++){let r=s[t];if(r.import){const t=r.import,s=r.hasAttribute(p);if(s&&!t._unscopedStyle){const e=m(t);e.setAttribute(p,""),t._unscopedStyle=e}else t._style||(t._style=m(t));e.push(s?t._unscopedStyle:t._style)}}return e}var b=s(4933);const w=[];var P=s(7221);const C=(0,o.o)((t=>{const e=(0,P.e)(t);function s(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof o?e:null}function r(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const s=t.properties;s&&(e=function(t){const e={};for(let s in t){const r=t[s];e[s]="function"==typeof r?{type:r}:r}return e}(s))}t.__ownProperties=e}return t.__ownProperties}class o extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,w.push(t);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}var t;return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=s(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=r(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=s(this);this.__properties=Object.assign({},t&&t._properties,r(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return o}));var A=s(1342);const S=window.ShadyCSS&&window.ShadyCSS.cssBuild,E=(0,o.o)((t=>{const e=C((0,b.q)(t));return class extends e{static get polymerElementVersion(){return"3.5.1"}static _finalizeClass(){e._finalizeClass.call(this);const t=((s=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",s))||(s.__ownObservers=s.hasOwnProperty(JSCompiler_renameProperty("observers",s))?s.observers:null),s.__ownObservers);var s;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):r.nL||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let i in t)e=this.prototype,s=i,o=t,(r=t[i]).computed&&(r.readOnly=!0),r.computed&&(e._hasReadOnlyEffect(s)?console.warn(`Cannot redefine computed property '${s}'.`):e._createComputedProperty(s,r.computed,o)),r.readOnly&&!e._hasReadOnlyEffect(s)?e._createReadOnlyProperty(s,!r.computed):!1===r.readOnly&&e._hasReadOnlyEffect(s)&&console.warn(`Cannot make readOnly property '${s}' non-readOnly.`),r.reflectToAttribute&&!e._hasReflectEffect(s)?e._createReflectedProperty(s):!1===r.reflectToAttribute&&e._hasReflectEffect(s)&&console.warn(`Cannot make reflected property '${s}' non-reflected.`),r.notify&&!e._hasNotifyEffect(s)?e._createNotifyingProperty(s):!1===r.notify&&e._hasNotifyEffect(s)&&console.warn(`Cannot make notify property '${s}' non-notify.`),r.observer&&e._createPropertyObserver(s,r.observer,o[r.observer]),e._addPropertyToAttributeMap(s);var e,s,r,o}static createObservers(t,e){const s=this.prototype;for(let r=0;r<t.length;r++)s._createMethodObserver(t[r],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!r.XN||r.ZN)&&(e=c.import(t,"template"),r.XN&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,i.iY)(t.url);else{const t=c.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=r.sM,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let s in e){let r=e[s];"value"in r&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[s]=r)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let s=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof s.value?s.value.call(this):s.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,i.Rq)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const s=this.importPath;(function(t,e,s,o){if(!S){const r=e.content.querySelectorAll("style"),i=v(e),n=function(t){let e=_(t);return e?g(e):[]}(s),a=e.content.firstElementChild;for(let s=0;s<n.length;s++){let r=n[s];r.textContent=t._processStyleText(r.textContent,o),e.content.insertBefore(r,a)}let l=0;for(let e=0;e<i.length;e++){let s=i[e],n=r[l];n!==s?(s=s.cloneNode(!0),n.parentNode.insertBefore(s,n)):l++,s.textContent=t._processStyleText(s.textContent,o)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,s),r.md&&S&&r.FV){const s=e.content.querySelectorAll("style");if(s){let e="";Array.from(s).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,s?(0,i.Kk)(s):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=(0,A.r)(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),r.Hr&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,i.Kk)(this.importPath)),(0,i.Kk)(t,e)}static _parseTemplateContent(t,s,r){return s.dynamicFns=s.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,s,r)}static _addTemplatePropertyEffect(t,s,o){return!r.a2||s in this._properties||o.info.part.signature&&o.info.part.signature.static||o.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${s}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,s,o)}}}));var x=s(1121);const T=E(HTMLElement)},7913:(t,e,s)=>{s.d(e,{Wc:()=>d,YA:()=>h,t$:()=>c});let r=0,o=0;const i=[];let n=0,a=!1;const l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=i.length;for(let e=0;e<t;e++){const t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),o+=t})).observe(l,{characterData:!0});const d={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},c={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},h={run(t){a||(a=!0,l.textContent=n,n+=1),i.push(t);const e=r;return r+=1,e},cancel(t){const e=t-o;if(e>=0){if(!i[e])throw new Error(`invalid async handle: ${t}`);i[e]=null}}}},6155:(t,e,s)=>{s.d(e,{k:()=>r});const r=(0,s(1014).o)((t=>class extends t{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach((t=>{t.hostConnected&&t.hostConnected()}))}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach((t=>{t.hostDisconnected&&t.hostDisconnected()}))}addController(t){this.__controllers.add(t),void 0!==this.$&&this.isConnected&&t.hostConnected&&t.hostConnected()}removeController(t){this.__controllers.delete(t)}}))},6139:(t,e,s)=>{s.d(e,{Ex:()=>i,dx:()=>o});const r=new Set;class o{static debounce(t,e,s){return t instanceof o?t._cancelAsync():t=new o,t.setConfig(e,s),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,r.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),r.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}}function i(t){r.add(t)}},1914:(t,e,s)=>{s.d(e,{U:()=>n});const r=[];function o(t,e,s=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=s&&t.removeAttribute("dir")}function i(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=i();r.forEach((e=>{o(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const n=t=>class extends t{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:t=>t||"",toAttribute:t=>""===t?null:t}}}}get __isRTL(){return"rtl"===this.getAttribute("dir")}connectedCallback(){super.connectedCallback(),this.hasAttribute("dir")&&!this.__restoreSubscription||(this.__subscribe(),o(this,i(),null))}attributeChangedCallback(t,e,s){if(super.attributeChangedCallback(t,e,s),"dir"!==t)return;const n=i(),a=s===n&&-1===r.indexOf(this),l=!s&&e&&-1===r.indexOf(this),d=s!==n&&e===n;a||l?(this.__subscribe(),o(this,n,s)):d&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=r.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,s){("dir"!==s||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,s)}_attributeToProperty(t,e,s){"dir"!==t||e?super._attributeToProperty(t,e,s):this.dir=""}__subscribe(){r.includes(this)||r.push(this)}__unsubscribe(){r.includes(this)&&r.splice(r.indexOf(this),1)}}},1598:(t,e,s)=>{s.d(e,{f:()=>r});const r=(0,s(1014).o)((t=>class extends t{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}}))},3726:(t,e,s)=>{function r(t){const e=[];for(;t;){if(t.nodeType===Node.DOCUMENT_NODE){e.push(t);break}t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?t=t.assignedSlot?t.assignedSlot:t.parentNode:(e.push(t),t=t.host)}return e}function o(t){return t?new Set(t.split(" ")):new Set}function i(t){return[...t].join(" ")}function n(t,e,s){const r=o(t.getAttribute(e));r.add(s),t.setAttribute(e,i(r))}function a(t,e,s){const r=o(t.getAttribute(e));r.delete(s),0!==r.size?t.setAttribute(e,i(r)):t.removeAttribute(e)}function l(t){return t.nodeType===Node.TEXT_NODE&&""===t.textContent.trim()}s.d(e,{$2:()=>n,AD:()=>r,eC:()=>l,x_:()=>a})},1402:(t,e,s)=>{s.d(e,{S:()=>p});var r=s(9387);const o=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,i=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function n(t,e){if("function"!=typeof t)return;const s=o.exec(t.toString());if(s)try{t=new Function(s[1])}catch(t){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",t)}return t(e)}window.Vaadin=window.Vaadin||{};function a(){}void 0===window.Vaadin.developmentMode&&(window.Vaadin.developmentMode=function(){try{return!!localStorage.getItem("vaadin.developmentmode.force")||["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0&&(i?!(i&&Object.keys(i).map((t=>i[t])).filter((t=>t.productionMode)).length>0):!n((function(){return!0})))}catch(t){return!1}}());var l=s(7913),d=s(6139),c=s(1914);let h;(0,r.xj)(!1),window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations||(window.Vaadin.registrations=[]),window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={}),window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){!function(t,e){if(window.Vaadin.developmentMode)n(t,e)}(a)};const u=new Set,p=t=>class extends((0,c.U)(t)){static get version(){return"24.0.4"}static finalize(){super.finalize();const{is:t}=this;t&&!u.has(t)&&(window.Vaadin.registrations.push(this),u.add(t),window.Vaadin.developmentModeCallback&&(h=d.dx.debounce(h,l.t$,(()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()})),(0,d.Ex)(h)))}constructor(){super(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}}},2527:(t,e,s)=>{s.d(e,{W:()=>i});var r=s(1014),o=s(4530);const i=(0,r.o)((t=>class extends t{get _keyboardActive(){return(0,o.LQ)()}ready(){this.addEventListener("focusin",(t=>{this._shouldSetFocus(t)&&this._setFocused(!0)})),this.addEventListener("focusout",(t=>{this._shouldRemoveFocus(t)&&this._setFocused(!1)})),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(t){this.toggleAttribute("focused",t),this.toggleAttribute("focus-ring",t&&this._keyboardActive)}_shouldSetFocus(t){return!0}_shouldRemoveFocus(t){return!0}}))},4530:(t,e,s)=>{s.d(e,{GO:()=>d,LQ:()=>o,Qw:()=>a});let r=!1;function o(){return r}function i(t,e){const s=Math.max(t.tabIndex,0),r=Math.max(e.tabIndex,0);return 0===s||0===r?r>s:s>r}function n(t){const e=t.length;if(e<2)return t;const s=Math.ceil(e/2);return function(t,e){const s=[];for(;t.length>0&&e.length>0;)i(t[0],e[0])?s.push(e.shift()):s.push(t.shift());return s.concat(t,e)}(n(t.slice(0,s)),n(t.slice(s)))}function a(t){return t.getRootNode().activeElement===t}function l(t,e){if(t.nodeType!==Node.ELEMENT_NODE||function(t){const e=t.style;if("hidden"===e.visibility||"none"===e.display)return!0;const s=window.getComputedStyle(t);return"hidden"===s.visibility||"none"===s.display}(t))return!1;const s=t,r=function(t){if(!function(t){return!t.matches('[tabindex="-1"]')&&(t.matches("input, select, textarea, button, object")?t.matches(":not([disabled])"):t.matches("a[href], area[href], iframe, [tabindex], [contentEditable]"))}(t))return-1;const e=t.getAttribute("tabindex")||0;return Number(e)}(s);let o=r>0;r>=0&&e.push(s);let i=[];return i="slot"===s.localName?s.assignedNodes({flatten:!0}):(s.shadowRoot||s).children,[...i].forEach((t=>{o=l(t,e)||o})),o}function d(t){const e=[];return l(t,e)?n(e):e}window.addEventListener("keydown",(()=>{r=!0}),{capture:!0}),window.addEventListener("mousedown",(()=>{r=!1}),{capture:!0})},602:(t,e,s)=>{s.d(e,{L:()=>r});const r=(0,s(1014).o)((t=>class extends t{ready(){super.ready(),this.addEventListener("keydown",(t=>{this._onKeyDown(t)})),this.addEventListener("keyup",(t=>{this._onKeyUp(t)}))}_onKeyDown(t){switch(t.key){case"Enter":this._onEnter(t);break;case"Escape":this._onEscape(t)}}_onKeyUp(t){}_onEnter(t){}_onEscape(t){}}))},4271:(t,e,s)=>{function r(t,e,s){return{index:t,removed:e,addedCount:s}}s.d(e,{n:()=>c}),s(7894);function o(t,e){return t===e}var i=s(2224),n=s(1342);function a(t){return"slot"===t.localName}var l=s(3726),d=s(3971);class c extends EventTarget{static generateId(t,e){return`${e||"default"}-${t.localName}-${(0,d.l)()}`}constructor(t,e,s,r={}){super();const{initializer:o,multiple:i,observe:n,useUniqueId:a}=r;this.host=t,this.slotName=e,this.tagName=s,this.observe="boolean"!=typeof n||n,this.multiple="boolean"==typeof i&&i,this.slotInitializer=o,i&&(this.nodes=[]),a&&(this.defaultId=this.constructor.generateId(t,e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(0===t.length){const t=this.attachDefaultNode();this.nodes=[t],this.initNode(t)}else this.nodes=t,t.forEach((t=>{this.initAddedNode(t)}))}attachDefaultNode(){const{host:t,slotName:e,tagName:s}=this;let r=this.defaultNode;return!r&&s&&(r=document.createElement(s),r instanceof Element&&(""!==e&&r.setAttribute("slot",e),this.node=r,this.defaultNode=r)),r&&t.appendChild(r),r}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter((e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&""===t))}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=""===t?"slot:not([name])":`slot[name=${t}]`,s=this.host.shadowRoot.querySelector(e);this.__slotObserver=new class{static getFlattenedNodes(t){const e=(0,n.r)(t);return a(t)?e.assignedNodes({flatten:!0}):Array.from(e.childNodes).map((t=>a(t)?(0,n.r)(t).assignedNodes({flatten:!0}):[t])).reduce(((t,e)=>t.concat(e)),[])}constructor(t,e){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=t,this.callback=e,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){a(this._target)?this._listenSlots([this._target]):(0,n.r)(this._target).children&&(this._listenSlots((0,n.r)(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,(t=>{this._processMutations(t)})):(this._nativeChildrenObserver=new MutationObserver((t=>{this._processMutations(t)})),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){a(this._target)?this._unlistenSlots([this._target]):(0,n.r)(this._target).children&&(this._unlistenSlots((0,n.r)(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,i.YA.run((()=>this.flush())))}_processMutations(t){this._processSlotMutations(t),this.flush()}_processSlotMutations(t){if(t)for(let e=0;e<t.length;e++){let s=t[e];s.addedNodes&&this._listenSlots(s.addedNodes),s.removedNodes&&this._unlistenSlots(s.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let t={target:this._target,addedNodes:[],removedNodes:[]},e=this.constructor.getFlattenedNodes(this._target),s=(i=e,n=this._effectiveNodes,function(t,e,s,i,n,a){let l,d=0,c=0,h=Math.min(s-e,a-n);if(0==e&&0==n&&(d=function(t,e,s){for(let r=0;r<s;r++)if(!o(t[r],e[r]))return r;return s}(t,i,h)),s==t.length&&a==i.length&&(c=function(t,e,s){let r=t.length,i=e.length,n=0;for(;n<s&&o(t[--r],e[--i]);)n++;return n}(t,i,h-d)),n+=d,a-=c,(s-=c)-(e+=d)==0&&a-n==0)return[];if(e==s){for(l=r(e,[],0);n<a;)l.removed.push(i[n++]);return[l]}if(n==a)return[r(e,[],s-e)];let u=function(t){let e=t.length-1,s=t[0].length-1,r=t[e][s],o=[];for(;e>0||s>0;){if(0==e){o.push(2),s--;continue}if(0==s){o.push(3),e--;continue}let i,n=t[e-1][s-1],a=t[e-1][s],l=t[e][s-1];i=a<l?a<n?a:n:l<n?l:n,i==n?(n==r?o.push(0):(o.push(1),r=n),e--,s--):i==a?(o.push(3),e--,r=a):(o.push(2),s--,r=l)}return o.reverse(),o}(function(t,e,s,r,i,n){let a=n-i+1,l=s-e+1,d=new Array(a);for(let t=0;t<a;t++)d[t]=new Array(l),d[t][0]=t;for(let t=0;t<l;t++)d[0][t]=t;for(let s=1;s<a;s++)for(let n=1;n<l;n++)if(o(t[e+n-1],r[i+s-1]))d[s][n]=d[s-1][n-1];else{let t=d[s-1][n]+1,e=d[s][n-1]+1;d[s][n]=t<e?t:e}return d}(t,e,s,i,n,a));l=void 0;let p=[],_=e,m=n;for(let t=0;t<u.length;t++)switch(u[t]){case 0:l&&(p.push(l),l=void 0),_++,m++;break;case 1:l||(l=r(_,[],0)),l.addedCount++,_++,l.removed.push(i[m]),m++;break;case 2:l||(l=r(_,[],0)),l.addedCount++,_++;break;case 3:l||(l=r(_,[],0)),l.removed.push(i[m]),m++}return l&&p.push(l),p}(i,0,i.length,n,0,n.length));var i,n;for(let e,r=0;r<s.length&&(e=s[r]);r++)for(let s,r=0;r<e.removed.length&&(s=e.removed[r]);r++)t.removedNodes.push(s);for(let r,o=0;o<s.length&&(r=s[o]);o++)for(let s=r.index;s<r.index+r.addedCount;s++)t.addedNodes.push(e[s]);this._effectiveNodes=e;let a=!1;return(t.addedNodes.length||t.removedNodes.length)&&(a=!0,this.callback.call(this._target,t)),a}_listenSlots(t){for(let e=0;e<t.length;e++){let s=t[e];a(s)&&s.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(t){for(let e=0;e<t.length;e++){let s=t[e];a(s)&&s.removeEventListener("slotchange",this._boundSchedule)}}}(s,(t=>{const e=this.multiple?this.nodes:[this.node],s=t.addedNodes.filter((t=>!(0,l.eC)(t)&&!e.includes(t)));t.removedNodes.length&&t.removedNodes.forEach((t=>{this.teardownNode(t)})),s&&s.length>0&&(e.forEach((t=>{t&&t.isConnected&&t.parentNode.removeChild(t)})),this.multiple?(this.nodes=s,s.forEach((t=>{this.initAddedNode(t)}))):(this.node=s[0],this.initAddedNode(this.node)))}))}}},4062:(t,e,s)=>{s.d(e,{N:()=>o});var r=s(1598);const o=t=>class extends((0,r.f)(t)){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(t,e){super._disabledChanged(t,e),t?(void 0!==this.tabindex&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):e&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(t){this.disabled&&-1!==t&&(this._lastTabIndex=t,this.tabindex=-1)}}},4463:(t,e,s)=>{s.d(e,{f:()=>o});var r=s(4271);class o extends r.n{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,void 0!==this.context&&(t.context=this.context),void 0!==this.manual&&(t.manual=this.manual),void 0!==this.opened&&(t.opened=this.opened),void 0!==this.position&&(t._position=this.position),void 0!==this.shouldShow&&(t.shouldShow=this.shouldShow)}setContext(t){this.context=t;const e=this.node;e&&(e.context=t)}setManual(t){this.manual=t;const e=this.node;e&&(e.manual=t)}setOpened(t){this.opened=t;const e=this.node;e&&(e.opened=t)}setPosition(t){this.position=t;const e=this.node;e&&(e._position=t)}setShouldShow(t){this.shouldShow=t;const e=this.node;e&&(e.shouldShow=t)}setTarget(t){this.target=t;const e=this.node;e&&(e.target=t)}}},3971:(t,e,s)=>{s.d(e,{l:()=>o});let r=0;function o(){return r++}},1195:(t,e,s)=>{s(4407);var r=s(5128);const o=r.iv`
|
2
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[840],{7221:(t,e,s)=>{s.d(e,{e:()=>a}),s(7894);var o=s(1014),r=s(2224),i=s(1342);const n=r.YA,a=(0,o.o)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let s in t)s in e||e._createPropertyAccessor(s)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,s){let o=this.__data[t],r=this._shouldPropertyChange(t,e,o);return r&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=o),this.__data[t]=e,this.__dataPending[t]=e),r}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,n.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,s=this.__dataOld;this._shouldPropertiesChange(t,e,s)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,s)),this.__dataCounter--}_shouldPropertiesChange(t,e,s){return Boolean(e)}_propertiesChanged(t,e,s){}_shouldPropertyChange(t,e,s){return s!==e&&(s==s||e==e)}attributeChangedCallback(t,e,s,o){e!==s&&this._attributeToProperty(t,s),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,s,o)}_attributeToProperty(t,e,s){if(!this.__serializing){const o=this.__dataAttributes,r=o&&o[t]||t;this[r]=this._deserializeValue(e,s||this.constructor.typeForProperty(r))}}_propertyToAttribute(t,e,s){this.__serializing=!0,s=arguments.length<3?this[t]:s,this._valueToNodeAttribute(this,s,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,s){const o=this._serializeValue(e);"class"!==s&&"name"!==s&&"slot"!==s||(t=(0,i.r)(t)),void 0===o?t.removeAttribute(s):t.setAttribute(s,""===o&&window.trustedTypes?window.trustedTypes.emptyScript:o)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}}))},4933:(t,e,s)=>{s.d(e,{q:()=>at}),s(7894);var o=s(1342),r=s(1014),i=s(1446);const n={},a=/-[a-z]/g,l=/([A-Z])/g;function d(t){return n[t]||(n[t]=t.indexOf("-")<0?t:t.replace(a,(t=>t[1].toUpperCase())))}function c(t){return n[t]||(n[t]=t.replace(l,"-$1").toLowerCase())}var h=s(7221);const u={};let p=HTMLElement.prototype;for(;p;){let t=Object.getOwnPropertyNames(p);for(let e=0;e<t.length;e++)u[t[e]]=!0;p=Object.getPrototypeOf(p)}const _=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1,m=(0,r.o)((t=>{const e=(0,h.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(d(t[e]))}static attributeNameForProperty(t){return c(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){this.hasAttribute(t)||this._valueToNodeAttribute(this,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(_(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let s;switch(e){case Object:try{s=JSON.parse(t)}catch(e){s=t}break;case Array:try{s=JSON.parse(t)}catch(e){s=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:s=isNaN(t)?String(t):Number(t),s=new Date(s);break;default:s=super._deserializeValue(t,e)}return s}_definePropertyAccessor(t,e){!function(t,e){if(!u[e]){let s=t[e];void 0!==s&&(t.__data?t._setPendingProperty(e,s):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=s))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),f={"dom-if":!0,"dom-repeat":!0};let y=!1,v=!1;const g=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,s,o)=>{const r=s.getAttribute(o);t&&o.startsWith("on-")?e.setAttribute(o,t.createScript(r,o)):e.setAttribute(o,r)}})();function b(t){let e=t.getAttribute("is");if(e&&f[e]){let s=t;for(s.removeAttribute("is"),t=s.ownerDocument.createElement(e),s.parentNode.replaceChild(t,s),t.appendChild(s);s.attributes.length;){const{name:e}=s.attributes[0];g(t,s,e),s.removeAttribute(e)}}return t}function w(t,e){let s=e.parentInfo&&w(t,e.parentInfo);if(!s)return t;for(let t=s.firstChild,o=0;t;t=t.nextSibling)if(e.parentIndex===o++)return t}function P(t,e,s,o){o.id&&(e[o.id]=s)}function C(t,e,s){if(s.events&&s.events.length)for(let o,r=0,i=s.events;r<i.length&&(o=i[r]);r++)t._addMethodEventListenerToNode(e,o.name,o.value,t)}function A(t,e,s,o){s.templateInfo&&(e._templateInfo=s.templateInfo,e._parentTemplateInfo=o)}const S=(0,r.o)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let s=t._templateInfo={};s.nodeInfoList=[],s.nestedTemplate=Boolean(e),s.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,s,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,s){return this._parseTemplateNode(t.content,e,s)}static _parseTemplateNode(t,e,s){let o=!1,r=t;return"template"!=r.localName||r.hasAttribute("preserve-content")?"slot"===r.localName&&(e.hasInsertionPoint=!0):o=this._parseTemplateNestedTemplate(r,e,s)||o,function(t){(function(){if(!y){y=!0;const t=document.createElement("textarea");t.placeholder="a",v=t.placeholder===t.textContent}return v})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(r),r.firstChild&&this._parseTemplateChildNodes(r,e,s),r.hasAttributes&&r.hasAttributes()&&(o=this._parseTemplateNodeAttributes(r,e,s)||o),o||s.noted}static _parseTemplateChildNodes(t,e,s){if("script"!==t.localName&&"style"!==t.localName)for(let o,r=t.firstChild,i=0;r;r=o){if("template"==r.localName&&(r=b(r)),o=r.nextSibling,r.nodeType===Node.TEXT_NODE){let s=o;for(;s&&s.nodeType===Node.TEXT_NODE;)r.textContent+=s.textContent,o=s.nextSibling,t.removeChild(s),s=o;if(e.stripWhiteSpace&&!r.textContent.trim()){t.removeChild(r);continue}}let n={parentIndex:i,parentInfo:s};this._parseTemplateNode(r,e,n)&&(n.infoIndex=e.nodeInfoList.push(n)-1),r.parentNode&&i++}}static _parseTemplateNestedTemplate(t,e,s){let o=t,r=this._parseTemplate(o,e);return(r.content=o.content.ownerDocument.createDocumentFragment()).appendChild(o.content),s.templateInfo=r,!0}static _parseTemplateNodeAttributes(t,e,s){let o=!1,r=Array.from(t.attributes);for(let i,n=r.length-1;i=r[n];n--)o=this._parseTemplateNodeAttribute(t,e,s,i.name,i.value)||o;return o}static _parseTemplateNodeAttribute(t,e,s,o,r){return"on-"===o.slice(0,3)?(t.removeAttribute(o),s.events=s.events||[],s.events.push({name:o.slice(3),value:r}),!0):"id"===o&&(s.id=r,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let s=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,o=e.content||t.content,r=document.importNode(o,!0);r.__noInsertionPoint=!e.hasInsertionPoint;let i=r.nodeList=new Array(s.length);r.$={};for(let t,o=0,n=s.length;o<n&&(t=s[o]);o++){let s=i[o]=w(r,t);P(0,r.$,s,t),A(0,s,t,e),C(this,s,t)}return r}_addMethodEventListenerToNode(t,e,s,o){let r=function(t,e,s){return t=t._methodHost||t,function(e){t[s]?t[s](e,e.detail):console.warn("listener method `"+s+"` not defined")}}(o=o||t,0,s);return this._addEventListenerToNode(t,e,r),r}_addEventListenerToNode(t,e,s){t.addEventListener(e,s)}_removeEventListenerFromNode(t,e,s){t.removeEventListener(e,s)}}));var E=s(9387);let x=0;const T=[],N={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},O="__computeInfo",$=/[A-Z]/;function k(t,e,s){let o=t[e];if(o){if(!t.hasOwnProperty(e)&&(o=t[e]=Object.create(t[e]),s))for(let t in o){let e=o[t],s=o[t]=Array(e.length);for(let t=0;t<e.length;t++)s[t]=e[t]}}else o=t[e]={};return o}function M(t,e,s,o,r,n){if(e){let a=!1;const l=x++;for(let d in s){let c=e[r?(0,i.Jz)(d):d];if(c)for(let e,i=0,h=c.length;i<h&&(e=c[i]);i++)e.info&&e.info.lastRun===l||r&&!z(d,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,d,s,o,e.info,r,n),a=!0)}return a}return!1}function I(t,e,s,o,r,n,a,l){let d=!1,c=e[a?(0,i.Jz)(o):o];if(c)for(let e,i=0,h=c.length;i<h&&(e=c[i]);i++)e.info&&e.info.lastRun===s||a&&!z(o,e.trigger)||(e.info&&(e.info.lastRun=s),e.fn(t,o,r,n,e.info,a,l),d=!0);return d}function z(t,e){if(e){let s=e.name;return s==t||!(!e.structured||!(0,i.jg)(s,t))||!(!e.wildcard||!(0,i.SG)(s,t))}return!0}function R(t,e,s,o,r){let i="string"==typeof r.method?t[r.method]:r.method,n=r.property;i?i.call(t,t.__data[n],o[n]):r.dynamicFn||console.warn("observer method `"+r.method+"` not defined")}function L(t,e,s){let o=(0,i.Jz)(e);return o!==e&&(H(t,c(o)+"-changed",s[e],e),!0)}function H(t,e,s,r){let i={value:s,queueProperty:!0};r&&(i.path=r),(0,o.r)(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function D(t,e,s,o,r,n){let a=(n?(0,i.Jz)(e):e)!=e?e:null,l=a?(0,i.U2)(t,a):t.__data[e];a&&void 0===l&&(l=s[e]),H(t,r.eventName,l,a)}function U(t,e,s,o,r){let i=t.__data[e];E.v1&&(i=(0,E.v1)(i,r.attrName,"attribute",t)),t._propertyToAttribute(e,r.attrName,i)}const F=(t,e,s)=>{let o=0,r=e.length-1,i=-1;for(;o<=r;){const n=o+r>>1,a=s.get(e[n].methodInfo)-s.get(t.methodInfo);if(a<0)o=n+1;else{if(!(a>0)){i=n;break}r=n-1}}i<0&&(i=r+1),e.splice(i,0,t)},j=(t,e,s,o,r)=>{const n=e[r?(0,i.Jz)(t):t];if(n)for(let e=0;e<n.length;e++){const i=n[e];i.info.lastRun===x||r&&!z(t,i.trigger)||(i.info.lastRun=x,F(i.info,s,o))}};function B(t,e,s,o,r){let i=K(t,e,s,0,r);if(i===T)return!1;let n=r.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[n]?t._setPendingProperty(n,i,!0):(t[n]=i,!1)}function V(t,e,s,o,r,i,n){s.bindings=s.bindings||[];let a={kind:o,target:r,parts:i,literal:n,isCompound:1!==i.length};if(s.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||c(r)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let s=0;s<a.parts.length;s++){let o=a.parts[s];o.compoundIndex=s,Y(t,e,a,o,l)}}function Y(t,e,s,o,r){if(!o.literal)if("attribute"===s.kind&&"-"===s.target[0])console.warn("Cannot set attribute "+s.target+' because "-" is not a valid attribute starting character');else{let i=o.dependencies,n={index:r,binding:s,part:o,evaluator:t};for(let s=0;s<i.length;s++){let o=i[s];"string"==typeof o&&(o=ot(o),o.wildcard=!0),t._addTemplatePropertyEffect(e,o.rootProperty,{fn:q,info:n,trigger:o})}}}function q(t,e,s,o,r,n,a){let l=a[r.index],d=r.binding,c=r.part;if(n&&c.source&&e.length>c.source.length&&"property"==d.kind&&!d.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[d.target]){let o=s[e];e=(0,i.Iu)(c.source,d.target,e),l._setPendingPropertyOrPath(e,o,!1,!0)&&t._enqueueClient(l)}else{let i=r.evaluator._evaluateBinding(t,c,e,s,o,n);i!==T&&function(t,e,s,o,r){if(r=function(t,e,s,o){if(s.isCompound){let r=t.__dataCompoundStorage[s.target];r[o.compoundIndex]=e,e=r.join("")}return"attribute"!==s.kind&&("textContent"!==s.target&&("value"!==s.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,r,s,o),E.v1&&(r=(0,E.v1)(r,s.target,s.kind,e)),"attribute"==s.kind)t._valueToNodeAttribute(e,r,s.target);else{let o=s.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[o]?e[N.READ_ONLY]&&e[N.READ_ONLY][o]||e._setPendingProperty(o,r)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,o,r)}}(t,l,d,c,i)}}function J(t,e){if(e.isCompound){let s=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),r=e.parts,i=new Array(r.length);for(let t=0;t<r.length;t++)i[t]=r[t].literal;let n=e.target;s[n]=i,e.literal&&"property"==e.kind&&("className"===n&&(t=(0,o.r)(t)),t[n]=e.literal)}}function W(t,e,s){if(s.listenerEvent){let o=s.parts[0];t.addEventListener(s.listenerEvent,(function(t){!function(t,e,s,o,r){let n,a=t.detail,l=a&&a.path;l?(o=(0,i.Iu)(s,o,l),n=a&&a.value):n=t.currentTarget[s],n=r?!n:n,e[N.READ_ONLY]&&e[N.READ_ONLY][o]||!e._setPendingPropertyOrPath(o,n,!0,Boolean(l))||a&&a.queueProperty||e._invalidateProperties()}(t,e,s.target,o.source,o.negate)}))}}function G(t,e,s,o,r,i){i=e.static||i&&("object"!=typeof i||i[e.methodName]);let n={methodName:e.methodName,args:e.args,methodInfo:r,dynamicFn:i};for(let r,i=0;i<e.args.length&&(r=e.args[i]);i++)r.literal||t._addPropertyEffect(r.rootProperty,s,{fn:o,info:n,trigger:r});return i&&t._addPropertyEffect(e.methodName,s,{fn:o,info:n}),n}function K(t,e,s,o,r){let i=t._methodHost||t,n=i[r.methodName];if(n){let o=t._marshalArgs(r.args,e,s);return o===T?T:n.apply(i,o)}r.dynamicFn||console.warn("method `"+r.methodName+"` not defined")}const Z=[],X="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Q="(?:("+X+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",tt=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+X+"\\s*(?:\\(\\s*(?:(?:"+Q+"(?:,\\s*"+Q+")*)?)\\)\\s*)?)(?:]]|}})","g");function et(t){let e="";for(let s=0;s<t.length;s++)e+=t[s].literal||"";return e}function st(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:Z};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let s=ot(t);return s.literal||(e.static=!1),s}),this),e}(e[2].replace(/\\,/g,",").split(","),t):t}return null}function ot(t){let e=t.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),s={name:e,value:"",literal:!1},o=e[0];switch("-"===o&&(o=e[1]),o>="0"&&o<="9"&&(o="#"),o){case"'":case'"':s.value=e.slice(1,-1),s.literal=!0;break;case"#":s.value=Number(e),s.literal=!0}return s.literal||(s.rootProperty=(0,i.Jz)(e),s.structured=(0,i.AZ)(e),s.structured&&(s.wildcard=".*"==e.slice(-2),s.wildcard&&(s.name=e.slice(0,-2)))),s}function rt(t,e,s){let o=(0,i.U2)(t,s);return void 0===o&&(o=e[s]),o}function it(t,e,s,o){const r={indexSplices:o};E.HY&&!t._overrideLegacyUndefined&&(e.splices=r),t.notifyPath(s+".splices",r),t.notifyPath(s+".length",e.length),E.HY&&!t._overrideLegacyUndefined&&(r.indexSplices=[])}function nt(t,e,s,o,r,i){it(t,e,s,[{index:o,addedCount:r,removed:i,object:e,type:"splice"}])}const at=(0,r.o)((t=>{const e=S(m(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return N}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(lt.length){let t=lt[lt.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[N.READ_ONLY];for(let s in t)e&&e[s]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[s]=this.__dataPending[s]=t[s])}_addPropertyEffect(t,e,s){this._createPropertyAccessor(t,e==N.READ_ONLY);let o=k(this,e,!0)[t];o||(o=this[e][t]=[]),o.push(s)}_removePropertyEffect(t,e,s){let o=k(this,e,!0)[t],r=o.indexOf(s);r>=0&&o.splice(r,1)}_hasPropertyEffect(t,e){let s=this[e];return Boolean(s&&s[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,N.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,N.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,N.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,N.COMPUTE)}_setPendingPropertyOrPath(t,e,s,o){if(o||(0,i.Jz)(Array.isArray(t)?t[0]:t)!==t){if(!o){let s=(0,i.U2)(this,t);if(!(t=(0,i.t8)(this,t,e))||!super._shouldPropertyChange(t,e,s))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,s))return function(t,e,s){let o=t.__dataLinkedPaths;if(o){let r;for(let n in o){let a=o[n];(0,i.SG)(n,e)?(r=(0,i.Iu)(n,a,e),t._setPendingPropertyOrPath(r,s,!0,!0)):(0,i.SG)(a,e)&&(r=(0,i.Iu)(a,n,e),t._setPendingPropertyOrPath(r,s,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,s);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,s){s===t[e]&&"object"!=typeof s||("className"===e&&(t=(0,o.r)(t)),t[e]=s)}_setPendingProperty(t,e,s){let o=this.__dataHasPaths&&(0,i.AZ)(t),r=o?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,r[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),o?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(o||this[N.NOTIFY]&&this[N.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=s),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let s=t[e];s.__dataEnabled?s.__dataPending&&s._flushProperties():s._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let s in t)!e&&this[N.READ_ONLY]&&this[N.READ_ONLY][s]||this._setPendingPropertyOrPath(s,t[s],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,s){let o,r=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,s,o){let r=t[N.COMPUTE];if(r)if(E.ls){x++;const i=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const s=t[N.COMPUTE];let o,{counts:r,ready:i,total:n}=function(t){const e=t[O],s={},o=t[N.COMPUTE],r=[];let i=0;for(let t in e){const o=e[t];i+=s[t]=o.args.filter((t=>!t.literal)).length+(o.dynamicFn?1:0)}for(let t in o)e[t]||r.push(t);return{counts:s,ready:r,total:i}}(t);for(;o=i.shift();){e.set(o,e.size);const t=s[o];t&&t.forEach((t=>{const e=t.info.methodInfo;--n,0==--r[e]&&i.push(e)}))}if(0!==n){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),n=[];for(let t in e)j(t,r,n,i,o);let a;for(;a=n.shift();)B(t,"",e,0,a)&&j(a.methodInfo,r,n,i,o);Object.assign(s,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let i=e;for(;M(t,r,i,s,o);)Object.assign(s,t.__dataOld),Object.assign(e,t.__dataPending),i=t.__dataPending,t.__dataPending=null}}(this,e,s,r),o=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,s,r),this._flushClients(),M(this,this[N.REFLECT],e,s,r),M(this,this[N.OBSERVE],e,s,r),o&&function(t,e,s,o,r){let i,n,a=t[N.NOTIFY],l=x++;for(let n in e)e[n]&&(a&&I(t,a,l,n,s,o,r)||r&&L(t,n,s))&&(i=!0);i&&(n=t.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,o,e,s,r),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,s){this[N.PROPAGATE]&&M(this,this[N.PROPAGATE],t,e,s),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,s)}_runEffectsForTemplate(t,e,s,o){const r=(e,o)=>{M(this,t.propertyEffects,e,s,o,t.nodeList);for(let r=t.firstChild;r;r=r.nextSibling)this._runEffectsForTemplate(r,e,s,o)};t.runEffects?t.runEffects(r,e,o):r(e,o)}linkPaths(t,e){t=(0,i.Fv)(t),e=(0,i.Fv)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,i.Fv)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let s={path:""};it(this,(0,i.U2)(this,t,s),s.path,e)}get(t,e){return(0,i.U2)(e||this,t)}set(t,e,s){s?(0,i.t8)(s,t,e):this[N.READ_ONLY]&&this[N.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let s={path:""},o=(0,i.U2)(this,t,s),r=o.length,n=o.push(...e);return e.length&&nt(this,o,s.path,r,e.length,[]),n}pop(t){let e={path:""},s=(0,i.U2)(this,t,e),o=Boolean(s.length),r=s.pop();return o&&nt(this,s,e.path,s.length,0,[r]),r}splice(t,e,s,...o){let r,n={path:""},a=(0,i.U2)(this,t,n);return e<0?e=a.length-Math.floor(-e):e&&(e=Math.floor(e)),r=2===arguments.length?a.splice(e):a.splice(e,s,...o),(o.length||r.length)&&nt(this,a,n.path,e,o.length,r),r}shift(t){let e={path:""},s=(0,i.U2)(this,t,e),o=Boolean(s.length),r=s.shift();return o&&nt(this,s,e.path,0,0,[r]),r}unshift(t,...e){let s={path:""},o=(0,i.U2)(this,t,s),r=o.unshift(...e);return e.length&&nt(this,o,s.path,0,e.length,[]),r}notifyPath(t,e){let s;if(1==arguments.length){let o={path:""};e=(0,i.U2)(this,t,o),s=o.path}else s=Array.isArray(t)?(0,i.Fv)(t):t;this._setPendingPropertyOrPath(s,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var s;this._addPropertyEffect(t,N.READ_ONLY),e&&(this["_set"+(s=t,s[0].toUpperCase()+s.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,s){let o={property:t,method:e,dynamicFn:Boolean(s)};this._addPropertyEffect(t,N.OBSERVE,{fn:R,info:o,trigger:{name:t}}),s&&this._addPropertyEffect(e,N.OBSERVE,{fn:R,info:o,trigger:{name:e}})}_createMethodObserver(t,e){let s=st(t);if(!s)throw new Error("Malformed observer expression '"+t+"'");G(this,s,N.OBSERVE,K,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,N.NOTIFY,{fn:D,info:{eventName:c(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,N.REFLECT,{fn:U,info:{attrName:e}})}_createComputedProperty(t,e,s){let o=st(e);if(!o)throw new Error("Malformed computed expression '"+e+"'");const r=G(this,o,N.COMPUTE,B,t,s);k(this,O)[t]=r}_marshalArgs(t,e,s){const o=this.__data,r=[];for(let n=0,a=t.length;n<a;n++){let{name:a,structured:l,wildcard:d,value:c,literal:h}=t[n];if(!h)if(d){const t=(0,i.SG)(a,e),r=rt(o,s,t?e:a);c={path:t?e:a,value:r,base:t?(0,i.U2)(o,a):r}}else c=l?rt(o,s,a):o[a];if(E.HY&&!this._overrideLegacyUndefined&&void 0===c&&t.length>1)return T;r[n]=c}return r}static addPropertyEffect(t,e,s){this.prototype._addPropertyEffect(t,e,s)}static createPropertyObserver(t,e,s){this.prototype._createPropertyObserver(t,e,s)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,s){this.prototype._createComputedProperty(t,e,s)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let s=this.constructor._parseTemplate(t),o=this.__preBoundTemplateInfo==s;if(!o)for(let t in s.propertyEffects)this._createPropertyAccessor(t);if(e)if(s=Object.create(s),s.wasPreBound=o,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,o=e.lastChild;s.parent=e,e.lastChild=s,s.previousSibling=o,o?o.nextSibling=s:e.firstChild=s}else this.__templateInfo=s;else this.__preBoundTemplateInfo=s;return s}static _addTemplatePropertyEffect(t,e,s){(t.hostProps=t.hostProps||{})[e]=!0;let o=t.propertyEffects=t.propertyEffects||{};(o[e]=o[e]||[]).push(s)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),lt.push(this);let s=super._stampTemplate(t,e);if(lt.pop(),e.nodeList=s.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=s.firstChild;e;e=e.nextSibling)t.push(e)}return s.templateInfo=e,function(t,e){let{nodeList:s,nodeInfoList:o}=e;if(o.length)for(let e=0;e<o.length;e++){let r=o[e],i=s[e],n=r.bindings;if(n)for(let e=0;e<n.length;e++){let s=n[e];J(i,s),W(i,t,s)}i.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),s}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:s,nextSibling:r,parent:i}=e;s?s.nextSibling=r:i&&(i.firstChild=r),r?r.previousSibling=s:i&&(i.lastChild=s),e.nextSibling=e.previousSibling=null;let n=e.childNodes;for(let t=0;t<n.length;t++){let e=n[t];(0,o.r)((0,o.r)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,s,o){let r=e._parseTemplateNode.call(this,t,s,o);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,s);e&&(t.textContent=et(e)||" ",V(this,s,o,"text","textContent",e),r=!0)}return r}static _parseTemplateNodeAttribute(t,s,o,r,i){let n=this._parseBindings(i,s);if(n){let e=r,i="property";$.test(r)?i="attribute":"$"==r[r.length-1]&&(r=r.slice(0,-1),i="attribute");let a=et(n);return a&&"attribute"==i&&("class"==r&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(r)),t.setAttribute(r,a)),"attribute"==i&&"disable-upgrade$"==e&&t.setAttribute(r,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===i&&(r=d(r)),V(this,s,o,i,r,n,a),!0}return e._parseTemplateNodeAttribute.call(this,t,s,o,r,i)}static _parseTemplateNestedTemplate(t,s,o){let r=e._parseTemplateNestedTemplate.call(this,t,s,o);const i=t.parentNode,n=o.templateInfo,a="dom-if"===i.localName,l="dom-repeat"===i.localName;E.gx&&(a||l)&&(i.removeChild(t),(o=o.parentInfo).templateInfo=n,o.noted=!0,r=!1);let d=n.hostProps;if(E.ew&&a)d&&(s.hostProps=Object.assign(s.hostProps||{},d),E.gx||(o.parentInfo.noted=!0));else{let t="{";for(let e in d)V(this,s,o,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return r}static _parseBindings(t,e){let s,o=[],r=0;for(;null!==(s=tt.exec(t));){s.index>r&&o.push({literal:t.slice(r,s.index)});let i=s[1][0],n=Boolean(s[2]),a=s[3].trim(),l=!1,d="",c=-1;"{"==i&&(c=a.indexOf("::"))>0&&(d=a.substring(c+2),a=a.substring(0,c),l=!0);let h=st(a),u=[];if(h){let{args:t,methodName:s}=h;for(let e=0;e<t.length;e++){let s=t[e];s.literal||u.push(s)}let o=e.dynamicFns;(o&&o[s]||h.static)&&(u.push(s),h.dynamicFn=!0)}else u.push(a);o.push({source:a,mode:i,negate:n,customEvent:l,signature:h,dependencies:u,event:d}),r=tt.lastIndex}if(r&&r<t.length){let e=t.substring(r);e&&o.push({literal:e})}return o.length?o:null}static _evaluateBinding(t,e,s,o,r,n){let a;return a=e.signature?K(t,s,o,0,e.signature):s!=e.source?(0,i.U2)(t,e.source):n&&(0,i.AZ)(s)?(0,i.U2)(t,s):t.__data[s],e.negate&&(a=!a),a}}})),lt=[]},2224:(t,e,s)=>{s.d(e,{Wc:()=>d,YA:()=>c}),s(7894);let o=0,r=0,i=[],n=0,a=!1,l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=i.length;for(let e=0;e<t;e++){let t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),r+=t})).observe(l,{characterData:!0});const d={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},c={run:t=>(a||(a=!0,l.textContent=n++),i.push(t),o++),cancel(t){const e=t-r;if(e>=0){if(!i[e])throw new Error("invalid async handle: "+t);i[e]=null}}}},7894:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},1121:(t,e,s)=>{s.d(e,{d:()=>n}),s(7894);const o=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class r{constructor(t,e){a(t,e);const s=e.reduce(((e,s,o)=>e+i(s)+t[o+1]),t[0]);this.value=s.toString()}toString(){return this.value}}function i(t){if(t instanceof r)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const n=function(t,...e){a(t,e);const s=document.createElement("template");let n=e.reduce(((e,s,o)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof r)return i(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(s)+t[o+1]),t[0]);return o&&(n=o.createHTML(n)),s.innerHTML=n,s},a=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},1014:(t,e,s)=>{s.d(e,{o:()=>i}),s(7894);let o=0;function r(){}r.prototype.__mixinApplications,r.prototype.__mixinSet;const i=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let s=o++;return function(o){let r=o.__mixinSet;if(r&&r[s])return o;let i=e,n=i.get(o);if(!n){n=t(o),i.set(o,n);let e=Object.create(n.__mixinSet||r||null);e[s]=!0,n.__mixinSet=e}return n}}},1446:(t,e,s)=>{function o(t){return t.indexOf(".")>=0}function r(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function i(t,e){return 0===t.indexOf(e+".")}function n(t,e){return 0===e.indexOf(t+".")}function a(t,e,s){return e+s.slice(t.length)}function l(t,e){return t===e||i(t,e)||n(t,e)}function d(t){if(Array.isArray(t)){let e=[];for(let s=0;s<t.length;s++){let o=t[s].toString().split(".");for(let t=0;t<o.length;t++)e.push(o[t])}return e.join(".")}return t}function c(t){return Array.isArray(t)?d(t).split("."):t.toString().split(".")}function h(t,e,s){let o=t,r=c(e);for(let t=0;t<r.length;t++){if(!o)return;o=o[r[t]]}return s&&(s.path=r.join(".")),o}function u(t,e,s){let o=t,r=c(e),i=r[r.length-1];if(r.length>1){for(let t=0;t<r.length-1;t++)if(o=o[r[t]],!o)return;o[i]=s}else o[e]=s;return r.join(".")}s.d(e,{AZ:()=>o,Fv:()=>d,Iu:()=>a,Jz:()=>r,SG:()=>n,U2:()=>h,jg:()=>i,t8:()=>u,wB:()=>l}),s(7894)},9967:(t,e,s)=>{s.d(e,{Kk:()=>a,Rq:()=>l,iY:()=>d}),s(7894);let o,r,i=/(url\()([^)]*)(\))/g,n=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&n.test(t))return t;if("//"===t)return t;if(void 0===o){o=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",o="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),o)try{return new URL(t,e).href}catch(e){return t}return r||(r=document.implementation.createHTMLDocument("temp"),r.base=r.createElement("base"),r.head.appendChild(r.base),r.anchor=r.createElement("a"),r.body.appendChild(r.anchor)),r.base.href=e,r.anchor.href=t,r.anchor.href||t}function l(t,e){return t.replace(i,(function(t,s,o,r){return s+"'"+a(o.replace(/["']/g,""),e)+"'"+r}))}function d(t){return t.substring(0,t.lastIndexOf("/")+1)}},9387:(t,e,s)=>{s.d(e,{FV:()=>i,HY:()=>p,Hr:()=>u,XN:()=>l,ZN:()=>d,a2:()=>h,dJ:()=>g,ew:()=>v,gx:()=>y,ls:()=>_,md:()=>b,my:()=>r,nL:()=>c,sM:()=>n,v1:()=>a,xj:()=>f}),s(7894);var o=s(9967);const r=!window.ShadyDOM||!window.ShadyDOM.inUse,i=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,r&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let n=window.Polymer&&window.Polymer.rootPath||(0,o.iY)(document.baseURI||window.location.href),a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let l=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,d=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,c=window.Polymer&&window.Polymer.legacyOptimizations||!1,h=window.Polymer&&window.Polymer.legacyWarnings||!1,u=window.Polymer&&window.Polymer.syncInitialRender||!1,p=window.Polymer&&window.Polymer.legacyUndefined||!1,_=window.Polymer&&window.Polymer.orderedComputed||!1,m=!0;const f=function(t){m=t};let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1,v=window.Polymer&&window.Polymer.fastDomIf||!1,g=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let b=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},1342:(t,e,s)=>{s.d(e,{r:()=>o});const o=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t},4241:(t,e,s)=>{s.d(e,{H3:()=>T,dy:()=>x.d}),s(7894);var o=s(9387),r=s(1014),i=s(9967);let n={},a={};function l(t,e){n[t]=a[t.toLowerCase()]=e}function d(t){return n[t]||a[t.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let s=d(t);return s&&e?s.querySelector(e):s}return null}attributeChangedCallback(t,e,s,o){e!==s&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,i.Kk)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,i.iY)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(o.XN&&void 0!==d(t))throw l(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,l(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}c.prototype.modules=n,customElements.define("dom-module",c);const h="link[rel=import][type~=css]",u="include",p="shady-unscoped";function _(t){return c.import(t)}function m(t){let e=t.body?t.body:t;const s=(0,i.Rq)(e.textContent,t.baseURI),o=document.createElement("style");return o.textContent=s,o}function f(t){const e=t.trim().split(/\s+/),s=[];for(let t=0;t<e.length;t++)s.push(...y(e[t]));return s}function y(t){const e=_(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...g(e));const s=e.querySelector("template");s&&t.push(...v(s,e.assetpath)),e._styles=t}return e._styles}function v(t,e){if(!t._styles){const s=[],o=t.content.querySelectorAll("style");for(let t=0;t<o.length;t++){let r=o[t],n=r.getAttribute(u);n&&s.push(...f(n).filter((function(t,e,s){return s.indexOf(t)===e}))),e&&(r.textContent=(0,i.Rq)(r.textContent,e)),s.push(r)}t._styles=s}return t._styles}function g(t){const e=[],s=t.querySelectorAll(h);for(let t=0;t<s.length;t++){let o=s[t];if(o.import){const t=o.import,s=o.hasAttribute(p);if(s&&!t._unscopedStyle){const e=m(t);e.setAttribute(p,""),t._unscopedStyle=e}else t._style||(t._style=m(t));e.push(s?t._unscopedStyle:t._style)}}return e}var b=s(4933);const w=[];var P=s(7221);const C=(0,r.o)((t=>{const e=(0,P.e)(t);function s(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof r?e:null}function o(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const s=t.properties;s&&(e=function(t){const e={};for(let s in t){const o=t[s];e[s]="function"==typeof o?{type:o}:o}return e}(s))}t.__ownProperties=e}return t.__ownProperties}class r extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,w.push(t);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}var t;return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=s(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=o(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=s(this);this.__properties=Object.assign({},t&&t._properties,o(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return r}));var A=s(1342);const S=window.ShadyCSS&&window.ShadyCSS.cssBuild,E=(0,r.o)((t=>{const e=C((0,b.q)(t));return class extends e{static get polymerElementVersion(){return"3.5.1"}static _finalizeClass(){e._finalizeClass.call(this);const t=((s=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",s))||(s.__ownObservers=s.hasOwnProperty(JSCompiler_renameProperty("observers",s))?s.observers:null),s.__ownObservers);var s;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):o.nL||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let i in t)e=this.prototype,s=i,r=t,(o=t[i]).computed&&(o.readOnly=!0),o.computed&&(e._hasReadOnlyEffect(s)?console.warn(`Cannot redefine computed property '${s}'.`):e._createComputedProperty(s,o.computed,r)),o.readOnly&&!e._hasReadOnlyEffect(s)?e._createReadOnlyProperty(s,!o.computed):!1===o.readOnly&&e._hasReadOnlyEffect(s)&&console.warn(`Cannot make readOnly property '${s}' non-readOnly.`),o.reflectToAttribute&&!e._hasReflectEffect(s)?e._createReflectedProperty(s):!1===o.reflectToAttribute&&e._hasReflectEffect(s)&&console.warn(`Cannot make reflected property '${s}' non-reflected.`),o.notify&&!e._hasNotifyEffect(s)?e._createNotifyingProperty(s):!1===o.notify&&e._hasNotifyEffect(s)&&console.warn(`Cannot make notify property '${s}' non-notify.`),o.observer&&e._createPropertyObserver(s,o.observer,r[o.observer]),e._addPropertyToAttributeMap(s);var e,s,o,r}static createObservers(t,e){const s=this.prototype;for(let o=0;o<t.length;o++)s._createMethodObserver(t[o],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!o.XN||o.ZN)&&(e=c.import(t,"template"),o.XN&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,i.iY)(t.url);else{const t=c.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=o.sM,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let s in e){let o=e[s];"value"in o&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[s]=o)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let s=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof s.value?s.value.call(this):s.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,i.Rq)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const s=this.importPath;(function(t,e,s,r){if(!S){const o=e.content.querySelectorAll("style"),i=v(e),n=function(t){let e=_(t);return e?g(e):[]}(s),a=e.content.firstElementChild;for(let s=0;s<n.length;s++){let o=n[s];o.textContent=t._processStyleText(o.textContent,r),e.content.insertBefore(o,a)}let l=0;for(let e=0;e<i.length;e++){let s=i[e],n=o[l];n!==s?(s=s.cloneNode(!0),n.parentNode.insertBefore(s,n)):l++,s.textContent=t._processStyleText(s.textContent,r)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,s),o.md&&S&&o.FV){const s=e.content.querySelectorAll("style");if(s){let e="";Array.from(s).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,s?(0,i.Kk)(s):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=(0,A.r)(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),o.Hr&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,i.Kk)(this.importPath)),(0,i.Kk)(t,e)}static _parseTemplateContent(t,s,o){return s.dynamicFns=s.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,s,o)}static _addTemplatePropertyEffect(t,s,r){return!o.a2||s in this._properties||r.info.part.signature&&r.info.part.signature.static||r.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${s}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,s,r)}}}));var x=s(1121);const T=E(HTMLElement)},7913:(t,e,s)=>{s.d(e,{Wc:()=>d,YA:()=>u,rs:()=>c,t$:()=>h});let o=0,r=0;const i=[];let n=0,a=!1;const l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=i.length;for(let e=0;e<t;e++){const t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),r+=t})).observe(l,{characterData:!0});const d={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},c={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},h={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},u={run(t){a||(a=!0,l.textContent=n,n+=1),i.push(t);const e=o;return o+=1,e},cancel(t){const e=t-r;if(e>=0){if(!i[e])throw new Error(`invalid async handle: ${t}`);i[e]=null}}}},6155:(t,e,s)=>{s.d(e,{k:()=>o});const o=(0,s(1014).o)((t=>class extends t{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach((t=>{t.hostConnected&&t.hostConnected()}))}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach((t=>{t.hostDisconnected&&t.hostDisconnected()}))}addController(t){this.__controllers.add(t),void 0!==this.$&&this.isConnected&&t.hostConnected&&t.hostConnected()}removeController(t){this.__controllers.delete(t)}}))},6139:(t,e,s)=>{s.d(e,{Ex:()=>i,dx:()=>r,yl:()=>a});const o=new Set;class r{static debounce(t,e,s){return t instanceof r?t._cancelAsync():t=new r,t.setConfig(e,s),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,o.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),o.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}}function i(t){o.add(t)}function n(){const t=Boolean(o.size);return o.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t}const a=()=>{let t;do{t=n()}while(t)}},1914:(t,e,s)=>{s.d(e,{U:()=>n});const o=[];function r(t,e,s=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=s&&t.removeAttribute("dir")}function i(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=i();o.forEach((e=>{r(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const n=t=>class extends t{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:t=>t||"",toAttribute:t=>""===t?null:t}}}}get __isRTL(){return"rtl"===this.getAttribute("dir")}connectedCallback(){super.connectedCallback(),this.hasAttribute("dir")&&!this.__restoreSubscription||(this.__subscribe(),r(this,i(),null))}attributeChangedCallback(t,e,s){if(super.attributeChangedCallback(t,e,s),"dir"!==t)return;const n=i(),a=s===n&&-1===o.indexOf(this),l=!s&&e&&-1===o.indexOf(this),d=s!==n&&e===n;a||l?(this.__subscribe(),r(this,n,s)):d&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=o.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,s){("dir"!==s||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,s)}_attributeToProperty(t,e,s){"dir"!==t||e?super._attributeToProperty(t,e,s):this.dir=""}__subscribe(){o.includes(this)||o.push(this)}__unsubscribe(){o.includes(this)&&o.splice(o.indexOf(this),1)}}},1598:(t,e,s)=>{s.d(e,{f:()=>o});const o=(0,s(1014).o)((t=>class extends t{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}}))},3726:(t,e,s)=>{function o(t){const e=[];for(;t;){if(t.nodeType===Node.DOCUMENT_NODE){e.push(t);break}t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?t=t.assignedSlot?t.assignedSlot:t.parentNode:(e.push(t),t=t.host)}return e}function r(t){return t?new Set(t.split(" ")):new Set}function i(t){return[...t].join(" ")}function n(t,e,s){const o=r(t.getAttribute(e));o.add(s),t.setAttribute(e,i(o))}function a(t,e,s){const o=r(t.getAttribute(e));o.delete(s),0!==o.size?t.setAttribute(e,i(o)):t.removeAttribute(e)}function l(t){return t.nodeType===Node.TEXT_NODE&&""===t.textContent.trim()}s.d(e,{$2:()=>n,AD:()=>o,eC:()=>l,x_:()=>a})},1402:(t,e,s)=>{s.d(e,{S:()=>p});var o=s(9387);const r=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,i=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function n(t,e){if("function"!=typeof t)return;const s=r.exec(t.toString());if(s)try{t=new Function(s[1])}catch(t){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",t)}return t(e)}window.Vaadin=window.Vaadin||{};function a(){}void 0===window.Vaadin.developmentMode&&(window.Vaadin.developmentMode=function(){try{return!!localStorage.getItem("vaadin.developmentmode.force")||["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0&&(i?!(i&&Object.keys(i).map((t=>i[t])).filter((t=>t.productionMode)).length>0):!n((function(){return!0})))}catch(t){return!1}}());var l=s(7913),d=s(6139),c=s(1914);let h;(0,o.xj)(!1),window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations||(window.Vaadin.registrations=[]),window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={}),window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){!function(t,e){if(window.Vaadin.developmentMode)n(t,e)}(a)};const u=new Set,p=t=>class extends((0,c.U)(t)){static get version(){return"24.0.11"}static finalize(){super.finalize();const{is:t}=this;t&&!u.has(t)&&(window.Vaadin.registrations.push(this),u.add(t),window.Vaadin.developmentModeCallback&&(h=d.dx.debounce(h,l.t$,(()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()})),(0,d.Ex)(h)))}constructor(){super(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}}},2527:(t,e,s)=>{s.d(e,{W:()=>i});var o=s(1014),r=s(4530);const i=(0,o.o)((t=>class extends t{get _keyboardActive(){return(0,r.LQ)()}ready(){this.addEventListener("focusin",(t=>{this._shouldSetFocus(t)&&this._setFocused(!0)})),this.addEventListener("focusout",(t=>{this._shouldRemoveFocus(t)&&this._setFocused(!1)})),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(t){this.toggleAttribute("focused",t),this.toggleAttribute("focus-ring",t&&this._keyboardActive)}_shouldSetFocus(t){return!0}_shouldRemoveFocus(t){return!0}}))},4530:(t,e,s)=>{s.d(e,{GO:()=>d,LQ:()=>r,Qw:()=>a});let o=!1;function r(){return o}function i(t,e){const s=Math.max(t.tabIndex,0),o=Math.max(e.tabIndex,0);return 0===s||0===o?o>s:s>o}function n(t){const e=t.length;if(e<2)return t;const s=Math.ceil(e/2);return function(t,e){const s=[];for(;t.length>0&&e.length>0;)i(t[0],e[0])?s.push(e.shift()):s.push(t.shift());return s.concat(t,e)}(n(t.slice(0,s)),n(t.slice(s)))}function a(t){return t.getRootNode().activeElement===t}function l(t,e){if(t.nodeType!==Node.ELEMENT_NODE||function(t){const e=t.style;if("hidden"===e.visibility||"none"===e.display)return!0;const s=window.getComputedStyle(t);return"hidden"===s.visibility||"none"===s.display}(t))return!1;const s=t,o=function(t){if(!function(t){return!t.matches('[tabindex="-1"]')&&(t.matches("input, select, textarea, button, object")?t.matches(":not([disabled])"):t.matches("a[href], area[href], iframe, [tabindex], [contentEditable]"))}(t))return-1;const e=t.getAttribute("tabindex")||0;return Number(e)}(s);let r=o>0;o>=0&&e.push(s);let i=[];return i="slot"===s.localName?s.assignedNodes({flatten:!0}):(s.shadowRoot||s).children,[...i].forEach((t=>{r=l(t,e)||r})),r}function d(t){const e=[];return l(t,e)?n(e):e}window.addEventListener("keydown",(()=>{o=!0}),{capture:!0}),window.addEventListener("mousedown",(()=>{o=!1}),{capture:!0})},602:(t,e,s)=>{s.d(e,{L:()=>o});const o=(0,s(1014).o)((t=>class extends t{ready(){super.ready(),this.addEventListener("keydown",(t=>{this._onKeyDown(t)})),this.addEventListener("keyup",(t=>{this._onKeyUp(t)}))}_onKeyDown(t){switch(t.key){case"Enter":this._onEnter(t);break;case"Escape":this._onEscape(t)}}_onKeyUp(t){}_onEnter(t){}_onEscape(t){}}))},4271:(t,e,s)=>{function o(t,e,s){return{index:t,removed:e,addedCount:s}}s.d(e,{n:()=>c}),s(7894);function r(t,e){return t===e}var i=s(2224),n=s(1342);function a(t){return"slot"===t.localName}var l=s(3726),d=s(3971);class c extends EventTarget{static generateId(t,e){return`${e||"default"}-${t.localName}-${(0,d.l)()}`}constructor(t,e,s,o={}){super();const{initializer:r,multiple:i,observe:n,useUniqueId:a}=o;this.host=t,this.slotName=e,this.tagName=s,this.observe="boolean"!=typeof n||n,this.multiple="boolean"==typeof i&&i,this.slotInitializer=r,i&&(this.nodes=[]),a&&(this.defaultId=this.constructor.generateId(t,e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(0===t.length){const t=this.attachDefaultNode();this.nodes=[t],this.initNode(t)}else this.nodes=t,t.forEach((t=>{this.initAddedNode(t)}))}attachDefaultNode(){const{host:t,slotName:e,tagName:s}=this;let o=this.defaultNode;return!o&&s&&(o=document.createElement(s),o instanceof Element&&(""!==e&&o.setAttribute("slot",e),this.node=o,this.defaultNode=o)),o&&t.appendChild(o),o}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter((e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&""===t))}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=""===t?"slot:not([name])":`slot[name=${t}]`,s=this.host.shadowRoot.querySelector(e);this.__slotObserver=new class{static getFlattenedNodes(t){const e=(0,n.r)(t);return a(t)?e.assignedNodes({flatten:!0}):Array.from(e.childNodes).map((t=>a(t)?(0,n.r)(t).assignedNodes({flatten:!0}):[t])).reduce(((t,e)=>t.concat(e)),[])}constructor(t,e){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=t,this.callback=e,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){a(this._target)?this._listenSlots([this._target]):(0,n.r)(this._target).children&&(this._listenSlots((0,n.r)(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,(t=>{this._processMutations(t)})):(this._nativeChildrenObserver=new MutationObserver((t=>{this._processMutations(t)})),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){a(this._target)?this._unlistenSlots([this._target]):(0,n.r)(this._target).children&&(this._unlistenSlots((0,n.r)(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,i.YA.run((()=>this.flush())))}_processMutations(t){this._processSlotMutations(t),this.flush()}_processSlotMutations(t){if(t)for(let e=0;e<t.length;e++){let s=t[e];s.addedNodes&&this._listenSlots(s.addedNodes),s.removedNodes&&this._unlistenSlots(s.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let t={target:this._target,addedNodes:[],removedNodes:[]},e=this.constructor.getFlattenedNodes(this._target),s=(i=e,n=this._effectiveNodes,function(t,e,s,i,n,a){let l,d=0,c=0,h=Math.min(s-e,a-n);if(0==e&&0==n&&(d=function(t,e,s){for(let o=0;o<s;o++)if(!r(t[o],e[o]))return o;return s}(t,i,h)),s==t.length&&a==i.length&&(c=function(t,e,s){let o=t.length,i=e.length,n=0;for(;n<s&&r(t[--o],e[--i]);)n++;return n}(t,i,h-d)),n+=d,a-=c,(s-=c)-(e+=d)==0&&a-n==0)return[];if(e==s){for(l=o(e,[],0);n<a;)l.removed.push(i[n++]);return[l]}if(n==a)return[o(e,[],s-e)];let u=function(t){let e=t.length-1,s=t[0].length-1,o=t[e][s],r=[];for(;e>0||s>0;){if(0==e){r.push(2),s--;continue}if(0==s){r.push(3),e--;continue}let i,n=t[e-1][s-1],a=t[e-1][s],l=t[e][s-1];i=a<l?a<n?a:n:l<n?l:n,i==n?(n==o?r.push(0):(r.push(1),o=n),e--,s--):i==a?(r.push(3),e--,o=a):(r.push(2),s--,o=l)}return r.reverse(),r}(function(t,e,s,o,i,n){let a=n-i+1,l=s-e+1,d=new Array(a);for(let t=0;t<a;t++)d[t]=new Array(l),d[t][0]=t;for(let t=0;t<l;t++)d[0][t]=t;for(let s=1;s<a;s++)for(let n=1;n<l;n++)if(r(t[e+n-1],o[i+s-1]))d[s][n]=d[s-1][n-1];else{let t=d[s-1][n]+1,e=d[s][n-1]+1;d[s][n]=t<e?t:e}return d}(t,e,s,i,n,a));l=void 0;let p=[],_=e,m=n;for(let t=0;t<u.length;t++)switch(u[t]){case 0:l&&(p.push(l),l=void 0),_++,m++;break;case 1:l||(l=o(_,[],0)),l.addedCount++,_++,l.removed.push(i[m]),m++;break;case 2:l||(l=o(_,[],0)),l.addedCount++,_++;break;case 3:l||(l=o(_,[],0)),l.removed.push(i[m]),m++}return l&&p.push(l),p}(i,0,i.length,n,0,n.length));var i,n;for(let e,o=0;o<s.length&&(e=s[o]);o++)for(let s,o=0;o<e.removed.length&&(s=e.removed[o]);o++)t.removedNodes.push(s);for(let o,r=0;r<s.length&&(o=s[r]);r++)for(let s=o.index;s<o.index+o.addedCount;s++)t.addedNodes.push(e[s]);this._effectiveNodes=e;let a=!1;return(t.addedNodes.length||t.removedNodes.length)&&(a=!0,this.callback.call(this._target,t)),a}_listenSlots(t){for(let e=0;e<t.length;e++){let s=t[e];a(s)&&s.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(t){for(let e=0;e<t.length;e++){let s=t[e];a(s)&&s.removeEventListener("slotchange",this._boundSchedule)}}}(s,(t=>{const e=this.multiple?this.nodes:[this.node],s=t.addedNodes.filter((t=>!(0,l.eC)(t)&&!e.includes(t)));t.removedNodes.length&&t.removedNodes.forEach((t=>{this.teardownNode(t)})),s&&s.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...e,...s].filter((t=>t!==this.defaultNode)),s.forEach((t=>{this.initAddedNode(t)}))):(this.node&&this.node.remove(),this.node=s[0],this.initAddedNode(this.node)))}))}}},4062:(t,e,s)=>{s.d(e,{N:()=>r});var o=s(1598);const r=t=>class extends((0,o.f)(t)){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(t,e){super._disabledChanged(t,e),t?(void 0!==this.tabindex&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):e&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(t){this.disabled&&-1!==t&&(this._lastTabIndex=t,this.tabindex=-1)}}},4463:(t,e,s)=>{s.d(e,{f:()=>r});var o=s(4271);class r extends o.n{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,void 0!==this.context&&(t.context=this.context),void 0!==this.manual&&(t.manual=this.manual),void 0!==this.opened&&(t.opened=this.opened),void 0!==this.position&&(t._position=this.position),void 0!==this.shouldShow&&(t.shouldShow=this.shouldShow)}setContext(t){this.context=t;const e=this.node;e&&(e.context=t)}setManual(t){this.manual=t;const e=this.node;e&&(e.manual=t)}setOpened(t){this.opened=t;const e=this.node;e&&(e.opened=t)}setPosition(t){this.position=t;const e=this.node;e&&(e._position=t)}setShouldShow(t){this.shouldShow=t;const e=this.node;e&&(e.shouldShow=t)}setTarget(t){this.target=t;const e=this.node;e&&(e.target=t)}}},3971:(t,e,s)=>{s.d(e,{l:()=>r});let o=0;function r(){return o++}},1195:(t,e,s)=>{s(4407);var o=s(5128);const r=o.iv`
|
3
3
|
:host {
|
4
4
|
/* Base (background) */
|
5
5
|
--lumo-base-color: #fff;
|
@@ -71,7 +71,7 @@
|
|
71
71
|
--lumo-success-text-color: hsl(145, 85%, 25%);
|
72
72
|
--lumo-success-contrast-color: #fff;
|
73
73
|
}
|
74
|
-
`,i=document.createElement("template");i.innerHTML=`<style>${
|
74
|
+
`,i=document.createElement("template");i.innerHTML=`<style>${r.toString().replace(":host","html")}</style>`,document.head.appendChild(i.content);const n=o.iv`
|
75
75
|
[theme~='dark'] {
|
76
76
|
/* Base (background) */
|
77
77
|
--lumo-base-color: hsl(214, 35%, 21%);
|
@@ -180,7 +180,7 @@
|
|
180
180
|
background-color: var(--lumo-contrast-10pct);
|
181
181
|
border-radius: var(--lumo-border-radius-m);
|
182
182
|
}
|
183
|
-
`;(0,
|
183
|
+
`;(0,o.hC)("",n,{moduleId:"lumo-color"})},9098:(t,e,s)=>{s(4407);const o=s(5128).iv`
|
184
184
|
:host {
|
185
185
|
--lumo-size-xs: 1.625rem;
|
186
186
|
--lumo-size-s: 1.875rem;
|
@@ -195,7 +195,7 @@
|
|
195
195
|
/* For backwards compatibility */
|
196
196
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
197
197
|
}
|
198
|
-
`,
|
198
|
+
`,r=document.createElement("template");r.innerHTML=`<style>${o.toString().replace(":host","html")}</style>`,document.head.appendChild(r.content)},9416:(t,e,s)=>{s(4407);const o=s(5128).iv`
|
199
199
|
:host {
|
200
200
|
/* Square */
|
201
201
|
--lumo-space-xs: 0.25rem;
|
@@ -218,7 +218,7 @@
|
|
218
218
|
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
219
219
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
220
220
|
}
|
221
|
-
`,
|
221
|
+
`,r=document.createElement("template");r.innerHTML=`<style>${o.toString().replace(":host","html")}</style>`,document.head.appendChild(r.content)},9849:(t,e,s)=>{s(4407);var o=s(5128);const r=o.iv`
|
222
222
|
:host {
|
223
223
|
/* Border radius */
|
224
224
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
@@ -235,13 +235,13 @@
|
|
235
235
|
/* Clickable element cursor */
|
236
236
|
--lumo-clickable-cursor: default;
|
237
237
|
}
|
238
|
-
`,i=(
|
238
|
+
`,i=(o.iv`
|
239
239
|
html {
|
240
240
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
241
241
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
242
242
|
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
243
243
|
}
|
244
|
-
`,document.createElement("template"));i.innerHTML=`<style>${
|
244
|
+
`,document.createElement("template"));i.innerHTML=`<style>${r.toString().replace(":host","html")}$</style>`,document.head.appendChild(i.content)},4173:(t,e,s)=>{s(4407);var o=s(5128);const r=o.iv`
|
245
245
|
:host {
|
246
246
|
/* prettier-ignore */
|
247
247
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
@@ -261,7 +261,7 @@
|
|
261
261
|
--lumo-line-height-s: 1.375;
|
262
262
|
--lumo-line-height-m: 1.625;
|
263
263
|
}
|
264
|
-
`,i=
|
264
|
+
`,i=o.iv`
|
265
265
|
body,
|
266
266
|
:host {
|
267
267
|
font-family: var(--lumo-font-family);
|
@@ -353,4 +353,4 @@
|
|
353
353
|
border-left: none;
|
354
354
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
355
355
|
}
|
356
|
-
`;(0,r.hC)("",i,{moduleId:"lumo-typography"});const n=document.createElement("template");n.innerHTML=`<style>${o.toString().replace(":host","html")}</style>`,document.head.appendChild(n.content)},4407:(t,e,s)=>{class r extends HTMLElement{static get version(){return"24.0.4"}}customElements.define("vaadin-lumo-styles",r)},5128:(t,e,s)=>{s.d(e,{Tb:()=>u,iv:()=>r.iv,hC:()=>a});var r=s(9897);const o=t=>class extends t{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(t,e,s){super.attributeChangedCallback(t,e,s),"theme"===t&&this._set_theme(s)}},i=[];function n(t){return t&&Object.prototype.hasOwnProperty.call(t,"__themes")}function a(t,e,s={}){var o;t&&(o=t,n(customElements.get(o))&&console.warn(`The custom element definition for "${t}"\n was finalized before a style module was registered.\n Make sure to add component specific style modules before\n importing the corresponding custom element.`)),e=function(t=[]){return[t].flat(1/0).filter((t=>t instanceof r.c3||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(e),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(t,e,s):i.push({themeFor:t,styles:e,include:s.include,moduleId:s.moduleId})}function l(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():i}function d(t=""){let e=0;return t.startsWith("lumo-")||t.startsWith("material-")?e=1:t.startsWith("vaadin-")&&(e=2),e}function c(t){const e=[];return t.include&&[].concat(t.include).forEach((t=>{const s=l().find((e=>e.moduleId===t));s?e.push(...c(s),...s.styles):console.warn(`Included moduleId ${t} not found in style registry`)}),t.styles),e}function h(t){const e=`${t}-default-theme`,s=l().filter((s=>s.moduleId!==e&&function(t,e){return(t||"").split(" ").some((t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(e)))}(s.themeFor,t))).map((t=>({...t,styles:[...c(t),...t.styles],includePriority:d(t.moduleId)}))).sort(((t,e)=>e.includePriority-t.includePriority));return s.length>0?s:l().filter((t=>t.moduleId===e))}const u=t=>class extends(o(t)){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;t&&!n(this)&&function(t,e){const s=document.createElement("style");s.innerHTML=t.map((t=>t.cssText)).join("\n"),e.content.appendChild(s)}(this.getStylesForThis(),t)}static finalizeStyles(t){const e=this.getStylesForThis();return t?[...super.finalizeStyles(t),...e]:e}static getStylesForThis(){const t=Object.getPrototypeOf(this.prototype),e=(t?t.constructor.__themes:[])||[];this.__themes=[...e,...h(this.is)];const s=this.__themes.flatMap((t=>t.styles));return s.filter(((t,e)=>e===s.lastIndexOf(t)))}}},9897:(t,e,s)=>{s.d(e,{c3:()=>a,iv:()=>l});const r=window,o=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const s=1===t.length?t[0]:e.reduce(((e,s,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[r+1]),t[0]);return new a(s,t,i)},d=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,i))(e)})(t):t;var c;const h=window,u=h.trustedTypes,p=u?u.emptyScript:"",_=h.reactiveElementPolyfillSupport,m={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 s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},f=(t,e)=>e!==t&&(e==e||t==t),y={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:f};class v extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,s)=>{const r=this._$Ep(s,e);void 0!==r&&(this._$Ev.set(r,s),t.push(r))})),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 s="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,s,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(r){const o=this[t];this[e]=r,this.requestUpdate(t,o,s)},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(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of e)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Ep(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,s;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.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)=>{o?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const s=document.createElement("style"),o=r.litNonce;void 0!==o&&s.setAttribute("nonce",o),s.textContent=e.cssText,t.appendChild(s)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||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._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e,s=y){var r;const o=this.constructor._$Ep(t,s);if(void 0!==o&&!0===s.reflect){const i=(void 0!==(null===(r=s.converter)||void 0===r?void 0:r.toAttribute)?s.converter:m).toAttribute(e,s.type);this._$El=t,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$El=null}}_$AK(t,e){var s;const r=this.constructor,o=r._$Ev.get(t);if(void 0!==o&&this._$El!==o){const t=r.getPropertyOptions(o),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:m;this._$El=o,this[o]=i.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,s){let r=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||f)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}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._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(s)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||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)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}var g;v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==_||_({ReactiveElement:v}),(null!==(c=h.reactiveElementVersions)&&void 0!==c?c:h.reactiveElementVersions=[]).push("1.6.1");const b=window,w=b.trustedTypes,P=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,S="?"+A,E=`<${S}>`,x=document,T=()=>x.createComment(""),O=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,$="[ \t\n\f\r]",k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,I=/>/g,z=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,L=/"/g,H=/^(?:script|style|textarea|title)$/i,D=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),U=(D(1),D(2),Symbol.for("lit-noChange")),F=Symbol.for("lit-nothing"),j=new WeakMap,V=x.createTreeWalker(x,129,null,!1),B=(t,e)=>{const s=t.length-1,r=[];let o,i=2===e?"<svg>":"",n=k;for(let e=0;e<s;e++){const s=t[e];let a,l,d=-1,c=0;for(;c<s.length&&(n.lastIndex=c,l=n.exec(s),null!==l);)c=n.lastIndex,n===k?"!--"===l[1]?n=M:void 0!==l[1]?n=I:void 0!==l[2]?(H.test(l[2])&&(o=RegExp("</"+l[2],"g")),n=z):void 0!==l[3]&&(n=z):n===z?">"===l[0]?(n=null!=o?o:k,d=-1):void 0===l[1]?d=-2:(d=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?z:'"'===l[3]?L:R):n===L||n===R?n=z:n===M||n===I?n=k:(n=z,o=void 0);const h=n===z&&t[e+1].startsWith("/>")?" ":"";i+=n===k?s+E:d>=0?(r.push(a),s.slice(0,d)+C+s.slice(d)+A+h):s+A+(-2===d?(r.push(void 0),e):h)}const a=i+(t[s]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==P?P.createHTML(a):a,r]};class Y{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let o=0,i=0;const n=t.length-1,a=this.parts,[l,d]=B(t,e);if(this.el=Y.createElement(l,s),V.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=V.nextNode())&&a.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith(C)||e.startsWith(A)){const s=d[i++];if(t.push(e),void 0!==s){const t=r.getAttribute(s.toLowerCase()+C).split(A),e=/([.?@])?(.*)/.exec(s);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?K:"?"===e[1]?X:"@"===e[1]?Q:G})}else a.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(H.test(r.tagName)){const t=r.textContent.split(A),e=t.length-1;if(e>0){r.textContent=w?w.emptyScript:"";for(let s=0;s<e;s++)r.append(t[s],T()),V.nextNode(),a.push({type:2,index:++o});r.append(t[e],T())}}}else if(8===r.nodeType)if(r.data===S)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(A,t+1));)a.push({type:7,index:o}),t+=A.length-1}o++}}static createElement(t,e){const s=x.createElement("template");return s.innerHTML=t,s}}function q(t,e,s=t,r){var o,i,n,a;if(e===U)return e;let l=void 0!==r?null===(o=s._$Co)||void 0===o?void 0:o[r]:s._$Cl;const d=O(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==d&&(null===(i=null==l?void 0:l._$AO)||void 0===i||i.call(l,!1),void 0===d?l=void 0:(l=new d(t),l._$AT(t,s,r)),void 0!==r?(null!==(n=(a=s)._$Co)&&void 0!==n?n:a._$Co=[])[r]=l:s._$Cl=l),void 0!==l&&(e=q(t,l._$AS(t,e.values),l,r)),e}class J{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:s},parts:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:x).importNode(s,!0);V.currentNode=o;let i=V.nextNode(),n=0,a=0,l=r[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new W(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new tt(i,this,t)),this._$AV.push(e),l=r[++a]}n!==(null==l?void 0:l.index)&&(i=V.nextNode(),n++)}return o}v(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class W{constructor(t,e,s,r){var o;this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cp=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=q(this,t,e),O(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==U&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>N(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!==F&&O(this._$AH)?this._$AA.nextSibling.data=t:this.$(x.createTextNode(t)),this._$AH=t}g(t){var e;const{values:s,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Y.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.v(s);else{const t=new J(o,this),e=t.u(this.options);t.v(s),this.$(e),this._$AH=t}}_$AC(t){let e=j.get(t.strings);return void 0===e&&j.set(t.strings,e=new Y(t)),e}T(t){N(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,r=0;for(const o of t)r===e.length?e.push(s=new W(this.k(T()),this.k(T()),this,this.options)):s=e[r],s._$AI(o),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class G{constructor(t,e,s,r,o){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=F}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,r){const o=this.strings;let i=!1;if(void 0===o)t=q(this,t,e,0),i=!O(t)||t!==this._$AH&&t!==U,i&&(this._$AH=t);else{const r=t;let n,a;for(t=o[0],n=0;n<o.length-1;n++)a=q(this,r[s+n],e,n),a===U&&(a=this._$AH[n]),i||(i=!O(a)||a!==this._$AH[n]),a===F?t=F:t!==F&&(t+=(null!=a?a:"")+o[n+1]),this._$AH[n]=a}i&&!r&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class K extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}}const Z=w?w.emptyScript:"";class X extends G{constructor(){super(...arguments),this.type=4}j(t){t&&t!==F?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class Q extends G{constructor(t,e,s,r,o){super(t,e,s,r,o),this.type=5}_$AI(t,e=this){var s;if((t=null!==(s=q(this,t,e,0))&&void 0!==s?s:F)===U)return;const r=this._$AH,o=t===F&&r!==F||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==F&&(r===F||o);o&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class tt{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}}const et=b.litHtmlPolyfillSupport;var st,rt;null==et||et(Y,W),(null!==(g=b.litHtmlVersions)&&void 0!==g?g:b.litHtmlVersions=[]).push("2.7.2");class ot extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const s=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=s.firstChild),s}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,s)=>{var r,o;const i=null!==(r=null==s?void 0:s.renderBefore)&&void 0!==r?r:e;let n=i._$litPart$;if(void 0===n){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;i._$litPart$=n=new W(e.insertBefore(T(),t),t,void 0,null!=s?s:{})}return n._$AI(t),n})(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 U}}ot.finalized=!0,ot._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:ot});const it=globalThis.litElementPolyfillSupport;null==it||it({LitElement:ot}),(null!==(rt=globalThis.litElementVersions)&&void 0!==rt?rt:globalThis.litElementVersions=[]).push("3.3.1")}}]);
|
356
|
+
`;(0,o.hC)("",i,{moduleId:"lumo-typography"});const n=document.createElement("template");n.innerHTML=`<style>${r.toString().replace(":host","html")}</style>`,document.head.appendChild(n.content)},4407:(t,e,s)=>{class o extends HTMLElement{static get version(){return"24.0.11"}}customElements.define("vaadin-lumo-styles",o)},5128:(t,e,s)=>{s.d(e,{Tb:()=>u,iv:()=>o.iv,hC:()=>a});var o=s(9897);const r=t=>class extends t{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(t,e,s){super.attributeChangedCallback(t,e,s),"theme"===t&&this._set_theme(s)}},i=[];function n(t){return t&&Object.prototype.hasOwnProperty.call(t,"__themes")}function a(t,e,s={}){var r;t&&(r=t,n(customElements.get(r))&&console.warn(`The custom element definition for "${t}"\n was finalized before a style module was registered.\n Make sure to add component specific style modules before\n importing the corresponding custom element.`)),e=function(t=[]){return[t].flat(1/0).filter((t=>t instanceof o.c3||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(e),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(t,e,s):i.push({themeFor:t,styles:e,include:s.include,moduleId:s.moduleId})}function l(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():i}function d(t=""){let e=0;return t.startsWith("lumo-")||t.startsWith("material-")?e=1:t.startsWith("vaadin-")&&(e=2),e}function c(t){const e=[];return t.include&&[].concat(t.include).forEach((t=>{const s=l().find((e=>e.moduleId===t));s?e.push(...c(s),...s.styles):console.warn(`Included moduleId ${t} not found in style registry`)}),t.styles),e}function h(t){const e=`${t}-default-theme`,s=l().filter((s=>s.moduleId!==e&&function(t,e){return(t||"").split(" ").some((t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(e)))}(s.themeFor,t))).map((t=>({...t,styles:[...c(t),...t.styles],includePriority:d(t.moduleId)}))).sort(((t,e)=>e.includePriority-t.includePriority));return s.length>0?s:l().filter((t=>t.moduleId===e))}const u=t=>class extends(r(t)){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;t&&!n(this)&&function(t,e){const s=document.createElement("style");s.innerHTML=t.map((t=>t.cssText)).join("\n"),e.content.appendChild(s)}(this.getStylesForThis(),t)}static finalizeStyles(t){const e=this.getStylesForThis();return t?[...super.finalizeStyles(t),...e]:e}static getStylesForThis(){const t=Object.getPrototypeOf(this.prototype),e=(t?t.constructor.__themes:[])||[];this.__themes=[...e,...h(this.is)];const s=this.__themes.flatMap((t=>t.styles));return s.filter(((t,e)=>e===s.lastIndexOf(t)))}}},9897:(t,e,s)=>{s.d(e,{c3:()=>a,iv:()=>l});const o=window,r=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const s=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new a(s,t,i)},d=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,i))(e)})(t):t;var c;const h=window,u=h.trustedTypes,p=u?u.emptyScript:"",_=h.reactiveElementPolyfillSupport,m={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 s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},f=(t,e)=>e!==t&&(e==e||t==t),y={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:f};class v extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,s)=>{const o=this._$Ep(s,e);void 0!==o&&(this._$Ev.set(o,s),t.push(o))})),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 s="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,s,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,s)},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(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of e)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Ep(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,s;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.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)=>{r?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const s=document.createElement("style"),r=o.litNonce;void 0!==r&&s.setAttribute("nonce",r),s.textContent=e.cssText,t.appendChild(s)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||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._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e,s=y){var o;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const i=(void 0!==(null===(o=s.converter)||void 0===o?void 0:o.toAttribute)?s.converter:m).toAttribute(e,s.type);this._$El=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$El=null}}_$AK(t,e){var s;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:m;this._$El=r,this[r]=i.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,s){let o=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||f)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}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._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(s)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||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)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}var g;v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==_||_({ReactiveElement:v}),(null!==(c=h.reactiveElementVersions)&&void 0!==c?c:h.reactiveElementVersions=[]).push("1.6.1");const b=window,w=b.trustedTypes,P=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,S="?"+A,E=`<${S}>`,x=document,T=()=>x.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,$="[ \t\n\f\r]",k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,I=/>/g,z=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,L=/"/g,H=/^(?:script|style|textarea|title)$/i,D=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),U=(D(1),D(2),Symbol.for("lit-noChange")),F=Symbol.for("lit-nothing"),j=new WeakMap,B=x.createTreeWalker(x,129,null,!1),V=(t,e)=>{const s=t.length-1,o=[];let r,i=2===e?"<svg>":"",n=k;for(let e=0;e<s;e++){const s=t[e];let a,l,d=-1,c=0;for(;c<s.length&&(n.lastIndex=c,l=n.exec(s),null!==l);)c=n.lastIndex,n===k?"!--"===l[1]?n=M:void 0!==l[1]?n=I:void 0!==l[2]?(H.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=z):void 0!==l[3]&&(n=z):n===z?">"===l[0]?(n=null!=r?r:k,d=-1):void 0===l[1]?d=-2:(d=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?z:'"'===l[3]?L:R):n===L||n===R?n=z:n===M||n===I?n=k:(n=z,r=void 0);const h=n===z&&t[e+1].startsWith("/>")?" ":"";i+=n===k?s+E:d>=0?(o.push(a),s.slice(0,d)+C+s.slice(d)+A+h):s+A+(-2===d?(o.push(void 0),e):h)}const a=i+(t[s]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==P?P.createHTML(a):a,o]};class Y{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let r=0,i=0;const n=t.length-1,a=this.parts,[l,d]=V(t,e);if(this.el=Y.createElement(l,s),B.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=B.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(C)||e.startsWith(A)){const s=d[i++];if(t.push(e),void 0!==s){const t=o.getAttribute(s.toLowerCase()+C).split(A),e=/([.?@])?(.*)/.exec(s);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?K:"?"===e[1]?X:"@"===e[1]?Q:G})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(H.test(o.tagName)){const t=o.textContent.split(A),e=t.length-1;if(e>0){o.textContent=w?w.emptyScript:"";for(let s=0;s<e;s++)o.append(t[s],T()),B.nextNode(),a.push({type:2,index:++r});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===S)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(A,t+1));)a.push({type:7,index:r}),t+=A.length-1}r++}}static createElement(t,e){const s=x.createElement("template");return s.innerHTML=t,s}}function q(t,e,s=t,o){var r,i,n,a;if(e===U)return e;let l=void 0!==o?null===(r=s._$Co)||void 0===r?void 0:r[o]:s._$Cl;const d=N(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==d&&(null===(i=null==l?void 0:l._$AO)||void 0===i||i.call(l,!1),void 0===d?l=void 0:(l=new d(t),l._$AT(t,s,o)),void 0!==o?(null!==(n=(a=s)._$Co)&&void 0!==n?n:a._$Co=[])[o]=l:s._$Cl=l),void 0!==l&&(e=q(t,l._$AS(t,e.values),l,o)),e}class J{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:s},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:x).importNode(s,!0);B.currentNode=r;let i=B.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new W(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new tt(i,this,t)),this._$AV.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(i=B.nextNode(),n++)}return r}v(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class W{constructor(t,e,s,o){var r;this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cp=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=q(this,t,e),N(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==U&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>O(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!==F&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(x.createTextNode(t)),this._$AH=t}g(t){var e;const{values:s,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Y.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(s);else{const t=new J(r,this),e=t.u(this.options);t.v(s),this.$(e),this._$AH=t}}_$AC(t){let e=j.get(t.strings);return void 0===e&&j.set(t.strings,e=new Y(t)),e}T(t){O(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const r of t)o===e.length?e.push(s=new W(this.k(T()),this.k(T()),this,this.options)):s=e[o],s._$AI(r),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class G{constructor(t,e,s,o,r){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=F}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,o){const r=this.strings;let i=!1;if(void 0===r)t=q(this,t,e,0),i=!N(t)||t!==this._$AH&&t!==U,i&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=q(this,o[s+n],e,n),a===U&&(a=this._$AH[n]),i||(i=!N(a)||a!==this._$AH[n]),a===F?t=F:t!==F&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}i&&!o&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class K extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}}const Z=w?w.emptyScript:"";class X extends G{constructor(){super(...arguments),this.type=4}j(t){t&&t!==F?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class Q extends G{constructor(t,e,s,o,r){super(t,e,s,o,r),this.type=5}_$AI(t,e=this){var s;if((t=null!==(s=q(this,t,e,0))&&void 0!==s?s:F)===U)return;const o=this._$AH,r=t===F&&o!==F||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==F&&(o===F||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class tt{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}}const et=b.litHtmlPolyfillSupport;var st,ot;null==et||et(Y,W),(null!==(g=b.litHtmlVersions)&&void 0!==g?g:b.litHtmlVersions=[]).push("2.7.2");class rt extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const s=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=s.firstChild),s}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,s)=>{var o,r;const i=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:e;let n=i._$litPart$;if(void 0===n){const t=null!==(r=null==s?void 0:s.renderBefore)&&void 0!==r?r:null;i._$litPart$=n=new W(e.insertBefore(T(),t),t,void 0,null!=s?s:{})}return n._$AI(t),n})(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 U}}rt.finalized=!0,rt._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:rt});const it=globalThis.litElementPolyfillSupport;null==it||it({LitElement:rt}),(null!==(ot=globalThis.litElementVersions)&&void 0!==ot?ot:globalThis.litElementVersions=[]).push("3.3.1")}}]);
|
package/dist/umd/860.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[860],{9989:(t,e,s)=>{s.d(e,{V:()=>i});class i extends HTMLElement{}},5279:(t,e,s)=>{s.d(e,{gh:()=>i,k4:()=>n,qM:()=>a,qg:()=>r});const i="descope",n=3,r="host",a="@"},4567:(t,e,s)=>{s.d(e,{Db:()=>u,FX:()=>r,P$:()=>a,Tk:()=>c,iY:()=>h,oP:()=>d,tg:()=>l});var i=s(2061),n=s(5279);const r=(t,e,{excludeAttrs:s=[],includeAttrs:i=[]})=>{const n=Array.from(t.attributes).filter((t=>!s.includes(t.name)&&(!i.length||i.includes(t.name)))).map((t=>t.name));e(n),new MutationObserver((t=>{for(const n of t)"attributes"!==n.type||s.includes(n.attributeName)||i.length&&!i.includes(n.attributeName)||e([n.attributeName])})).observe(t,{attributes:!0})},a=(t,e)=>{e({addedNodes:Array.from(t.children),removedNodes:[]}),new MutationObserver((t=>{for(const s of t)"childList"===s.type&&e(s)})).observe(t,{childList:!0})},o=(t,e,s={})=>i=>{i.forEach((i=>{const n=s[i]||i,r=t.getAttribute(i);null!==r?e.getAttribute(n)!==r&&e.setAttribute(n,r):e.removeAttribute(n)}))},l=(t,e,s)=>{r(t,o(t,e),s),r(e,o(e,t),s)},h=t=>(0,i.E3)(n.gh,t),c=(...t)=>`--${(0,i.E3)(...t)}`,d=(t,e,s={})=>{r(t,o(t,e,s.mapAttrs),s)},u=(t,e,s=[])=>{if(!s.length)return;const i=s.reduce(((t,s)=>Object.assign(t,{[s]:{get:()=>e[s],set(t){e[s]=t}}})),{});Object.defineProperties(t,i)}},2061:(t,e,s)=>{s.d(e,{E3:()=>n,GL:()=>i,jC:()=>a,qC:()=>r});const i=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),n=(...t)=>i(t.filter((t=>!!t)).join("-")),r=(...t)=>e=>t.reduceRight(((t,e)=>e(t)),e),a=t=>t.charAt(0).toUpperCase()+t.slice(1)},6860:(t,e,s)=>{s.d(e,{Ae:()=>C,DM:()=>p,yk:()=>c,e4:()=>d,_A:()=>m,y7:()=>g,Iw:()=>A,dj:()=>f});var i=s(5279),n=s(2061),r=s(4567),a=s(5561);const o=(t,...e)=>`var(${t}${e.length?` , ${o(...e)}`:""})`;class l{constructor(){this.styleMap=new Map}add(t,e,s){this.styleMap.has(t)||this.styleMap.set(t,[]),this.styleMap.set(t,[...this.styleMap.get(t),{property:e,value:s}])}toString(){return Array.from(this.styleMap.entries()).reduce(((t,[e,s])=>t+`${e} { \n${s.map((({property:t,value:e})=>`${t}: ${e}`)).join(";\n")} \n}\n\n`),"")}}const h=(t,e)=>Object.keys(e).reduce(((e,s)=>Object.assign(e,{[s]:(0,r.Tk)(t,s)})),{}),c=({mappings:t={}})=>e=>class extends e{static get cssVarList(){return{...e.cssVarList,...h(e.componentName,{...t})}}#t;#e;#s;#i;#n;#r;#a;#o;constructor({getRootElement:e,componentNameSuffix:s="",themeSection:r=i.qg,baseSelector:a}={}){super(),this.#i=s,this.#n=r,this.#r=e?.(this)||this.shadowRoot,this.#a=a??this.baseSelector,this.#o=Object.keys(t).map((t=>(0,n.E3)("st",s,t)))}get componentTheme(){return a.componentsThemeManager.currentTheme?.[e.componentName]||""}#l(){this.#e.innerHTML=this.componentTheme[this.#n]}#h(){this.#e=document.createElement("style"),this.#e.id="style-mixin-theme",this.#r.prepend(this.#e),this.#s=a.componentsThemeManager.onCurrentThemeChange(this.#l.bind(this)),this.#l()}#c(){this.#t=document.createElement("style"),this.#t.id="style-mixin-overrides";const t=(s=e.componentName,n=i.k4,Array(n).fill(`.${s}`).join(""));var s,n;this.#t.innerText=`:host(${t}) {}`,this.#r.append(this.#t)}#d(t,s){const i=this.#t?.sheet?.cssRules[0].style;if(!i)return;const n=(0,r.Tk)(e.componentName,t.replace(new RegExp("^st-"),""));s?i?.setProperty(n,s):i?.removeProperty(n)}#u(t=[]){for(const e of t)this.#o.includes(e)&&this.#d(e,this.getAttribute(e));this.#t.innerHTML=this.#t?.sheet?.cssRules[0].cssText}#m(){const s=document.createElement("style");s.id="style-mixin-mappings",s.innerHTML=((t,e,s)=>{const i=new l;return Object.keys(s).forEach((a=>{const l=((t,e)=>{const s={selector:"",property:(0,n.GL)(t)};return e&&Object.keys(e).length?Array.isArray(e)?e.map((t=>Object.assign({},s,t))):[Object.assign({},s,e)]:[s]})(a,s[a]),h=(0,r.Tk)(t,a);l.forEach((({selector:t,property:s})=>{i.add(((t="",e="")=>"function"==typeof e?e(t):`${t}${/^[A-Za-z]/.test(e)?` ${e}`:e}`)(e,t),s,o(h))}))})),i.toString()})((0,n.E3)(e.componentName,this.#i),this.#a,t),this.#r.prepend(s)}#p(t){(this.#r.classList||this.#r.host.classList).add(t)}connectedCallback(){super.connectedCallback?.(),this.shadowRoot.isConnected&&(this.#p(e.componentName),this.#m(),this.#h(),this.#c(),(0,r.FX)(this,this.#u.bind(this),{}))}disconnectedCallback(){this.#s?.()}},d=t=>class extends t{#b=null;static get observedAttributes(){return[...t.observedAttributes||[],"draggable"]}constructor(){super(),this.#b=document.createElement("style"),this.#b.innerText=`${this.baseSelector} { cursor: inherit }`}#y(t){t?this.shadowRoot.appendChild(this.#b):this.#b.remove()}attributeChangedCallback(t,e,s){super.attributeChangedCallback?.(t,e,s),"draggable"===t&&this.#y("true"===s)}};var u=s(9989);const m=(t="")=>e=>class extends e{connectedCallback(){super.connectedCallback?.(),this.shadowRoot.querySelector(this.baseSelector+t).addEventListener("mouseover",(t=>{this.shadowRoot.host.setAttribute("hover","true"),t.target.addEventListener("mouseleave",(()=>this.shadowRoot.host.removeAttribute("hover")),{once:!0})}))}},p=({componentName:t,wrappedEleName:e,slots:s=[],style:i,excludeAttrsSync:a=[],includeAttrsSync:o=[],includeForwardProps:l=[]})=>{const h=`\n\t\t<style id="create-proxy"></style>\n\t\t<${e}>\n\t\t<slot></slot>\n\t\t${s.map((t=>`<slot name="${t}" slot="${t}"></slot>`)).join("")}\n\t\t</${e}>\n\t`;class c extends u.V{static get componentName(){return t}constructor(){super().attachShadow({mode:"open"}).innerHTML=h,this.hostElement=this.shadowRoot.host,this.baseSelector=e,this.shadowRoot.getElementById("create-proxy").innerHTML="function"==typeof i?i():i}connectedCallback(){this.shadowRoot.isConnected&&(this.proxyElement=this.shadowRoot.querySelector(e),(0,r.Db)(this.hostElement,this.proxyElement,l),this.setAttribute("tabindex","0"),this.addEventListener("focus",(()=>{this.proxyElement.focus()})),this.proxyElement.onkeydown=t=>{t.shiftKey&&9===t.keyCode&&(this.removeAttribute("tabindex"),setTimeout((()=>this.setAttribute("tabindex","0")),0))},this.addEventListener=(...t)=>this.proxyElement.addEventListener(...t),(0,r.tg)(this.proxyElement,this.hostElement,{excludeAttrs:a,includeAttrs:o}))}disconnectedCallback(){this.proxyElement.removeEventListener("mouseover",this.mouseoverCbRef)}attributeChangedCallback(){this.proxyElement}}return(0,n.qC)(m())(c)},b=["change","input","blur","focus","invalid","valid"],y=["required","pattern"],g=t=>class extends t{static get observedAttributes(){return[...t.observedAttributes||[],...y]}static get formAssociated(){return!0}#g;constructor(){super(),this.#g=this.attachInternals();for(const t of b)this[`dispatch${(0,n.jC)(t)}`]=function(){this.dispatchInputEvent(t)}}get defaultErrorMsgValueMissing(){return"Please fill out this field."}get defaultErrorMsgPatternMismatch(){return"Please match the requested format."}getErrorMessage(t){switch(!0){case t.valueMissing:return this.getAttribute("data-errormessage-value-missing")||this.defaultErrorMsgValueMissing;case t.patternMismatch||t.typeMismatch:return this.getAttribute("data-errormessage-pattern-mismatch")||this.defaultErrorMsgPatternMismatch;case t.customError:return this.validationMessage;default:return""}}get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}setValidity(){if(this.isReadOnly)return;const t=this.getValidity();this.#g.setValidity(t,this.getErrorMessage(t))}get validationMessage(){return this.#g.validationMessage}getValidity(){throw Error("getValidity","is not implemented")}checkValidity(){return this.#g.validity.valid}reportValidity(){return this.#g.reportValidity()}get validity(){return this.#g.validity}setCustomValidity(t){t?this.#g.setValidity({customError:!0},t):(this.#g.setValidity({}),this.setValidity())}get isRequired(){return this.hasAttribute("required")&&"false"!==this.getAttribute("required")}get pattern(){return this.getAttribute("pattern")}get value(){throw Error("get value","is not implemented")}set value(t){throw Error("set value","is not implemented")}handleFocus(){throw Error("handleFocus","is not implemented")}handleInput(){this.setValidity(),this.handleDispatchValidationEvents()}handleBlur(){throw Error("handleBlur","is not implemented")}handleChange(){throw Error("handleChange","is not implemented")}dispatchInputEvent(t){this[`on${t}`]?.(),this.dispatchEvent(new InputEvent(t))}attributeChangedCallback(t,e,s){super.attributeChangedCallback?.(t,e,s),y.includes(t)&&this.setValidity()}handleDispatchValidationEvents(){this.checkValidity()?this.dispatchValid():this.dispatchInvalid()}connectedCallback(){super.connectedCallback?.(),this.setValidity(),this.handleDispatchValidationEvents(),this.onfocus=this.handleFocus.bind(this),this.addEventListener("input",this.handleInput.bind(this)),this.addEventListener("blur",this.handleBlur.bind(this)),this.addEventListener("change",this.handleBlur.bind(this))}},E=["invalid","has-error-message"],v=t=>{if(!t)return;let e=t;for(let t=0;t<10;t++)if(e=e.assignedElements()[0],"slot"!==e.localName)return e},f=t=>class extends(g(t)){static get observedAttributes(){return[...t.observedAttributes||[],...E]}#E;constructor(){super(),this.#E=super.inputElement}get inputElement(){const t=this.baseEle.shadowRoot.querySelector('slot[name="input"]'),e=this.baseEle.shadowRoot.querySelector('slot[name="textarea"]');if(this.#E??=v(t)||v(e),!this.#E)throw Error("no input was found");return this.#E}set inputElement(t){this.#E=t}getValidity(){return this.inputElement.validity}reportValidityOnInternalInput(){setTimeout((()=>{this.inputElement.reportValidity()}),0)}handleBlur(){}handleFocus(){this.inputElement.focus(),this.hasAttribute("invalid")&&this.reportValidityOnInternalInput()}reportValidity(){super.reportValidity()||(this.setAttribute("invalid","true"),this.inputElement.focus()),this.reportValidityOnInternalInput()}setInternalInputErrorMessage(){this.checkValidity()||this.inputElement.setCustomValidity(this.validationMessage)}connectedCallback(){var t,e;this.baseEle=this.shadowRoot.querySelector(this.baseSelector),this.addEventListener("focus",(t=>{t.relatedTarget?.form&&(this.checkValidity()||this.setAttribute("invalid","true"),this.hasAttribute("invalid")&&this.reportValidityOnInternalInput())})),this.addEventListener("invalid",(()=>{this.setInternalInputErrorMessage(),this.setAttribute("error-message",this.validationMessage)})),this.addEventListener("valid",(()=>{this.removeAttribute("invalid")})),super.connectedCallback?.(),this.inputElement.addEventListener("input",(()=>{this.inputElement.setCustomValidity(""),this.inputElement.checkValidity()||this.setInternalInputErrorMessage()})),this.inputElement.addEventListener("invalid",(()=>{this.setValidity(),this.setInternalInputErrorMessage(),this.setAttribute("error-message",this.validationMessage)})),this.hasAttribute("tabindex")||this.setAttribute("tabindex",0),t=this.inputElement,e="value",Object.defineProperty(this,e,{set:function(s){return t[e]=s},get:function(){return t[e]},configurable:!0}),this.setSelectionRange=this.inputElement.setSelectionRange?.bind(this.inputElement)}attributeChangedCallback(t,e,s){super.attributeChangedCallback?.(t,e,s),"invalid"===t&&""===s&&this.setAttribute("invalid","true")}},C=t=>class extends t{#v(){const e=this.shadowRoot.host.tagName.toLowerCase();if(!t.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(e!==t.componentName)throw Error(`component name mismatch, expected "${t.componentName}", current "${e}"`)}connectedCallback(){super.connectedCallback?.(),this.shadowRoot.isConnected&&this.#v()}},A=({name:t,selector:e,mappings:s={}})=>a=>{const o=t||(t=>t.replace(/[^\w\s]/gi,""))(e),l=c({mappings:s})(a);return class extends l{static get cssVarList(){return{...l.cssVarList,...h(a.componentName,(t=s,e=o,Object.keys(t).reduce(((s,i)=>Object.assign(s,{[e+(0,n.jC)(i)]:t[i]})),{})))};var t,e}#f;constructor(){const t=t=>{const s=t.shadowRoot.querySelector(t.baseSelector).shadowRoot.querySelector(e);return s.shadowRoot||s};var s;super({getRootElement:t,componentNameSuffix:o,themeSection:i.qM+o,baseSelector:":host"}),this.#f=(s=t(this)).host||s}#C(){this.#f.onmouseenter=t=>{t.target.setAttribute("hover","true")},this.#f.onmouseleave=t=>{t.target.removeAttribute("hover")}}connectedCallback(){super.connectedCallback?.(),(0,r.oP)(this,this.#f,{excludeAttrs:["hover"]}),this.#C()}}}}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[662],{3029:(t,n,a)=>{a.r(n),a.d(n,{Button:()=>b}),a(729);var e=a(2061),r=a(4567),i=a(
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[662],{3029:(t,n,a)=>{a.r(n),a.d(n,{Button:()=>b}),a(729);var e=a(2061),r=a(4567),i=a(6860);const o=(0,r.iY)("button"),{label:s,host:l}={label:{selector:"::part(label)"},host:{selector:()=>":host"}},c=(0,e.qC)((0,i.yk)({mappings:{backgroundColor:{},borderRadius:{},color:s,borderColor:{},borderStyle:{},borderWidth:{},fontSize:{},height:{},width:l,cursor:{},padding:s,textDecoration:s}}),i.e4,i.Ae)((0,i.DM)({slots:["prefix","label","suffix"],wrappedEleName:"vaadin-button",style:()=>`\n\t:host {\n\t\tdisplay: inline-block;\n\t}\n\tvaadin-button { margin: 0; }\n\tvaadin-button::part(prefix) {\n\t\tmargin-left: 0;\n\t\tmargin-right: 0;\n\t}\n vaadin-button::part(label) { pointer-events: none; } \n\tvaadin-button::part(prefix),\n\tvaadin-button::part(label) {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tgap: 5px;\n\t}\n ${d}`,excludeAttrsSync:["tabindex"],componentName:o})),d=`\n\t@keyframes spin {\n\t\t0% { -webkit-transform: rotate(0deg); }\n\t\t100% { -webkit-transform: rotate(360deg); }\n\t}\n\t:host([loading="true"]) ::before {\n\t\t--marginRatio: 1.35;\n\t\tcolor: var(${c.cssVarList.color});\n\t\tanimation: spin 2s linear infinite;\n\t\tposition: absolute;\n\t\ttop: calc(50% - calc((var(${c.cssVarList.height}) / var(--marginRatio)) / 2));\n\t\tleft: calc(50% - calc((var(${c.cssVarList.height}) / var(--marginRatio)) / 2));\n\t\tcontent: '';\n\t\tz-index: 1;\n\t\tbox-sizing: border-box;\n\t\tborder-radius: 50%;\n\t\tborder-bottom-color: transparent;\n\t\tborder-left-color: transparent;\n\t\tborder-width: calc(var(${c.cssVarList.height}) / 12);\n\t\tborder-style: solid;\n\t\twidth: calc(var(${c.cssVarList.height}) / var(--marginRatio));\n\t\theight: calc(var(${c.cssVarList.height}) / var(--marginRatio));\n\t}\n\t:host([loading="true"])::part(prefix),\n\t:host([loading="true"])::part(label) {\n\t\tvisibility: hidden;\n\t}\n\n\tvaadin-button {\n\t\twidth: 100%;\n\t}\n`,b=c;customElements.define(o,b)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[761],{7904:(t,e,n)=>{n.r(e),n.d(e,{Checkbox:()=>a}),n(9515);var c=n(
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[761],{7904:(t,e,n)=>{n.r(e),n.d(e,{Checkbox:()=>a}),n(9515);var c=n(6860),s=n(2061);const o=(0,n(4567).iY)("checkbox"),a=(0,s.qC)((0,c.yk)({mappings:{width:{selector:()=>":host"},cursor:[{},{selector:"> label"}]}}),c.e4,c.dj,c.Ae)((0,c.DM)({slots:[],wrappedEleName:"vaadin-checkbox",style:"\n\t\t:host {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t\n\t\tvaadin-checkbox {\n\t\t\twidth: 100%;\n\t\t}\n\t\t",excludeAttrsSync:["tabindex"],componentName:o}));customElements.define(o,a)}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[483],{9258:(e,t,o)=>{o.r(t),o.d(t,{ComboBox:()=>c}),o(9314);var r=o(2061),s=o(4567),n=o(6860);const a=(0,s.iY)("combo-box"),{input:d,toggle:i}={input:{selector:"::part(input-field)"},toggle:{selector:"::part(toggle-button)"}},l={topRightRadius:{selector:d.selector,property:"border-top-right-radius"},bottomRightRadius:{selector:d.selector,property:"border-bottom-right-radius"},topLeftRadius:{selector:d.selector,property:"border-top-left-radius"},bottomLeftRadius:{selector:d.selector,property:"border-bottom-left-radius"}},c=(0,r.qC)((0,n.yk)({mappings:{...l,backgroundColor:d,width:d,color:d,padding:d,borderColor:d,borderStyle:d,borderWidth:d,cursor:i,height:d}}),n.e4,(0,n.Iw)({name:"overlay",selector:"vaadin-combo-box-scroller",mappings:{border:{selector:()=>"::slotted(*)"},backgroundColor:{}}}),n.dj,n.Ae,(e=>class extends e{#e(){const e=this.shadowRoot.querySelector(this.baseSelector),t=Array.from(this.children);e.items=t.map((e=>Object.defineProperty(e,"data-name",{value:e.getAttribute("data-name")}))),e.renderer=(e,o,r)=>{e.innerHTML=t[r.index].outerHTML}}connectedCallback(){super.connectedCallback?.(),(0,s.P$)(this,this.#e.bind(this))}}))((0,n.DM)({slots:["prefix"],wrappedEleName:"vaadin-combo-box",style:()=>"\n\t\t:host {\n\t\t\t-webkit-mask-image: none;\n\t\t}\n\t\t",excludeAttrsSync:["tabindex"],includeAttrsSync:[],componentName:a,includeForwardProps:["items","renderer"]}));customElements.define(a,c)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[317],{147:(t,e,o)=>{o.r(e),o.d(e,{Container:()=>a});var n=o(
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[317],{147:(t,e,o)=>{o.r(e),o.d(e,{Container:()=>a});var n=o(6860),s=o(9989),r=o(2061);const i=(0,o(4567).iY)("container");class d extends s.V{static get componentName(){return i}constructor(){super();const t=document.createElement("template");t.innerHTML="\n\t\t\t<style>\n\t\t\t\t:host > slot {\n\t\t\t\t\tbox-sizing: border-box;\n\t\t\t\t\twidth: 100%;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\toverflow: auto;\n\t\t\t\t}\n\t\t\t\t:host {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<slot></slot>\n\t\t",this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(t.content.cloneNode(!0)),this.baseSelector=":host > slot"}}const a=(0,r.qC)((0,n.yk)({mappings:{height:{selector:()=>":host"},width:{selector:()=>":host"},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],flexDirection:{},justifyContent:{},alignItems:{},gap:{},backgroundColor:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},boxShadow:{}}}),n.e4,n.Ae)(d);customElements.define(i,a)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[17],{2552:(e,s,a)=>{a.r(s),a.d(s,{DatePicker:()=>i}),a(
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[17],{2552:(e,s,a)=>{a.r(s),a.d(s,{DatePicker:()=>i}),a(541);var c=a(6860),p=a(2061);const t=(0,a(4567).iY)("date-picker"),i=(0,p.qC)(c.e4,c.Ae)((0,c.DM)({componentName:t,slots:["prefix","suffix"],wrappedEleName:"vaadin-date-picker",style:""}));customElements.define(t,i)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[178],{6446:(t,e,o)=>{o.r(e),o.d(e,{Divider:()=>f});var n=o(
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[178],{6446:(t,e,o)=>{o.r(e),o.d(e,{Divider:()=>f});var n=o(6860),i=o(9989),s=o(2061),r=o(4567);const d=(0,r.iY)("divider");class h extends i.V{static get componentName(){return d}constructor(){super();const t=document.createElement("template");t.innerHTML="\n\t\t\t<style>\n\t\t\t\t:host > div {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\twidth: 100%;\n\t\t\t\t}\n\t\t\t\t:host > div::before,\n\t\t\t\t:host > div::after {\n\t\t\t\t\tcontent: '';\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\n\t\t\t\tdescope-text {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t\tflex-shrink: 0;\n\t\t\t\t}\n\n\t\t\t\t:host(:empty) descope-text {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\n\t\t\t\t:host([vertical=\"true\"]) div {\n\t\t\t\t\twidth: fit-content;\n\t\t\t\t}\n\n\t\t\t</style>\n\t\t\t<div>\n\t\t\t\t<descope-text>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</descope-text>\n\t\t\t</div>\n\t\t",this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(t.content.cloneNode(!0)),this.baseSelector=":host > div",this.textComponent=this.shadowRoot.querySelector("descope-text"),(0,r.oP)(this,this.textComponent,{includeAttrs:["mode","variant","italic"]})}}const{root:p,before:c,after:a,text:l,host:x}={root:{selector:""},before:{selector:"::before"},after:{selector:"::after"},text:{selector:"descope-text"},host:{selector:()=>":host"}},f=(0,s.qC)((0,n.yk)({mappings:{maxTextWidth:{...l,property:"max-width"},minHeight:p,alignItems:p,alignSelf:p,flexDirection:p,textPadding:{...l,property:"padding"},width:x,padding:x,backgroundColor:[c,a],opacity:[c,a],textWidth:{...l,property:"width"},dividerHeight:[{...c,property:"height"},{...a,property:"height"}],dividerWidth:[{...c,property:"width"},{...a,property:"width"}]}}),n.e4,n.Ae)(h);o(1876),customElements.define(d,f)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[760],{689:(t,i,e)=>{e.r(i),e.d(i,{EmailField:()=>s}),e(9437);var n=e(
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[760],{689:(t,i,e)=>{e.r(i),e.d(i,{EmailField:()=>s}),e(9437);var n=e(6860),a=e(4447),l=e(2061);const d=(0,e(4567).iY)("email-field");let o="";const r=(0,l.qC)((0,n.yk)({mappings:{...a.Z}}),n.e4,n.dj,n.Ae)((0,n.DM)({slots:["suffix"],wrappedEleName:"vaadin-email-field",style:()=>o,excludeAttrsSync:["tabindex"],componentName:d}));o=`\n\t:host {\n\t\tdisplay: inline-block;\n\t}\n\tvaadin-email-field {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\tvaadin-email-field::part(input-field) {\n\t\toverflow: hidden;\n\t}\n\tvaadin-email-field[readonly] > input:placeholder-shown {\n\t\topacity: 1;\n\t}\n\tvaadin-email-field input:-webkit-autofill,\n\tvaadin-email-field input:-webkit-autofill::first-line,\n\tvaadin-email-field input:-webkit-autofill:hover,\n\tvaadin-email-field input:-webkit-autofill:active,\n\tvaadin-email-field input:-webkit-autofill:focus {\n\t\t-webkit-text-fill-color: var(${r.cssVarList.color});\n\t\tbox-shadow: 0 0 0 var(${r.cssVarList.height}) var(${r.cssVarList.backgroundColor}) inset;\n\t}\n\tvaadin-email-field > label,\n\tvaadin-email-field::part(input-field) {\n\t\tcursor: pointer;\n\t\tcolor: var(${r.cssVarList.color});\n\t}\n\tvaadin-email-field::part(input-field):focus {\n\t\tcursor: text;\n\t}\n\tvaadin-email-field[required]::part(required-indicator)::after {\n\t\tfont-size: "12px";\n\t\tcontent: "*";\n\t\tcolor: var(${r.cssVarList.color});\n\t}\n\tvaadin-email-field[readonly]::part(input-field)::after {\n\t\tborder: 0 solid;\n\t}\n`;const s=r;customElements.define(d,s)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[58],{8029:(t,e,o)=>{o.r(e),o.d(e,{Link:()=>u});var s=o(
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[58],{8029:(t,e,o)=>{o.r(e),o.d(e,{Link:()=>u});var s=o(6860),n=o(9989),r=o(8801),c=o(2061),l=o(4567);const i=(0,l.iY)("link");class a extends n.V{static get componentName(){return i}constructor(){super();const t=document.createElement("template");t.innerHTML="\n\t\t<style>\n\t\t:host {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t:host a {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t</style>\n\t\t<div>\n\t\t\t<a>\n\t\t\t\t<descope-text>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</descope-text>\n\t\t\t</a>\n\t\t</div>\n\t\t",this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(t.content.cloneNode(!0)),(0,l.oP)(this,this.shadowRoot.querySelector("a"),{includeAttrs:["href","target","tooltip"],mapAttrs:{tooltip:"title"}}),(0,l.oP)(this,this.shadowRoot.querySelector("descope-text"),{includeAttrs:["mode","variant"]}),this.baseSelector=":host > div"}}const d={host:{selector:()=>"host"},anchor:{selector:"> a"},text:{selector:r.Z.componentName}},{anchor:h,text:p,host:m}=d,u=(0,c.qC)((0,s.yk)({mappings:{width:m,textAlign:{},color:[h,{...p,property:r.Z.cssVarList.color}],cursor:h,borderBottomWidth:h,borderBottomStyle:h,borderBottomColor:h}}),(0,s._A)(h.selector),s.e4,s.Ae)(a);o(1876),customElements.define(i,u)}}]);
|