PageSourceSearch

https://autoplug.one/VAADIN/build/indexhtml-a151b645.js

js autoplug.one collected 2026-09-25 22:36:49 UTC 60,418 bytes, 201 lines download raw bytes

1(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function t(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=t(o);fetch(o.href,r)}})();window.Vaadin=window.Vaadin||{};window.Vaadin.featureFlags=window.Vaadin.featureFlags||{};window.Vaadin.featureFlags.exampleFeatureFlag=!1;window.Vaadin.featureFlags.collaborationEngineBackend=!1;window.Vaadin.featureFlags.sideNavComponent=!0;const Ot="modulepreload",Nt=function(n,e){return new URL(n,e).href},Ne={},we=function(e,t,i){if(!t||t.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(t.map(r=>{if(r=Nt(r,i),r in Ne)return;Ne[r]=!0;const s=r.endsWith(".css"),c=s?'[rel="stylesheet"]':"";if(!!i)for(let d=o.length-1;d>=0;d--){const u=o[d];if(u.href===r&&(!s||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${c}`))return;const l=document.createElement("link");if(l.rel=s?"stylesheet":Ot,s||(l.as="script",l.crossOrigin=""),l.href=r,document.head.appendChild(l),s)return new Promise((d,u)=>{l.addEventListener("load",d),l.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())};function ne(n){return n=n||[],Array.isArray(n)?n:[n]}function b(n){return`[Vaadin.Router] ${n}`}function Pt(n){if(typeof n!="object")return String(n);const e=Object.prototype.toString.call(n).match(/ (.*)\]$/)[1];return e==="Object"||e==="Array"?`${e} ${JSON.stringify(n)}`:e}const ie="module",re="nomodule",$e=[ie,re];function Pe(n){if(!n.match(/.+\.[m]?js$/))throw new Error(b(`Unsupported type for bundle "${n}": .js or .mjs expected.`))}function st(n){if(!n||!E(n.path))throw new Error(b('Expected route config to be an object with a "path" string property, or an array of such objects'));const e=n.bundle,t=["component","redirect","bundle"];if(!L(n.action)&&!Array.isArray(n.children)&&!L(n.children)&&!oe(e)&&!t.some(i=>E(n[i])))throw new Error(b(`Expected route config "${n.path}" to include either "${t.join('", "')}" or "action" function but none found.`));if(e)if(E(e))Pe(e);else if($e.some(i=>i in e))$e.forEach(i=>i in e&&Pe(e[i]));else throw new Error(b('Expected route bundle to include either "'+re+'" or "'+ie+'" keys, or both'));n.redirect&&["bundle","component"].forEach(i=>{i in n&&console.warn(b(`Route config "${n.path}" has both "redirect" and "${i}" properties, and "redirect" will always override the latter. Did you mean to only use "${i}"?`))})}function Ie(n){ne(n).forEach(e=>st(e))}function Ue(n,e){let t=document.head.querySelector('script[src="'+n+'"][async]');return t||(t=document.createElement("script"),t.setAttribute("src",n),e===ie?t.setAttribute("type",ie):e===re&&t.setAttribute(re,""),t.async=!0),new Promise((i,o)=>{t.onreadystatechange=t.onload=r=>{t.__dynamicImportLoaded=!0,i(r)},t.onerror=r=>{t.parentNode&&t.parentNode.removeChild(t),o(r)},t.parentNode===null?document.head.appendChild(t):t.__dynamicImportLoaded&&i()})}function It(n){return E(n)?Ue(n):Promise.race($e.filter(e=>e in n).map(e=>Ue(n[e],e)))}function H(n,e){return!window.dispatchEvent(new CustomEvent(`vaadin-router-${n}`,{cancelable:n==="go",detail:e}))}function oe(n){return typeof n=="object"&&!!n}function L(n){return typeof n=="function"}function E(n){return typeof n=="string"}function at(n){const e=new Error(b(`Page not found (${n.pathname})`));return e.context=n,e.code=404,e}const U=new class{};function Ut(n){const e=n.port,t=n.protocol,r=t==="http:"&&e==="80"||t==="https:"&&e==="443"?n.hostname:n.host;return`${t}//${r}`}function De(n){if(n.defaultPrevented||n.button!==0||n.shiftKey||n.ctrlKey||n.altKey||n.metaKey)return;let e=n.target;const t=n.composedPath?n.composedPath():n.path||[];for(let c=0;c<t.length;c++){const a=t[c];if(a.nodeName&&a.nodeName.toLowerCase()==="a"){e=a;break}}for(;e&&e.nodeName.toLowerCase()!=="a";)e=e.parentNode;if(!e||e.nodeName.toLowerCase()!=="a"||e.target&&e.target.toLowerCase()!=="_self"||e.hasAttribute("download")||e.hasAttribute("router-ignore")||e.pathname===window.location.pathname&&e.hash!==""||(e.origin||Ut(e))!==window.location.origin)return;const{pathname:o,search:r,hash:s}=e;H("go",{pathname:o,search:r,hash:s})&&(n.preventDefault(),n&&n.type==="click"&&window.scrollTo(0,0))}const Dt={activate(){window.document.addEventListener("click",De)},inactivate(){window.document.removeEventListener("click",De)}},Vt=/Trident/.test(navigator.userAgent);Vt&&!L(window.PopStateEvent)&&(window.PopStateEvent=function(n,e){e=e||{};var t=document.createEvent("Event");return t.initEvent(n,!!e.bubbles,!!e.cancelable),t.state=e.state||null,t},window.PopStateEvent.prototype=window.Event.prototype);function Ve(n){if(n.state==="vaadin-router-ignore")return;const{pathname:e,search:t,hash:i}=window.location;H("go",{pathname:e,search:t,hash:i})}const Mt={activate(){window.addEventListener("popstate",Ve)},inactivate(){window.removeEventListener("popstate",Ve)}};var M=pt,xt=Ce,Ft=jt,Ht=dt,Bt=ut,lt="/",ct="./",kt=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function Ce(n,e){for(var t=[],i=0,o=0,r="",s=e&&e.delimiter||lt,c=e&&e.delimiters||ct,a=!1,l;(l=kt.exec(n))!==null;){var d=l[0],u=l[1],h=l.index;if(r+=n.slice(o,h),o=h+d.length,u){r+=u[1],a=!0;continue}var p="",K=n[o],P=l[2],At=l[3],Ct=l[4],Q=l[5];if(!a&&r.length){var ce=r.length-1;c.indexOf(r[ce])>-1&&(p=r[ce],r=r.slice(0,ce))}r&&(t.push(r),r="",a=!1);var Tt=p!==""&&K!==void 0&&K!==p,Rt=Q==="+"||Q==="*",Lt=Q==="?"||Q==="*",Le=p||s,Oe=At||Ct;t.push({name:P||i++,prefix:p,delimiter:Le,optional:Lt,repeat:Rt,partial:Tt,pattern:Oe?zt(Oe):"[^"+S(Le)+"]+?"})}return(r||o<n.length)&&t.push(r+n.substr(o)),t}function jt(n,e){return dt(Ce(n,e))}function dt(n){for(var e=new Array(n.length),t=0;t<n.length;t++)typeof n[t]=="object"&&(e[t]=new RegExp("^(?:"+n[t].pattern+")$"));return function(i,o){for(var r="",s=o&&o.encode||encodeURIComponent,c=0;c<n.length;c++){var a=n[c];
1if(typeof a=="string"){r+=a;continue}var l=i?i[a.name]:void 0,d;if(Array.isArray(l)){if(!a.repeat)throw new TypeError('Expected "'+a.name+'" to not repeat, but got array');if(l.length===0){if(a.optional)continue;throw new TypeError('Expected "'+a.name+'" to not be empty')}for(var u=0;u<l.length;u++){if(d=s(l[u],a),!e[c].test(d))throw new TypeError('Expected all "'+a.name+'" to match "'+a.pattern+'"');r+=(u===0?a.prefix:a.delimiter)+d}continue}if(typeof l=="string"||typeof l=="number"||typeof l=="boolean"){if(d=s(String(l),a),!e[c].test(d))throw new TypeError('Expected "'+a.name+'" to match "'+a.pattern+'", but got "'+d+'"');r+=a.prefix+d;continue}if(a.optional){a.partial&&(r+=a.prefix);continue}throw new TypeError('Expected "'+a.name+'" to be '+(a.repeat?"an array":"a string"))}return r}}function S(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function zt(n){return n.replace(/([=!:$/()])/g,"\\$1")}function ht(n){return n&&n.sensitive?"":"i"}function Wt(n,e){if(!e)return n;var t=n.source.match(/\((?!\?)/g);if(t)for(var i=0;i<t.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return n}function qt(n,e,t){for(var i=[],o=0;o<n.length;o++)i.push(pt(n[o],e,t).source);return new RegExp("(?:"+i.join("|")+")",ht(t))}function Gt(n,e,t){return ut(Ce(n,t),e,t)}function ut(n,e,t){t=t||{};for(var i=t.strict,o=t.start!==!1,r=t.end!==!1,s=S(t.delimiter||lt),c=t.delimiters||ct,a=[].concat(t.endsWith||[]).map(S).concat("$").join("|"),l=o?"^":"",d=n.length===0,u=0;u<n.length;u++){var h=n[u];if(typeof h=="string")l+=S(h),d=u===n.length-1&&c.indexOf(h[h.length-1])>-1;else{var p=h.repeat?"(?:"+h.pattern+")(?:"+S(h.delimiter)+"(?:"+h.pattern+"))*":h.pattern;e&&e.push(h),h.optional?h.partial?l+=S(h.prefix)+"("+p+")?":l+="(?:"+S(h.prefix)+"("+p+"))?":l+=S(h.prefix)+"("+p+")"}}return r?(i||(l+="(?:"+s+")?"),l+=a==="$"?"$":"(?="+a+")"):(i||(l+="(?:"+s+"(?="+a+"))?"),d||(l+="(?="+s+"|"+a+")")),new RegExp(l,ht(t))}function pt(n,e,t){return n instanceof RegExp?Wt(n,e):Array.isArray(n)?qt(n,e,t):Gt(n,e,t)}M.parse=xt;M.compile=Ft;M.tokensToFunction=Ht;M.tokensToRegExp=Bt;const{hasOwnProperty:Kt}=Object.prototype,Ee=new Map;Ee.set("|false",{keys:[],pattern:/(?:)/});function Me(n){try{return decodeURIComponent(n)}catch{return n}}function Qt(n,e,t,i,o){t=!!t;const r=`${n}|${t}`;let s=Ee.get(r);if(!s){const l=[];s={keys:l,pattern:M(n,l,{end:t,strict:n===""})},Ee.set(r,s)}const c=s.pattern.exec(e);if(!c)return null;const a=Object.assign({},o);for(let l=1;l<c.length;l++){const d=s.keys[l-1],u=d.name,h=c[l];(h!==void 0||!Kt.call(a,u))&&(d.repeat?a[u]=h?h.split(d.delimiter).map(Me):[]:a[u]=h&&Me(h))}return{path:c[0],keys:(i||[]).concat(s.keys),params:a}}function ft(n,e,t,i,o){let r,s,c=0,a=n.path||"";return a.charAt(0)==="/"&&(t&&(a=a.substr(1)),t=!0),{next(l){if(n===l)return{done:!0};const d=n.__children=n.__children||n.children;if(!r&&(r=Qt(a,e,!d,i,o),r))return{done:!1,value:{route:n,keys:r.keys,params:r.params,path:r.path}};if(r&&d)for(;c<d.length;){if(!s){const h=d[c];h.parent=n;let p=r.path.length;p>0&&e.charAt(p)==="/"&&(p+=1),s=ft(h,e.substr(p),t,r.keys,r.params)}const u=s.next(l);if(!u.done)return{done:!1,value:u.value};s=null,c++}return{done:!0}}}}function Xt(n){if(L(n.route.action))return n.route.action(n)}function Jt(n,e){let t=e;for(;t;)if(t=t.parent,t===n)return!0;return!1}function Zt(n){let e=`Path '${n.pathname}' is not properly resolved due to an error.`;const t=(n.route||{}).path;return t&&(e+=` Resolution had failed on route: '${t}'`),e}function Yt(n,e){const{route:t,path:i}=e;if(t&&!t.__synthetic){const o={path:i,route:t};if(!n.chain)n.chain=[];else if(t.parent){let r=n.chain.length;for(;r--&&n.chain[r].route&&n.chain[r].route!==t.parent;)n.chain.pop()}n.chain.push(o)}}class k{constructor(e,t={}){if(Object(e)!==e)throw new TypeError("Invalid routes");this.baseUrl=t.baseUrl||"",this.errorHandler=t.errorHandler,this.resolveRoute=t.resolveRoute||Xt,this.context=Object.assign({resolver:this},t.context),this.root=Array.isArray(e)?{path:"",__children:e,parent:null,__synthetic:!0}:e,this.root.parent=null}getRoutes(){return[...this.root.__children]}setRoutes(e){Ie(e);const t=[...ne(e)];this.root.__children=t}addRoutes(e){return Ie(e),this.root.__children.push(...ne(e)),this.getRoutes()}removeRoutes(){this.setRoutes([])}resolve(e){const t=Object.assign({},this.context,E(e)?{pathname:e}:e),i=ft(this.root,this.__normalizePathname(t.pathname),this.baseUrl),o=this.resolveRoute;let r=null,s=null,c=t;function a(l,d=r.value.route,u){const h=u===null&&r.value.route;return r=s||i.next(h),s=null,!l&&(r.done||!Jt(d,r.value.route))?(s=r,Promise.resolve(U)):r.done?Promise.reject(at(t)):(c=Object.assign(c?{chain:c.chain?c.chain.slice(0):[]}:{},t,r.value),Yt(c,r.value),Promise.resolve(o(c)).then(p=>p!=null&&p!==U?(c.result=p.result||p,c):a(l,d,p)))}return t.next=a,Promise.resolve().then(()=>a(!0,this.root)).catch(l=>{const d=Zt(c);if(l?console.warn(d):l=new Error(d),l.context=l.context||c,l instanceof DOMException||(l.code=l.code||500),this.errorHandler)return c.result=this.errorHandler(l),c;throw l})}static __createUrl(e,t){return new URL(e,t)}get __effectiveBaseUrl(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}__normalizePathname(e){if(!this.baseUrl)return e;const t=this.__effectiveBaseUrl,i=this.constructor.__createUrl(e,t).href;if(i.slice(0,t.length)===t)return i.slice(t.length)}}k.pathToRegexp=M;const{pathToRegexp:xe}=k,Fe=new Map;function vt(n,e,t){const i=e.name||e.component;if(i&&(n.has(i)?n.get(i).push(e):n.set(i,[e])),Array.isArray(t))for(let o=0;o<t.length;o++){const r=t[o];r.parent=e,vt(n,r,r.__children||r.children)}}function He(n,e){const t=n.get(e);if(t&&t.length>1)throw new Error(`Duplicate route with name "${e}". Try seting unique 'name' route properties.`);return t&&t[0]}function Be(n){let e=n.path;return e=Array.isArray(e)?e[0]:e,e!==void 0?e:""}function en(n,e={}){if(!(n instanceof k))throw new TypeError("An instance of Resolver is expected");const t=new Map;return(i,o)=>{let r=He(t,i);if(!r&&(t.clear(),vt(t,n.root,n.root.__children),r=He(t,i),!r))throw new Error(`Route "${i}" not found`);let s=Fe.get(r.fullPath);if(!s){let a=Be(r),l=r.parent;for(;l;){const p=Be(l);p&&(a=p.replace(/\/$/,"")+"/"+a.replace(/^\//,"")),l=l.parent}const d=xe.parse(a),u=xe.tokensToFunction(d),h=Object.create(null);for(let p=0;p<d.length;p++)E(d[p])||(h[d[p].name]=!0);s={toPath:u,keys:h},Fe.set(a,s),r.fullPath=a}let c=s.toPath(o,e)||"/";if(e.stringifyQueryParams&&o){const a={},l=Object.keys(o);for(let u=0;u<l.length;u++){const h=l[u];s.keys[h]||(a[h]=o[h])}const d=e.stringifyQueryParams(a);d&&(c+=d.charAt(0)==="?"?d:`?${d}`)}return c}}let ke=[];
1function tn(n){ke.forEach(e=>e.inactivate()),n.forEach(e=>e.activate()),ke=n}const nn=n=>{const e=getComputedStyle(n).getPropertyValue("animation-name");return e&&e!=="none"},rn=(n,e)=>{const t=()=>{n.removeEventListener("animationend",t),e()};n.addEventListener("animationend",t)};function je(n,e){return n.classList.add(e),new Promise(t=>{if(nn(n)){const i=n.getBoundingClientRect(),o=`height: ${i.bottom-i.top}px; width: ${i.right-i.left}px`;n.setAttribute("style",`position: absolute; ${o}`),rn(n,()=>{n.classList.remove(e),n.removeAttribute("style"),t()})}else n.classList.remove(e),t()})}const on=256;function de(n){return n!=null}function sn(n){const e=Object.assign({},n);return delete e.next,e}function w({pathname:n="",search:e="",hash:t="",chain:i=[],params:o={},redirectFrom:r,resolver:s},c){const a=i.map(l=>l.route);return{baseUrl:s&&s.baseUrl||"",pathname:n,search:e,hash:t,routes:a,route:c||a.length&&a[a.length-1]||null,params:o,redirectFrom:r,getUrl:(l={})=>Y(C.pathToRegexp.compile(gt(a))(Object.assign({},o,l)),s)}}function ze(n,e){const t=Object.assign({},n.params);return{redirect:{pathname:e,from:n.pathname,params:t}}}function an(n,e){e.location=w(n);const t=n.chain.map(i=>i.route).indexOf(n.route);return n.chain[t].element=e,e}function Z(n,e,t){if(L(n))return n.apply(t,e)}function We(n,e,t){return i=>{if(i&&(i.cancel||i.redirect))return i;if(t)return Z(t[n],e,t)}}function ln(n,e){if(!Array.isArray(n)&&!oe(n))throw new Error(b(`Incorrect "children" value for the route ${e.path}: expected array or object, but got ${n}`));e.__children=[];const t=ne(n);for(let i=0;i<t.length;i++)st(t[i]),e.__children.push(t[i])}function X(n){if(n&&n.length){const e=n[0].parentNode;for(let t=0;t<n.length;t++)e.removeChild(n[t])}}function Y(n,e){const t=e.__effectiveBaseUrl;return t?e.constructor.__createUrl(n.replace(/^\//,""),t).pathname:n}function gt(n){return n.map(e=>e.path).reduce((e,t)=>t.length?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):e,"")}class C extends k{constructor(e,t){const i=document.head.querySelector("base"),o=i&&i.getAttribute("href");super([],Object.assign({baseUrl:o&&k.__createUrl(o,document.URL).pathname.replace(/[^\/]*$/,"")},t)),this.resolveRoute=s=>this.__resolveRoute(s);const r=C.NavigationTrigger;C.setTriggers.apply(C,Object.keys(r).map(s=>r[s])),this.baseUrl,this.ready,this.ready=Promise.resolve(e),this.location,this.location=w({resolver:this}),this.__lastStartedRenderId=0,this.__navigationEventHandler=this.__onNavigationEvent.bind(this),this.setOutlet(e),this.subscribe(),this.__createdByRouter=new WeakMap,this.__addedByRouter=new WeakMap}__resolveRoute(e){const t=e.route;let i=Promise.resolve();L(t.children)&&(i=i.then(()=>t.children(sn(e))).then(r=>{!de(r)&&!L(t.children)&&(r=t.children),ln(r,t)}));const o={redirect:r=>ze(e,r),component:r=>{const s=document.createElement(r);return this.__createdByRouter.set(s,!0),s}};return i.then(()=>{if(this.__isLatestRender(e))return Z(t.action,[e,o],t)}).then(r=>{if(de(r)&&(r instanceof HTMLElement||r.redirect||r===U))return r;if(E(t.redirect))return o.redirect(t.redirect);if(t.bundle)return It(t.bundle).then(()=>{},()=>{throw new Error(b(`Bundle not found: ${t.bundle}. Check if the file name is correct`))})}).then(r=>{if(de(r))return r;if(E(t.component))return o.component(t.component)})}setOutlet(e){e&&this.__ensureOutlet(e),this.__outlet=e}getOutlet(){return this.__outlet}setRoutes(e,t=!1){return this.__previousContext=void 0,this.__urlForName=void 0,super.setRoutes(e),t||this.__onNavigationEvent(),this.ready}render(e,t){const i=++this.__lastStartedRenderId,o=Object.assign({search:"",hash:""},E(e)?{pathname:e}:e,{__renderId:i});return this.ready=this.resolve(o).then(r=>this.__fullyResolveChain(r)).then(r=>{if(this.__isLatestRender(r)){const s=this.__previousContext;if(r===s)return this.__updateBrowserHistory(s,!0),this.location;if(this.location=w(r),t&&this.__updateBrowserHistory(r,i===1),H("location-changed",{router:this,location:this.location}),r.__skipAttach)return this.__copyUnchangedElements(r,s),this.__previousContext=r,this.location;this.__addAppearingContent(r,s);const c=this.__animateIfNeeded(r);return this.__runOnAfterEnterCallbacks(r),this.__runOnAfterLeaveCallbacks(r,s),c.then(()=>
1{if(this.__isLatestRender(r))return this.__removeDisappearingContent(),this.__previousContext=r,this.location})}}).catch(r=>{if(i===this.__lastStartedRenderId)throw t&&this.__updateBrowserHistory(o),X(this.__outlet&&this.__outlet.children),this.location=w(Object.assign(o,{resolver:this})),H("error",Object.assign({router:this,error:r},o)),r}),this.ready}__fullyResolveChain(e,t=e){return this.__findComponentContextAfterAllRedirects(t).then(i=>{const r=i!==t?i:e,c=Y(gt(i.chain),i.resolver)===i.pathname,a=(l,d=l.route,u)=>l.next(void 0,d,u).then(h=>h===null||h===U?c?l:d.parent!==null?a(l,d.parent,h):h:h);return a(i).then(l=>{if(l===null||l===U)throw at(r);return l&&l!==U&&l!==i?this.__fullyResolveChain(r,l):this.__amendWithOnBeforeCallbacks(i)})})}__findComponentContextAfterAllRedirects(e){const t=e.result;return t instanceof HTMLElement?(an(e,t),Promise.resolve(e)):t.redirect?this.__redirect(t.redirect,e.__redirectCount,e.__renderId).then(i=>this.__findComponentContextAfterAllRedirects(i)):t instanceof Error?Promise.reject(t):Promise.reject(new Error(b(`Invalid route resolution result for path "${e.pathname}". Expected redirect object or HTML element, but got: "${Pt(t)}". Double check the action return value for the route.`)))}__amendWithOnBeforeCallbacks(e){return this.__runOnBeforeCallbacks(e).then(t=>t===this.__previousContext||t===e?t:this.__fullyResolveChain(t))}__runOnBeforeCallbacks(e){const t=this.__previousContext||{},i=t.chain||[],o=e.chain;let r=Promise.resolve();const s=()=>({cancel:!0}),c=a=>ze(e,a);if(e.__divergedChainIndex=0,e.__skipAttach=!1,i.length){for(let a=0;a<Math.min(i.length,o.length)&&!(i[a].route!==o[a].route||i[a].path!==o[a].path&&i[a].element!==o[a].element||!this.__isReusableElement(i[a].element,o[a].element));a=++e.__divergedChainIndex);if(e.__skipAttach=o.length===i.length&&e.__divergedChainIndex==o.length&&this.__isReusableElement(e.result,t.result),e.__skipAttach){for(let a=o.length-1;a>=0;a--)r=this.__runOnBeforeLeaveCallbacks(r,e,{prevent:s},i[a]);for(let a=0;a<o.length;a++)r=this.__runOnBeforeEnterCallbacks(r,e,{prevent:s,redirect:c},o[a]),i[a].element.location=w(e,i[a].route)}else for(let a=i.length-1;a>=e.__divergedChainIndex;a--)r=this.__runOnBeforeLeaveCallbacks(r,e,{prevent:s},i[a])}if(!e.__skipAttach)for(let a=0;a<o.length;a++)a<e.__divergedChainIndex?a<i.length&&i[a].element&&(i[a].element.location=w(e,i[a].route)):(r=this.__runOnBeforeEnterCallbacks(r,e,{prevent:s,redirect:c},o[a]),o[a].element&&(o[a].element.location=w(e,o[a].route)));return r.then(a=>{if(a){if(a.cancel)return this.__previousContext.__renderId=e.__renderId,this.__previousContext;if(a.redirect)return this.__redirect(a.redirect,e.__redirectCount,e.__renderId)}return e})}__runOnBeforeLeaveCallbacks(e,t,i,o){const r=w(t);return e.then(s=>{if(this.__isLatestRender(t))return We("onBeforeLeave",[r,i,this],o.element)(s)}).then(s=>{if(!(s||{}).redirect)return s})}__runOnBeforeEnterCallbacks(e,t,i,o){const r=w(t,o.route);return e.then(s=>{if(this.__isLatestRender(t))return We("onBeforeEnter",[r,i,this],o.element)(s)})}__isReusableElement(e,t){return e&&t?this.__createdByRouter.get(e)&&this.__createdByRouter.get(t)?e.localName===t.localName:e===t:!1}__isLatestRender(e){return e.__renderId===this.__lastStartedRenderId}__redirect(e,t,i){if(t>on)throw new Error(b(`Too many redirects when rendering ${e.from}`));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1,__renderId:i})}__ensureOutlet(e=this.__outlet){if(!(e instanceof Node))throw new TypeError(b(`Expected router outlet to be a valid DOM Node (but got ${e})`))}__updateBrowserHistory({pathname:e,search:t="",hash:i=""},o){if(window.location.pathname!==e||window.location.search!==t||window.location.hash!==i){const r=o?"replaceState":"pushState";window.history[r](null,document.title,e+t+i),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}__copyUnchangedElements(e,t){let i=this.__outlet;for(let o=0;o<e.__divergedChainIndex;o++){const r=t&&t.chain[o].element;if(r)if(r.parentNode===i)e.chain[o].element=r,i=r;else break}return i}__addAppearingContent(e,t){this.__ensureOutlet(),this.__removeAppearingContent();const i=this.__copyUnchangedElements(e,t);
1this.__appearingContent=[],this.__disappearingContent=Array.from(i.children).filter(r=>this.__addedByRouter.get(r)&&r!==e.result);let o=i;for(let r=e.__divergedChainIndex;r<e.chain.length;r++){const s=e.chain[r].element;s&&(o.appendChild(s),this.__addedByRouter.set(s,!0),o===i&&this.__appearingContent.push(s),o=s)}}__removeDisappearingContent(){this.__disappearingContent&&X(this.__disappearingContent),this.__disappearingContent=null,this.__appearingContent=null}__removeAppearingContent(){this.__disappearingContent&&this.__appearingContent&&(X(this.__appearingContent),this.__disappearingContent=null,this.__appearingContent=null)}__runOnAfterLeaveCallbacks(e,t){if(t)for(let i=t.chain.length-1;i>=e.__divergedChainIndex&&this.__isLatestRender(e);i--){const o=t.chain[i].element;if(o)try{const r=w(e);Z(o.onAfterLeave,[r,{},t.resolver],o)}finally{this.__disappearingContent.indexOf(o)>-1&&X(o.children)}}}__runOnAfterEnterCallbacks(e){for(let t=e.__divergedChainIndex;t<e.chain.length&&this.__isLatestRender(e);t++){const i=e.chain[t].element||{},o=w(e,e.chain[t].route);Z(i.onAfterEnter,[o,{},e.resolver],i)}}__animateIfNeeded(e){const t=(this.__disappearingContent||[])[0],i=(this.__appearingContent||[])[0],o=[],r=e.chain;let s;for(let c=r.length;c>0;c--)if(r[c-1].route.animate){s=r[c-1].route.animate;break}if(t&&i&&s){const c=oe(s)&&s.leave||"leaving",a=oe(s)&&s.enter||"entering";o.push(je(t,c)),o.push(je(i,a))}return Promise.all(o).then(()=>e)}subscribe(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}unsubscribe(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}__onNavigationEvent(e){const{pathname:t,search:i,hash:o}=e?e.detail:window.location;E(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render({pathname:t,search:i,hash:o},!0))}static setTriggers(...e){tn(e)}urlForName(e,t){return this.__urlForName||(this.__urlForName=en(this)),Y(this.__urlForName(e,t),this)}urlForPath(e,t){return Y(C.pathToRegexp.compile(e)(t),this)}static go(e){const{pathname:t,search:i,hash:o}=E(e)?this.__createUrl(e,"http://a"):e;return H("go",{pathname:t,search:i,hash:o})}}const cn=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,ee=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function dn(){function n(){return!0}return _t(n)}function hn(){try{return un()?!0:pn()?ee?!fn():!dn():!1}catch{return!1}}function un(){return localStorage.getItem("vaadin.developmentmode.force")}function pn(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function fn(){return!!(ee&&Object.keys(ee).map(e=>ee[e]).filter(e=>e.productionMode).length>0)}function _t(n,e){if(typeof n!="function")return;const t=cn.exec(n.toString());if(t)try{n=new Function(t[1])}catch(i){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",i)}return n(e)}window.Vaadin=window.Vaadin||{};const qe=function(n,e){if(window.Vaadin.developmentMode)return _t(n,e)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=hn());function vn(){}const gn=function(){if(typeof qe=="function")return qe(vn)};window.Vaadin=window.Vaadin||{};window.Vaadin.registrations=window.Vaadin.registrations||[];window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.7.4"});gn();C.NavigationTrigger={POPSTATE:Mt,CLICK:Dt};var he,v;(function(n){n.CONNECTED="connected",n.LOADING="loading",n.RECONNECTING="reconnecting",n.CONNECTION_LOST="connection-lost"})(v||(v={}));class _n{constructor(e){this.stateChangeListeners=new Set,this.loadingCount=0,this.connectionState=e,this.serviceWorkerMessageListener=this.serviceWorkerMessageListener.bind(this),navigator.serviceWorker&&(navigator.serviceWorker.addEventListener("message",this.serviceWorkerMessageListener),navigator.serviceWorker.ready.then(t=>{var i;(i=t==null?void 0:t.active)===null||i===void 0||i.postMessage({method:"Vaadin.ServiceWorker.isConnectionLost",id:"Vaadin.ServiceWorker.isConnectionLost"})}))}addStateChangeListener(e){this.stateChangeListeners.add(e)}removeStateChangeListener(e){this.stateChangeListeners.delete(e)}loadingStarted(){this.state=v.LOADING,this.loadingCount+=1}loadingFinished(){this.decreaseLoadingCount(v.CONNECTED)}loadingFailed(){this.decreaseLoadingCount(v.CONNECTION_LOST)}decreaseLoadingCount(e){this.loadingCount>0&&(this.loadingCount-=1,this.loadingCount===0&&(this.state=e))}get state(){return this.connectionState}set state(e){if(e!==this.connectionState){const t=this.connectionState;this.connectionState=e,this.loadingCount=0;for(const i of this.stateChangeListeners)i(t,this.connectionState)}}get online(){return this.connectionState===v.CONNECTED||this.connectionState===v.LOADING}get offline(){return!this.online}serviceWorkerMessageListener(e){typeof e.data=="object"&&e.data.id==="Vaadin.ServiceWorker.isConnectionLost"&&(e.data.result===!0&&(this.state=v.CONNECTION_LOST),navigator.serviceWorker.removeEventListener("message",this.serviceWorkerMessageListener))}}const mn=n=>!!(n==="localhost"||n==="[::1]"||n.match(/^127\.\d+\.\d+\.\d+$/)),J=window;if(!(!((he=J.Vaadin)===null||he===void 0)&&he.connectionState)){let n;mn(window.location.hostname)?n=!0:n=navigator.onLine,J.Vaadin=J.Vaadin||{},J.Vaadin.connectionState=new _n(n?v.CONNECTED:v.CONNECTION_LOST)}function m(n,e,t,i){var o=arguments.length,r=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(n,e,t,i);else for(var c=n.length-1;c>=0;c--)(s=n[c])&&(r=(o<3?s(r):o>3?s(e,t,r):s(e,t))||r);return o>3&&r&&Object.defineProperty(e,t,r),r}/**
2 * @license
3 * Copyright 2019 Google LLC
4 * SPDX-License-Identifier: BSD-3-Clause
5 */const te=window,Te=te.ShadowRoot&&(te.ShadyCSS===void 0||te.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Re=Symbol(),Ge=new WeakMap;let mt=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==Re)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(Te&&e===void 0){const i=t!==void 0&&t.length===1;i&&(e=Ge.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Ge.set(t,e))}return e}toString(){return this.cssText}};const yn=n=>new mt(typeof n=="string"?n:n+"",void 0,Re),Wn=(n,...e)=>{const t=n.length===1?n[0]:e.reduce((i,o,r)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+n[r+1],n[0]);return new mt(t,n,Re)},wn=(n,e)=>{Te?n.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{const i=document.createElement("style"),o=te.litNonce;o!==void 0&&i.setAttribute("nonce",o),i.textContent=t.cssText,n.appendChild(i)})},Ke=Te?n=>n:n=>n instanceof CSSStyleSheet?(e=>{let t="";for(const i of e.cssRules)t+=i.cssText;return yn(t)})(n):n;/**
6 * @license
7 * Copyright 2017 Google LLC
8 * SPDX-License-Identifier: BSD-3-Clause
9 */var ue;const se=window,Qe=se.trustedTypes,$n=Qe?Qe.emptyScript:"",Xe=se.reactiveElementPolyfillSupport,be={toAttribute(n,e){switch(e){case Boolean:n=n?$n:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,e){let t=n;switch(e){case Boolean:t=n!==null;break;case Number:t=n===null?null:Number(n);break;case Object:case Array:try{t=JSON.parse(n)}catch{t=null}}return t}},yt=(n,e)=>e!==n&&(e==e||n==n),pe={attribute:!0,type:String,converter:be,reflect:!1,hasChanged:yt},Se="finalized";let I=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),((t=this.h)!==null&&t!==void 0?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];
vendor: 1,738 bytes, line 9
9return this.elementProperties.forEach((t,i)=>{const o=this._$Ep(i,t);o!==void 0&&(this._$Ev.set(o,i),e.push(o))}),e}static createProperty(e,t=pe){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const i=typeof e=="symbol"?Symbol():"__"+e,o=this.getPropertyDescriptor(e,i,t);o!==void 0&&Object.defineProperty(this.prototype,e,o)}}static getPropertyDescriptor(e,t,i){return{get(){return this[t]},set(o){const r=this[e];this[t]=o,this.requestUpdate(e,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||pe}static finalize(){if(this.hasOwnProperty(Se))return!1;this[Se]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const o of i)this.createProperty(o,t[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const o of i)t.unshift(Ke(o))}else e!==void 0&&t.push(Ke(e));return t}static _$Ep(e,t){const i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(t=>t(this))}addController(e){var t,i;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((i=e.hostConnected)===null||i===void 0||i.call(e))}
vendor: 4,571 bytes, lines 9-15
9removeController(e){var t;(t=this._$ES)===null||t===void 0||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;const t=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return wn(t,this.constructor.elementStyles),t}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(t=>{var i;return(i=t.hostConnected)===null||i===void 0?void 0:i.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(t=>{var i;return(i=t.hostDisconnected)===null||i===void 0?void 0:i.call(t)})}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t,i=pe){var o;const r=this.constructor._$Ep(e,i);if(r!==void 0&&i.reflect===!0){const s=(((o=i.converter)===null||o===void 0?void 0:o.toAttribute)!==void 0?i.converter:be).toAttribute(t,i.type);this._$El=e,s==null?this.removeAttribute(r):this.setAttribute(r,s),this._$El=null}}_$AK(e,t){var i;const o=this.constructor,r=o._$Ev.get(e);if(r!==void 0&&this._$El!==r){const s=o.getPropertyOptions(r),c=typeof s.converter=="function"?{fromAttribute:s.converter}:((i=s.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?s.converter:be;this._$El=r,this[r]=c.fromAttribute(t,s.type),this._$El=null}}requestUpdate(e,t,i){let o=!0;e!==void 0&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||yt)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((o,r)=>this[r]=o),this._$Ei=void 0);let t=!1;const i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),(e=this._$ES)===null||e===void 0||e.forEach(o=>{var r;return(r=o.hostUpdate)===null||r===void 0?void 0:r.call(o)}),this.update(i)):this._$Ek()}catch(o){throw t=!1,this._$Ek(),o}t&&this._$AE(i)}willUpdate(e){}_$AE(e){var t;(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdated)===null||o===void 0?void 0:o.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((t,i)=>this._$EO(i,this[i],t)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};I[Se]=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},Xe==null||Xe({ReactiveElement:I}),((ue=se.reactiveElementVersions)!==null&&ue!==void 0?ue:se.reactiveElementVersions=[]).push("1.6.3");/**
10 * @license
11 * Copyright 2017 Google LLC
12 * SPDX-License-Identifier: BSD-3-Clause
13 */var fe;const ae=window,D=ae.trustedTypes,Je=D?D.createPolicy("lit-html",{createHTML:n=>n}):void 0,Ae="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,wt="?"+A,En=`<${wt}>`,O=document,j=()=>O.createComment(""),z=n=>n===null||typeof n!="object"&&typeof n!="function",$t=Array.isArray,bn=n=>$t(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",ve=`[ 	
14\f\r]`,x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ze=/-->/g,Ye=/>/g,T=RegExp(`>|${ve}(?:([^\\s"'>=/]+)(${ve}*=${ve}*(?:[^ 	
15\f\r"'\`<>=]|("|')|))|$)`,"g"),et=/'/g,tt=/"/g,Et=/^(?:script|style|textarea|title)$/i,bt=n=>(e,...t)=>({_$litType$:n,strings:e,values:t}),Sn=bt(1),Gn=bt(2),N=Symbol.for("lit-noChange"),g=Symbol.for("lit-nothing"),nt=new WeakMap,R=O.createTreeWalker(O,129,null,!1);function St(n,e){if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return Je!==void 0?Je.createHTML(e):e}const An=(n,e)=>{const t=n.length-1,i=[];let o,r=e===2?"<svg>":"",s=x;for(let c=0;c<t;c++){const a=n[c];let l,d,u=-1,h=0;for(;h<a.length&&(s.lastIndex=h,d=s.exec(a),d!==null);)h=s.lastIndex,s===x?d[1]==="!--"?s=Ze:d[1]!==void 0?s=Ye:d[2]!==void 0?(Et.test(d[2])&&(o=RegExp("</"+d[2],"g")),s=T):d[3]!==void 0&&(s=T):s===T?d[0]===">"?(s=o??x,u=-1):d[1]===void 0?u=-2:(u=s.lastIndex-d[2].length,l=d[1],s=d[3]===void 0?T:d[3]==='"'?tt:et):s===tt||s===et?s=T
vendor: 4,152 bytes, line 15
15:s===Ze||s===Ye?s=x:(s=T,o=void 0);const p=s===T&&n[c+1].startsWith("/>")?" ":"";r+=s===x?a+En:u>=0?(i.push(l),a.slice(0,u)+Ae+a.slice(u)+A+p):a+A+(u===-2?(i.push(void 0),c):p)}return[St(n,r+(n[t]||"<?>")+(e===2?"</svg>":"")),i]};class W{constructor({strings:e,_$litType$:t},i){let o;this.parts=[];let r=0,s=0;const c=e.length-1,a=this.parts,[l,d]=An(e,t);if(this.el=W.createElement(l,i),R.currentNode=this.el.content,t===2){const u=this.el.content,h=u.firstChild;h.remove(),u.append(...h.childNodes)}for(;(o=R.nextNode())!==null&&a.length<c;){if(o.nodeType===1){if(o.hasAttributes()){const u=[];for(const h of o.getAttributeNames())if(h.endsWith(Ae)||h.startsWith(A)){const p=d[s++];if(u.push(h),p!==void 0){const K=o.getAttribute(p.toLowerCase()+Ae).split(A),P=/([.?@])?(.*)/.exec(p);a.push({type:1,index:r,name:P[2],strings:K,ctor:P[1]==="."?Tn:P[1]==="?"?Ln:P[1]==="@"?On:le})}else a.push({type:6,index:r})}for(const h of u)o.removeAttribute(h)}if(Et.test(o.tagName)){const u=o.textContent.split(A),h=u.length-1;if(h>0){o.textContent=D?D.emptyScript:"";for(let p=0;p<h;p++)o.append(u[p],j()),R.nextNode(),a.push({type:2,index:++r});o.append(u[h],j())}}}else if(o.nodeType===8)if(o.data===wt)a.push({type:2,index:r});else{let u=-1;for(;(u=o.data.indexOf(A,u+1))!==-1;)a.push({type:7,index:r}),u+=A.length-1}r++}}static createElement(e,t){const i=O.createElement("template");return i.innerHTML=e,i}}function V(n,e,t=n,i){var o,r,s,c;if(e===N)return e;let a=i!==void 0?(o=t._$Co)===null||o===void 0?void 0:o[i]:t._$Cl;const l=z(e)?void 0:e._$litDirective$;return(a==null?void 0:a.constructor)!==l&&((r=a==null?void 0:a._$AO)===null||r===void 0||r.call(a,!1),l===void 0?a=void 0:(a=new l(n),a._$AT(n,t,i)),i!==void 0?((s=(c=t)._$Co)!==null&&s!==void 0?s:c._$Co=[])[i]=a:t._$Cl=a),a!==void 0&&(e=V(n,a._$AS(n,e.values),a,i)),e}class Cn{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:i},parts:o}=this._$AD,r=((t=e==null?void 0:e.creationScope)!==null&&t!==void 0?t:O).importNode(i,!0);R.currentNode=r;let s=R.nextNode(),c=0,a=0,l=o[0];for(;l!==void 0;){if(c===l.index){let d;l.type===2?d=new G(s,s.nextSibling,this,e):l.type===1?d=new l.ctor(s,l.name,l.strings,this,e):l.type===6&&(d=new Nn(s,this,e)),this._$AV.push(d),l=o[++a]}c!==(l==null?void 0:l.index)&&(s=R.nextNode(),c++)}return R.currentNode=O,r}v(e){let t=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class G{constructor(e,t,i,o){var r;this.type=2,this._$AH=g,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=o,this._$Cp=(r=o==null?void 0:o.isConnected)===null||r===void 0||r}get _$AU(){var e,t;return(t=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&t!==void 0?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=V(this,e,t),z(e)?e===g||e==null||e===""?(this._$AH!==g&&this._$AR(),this._$AH=g):e!==this._$AH&&e!==N&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):bn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==g&&z(this._$AH)?this._$AA.nextSibling.data=e:this.$(O.createTextNode(e)),this._$AH=e}g(e){var t;const{values:i,_$litType$:o}=e,r=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=W.createElement(St(o.h,o.h[0]),this.options)),o);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===r)this._$AH.v(i);else{const s=new Cn(r,this),c=s.u(this.options);s.v(i),this.$(c),this._$AH=s}}_$AC(e){let t=nt.get(e.strings);return t===void 0&&nt.set(e.strings,t=new W(e)),t}T(e){$t(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,o=0;for(const r of e)o===t.length?t.push(i=new G(this.k(j()),this.k(j()),this,this.options)):i=t[o],i._$AI(r),o++;o<t.length&&(this._$AR(i&&i._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var i;
15for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,t);e&&e!==this._$AB;){const o=e.nextSibling;e.remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cp=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}}class le{constructor(e,t,i,o,r){this.type=1,this._$AH=g,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=g}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,o){const r=this.strings;let s=!1;if(r===void 0)e=V(this,e,t,0),s=!z(e)||e!==this._$AH&&e!==N,s&&(this._$AH=e);else{const c=e;let a,l;for(e=r[0],a=0;a<r.length-1;a++)l=V(this,c[i+a],t,a),l===N&&(l=this._$AH[a]),s||(s=!z(l)||l!==this._$AH[a]),l===g?e=g:e!==g&&(e+=(l??"")+r[a+1]),this._$AH[a]=l}s&&!o&&this.j(e)}j(e){e===g?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Tn extends le{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===g?void 0:e}}const Rn=D?D.emptyScript:"";class Ln extends le{constructor(){super(...arguments),this.type=4}j(e){e&&e!==g?this.element.setAttribute(this.name,Rn):this.element.removeAttribute(this.name)}}class On extends le{constructor(e,t,i,o,r){super(e,t,i,o,r),this.type=5}_$AI(e,t=this){var i;if((e=(i=V(this,e,t,0))!==null&&i!==void 0?i:g)===N)return;const o=this._$AH,r=e===g&&o!==g||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,s=e!==g&&(o===g||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&i!==void 0?i:this.element,e):this._$AH.handleEvent(e)}}class Nn{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){V(this,e)}}const it=ae.litHtmlPolyfillSupport;it==null||it(W,G),((fe=ae.litHtmlVersions)!==null&&fe!==void 0?fe:ae.litHtmlVersions=[]).push("2.8.0");const Pn=(n,e,t)=>{var i,o;const r=(i=t==null?void 0:t.renderBefore)!==null&&i!==void 0?i:e;let s=r._$litPart$;if(s===void 0){const c=(o=t==null?void 0:t.renderBefore)!==null&&o!==void 0?o:null;r._$litPart$=s=new G(e.insertBefore(j(),c),c,void 0,t??{})}return s._$AI(n),s};/**
16 * @license
17 * Copyright 2017 Google LLC
18 * SPDX-License-Identifier: BSD-3-Clause
19 */var ge,_e;class B extends I{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;const i=super.createRenderRoot();return(e=(t=this.renderOptions).renderBefore)!==null&&e!==void 0||(t.renderBefore=i.firstChild),i}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Pn(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return N}}B.finalized=!0,B._$litElement$=!0,(ge=globalThis.litElementHydrateSupport)===null||ge===void 0||ge.call(globalThis,{LitElement:B});const rt=globalThis.litElementPolyfillSupport;rt==null||rt({LitElement:B});((_e=globalThis.litElementVersions)!==null&&_e!==void 0?_e:globalThis.litElementVersions=[]).push("3.3.3");/**
20 * @license
21 * Copyright 2017 Google LLC
22 * SPDX-License-Identifier: BSD-3-Clause
23 */const In=(n,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(t){t.createProperty(e.key,n)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(t){t.createProperty(e.key,n)}},Un=(n,e,t)=>{e.constructor.createProperty(t,n)};function y(n){return(e,t)=>t!==void 0?Un(n,e,t):In(n,e)}/**
24 * @license
25 * Copyright 2021 Google LLC
26 * SPDX-License-Identifier: BSD-3-Clause
27 */var me;((me=window.HTMLSlotElement)===null||me===void 0?void 0:me.prototype.assignedElements)!=null;/**
28 * @license
29 * Copyright 2017 Google LLC
30 * SPDX-License-Identifier: BSD-3-Clause
31 */const Dn={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vn=n=>
31(...e)=>({_$litDirective$:n,values:e});class Mn{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}/**
32 * @license
33 * Copyright 2018 Google LLC
34 * SPDX-License-Identifier: BSD-3-Clause
35 */const xn=Vn(class extends Mn{constructor(n){var e;if(super(n),n.type!==Dn.ATTRIBUTE||n.name!=="class"||((e=n.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(e=>n[e]).join(" ")+" "}update(n,[e]){var t,i;if(this.it===void 0){this.it=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(r=>r!=="")));for(const r in e)e[r]&&!(!((t=this.nt)===null||t===void 0)&&t.has(r))&&this.it.add(r);return this.render(e)}const o=n.element.classList;this.it.forEach(r=>{r in e||(o.remove(r),this.it.delete(r))});for(const r in e){const s=!!e[r];s===this.it.has(r)||!((i=this.nt)===null||i===void 0)&&i.has(r)||(s?(o.add(r),this.it.add(r)):(o.remove(r),this.it.delete(r)))}return N}}),ye="css-loading-indicator";var $;(function(n){n.IDLE="",n.FIRST="first",n.SECOND="second",n.THIRD="third"})($||($={}));class _ extends B{constructor(){super(),this.firstDelay=450,this.secondDelay=1500,this.thirdDelay=5e3,this.expandedDuration=2e3,this.onlineText="Online",this.offlineText="Connection lost",this.reconnectingText="Connection lost, trying to reconnect...",this.offline=!1,this.reconnecting=!1,this.expanded=!1,this.loading=!1,this.loadingBarState=$.IDLE,this.applyDefaultThemeState=!0,this.firstTimeout=0,this.secondTimeout=0,this.thirdTimeout=0,this.expandedTimeout=0,this.lastMessageState=v.CONNECTED,this.connectionStateListener=()=>{this.expanded=this.updateConnectionState(),this.expandedTimeout=this.timeoutFor(this.expandedTimeout,this.expanded,()=>{this.expanded=!1},this.expandedDuration)}}static create(){var e,t;const i=window;return!((e=i.Vaadin)===null||e===void 0)&&e.connectionIndicator||(i.Vaadin=i.Vaadin||{},i.Vaadin.connectionIndicator=document.createElement("vaadin-connection-indicator"),document.body.appendChild(i.Vaadin.connectionIndicator)),(t=i.Vaadin)===null||t===void 0?void 0:t.connectionIndicator}render(){return Sn`
36      <div class="v-loading-indicator ${this.loadingBarState}" style=${this.getLoadingBarStyle()}></div>
37
38      <div
39        class="v-status-message ${xn({active:this.reconnecting})}"
40      >
41        <span class="text"> ${this.renderMessage()} </span>
42      </div>
43    `}connectedCallback(){var e;super.connectedCallback();const t=window;!((e=t.Vaadin)===null||e===void 0)&&e.connectionState&&(this.connectionStateStore=t.Vaadin.connectionState,this.connectionStateStore.addStateChangeListener(this.connectionStateListener),this.updateConnectionState()),this.updateTheme()}disconnectedCallback(){super.disconnectedCallback(),this.connectionStateStore&&this.connectionStateStore.removeStateChangeListener(this.connectionStateListener),this.updateTheme()}get applyDefaultTheme(){return this.applyDefaultThemeState}set applyDefaultTheme(e){e!==this.applyDefaultThemeState&&(this.applyDefaultThemeState=e,this.updateTheme())}createRenderRoot(){return this}updateConnectionState(){var e;const t=(e=this.connectionStateStore)===null||e===void 0?void 0:e.state;return this.offline=t===v.CONNECTION_LOST,this.reconnecting=t===v.RECONNECTING,this.updateLoading(t===v.LOADING),this.loading?!1:t!==this.lastMessageState?(this.lastMessageState=t,!0):!1}updateLoading(e){this.loading=e,this.loadingBarState=$.IDLE,this.firstTimeout=this.timeoutFor(this.firstTimeout,e,()=>{this.loadingBarState=$.FIRST},this.firstDelay),this.secondTimeout=this.timeoutFor(this.secondTimeout,e,()=>{this.loadingBarState=$.SECOND},this.secondDelay),this.thirdTimeout=this.timeoutFor(this.thirdTimeout,e,()=>{this.loadingBarState=$.THIRD},this.thirdDelay)}renderMessage(){return this.reconnecting?this.reconnectingText:this.offline?this.offlineText:this.onlineText}updateTheme(){if(this.applyDefaultThemeState&&this.isConnected){if(!document.getElementById(ye)){const e=document.createElement("style");e.id=ye,e.textContent=this.getDefaultStyle(),document.head.appendChild(e)}}else{const e=document.getElementById(ye);e&&document.head.removeChild(e)}}getDefaultStyle(){return`
44      @keyframes v-progress-start {
45        0% {
46          width: 0%;
47        }
48        100% {
49          width: 50%;
50        }
51      }
52      @keyframes v-progress-delay {
53        0% {
54          width: 50%;
55        }
56        100% {
57          width: 90%;
58        }
59      }
60      @keyframes v-progress-wait {
61        0% {
62          width: 90%;
63          height: 4px;
64        }
65        3% {
66          width: 91%;
67          height: 7px;
68        }
69        100% {
70          width: 96%;
71          height: 7px;
72        }
73      }
74      @keyframes v-progress-wait-pulse {
75        0% {
76          opacity: 1;
77        }
78        50% {
79          opacity: 0.1;
80        }
81        100% {
82          opacity: 1;
83        }
84      }
85      .v-loading-indicator,
86      .v-status-message {
87        position: fixed;
88        z-index: 251;
89        left: 0;
90        right: auto;
91        top: 0;
92        background-color: var(--lumo-primary-color, var(--material-primary-color, blue));
93        transition: none;
94      }
95      .v-loading-indicator {
96        width: 50%;
97        height: 4px;
98        opacity: 1;
99        pointer-events: none;
100        animation: v-progress-start 1000ms 200ms both;
101      }
102      .v-loading-indicator[style*='none'] {
103        display: block !important;
104        width: 100%;
105        opacity: 0;
106        animation: none;
107        transition: opacity 500ms 300ms, width 300ms;
108      }
109      .v-loading-indicator.second {
110        width: 90%;
111        animation: v-progress-delay 3.8s forwards;
112      }
113      .v-loading-indicator.third {
114        width: 96%;
115        animation: v-progress-wait 5s forwards, v-progress-wait-pulse 1s 4s infinite backwards;
116      }
117
118      vaadin-connection-indicator[offline] .v-loading-indicator,
119      vaadin-connection-indicator[reconnecting] .v-loading-indicator {
120        display: none;
121      }
122
123      .v-status-message {
124        opacity: 0;
125        width: 100%;
126        max-height: var(--status-height-collapsed, 8px);
127        overflow: hidden;
128        background-color: var(--status-bg-color-online, var(--lumo-primary-color, var(--material-primary-color, blue)));
129        color: var(
130          --status-text-color-online,
131          var(--lumo-primary-contrast-color, var(--material-primary-contrast-color, #fff))
132        );
133        font-size: 0.75rem;
134        font-weight: 600;
135        line-height: 1;
136        transition: all 0.5s;
137        padding: 0 0.5em;
138      }
139
140      vaadin-connection-indicator[offline] .v-status-message,
141      vaadin-connection-indicator[reconnecting] .v-status-message {
142        opacity: 1;
143        background-color: var(--status-bg-color-offline, var(--lumo-shade, #333));
144        color: var(
145          --status-text-color-offline,
146          var(--lumo-primary-contrast-color, var(--material-primary-contrast-color, #fff))
147        );
148        background-image: repeating-linear-gradient(
149          45deg,
150          rgba(255, 255, 255, 0),
151          rgba(255, 255, 255, 0) 10px,
152          rgba(255, 255, 255, 0.1) 10px,
153          rgba(255, 255, 255, 0.1) 20px
154        );
155      }
156
157      vaadin-connection-indicator[reconnecting] .v-status-message {
158        animation: show-reconnecting-status 2s;
159      }
160
161      vaadin-connection-indicator[offline] .v-status-message:hover,
162      vaadin-connection-indicator[reconnecting] .v-status-message:hover,
163      vaadin-connection-indicator[expanded] .v-status-message {
164        max-height: var(--status-height, 1.75rem);
165      }
166
167      vaadin-connection-indicator[expanded] .v-status-message {
168        opacity: 1;
169      }
170
171      .v-status-message span {
172        display: flex;
173        align-items: center;
174        justify-content: center;
175        height: var(--status-height, 1.75rem);
176      }
177
178      vaadin-connection-indicator[reconnecting] .v-status-message span::before {
179        content: '';
180        width: 1em;
181        height: 1em;
182        border-top: 2px solid
183          var(--status-spinner-color, var(--lumo-primary-color, var(--material-primary-color, blue)));
184        border-left: 2px solid
185          var(--status-spinner-color, var(--lumo-primary-color, var(--material-primary-color, blue)));
186        border-right: 2px solid transparent;
187        border-bottom: 2px solid transparent;
188        border-radius: 50%;
189        box-sizing: border-box;
190        animation: v-spin 0.4s linear infinite;
191        margin: 0 0.5em;
192      }
193
194      @keyframes v-spin {
195        100% {
196          transform: rotate(360deg);
197        }
198      }
199    `}getLoadingBarStyle(){switch(this.loadingBarState){case $.IDLE:return"display: none";case $.FIRST:case $.SECOND:case $.THIRD:return"display: block";default:return""}}timeoutFor(e,t,i,o){return e!==0&&window.clearTimeout(e),t?window.setTimeout(i,o):0}static get instance(){return _.create()}}m([y({type:Number})],_.prototype,"firstDelay",void 0);m([y({type:Number})],_.prototype,"secondDelay",void 0);m([y({type:Number})],_.prototype,"thirdDelay",void 0);m([y({type:Number})],_.prototype,"expandedDuration",void 0);m([y({type:String})],_.prototype,"onlineText",void 0);m([y({type:String})],_.prototype,"offlineText",void 0);m([y({type:String})],_.prototype,"reconnectingText",void 0);m([y({type:Boolean,reflect:!0})],_.prototype,"offline",void 0);m([y({type:Boolean,reflect:!0})],_.prototype,"reconnecting",void 0);m([y({type:Boolean,reflect:!0})],_.prototype,"expanded",void 0);m([y({type:Boolean,reflect:!0})],_.prototype,"loading",void 0);m([y({type:String})],_.prototype,"loadingBarState",void 0);m([y({type:Boolean})],_.prototype,"applyDefaultTheme",null);customElements.get("vaadin-connection-indicator")===void 0&&customElements.define("vaadin-connection-indicator",_);_.instance;const q=window;q.Vaadin=q.Vaadin||{};q.Vaadin.registrations=q.Vaadin.registrations||[];
199q.Vaadin.registrations.push({is:"@vaadin/common-frontend",version:"0.0.18"});class ot extends Error{}const F=window.document.body,f=window;class Fn{constructor(e){this.response=void 0,this.pathname="",this.isActive=!1,this.baseRegex=/^\//,this.navigation="",F.$=F.$||[],this.config=e||{},f.Vaadin=f.Vaadin||{},f.Vaadin.Flow=f.Vaadin.Flow||{},f.Vaadin.Flow.clients={TypeScript:{isActive:()=>this.isActive}};const t=document.head.querySelector("base");this.baseRegex=new RegExp(`^${(document.baseURI||t&&t.href||"/").replace(/^https?:\/\/[^/]+/i,"")}`),this.appShellTitle=document.title,this.addConnectionIndicator()}get serverSideRoutes(){return[{path:"(.*)",action:this.action}]}loadingStarted(){this.isActive=!0,f.Vaadin.connectionState.loadingStarted()}loadingFinished(){this.isActive=!1,f.Vaadin.connectionState.loadingFinished(),!f.Vaadin.listener&&(f.Vaadin.listener={},document.addEventListener("click",e=>{e.target&&(e.target.hasAttribute("router-link")?this.navigation="link":e.composedPath().some(t=>t.nodeName==="A")&&(this.navigation="client"))},{capture:!0}))}get action(){return async e=>{if(this.pathname=e.pathname,f.Vaadin.connectionState.online)try{await this.flowInit()}catch(t){if(t instanceof ot)return f.Vaadin.connectionState.state=v.CONNECTION_LOST,this.offlineStubAction();throw t}else return this.offlineStubAction();return this.container.onBeforeEnter=(t,i)=>this.flowNavigate(t,i),this.container.onBeforeLeave=(t,i)=>this.flowLeave(t,i),this.container}}async flowLeave(e,t){const{connectionState:i}=f.Vaadin;return this.pathname===e.pathname||!this.isFlowClientLoaded()||i.offline?Promise.resolve({}):new Promise(o=>{this.loadingStarted(),this.container.serverConnected=r=>{o(t&&r?t.prevent():{}),this.loadingFinished()},F.$server.leaveNavigation(this.getFlowRoutePath(e),this.getFlowRouteQuery(e))})}async flowNavigate(e,t){return this.response?new Promise(i=>{this.loadingStarted(),this.container.serverConnected=(o,r)=>{t&&o?i(t.prevent()):t&&t.redirect&&r?i(t.redirect(r.pathname)):(this.container.style.display="",i(this.container)),this.loadingFinished()},F.$server.connectClient(this.getFlowRoutePath(e),this.getFlowRouteQuery(e),this.appShellTitle,history.state,this.navigation),this.navigation="history"}):Promise.resolve(this.container)}getFlowRoutePath(e){return decodeURIComponent(e.pathname).replace(this.baseRegex,"")}getFlowRouteQuery(e){return e.search&&e.search.substring(1)||""}async flowInit(){if(!this.isFlowClientLoaded()){this.loadingStarted(),this.response=await this.flowInitUi();const{pushScript:e,appConfig:t}=this.response;typeof e=="string"&&await this.loadScript(e);const{appId:i}=t;await(await we(()=>import("./FlowBootstrap-feff2646.js"),[],import.meta.url)).init(this.response),typeof this.config.imports=="function"&&(this.injectAppIdScript(i),await this.config.imports());const r=`flow-container-${i.toLowerCase()}`,s=document.querySelector(r);s?this.container=s:(this.container=document.createElement(r),this.container.id=i),F.$[i]=this.container;const c=await we(()=>import("./FlowClient-d5d5e377.js"),[],import.meta.url);await this.flowInitClient(c),this.loadingFinished()}return this.container&&!this.container.isConnected&&(this.container.style.display="none",document.body.appendChild(this.container)),this.response}async loadScript(e){return new Promise((t,i)=>{const o=document.createElement("script");o.onload=()=>t(),o.onerror=i,o.src=e,document.body.appendChild(o)})}injectAppIdScript(e){const t=e.substring(0,e.lastIndexOf("-")),i=document.createElement("script");i.type="module",i.setAttribute("data-app-id",t),document.body.append(i)}async flowInitClient(e){return e.init(),new Promise(t=>{const i=setInterval(()=>{Object.keys(f.Vaadin.Flow.clients).filter(r=>r!=="TypeScript").reduce((r,s)=>r||f.Vaadin.Flow.clients[s].isActive(),!1)||(clearInterval(i),t())},5)})}async flowInitUi(){const e=f.Vaadin&&f.Vaadin.TypeScript&&f.Vaadin.TypeScript.initial;return e?(f.Vaadin.TypeScript.initial=void 0,Promise.resolve(e)):new Promise((t,i)=>{const r=new XMLHttpRequest,s=`?v-r=init&location=${encodeURIComponent(this.getFlowRoutePath(location))}&query=${encodeURIComponent(this.getFlowRouteQuery(location))}`;r.open("GET",s),r.onerror=()=>i(new ot(`Invalid server response when initializing Flow UI.
200        ${r.status}
201        ${r.responseText}`)),r.onload=()=>{const c=r.getResponseHeader("content-type");c&&c.indexOf("application/json")!==-1?t(JSON.parse(r.responseText)):r.onerror()},r.send()})}addConnectionIndicator(){_.create(),f.addEventListener("online",()=>{if(!this.isFlowClientLoaded()){f.Vaadin.connectionState.state=v.RECONNECTING;const e=new XMLHttpRequest;e.open("HEAD","sw.js"),e.onload=()=>{f.Vaadin.connectionState.state=v.CONNECTED},e.onerror=()=>{f.Vaadin.connectionState.state=v.CONNECTION_LOST},setTimeout(()=>e.send(),50)}}),f.addEventListener("offline",()=>{this.isFlowClientLoaded()||(f.Vaadin.connectionState.state=v.CONNECTION_LOST)})}async offlineStubAction(){const e=document.createElement("iframe"),t="./offline-stub.html";e.setAttribute("src",t),e.setAttribute("style","width: 100%; height: 100%; border: 0"),this.response=void 0;let i;const o=()=>{i!==void 0&&(f.Vaadin.connectionState.removeStateChangeListener(i),i=void 0)};return e.onBeforeEnter=(r,s,c)=>{i=()=>{f.Vaadin.connectionState.online&&(o(),c.render(r,!1))},f.Vaadin.connectionState.addStateChangeListener(i)},e.onBeforeLeave=(r,s,c)=>{o()},e}isFlowClientLoaded(){return this.response!==void 0}}const{serverSideRoutes:Hn}=new Fn({imports:()=>we(()=>import("./generated-flow-imports-202d5e09.js").then(n=>n.H),["./generated-flow-imports-202d5e09.js","./generated-flow-imports-7d17c2bc.css"],import.meta.url)}),Bn=[...Hn],kn=new C(document.querySelector("#outlet"));kn.setRoutes(Bn);export{g as A,Pn as D,N as T,we as _,Mn as a,Gn as b,Vn as e,Wn as i,mt as o,yn as r,B as s,Dn as t,Sn as x};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.