Initial Commit

This commit is contained in:
francop committed 2026-06-11 11:50:50 -04:00
commit d4a69c41be
2748 files changed
+80489

No files matched your search

@@ -0,0 +1,481 @@
/*! For license information please see 3397.cc10248a8cd5123d.js.LICENSE.txt */
export const ids=["3397"];export const modules={70176:function(){window.JSCompiler_renameProperty=function(e,t){return e}},97333:function(e,t,i){i.d(t,{Kk:function(){return a},Rq:function(){return l},iY:function(){return d}});i(75656),i(50100),i(18084),i(70176);let s,r,n=/(url\()([^)]*)(\))/g,o=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(e,t){if(e&&o.test(e))return e;if("//"===e)return e;if(void 0===s){s=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",s="http://a/c%20d"===e.href}catch(e){}}if(t||(t=document.baseURI||window.location.href),s)try{return new URL(e,t).href}catch(t){return e}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=t,r.anchor.href=e,r.anchor.href||e}function l(e,t){return e.replace(n,(function(e,i,s,r){return i+"'"+a(s.replace(/["']/g,""),t)+"'"+r}))}function d(e){return e.substring(0,e.lastIndexOf("/")+1)}},70617:function(e,t,i){i.r(t),i.d(t,{allowTemplateFromDomModule:function(){return g},cancelSyntheticClickEvents:function(){return O},fastDomIf:function(){return k},getSanitizeDOMValue:function(){return u},legacyNoObservedAttributes:function(){return M},legacyOptimizations:function(){return v},legacyUndefined:function(){return I},legacyWarnings:function(){return C},orderedComputed:function(){return E},passiveTouchGestures:function(){return _},removeNestedTemplates:function(){return V},rootPath:function(){return l},sanitizeDOMValue:function(){return h},setAllowTemplateFromDomModule:function(){return y},setCancelSyntheticClickEvents:function(){return A},setFastDomIf:function(){return N},setLegacyNoObservedAttributes:function(){return F},setLegacyOptimizations:function(){return b},setLegacyUndefined:function(){return S},setLegacyWarnings:function(){return w},setOrderedComputed:function(){return T},setPassiveTouchGestures:function(){return p},setRemoveNestedTemplates:function(){return z},setRootPath:function(){return d},setSanitizeDOMValue:function(){return c},setStrictTemplatePolicy:function(){return f},setSuppressTemplateNotifications:function(){return R},setSyncInitialRender:function(){return P},setUseAdoptedStyleSheetsWithBuiltCSS:function(){return B},strictTemplatePolicy:function(){return m},supportsAdoptingStyleSheets:function(){return a},suppressTemplateNotifications:function(){return L},syncInitialRender:function(){return x},useAdoptedStyleSheetsWithBuiltCSS:function(){return D},useNativeCSSProperties:function(){return n},useNativeCustomElements:function(){return o},useShadow:function(){return r}});i(70176);var s=i(97333);const r=!window.ShadyDOM||!window.ShadyDOM.inUse,n=Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),o=!window.customElements.polyfillWrapFlushCallback,a=r&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})();let l=window.Polymer&&window.Polymer.rootPath||(0,s.iY)(document.baseURI||window.location.href);const d=function(e){l=e};let h=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;const c=function(e){h=e},u=function(){return h};let _=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1;const p=function(e){_=e};let m=window.Polymer&&window.Polymer.strictTemplatePolicy||!1;const f=function(e){m=e};let g=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1;const y=function(e){g=e};let v=window.Polymer&&window.Polymer.legacyOptimizations||!1;const b=function(e){v=e};let C=window.Polymer&&window.Polymer.legacyWarnings||!1;const w=function(e){C=e};let x=window.Polymer&&window.Polymer.syncInitialRender||!1;const P=function(e){x=e};let I=window.Polymer&&window.Polymer.legacyUndefined||!1;const S=function(e){I=e};let E=window.Polymer&&window.Polymer.orderedComputed||!1;const T=function(e){E=e};let O=!0;const A=function(e){O=e};let V=window.Polymer&&window.Polymer.removeNestedTemplates||!1;const z=function(e){V=e};let k=window.Polymer&&window.Polymer.fastDomIf||!1;const N=function(e){k=e};let L=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;const R=function(e){L=e};let M=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1;const F=function(e){M=e};let D=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;const B=function(e){D=e}},2394:function(e,t,i){i.d(t,{t:()=>l});var s=i("45779"),r=(i("39527"),i("36993"),i("57243")),n=i("67753");const o=Symbol("valueNotInitialized");class a extends n.sR{constructor(e){if(super(e),e.type!==s.pX.ELEMENT)throw new Error(`\`${this.constructor.name}\` must be bound to an element.`);this.previousValue=o}render(e,t){return r.Ld}update(e,[t,i]){if(!this.hasChanged(i))return r.Ld;this.host=e.options&&e.options.host,this.element=e.element,this.renderer=t;return this.previouLine truncated
:host {
/* Text colors */
--material-body-text-color: var(--light-theme-text-color, rgba(0, 0, 0, 0.87));
--material-secondary-text-color: var(--light-theme-secondary-color, rgba(0, 0, 0, 0.54));
--material-disabled-text-color: var(--light-theme-disabled-color, rgba(0, 0, 0, 0.38));
/* Primary colors */
--material-primary-color: var(--primary-color, #6200ee);
--material-primary-contrast-color: var(--dark-theme-base-color, #fff);
--material-primary-text-color: var(--material-primary-color);
/* Error colors */
--material-error-color: var(--error-color, #b00020);
--material-error-text-color: var(--material-error-color);
/* Background colors */
--material-background-color: var(--light-theme-background-color, #fff);
--material-secondary-background-color: var(--light-theme-secondary-background-color, #f5f5f5);
--material-disabled-color: rgba(0, 0, 0, 0.26);
/* Divider colors */
--material-divider-color: rgba(0, 0, 0, 0.12);
/* Undocumented internal properties (prefixed with three dashes) */
/* Text field tweaks */
--_material-text-field-input-line-background-color: initial;
--_material-text-field-input-line-opacity: initial;
--_material-text-field-input-line-hover-opacity: initial;
--_material-text-field-focused-label-opacity: initial;
/* Button tweaks */
--_material-button-raised-background-color: initial;
--_material-button-outline-color: initial;
/* Grid tweaks */
--_material-grid-row-hover-background-color: initial;
/* Split layout tweaks */
--_material-split-layout-splitter-background-color: initial;
background-color: var(--material-background-color);
color: var(--material-body-text-color);
}
[theme~='dark'] {
/* Text colors */
--material-body-text-color: var(--dark-theme-text-color, rgba(255, 255, 255, 1));
--material-secondary-text-color: var(--dark-theme-secondary-color, rgba(255, 255, 255, 0.7));
--material-disabled-text-color: var(--dark-theme-disabled-color, rgba(255, 255, 255, 0.5));
/* Primary colors */
--material-primary-color: var(--light-primary-color, #7e3ff2);
--material-primary-text-color: #b794f6;
/* Error colors */
--material-error-color: var(--error-color, #de2839);
--material-error-text-color: var(--material-error-color);
/* Background colors */
--material-background-color: var(--dark-theme-background-color, #303030);
--material-secondary-background-color: var(--dark-theme-secondary-background-color, #3b3b3b);
--material-disabled-color: rgba(255, 255, 255, 0.3);
/* Divider colors */
--material-divider-color: rgba(255, 255, 255, 0.12);
/* Undocumented internal properties (prefixed with three dashes) */
/* Text field tweaks */
--_material-text-field-input-line-background-color: #fff;
--_material-text-field-input-line-opacity: 0.7;
--_material-text-field-input-line-hover-opacity: 1;
--_material-text-field-focused-label-opacity: 1;
/* Button tweaks */
--_material-button-raised-background-color: rgba(255, 255, 255, 0.08);
--_material-button-outline-color: rgba(255, 255, 255, 0.2);
/* Grid tweaks */
--_material-grid-row-hover-background-color: rgba(255, 255, 255, 0.08);
--_material-grid-row-selected-overlay-opacity: 0.16;
/* Split layout tweaks */
--_material-split-layout-splitter-background-color: rgba(255, 255, 255, 0.8);
background-color: var(--material-background-color);
color: var(--material-body-text-color);
}
a {
color: inherit;
}
`,{moduleId:"material-color-light"});f("",o.iv`
:host {
/* Text colors */
--material-body-text-color: var(--dark-theme-text-color, rgba(255, 255, 255, 1));
--material-secondary-text-color: var(--dark-theme-secondary-color, rgba(255, 255, 255, 0.7));
--material-disabled-text-color: var(--dark-theme-disabled-color, rgba(255, 255, 255, 0.5));
/* Primary colors */
--material-primary-color: var(--light-primary-color, #7e3ff2);
--material-primary-text-color: #b794f6;
/* Error colors */
--material-error-color: var(--error-color, #de2839);
--material-error-text-color: var(--material-error-color);
/* Background colors */
--material-background-color: var(--dark-theme-background-color, #303030);
--material-secondary-background-color: var(--dark-theme-secondary-background-color, #3b3b3b);
--material-disabled-color: rgba(255, 255, 255, 0.3);
/* Divider colors */
--material-divider-color: rgba(255, 255, 255, 0.12);
/* Undocumented internal properties (prefixed with three dashes) */
/* Text field tweaks */
--_material-text-field-input-line-background-color: #fff;
--_material-text-field-input-line-opacity: 0.7;
--_material-text-field-input-line-hover-opacity: 1;
--_material-text-field-focused-label-opacity: 1;
/* Button tweaks */
--_material-button-raised-background-color: rgba(255, 255, 255, 0.08);
--_material-button-outline-color: rgba(255, 255, 255, 0.2);
/* Grid tweaks */
--_material-grid-row-hover-background-color: rgba(255, 255, 255, 0.08);
--_material-grid-row-selected-overlay-opacity: 0.16;
/* Split layout tweaks */
--_material-split-layout-splitter-background-color: rgba(255, 255, 255, 0.8);
background-color: var(--material-background-color);
color: var(--material-body-text-color);
}
`,{moduleId:"material-color-dark"});g("color-base",o.iv`
:host {
/* Text colors */
--material-body-text-color: var(--light-theme-text-color, rgba(0, 0, 0, 0.87));
--material-secondary-text-color: var(--light-theme-secondary-color, rgba(0, 0, 0, 0.54));
--material-disabled-text-color: var(--light-theme-disabled-color, rgba(0, 0, 0, 0.38));
/* Primary colors */
--material-primary-color: var(--primary-color, #6200ee);
--material-primary-contrast-color: var(--dark-theme-base-color, #fff);
--material-primary-text-color: var(--material-primary-color);
/* Error colors */
--material-error-color: var(--error-color, #b00020);
--material-error-text-color: var(--material-error-color);
/* Background colors */
--material-background-color: var(--light-theme-background-color, #fff);
--material-secondary-background-color: var(--light-theme-secondary-background-color, #f5f5f5);
--material-disabled-color: rgba(0, 0, 0, 0.26);
/* Divider colors */
--material-divider-color: rgba(0, 0, 0, 0.12);
}
`);const y=[],v=new Set,b=new Set;function C(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function w(e,t){return(e||"").split(" ").some((e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t)))}function x(e){return e.map((e=>e.cssText)).join("\n")}const P="vaadin-themable-mixin-style";function I(e){v.forEach((t=>{const i=t.deref();i instanceof e?function(e){if(!e.shadowRoot)return;const t=e.constructor;if(e instanceof o.oi)[...e.shadowRoot.querySelectorAll("style")].forEach((e=>e.remove())),(0,o.ec)(e.shadowRoot,t.elementStyles);else{const i=e.shadowRoot.getElementById(P),s=t.prototype._template;i.textContent=s.content.getElementById(P).textContent}}(i):i||v.delete(t)}))}function S(e){if(e.prototype instanceof o.oi)e.elementStyles=e.finalizeStyles(e.styles);else{e.prototype._template.content.getElementById(P).textContent=x(e.getStylesForThis())}b.forEach((t=>{const i=customElements.get(t);i!==e&&i.prototype instanceof e&&S(i)}))}const E=o.iv`
:host {
display: flex;
align-items: center;
box-sizing: border-box;
min-height: 36px;
padding: 8px 32px 8px 10px;
overflow: hidden;
font-family: var(--material-font-family);
font-size: var(--material-small-font-size);
line-height: 24px;
}
/* It's the list-box's responsibility to add the focus style */
:host([focused]) {
outline: none;
}
/* Checkmark */
[part='checkmark']::before {
display: var(--_material-item-selected-icon-display, none);
content: '';
font-family: material-icons;
font-size: 24px;
line-height: 1;
font-weight: 400;
width: 24px;
text-align: center;
margin-right: 10px;
color: var(--material-secondary-text-color);
flex: none;
}
:host([selected]) [part='checkmark']::before {
content: var(--material-icons-check);
}
@media (any-hover: hover) {
:host(:hover:not([disabled])) {
background-color: var(--material-secondary-background-color);
}
}
:host([focused]:not([disabled])) {
background-color: var(--material-divider-color);
}
/* Disabled */
:host([disabled]) {
color: var(--material-disabled-text-color);
cursor: default;
pointer-events: none;
}
/* RTL specific styles */
:host([dir='rtl']) {
padding: 8px 10px 8px 32px;
}
:host([dir='rtl']) [part='checkmark']::before {
margin-right: 0;
margin-left: 10px;
}
`;!function(e,t,i={}){t=function(e=[]){return[e].flat(1/0).filter((e=>e instanceof o.c3||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(e,t,i):y.push({themeFor:e,styles:t,include:i.include,moduleId:i.moduleId}),e&&b.forEach((i=>{if(w(e,i)&&function(e){return C(customElements.get(e))}(i)){const e=customElements.get(i);!function(e,t){const i=e.__themes;return!(!i||!t)&&i.some((e=>e.styles.some((e=>t.some((t=>t.cssText===e.cssText))))))}(e,t)?window.Vaadin&&window.Vaadin.suppressPostFinalizeStylesWarning||console.warn(`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`):console.warn(`Registering styles that already exist for ${i}`),S(e),I(e)}}))}("vaadin-item",E,{moduleId:"material-item"});const T=e=>class extends e{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(e,t,i){super.attributeChangedCallback(e,t,i),"theme"===e&&this._set_theme(i)}},O=[],A=new Set,V=new Set;function z(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function k(e,t){return(e||"").split(" ").some((e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t)))}function N(e){return e.map((e=>e.cssText)).join("\n")}const L="vaadin-themable-mixin-style";function R(e){A.forEach((t=>{const i=t.deref();i instanceof e?function(e){if(!e.shadowRoot)return;const t=e.constructor;if(e instanceof o.oi)[...e.shadowRoot.querySelectorAll("style")].forEach((e=>e.remove())),(0,o.ec)(e.shadowRoot,t.elementStyles);else{const i=e.shadowRoot.getElementById(L),s=t.prototype._template;i.textContent=s.content.getElementById(L).textContent}}(i):i||A.delete(t)}))}function M(e){if(e.prototype instanceof o.oi)e.elementStyles=e.finalizeStyles(e.styles);else{e.prototype._template.content.getElementById(L).textContent=N(e.getStylesForThis())}V.forEach((t=>{const i=customElements.get(t);i!==e&&i.prototype instanceof e&&M(i)}))}function F(e,t,i={}){t=function(e=[]){return[e].flat(1/0).filter((e=>e instanceof o.c3||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(e,t,i):O.push({themeFor:e,styles:t,include:i.include,moduleId:i.moduleId}),e&&V.forEach((i=>{if(k(e,i)&&function(e){return z(customElements.get(e))}(i)){const e=customElements.get(i);!function(e,t){const i=e.__themes;return!(!i||!t)&&i.some((e=>e.styles.some((e=>t.some((t=>t.cssText===e.cssText))))))}(e,t)?window.Vaadin&&window.Vaadin.suppressPostFinalizeStylesWarning||console.warn(`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`):console.warn(`Registering styles that already exist for ${i}`),M(e),R(e)}}))}function D(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():O}function B(e=""){let t=0;return e.startsWith("lumo-")||e.startsWith("material-")?t=1:e.startsWith("vaadin-")&&(t=2),t}function H(e){const t=[];return e.include&&[].concat(e.include).forEach((e=>{const i=D().find((t=>t.moduleId===e));i?t.push(...H(i),...i.styles):console.warn(`Included moduleId ${e} not found in style registry`)}),e.styles),t}function $(e){const t=`${e}-default-theme`,i=D().filter((i=>i.moduleId!==t&&k(i.themeFor,e))).map((e=>({...e,styles:[...H(e),...e.styles],includePriority:B(e.moduleId)}))).sort(((e,t)=>t.includePriority-e.includePriority));return i.length>0?i:D().filter((e=>e.moduleId===t))}const U=e=>class extends(T(e)){constructor(){super(),A.add(new WeakRef(this))}static finalize(){if(super.finalize(),this.is&&V.add(this.is),this.elementStyles)return;const e=this.prototype._template;e&&!z(this)&&function(e,t){const i=document.createElement("style");i.id=L,i.textContent=N(e),t.content.appendChild(i)}(this.getStylesForThis(),e)}static finalizeStyles(e){const t=this.getStylesForThis();return e?[...[e].flat(1/0),...t]:t}static getStylesForThis(){const t=e.__themes||[],i=Object.getPrototypeOf(this.prototype),s=(i?i.constructor.__themes:[])||[];this.__themes=[...t,...s,...$(this.is)];const r=this.__themes.flatMap((e=>e.styles));return r.filter(((e,t)=>t===r.lastIndexOf(e)))}};F("vaadin-combo-box-item",[E,o.iv`
:host {
cursor: pointer;
-webkit-tap-highlight-color: transparent;
padding: 4px 10px;
--_material-item-selected-icon-display: block;
}
`],{moduleId:"material-combo-box-item"});const j=o.iv`
[part~='loader'] {
height: 2px;
background: var(--material-background-color)
linear-gradient(
90deg,
transparent 0%,
transparent 20%,
var(--material-primary-color) 20%,
var(--material-primary-color) 40%,
transparent 40%,
transparent 60%,
var(--material-primary-color) 60%,
var(--material-primary-color) 80%,
transparent 80%,
transparent 100%
)
0 0 / 400% 100% repeat-x;
opacity: 0;
}
:host(:not([loading])) [part~='loader'] {
display: none;
}
:host([loading]) [part='loader'] {
animation:
3s linear infinite material-loader-progress,
0.3s 0.1s both material-loader-fade-in;
}
[part='loader']::before {
content: '';
display: block;
height: 100%;
opacity: 0.16;
background: var(--material-primary-color);
}
@keyframes material-loader-fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes material-loader-progress {
0% {
background-position: 0 0;
background-size: 300% 100%;
}
33% {
background-position: -100% 0;
background-size: 400% 100%;
}
67% {
background-position: -200% 0;
background-size: 250% 100%;
}
100% {
background-position: -300% 0;
background-size: 300% 100%;
}
}
/* RTL specific styles */
@keyframes material-loader-progress-rtl {
0% {
background-position: 100% 0;
background-size: 300% 100%;
}
33% {
background-position: 200% 0;
background-size: 400% 100%;
}
67% {
background-position: 300% 0;
background-size: 250% 100%;
}
100% {
background-position: 400% 0;
background-size: 300% 100%;
}
}
:host([loading][dir='rtl']) [part='loader'] {
animation:
3s linear infinite material-loader-progress-rtl,
0.3s 0.1s both material-loader-fade-in;
}
`;g("shadow",o.iv`
/* prettier-ignore */
:host {
/* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */
--material-shadow-elevation-2dp: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
--material-shadow-elevation-3dp: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 1px 8px 0 rgba(0, 0, 0, 0.12), 0 3px 3px -2px rgba(0, 0, 0, 0.4);
--material-shadow-elevation-4dp: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
--material-shadow-elevation-6dp: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.4);
--material-shadow-elevation-8dp: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.4);
--material-shadow-elevation-12dp: 0 12px 16px 1px rgba(0, 0, 0, 0.14), 0 4px 22px 3px rgba(0, 0, 0, 0.12), 0 6px 7px -4px rgba(0, 0, 0, 0.4);
--material-shadow-elevation-16dp: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4);
--material-shadow-elevation-24dp: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.4);
}
`);const q=o.iv`
:host {
top: 16px;
right: 16px;
/* TODO (@jouni): remove unnecessary multiplication after https://github.com/vaadin/vaadin-overlay/issues/90 is fixed */
bottom: calc(1px * var(--vaadin-overlay-viewport-bottom) + 16px);
left: 16px;
}
[part='overlay'] {
background-color: var(--material-background-color);
border-radius: 4px;
box-shadow: var(--material-shadow-elevation-4dp);
color: var(--material-body-text-color);
font-family: var(--material-font-family);
font-size: var(--material-body-font-size);
font-weight: 400;
}
[part='content'] {
padding: 8px 0;
}
[part='backdrop'] {
opacity: 0.2;
animation: 0.2s vaadin-overlay-backdrop-enter;
will-change: opacity;
}
@keyframes vaadin-overlay-backdrop-enter {
0% {
opacity: 0;
}
}
`;f("",q,{moduleId:"material-overlay"});const W=q;f("",W,{moduleId:"material-menu-overlay"});F("vaadin-combo-box-overlay",[W,o.iv`
[part='overlay'] {
position: relative;
overflow: visible;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
[part='content'] {
padding: 0;
}
`,j,o.iv`
[part~='loader'] {
position: absolute;
z-index: 1;
top: -2px;
left: 0;
right: 0;
}
`,o.iv`
:host {
--_vaadin-combo-box-items-container-border-width: 8px 0;
--_vaadin-combo-box-items-container-border-style: solid;
}
`],{moduleId:"material-combo-box-overlay"});i("70176");var Y=i("70617");let G=0;function K(){}K.prototype.__mixinApplications,K.prototype.__mixinSet;const J=function(e){let t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);let i=G++;return function(s){let r=s.__mixinSet;if(r&&r[i])return s;let n=t,o=n.get(s);if(!o){o=e(s),n.set(s,o);let t=Object.create(o.__mixinSet||r||null);t[i]=!0,o.__mixinSet=t}return o}};var X=i("97333");let Q={},Z={};function ee(e,t){Q[e]=Z[e.toLowerCase()]=t}function te(e){return Q[e]||Z[e.toLowerCase()]}class ie extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){if(e){let i=te(e);return i&&t?i.querySelector(t):i}return null}attributeChangedCallback(e,t,i,s){t!==i&&this.register()}get assetpath(){if(!this.__assetpath){const e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=(0,X.Kk)(this.getAttribute("assetpath")||"",e.baseURI);this.__assetpath=(0,X.iY)(t)}return this.__assetpath}register(e){if(e=e||this.id){if(Y.strictTemplatePolicy&&void 0!==te(e))throw ee(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,ee(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}ie.prototype.modules=Q,customElements.define("dom-module",ie);const se="shady-unscoped";function re(e){return ie.import(e)}function ne(e){let t=e.body?e.body:e;const i=(0,X.Rq)(t.textContent,e.baseURI),s=document.createElement("style");return s.textContent=i,s}function oe(e){const t=e.trim().split(/\s+/),i=[];for(let e=0;e<t.length;e++)i.push(...ae(t[e]));return i}function ae(e){const t=re(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const e=[];e.push(...de(t));const i=t.querySelector("template");i&&e.push(...le(i,t.assetpath)),t._styles=e}return t._styles}function le(e,t){if(!e._styles){const i=[],s=e.content.querySelectorAll("style");for(let e=0;e<s.length;e++){let r=s[e],n=r.getAttribute("include");n&&i.push(...oe(n).filter((function(e,t,i){return i.indexOf(e)===t}))),t&&(r.textContent=(0,X.Rq)(r.textContent,t)),i.push(r)}e._styles=i}return e._styles}function de(e){const t=[],i=e.querySelectorAll("link[rel=import][type~=css]");for(let e=0;e<i.length;e++){let s=i[e];if(s.import){const e=s.import,i=s.hasAttribute(se);if(i&&!e._unscopedStyle){const t=ne(e);t.setAttribute(se,""),e._unscopedStyle=t}else e._style||(e._style=ne(e));t.push(i?e._unscopedStyle:e._style)}}return t}i("84283");const he=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?e=>ShadyDOM.patch(e):e=>e;function ce(e){return e.indexOf(".")>=0}function ue(e){let t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function _e(e,t){return 0===e.indexOf(t+".")}function pe(e,t){return 0===t.indexOf(e+".")}function me(e,t,i){return t+i.slice(e.length)}function fe(e){if(Array.isArray(e)){let t=[];for(let i=0;i<e.length;i++){let s=e[i].toString().split(".");for(let e=0;e<s.length;e++)t.push(s[e])}return t.join(".")}return e}function ge(e){return Array.isArray(e)?fe(e).split("."):e.toString().split(".")}function ye(e,t,i){let s=e,r=ge(t);for(let e=0;e<r.length;e++){if(!s)return;s=s[r[e]]}return i&&(i.path=r.join(".")),s}function ve(e,t,i){let s=e,r=ge(t),n=r[r.length-1];if(r.length>1){for(let e=0;e<r.length-1;e++){if(s=s[r[e]],!s)return}s[n]=i}else s[t]=i;return r.join(".")}const be={},Ce=/-[a-z]/g,we=/([A-Z])/g;function xe(e){return be[e]||(be[e]=e.indexOf("-")<0?e:e.replace(Ce,(e=>e[1].toUpperCase())))}function Pe(e){return be[e]||(be[e]=e.replace(we,"-$1").toLowerCase())}i("88972");let Ie=0,Se=0,Ee=[],Te=0,Oe=!1,Ae=document.createTextNode("");new window.MutationObserver((function(){Oe=!1;const e=Ee.length;for(let t=0;t<e;t++){let e=Ee[t];if(e)try{e()}catch(e){setTimeout((()=>{throw e}))}}Ee.splice(0,e),Se+=e})).observe(Ae,{characterData:!0});const Ve={run:e=>(Oe||(Oe=!0,Ae.textContent=Te++),Ee.push(e),Ie++),cancel(e){const t=e-Se;if(t>=0){if(!Ee[t])throw new Error("invalid async handle: "+e);Ee[t]=null}}},ze=J((e=>class extends e{static createProperties(e){const t=this.prototype;for(let i in e)i in t||t._createPropertyAccessor(i)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let t=this.__dataAttributes[e];return t||(t=this.constructor.attributeNameForProperty(e),this.__dataAttributes[t]=e),t}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this.__da Line truncated
<style>
:host {
display: block;
}
:host([hidden]) {
display: none;
}
</style>
<span part="checkmark" aria-hidden="true"></span>
<div part="content">
<slot></slot>
</div>
`}static get is(){return"vaadin-combo-box-item"}}r(Wt);let Yt=!1,Gt=[],Kt=[];function Jt(){Yt=!0,requestAnimationFrame((function(){Yt=!1,Xt(Gt),setTimeout((function(){!function(e){for(let t=0,i=e.length;t<i;t++)Qt(e.shift())}(Kt)}))}))}function Xt(e){for(;e.length;)Qt(e.shift())}function Qt(e){const t=e[0],i=e[1],s=e[2];try{i.apply(t,s)}catch(e){setTimeout((()=>{throw e}))}}function Zt(e,t,i){Yt||Jt(),Kt.push([e,t,i])}const ei=e=>e.test(navigator.userAgent),ti=e=>e.test(navigator.platform);ei(/Android/u),ei(/Chrome/u)&&/Google Inc/u.test(navigator.vendor);ei(/Firefox/u);const ii=ti(/^iPad/u)||ti(/^Mac/u)&&navigator.maxTouchPoints>1,si=ti(/^iPhone/u)||ii,ri=ei(/^((?!chrome|android).)*safari/iu),ni=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}})();window.ShadowRoot&&"adoptedStyleSheets"in Document.prototype&&CSSStyleSheet.prototype;let oi=new WeakMap,ai=new WeakMap,li={},di=0;const hi=e=>e&&e.nodeType===Node.ELEMENT_NODE,ci=(...e)=>{console.error(`Error: ${e.join(" ")}. Skip setting aria-hidden.`)},ui=(e,t,i,s)=>{const r=((e,t)=>hi(e)?t.map((t=>{if(!hi(t))return ci(t,"is not a valid element"),null;let i=t;for(;i&&i!==e;){if(e.contains(i))return t;i=i.getRootNode().host}return ci(t,"is not contained inside",e),null})).filter((e=>Boolean(e))):(ci(e,"is not a valid element"),[]))(t,Array.isArray(e)?e:[e]);li[i]||(li[i]=new WeakMap);const n=li[i],o=[],a=new Set,l=new Set(r),d=e=>{if(!e||a.has(e))return;a.add(e);const t=e.assignedSlot;t&&d(t),d(e.parentNode||e.host)};r.forEach(d);const h=e=>{if(!e||l.has(e))return;const t=e.shadowRoot;(t?[...e.children,...t.children]:[...e.children]).forEach((e=>{if(!["template","script","style"].includes(e.localName))if(a.has(e))h(e);else{const t=e.getAttribute(s),r=null!==t&&"false"!==t,a=(oi.get(e)||0)+1,l=(n.get(e)||0)+1;oi.set(e,a),n.set(e,l),o.push(e),1===a&&r&&ai.set(e,!0),1===l&&e.setAttribute(i,"true"),r||e.setAttribute(s,"true")}}))};return h(t),a.clear(),di+=1,()=>{o.forEach((e=>{const t=oi.get(e)-1,r=n.get(e)-1;oi.set(e,t),n.set(e,r),t||(ai.has(e)?ai.delete(e):e.removeAttribute(s)),r||e.removeAttribute(i)})),di-=1,di||(oi=new WeakMap,oi=new WeakMap,ai=new WeakMap,li={})}},_i=(e,t=document.body,i="data-aria-hidden")=>{const s=Array.from(Array.isArray(e)?e:[e]);return t&&s.push(...Array.from(t.querySelectorAll("[aria-live]"))),ui(s,t,i,"aria-hidden")};HTMLElement.prototype;class pi{constructor(e,t){this.host=e,this.callback="function"==typeof t?t:()=>e}showModal(){const e=this.callback();this.__showOthers=_i(e)}close(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null)}}let mi=!1;function fi(){let e=document.activeElement||document.body;for(;e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function gi(){return mi}function yi(e){const t=e.style;if("hidden"===t.visibility||"none"===t.display)return!0;const i=window.getComputedStyle(e);return"hidden"===i.visibility||"none"===i.display}function vi(e,t){const i=Math.max(e.tabIndex,0),s=Math.max(t.tabIndex,0);return 0===i||0===s?s>i:i>s}function bi(e){const t=e.length;if(t<2)return e;const i=Math.ceil(t/2);return function(e,t){const i=[];for(;e.length>0&&t.length>0;)vi(e[0],t[0])?i.push(t.shift()):i.push(e.shift());return i.concat(e,t)}(bi(e.slice(0,i)),bi(e.slice(i)))}function Ci(e){return!e.matches('[tabindex="-1"]')&&(e.matches("input, select, textarea, button, object")?e.matches(":not([disabled])"):e.matches("a[href], area[href], iframe, [tabindex], [contentEditable]"))}function wi(e){return e.getRootNode().activeElement===e}function xi(e,t){if(e.nodeType!==Node.ELEMENT_NODE||yi(e))return!1;const i=e,s=function(e){if(!Ci(e))return-1;const t=e.getAttribute("tabindex")||0;return Number(t)}(i);let r=s>0;s>=0&&t.push(i);let n=[];return n="slot"===i.localName?i.assignedNodes({flatten:!0}):(i.shadowRoot||i).children,[...n].forEach((e=>{r=xi(e,t)||r})),r}window.addEventListener("keydown",(()=>{mi=!0}),{capture:!0}),window.addEventListener("mousedown",(()=>{mi=!1}),{capture:!0});class Pi{saveFocus(e){this.focusNode=e||fi()}restoreFocus(e){const t=this.focusNode;if(!t)return;const i=!!e&&e.preventScroll;fi()===document.body?setTimeout((()=>t.focus({preventScroll:i}))):t.focus({preventScroll:i}),this.focusNode=null}}const Ii=[];class Si{constructor(e){this.host=e,this.__trapNode=null,this.__onKeyDown=this.__onKeyDown.bind(this)}get __focusableElements(){return function(e){const t=[];return xi(e,t)?bi(t):t}(this.__trapNode)}get __focusedElementIndex(){const e=this.__focusableElements;return e.indexOf(e.filter(wi).pop())}hostConnected(){document.addEventListener("keydown",this.__onKeyDown)}hostDisconnected(){document.removeEventListener("keydown",this.__onKeyDown)}trapFocus(e){if(this.__trapNode=e,0===this.__focusableElements.length)throw this.__trapNode=null,new Error("The trap node should have at least one focusable descendant or be focusable itself.");Ii.push(this),-1===this.__focusedElementIndex&&this.__focusableElements[0].focus()}releaseFocus(){this.__t Line truncated
#overlay {
width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
}
[part='content'] {
display: flex;
flex-direction: column;
height: 100%;
}
`],{moduleId:"vaadin-combo-box-overlay-styles"});class Di extends(Fi(zi(jt(U(Bt))))){static get is(){return"vaadin-combo-box-overlay"}static get template(){return Ft`
<div id="backdrop" part="backdrop" hidden></div>
<div part="overlay" id="overlay">
<div part="loader"></div>
<div part="content" id="content"><slot></slot></div>
</div>
`}}function Bi(e,t){return e.split(".").reduce(((e,t)=>e?e[t]:void 0),t)}r(Di);let Hi=0;let $i=0,Ui=0;const ji=[];let qi=!1;const Wi={after:e=>({run:t=>window.setTimeout(t,e),cancel(e){window.clearTimeout(e)}}),run:(e,t)=>window.setTimeout(e,t),cancel(e){window.clearTimeout(e)}},Yi={run:e=>window.requestAnimationFrame(e),cancel(e){window.cancelAnimationFrame(e)}},Gi={run:e=>window.requestIdleCallback?window.requestIdleCallback(e):window.setTimeout(e,16),cancel(e){window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}},Ki={run(e){qi||(qi=!0,queueMicrotask((()=>function(){qi=!1;const e=ji.length;for(let t=0;t<e;t++){const e=ji[t];if(e)try{e()}catch(e){setTimeout((()=>{throw e}))}}ji.splice(0,e),Ui+=e}()))),ji.push(e);const t=$i;return $i+=1,t},cancel(e){const t=e-Ui;if(t>=0){if(!ji[t])throw new Error(`invalid async handle: ${e}`);ji[t]=null}}},Ji=new Set;class Xi{static debounce(e,t,i){return e instanceof Xi?e._cancelAsync():e=new Xi,e.setConfig(t,i),e}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(e,t){this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run((()=>{this._timer=null,Ji.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),Ji.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 Qi(){const e=Boolean(Ji.size);return Ji.forEach((e=>{try{e.flush()}catch(e){setTimeout((()=>{throw e}))}})),e}const Zi=()=>{let e;do{e=Qi()}while(e)},es=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u),ts=es&&es[1]>=8,is={_ratio:.5,_scrollerPaddingTop:0,_scrollPosition:0,_physicalSize:0,_physicalAverage:0,_physicalAverageCount:0,_physicalTop:0,_virtualCount:0,_estScrollHeight:0,_scrollHeight:0,_viewportHeight:0,_viewportWidth:0,_physicalItems:null,_physicalSizes:null,_firstVisibleIndexVal:null,_lastVisibleIndexVal:null,_maxPages:2,_templateCost:0,get _physicalBottom(){return this._physicalTop+this._physicalSize},get _scrollBottom(){return this._scrollPosition+this._viewportHeight},get _virtualEnd(){return this._virtualStart+this._physicalCount-1},get _hiddenContentSize(){return this._physicalSize-this._viewportHeight},get _maxScrollTop(){return this._estScrollHeight-this._viewportHeight+this._scrollOffset},get _maxVirtualStart(){const e=this._virtualCount;return Math.max(0,e-this._physicalCount)},get _virtualStart(){return this._virtualStartVal||0},set _virtualStart(e){e=this._clamp(e,0,this._maxVirtualStart),this._virtualStartVal=e},get _physicalStart(){return this._physicalStartVal||0},set _physicalStart(e){(e%=this._physicalCount)<0&&(e=this._physicalCount+e),this._physicalStartVal=e},get _physicalEnd(){return(this._physicalStart+this._physicalCount-1)%this._physicalCount},get _physicalCount(){return this._physicalCountVal||0},set _physicalCount(e){this._physicalCountVal=e},get _optPhysicalSize(){return 0===this._viewportHeight?1/0:this._viewportHeight*this._maxPages},get _isVisible(){return Boolean(this.offsetWidth||this.offsetHeight)},get firstVisibleIndex(){let e=this._firstVisibleIndexVal;if(null==e){let t=this._physicalTop+this._scrollOffset;e=this._iterateItems(((e,i)=>{if(t+=this._getPhysicalSizeIncrement(e),t>this._scrollPosition)return i}))||0,this._firstVisibleIndexVal=e}return e},get lastVisibleIndex(){let e=this._lastVisibleIndexVal;if(null==e){let t=this._physicalTop+this._scrollOffset;this._iterateItems(((i,s)=>{t<this._scrollBottom&&(e=s),t+=this._getPhysicalSizeIncrement(i)})),this._lastVisibleIndexVal=e}return e},get _scrollOffset(){return this._scrollerPaddingTop+this.scrollOffset},_scrollHandler(){const e=Math.max(0,Math.min(this._maxScrollTop,this._scrollTop));let t=e-this._scrollPosition;const i=t>=0;if(this._scrollPosition=e,this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,Math.abs(t)>this._physicalSize&&this._physicalSize>0){t-=this._scrollOffset;const e=Math.round(t/this._physicalAverage);this._virtualStart+=e,this._physicalStart+=e,this._physicalTop=Math.min(Math.floor(this._virtualStart)*this._physicalAverage,this._scrollPosition),this._update()}else if(this._physicalCount>0){const e=this._getReusables(i);i?(this._physicalTop=e.physicalTop,this._virtualStart+=e.indexes.length,this._physicalStart+=e.indexes.length):(this._virtualStart-=e.indexes.length,this._physicalStart-=e.indexes.length),this._update(e.indexes,i?null:e.indexes),this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,0),Ki)}},_getReusables(e){let t,i,s;const r=[],n=this._hiddenContentSize*this._ratio,o=this._virtualStart,a=this._virtualEnd,l=this._physicalCount;let d=this._physicalTop+this._scrollOffset;const h=this._physicalBottom+this._scrollOffset,c=this._scrollPosition,u=this._scrollBottom;for(e?(t=this._physicalStart,i=c-d):(t=this._physicalEnd,i=h-u);s=this._getPhysicalSizeIncrement(t),i-=s,!(r.length>=l||i<=n);)i Line truncated
<style>
:host {
display: block;
min-height: 1px;
overflow: auto;
/* Fixes item background from getting on top of scrollbars on Safari */
transform: translate3d(0, 0, 0);
/* Enable momentum scrolling on iOS */
-webkit-overflow-scrolling: touch;
/* Fixes scrollbar disappearing when 'Show scroll bars: Always' enabled in Safari */
box-shadow: 0 0 0 white;
}
#selector {
border-width: var(--_vaadin-combo-box-items-container-border-width);
border-style: var(--_vaadin-combo-box-items-container-border-style);
border-color: var(--_vaadin-combo-box-items-container-border-color, transparent);
position: relative;
}
</style>
<div id="selector">
<slot></slot>
</div>
`}}r(ls);const ds=J((e=>class extends e{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},manualValidation:{type:Boolean,value:!1},required:{type:Boolean,reflectToAttribute:!0}}}validate(){const e=this.checkValidity();return this._setInvalid(!e),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:e}})),e}checkValidity(){return!this.required||!!this.value}_setInvalid(e){this._shouldSetInvalid(e)&&(this.invalid=e)}_shouldSetInvalid(e){return!0}_requestValidation(){this.manualValidation||this.validate()}}));function hs(e,t,i=0){let s=t;for(const t of e.subCaches){const e=t.parentCacheIndex;if(s<=e)break;if(s<=e+t.flatSize)return hs(t,s-e-1,i+1);s-=t.flatSize}return{cache:e,item:e.items[s],index:s,page:Math.floor(s/e.pageSize),level:i}}function cs({getItemId:e},t,i,s=0,r=0){for(let n=0;n<t.items.length;n++){const o=t.items[n];if(o&&e(o)===e(i))return{cache:t,level:s,item:o,index:n,page:Math.floor(n/t.pageSize),subCache:t.getSubCache(n),flatIndex:r+t.getFlatIndex(n)}}for(const n of t.subCaches){const o=cs({getItemId:e},n,i,s+1,r+t.getFlatIndex(n.parentCacheIndex)+1);if(o)return o}}function us(e,[t,...i],s=0){t===1/0&&(t=e.size-1);const r=e.getFlatIndex(t),n=e.getSubCache(t);return n&&n.flatSize>0&&i.length?us(n,i,s+r+1):s+r}class _s{constructor(e,t,i,s,r){this.context=void 0,this.pageSize=void 0,this.items=[],this.pendingRequests={},this.__subCacheByIndex={},this.__size=0,this.__flatSize=0,this.context=e,this.pageSize=t,this.size=i,this.parentCache=s,this.parentCacheIndex=r,this.__flatSize=i||0}get parentItem(){return this.parentCache&&this.parentCache.items[this.parentCacheIndex]}get subCaches(){return Object.values(this.__subCacheByIndex)}get isLoading(){return Object.keys(this.pendingRequests).length>0||this.subCaches.some((e=>e.isLoading))}get flatSize(){return this.__flatSize}get effectiveSize(){return console.warn("<vaadin-grid> The `effectiveSize` property of ItemCache is deprecated and will be removed in Vaadin 25."),this.flatSize}get size(){return this.__size}set size(e){if(this.__size!==e){if(this.__size=e,void 0!==this.context.placeholder){this.items.length=e||0;for(let t=0;t<e;t++)this.items[t]||=this.context.placeholder}Object.keys(this.pendingRequests).forEach((e=>{parseInt(e)*this.pageSize>=this.size&&delete this.pendingRequests[e]}))}}recalculateFlatSize(){this.__flatSize=!this.parentItem||this.context.isExpanded(this.parentItem)?this.size+this.subCaches.reduce(((e,t)=>(t.recalculateFlatSize(),e+t.flatSize)),0):0}setPage(e,t){const i=e*this.pageSize;t.forEach(((e,t)=>{const s=i+t;(void 0===this.size||s<this.size)&&(this.items[s]=e)}))}getSubCache(e){return this.__subCacheByIndex[e]}removeSubCache(e){delete this.__subCacheByIndex[e]}removeSubCaches(){this.__subCacheByIndex={}}createSubCache(e){const t=new _s(this.context,this.pageSize,0,this,e);return this.__subCacheByIndex[e]=t,t}getFlatIndex(e){const t=Math.max(0,Math.min(this.size-1,e));return this.subCaches.reduce(((e,i)=>{const s=i.parentCacheIndex;return t>s?e+i.flatSize:e}),t)}getItemForIndex(e){console.warn("<vaadin-grid> The `getItemForIndex` method of ItemCache is deprecated and will be removed in Vaadin 25.");const{item:t}=hs(this,e);return t}getCacheAndIndex(e){console.warn("<vaadin-grid> The `getCacheAndIndex` method of ItemCache is deprecated and will be removed in Vaadin 25.");const{cache:t,index:i}=hs(this,e);return{cache:t,scaledIndex:i}}updateSize(){console.warn("<vaadin-grid> The `updateSize` method of ItemCache is deprecated and will be removed in Vaadin 25."),this.recalculateFlatSize()}ensureSubCacheForScaledIndex(e){if(console.warn("<vaadin-grid> The `ensureSubCacheForScaledIndex` method of ItemCache is deprecated and will be removed in Vaadin 25."),!this.getSubCache(e)){const t=this.createSubCache(e);this.context.__controller.__loadCachePage(t,0)}}get grid(){return console.warn("<vaadin-grid> The `grid` property of ItemCache is deprecated and will be removed in Vaadin 25."),this.context.__controller.host}get itemCaches(){return console.warn("<vaadin-grid> The `itemCaches` property of ItemCache is deprecated and will be removed in Vaadin 25."),this.__subCacheByIndex}}class ps extends EventTarget{constructor(e,{size:t,pageSize:i,isExpanded:s,getItemId:r,isPlaceholder:n,placeholder:o,dataProvider:a,dataProviderParams:l}){super(),this.host=void 0,this.dataProvider=void 0,this.dataProviderParams=void 0,this.pageSize=void 0,this.isExpanded=void 0,this.getItemId=void 0,this.rootCache=void 0,this.placeholder=void 0,this.isPlaceholder=void 0,this.host=e,this.pageSize=i,this.getItemId=r,this.isExpanded=s,this.placeholder=o,this.isPlaceholder=n,this.dataProvider=a,this.dataProviderParams=l,this.rootCache=this.__createRootCache(t)}get flatSize(){return this.rootCache.flatSize}get __cacheContext(){return{isExpanded:this.isExpanded,placeholder:this.placeholder,__controller:this}}isLoading(){return this.rootCache.isLoading}setPageSize(e){this.pageSize=e,this.clearCache()}setDataPr Line truncated
<style>
:host([opened]) {
pointer-events: auto;
}
</style>
<slot></slot>
<vaadin-combo-box-overlay
id="overlay"
opened="[[_overlayOpened]]"
loading$="[[loading]]"
theme$="[[_theme]]"
position-target="[[inputElement]]"
no-vertical-overlap
></vaadin-combo-box-overlay>
`}}r(Ss)},87220:function(e,t,i){i.d(t,{hC:()=>_});i("13334"),i("92745"),i("92519"),i("42179"),i("89256"),i("24931"),i("88463"),i("57449"),i("19814"),i("39527"),i("99790"),i("67670"),i("34810"),i("41360"),i("36993");var s=i("57243");const r=[],n=new Set,o=new Set;function a(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function l(e,t){return(e||"").split(" ").some((e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t)))}function d(e){return e.map((e=>e.cssText)).join("\n")}const h="vaadin-themable-mixin-style";function c(e){n.forEach((t=>{const i=t.deref();i instanceof e?function(e){if(!e.shadowRoot)return;const t=e.constructor;if(e instanceof s.oi)[...e.shadowRoot.querySelectorAll("style")].forEach((e=>e.remove())),(0,s.ec)(e.shadowRoot,t.elementStyles);else{const i=e.shadowRoot.getElementById(h),s=t.prototype._template;i.textContent=s.content.getElementById(h).textContent}}(i):i||n.delete(t)}))}function u(e){if(e.prototype instanceof s.oi)e.elementStyles=e.finalizeStyles(e.styles);else{e.prototype._template.content.getElementById(h).textContent=d(e.getStylesForThis())}o.forEach((t=>{const i=customElements.get(t);i!==e&&i.prototype instanceof e&&u(i)}))}function _(e,t,i={}){t=function(e=[]){return[e].flat(1/0).filter((e=>e instanceof s.c3||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(e,t,i):r.push({themeFor:e,styles:t,include:i.include,moduleId:i.moduleId}),e&&o.forEach((i=>{if(l(e,i)&&function(e){return a(customElements.get(e))}(i)){const e=customElements.get(i);!function(e,t){const i=e.__themes;return!(!i||!t)&&i.some((e=>e.styles.some((e=>t.some((t=>t.cssText===e.cssText))))))}(e,t)?window.Vaadin&&window.Vaadin.suppressPostFinalizeStylesWarning||console.warn(`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`):console.warn(`Registering styles that already exist for ${i}`),u(e),c(e)}}))}},1714:function(e,t,i){i.d(t,{sR:function(){return c}});i(92519),i(42179),i(89256),i(24931),i(88463),i(57449),i(19814);var s=i(53232),r=i(45779);const n=(e,t)=>{var i,s;const r=e._$AN;if(void 0===r)return!1;for(const e of r)null===(s=(i=e)._$AO)||void 0===s||s.call(i,t,!1),n(e,t);return!0},o=e=>{let t,i;do{if(void 0===(t=e._$AM))break;i=t._$AN,i.delete(e),e=t}while(0===(null==i?void 0:i.size))},a=e=>{for(let t;t=e._$AM;e=t){let i=t._$AN;if(void 0===i)t._$AN=i=new Set;else if(i.has(e))break;i.add(e),h(t)}};function l(e){void 0!==this._$AN?(o(this),this._$AM=e,a(this)):this._$AM=e}function d(e,t=!1,i=0){const s=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(t)if(Array.isArray(s))for(let e=i;e<s.length;e++)n(s[e],!1),o(s[e]);else null!=s&&(n(s,!1),o(s));else n(this,e)}const h=e=>{var t,i,s,n;e.type==r.pX.CHILD&&(null!==(t=(s=e)._$AP)&&void 0!==t||(s._$AP=d),null!==(i=(n=e)._$AQ)&&void 0!==i||(n._$AQ=l))};class c extends r.Xe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,i){super._$AT(e,t,i),a(this),this.isConnected=e._$AU}_$AO(e,t=!0){var i,s;e!==this.isConnected&&(this.isConnected=e,e?null===(i=this.reconnected)||void 0===i||i.call(this):null===(s=this.disconnected)||void 0===s||s.call(this)),t&&(n(this,e),o(this))}setValue(e){if((0,s.OR)(this._$Ct))this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}},67753:function(e,t,i){i.d(t,{sR:function(){return s.sR}});var s=i(1714)}};
//# sourceMappingURL=3397.cc10248a8cd5123d.js.map