@everymatrix/user-login 1.50.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,7 @@ const NAMESPACE = 'user-login';
24
24
  const BUILD = /* user-login */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -345,17 +345,30 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
345
345
  if (nonce != null) {
346
346
  styleElm.setAttribute("nonce", nonce);
347
347
  }
348
- const injectStyle = (
349
- /**
350
- * we render a scoped component
351
- */
352
- !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
353
- * we are using shadow dom and render the style tag within the shadowRoot
354
- */
355
- cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
356
- );
357
- if (injectStyle) {
358
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
348
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
349
+ if (styleContainerNode.nodeName === "HEAD") {
350
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
351
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
352
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
353
+ } else if ("host" in styleContainerNode) {
354
+ if (supportsConstructableStylesheets) {
355
+ const stylesheet = new CSSStyleSheet();
356
+ stylesheet.replaceSync(style);
357
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
358
+ } else {
359
+ const existingStyleContainer = styleContainerNode.querySelector("style");
360
+ if (existingStyleContainer) {
361
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
362
+ } else {
363
+ styleContainerNode.prepend(styleElm);
364
+ }
365
+ }
366
+ } else {
367
+ styleContainerNode.append(styleElm);
368
+ }
369
+ }
370
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
371
+ styleContainerNode.insertBefore(styleElm, null);
359
372
  }
360
373
  }
361
374
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
@@ -427,7 +440,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
427
440
  if (memberName === "list") {
428
441
  isProp = false;
429
442
  } else if (oldValue == null || elm[memberName] != n) {
430
- elm[memberName] = n;
443
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
444
+ elm[memberName] = n;
445
+ } else {
446
+ elm.setAttribute(memberName, n);
447
+ }
431
448
  }
432
449
  } else {
433
450
  elm[memberName] = newValue;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-465784fc.js');
5
+ const index = require('./index-ce110273.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-465784fc.js');
5
+ const index = require('./index-ce110273.js');
6
6
 
7
7
  const DEFAULT_LANGUAGE = 'en';
8
8
  const TRANSLATIONS = {
@@ -7062,7 +7062,7 @@ const PropertiesMixin = dedupingMixin(superClass => {
7062
7062
  * Current Polymer version in Semver notation.
7063
7063
  * @type {string} Semver notation of the current version of Polymer.
7064
7064
  */
7065
- const version = '3.5.1';
7065
+ const version = '3.5.2';
7066
7066
 
7067
7067
  const builtCSS = window.ShadyCSS && window.ShadyCSS['cssBuild'];
7068
7068
 
@@ -14928,7 +14928,7 @@ if (window.Vaadin.developmentMode === undefined) {
14928
14928
  /* This file is autogenerated from src/vaadin-usage-statistics.tpl.html */
14929
14929
 
14930
14930
  function maybeGatherAndSendStats() {
14931
- /** vaadin-dev-mode:start
14931
+ /*! vaadin-dev-mode:start
14932
14932
  (function () {
14933
14933
  'use strict';
14934
14934
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-465784fc.js');
5
+ const index = require('./index-ce110273.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('user-login.cjs.js', document.baseURI).href));
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.20.0",
8
- "typescriptVersion": "5.5.3"
7
+ "version": "4.22.3",
8
+ "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []
@@ -2,7 +2,7 @@ const NAMESPACE = 'user-login';
2
2
  const BUILD = /* user-login */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -323,17 +323,30 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
323
323
  if (nonce != null) {
324
324
  styleElm.setAttribute("nonce", nonce);
325
325
  }
326
- const injectStyle = (
327
- /**
328
- * we render a scoped component
329
- */
330
- !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
331
- * we are using shadow dom and render the style tag within the shadowRoot
332
- */
333
- cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
334
- );
335
- if (injectStyle) {
336
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
326
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
327
+ if (styleContainerNode.nodeName === "HEAD") {
328
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
329
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
330
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
331
+ } else if ("host" in styleContainerNode) {
332
+ if (supportsConstructableStylesheets) {
333
+ const stylesheet = new CSSStyleSheet();
334
+ stylesheet.replaceSync(style);
335
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
336
+ } else {
337
+ const existingStyleContainer = styleContainerNode.querySelector("style");
338
+ if (existingStyleContainer) {
339
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
340
+ } else {
341
+ styleContainerNode.prepend(styleElm);
342
+ }
343
+ }
344
+ } else {
345
+ styleContainerNode.append(styleElm);
346
+ }
347
+ }
348
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
349
+ styleContainerNode.insertBefore(styleElm, null);
337
350
  }
338
351
  }
339
352
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
@@ -405,7 +418,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
405
418
  if (memberName === "list") {
406
419
  isProp = false;
407
420
  } else if (oldValue == null || elm[memberName] != n) {
408
- elm[memberName] = n;
421
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
422
+ elm[memberName] = n;
423
+ } else {
424
+ elm.setAttribute(memberName, n);
425
+ }
409
426
  }
410
427
  } else {
411
428
  elm[memberName] = newValue;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-4e85bfaa.js';
2
- export { s as setNonce } from './index-4e85bfaa.js';
1
+ import { b as bootstrapLazy } from './index-824bb999.js';
2
+ export { s as setNonce } from './index-824bb999.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h as h$2 } from './index-4e85bfaa.js';
1
+ import { r as registerInstance, h as h$2 } from './index-824bb999.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const TRANSLATIONS = {
@@ -7058,7 +7058,7 @@ const PropertiesMixin = dedupingMixin(superClass => {
7058
7058
  * Current Polymer version in Semver notation.
7059
7059
  * @type {string} Semver notation of the current version of Polymer.
7060
7060
  */
7061
- const version = '3.5.1';
7061
+ const version = '3.5.2';
7062
7062
 
7063
7063
  const builtCSS = window.ShadyCSS && window.ShadyCSS['cssBuild'];
7064
7064
 
@@ -14924,7 +14924,7 @@ if (window.Vaadin.developmentMode === undefined) {
14924
14924
  /* This file is autogenerated from src/vaadin-usage-statistics.tpl.html */
14925
14925
 
14926
14926
  function maybeGatherAndSendStats() {
14927
- /** vaadin-dev-mode:start
14927
+ /*! vaadin-dev-mode:start
14928
14928
  (function () {
14929
14929
  'use strict';
14930
14930
 
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-4e85bfaa.js';
2
- export { s as setNonce } from './index-4e85bfaa.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-824bb999.js';
2
+ export { s as setNonce } from './index-824bb999.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -1015,6 +1015,8 @@ export declare namespace JSXBase {
1015
1015
  autoPlay?: boolean;
1016
1016
  autoplay?: boolean | string;
1017
1017
  controls?: boolean;
1018
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1019
+ controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1018
1020
  crossOrigin?: string;
1019
1021
  crossorigin?: string;
1020
1022
  loop?: boolean;
@@ -1564,6 +1566,10 @@ export declare namespace JSXBase {
1564
1566
  onSubmitCapture?: (event: Event) => void;
1565
1567
  onInvalid?: (event: Event) => void;
1566
1568
  onInvalidCapture?: (event: Event) => void;
1569
+ onBeforeToggle?: (event: Event) => void;
1570
+ onBeforeToggleCapture?: (event: Event) => void;
1571
+ onToggle?: (event: Event) => void;
1572
+ onToggleCapture?: (event: Event) => void;
1567
1573
  onLoad?: (event: Event) => void;
1568
1574
  onLoadCapture?: (event: Event) => void;
1569
1575
  onError?: (event: Event) => void;
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,m=[],y=[],w=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&f.l?b(v):f.raf(v))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},v=()=>{$(m),$(y),(d=m.length>0)&&f.raf(v)},b=e=>h().then(e),g=w(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>O,unwrap:()=>x,unwrapErr:()=>P});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?D(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=D(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},D=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),R={},H=new WeakMap,L=e=>"sc-"+e.v,T=(e,t,n,l,s,r)=>{if(n!==l){let i=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=U(n),s=U(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((i||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(W);t=t.replace(F,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},N=/\s/,U=e=>e?e.split(N):[],W="Capture",F=RegExp(W+"$"),q=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||S,s=t.u||S;for(const e of G(Object.keys(o)))e in s||T(l,e,o[e],void 0,n,t.l);for(const e of G(Object.keys(s)))T(l,e,o[e],s[e],n,t.l)};function G(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var V=!1,_=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.$=a.createTextNode(l.i);else{if(V||(V="svg"===l.m),o=l.$=a.createElementNS(V?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.m),V&&"foreignObject"===l.m&&(V=!1),q(null,l,V),o.getRootNode().querySelector("body"),l.h)for(r=0;r<l.h.length;++r)s=_(e,l,r),s&&o.appendChild(s);"svg"===l.m?V=!1:"foreignObject"===o.tagName&&(V=!0)}return o["s-hn"]=M,o},z=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===M&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=_(null,n,o),r&&(l[o].$=r,Q(i,r,t)))},B=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;K(t),e&&e.remove()}}},I=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),J=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,r=t.m,i=t.i;null===i?(q(e,t,V="svg"===r||"foreignObject"!==r&&V),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],d=l.length-1,m=l[0],y=l[d];for(;i<=f&&c<=d;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--d];else if(I(h,m,o))J(h,m,o),h=t[++i],m=l[++c];else if(I(p,y,o))J(p,y,o),p=t[--f],y=l[--d];else if(I(h,y,o))J(h,y,o),Q(e,h.$,p.$.nextSibling),h=t[++i],y=l[--d];else if(I(p,m,o))J(p,m,o),Q(e,p.$,h.$),p=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.m!==m.m?s=_(t&&t[c],n,u):(J(r,m,o),t[u]=void 0,s=r.$),m=l[++c]):(s=_(t&&t[c],n,c),m=l[++c]),s&&Q(h.$.parentNode,s,h.$)}i>f?z(e,null==l[d+1]?null:l[d+1].$,n,l,c,d):c>d&&B(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),z(l,null,t,s,0,s.length-1)):!n&&null!==o&&B(o,0,o.length-1),V&&"svg"===r&&(V=!1)):e.i!==i&&(l.data=i)},K=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(K)},Q=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),X=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Y=(e,t)=>{if(e.l|=16,!(4&e.l))return X(e,e.j),g((()=>Z(e,t)));e.l|=512},Z=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(l=re(n,"componentWillLoad")),ee(l,(()=>ne(e,n,t)))},ee=(e,t)=>te(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),te=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ne=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=L(t),o=i.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=H.get(e=e.head||e);if(r||H.set(e,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const l=null!=(n=f.O)?n:k(a);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(p){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=c),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);le(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>oe(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},le=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.k,s=e.C||D(null,null),r=(e=>e&&e.m===R)(t)?t:A(null,null,t);if(M=l.tagName,o.M&&(r.u=r.u||{},o.M.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.C=r,r.$=s.$=l.shadowRoot||l,J(s,r,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},oe=e=>{const t=e.$hostElement$,n=e.t,l=e.j;re(n,"componentDidRender"),64&e.l||(e.l|=64,ie(t),re(n,"componentDidLoad"),e.P(t),l||se()),e.S&&(e.S(),e.S=void 0),512&e.l&&b((()=>Y(e,!1))),e.l&=-517},se=()=>{ie(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"user-login"}});return e.dispatchEvent(t),t})(u)))},re=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},ie=e=>e.classList.add("hydrated"),ce=(e,t,l)=>{var o,r;const i=e.prototype;if(t.A||t.D||e.watchers){e.watchers&&!t.D&&(t.D=e.watchers);const c=Object.entries(null!=(o=t.A)?o:{});if(c.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).R.get(t))(0,e)},set(l){((e,t,l,o)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.R.get(t),u=r.l,a=r.t;if(l=((e,t)=>null==e||j(e)?e:1&t?e+"":e)(l,o.A[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(r.R.set(t,l),a)){if(o.D&&128&u){const e=o.D[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,i)}}))}2==(18&u)&&Y(r,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.D)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.D)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.M)||o.push([e,s])),s}))]))}}return e},ue=e=>{re(e,"disconnectedCallback")},ae=(e,l={})=>{var o;const h=[],d=l.exclude||[],m=u.customElements,y=a.head,w=y.querySelector("meta[charset]"),$=a.createElement("style"),v=[];let b,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],v:l[1],A:l[2],H:l[3]};4&c.l&&(S=!0),c.A=l[2],c.M=[],c.D=null!=(o=l[4])?o:{};const u=c.v,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,k:n,R:new Map};l.L=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?v.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.k,o=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.L)&&t.L.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.j=n);break}}l.A&&Object.entries(l.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.T){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.T;if(!n)return;const l=r.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.N}" was not found`);l.isProxied||(n.D=l.watchers,ce(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=L(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)?ue(e.t):(null==e?void 0:e.L)&&e.L.then((()=>ue(e.t)))}})()))}componentOnReady(){return n(this).L}};c.T=e[0],d.includes(u)||m.get(u)||(h.push(u),m.define(u,ce(a,c,1)))}))})),h.length>0&&(S&&($.textContent+=c),$.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(o=f.O)?o:k(a);null!=e&&$.setAttribute("nonce",e),y.insertBefore($,w?w.nextSibling:y.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(se,30)))},fe=e=>f.O=e;export{ae as b,A as h,h as p,l as r,fe as s}
@@ -1,4 +1,4 @@
1
- import{r as t,h as e}from"./p-a86a26ad.js";const i={en:{invalidField:"This field is invalid",forgotPassword:"Forgot Password",userEmail:"Username or Email",userPhone:"Phone number",userPrefix:"Phone prefix",password:"Password",login:"Login",genericError:"An unexpected error has occured",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",Unauthorized:"The player account number, e-mail address or password is incorrect",CountryRestricted:"Registration is not possible from a restricted jurisdiction. If you encounter further issues, please contact support."},ro:{invalidField:"Acest câmp este invalid",forgotPassword:"Ați uitat parola",userEmail:"Nume utilizator sau email",userPhone:"Număr de telefon",userPrefix:"Prefix telefon",password:"Parolă",login:"Autentificare",genericError:"A apărut o eroare neașteptată",successMessage:"Autentificare reușită",Forbidden_UserAccount_Blocked:"Contul de jucător este blocat",Unauthorized:"Numărul contului de jucător, adresa de e-mail sau parola sunt incorecte",CountryRestricted:"Înregistrarea nu este posibilă dintr-o jurisdicție restricționată. Dacă întâmpinați alte probleme, vă rugăm să contactați asistența."},hr:{invalidField:"Ovo polje je nevažeće",forgotPassword:"Zaboravljena lozinka",userEmail:"Korisničko ime ili email",userPhone:"Broj telefona",userPrefix:"Telefonski prefix",password:"Lozinka",login:"Prijava",genericError:"Došlo je do neočekivane pogreške",successMessage:"Prijava uspješna",Forbidden_UserAccount_Blocked:"Vaš račun je blokiran",Unauthorized:"Lozinka, e-mail adresa ili korisničko ime su pogrešno uneseni",CountryRestricted:"Prijava nije moguća iz zemlje ograničene jurisdikcije. U slučaju daljnjih poteškoća, molimo kontaktirajte podršku."},fr:{invalidField:"Ce champ est invalide",forgotPassword:"Mot de passe oublié",userEmail:"Nom d'utilisateur ou email",userPhone:"Numéro de téléphone",userPrefix:"Préfixe téléphonique",password:"Mot de passe",login:"Connexion",genericError:"Une erreur inattendue est survenue",successMessage:"Connexion réussie",Forbidden_UserAccount_Blocked:"Compte joueur bloqué",Unauthorized:"Le numéro de compte joueur, l'adresse e-mail ou le mot de passe est incorrect",CountryRestricted:"L'inscription n'est pas possible depuis une juridiction restreinte. Si vous rencontrez d'autres problèmes, veuillez contacter le support."},cs:{invalidField:"Ovo polje je nevažeće.",forgotPassword:"Zaboravio sam lozinku ",userEmail:"Korisničko ime ili email",userPhone:"Telefonní číslo",userPrefix:"Telefonní předvolba",password:"Lozinka",login:"Prijava",genericError:"An unexpected error has occured",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",Unauthorized:"Číslo účtu hráče, e-mailová adresa nebo heslo je nesprávné",CountryRestricted:"Registrace není možná z omezené jurisdikce. Pokud narazíte na další potíže, kontaktujte prosím podporu."},de:{invalidField:"Dieses Feld ist ungültig",forgotPassword:"Passwort vergessen",userEmail:"Benutzername oder E-Mail",userPhone:"Telefonnummer",userPrefix:"Telefonvorwahl",password:"Passwort",login:"Anmelden",genericError:"Ein unerwarteter Fehler ist aufgetreten",successMessage:"Erfolgreich angemeldet",Forbidden_UserAccount_Blocked:"Spielerkonto gesperrt",Unauthorized:"Die Spieler-Kontonummer, E-Mail-Adresse oder das Passwort ist falsch",CountryRestricted:"Eine Registrierung ist aus einer eingeschränkten Gerichtsbarkeit nicht möglich. Wenn Sie weitere Probleme haben, wenden Sie sich bitte an den Support."},"pt-br":{invalidField:"Este campo é inválido",forgotPassword:"Esqueceu a senha",userEmail:"Nome de usuário ou e-mail",userPhone:"Número de telefone",userPrefix:"Prefixo de telefone",password:"Senha",login:"Login",genericError:"Ocorreu um erro inesperado",successMessage:"Login bem-sucedido",Forbidden_UserAccount_Blocked:"Conta de jogador bloqueada",Unauthorized:"O número da conta de jogador, o endereço de e-mail ou a senha estão incorretos",CountryRestricted:"O registro não é possível a partir de uma jurisdição restrita. Caso encontre outros problemas, entre em contato com o suporte."},"es-mx":{invalidField:"Este campo es inválido",forgotPassword:"Olvidé la contraseña",userEmail:"Nombre de usuario o correo electrónico",userPhone:"Número de teléfono",userPrefix:"Prefijo telefónico",password:"Contraseña",login:"Iniciar sesión",genericError:"Ocurrió un error inesperado",successMessage:"Inicio de sesión exitoso",Forbidden_UserAccount_Blocked:"Cuenta de jugador bloqueada",Unauthorized:"El número de cuenta de jugador, la dirección de correo electrónico o la contraseña son incorrectos",CountryRestricted:"El registro no es posible desde una jurisdicción restringida. Si encuentra más problemas, por favor contacte al soporte."}},s=t=>new Promise((e=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{i[e]||(i[e]={});for(let s in t[e])i[e][s]=t[e][s]})),e(!0)}))})),o=(t,e,s)=>{let o=i[void 0!==e&&e in i?e:"en"][t];if(void 0!==s)for(const[t,e]of Object.entries(s.values)){const i=new RegExp(`{${t}}`,"g");o=o.replace(i,e)}return o};
1
+ import{r as t,h as e}from"./p-57aa7a6f.js";const i={en:{invalidField:"This field is invalid",forgotPassword:"Forgot Password",userEmail:"Username or Email",userPhone:"Phone number",userPrefix:"Phone prefix",password:"Password",login:"Login",genericError:"An unexpected error has occured",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",Unauthorized:"The player account number, e-mail address or password is incorrect",CountryRestricted:"Registration is not possible from a restricted jurisdiction. If you encounter further issues, please contact support."},ro:{invalidField:"Acest câmp este invalid",forgotPassword:"Ați uitat parola",userEmail:"Nume utilizator sau email",userPhone:"Număr de telefon",userPrefix:"Prefix telefon",password:"Parolă",login:"Autentificare",genericError:"A apărut o eroare neașteptată",successMessage:"Autentificare reușită",Forbidden_UserAccount_Blocked:"Contul de jucător este blocat",Unauthorized:"Numărul contului de jucător, adresa de e-mail sau parola sunt incorecte",CountryRestricted:"Înregistrarea nu este posibilă dintr-o jurisdicție restricționată. Dacă întâmpinați alte probleme, vă rugăm să contactați asistența."},hr:{invalidField:"Ovo polje je nevažeće",forgotPassword:"Zaboravljena lozinka",userEmail:"Korisničko ime ili email",userPhone:"Broj telefona",userPrefix:"Telefonski prefix",password:"Lozinka",login:"Prijava",genericError:"Došlo je do neočekivane pogreške",successMessage:"Prijava uspješna",Forbidden_UserAccount_Blocked:"Vaš račun je blokiran",Unauthorized:"Lozinka, e-mail adresa ili korisničko ime su pogrešno uneseni",CountryRestricted:"Prijava nije moguća iz zemlje ograničene jurisdikcije. U slučaju daljnjih poteškoća, molimo kontaktirajte podršku."},fr:{invalidField:"Ce champ est invalide",forgotPassword:"Mot de passe oublié",userEmail:"Nom d'utilisateur ou email",userPhone:"Numéro de téléphone",userPrefix:"Préfixe téléphonique",password:"Mot de passe",login:"Connexion",genericError:"Une erreur inattendue est survenue",successMessage:"Connexion réussie",Forbidden_UserAccount_Blocked:"Compte joueur bloqué",Unauthorized:"Le numéro de compte joueur, l'adresse e-mail ou le mot de passe est incorrect",CountryRestricted:"L'inscription n'est pas possible depuis une juridiction restreinte. Si vous rencontrez d'autres problèmes, veuillez contacter le support."},cs:{invalidField:"Ovo polje je nevažeće.",forgotPassword:"Zaboravio sam lozinku ",userEmail:"Korisničko ime ili email",userPhone:"Telefonní číslo",userPrefix:"Telefonní předvolba",password:"Lozinka",login:"Prijava",genericError:"An unexpected error has occured",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",Unauthorized:"Číslo účtu hráče, e-mailová adresa nebo heslo je nesprávné",CountryRestricted:"Registrace není možná z omezené jurisdikce. Pokud narazíte na další potíže, kontaktujte prosím podporu."},de:{invalidField:"Dieses Feld ist ungültig",forgotPassword:"Passwort vergessen",userEmail:"Benutzername oder E-Mail",userPhone:"Telefonnummer",userPrefix:"Telefonvorwahl",password:"Passwort",login:"Anmelden",genericError:"Ein unerwarteter Fehler ist aufgetreten",successMessage:"Erfolgreich angemeldet",Forbidden_UserAccount_Blocked:"Spielerkonto gesperrt",Unauthorized:"Die Spieler-Kontonummer, E-Mail-Adresse oder das Passwort ist falsch",CountryRestricted:"Eine Registrierung ist aus einer eingeschränkten Gerichtsbarkeit nicht möglich. Wenn Sie weitere Probleme haben, wenden Sie sich bitte an den Support."},"pt-br":{invalidField:"Este campo é inválido",forgotPassword:"Esqueceu a senha",userEmail:"Nome de usuário ou e-mail",userPhone:"Número de telefone",userPrefix:"Prefixo de telefone",password:"Senha",login:"Login",genericError:"Ocorreu um erro inesperado",successMessage:"Login bem-sucedido",Forbidden_UserAccount_Blocked:"Conta de jogador bloqueada",Unauthorized:"O número da conta de jogador, o endereço de e-mail ou a senha estão incorretos",CountryRestricted:"O registro não é possível a partir de uma jurisdição restrita. Caso encontre outros problemas, entre em contato com o suporte."},"es-mx":{invalidField:"Este campo es inválido",forgotPassword:"Olvidé la contraseña",userEmail:"Nombre de usuario o correo electrónico",userPhone:"Número de teléfono",userPrefix:"Prefijo telefónico",password:"Contraseña",login:"Iniciar sesión",genericError:"Ocurrió un error inesperado",successMessage:"Inicio de sesión exitoso",Forbidden_UserAccount_Blocked:"Cuenta de jugador bloqueada",Unauthorized:"El número de cuenta de jugador, la dirección de correo electrónico o la contraseña son incorrectos",CountryRestricted:"El registro no es posible desde una jurisdicción restringida. Si encuentra más problemas, por favor contacte al soporte."}},s=t=>new Promise((e=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{i[e]||(i[e]={});for(let s in t[e])i[e][s]=t[e][s]})),e(!0)}))})),o=(t,e,s)=>{let o=i[void 0!==e&&e in i?e:"en"][t];if(void 0!==s)for(const[t,e]of Object.entries(s.values)){const i=new RegExp(`{${t}}`,"g");o=o.replace(i,e)}return o};
2
2
  /**
3
3
  * @license
4
4
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
@@ -685,7 +685,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
685
685
  Code distributed by Google as part of the polymer project is also
686
686
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
687
687
  */
688
- function(t){const e={};for(let i in t){const s=t[i];e[i]="function"==typeof s?{type:s}:s}return e}(i))}t.__ownProperties=e}return t.__ownProperties}class o extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){const t=this._properties;this.__observedAttributes=t?Object.keys(t).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=i(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=s(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=i(this);this.__properties=Object.assign({},t&&t._properties,s(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})),Ci=window.ShadyCSS&&window.ShadyCSS.cssBuild,ki=Vt((t=>{const e=_i(xi(t));function i(t,e,i,s){i.computed&&(i.readOnly=!0),i.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,i.computed,s)),i.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!i.computed):!1===i.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),i.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===i.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),i.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===i.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),i.observer&&t._createPropertyObserver(e,i.observer,s[i.observer]),t._addPropertyToAttributeMap(e)}return class extends e{static get polymerElementVersion(){return"3.5.1"}static _finalizeClass(){e._finalizeClass.call(this);const t=((i=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",i))||(i.__ownObservers=i.hasOwnProperty(JSCompiler_renameProperty("observers",i))?i.observers:null),i.__ownObservers);var i;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):Ot||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)i(this.prototype,e,t[e],t)}static createObservers(t,e){const i=this.prototype;for(let s=0;s<t.length;s++)i._createMethodObserver(t[s],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&&(!Mt||Nt)&&(e=Jt.import(t,"template"),Mt&&!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=St(t.url);else{const t=Jt.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super()}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=Tt,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 i in e){let s=e[i];"value"in s&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[i]=s)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let i=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof i.value?i.value.call(this):i.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return Pt(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const i=this.importPath;(function(t,e,i,s){if(!Ci){const o=e.content.querySelectorAll("style"),r=se(e),n=function(t){let e=$t(t);return e?oe(e):[]}(i),a=e.content.firstElementChild;for(let i=0;i<n.length;i++){let o=n[i];o.textContent=t._processStyleText(o.textContent,s),e.content.insertBefore(o,a)}let l=0;for(let e=0;e<r.length;e++){let i=r[e],n=o[l];n!==i?(i=i.cloneNode(!0),n.parentNode.insertBefore(i,n)):l++,i.textContent=t._processStyleText(i.textContent,s)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,i),qt&&Ci&&Et){const i=e.content.querySelectorAll("style");if(i){let e="";Array.from(i).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,i?It(i):""),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=re(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])),jt&&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=It(this.importPath)),It(t,e)}static _parseTemplateContent(t,i,s){return i.dynamicFns=i.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,i,s)}static _addTemplatePropertyEffect(t,i,s){return!Ft||i in this._properties||s.info.part.signature&&s.info.part.signature.static||s.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${i}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,i,s)}}})),zi=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class Ii{constructor(t,e){Ei(t,e);const i=e.reduce(((e,i,s)=>e+Pi(i)+t[s+1]),t[0]);this.value=i.toString()}toString(){return this.value}}function Pi(t){if(t instanceof Ii)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const Si=function(t,...e){Ei(t,e);const i=document.createElement("template");let s=e.reduce(((e,i,s)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof Ii)return Pi(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(i)+t[s+1]),t[0]);return zi&&(s=zi.createHTML(s)),i.innerHTML=s,i},Ei=(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")},Ti=ki(HTMLElement),Bi=[];function Mi(t,e,i=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=i&&t.removeAttribute("dir")}function Ni(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=Ni();Bi.forEach((e=>{Mi(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const Oi=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(),Mi(this,Ni(),null))}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),"dir"!==t)return;const s=Ni(),o=i===s&&-1===Bi.indexOf(this),r=!i&&e&&-1===Bi.indexOf(this),n=i!==s&&e===s;o||r?(this.__subscribe(),Mi(this,s,i)):n&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=Bi.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,i){("dir"!==i||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,i)}_attributeToProperty(t,e,i){"dir"!==t||e?super._attributeToProperty(t,e,i):this.dir=""}__subscribe(){Bi.includes(this)||Bi.push(this)}__unsubscribe(){Bi.includes(this)&&Bi.splice(Bi.indexOf(this),1)}}
688
+ function(t){const e={};for(let i in t){const s=t[i];e[i]="function"==typeof s?{type:s}:s}return e}(i))}t.__ownProperties=e}return t.__ownProperties}class o extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){const t=this._properties;this.__observedAttributes=t?Object.keys(t).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=i(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=s(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=i(this);this.__properties=Object.assign({},t&&t._properties,s(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})),Ci=window.ShadyCSS&&window.ShadyCSS.cssBuild,ki=Vt((t=>{const e=_i(xi(t));function i(t,e,i,s){i.computed&&(i.readOnly=!0),i.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,i.computed,s)),i.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!i.computed):!1===i.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),i.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===i.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),i.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===i.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),i.observer&&t._createPropertyObserver(e,i.observer,s[i.observer]),t._addPropertyToAttributeMap(e)}return class extends e{static get polymerElementVersion(){return"3.5.2"}static _finalizeClass(){e._finalizeClass.call(this);const t=((i=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",i))||(i.__ownObservers=i.hasOwnProperty(JSCompiler_renameProperty("observers",i))?i.observers:null),i.__ownObservers);var i;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):Ot||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)i(this.prototype,e,t[e],t)}static createObservers(t,e){const i=this.prototype;for(let s=0;s<t.length;s++)i._createMethodObserver(t[s],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&&(!Mt||Nt)&&(e=Jt.import(t,"template"),Mt&&!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=St(t.url);else{const t=Jt.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super()}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=Tt,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 i in e){let s=e[i];"value"in s&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[i]=s)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let i=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof i.value?i.value.call(this):i.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return Pt(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const i=this.importPath;(function(t,e,i,s){if(!Ci){const o=e.content.querySelectorAll("style"),r=se(e),n=function(t){let e=$t(t);return e?oe(e):[]}(i),a=e.content.firstElementChild;for(let i=0;i<n.length;i++){let o=n[i];o.textContent=t._processStyleText(o.textContent,s),e.content.insertBefore(o,a)}let l=0;for(let e=0;e<r.length;e++){let i=r[e],n=o[l];n!==i?(i=i.cloneNode(!0),n.parentNode.insertBefore(i,n)):l++,i.textContent=t._processStyleText(i.textContent,s)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,i),qt&&Ci&&Et){const i=e.content.querySelectorAll("style");if(i){let e="";Array.from(i).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,i?It(i):""),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=re(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])),jt&&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=It(this.importPath)),It(t,e)}static _parseTemplateContent(t,i,s){return i.dynamicFns=i.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,i,s)}static _addTemplatePropertyEffect(t,i,s){return!Ft||i in this._properties||s.info.part.signature&&s.info.part.signature.static||s.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${i}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,i,s)}}})),zi=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class Ii{constructor(t,e){Ei(t,e);const i=e.reduce(((e,i,s)=>e+Pi(i)+t[s+1]),t[0]);this.value=i.toString()}toString(){return this.value}}function Pi(t){if(t instanceof Ii)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const Si=function(t,...e){Ei(t,e);const i=document.createElement("template");let s=e.reduce(((e,i,s)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof Ii)return Pi(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(i)+t[s+1]),t[0]);return zi&&(s=zi.createHTML(s)),i.innerHTML=s,i},Ei=(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")},Ti=ki(HTMLElement),Bi=[];function Mi(t,e,i=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=i&&t.removeAttribute("dir")}function Ni(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=Ni();Bi.forEach((e=>{Mi(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const Oi=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(),Mi(this,Ni(),null))}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),"dir"!==t)return;const s=Ni(),o=i===s&&-1===Bi.indexOf(this),r=!i&&e&&-1===Bi.indexOf(this),n=i!==s&&e===s;o||r?(this.__subscribe(),Mi(this,s,i)):n&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=Bi.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,i){("dir"!==i||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,i)}_attributeToProperty(t,e,i){"dir"!==t||e?super._attributeToProperty(t,e,i):this.dir=""}__subscribe(){Bi.includes(this)||Bi.push(this)}__unsubscribe(){Bi.includes(this)&&Bi.splice(Bi.indexOf(this),1)}}
689
689
  /**
690
690
  * @license
691
691
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
@@ -2393,7 +2393,486 @@ function Ls(t,e){return t.split(".").reduce(((t,e)=>t?t[e]:void 0),e)}
2393
2393
  <div id="selector">
2394
2394
  <slot></slot>
2395
2395
  </div>
2396
- `}}r(co);const uo=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,mo=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function po(t,e){if("function"!=typeof t)return;const i=uo.exec(t.toString());if(i)try{t=new Function(i[1])}catch(t){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",t)}return t(e)}window.Vaadin=window.Vaadin||{};function fo(){}let vo;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&&(mo?!(mo&&Object.keys(mo).map((t=>mo[t])).filter((t=>t.productionMode)).length>0):!po((function(){return!0})))}catch(t){return!1}}()),
2396
+ `}}r(co);const uo=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,mo=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function po(t,e){if("function"!=typeof t)return;const i=uo.exec(t.toString());if(i)try{t=new Function(i[1])}catch(t){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",t)}return t(e)}window.Vaadin=window.Vaadin||{};function fo(){
2397
+ /*! vaadin-dev-mode:start
2398
+ (function () {
2399
+ 'use strict';
2400
+
2401
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
2402
+ return typeof obj;
2403
+ } : function (obj) {
2404
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2405
+ };
2406
+
2407
+ var classCallCheck = function (instance, Constructor) {
2408
+ if (!(instance instanceof Constructor)) {
2409
+ throw new TypeError("Cannot call a class as a function");
2410
+ }
2411
+ };
2412
+
2413
+ var createClass = function () {
2414
+ function defineProperties(target, props) {
2415
+ for (var i = 0; i < props.length; i++) {
2416
+ var descriptor = props[i];
2417
+ descriptor.enumerable = descriptor.enumerable || false;
2418
+ descriptor.configurable = true;
2419
+ if ("value" in descriptor) descriptor.writable = true;
2420
+ Object.defineProperty(target, descriptor.key, descriptor);
2421
+ }
2422
+ }
2423
+
2424
+ return function (Constructor, protoProps, staticProps) {
2425
+ if (protoProps) defineProperties(Constructor.prototype, protoProps);
2426
+ if (staticProps) defineProperties(Constructor, staticProps);
2427
+ return Constructor;
2428
+ };
2429
+ }();
2430
+
2431
+ var getPolymerVersion = function getPolymerVersion() {
2432
+ return window.Polymer && window.Polymer.version;
2433
+ };
2434
+
2435
+ var StatisticsGatherer = function () {
2436
+ function StatisticsGatherer(logger) {
2437
+ classCallCheck(this, StatisticsGatherer);
2438
+
2439
+ this.now = new Date().getTime();
2440
+ this.logger = logger;
2441
+ }
2442
+
2443
+ createClass(StatisticsGatherer, [{
2444
+ key: 'frameworkVersionDetectors',
2445
+ value: function frameworkVersionDetectors() {
2446
+ return {
2447
+ 'Flow': function Flow() {
2448
+ if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) {
2449
+ var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) {
2450
+ return window.Vaadin.Flow.clients[key];
2451
+ }).filter(function (client) {
2452
+ return client.getVersionInfo;
2453
+ }).map(function (client) {
2454
+ return client.getVersionInfo().flow;
2455
+ });
2456
+ if (flowVersions.length > 0) {
2457
+ return flowVersions[0];
2458
+ }
2459
+ }
2460
+ },
2461
+ 'Vaadin Framework': function VaadinFramework() {
2462
+ if (window.vaadin && window.vaadin.clients) {
2463
+ var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) {
2464
+ return client.getVersionInfo;
2465
+ }).map(function (client) {
2466
+ return client.getVersionInfo().vaadinVersion;
2467
+ });
2468
+ if (frameworkVersions.length > 0) {
2469
+ return frameworkVersions[0];
2470
+ }
2471
+ }
2472
+ },
2473
+ 'AngularJs': function AngularJs() {
2474
+ if (window.angular && window.angular.version && window.angular.version) {
2475
+ return window.angular.version.full;
2476
+ }
2477
+ },
2478
+ 'Angular': function Angular() {
2479
+ if (window.ng) {
2480
+ var tags = document.querySelectorAll("[ng-version]");
2481
+ if (tags.length > 0) {
2482
+ return tags[0].getAttribute("ng-version");
2483
+ }
2484
+ return "Unknown";
2485
+ }
2486
+ },
2487
+ 'Backbone.js': function BackboneJs() {
2488
+ if (window.Backbone) {
2489
+ return window.Backbone.VERSION;
2490
+ }
2491
+ },
2492
+ 'React': function React() {
2493
+ var reactSelector = '[data-reactroot], [data-reactid]';
2494
+ if (!!document.querySelector(reactSelector)) {
2495
+ // React does not publish the version by default
2496
+ return "unknown";
2497
+ }
2498
+ },
2499
+ 'Ember': function Ember() {
2500
+ if (window.Em && window.Em.VERSION) {
2501
+ return window.Em.VERSION;
2502
+ } else if (window.Ember && window.Ember.VERSION) {
2503
+ return window.Ember.VERSION;
2504
+ }
2505
+ },
2506
+ 'jQuery': function (_jQuery) {
2507
+ function jQuery() {
2508
+ return _jQuery.apply(this, arguments);
2509
+ }
2510
+
2511
+ jQuery.toString = function () {
2512
+ return _jQuery.toString();
2513
+ };
2514
+
2515
+ return jQuery;
2516
+ }(function () {
2517
+ if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) {
2518
+ return jQuery.prototype.jquery;
2519
+ }
2520
+ }),
2521
+ 'Polymer': function Polymer() {
2522
+ var version = getPolymerVersion();
2523
+ if (version) {
2524
+ return version;
2525
+ }
2526
+ },
2527
+ 'LitElement': function LitElement() {
2528
+ var version = window.litElementVersions && window.litElementVersions[0];
2529
+ if (version) {
2530
+ return version;
2531
+ }
2532
+ },
2533
+ 'LitHtml': function LitHtml() {
2534
+ var version = window.litHtmlVersions && window.litHtmlVersions[0];
2535
+ if (version) {
2536
+ return version;
2537
+ }
2538
+ },
2539
+ 'Vue.js': function VueJs() {
2540
+ if (window.Vue) {
2541
+ return window.Vue.version;
2542
+ }
2543
+ }
2544
+ };
2545
+ }
2546
+ }, {
2547
+ key: 'getUsedVaadinElements',
2548
+ value: function getUsedVaadinElements(elements) {
2549
+ var version = getPolymerVersion();
2550
+ var elementClasses = void 0;
2551
+ // NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow.
2552
+ // Check all locations calling the method getEntries() in
2553
+ // https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106
2554
+ // Currently it is only used by BootstrapHandler.
2555
+ if (version && version.indexOf('2') === 0) {
2556
+ // Polymer 2: components classes are stored in window.Vaadin
2557
+ elementClasses = Object.keys(window.Vaadin).map(function (c) {
2558
+ return window.Vaadin[c];
2559
+ }).filter(function (c) {
2560
+ return c.is;
2561
+ });
2562
+ } else {
2563
+ // Polymer 3: components classes are stored in window.Vaadin.registrations
2564
+ elementClasses = window.Vaadin.registrations || [];
2565
+ }
2566
+ elementClasses.forEach(function (klass) {
2567
+ var version = klass.version ? klass.version : "0.0.0";
2568
+ elements[klass.is] = { version: version };
2569
+ });
2570
+ }
2571
+ }, {
2572
+ key: 'getUsedVaadinThemes',
2573
+ value: function getUsedVaadinThemes(themes) {
2574
+ ['Lumo', 'Material'].forEach(function (themeName) {
2575
+ var theme;
2576
+ var version = getPolymerVersion();
2577
+ if (version && version.indexOf('2') === 0) {
2578
+ // Polymer 2: themes are stored in window.Vaadin
2579
+ theme = window.Vaadin[themeName];
2580
+ } else {
2581
+ // Polymer 3: themes are stored in custom element registry
2582
+ theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles');
2583
+ }
2584
+ if (theme && theme.version) {
2585
+ themes[themeName] = { version: theme.version };
2586
+ }
2587
+ });
2588
+ }
2589
+ }, {
2590
+ key: 'getFrameworks',
2591
+ value: function getFrameworks(frameworks) {
2592
+ var detectors = this.frameworkVersionDetectors();
2593
+ Object.keys(detectors).forEach(function (framework) {
2594
+ var detector = detectors[framework];
2595
+ try {
2596
+ var version = detector();
2597
+ if (version) {
2598
+ frameworks[framework] = { version: version };
2599
+ }
2600
+ } catch (e) {}
2601
+ });
2602
+ }
2603
+ }, {
2604
+ key: 'gather',
2605
+ value: function gather(storage) {
2606
+ var storedStats = storage.read();
2607
+ var gatheredStats = {};
2608
+ var types = ["elements", "frameworks", "themes"];
2609
+
2610
+ types.forEach(function (type) {
2611
+ gatheredStats[type] = {};
2612
+ if (!storedStats[type]) {
2613
+ storedStats[type] = {};
2614
+ }
2615
+ });
2616
+
2617
+ var previousStats = JSON.stringify(storedStats);
2618
+
2619
+ this.getUsedVaadinElements(gatheredStats.elements);
2620
+ this.getFrameworks(gatheredStats.frameworks);
2621
+ this.getUsedVaadinThemes(gatheredStats.themes);
2622
+
2623
+ var now = this.now;
2624
+ types.forEach(function (type) {
2625
+ var keys = Object.keys(gatheredStats[type]);
2626
+ keys.forEach(function (key) {
2627
+ if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) {
2628
+ storedStats[type][key] = { firstUsed: now };
2629
+ }
2630
+ // Discards any previously logged version number
2631
+ storedStats[type][key].version = gatheredStats[type][key].version;
2632
+ storedStats[type][key].lastUsed = now;
2633
+ });
2634
+ });
2635
+
2636
+ var newStats = JSON.stringify(storedStats);
2637
+ storage.write(newStats);
2638
+ if (newStats != previousStats && Object.keys(storedStats).length > 0) {
2639
+ this.logger.debug("New stats: " + newStats);
2640
+ }
2641
+ }
2642
+ }]);
2643
+ return StatisticsGatherer;
2644
+ }();
2645
+
2646
+ var StatisticsStorage = function () {
2647
+ function StatisticsStorage(key) {
2648
+ classCallCheck(this, StatisticsStorage);
2649
+
2650
+ this.key = key;
2651
+ }
2652
+
2653
+ createClass(StatisticsStorage, [{
2654
+ key: 'read',
2655
+ value: function read() {
2656
+ var localStorageStatsString = localStorage.getItem(this.key);
2657
+ try {
2658
+ return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}');
2659
+ } catch (e) {
2660
+ return {};
2661
+ }
2662
+ }
2663
+ }, {
2664
+ key: 'write',
2665
+ value: function write(data) {
2666
+ localStorage.setItem(this.key, data);
2667
+ }
2668
+ }, {
2669
+ key: 'clear',
2670
+ value: function clear() {
2671
+ localStorage.removeItem(this.key);
2672
+ }
2673
+ }, {
2674
+ key: 'isEmpty',
2675
+ value: function isEmpty() {
2676
+ var storedStats = this.read();
2677
+ var empty = true;
2678
+ Object.keys(storedStats).forEach(function (key) {
2679
+ if (Object.keys(storedStats[key]).length > 0) {
2680
+ empty = false;
2681
+ }
2682
+ });
2683
+
2684
+ return empty;
2685
+ }
2686
+ }]);
2687
+ return StatisticsStorage;
2688
+ }();
2689
+
2690
+ var StatisticsSender = function () {
2691
+ function StatisticsSender(url, logger) {
2692
+ classCallCheck(this, StatisticsSender);
2693
+
2694
+ this.url = url;
2695
+ this.logger = logger;
2696
+ }
2697
+
2698
+ createClass(StatisticsSender, [{
2699
+ key: 'send',
2700
+ value: function send(data, errorHandler) {
2701
+ var logger = this.logger;
2702
+
2703
+ if (navigator.onLine === false) {
2704
+ logger.debug("Offline, can't send");
2705
+ errorHandler();
2706
+ return;
2707
+ }
2708
+ logger.debug("Sending data to " + this.url);
2709
+
2710
+ var req = new XMLHttpRequest();
2711
+ req.withCredentials = true;
2712
+ req.addEventListener("load", function () {
2713
+ // Stats sent, nothing more to do
2714
+ logger.debug("Response: " + req.responseText);
2715
+ });
2716
+ req.addEventListener("error", function () {
2717
+ logger.debug("Send failed");
2718
+ errorHandler();
2719
+ });
2720
+ req.addEventListener("abort", function () {
2721
+ logger.debug("Send aborted");
2722
+ errorHandler();
2723
+ });
2724
+ req.open("POST", this.url);
2725
+ req.setRequestHeader("Content-Type", "application/json");
2726
+ req.send(data);
2727
+ }
2728
+ }]);
2729
+ return StatisticsSender;
2730
+ }();
2731
+
2732
+ var StatisticsLogger = function () {
2733
+ function StatisticsLogger(id) {
2734
+ classCallCheck(this, StatisticsLogger);
2735
+
2736
+ this.id = id;
2737
+ }
2738
+
2739
+ createClass(StatisticsLogger, [{
2740
+ key: '_isDebug',
2741
+ value: function _isDebug() {
2742
+ return localStorage.getItem("vaadin." + this.id + ".debug");
2743
+ }
2744
+ }, {
2745
+ key: 'debug',
2746
+ value: function debug(msg) {
2747
+ if (this._isDebug()) {
2748
+ console.info(this.id + ": " + msg);
2749
+ }
2750
+ }
2751
+ }]);
2752
+ return StatisticsLogger;
2753
+ }();
2754
+
2755
+ var UsageStatistics = function () {
2756
+ function UsageStatistics() {
2757
+ classCallCheck(this, UsageStatistics);
2758
+
2759
+ this.now = new Date();
2760
+ this.timeNow = this.now.getTime();
2761
+ this.gatherDelay = 10; // Delay between loading this file and gathering stats
2762
+ this.initialDelay = 24 * 60 * 60;
2763
+
2764
+ this.logger = new StatisticsLogger("statistics");
2765
+ this.storage = new StatisticsStorage("vaadin.statistics.basket");
2766
+ this.gatherer = new StatisticsGatherer(this.logger);
2767
+ this.sender = new StatisticsSender("https://tools.vaadin.com/usage-stats/submit", this.logger);
2768
+ }
2769
+
2770
+ createClass(UsageStatistics, [{
2771
+ key: 'maybeGatherAndSend',
2772
+ value: function maybeGatherAndSend() {
2773
+ var _this = this;
2774
+
2775
+ if (localStorage.getItem(UsageStatistics.optOutKey)) {
2776
+ return;
2777
+ }
2778
+ this.gatherer.gather(this.storage);
2779
+ setTimeout(function () {
2780
+ _this.maybeSend();
2781
+ }, this.gatherDelay * 1000);
2782
+ }
2783
+ }, {
2784
+ key: 'lottery',
2785
+ value: function lottery() {
2786
+ return true;
2787
+ }
2788
+ }, {
2789
+ key: 'currentMonth',
2790
+ value: function currentMonth() {
2791
+ return this.now.getYear() * 12 + this.now.getMonth();
2792
+ }
2793
+ }, {
2794
+ key: 'maybeSend',
2795
+ value: function maybeSend() {
2796
+ var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey));
2797
+ var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey));
2798
+
2799
+ if (!firstUse) {
2800
+ // Use a grace period to avoid interfering with tests, incognito mode etc
2801
+ firstUse = this.timeNow;
2802
+ localStorage.setItem(UsageStatistics.firstUseKey, firstUse);
2803
+ }
2804
+
2805
+ if (this.timeNow < firstUse + this.initialDelay * 1000) {
2806
+ this.logger.debug("No statistics will be sent until the initial delay of " + this.initialDelay + "s has passed");
2807
+ return;
2808
+ }
2809
+ if (this.currentMonth() <= monthProcessed) {
2810
+ this.logger.debug("This month has already been processed");
2811
+ return;
2812
+ }
2813
+ localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth());
2814
+ // Use random sampling
2815
+ if (this.lottery()) {
2816
+ this.logger.debug("Congratulations, we have a winner!");
2817
+ } else {
2818
+ this.logger.debug("Sorry, no stats from you this time");
2819
+ return;
2820
+ }
2821
+
2822
+ this.send();
2823
+ }
2824
+ }, {
2825
+ key: 'send',
2826
+ value: function send() {
2827
+ // Ensure we have the latest data
2828
+ this.gatherer.gather(this.storage);
2829
+
2830
+ // Read, send and clean up
2831
+ var data = this.storage.read();
2832
+ data["firstUse"] = Number(localStorage.getItem(UsageStatistics.firstUseKey));
2833
+ data["usageStatisticsVersion"] = UsageStatistics.version;
2834
+ var info = 'This request contains usage statistics gathered from the application running in development mode. \n\nStatistics gathering is automatically disabled and excluded from production builds.\n\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n\n\n\n';
2835
+ var self = this;
2836
+ this.sender.send(info + JSON.stringify(data), function () {
2837
+ // Revert the 'month processed' flag
2838
+ localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1);
2839
+ });
2840
+ }
2841
+ }], [{
2842
+ key: 'version',
2843
+ get: function get$1() {
2844
+ return '2.1.2';
2845
+ }
2846
+ }, {
2847
+ key: 'firstUseKey',
2848
+ get: function get$1() {
2849
+ return 'vaadin.statistics.firstuse';
2850
+ }
2851
+ }, {
2852
+ key: 'monthProcessedKey',
2853
+ get: function get$1() {
2854
+ return 'vaadin.statistics.monthProcessed';
2855
+ }
2856
+ }, {
2857
+ key: 'optOutKey',
2858
+ get: function get$1() {
2859
+ return 'vaadin.statistics.optout';
2860
+ }
2861
+ }]);
2862
+ return UsageStatistics;
2863
+ }();
2864
+
2865
+ try {
2866
+ window.Vaadin = window.Vaadin || {};
2867
+ window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics();
2868
+ window.Vaadin.usageStatsChecker.maybeGatherAndSend();
2869
+ } catch (e) {
2870
+ // Intentionally ignored as this is not a problem in the app being developed
2871
+ }
2872
+
2873
+ }());
2874
+
2875
+ vaadin-dev-mode:end **/}let vo;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&&(mo?!(mo&&Object.keys(mo).map((t=>mo[t])).filter((t=>t.productionMode)).length>0):!po((function(){return!0})))}catch(t){return!1}}()),
2397
2876
  /**
2398
2877
  * @license
2399
2878
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
@@ -1 +1 @@
1
- import{p as e,b as r}from"./p-a86a26ad.js";export{s as setNonce}from"./p-a86a26ad.js";import{g as n}from"./p-e1255160.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((async e=>(await n(),r([["p-8c6fcab6",[[1,"user-login",{endpoint:[513],lang:[1537],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],passwordReset:[513,"password-reset"],userEmailRegex:[513,"user-email-regex"],userEmailRegexOptions:[513,"user-email-regex-options"],userPhoneRegex:[513,"user-phone-regex"],userPhoneRegexOptions:[513,"user-phone-regex-options"],passwordRegex:[513,"password-regex"],passwordRegexOptions:[513,"password-regex-options"],version:[513],loginByPhoneNumber:[513,"login-by-phone-number"],userNameEmail:[32],userPassword:[32],isValidUserEmail:[32],userPhone:[32],userPrefix:[32],isValidPassword:[32],isValidUserPhone:[32],isPasswordVisible:[32],limitStylingAppends:[32],errorMessage:[32],hasError:[32],userPrefixOptions:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"]}]]]],e))));
1
+ import{p as e,b as r}from"./p-57aa7a6f.js";export{s as setNonce}from"./p-57aa7a6f.js";import{g as n}from"./p-e1255160.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((async e=>(await n(),r([["p-c6eb6620",[[1,"user-login",{endpoint:[513],lang:[1537],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],passwordReset:[513,"password-reset"],userEmailRegex:[513,"user-email-regex"],userEmailRegexOptions:[513,"user-email-regex-options"],userPhoneRegex:[513,"user-phone-regex"],userPhoneRegexOptions:[513,"user-phone-regex-options"],passwordRegex:[513,"password-regex"],passwordRegexOptions:[513,"password-regex-options"],version:[513],loginByPhoneNumber:[513,"login-by-phone-number"],userNameEmail:[32],userPassword:[32],isValidUserEmail:[32],userPhone:[32],userPrefix:[32],isValidPassword:[32],isValidUserPhone:[32],isPasswordVisible:[32],limitStylingAppends:[32],errorMessage:[32],hasError:[32],userPrefixOptions:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"]}]]]],e))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/user-login",
3
- "version": "1.50.0",
3
+ "version": "1.51.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1,2 +0,0 @@
1
- import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
- export declare const config: Config;
@@ -1,2 +0,0 @@
1
- import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
- export declare const config: Config;
@@ -1,2 +0,0 @@
1
- var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,m=[],y=[],w=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.l?b(v):f.raf(v))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},v=()=>{$(m),$(y),(p=m.length>0)&&f.raf(v)},b=e=>h().then(e),g=w(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>O,unwrap:()=>x,unwrapErr:()=>P});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},R=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?A(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=A(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},A=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),D={},L=new WeakMap,T=e=>"sc-"+e.v,H=(e,t,n,l,s,r)=>{if(n!==l){let i=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=U(n),s=U(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((i||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(W);t=t.replace(F,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},N=/\s/,U=e=>e?e.split(N):[],W="Capture",F=RegExp(W+"$"),q=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||S,s=t.u||S;for(const e of G(Object.keys(o)))e in s||H(l,e,o[e],void 0,n,t.l);for(const e of G(Object.keys(s)))H(l,e,o[e],s[e],n,t.l)};function G(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var V=!1,_=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.$=a.createTextNode(l.i);else{if(V||(V="svg"===l.m),o=l.$=a.createElementNS(V?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.m),V&&"foreignObject"===l.m&&(V=!1),q(null,l,V),o.getRootNode().querySelector("body"),l.h)for(r=0;r<l.h.length;++r)s=_(e,l,r),s&&o.appendChild(s);"svg"===l.m?V=!1:"foreignObject"===o.tagName&&(V=!0)}return o["s-hn"]=M,o},z=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===M&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=_(null,n,o),r&&(l[o].$=r,Q(i,r,t)))},B=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;K(t),e&&e.remove()}}},I=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),J=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,r=t.m,i=t.i;null===i?(q(e,t,V="svg"===r||"foreignObject"!==r&&V),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],d=t[f],p=l.length-1,m=l[0],y=l[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==d)d=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--p];else if(I(h,m,o))J(h,m,o),h=t[++i],m=l[++c];else if(I(d,y,o))J(d,y,o),d=t[--f],y=l[--p];else if(I(h,y,o))J(h,y,o),Q(e,h.$,d.$.nextSibling),h=t[++i],y=l[--p];else if(I(d,m,o))J(d,m,o),Q(e,d.$,h.$),d=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.m!==m.m?s=_(t&&t[c],n,u):(J(r,m,o),t[u]=void 0,s=r.$),m=l[++c]):(s=_(t&&t[c],n,c),m=l[++c]),s&&Q(h.$.parentNode,s,h.$)}i>f?z(e,null==l[p+1]?null:l[p+1].$,n,l,c,p):c>p&&B(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),z(l,null,t,s,0,s.length-1)):!n&&null!==o&&B(o,0,o.length-1),V&&"svg"===r&&(V=!1)):e.i!==i&&(l.data=i)},K=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(K)},Q=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),X=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Y=(e,t)=>{if(e.l|=16,!(4&e.l))return X(e,e.j),g((()=>Z(e,t)));e.l|=512},Z=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(l=re(n,"componentWillLoad")),ee(l,(()=>ne(e,n,t)))},ee=(e,t)=>te(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),te=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ne=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=T(t),o=i.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=L.get(e=e.head||e);if(r||L.set(e,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const l=null!=(n=f.O)?n:k(a);null!=l&&s.setAttribute("nonce",l),(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=c),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);le(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>oe(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},le=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.k,s=e.C||A(null,null),r=(e=>e&&e.m===D)(t)?t:R(null,null,t);if(M=l.tagName,o.M&&(r.u=r.u||{},o.M.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.C=r,r.$=s.$=l.shadowRoot||l,J(s,r,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},oe=e=>{const t=e.$hostElement$,n=e.t,l=e.j;re(n,"componentDidRender"),64&e.l||(e.l|=64,ie(t),re(n,"componentDidLoad"),e.P(t),l||se()),e.S&&(e.S(),e.S=void 0),512&e.l&&b((()=>Y(e,!1))),e.l&=-517},se=()=>{ie(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"user-login"}});return e.dispatchEvent(t),t})(u)))},re=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},ie=e=>e.classList.add("hydrated"),ce=(e,t,l)=>{var o,r;const i=e.prototype;if(t.R||t.A||e.watchers){e.watchers&&!t.A&&(t.A=e.watchers);const c=Object.entries(null!=(o=t.R)?o:{});if(c.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).D.get(t))(0,e)},set(l){((e,t,l,o)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.D.get(t),u=r.l,a=r.t;if(l=((e,t)=>null==e||j(e)?e:1&t?e+"":e)(l,o.R[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(r.D.set(t,l),a)){if(o.A&&128&u){const e=o.A[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,i)}}))}2==(18&u)&&Y(r,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.A)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.A)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.M)||o.push([e,s])),s}))]))}}return e},ue=e=>{re(e,"disconnectedCallback")},ae=(e,l={})=>{var o;const h=[],p=l.exclude||[],m=u.customElements,y=a.head,w=y.querySelector("meta[charset]"),$=a.createElement("style"),v=[];let b,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],v:l[1],R:l[2],L:l[3]};4&c.l&&(S=!0),c.R=l[2],c.M=[],c.A=null!=(o=l[4])?o:{};const u=c.v,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,k:n,D:new Map};l.T=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?v.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.k,o=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.j=n);break}}l.R&&Object.entries(l.R).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.H){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.H;if(!n)return;const l=r.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.N}" was not found`);l.isProxied||(n.A=l.watchers,ce(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=T(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);d&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)?ue(e.t):(null==e?void 0:e.T)&&e.T.then((()=>ue(e.t)))}})()))}componentOnReady(){return n(this).T}};c.H=e[0],p.includes(u)||m.get(u)||(h.push(u),m.define(u,ce(a,c,1)))}))})),h.length>0&&(S&&($.textContent+=c),$.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(o=f.O)?o:k(a);null!=e&&$.setAttribute("nonce",e),y.insertBefore($,w?w.nextSibling:y.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(se,30)))},fe=e=>f.O=e;export{ae as b,R as h,h as p,l as r,fe as s}