@toa.io/extensions.introspection 1.0.0-alpha.263 → 1.0.0-alpha.264

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/package.json +4 -4
  3. package/transpiled/tsconfig.tsbuildinfo +1 -1
  4. package/ui/dist/_app/env.js +1 -0
  5. package/ui/dist/_app/immutable/assets/0.BL1urM24.css +2 -0
  6. package/ui/dist/_app/immutable/assets/2.BghF56l_.css +1 -0
  7. package/ui/dist/_app/immutable/assets/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
  8. package/ui/dist/_app/immutable/assets/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
  9. package/ui/dist/_app/immutable/assets/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
  10. package/ui/dist/_app/immutable/assets/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
  11. package/ui/dist/_app/immutable/assets/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
  12. package/ui/dist/_app/immutable/assets/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
  13. package/ui/dist/_app/immutable/assets/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
  14. package/ui/dist/_app/immutable/chunks/1xzjxgxR.js +1 -0
  15. package/ui/dist/_app/immutable/chunks/BVYHbl6Y.js +1 -0
  16. package/ui/dist/_app/immutable/chunks/BZ_ZXXtm.js +6 -0
  17. package/ui/dist/_app/immutable/chunks/Bdfm8yZ8.js +1 -0
  18. package/ui/dist/_app/immutable/chunks/Bjy-W4x2.js +81 -0
  19. package/ui/dist/_app/immutable/chunks/C4g3ZovQ.js +1 -0
  20. package/ui/dist/_app/immutable/chunks/CKszeXsu.js +5 -0
  21. package/ui/dist/_app/immutable/chunks/C_Un7mHJ.js +1 -0
  22. package/ui/dist/_app/immutable/chunks/CdbruytT.js +1 -0
  23. package/ui/dist/_app/immutable/chunks/DINmginf.js +1 -0
  24. package/ui/dist/_app/immutable/chunks/PUjOYRcs.js +3 -0
  25. package/ui/dist/_app/immutable/chunks/l6dsJ5Gu.js +2 -0
  26. package/ui/dist/_app/immutable/chunks/xihTtKlq.js +1 -0
  27. package/ui/dist/_app/immutable/entry/app.CHPxK5sj.js +2 -0
  28. package/ui/dist/_app/immutable/entry/start.RdXhYSOR.js +1 -0
  29. package/ui/dist/_app/immutable/nodes/0.DX4ayE9m.js +1 -0
  30. package/ui/dist/_app/immutable/nodes/1.DbHKxxO_.js +1 -0
  31. package/ui/dist/_app/immutable/nodes/2.BXehQ3-u.js +8 -0
  32. package/ui/dist/_app/immutable/nodes/3.CpinJgAs.js +1 -0
  33. package/ui/dist/_app/immutable/nodes/4.BuWNiMri.js +1 -0
  34. package/ui/dist/_app/immutable/nodes/5.B-xe_qpn.js +1 -0
  35. package/ui/dist/_app/version.json +1 -0
  36. package/ui/dist/index.html +48 -0
  37. package/ui/dist/robots.txt +3 -0
@@ -0,0 +1,2 @@
1
+ import{$ as e,A as t,C as n,Ct as r,D as i,E as a,Et as o,F as s,G as c,I as l,J as u,N as d,O as f,P as p,Q as m,T as h,V as g,Z as _,_ as v,_t as y,a as b,at as x,b as S,c as C,et as w,f as T,h as ee,i as E,j as D,k as O,lt as te,m as ne,mt as k,o as re,ot as A,p as j,q as M,rt as N,tt as ie,ut as P,vt as ae,wt as F,z as I}from"./PUjOYRcs.js";import{s as oe,t as se}from"./CdbruytT.js";import"./C_Un7mHJ.js";import"./xihTtKlq.js";import{N as ce,P as le,c as ue,j as de,s as fe}from"./BZ_ZXXtm.js";import"./BVYHbl6Y.js";import{C as pe,T as me,_ as he,at as ge,b as _e,c as ve,d as ye,f as be,g as xe,h as Se,it as Ce,l as we,m as Te,n as Ee,nt as De,p as Oe,rt as ke,s as Ae,t as je,u as Me,v as Ne,w as Pe,y as Fe}from"./CKszeXsu.js";import{t as Ie}from"./Bdfm8yZ8.js";var Le={value:()=>{}};function Re(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+``)||r in n||/[\s.]/.test(r))throw Error(`illegal type: `+r);n[r]=[]}return new ze(n)}function ze(e){this._=e}function Be(e,t){return e.trim().split(/^|\s+/).map(function(e){var n=``,r=e.indexOf(`.`);if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error(`unknown type: `+e);return{type:e,name:n}})}ze.prototype=Re.prototype={constructor:ze,on:function(e,t){var n=this._,r=Be(e+``,n),i,a=-1,o=r.length;if(arguments.length<2){for(;++a<o;)if((i=(e=r[a]).type)&&(i=Ve(n[i],e.name)))return i;return}if(t!=null&&typeof t!=`function`)throw Error(`invalid callback: `+t);for(;++a<o;)if(i=(e=r[a]).type)n[i]=He(n[i],e.name,t);else if(t==null)for(i in n)n[i]=He(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new ze(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=Array(i),r=0,i,a;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(a=this._[e],r=0,i=a.length;r<i;++r)a[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};function Ve(e,t){for(var n=0,r=e.length,i;n<r;++n)if((i=e[n]).name===t)return i.value}function He(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=Le,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var Ue={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function We(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),Ue.hasOwnProperty(t)?{space:Ue[t],local:e}:e}function Ge(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===`http://www.w3.org/1999/xhtml`&&t.documentElement.namespaceURI===`http://www.w3.org/1999/xhtml`?t.createElement(e):t.createElementNS(n,e)}}function Ke(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function qe(e){var t=We(e);return(t.local?Ke:Ge)(t)}function Je(){}function Ye(e){return e==null?Je:function(){return this.querySelector(e)}}function Xe(e){typeof e!=`function`&&(e=Ye(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=Array(o),c,l,u=0;u<o;++u)(c=a[u])&&(l=e.call(c,c.__data__,u,a))&&(`__data__`in c&&(l.__data__=c.__data__),s[u]=l);return new R(r,this._parents)}function Ze(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function Qe(){return[]}function $e(e){return e==null?Qe:function(){return this.querySelectorAll(e)}}function et(e){return function(){return Ze(e.apply(this,arguments))}}function tt(e){e=typeof e==`function`?et(e):$e(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o=t[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&(r.push(e.call(c,c.__data__,l,o)),i.push(c));return new R(r,i)}function nt(e){return function(){return this.matches(e)}}function rt(e){return function(t){return t.matches(e)}}var it=Array.prototype.find;function at(e){return function(){return it.call(this.children,e)}}function ot(){return this.firstElementChild}function st(e){return this.select(e==null?ot:at(typeof e==`function`?e:rt(e)))}var ct=Array.prototype.filter;function lt(){return Array.from(this.children)}function ut(e){return function(){return ct.call(this.children,e)}}function dt(e){return this.selectAll(e==null?lt:ut(typeof e==`function`?e:rt(e)))}function ft(e){typeof e!=`function`&&(e=nt(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new R(r,this._parents)}function pt(e){return Array(e.length)}function mt(){return new R(this._enter||this._groups.map(pt),this._parents)}function ht(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}ht.prototype={constructor:ht,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function gt(e){return function(){return e}}function _t(e,t,n,r,i,a){for(var o=0,s,c=t.length,l=a.length;o<l;++o)(s=t[o])?(s.__data__=a[o],r[o]=s):n[o]=new ht(e,a[o]);for(;o<c;++o)(s=t[o])&&(i[o]=s)}function vt(e,t,n,r,i,a,o){var s,c,l=new Map,u=t.length,d=a.length,f=Array(u),p;for(s=0;s<u;++s)(c=t[s])&&(f[s]=p=o.call(c,c.__data__,s,t)+``,l.has(p)?i[s]=c:l.set(p,c));for(s=0;s<d;++s)p=o.call(e,a[s],s,a)+``,(c=l.get(p))?(r[s]=c,c.__data__=a[s],l.delete(p)):n[s]=new ht(e,a[s]);for(s=0;s<u;++s)(c=t[s])&&l.get(f[s])===c&&(i[s]=c)}function yt(e){return e.__data__}function bt(e,t){if(!arguments.length)return Array.from(this,yt);var n=t?vt:_t,r=this._parents,i=this._groups;typeof e!=`function`&&(e=gt(e));for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],d=i[l],f=d.length,p=xt(e.call(u,u&&u.__data__,l,r)),m=p.length,h=s[l]=Array(m),g=o[l]=Array(m);n(u,d,h,g,c[l]=Array(f),p,t);for(var _=0,v=0,y,b;_<m;++_)if(y=h[_]){for(_>=v&&(v=_+1);!(b=g[v])&&++v<m;);y._next=b||null}}return o=new R(o,r),o._enter=s,o._exit=c,o}function xt(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function St(){return new R(this._exit||this._groups.map(pt),this._parents)}function Ct(e,t,n){var r=this.enter(),i=this,a=this.exit();return typeof e==`function`?(r=e(r),r&&=r.selection()):r=r.append(e+``),t!=null&&(i=t(i),i&&=i.selection()),n==null?a.remove():n(a),r&&i?r.merge(i).order():i}function wt(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l=n[c],u=r[c],d=l.length,f=s[c]=Array(d),p,m=0;m<d;++m)(p=l[m]||u[m])&&(f[m]=p);for(;c<i;++c)s[c]=n[c];return new R(s,this._parents)}function Tt(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,a=r[i],o;--i>=0;)(o=r[i])&&(a&&o.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(o,a),a=o);return this}function Et(e){e||=Dt;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o=n[a],s=o.length,c=i[a]=Array(s),l,u=0;u<s;++u)(l=o[u])&&(c[u]=l);c.sort(t)}return new R(i,this._parents).order()}function Dt(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Ot(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function kt(){return Array.from(this)}function At(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null}function jt(){let e=0;for(let t of this)++e;return e}function Mt(){return!this.node()}function Nt(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],a=0,o=i.length,s;a<o;++a)(s=i[a])&&e.call(s,s.__data__,a,i);return this}function Pt(e){return function(){this.removeAttribute(e)}}function Ft(e){return function(){this.removeAttributeNS(e.space,e.local)}}function It(e,t){return function(){this.setAttribute(e,t)}}function Lt(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Rt(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function zt(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Bt(e,t){var n=We(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?Ft:Pt:typeof t==`function`?n.local?zt:Rt:n.local?Lt:It)(n,t))}function Vt(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Ht(e){return function(){this.style.removeProperty(e)}}function Ut(e,t,n){return function(){this.style.setProperty(e,t,n)}}function Wt(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function Gt(e,t,n){return arguments.length>1?this.each((t==null?Ht:typeof t==`function`?Wt:Ut)(e,t,n??``)):L(this.node(),e)}function L(e,t){return e.style.getPropertyValue(t)||Vt(e).getComputedStyle(e,null).getPropertyValue(t)}function Kt(e){return function(){delete this[e]}}function qt(e,t){return function(){this[e]=t}}function Jt(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function Yt(e,t){return arguments.length>1?this.each((t==null?Kt:typeof t==`function`?Jt:qt)(e,t)):this.node()[e]}function Xt(e){return e.trim().split(/^|\s+/)}function Zt(e){return e.classList||new Qt(e)}function Qt(e){this._node=e,this._names=Xt(e.getAttribute(`class`)||``)}Qt.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}};function $t(e,t){for(var n=Zt(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function en(e,t){for(var n=Zt(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function tn(e){return function(){$t(this,e)}}function nn(e){return function(){en(this,e)}}function rn(e,t){return function(){(t.apply(this,arguments)?$t:en)(this,e)}}function an(e,t){var n=Xt(e+``);if(arguments.length<2){for(var r=Zt(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t==`function`?rn:t?tn:nn)(n,t))}function on(){this.textContent=``}function sn(e){return function(){this.textContent=e}}function cn(e){return function(){var t=e.apply(this,arguments);this.textContent=t??``}}function ln(e){return arguments.length?this.each(e==null?on:(typeof e==`function`?cn:sn)(e)):this.node().textContent}function un(){this.innerHTML=``}function dn(e){return function(){this.innerHTML=e}}function fn(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??``}}function pn(e){return arguments.length?this.each(e==null?un:(typeof e==`function`?fn:dn)(e)):this.node().innerHTML}function mn(){this.nextSibling&&this.parentNode.appendChild(this)}function hn(){return this.each(mn)}function gn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function _n(){return this.each(gn)}function vn(e){var t=typeof e==`function`?e:qe(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function yn(){return null}function bn(e,t){var n=typeof e==`function`?e:qe(e),r=t==null?yn:typeof t==`function`?t:Ye(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function xn(){var e=this.parentNode;e&&e.removeChild(this)}function Sn(){return this.each(xn)}function Cn(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function wn(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Tn(e){return this.select(e?wn:Cn)}function En(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}function Dn(e){return function(t){e.call(this,t,this.__data__)}}function On(e){return e.trim().split(/^|\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function kn(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,a;n<i;++n)a=t[n],(!e.type||a.type===e.type)&&a.name===e.name?this.removeEventListener(a.type,a.listener,a.options):t[++r]=a;++r?t.length=r:delete this.__on}}}function An(e,t,n){return function(){var r=this.__on,i,a=Dn(t);if(r){for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},r?r.push(i):this.__on=[i]}}function jn(e,t,n){var r=On(e+``),i,a=r.length,o;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,l=s.length,u;c<l;++c)for(i=0,u=s[c];i<a;++i)if((o=r[i]).type===u.type&&o.name===u.name)return u.value}return}for(s=t?An:kn,i=0;i<a;++i)this.each(s(r[i],t,n));return this}function Mn(e,t,n){var r=Vt(e),i=r.CustomEvent;typeof i==`function`?i=new i(t,n):(i=r.document.createEvent(`Event`),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function Nn(e,t){return function(){return Mn(this,e,t)}}function Pn(e,t){return function(){return Mn(this,e,t.apply(this,arguments))}}function Fn(e,t){return this.each((typeof t==`function`?Pn:Nn)(e,t))}function*In(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length,o;i<a;++i)(o=r[i])&&(yield o)}var Ln=[null];function R(e,t){this._groups=e,this._parents=t}function Rn(){return new R([[document.documentElement]],Ln)}function zn(){return this}R.prototype=Rn.prototype={constructor:R,select:Xe,selectAll:tt,selectChild:st,selectChildren:dt,filter:ft,data:bt,enter:mt,exit:St,join:Ct,merge:wt,selection:zn,order:Tt,sort:Et,call:Ot,nodes:kt,node:At,size:jt,empty:Mt,each:Nt,attr:Bt,style:Gt,property:Yt,classed:an,text:ln,html:pn,raise:hn,lower:_n,append:vn,insert:bn,remove:Sn,clone:Tn,datum:En,on:jn,dispatch:Fn,[Symbol.iterator]:In};function z(e){return typeof e==`string`?new R([[document.querySelector(e)]],[document.documentElement]):new R([[e]],Ln)}function Bn(e){let t;for(;t=e.sourceEvent;)e=t;return e}function B(e,t){if(e=Bn(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}var Vn={capture:!0,passive:!1};function Hn(e){e.preventDefault(),e.stopImmediatePropagation()}function Un(e){var t=e.document.documentElement,n=z(e).on(`dragstart.drag`,Hn,Vn);`onselectstart`in t?n.on(`selectstart.drag`,Hn,Vn):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect=`none`)}function Wn(e,t){var n=e.document.documentElement,r=z(e).on(`dragstart.drag`,null);t&&(r.on(`click.drag`,Hn,Vn),setTimeout(function(){r.on(`click.drag`,null)},0)),`onselectstart`in n?r.on(`selectstart.drag`,null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Gn(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Kn(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function qn(){}var Jn=.7,Yn=1/Jn,V=`\\s*([+-]?\\d+)\\s*`,Xn=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,H=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,Zn=/^#([0-9a-f]{3,8})$/,Qn=RegExp(`^rgb\\(${V},${V},${V}\\)$`),$n=RegExp(`^rgb\\(${H},${H},${H}\\)$`),er=RegExp(`^rgba\\(${V},${V},${V},${Xn}\\)$`),tr=RegExp(`^rgba\\(${H},${H},${H},${Xn}\\)$`),nr=RegExp(`^hsl\\(${Xn},${H},${H}\\)$`),rr=RegExp(`^hsla\\(${Xn},${H},${H},${Xn}\\)$`),ir={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Gn(qn,lr,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ar,formatHex:ar,formatHex8:or,formatHsl:sr,formatRgb:cr,toString:cr});function ar(){return this.rgb().formatHex()}function or(){return this.rgb().formatHex8()}function sr(){return yr(this).formatHsl()}function cr(){return this.rgb().formatRgb()}function lr(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=Zn.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?ur(t):n===3?new U(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?dr(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?dr(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Qn.exec(e))?new U(t[1],t[2],t[3],1):(t=$n.exec(e))?new U(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=er.exec(e))?dr(t[1],t[2],t[3],t[4]):(t=tr.exec(e))?dr(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=nr.exec(e))?vr(t[1],t[2]/100,t[3]/100,1):(t=rr.exec(e))?vr(t[1],t[2]/100,t[3]/100,t[4]):ir.hasOwnProperty(e)?ur(ir[e]):e===`transparent`?new U(NaN,NaN,NaN,0):null}function ur(e){return new U(e>>16&255,e>>8&255,e&255,1)}function dr(e,t,n,r){return r<=0&&(e=t=n=NaN),new U(e,t,n,r)}function fr(e){return e instanceof qn||(e=lr(e)),e?(e=e.rgb(),new U(e.r,e.g,e.b,e.opacity)):new U}function pr(e,t,n,r){return arguments.length===1?fr(e):new U(e,t,n,r??1)}function U(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Gn(U,pr,Kn(qn,{brighter(e){return e=e==null?Yn:Yn**+e,new U(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Jn:Jn**+e,new U(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new U(W(this.r),W(this.g),W(this.b),_r(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:mr,formatHex:mr,formatHex8:hr,formatRgb:gr,toString:gr}));function mr(){return`#${G(this.r)}${G(this.g)}${G(this.b)}`}function hr(){return`#${G(this.r)}${G(this.g)}${G(this.b)}${G((isNaN(this.opacity)?1:this.opacity)*255)}`}function gr(){let e=_r(this.opacity);return`${e===1?`rgb(`:`rgba(`}${W(this.r)}, ${W(this.g)}, ${W(this.b)}${e===1?`)`:`, ${e})`}`}function _r(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function W(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function G(e){return e=W(e),(e<16?`0`:``)+e.toString(16)}function vr(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new K(e,t,n,r)}function yr(e){if(e instanceof K)return new K(e.h,e.s,e.l,e.opacity);if(e instanceof qn||(e=lr(e)),!e)return new K;if(e instanceof K)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new K(o,s,c,e.opacity)}function br(e,t,n,r){return arguments.length===1?yr(e):new K(e,t,n,r??1)}function K(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Gn(K,br,Kn(qn,{brighter(e){return e=e==null?Yn:Yn**+e,new K(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Jn:Jn**+e,new K(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new U(Cr(e>=240?e-240:e+120,i,r),Cr(e,i,r),Cr(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new K(xr(this.h),Sr(this.s),Sr(this.l),_r(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=_r(this.opacity);return`${e===1?`hsl(`:`hsla(`}${xr(this.h)}, ${Sr(this.s)*100}%, ${Sr(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function xr(e){return e=(e||0)%360,e<0?e+360:e}function Sr(e){return Math.max(0,Math.min(1,e||0))}function Cr(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var wr=e=>()=>e;function Tr(e,t){return function(n){return e+n*t}}function Er(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function Dr(e){return(e=+e)==1?Or:function(t,n){return n-t?Er(t,n,e):wr(isNaN(t)?n:t)}}function Or(e,t){var n=t-e;return n?Tr(e,n):wr(isNaN(e)?t:e)}var kr=(function e(t){var n=Dr(t);function r(e,t){var r=n((e=pr(e)).r,(t=pr(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=Or(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function q(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Ar=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,jr=new RegExp(Ar.source,`g`);function Mr(e){return function(){return e}}function Nr(e){return function(t){return e(t)+``}}function Pr(e,t){var n=Ar.lastIndex=jr.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=Ar.exec(e))&&(i=jr.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:q(r,i)})),n=jr.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?Nr(c[0].x):Mr(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}var Fr=180/Math.PI,Ir={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Lr(e,t,n,r,i,a){var o,s,c;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),e*r<t*n&&(e=-e,t=-t,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*Fr,skewX:Math.atan(c)*Fr,scaleX:o,scaleY:s}}var Rr;function zr(e){let t=new(typeof DOMMatrix==`function`?DOMMatrix:WebKitCSSMatrix)(e+``);return t.isIdentity?Ir:Lr(t.a,t.b,t.c,t.d,t.e,t.f)}function Br(e){return e==null||(Rr||=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),Rr.setAttribute(`transform`,e),!(e=Rr.transform.baseVal.consolidate()))?Ir:(e=e.matrix,Lr(e.a,e.b,e.c,e.d,e.e,e.f))}function Vr(e,t,n,r){function i(e){return e.length?e.pop()+` `:``}function a(e,r,i,a,o,s){if(e!==i||r!==a){var c=o.push(`translate(`,null,t,null,n);s.push({i:c-4,x:q(e,i)},{i:c-2,x:q(r,a)})}else(i||a)&&o.push(`translate(`+i+t+a+n)}function o(e,t,n,a){e===t?t&&n.push(i(n)+`rotate(`+t+r):(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+`rotate(`,null,r)-2,x:q(e,t)}))}function s(e,t,n,a){e===t?t&&n.push(i(n)+`skewX(`+t+r):a.push({i:n.push(i(n)+`skewX(`,null,r)-2,x:q(e,t)})}function c(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+`scale(`,null,`,`,null,`)`);o.push({i:s-4,x:q(e,n)},{i:s-2,x:q(t,r)})}else(n!==1||r!==1)&&a.push(i(a)+`scale(`+n+`,`+r+`)`)}return function(t,n){var r=[],i=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,i),o(t.rotate,n.rotate,r,i),s(t.skewX,n.skewX,r,i),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,i),t=n=null,function(e){for(var t=-1,n=i.length,a;++t<n;)r[(a=i[t]).i]=a.x(e);return r.join(``)}}}var Hr=Vr(zr,`px, `,`px)`,`deg)`),Ur=Vr(Br,`, `,`)`,`)`),Wr=1e-12;function Gr(e){return((e=Math.exp(e))+1/e)/2}function Kr(e){return((e=Math.exp(e))-1/e)/2}function qr(e){return((e=Math.exp(2*e))-1)/(e+1)}var Jr=(function e(t,n,r){function i(e,i){var a=e[0],o=e[1],s=e[2],c=i[0],l=i[1],u=i[2],d=c-a,f=l-o,p=d*d+f*f,m,h;if(p<Wr)h=Math.log(u/s)/t,m=function(e){return[a+e*d,o+e*f,s*Math.exp(t*e*h)]};else{var g=Math.sqrt(p),_=(u*u-s*s+r*p)/(2*s*n*g),v=(u*u-s*s-r*p)/(2*u*n*g),y=Math.log(Math.sqrt(_*_+1)-_);h=(Math.log(Math.sqrt(v*v+1)-v)-y)/t,m=function(e){var r=e*h,i=Gr(y),c=s/(n*g)*(i*qr(t*r+y)-Kr(y));return[a+c*d,o+c*f,s*i/Gr(t*r+y)]}}return m.duration=h*1e3*t/Math.SQRT2,m}return i.rho=function(t){var n=Math.max(.001,+t),r=n*n;return e(n,r,r*r)},i})(Math.SQRT2,2,4),Yr=0,Xr=0,Zr=0,Qr=1e3,$r,ei,ti=0,ni=0,ri=0,ii=typeof performance==`object`&&performance.now?performance:Date,ai=typeof window==`object`&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function oi(){return ni||=(ai(si),ii.now()+ri)}function si(){ni=0}function ci(){this._call=this._time=this._next=null}ci.prototype=li.prototype={constructor:ci,restart:function(e,t,n){if(typeof e!=`function`)throw TypeError(`callback is not a function`);n=(n==null?oi():+n)+(t==null?0:+t),!this._next&&ei!==this&&(ei?ei._next=this:$r=this,ei=this),this._call=e,this._time=n,mi()},stop:function(){this._call&&(this._call=null,this._time=1/0,mi())}};function li(e,t,n){var r=new ci;return r.restart(e,t,n),r}function ui(){oi(),++Yr;for(var e=$r,t;e;)(t=ni-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Yr}function di(){ni=(ti=ii.now())+ri,Yr=Xr=0;try{ui()}finally{Yr=0,pi(),ni=0}}function fi(){var e=ii.now(),t=e-ti;t>Qr&&(ri-=t,ti=e)}function pi(){for(var e,t=$r,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:$r=n);ei=e,mi(r)}function mi(e){Yr||(Xr&&=clearTimeout(Xr),e-ni>24?(e<1/0&&(Xr=setTimeout(di,e-ii.now()-ri)),Zr&&=clearInterval(Zr)):(Zr||=(ti=ii.now(),setInterval(fi,Qr)),Yr=1,ai(di)))}function hi(e,t,n){var r=new ci;return t=t==null?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}var gi=Re(`start`,`end`,`cancel`,`interrupt`),_i=[];function vi(e,t,n,r,i,a){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;bi(e,n,{name:t,index:r,group:i,on:gi,tween:_i,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function yi(e,t){var n=Y(e,t);if(n.state>0)throw Error(`too late; already scheduled`);return n}function J(e,t){var n=Y(e,t);if(n.state>3)throw Error(`too late; already running`);return n}function Y(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error(`transition not found`);return n}function bi(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=li(a,0,n.time);function a(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var l,u,d,f;if(n.state!==1)return c();for(l in r)if(f=r[l],f.name===n.name){if(f.state===3)return hi(o);f.state===4?(f.state=6,f.timer.stop(),f.on.call(`interrupt`,e,e.__data__,f.index,f.group),delete r[l]):+l<t&&(f.state=6,f.timer.stop(),f.on.call(`cancel`,e,e.__data__,f.index,f.group),delete r[l])}if(hi(function(){n.state===3&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(a))}),n.state=2,n.on.call(`start`,e,e.__data__,n.index,n.group),n.state===2){for(n.state=3,i=Array(d=n.tween.length),l=0,u=-1;l<d;++l)(f=n.tween[l].value.call(e,e.__data__,n.index,n.group))&&(i[++u]=f);i.length=u+1}}function s(t){for(var r=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(c),n.state=5,1),a=-1,o=i.length;++a<o;)i[a].call(e,r);n.state===5&&(n.on.call(`end`,e,e.__data__,n.index,n.group),c())}function c(){for(var i in n.state=6,n.timer.stop(),delete r[t],r)return;delete e.__transition}}function xi(e,t){var n=e.__transition,r,i,a=!0,o;if(n){for(o in t=t==null?null:t+``,n){if((r=n[o]).name!==t){a=!1;continue}i=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?`interrupt`:`cancel`,e,e.__data__,r.index,r.group),delete n[o]}a&&delete e.__transition}}function Si(e){return this.each(function(){xi(this,e)})}function Ci(e,t){var n,r;return function(){var i=J(this,e),a=i.tween;if(a!==n){r=n=a;for(var o=0,s=r.length;o<s;++o)if(r[o].name===t){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function wi(e,t,n){var r,i;if(typeof n!=`function`)throw Error();return function(){var a=J(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===t){i[c]=s;break}c===l&&i.push(s)}a.tween=i}}function Ti(e,t){var n=this._id;if(e+=``,arguments.length<2){for(var r=Y(this.node(),n).tween,i=0,a=r.length,o;i<a;++i)if((o=r[i]).name===e)return o.value;return null}return this.each((t==null?Ci:wi)(n,e,t))}function Ei(e,t,n){var r=e._id;return e.each(function(){var e=J(this,r);(e.value||={})[t]=n.apply(this,arguments)}),function(e){return Y(e,r).value[t]}}function Di(e,t){var n;return(typeof t==`number`?q:t instanceof lr?kr:(n=lr(t))?(t=n,kr):Pr)(e,t)}function Oi(e){return function(){this.removeAttribute(e)}}function ki(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Ai(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttribute(e);return o===i?null:o===r?a:a=t(r=o,n)}}function ji(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttributeNS(e.space,e.local);return o===i?null:o===r?a:a=t(r=o,n)}}function Mi(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttribute(e):(o=this.getAttribute(e),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Ni(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Pi(e,t){var n=We(e),r=n===`transform`?Ur:Di;return this.attrTween(e,typeof t==`function`?(n.local?Ni:Mi)(n,r,Ei(this,`attr.`+e,t)):t==null?(n.local?ki:Oi)(n):(n.local?ji:Ai)(n,r,t))}function Fi(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Ii(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function Li(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Ii(e,i)),n}return i._value=t,i}function Ri(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Fi(e,i)),n}return i._value=t,i}function zi(e,t){var n=`attr.`+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!=`function`)throw Error();var r=We(e);return this.tween(n,(r.local?Li:Ri)(r,t))}function Bi(e,t){return function(){yi(this,e).delay=+t.apply(this,arguments)}}function Vi(e,t){return t=+t,function(){yi(this,e).delay=t}}function Hi(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Bi:Vi)(t,e)):Y(this.node(),t).delay}function Ui(e,t){return function(){J(this,e).duration=+t.apply(this,arguments)}}function Wi(e,t){return t=+t,function(){J(this,e).duration=t}}function Gi(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Ui:Wi)(t,e)):Y(this.node(),t).duration}function Ki(e,t){if(typeof t!=`function`)throw Error();return function(){J(this,e).ease=t}}function qi(e){var t=this._id;return arguments.length?this.each(Ki(t,e)):Y(this.node(),t).ease}function Ji(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!=`function`)throw Error();J(this,e).ease=n}}function Yi(e){if(typeof e!=`function`)throw Error();return this.each(Ji(this._id,e))}function Xi(e){typeof e!=`function`&&(e=nt(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new X(r,this._parents,this._name,this._id)}function Zi(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c=t[s],l=n[s],u=c.length,d=o[s]=Array(u),f,p=0;p<u;++p)(f=c[p]||l[p])&&(d[p]=f);for(;s<r;++s)o[s]=t[s];return new X(o,this._parents,this._name,this._id)}function Qi(e){return(e+``).trim().split(/^|\s+/).every(function(e){var t=e.indexOf(`.`);return t>=0&&(e=e.slice(0,t)),!e||e===`start`})}function $i(e,t,n){var r,i,a=Qi(t)?yi:J;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}function ea(e,t){var n=this._id;return arguments.length<2?Y(this.node(),n).on.on(e):this.each($i(n,e,t))}function ta(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function na(){return this.on(`end.remove`,ta(this._id))}function ra(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=Ye(e));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s=r[o],c=s.length,l=a[o]=Array(c),u,d,f=0;f<c;++f)(u=s[f])&&(d=e.call(u,u.__data__,f,s))&&(`__data__`in u&&(d.__data__=u.__data__),l[f]=d,vi(l[f],t,n,f,l,Y(u,n)));return new X(a,this._parents,t,n)}function ia(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=$e(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c=r[s],l=c.length,u,d=0;d<l;++d)if(u=c[d]){for(var f=e.call(u,u.__data__,d,c),p,m=Y(u,n),h=0,g=f.length;h<g;++h)(p=f[h])&&vi(p,t,n,h,f,m);a.push(f),o.push(u)}return new X(a,o,t,n)}var aa=Rn.prototype.constructor;function oa(){return new aa(this._groups,this._parents)}function sa(e,t){var n,r,i;return function(){var a=L(this,e),o=(this.style.removeProperty(e),L(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}function ca(e){return function(){this.style.removeProperty(e)}}function la(e,t,n){var r,i=n+``,a;return function(){var o=L(this,e);return o===i?null:o===r?a:a=t(r=o,n)}}function ua(e,t,n){var r,i,a;return function(){var o=L(this,e),s=n(this),c=s+``;return s??(c=s=(this.style.removeProperty(e),L(this,e))),o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s))}}function da(e,t){var n,r,i,a=`style.`+t,o=`end.`+a,s;return function(){var c=J(this,e),l=c.on,u=c.value[a]==null?s||=ca(t):void 0;(l!==n||i!==u)&&(r=(n=l).copy()).on(o,i=u),c.on=r}}function fa(e,t,n){var r=(e+=``)==`transform`?Hr:Di;return t==null?this.styleTween(e,sa(e,r)).on(`end.style.`+e,ca(e)):typeof t==`function`?this.styleTween(e,ua(e,r,Ei(this,`style.`+e,t))).each(da(this._id,e)):this.styleTween(e,la(e,r,t),n).on(`end.style.`+e,null)}function pa(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function ma(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&pa(e,a,n)),r}return a._value=t,a}function ha(e,t,n){var r=`style.`+(e+=``);if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!=`function`)throw Error();return this.tween(r,ma(e,t,n??``))}function ga(e){return function(){this.textContent=e}}function _a(e){return function(){var t=e(this);this.textContent=t??``}}function va(e){return this.tween(`text`,typeof e==`function`?_a(Ei(this,`text`,e)):ga(e==null?``:e+``))}function ya(e){return function(t){this.textContent=e.call(this,t)}}function ba(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&ya(r)),t}return r._value=e,r}function xa(e){var t=`text`;if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!=`function`)throw Error();return this.tween(t,ba(e))}function Sa(){for(var e=this._name,t=this._id,n=Ta(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)if(c=o[l]){var u=Y(c,t);vi(c,e,n,l,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new X(r,this._parents,e,n)}function Ca(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){--i===0&&a()}};n.each(function(){var n=J(this,r),i=n.on;i!==e&&(t=(e=i).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),n.on=t}),i===0&&a()})}var wa=0;function X(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Ta(){return++wa}var Z=Rn.prototype;X.prototype={constructor:X,select:ra,selectAll:ia,selectChild:Z.selectChild,selectChildren:Z.selectChildren,filter:Xi,merge:Zi,selection:oa,transition:Sa,call:Z.call,nodes:Z.nodes,node:Z.node,size:Z.size,empty:Z.empty,each:Z.each,on:ea,attr:Pi,attrTween:zi,style:fa,styleTween:ha,text:va,textTween:xa,remove:na,tween:Ti,delay:Hi,duration:Gi,ease:qi,easeVarying:Yi,end:Ca,[Symbol.iterator]:Z[Symbol.iterator]};function Ea(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var Da={time:null,delay:0,duration:250,ease:Ea};function Oa(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}function ka(e){var t,n;e instanceof X?(t=e._id,e=e._name):(t=Ta(),(n=Da).time=oi(),e=e==null?null:e+``);for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&vi(c,e,t,l,o,n||Oa(c,t));return new X(r,this._parents,e,t)}Rn.prototype.interrupt=Si,Rn.prototype.transition=ka;var Aa=e=>()=>e;function ja(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function Q(e,t,n){this.k=e,this.x=t,this.y=n}Q.prototype={constructor:Q,scale:function(e){return e===1?this:new Q(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new Q(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return`translate(`+this.x+`,`+this.y+`) scale(`+this.k+`)`}};var Ma=new Q(1,0,0);Na.prototype=Q.prototype;function Na(e){for(;!e.__zoom;)if(!(e=e.parentNode))return Ma;return e.__zoom}function Pa(e){e.stopImmediatePropagation()}function Fa(e){e.preventDefault(),e.stopImmediatePropagation()}function Ia(e){return(!e.ctrlKey||e.type===`wheel`)&&!e.button}function La(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute(`viewBox`)?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function Ra(){return this.__zoom||Ma}function za(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function Ba(){return navigator.maxTouchPoints||`ontouchstart`in this}function Va(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],a=e.invertY(t[0][1])-n[0][1],o=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>a?(a+o)/2:Math.min(0,a)||Math.max(0,o))}function Ha(){var e=Ia,t=La,n=Va,r=za,i=Ba,a=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],s=250,c=Jr,l=Re(`start`,`zoom`,`end`),u,d,f,p=500,m=150,h=0,g=10;function _(e){e.property(`__zoom`,Ra).on(`wheel.zoom`,w,{passive:!1}).on(`mousedown.zoom`,T).on(`dblclick.zoom`,ee).filter(i).on(`touchstart.zoom`,E).on(`touchmove.zoom`,D).on(`touchend.zoom touchcancel.zoom`,O).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}_.transform=function(e,t,n,r){var i=e.selection?e.selection():e;i.property(`__zoom`,Ra),e===i?i.interrupt().each(function(){S(this,arguments).event(r).start().zoom(null,typeof t==`function`?t.apply(this,arguments):t).end()}):x(e,t,n,r)},_.scaleBy=function(e,t,n,r){_.scaleTo(e,function(){return this.__zoom.k*(typeof t==`function`?t.apply(this,arguments):t)},n,r)},_.scaleTo=function(e,r,i,a){_.transform(e,function(){var e=t.apply(this,arguments),a=this.__zoom,s=i==null?b(e):typeof i==`function`?i.apply(this,arguments):i,c=a.invert(s),l=typeof r==`function`?r.apply(this,arguments):r;return n(y(v(a,l),s,c),e,o)},i,a)},_.translateBy=function(e,r,i,a){_.transform(e,function(){return n(this.__zoom.translate(typeof r==`function`?r.apply(this,arguments):r,typeof i==`function`?i.apply(this,arguments):i),t.apply(this,arguments),o)},null,a)},_.translateTo=function(e,r,i,a,s){_.transform(e,function(){var e=t.apply(this,arguments),s=this.__zoom,c=a==null?b(e):typeof a==`function`?a.apply(this,arguments):a;return n(Ma.translate(c[0],c[1]).scale(s.k).translate(typeof r==`function`?-r.apply(this,arguments):-r,typeof i==`function`?-i.apply(this,arguments):-i),e,o)},a,s)};function v(e,t){return t=Math.max(a[0],Math.min(a[1],t)),t===e.k?e:new Q(t,e.x,e.y)}function y(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new Q(e.k,r,i)}function b(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function x(e,n,r,i){e.on(`start.zoom`,function(){S(this,arguments).event(i).start()}).on(`interrupt.zoom end.zoom`,function(){S(this,arguments).event(i).end()}).tween(`zoom`,function(){var e=this,a=arguments,o=S(e,a).event(i),s=t.apply(e,a),l=r==null?b(s):typeof r==`function`?r.apply(e,a):r,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),d=e.__zoom,f=typeof n==`function`?n.apply(e,a):n,p=c(d.invert(l).concat(u/d.k),f.invert(l).concat(u/f.k));return function(e){if(e===1)e=f;else{var t=p(e),n=u/t[2];e=new Q(n,l[0]-t[0]*n,l[1]-t[1]*n)}o.zoom(null,e)}})}function S(e,t,n){return!n&&e.__zooming||new C(e,t)}function C(e,n){this.that=e,this.args=n,this.active=0,this.sourceEvent=null,this.extent=t.apply(e,n),this.taps=0}C.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit(`start`)),this},zoom:function(e,t){return this.mouse&&e!==`mouse`&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&e!==`touch`&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&e!==`touch`&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit(`zoom`),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit(`end`)),this},emit:function(e){var t=z(this.that).datum();l.call(e,this.that,new ja(e,{sourceEvent:this.sourceEvent,target:_,type:e,transform:this.that.__zoom,dispatch:l}),t)}};function w(t,...i){if(!e.apply(this,arguments))return;var s=S(this,i).event(t),c=this.__zoom,l=Math.max(a[0],Math.min(a[1],c.k*2**r.apply(this,arguments))),u=B(t);if(s.wheel)(s.mouse[0][0]!==u[0]||s.mouse[0][1]!==u[1])&&(s.mouse[1]=c.invert(s.mouse[0]=u)),clearTimeout(s.wheel);else if(c.k===l)return;else s.mouse=[u,c.invert(u)],xi(this),s.start();Fa(t),s.wheel=setTimeout(d,m),s.zoom(`mouse`,n(y(v(c,l),s.mouse[0],s.mouse[1]),s.extent,o));function d(){s.wheel=null,s.end()}}function T(t,...r){if(f||!e.apply(this,arguments))return;var i=t.currentTarget,a=S(this,r,!0).event(t),s=z(t.view).on(`mousemove.zoom`,d,!0).on(`mouseup.zoom`,p,!0),c=B(t,i),l=t.clientX,u=t.clientY;Un(t.view),Pa(t),a.mouse=[c,this.__zoom.invert(c)],xi(this),a.start();function d(e){if(Fa(e),!a.moved){var t=e.clientX-l,r=e.clientY-u;a.moved=t*t+r*r>h}a.event(e).zoom(`mouse`,n(y(a.that.__zoom,a.mouse[0]=B(e,i),a.mouse[1]),a.extent,o))}function p(e){s.on(`mousemove.zoom mouseup.zoom`,null),Wn(e.view,a.moved),Fa(e),a.event(e).end()}}function ee(r,...i){if(e.apply(this,arguments)){var a=this.__zoom,c=B(r.changedTouches?r.changedTouches[0]:r,this),l=a.invert(c),u=a.k*(r.shiftKey?.5:2),d=n(y(v(a,u),c,l),t.apply(this,i),o);Fa(r),s>0?z(this).transition().duration(s).call(x,d,c,r):z(this).call(_.transform,d,c,r)}}function E(t,...n){if(e.apply(this,arguments)){var r=t.touches,i=r.length,a=S(this,n,t.changedTouches.length===i).event(t),o,s,c,l;for(Pa(t),s=0;s<i;++s)c=r[s],l=B(c,this),l=[l,this.__zoom.invert(l),c.identifier],a.touch0?!a.touch1&&a.touch0[2]!==l[2]&&(a.touch1=l,a.taps=0):(a.touch0=l,o=!0,a.taps=1+!!u);u&&=clearTimeout(u),o&&(a.taps<2&&(d=l[0],u=setTimeout(function(){u=null},p)),xi(this),a.start())}}function D(e,...t){if(this.__zooming){var r=S(this,t).event(e),i=e.changedTouches,a=i.length,s,c,l,u;for(Fa(e),s=0;s<a;++s)c=i[s],l=B(c,this),r.touch0&&r.touch0[2]===c.identifier?r.touch0[0]=l:r.touch1&&r.touch1[2]===c.identifier&&(r.touch1[0]=l);if(c=r.that.__zoom,r.touch1){var d=r.touch0[0],f=r.touch0[1],p=r.touch1[0],m=r.touch1[1],h=(h=p[0]-d[0])*h+(h=p[1]-d[1])*h,g=(g=m[0]-f[0])*g+(g=m[1]-f[1])*g;c=v(c,Math.sqrt(h/g)),l=[(d[0]+p[0])/2,(d[1]+p[1])/2],u=[(f[0]+m[0])/2,(f[1]+m[1])/2]}else if(r.touch0)l=r.touch0[0],u=r.touch0[1];else return;r.zoom(`touch`,n(y(c,l,u),r.extent,o))}}function O(e,...t){if(this.__zooming){var n=S(this,t).event(e),r=e.changedTouches,i=r.length,a,o;for(Pa(e),f&&clearTimeout(f),f=setTimeout(function(){f=null},p),a=0;a<i;++a)o=r[a],n.touch0&&n.touch0[2]===o.identifier?delete n.touch0:n.touch1&&n.touch1[2]===o.identifier&&delete n.touch1;if(n.touch1&&!n.touch0&&(n.touch0=n.touch1,delete n.touch1),n.touch0)n.touch0[1]=this.__zoom.invert(n.touch0[0]);else if(n.end(),n.taps===2&&(o=B(o,this),Math.hypot(d[0]-o[0],d[1]-o[1])<g)){var s=z(this).on(`dblclick.zoom`);s&&s.apply(this,arguments)}}}return _.wheelDelta=function(e){return arguments.length?(r=typeof e==`function`?e:Aa(+e),_):r},_.filter=function(t){return arguments.length?(e=typeof t==`function`?t:Aa(!!t),_):e},_.touchable=function(e){return arguments.length?(i=typeof e==`function`?e:Aa(!!e),_):i},_.extent=function(e){return arguments.length?(t=typeof e==`function`?e:Aa([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),_):t},_.scaleExtent=function(e){return arguments.length?(a[0]=+e[0],a[1]=+e[1],_):[a[0],a[1]]},_.translateExtent=function(e){return arguments.length?(o[0][0]=+e[0][0],o[1][0]=+e[1][0],o[0][1]=+e[0][1],o[1][1]=+e[1][1],_):[[o[0][0],o[0][1]],[o[1][0],o[1][1]]]},_.constrain=function(e){return arguments.length?(n=e,_):n},_.duration=function(e){return arguments.length?(s=+e,_):s},_.interpolate=function(e){return arguments.length?(c=e,_):c},_.on=function(){var e=l.on.apply(l,arguments);return e===l?_:e},_.clickDistance=function(e){return arguments.length?(h=(e=+e)*e,_):Math.sqrt(h)},_.tapDistance=function(e){return arguments.length?(g=+e,_):g},_}var Ua=[.25,2],Wa=(e,t)=>{let n=t.onchange,r=Ha().scaleExtent(Ua).filter(Ga).on(`zoom`,e=>n(e.transform)),i=z(e);return i.call(r).on(`dblclick.zoom`,null),t.onready?.({reset:()=>r.transform(i,Ma)}),{update:e=>{n=e.onchange},destroy:()=>{z(e).on(`.zoom`,null)}}};function Ga(e){return e.ctrlKey&&e.type!==`wheel`||`button`in e&&e.button!==0?!1:e.type===`wheel`?!Ka(e.target,`[data-scrollable]`):!Ka(e.target,`button, a, [data-scrollable]`)}function Ka(e,t){return e instanceof Element&&e.closest(t)!==null}function qa(e,t){let n=e.map(e=>({kind:`component`,id:ye(e),node:e})),r=new Map,i=new Map;for(let e of t){let t=Ja(e.src),n=ye(e.dst);`service`in e.src&&r.set(t,{kind:`service`,id:t,name:e.src.service});let a=i.get(`${t} ${n}`),o=+!!$a(e);a===void 0?i.set(`${t} ${n}`,{id:`${t} ${n}`,from:t,to:n,calls:1,events:o}):(a.calls++,a.events+=o)}return{vertices:[...r.values(),...n],links:[...i.values()],calls:t}}function Ja(e){return`service`in e?Ya+e.service:ye(e)}var Ya=`svc:`,Xa=`@`;function Za(e){return e.startsWith(Ya)?Xa+e.slice(4):xe(e)}function Qa(e){return e.startsWith(Xa)?Ya+e.slice(1):e.includes(`.`)?e:`${Me}.${e}`}function $a(e){return`event`in e.src}function eo(e,t){return t===null?[]:e.filter(e=>e.from===t||e.to===t)}function to(e,t){let n=new Set;if(t===null)return n;n.add(t);for(let r of e)r.from===t&&n.add(r.to),r.to===t&&n.add(r.from);return n}function no(e){return e.kind===`component`?xe(e.id):e.name}function ro(e,t){return e.kind===`component`?Se(e.node,t)>0:be(e.name,t)}function io(e,t){let n=e.vertices.find(e=>e.id===t);if(n===void 0)return null;let r=new Map(e.vertices.map(e=>[e.id,e])),i=new Map,a=new Map,o=!1;for(let s of e.calls){let e=Ja(s.src),c=ye(s.dst);if(e===t&&c===t){o=!0;continue}let l=c===t?`in`:e===t?`out`:null;if(l===null)continue;let u=l===`in`?e:c,d=r.get(u);if(d===void 0)continue;let f=l===`in`?{row:oo(n,s),theirs:so(s)}:{row:so(s),theirs:oo(d,s)};ao(l===`in`?i:a,`${l}:${u}`,d,f,$a(s))}return{vertex:n,incoming:[...i.values()].sort(co),outgoing:[...a.values()].sort(co),self:o}}function ao(e,t,n,r,i){let a=e.get(t);a===void 0&&(a={id:t,vertex:n,wires:[]},e.set(t,a));let o={...r,id:`${t} ${r.row} ${r.theirs} ${i}`,event:i};a.wires.some(e=>e.id===o.id)||a.wires.push(o)}function oo(e,t){if(e.kind!==`component`)return null;let n=t.src;if(`event`in n){let t=ye(n),r=e.node.receivers.find(e=>e.source===t&&e.event===n.event);if(r!==void 0)return`receiver:${r.label}`}return`operation:${t.dst.operation}`}function so(e){return`event`in e.src?`event:${e.src.event}`:`operation`in e.src?`operation:${e.src.operation}`:null}function co(e,t){return e.vertex.kind===t.vertex.kind?e.vertex.id.localeCompare(t.vertex.id):e.vertex.kind===`service`?1:-1}var lo=k(null),uo=`card`,fo=`transition-spring transition-morph`;function po(e){return`card-`+e.replace(/[^a-z0-9]+/gi,`-`)}async function mo(e){lo.set(e),await g(),await se(`${oe}/${Za(e)}/`)}async function ho(){window.navigation?.canGoBack===!0?window.history.back():await se(`${oe}/`)}var go=4,_o=(e,t)=>{let n=t,r=null;return e.addEventListener(`pointerdown`,i),e.addEventListener(`click`,a),e.addEventListener(`keydown`,o),{update:e=>n=e,destroy:()=>{e.removeEventListener(`pointerdown`,i),e.removeEventListener(`click`,a),e.removeEventListener(`keydown`,o)}};function i(e){r={x:e.clientX,y:e.clientY}}function a(t){let i=r;if(r=null,!(i!==null&&Math.hypot(t.clientX-i.x,t.clientY-i.y)>go)){if(t.target instanceof Element){let n=t.target.closest(`button, a`);if(n!==null&&n!==e)return}n(t.shiftKey)}}function o(t){t.target===e&&(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),n(t.shiftKey))}},vo=(e,t)=>{let{into:n,id:r}=t,i=new ResizeObserver(()=>a());return i.observe(e),{update:e=>{n=e.into,r=e.id,a()},destroy:()=>i.disconnect()};function a(){n.set(r,{width:e.offsetWidth,height:e.offsetHeight})}},$={width:220,height:61,gap:32,row:20},yo={height:40},bo={width:400,height:320},xo=.25,So={height:20,prefix:`band:`},Co=6,wo=32;function To(e,t,n=4){let r=new Map,i=e.vertices.filter(e=>e.kind===`service`),a=e.vertices.filter(e=>e.kind===`component`).sort(Ao),o={x:$.width+$.gap,y:$.height+$.row},s=[{label:`user`,of:a.filter(e=>!he(e.node))},{label:`system`,of:a.filter(e=>he(e.node))}].filter(e=>e.of.length>0),c=[],l=0;for(let e of s)c.push({id:So.prefix+e.label,label:e.label,x:0,y:l,width:0}),l+=So.height+$.row,e.of.forEach((e,t)=>r.set(e.id,{x:t%n*o.x,y:l+Math.floor(t/n)*o.y})),l+=Math.ceil(e.of.length/n)*o.y;i.forEach((e,t)=>r.set(e.id,{x:t*o.x,y:l}));let u=[...r.values()].reduce((e,t)=>Math.max(e,t.x),0)+$.width;for(let e of c)e.width=u,r.set(e.id,{x:e.x,y:e.y});let d=new Map(i.map(e=>[e.id,yo.height]));ko(r,t,e=>({width:e.startsWith(So.prefix)?u:$.width,height:e.startsWith(So.prefix)?So.height:d.get(e)??$.height}));for(let e of c){let t=r.get(e.id);t!==void 0&&Object.assign(e,t),r.delete(e.id)}return{positions:r,bands:c}}function Eo(e,t,n,r=null){let i=new Map([[e.vertex.id,{x:0,y:0}]]),a=Oo(n,e.vertex.id,bo).height/2;return o(e.incoming,-1),o(e.outgoing,1),ko(i,t,t=>Oo(n,t,t===e.vertex.id?bo:$));function o(e,t){let o=$.width+$.gap;Do(e).forEach((e,s)=>{let c=$.gap+s*o,l=e.map(e=>Oo(n,e.id,$).height),u=l.reduce((e,t)=>e+t,0)+$.row*(e.length-1),d=a-u/2;e.forEach((e,n)=>{let a=e.id===r?bo.width:$.width;i.set(e.id,{x:t<0?-(c+a):bo.width+c,y:d}),d+=l[n]+$.row})})}}function Do(e){if(e.length===0)return[];if(e.length<=Co)return[e];let t=Math.ceil(e.length/2);return[e.slice(0,t),e.slice(t)]}function Oo(e,t,n){return e.get(t)??n}function ko(e,t,n){if(e.size===0)return e;let r={left:1/0,top:1/0,right:-1/0,bottom:-1/0};for(let[t,i]of e){let{width:e,height:a}=n(t);r.left=Math.min(r.left,i.x),r.top=Math.min(r.top,i.y),r.right=Math.max(r.right,i.x+e),r.bottom=Math.max(r.bottom,i.y+a)}let i={width:r.right-r.left,height:r.bottom-r.top},a={x:Math.max(wo,(t.width-i.width)/2)-r.left,y:Math.max(wo,(t.height-i.height)/2)-r.top};for(let[t,n]of e)e.set(t,{x:n.x+a.x,y:n.y+a.y});return e}function Ao(e,t){return e.id.localeCompare(t.id)}var jo=new Set([`$$slots`,`$$events`,`$$legacy`]);function Mo(e,t){let n=b(t,jo),r=[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}]];ce(e,re({name:`bolt`},()=>n,{get iconNode(){return r}}))}var No=t(`<!> <!>`,1);function Po(t,n){ae(n,!0);var a=O(),o=e(a);{let t=A(()=>[`bg-muted items-center`,n.class]);S(o,()=>Ne,(a,o)=>{o(a,{variant:`muted`,size:`sm`,get style(){return`height: ${yo.height??``}px`},get class(){return I(t)},children:(t,a)=>{var o=No(),s=e(o);S(s,()=>_e,(e,t)=>{t(e,{children:(e,t)=>{Mo(e,{class:`text-muted-foreground size-4`})},$$slots:{default:!0}})});var c=w(s,2);S(c,()=>Pe,(t,a)=>{a(t,{children:(t,a)=>{var o=O(),s=e(o);S(s,()=>Fe,(e,t)=>{t(e,{class:`gap-0`,children:(e,t)=>{r();var a=d();M(()=>i(a,n.name)),f(e,a)},$$slots:{default:!0}})}),f(t,o)},$$slots:{default:!0}})}),f(t,o)},$$slots:{default:!0}})})}f(t,a),y()}var Fo=1/3,Io=2/3;function Lo(e,t,n){return zo(e,t,n,Io)}function Ro(e,t,n){return zo(e,t,n,Fo)}function zo(e,t,n,r){let i=t>=e.x+e.width/2,a=e.y+(n?.y??e.height*r);if(n?.x===void 0)return{x:i?e.x+e.width:e.x,y:a,away:i?1:-1};let o=e.x+n.x;return{x:o,y:a,away:t>=o?1:-1}}function Bo(e,t){let n=Math.max(40,Math.abs(t.x-e.x)/2),r={x:e.x+e.away*n,y:e.y},i={x:t.x+t.away*n,y:t.y};return`M${e.x},${e.y} C${r.x},${r.y} ${i.x},${i.y} ${t.x},${t.y}`}function Vo(e){let t=e.x+e.width/2,n=e.y+e.height;return`M${t-10},${n} C${t-28},${n+28} ${t+28},${n+28} ${t+10},${n}`}var Ho=D(`<path fill="none" stroke="currentColor" stroke-width="1.5" class="transition-opacity" marker-end="url(#map-arrow)"></path>`),Uo=D(`<svg aria-hidden="true"><defs><marker id="map-arrow" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L8,4 L0,8 z" fill="currentColor"></path></marker></defs><!></svg>`);function Wo(e,t){ae(t,!0);let r=A(()=>t.arcs.map(e=>{let t=i(e.from),n=i(e.to);if(t===null||n===null)return null;let r=e.from===e.to?Vo(t):Bo(Lo(t,n.x,e.out),Ro(n,t.x,e.in));return{id:e.id,d:r,dashed:e.dashed===!0,dimmed:e.dimmed===!0}}).filter(e=>e!==null));function i(e){let n=t.positions.get(e),r=t.sizes.get(e);return n===void 0||r===void 0?null:{...n,...r}}var a=Uo(),o=w(m(a));n(o,17,()=>I(r),e=>e.id,(e,t)=>{var n=Ho();M(()=>{T(n,`d`,I(t).d),T(n,`stroke-dasharray`,I(t).dashed?`4 3`:void 0),T(n,`opacity`,I(t).dimmed?xo:void 0)}),f(e,n)}),F(a),M(()=>ne(a,0,ee([`pointer-events-none absolute overflow-visible`,t.class]))),f(e,a),y()}var Go=t(`<span class="text-muted-foreground"> </span>`),Ko=t(`<!> `,1),qo=t(`<!> <!>`,1),Jo=t(`<button type="button" class="text-muted-foreground hover:bg-muted hover:text-foreground -m-1 shrink-0
2
+ cursor-pointer rounded-md p-1 transition-colors"><!></button>`),Yo=t(`<div class="flex items-start gap-2"><!> <!></div> <!>`,1);function Xo(t,n){ae(n,!0);let r=()=>P(we,`$dict`,o),[o,c]=te(),l=E(n,`open`,3,!1);var u=O(),d=e(u);{let t=A(()=>[`bg-card flex-col items-stretch gap-0`,n.class]);S(d,()=>Ne,(o,c)=>{c(o,{variant:`outline`,size:`sm`,get class(){return I(t)},children:(t,o)=>{var c=Yo(),u=e(c),d=m(u);S(d,()=>Pe,(t,r)=>{r(t,{class:`min-w-0`,children:(t,r)=>{var o=qo(),s=e(o);S(s,()=>Fe,(t,r)=>{r(t,{class:`gap-0`,children:(t,r)=>{var o=Ko(),s=e(o),c=e=>{var t=Go(),r=m(t);F(t),M(()=>i(r,`${n.node.namespace??``}.`)),f(e,t)};a(s,e=>{n.node.namespace!=="default"&&e(c)});var l=w(s,1,!0);M(()=>i(l,n.node.component)),f(t,o)},$$slots:{default:!0}})});var c=w(s,2);S(c,()=>pe,(e,t)=>{t(e,{class:`text-xs line-clamp-none`,children:(e,t)=>{Ae(e,{get node(){return n.node}})},$$slots:{default:!0}})}),f(t,o)},$$slots:{default:!0}})});var p=w(d,2),h=e=>{var t=Jo(),i=m(t);{let e=A(()=>[`size-4 transition-transform`,l()&&`rotate-180`]);ve(i,{get class(){return I(e)}})}F(t),M(()=>{T(t,`aria-expanded`,l()),T(t,`aria-label`,r().map.expand)}),s(`click`,t,function(...e){n.ontoggle?.apply(this,e)}),f(e,t)};a(p,e=>{n.ontoggle!==void 0&&e(h)}),F(u);var g=w(u,2),_=e=>{Ee(e,{get node(){return n.node},class:`pt-3`})};a(g,e=>{l()&&e(_)}),f(t,c)},$$slots:{default:!0}})})}f(t,u),y(),c()}p([`click`]);var Zo=t(`<div class="text-muted-foreground absolute top-0 left-0 flex items-center gap-3"><span class="text-xs font-medium tracking-wide uppercase"> </span> <!></div>`),Qo=t(`<div class="absolute top-0 left-0 cursor-pointer transition-opacity" role="button" tabindex="0"><!></div>`),$o=t(`<!> <!> <!>`,1);function es(t,r){ae(r,!0);let o=()=>P(Te,`$query`,d),s=()=>P(we,`$dict`,d),c=()=>P(lo,`$flying`,d),[d,p]=te(),h=new Ce,g=x(null),_=A(()=>To(r.graph,r.view)),b=A(()=>I(_).positions),S=A(()=>to(r.graph.links,I(g))),C=A(()=>eo(r.graph.links,I(g)).map(e=>({id:e.id,from:e.from,to:e.to,dashed:e.events===e.calls})));u(()=>{let e=r.graph.vertices.filter(e=>ro(e,o())),t=e.length===1?e[0].id:null;return Oe.set(t===null?null:()=>void mo(t)),()=>Oe.set(null)});function ee(e){return ro(e,o())?I(g)===null||I(S).has(e.id):!1}var E=$o(),D=e(E);Wo(D,{class:`text-muted-foreground/50`,get arcs(){return I(C)},get positions(){return I(b)},get sizes(){return h}});var O=w(D,2);n(O,17,()=>I(_).bands,e=>e.id,(e,t)=>{var n=Zo();let r;var a=m(n),o=m(a,!0);F(a);var c=w(a,2);me(c,{class:`flex-1`}),F(n),M(()=>{r=j(n,``,r,{translate:`${I(t).x??``}px ${I(t).y??``}px`,width:`${I(t).width??``}px`,height:`${So.height??``}px`}),i(o,s().space[I(t).label])}),f(e,n)});var ne=w(O,2);n(ne,17,()=>r.graph.vertices,e=>e.id,(e,t)=>{let n=A(()=>I(b).get(I(t).id)??{x:0,y:0});var r=Qo();let i;var o=m(r),s=e=>{Xo(e,{get node(){return I(t).node}})},u=e=>{Po(e,{get name(){return I(t).name}})};a(o,e=>{I(t).kind===`component`?e(s):e(u,-1)}),F(r),v(r,(e,t)=>vo?.(e,t),()=>({into:h,id:I(t).id})),v(r,(e,t)=>_o?.(e,t),()=>()=>void mo(I(t).id)),M((e,t)=>{T(r,`aria-label`,e),i=j(r,``,i,t)},[()=>no(I(t)),()=>({translate:`${I(n).x??``}px ${I(n).y??``}px`,width:`${$.width??``}px`,opacity:ee(I(t))?1:xo,"view-transition-name":c()===I(t).id?uo:void 0,"view-transition-class":c()===I(t).id?fo:void 0})]),l(`mouseenter`,r,()=>N(g,I(t).id,!0)),l(`mouseleave`,r,()=>N(g,null)),f(e,r)}),f(t,E),y(),p()}var ts=(e,t)=>{let n=new ResizeObserver(()=>s()),r=new MutationObserver(()=>s()),{into:i,of:a}=t,o=new Set;return n.observe(e),r.observe(e,{childList:!0,subtree:!0}),s(),{update:e=>{i=e.into,a=e.of,s()},destroy:()=>{n.disconnect(),r.disconnect();for(let e of o)i.delete(e)}};function s(){let t=new Set;for(let n of e.querySelectorAll(`[data-row]`)){if(n.dataset.row===void 0)continue;let e=`${a} ${n.dataset.row}`;t.add(e);let r={top:l(n).top,height:n.offsetHeight,right:c(n)},o=i.get(e);(o===void 0||o.top!==r.top||o.height!==r.height||o.right!==r.right)&&i.set(e,r)}for(let e of o)t.has(e)||i.delete(e);o=t}function c(e){let t=0;for(let n of e.children)n instanceof HTMLElement&&(t=Math.max(t,l(n).left+n.offsetWidth));return t===0?l(e).left+e.offsetWidth:t}function l(t){let n={top:0,left:0},r=t;for(;r!==null&&r!==e;)n.top+=r.offsetTop,n.left+=r.offsetLeft,r=r.offsetParent;return n}},ns=(e,t)=>{let n=t;return e.addEventListener(`mouseover`,r),e.addEventListener(`mouseleave`,i),e.addEventListener(`focusin`,r),e.addEventListener(`focusout`,i),{update:e=>n=e,destroy:()=>{e.removeEventListener(`mouseover`,r),e.removeEventListener(`mouseleave`,i),e.removeEventListener(`focusin`,r),e.removeEventListener(`focusout`,i)}};function r(e){let t=e.target instanceof Element?e.target.closest(`[data-row]`):null;n(t?.getAttribute(`data-row`)??null)}function i(){n(null)}},rs=t(`<div class="pointer-events-none absolute inset-y-0 end-2 flex items-center"><!></div>`),is=t(`<div role="button" tabindex="0"><div class="transition-opacity"><!></div> <!></div>`),as=t(`<!> <!> <div class="absolute top-0 left-0"><!></div>`,1);function os(t,o){ae(o,!0);let s=()=>P(lo,`$flying`,h),c=()=>P(Te,`$query`,h),p=()=>P(we,`$dict`,h),[h,g]=te();u(()=>lo.set(o.id));let _=new Ce,b=new Ce,S=x(null),C=x(null),E=A(()=>io(o.graph,o.id));function D(){return(I(E)?.incoming??[]).filter(e=>e.vertex.kind===`service`).map(e=>e.id)}let k=new ge(D()),re=A(()=>I(E)===null?new Map:Eo(I(E),o.view,_,I(S))),ie=A(()=>{if(I(E)===null)return[];let e=[];for(let t of I(E).incoming)if(!k.has(t.id))for(let n of t.wires)e.push({id:n.id,from:t.id,to:I(E).vertex.id,out:ce(t.id,n.theirs,8),in:ce(I(E).vertex.id,n.row),dashed:n.event,dimmed:!oe(t,n)});for(let t of I(E).outgoing)if(!k.has(t.id))for(let n of t.wires)e.push({id:n.id,from:I(E).vertex.id,to:t.id,out:ce(I(E).vertex.id,n.row,8),in:ce(t.id,n.theirs),dashed:n.event,dimmed:!oe(t,n)});return I(E).self&&e.push({id:`self`,from:I(E).vertex.id,to:I(E).vertex.id,dimmed:I(C)!==null}),e});function oe(e,t){return I(C)===null?!0:I(C).of===`card`?I(C).id===e.id:I(C).id===t.row}function se(e){return I(C)===null?!0:I(C).of===`card`?I(C).id===e.id:e.wires.some(e=>e.row===I(C)?.id)}function ce(e,t,n){if(t===null)return;let r=b.get(`${e} ${t}`);if(r!==void 0)return{y:r.top+r.height/2,x:n===void 0?void 0:r.right+n}}function le(e){fe(()=>{N(S,I(S)===e.id?null:e.id,!0)})}function de(e,t){t?k.has(e.id)?k.delete(e.id):k.add(e.id):mo(e.vertex.id)}let pe=A(()=>[...I(E)?.incoming??[],...I(E)?.outgoing??[]].find(e=>e.vertex.id===s())?.id??null);function me(e){return I(re).get(e)??{x:0,y:0}}var he=O(),_e=e(he),ve=t=>{var o=as(),u=e(o);Wo(u,{class:`text-muted-foreground/50 z-10`,get arcs(){return I(ie)},get positions(){return I(re)},get sizes(){return _}});var h=w(u,2);n(h,17,()=>[...I(E).incoming,...I(E).outgoing],e=>e.id,(e,t)=>{var n=is();let o;var s=m(n);let u;var h=m(s),g=e=>{{let n=A(()=>I(S)===I(t).id);Xo(e,{get node(){return I(t).vertex.node},get open(){return I(n)},ontoggle:()=>le(I(t))})}},y=e=>{Po(e,{get name(){return I(t).vertex.name}})};a(h,e=>{I(t).vertex.kind===`component`?e(g):e(y,-1)}),F(s);var x=w(s,2),E=e=>{var t=rs(),n=m(t);Ie(n,{children:(e,t)=>{r();var n=d();M(()=>i(n,p().map.restore)),f(e,n)},$$slots:{default:!0}}),F(t),f(e,t)},D=A(()=>k.has(I(t).id)&&I(t).vertex.kind===`service`);a(x,e=>{I(D)&&e(E)}),F(n),v(n,(e,t)=>vo?.(e,t),()=>({into:_,id:I(t).id})),v(n,(e,t)=>ts?.(e,t),()=>({into:b,of:I(t).id})),v(n,(e,t)=>ue?.(e,t),()=>({name:po(I(t).id),classes:fo})),v(n,(e,t)=>_o?.(e,t),()=>e=>de(I(t),e)),M((e,r,i)=>{ne(n,1,ee([`absolute top-0 left-0 cursor-pointer`,I(S)===I(t).id?`z-0`:`z-20`])),T(n,`aria-label`,e),o=j(n,``,o,r),u=j(s,``,u,i)},[()=>no(I(t).vertex),()=>({translate:`${me(I(t).id).x??``}px ${me(I(t).id).y??``}px`,width:`${(I(S)===I(t).id?bo.width:$.width)??``}px`,"view-transition-name":I(pe)===I(t).id?uo:void 0,"view-transition-class":I(pe)===I(t).id?fo:void 0}),()=>({opacity:ro(I(t).vertex,c())&&se(I(t))&&!k.has(I(t).id)?1:xo})]),l(`mouseenter`,n,()=>N(C,k.has(I(t).id)?null:{of:`card`,id:I(t).id},!0)),l(`mouseleave`,n,()=>N(C,null)),f(e,n)});var g=w(h,2);let y;var x=m(g),D=e=>{je(e,{class:`bg-card`,get node(){return I(E).vertex.node},collapsible:!1})},O=e=>{Po(e,{get name(){return I(E).vertex.name}})};a(x,e=>{I(E).vertex.kind===`component`?e(D):e(O,-1)}),F(g),v(g,(e,t)=>vo?.(e,t),()=>({into:_,id:I(E).vertex.id})),v(g,(e,t)=>ts?.(e,t),()=>({into:b,of:I(E).vertex.id})),v(g,(e,t)=>ns?.(e,t),()=>e=>N(C,e===null?null:{of:`row`,id:e},!0)),M(e=>y=j(g,``,y,e),[()=>({translate:`${me(I(E).vertex.id).x??``}px ${me(I(E).vertex.id).y??``}px`,width:`${bo.width??``}px`,"view-transition-name":s()===I(E).vertex.id?uo:void 0,"view-transition-class":s()===I(E).vertex.id?fo:void 0})]),f(t,o)};a(_e,e=>{I(E)!==null&&e(ve)}),f(t,he),y(),g()}var ss=t(`<p class="text-muted-foreground absolute inset-x-0 top-4 text-center text-sm"> </p>`),cs=t(`<!> <div class="absolute top-0 left-0 origin-top-left"><!></div>`,1),ls=t(`<div><!></div>`);function us(t,n){ae(n,!0);let r=()=>P(we,`$dict`,s),[s,d]=te(),p=E(n,`focus`,3,null),g=x(ie(Ma)),b=x(null),S=ie({width:0,height:0});u(()=>T(p()));function T(e){I(b)?.reset()}function D(e){e.key===`Escape`&&p()!==null&&ho()}var k=ls();l(`keydown`,_,D);var re=m(k);{let t=(t,n)=>{var s=A(()=>o(n?.(),2));let c=()=>I(s)[0],l=()=>I(s)[1],u=A(()=>qa(c(),l()));var d=cs(),_=e(d),v=e=>{var t=ss(),n=m(t,!0);F(t),M(()=>i(n,r().map.empty)),f(e,t)};a(_,e=>{I(u).links.length===0&&e(v)});var y=w(_,2);let b;var x=m(y),C=e=>{es(e,{get graph(){return I(u)},get view(){return S}})},T=t=>{var n=O(),r=e(n);h(r,p,e=>{os(e,{get graph(){return I(u)},get view(){return S},get id(){return p()}})}),f(t,n)};a(x,e=>{p()===null?e(C):e(T,-1)}),F(y),M(()=>b=j(y,``,b,{translate:`${I(g).x??``}px ${I(g).y??``}px`,scale:I(g).k})),f(t,d)},n=A(()=>le(ke,De));de(re,{get store(){return I(n)},awaited:t,$$slots:{awaited:!0}})}F(k),c(()=>C(k,`clientWidth`,e=>S.width=e)),c(()=>C(k,`clientHeight`,e=>S.height=e)),v(k,(e,t)=>Wa?.(e,t),()=>({onchange:e=>N(g,e,!0),onready:e=>N(b,e,!0)})),M(()=>ne(k,1,ee([`bg-muted/30 relative touch-none overflow-hidden`,n.class]))),f(t,k),y(),d()}export{Qa as n,us as t};
@@ -0,0 +1 @@
1
+ typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/.introspection/_app/immutable/nodes/0.DX4ayE9m.js","/.introspection/_app/immutable/chunks/PUjOYRcs.js","/.introspection/_app/immutable/chunks/CdbruytT.js","/.introspection/_app/immutable/chunks/C_Un7mHJ.js","/.introspection/_app/immutable/chunks/xihTtKlq.js","/.introspection/_app/immutable/chunks/BZ_ZXXtm.js","/.introspection/_app/immutable/chunks/1xzjxgxR.js","/.introspection/_app/immutable/chunks/BVYHbl6Y.js","/.introspection/_app/immutable/assets/0.BL1urM24.css","/.introspection/_app/immutable/nodes/1.DbHKxxO_.js","/.introspection/_app/immutable/nodes/2.BXehQ3-u.js","/.introspection/_app/immutable/chunks/C4g3ZovQ.js","/.introspection/_app/immutable/chunks/CKszeXsu.js","/.introspection/_app/immutable/chunks/DINmginf.js","/.introspection/_app/immutable/chunks/Bdfm8yZ8.js","/.introspection/_app/immutable/assets/2.BghF56l_.css","/.introspection/_app/immutable/nodes/3.CpinJgAs.js","/.introspection/_app/immutable/chunks/l6dsJ5Gu.js","/.introspection/_app/immutable/nodes/4.BuWNiMri.js","/.introspection/_app/immutable/nodes/5.B-xe_qpn.js"])))=>i.map(i=>d[i]);
2
+ import{$ as e,A as t,D as n,E as r,J as i,N as a,O as o,Q as s,V as c,Y as l,_t as u,at as d,b as f,et as p,i as m,k as h,n as g,ot as _,q as v,r as y,rt as b,s as x,vt as S,wt as C,z as w}from"../chunks/PUjOYRcs.js";import"../chunks/xihTtKlq.js";var T=`modulepreload`,E=function(e,t){return new URL(e,t).href},D={},O=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=E(t,n),t=s(t),t in D)return;D[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:T,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function k(e){return e.match(/^[0-9a-f]{32}$/)}var A={id:k},j=t(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),M=t(`<!> <!>`,1);function N(t,y){S(y,!0);let T=m(y,`components`,23,()=>[]),E=m(y,`data_0`,3,null),D=m(y,`data_1`,3,null),O=m(y,`data_2`,3,null);l(()=>y.stores.page.set(y.page)),i(()=>{y.stores,y.page,y.constructors,T(),y.form,E(),D(),O(),y.stores.page.notify()});let k=d(!1),A=d(!1),N=d(null);g(()=>{let e=y.stores.page.subscribe(()=>{w(k)&&(b(A,!0),c().then(()=>{b(N,document.title||`untitled page`,!0)}))});return b(k,!0),e});let P=_(()=>y.constructors[2]);var F=M(),I=e(F),L=t=>{let n=_(()=>y.constructors[0]);var i=h(),a=e(i);f(a,()=>w(n),(t,n)=>{x(n(t,{get data(){return E()},get form(){return y.form},get params(){return y.page.params},children:(t,n)=>{var i=h(),a=e(i),s=t=>{let n=_(()=>y.constructors[1]);var r=h(),i=e(r);f(i,()=>w(n),(t,n)=>{x(n(t,{get data(){return D()},get form(){return y.form},get params(){return y.page.params},children:(t,n)=>{var r=h(),i=e(r);f(i,()=>w(P),(e,t)=>{x(t(e,{get data(){return O()},get form(){return y.form},get params(){return y.page.params}}),e=>T()[2]=e,()=>T()?.[2])}),o(t,r)},$$slots:{default:!0}}),e=>T()[1]=e,()=>T()?.[1])}),o(t,r)},c=t=>{let n=_(()=>y.constructors[1]);var r=h(),i=e(r);f(i,()=>w(n),(e,t)=>{x(t(e,{get data(){return D()},get form(){return y.form},get params(){return y.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),o(t,r)};r(a,e=>{y.constructors[2]?e(s):e(c,-1)}),o(t,i)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),o(t,i)},R=t=>{let n=_(()=>y.constructors[0]);var r=h(),i=e(r);f(i,()=>w(n),(e,t)=>{x(t(e,{get data(){return E()},get form(){return y.form},get params(){return y.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),o(t,r)};r(I,e=>{y.constructors[1]?e(L):e(R,-1)});var z=p(I,2),B=e=>{var t=j(),i=s(t),c=e=>{var t=a();v(()=>n(t,w(N))),o(e,t)};r(i,e=>{w(A)&&e(c)}),C(t),o(e,t)};r(z,e=>{w(k)&&e(B)}),o(t,F),u()}var P=y(N),F=[()=>O(()=>import(`../nodes/0.DX4ayE9m.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),()=>O(()=>import(`../nodes/1.DbHKxxO_.js`),__vite__mapDeps([9,1,4,6,2,3]),import.meta.url),()=>O(()=>import(`../nodes/2.BXehQ3-u.js`),__vite__mapDeps([10,1,2,3,4,5,11,12,6,7,13,14,15]),import.meta.url),()=>O(()=>import(`../nodes/3.CpinJgAs.js`),__vite__mapDeps([16,1,4,13,17,2,3,5,7,12,14]),import.meta.url),()=>O(()=>import(`../nodes/4.BuWNiMri.js`),__vite__mapDeps([18,1,4,6,2,3,17,5,7,12,14]),import.meta.url),()=>O(()=>import(`../nodes/5.B-xe_qpn.js`),__vite__mapDeps([19,1,4,11,5,3,12,13]),import.meta.url)],I=[],L={"/(private)":[3,[2]],"/(private)/list":[5,[2]],"/(private)/[id]":[4,[2]]},R={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},z=Object.fromEntries(Object.entries(R.transport).map(([e,t])=>[e,t.decode])),B=Object.fromEntries(Object.entries(R.transport).map(([e,t])=>[e,t.encode])),V=!1,H=(e,t)=>z[e](t),U=()=>O(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{H as decode,z as decoders,L as dictionary,B as encoders,U as get_error_template,V as hash,R as hooks,A as matchers,F as nodes,P as root,I as server_loads};
@@ -0,0 +1 @@
1
+ import{o as e,r as t}from"../chunks/CdbruytT.js";export{e as load_css,t as start};
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,J as n,O as r,Ot as i,W as a,X as o,_t as s,f as c,k as l,lt as u,mt as d,ot as f,q as p,ut as m,v as h,vt as g,x as _,z as v}from"../chunks/PUjOYRcs.js";import{n as y}from"../chunks/CdbruytT.js";import"../chunks/C_Un7mHJ.js";import"../chunks/xihTtKlq.js";import{D as b,E as x,S,T as C,b as w,o as T,r as E,t as D,w as O,x as k}from"../chunks/BZ_ZXXtm.js";import{t as A}from"../chunks/1xzjxgxR.js";import"../chunks/BVYHbl6Y.js";var j=O();j.on(`*`,(e,t)=>{t===void 0?console.debug(e):console.debug(e,t)});var M=d({status:`disconnected`,events:[]});j.on(`*`,(e,t)=>{M.update(n=>(n.events.push({label:e,payload:t}),n.events=n.events.slice(-128),n))});function N(e){M.update(t=>(t.status=e,(e===`connected`||e===`disconnected`)&&t.events.push({label:e}),t))}function P(){M.update(()=>({status:`disconnected`,events:[]}))}var F=k.resource(`/presence/`);async function I(e,t){return await F.multipart(e,{credentials:`include`,...t})}var L=null,R=null;async function z(e){if(L!==null&&L!==e&&V(),L!==e)for(L=e;L===e;){N(`connecting`);let t=await B(e).catch(e=>e);t!==void 0&&(t.name===`AbortError`?console.debug(`Realtime connection aborted`):(console.warn(`Realtime connection exception`,t),await new Promise(e=>setTimeout(e,3e3))))}}async function B(e){R=new AbortController;let t=R.signal,n=Intl.DateTimeFormat().resolvedOptions().timeZone,r=await I(e,{signal:t,body:{timezone:n}});if(r instanceof Error)throw N(`disconnected`),r;console.debug(`Realtime connected`,e),N(`connected`);for await(let e of r)H(e);console.debug(`Realtime connection lost`,e)}function V(){if(L!==null){if(L=null,R===null)throw Error(`Realtime controller is NULL`);R.abort(),P()}}function H(e){typeof e==`string`?j.emit(`heartbeat`):j.emit(e.event,e.data)}function U(){x.subscribe(e=>{let t=C.extract();e?z(t.id):V()})}function W(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);return atob(t.padEnd(t.length+(4-t.length%4)%4,`=`))}function G(){let e=E(`challenge`);return e===null?null:W(e)}function K(){k.events.on(`challenge`,e=>b.set(e)),k.events.on(`error`,e=>{e.code===401&&b.set(null)}),b.subscribe(e=>k.authenticate(e));let e=G();e!==null&&b.set(e),w()}var q=i({prerender:()=>!1,ssr:()=>!1,trailingSlash:()=>J});K(),U();var J=`always`,Y=t(`<meta name="description"/>`);function X(t,i){g(i,!0);let d=()=>m(D,`$dict`,b),[b,x]=u(),C=f(()=>A.data.meta?.title??S.title),w=f(()=>A.data.meta?.description??S.description);y(T),n(()=>{document.dir=d().dir});var E=l();h(`12qhfyh`,e=>{var t=Y();p(()=>c(t,`content`,v(w))),a(()=>{o.title=v(C)??``}),r(e,t)});var O=e(E);_(O,()=>i.children),r(t,E),s(),x()}export{X as component,q as universal};
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,D as n,O as r,Q as i,_t as a,et as o,q as s,vt as c,wt as l}from"../chunks/PUjOYRcs.js";import"../chunks/xihTtKlq.js";import{t as u}from"../chunks/1xzjxgxR.js";var d=t(`<h1> </h1> <p> </p>`,1);function f(t,f){c(f,!0);var p=d(),m=e(p),h=i(m,!0);l(m);var g=o(m,2),_=i(g,!0);l(g),s(()=>{n(h,u.status),n(_,u.error?.message)}),r(t,p),a()}export{f as component};
@@ -0,0 +1,8 @@
1
+ import{$ as e,A as t,C as n,Ct as r,D as i,Dt as a,E as o,I as s,J as c,L as l,M as u,N as d,O as f,Q as p,S as m,Tt as h,Z as g,_t as _,a as v,at as y,b,ct as x,d as S,dt as C,et as w,f as T,ft as E,h as ee,i as D,j as O,k,l as A,lt as j,m as M,n as N,o as P,ot as F,q as I,rt as L,s as R,tt as te,u as ne,ut as z,vt as B,w as re,wt as V,x as H,z as U}from"../chunks/PUjOYRcs.js";import{n as ie,s as ae}from"../chunks/CdbruytT.js";import"../chunks/C_Un7mHJ.js";import"../chunks/xihTtKlq.js";import{A as oe,C as se,E as ce,N as W,O as le,S as ue,T as de,_ as fe,a as pe,d as me,f as he,g as ge,h as _e,i as ve,k as ye,l as be,m as xe,n as Se,p as Ce,t as we,u as Te,v as Ee,y as De}from"../chunks/BZ_ZXXtm.js";import"../chunks/C4g3ZovQ.js";import{t as Oe}from"../chunks/1xzjxgxR.js";import"../chunks/BVYHbl6Y.js";import{$ as ke,A as Ae,B as je,D as G,E as K,F as Me,G as q,H as Ne,I as Pe,J as Fe,K as Ie,L as Le,M as Re,O as ze,P as Be,Q as Ve,R as He,U as Ue,V as J,W as We,X as Ge,Y,Z as Ke,a as X,et as qe,i as Je,it as Ye,j as Xe,k as Ze,m as Qe,o as $e,p as et,q as tt,r as nt,tt as rt,x as it,z as at}from"../chunks/CKszeXsu.js";import"../chunks/DINmginf.js";import{t as ot}from"../chunks/Bdfm8yZ8.js";function st(e){return async t=>{t.preventDefault();let n=t.target.querySelectorAll(`fieldset`),r=[];for(let e of n)e.disabled=!0,r.push(e);await e(t);for(let e of r)e.disabled=!1}}var ct=new Set([`$$slots`,`$$events`,`$$legacy`]);function lt(e,t){let n=v(t,ct),r=[[`path`,{d:`M3 5h.01`}],[`path`,{d:`M3 12h.01`}],[`path`,{d:`M3 19h.01`}],[`path`,{d:`M8 5h13`}],[`path`,{d:`M8 12h13`}],[`path`,{d:`M8 19h13`}]];W(e,P({name:`list`},()=>n,{get iconNode(){return r}}))}var ut=new Set([`$$slots`,`$$events`,`$$legacy`]);function dt(e,t){let n=v(t,ut),r=[[`path`,{d:`m16 17 5-5-5-5`}],[`path`,{d:`M21 12H9`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`}]];W(e,P({name:`log-out`},()=>n,{get iconNode(){return r}}))}var ft=new Set([`$$slots`,`$$events`,`$$legacy`]);function pt(e,t){let n=v(t,ft),r=[[`path`,{d:`m21 21-4.34-4.34`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}]];W(e,P({name:`search`},()=>n,{get iconNode(){return r}}))}var mt=new Set([`$$slots`,`$$events`,`$$legacy`]);function ht(e,t){let n=v(t,mt),r=[[`path`,{d:`m10.586 5.414-5.172 5.172`}],[`path`,{d:`m18.586 13.414-5.172 5.172`}],[`path`,{d:`M6 12h12`}],[`circle`,{cx:`12`,cy:`20`,r:`2`}],[`circle`,{cx:`12`,cy:`4`,r:`2`}],[`circle`,{cx:`20`,cy:`12`,r:`2`}],[`circle`,{cx:`4`,cy:`12`,r:`2`}]];W(e,P({name:`waypoints`},()=>n,{get iconNode(){return r}}))}function Z(e){let t=y(te(e));return{[Ie]:!0,[Ve]:!0,get current(){return U(t)},set current(e){L(t,e,!0)}}}Z.from=Fe,Z.with=Y,Z.flatten=tt,Z.readonly=qe,Z.isBox=Ge,Z.isWritableBox=Ke;var gt=1,_t=9,vt=11;function yt(e){return rt(e)&&e.nodeType===gt&&typeof e.nodeName==`string`}function bt(e){return rt(e)&&e.nodeType===_t}function xt(e){return rt(e)&&e.constructor?.name===`VisualViewport`}function St(e){return rt(e)&&e.nodeType!==void 0}function Ct(e){return St(e)&&e.nodeType===vt&&`host`in e}function wt(e){return bt(e)?e:xt(e)?e.document:e?.ownerDocument??document}function Tt(e){return Ct(e)?Tt(e.host):bt(e)?e.defaultView??window:yt(e)?e.ownerDocument?.defaultView??window:window}function Et(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}var Dt=class{element;#e=F(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return U(this.#e)}set root(e){L(this.#e,e)}constructor(e){this.element=typeof e==`function`?Y(e):e}getDocument=()=>wt(this.root);getWindow=()=>this.getDocument().defaultView??window;getActiveElement=()=>Et(this.root);isActiveElement=e=>e===this.getActiveElement();getElementById(e){return this.root.getElementById(e)}querySelector=e=>this.root?this.root.querySelector(e):null;querySelectorAll=e=>this.root?this.root.querySelectorAll(e):[];setTimeout=(e,t)=>this.getWindow().setTimeout(e,t);clearTimeout=e=>this.getWindow().clearTimeout(e)};function Ot(e){return window.getComputedStyle(e).getPropertyValue(`direction`)}var kt=[Ze,Pe,Be],At=[Re,Me,`End`];[...kt,...At];function jt(e=`ltr`,t=`horizontal`){return{horizontal:e===`rtl`?Ae:Xe,vertical:Ze}[t]}function Mt(e=`ltr`,t=`horizontal`){return{horizontal:e===`rtl`?Xe:Ae,vertical:Re}[t]}function Nt(e=`ltr`,t=`horizontal`){return[`ltr`,`rtl`].includes(e)||(e=`ltr`),[`horizontal`,`vertical`].includes(t)||(t=`horizontal`),{nextKey:jt(e,t),prevKey:Mt(e,t)}}var Pt=typeof document<`u`;Ft();function Ft(){return Pt&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function It(e){return e instanceof HTMLElement}var Lt=class{#e;#t=Z(null);constructor(e){this.#e=e}getCandidateNodes(){return this.#e.rootNode.current?this.#e.candidateSelector?Array.from(this.#e.rootNode.current.querySelectorAll(this.#e.candidateSelector)):this.#e.candidateAttr?Array.from(this.#e.rootNode.current.querySelectorAll(`[${this.#e.candidateAttr}]:not([data-disabled])`)):[]:[]}focusFirstCandidate(){let e=this.getCandidateNodes();e.length&&e[0]?.focus()}handleKeydown(e,t,n=!1){let r=this.#e.rootNode.current;if(!r||!e)return;let i=this.getCandidateNodes();if(!i.length)return;let a=i.indexOf(e),{nextKey:o,prevKey:s}=Nt(Ot(r),this.#e.orientation.current),c=this.#e.loop.current,l={[o]:a+1,[s]:a-1,[Be]:0,End:i.length-1};if(n){let e=o===`ArrowDown`?Xe:Ze,t=s===`ArrowUp`?Ae:Re;l[e]=a+1,l[t]=a-1}let u=l[t.key];if(u===void 0)return;t.preventDefault(),u<0&&c?u=i.length-1:u===i.length&&c&&(u=0);let d=i[u];if(d)return d.focus(),this.#t.current=d.id,this.#e.onCandidateFocus?.(d),d}getTabIndex(e){let t=this.getCandidateNodes(),n=this.#t.current!==null;return e&&!n&&t[0]===e?(this.#t.current=e.id,0):e?.id===this.#t.current?0:-1}setCurrentTabStopId(e){this.#t.current=e}focusCurrentTabStop(){let e=this.#t.current;if(!e)return;let t=this.#e.rootNode.current?.querySelector(`#${e}`);!t||!It(t)||t.focus()}},Rt=18,zt=40,Bt=`${zt}px`,Vt=[`[data-lastpass-icon-root]`,`com-1password-button`,`[data-dashlanecreated]`,`[style$="2147483647 !important;"]`].join(`,`);function Ht({containerRef:e,inputRef:t,pushPasswordManagerStrategy:n,isFocused:r,domContext:i}){let a=y(!1),o=y(!1),s=y(!1);function l(){let e=n.current;return e!==`none`&&e===`increase-width`&&U(a)&&U(o)}function u(){let r=e.current,o=t.current;if(!r||!o||U(s)||n.current===`none`)return;let c=r,l=c.getBoundingClientRect().left+c.offsetWidth,u=c.getBoundingClientRect().top+c.offsetHeight/2,d=l-Rt,f=u;(i.querySelectorAll(Vt).length!==0||i.getDocument().elementFromPoint(d,f)!==r)&&(L(a,!0),L(s,!0))}return c(()=>{let t=e.current;if(!t||n.current===`none`)return;function r(){let e=Tt(t).innerWidth-t.getBoundingClientRect().right;L(o,e>=zt)}r();let i=setInterval(r,1e3);return()=>{clearInterval(i)}}),c(()=>{let e=r.current||i.getActiveElement()===t.current;if(n.current===`none`||!e)return;let a=setTimeout(u,0),o=setTimeout(u,2e3),c=setTimeout(u,5e3),l=setTimeout(()=>{L(s,!0)},6e3);return()=>{clearTimeout(a),clearTimeout(o),clearTimeout(c),clearTimeout(l)}}),{get hasPwmBadge(){return U(a)},get willPushPwmBadge(){return l()},PWM_BADGE_SPACE_WIDTH:Bt}}var Ut=`^\\d+$`,Wt=je({component:`pin-input`,parts:[`root`,`cell`]}),Gt=[`Backspace`,`Delete`,`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`,`Escape`,`Enter`,`Tab`,`Shift`,`Control`,`Meta`],Kt=class e{static create(t){return new e(t)}opts;attachment;inputAttachment;#e=y(!1);#t=ke(!1);#n=y(null);#r=y(null);#i=new Ne(()=>this.opts.value.current??``);#a=F(()=>typeof this.opts.pattern.current==`string`?new RegExp(this.opts.pattern.current):this.opts.pattern.current);#o=y(te({prev:[null,null,`none`],willSyntheticBlur:!1}));#s;#c;domContext;constructor(e){this.opts=e,this.attachment=J(this.opts.ref),this.inputAttachment=J(this.opts.inputRef),this.domContext=new Dt(e.ref),this.#c={value:this.opts.value,isIOS:typeof window<`u`&&window?.CSS?.supports(`-webkit-touch-callout`,`none`)},this.#s=Ht({containerRef:this.opts.ref,inputRef:this.opts.inputRef,isFocused:this.#t,pushPasswordManagerStrategy:this.opts.pushPasswordManagerStrategy,domContext:this.domContext}),N(()=>{let e=this.opts.inputRef.current,t=this.opts.ref.current;if(!e||!t)return;this.#c.value.current!==e.value&&(this.opts.value.current=e.value),U(this.#o).prev=[e.selectionStart,e.selectionEnd,e.selectionDirection??`none`];let n=l(this.domContext.getDocument(),`selectionchange`,this.#m,{capture:!0});this.#m(),this.domContext.getActiveElement()===e&&(this.#t.current=!0),this.domContext.getElementById(`pin-input-style`)||this.#p();let r=()=>{t&&t.style.setProperty(`--bits-pin-input-root-height`,`${e.clientHeight}px`)};r();let i=new ResizeObserver(r);return i.observe(e),()=>{n(),i.disconnect()}}),Ue([()=>this.opts.value.current,()=>this.opts.inputRef.current],()=>{Jt(()=>{let e=this.opts.inputRef.current;if(!e)return;e.dispatchEvent(new Event(`input`));let t=e.selectionStart,n=e.selectionEnd,r=e.selectionDirection??`none`;t!==null&&n!==null&&(L(this.#n,t,!0),L(this.#r,n,!0),U(this.#o).prev=[t,n,r])},this.domContext)}),c(()=>{let e=this.opts.value.current,t=this.#i.current,n=this.opts.maxLength.current,r=this.opts.onComplete.current;t!==void 0&&e!==t&&t.length<n&&e.length===n&&r(e)})}onkeydown=e=>{let t=e.key;Gt.includes(t)||e.ctrlKey||e.metaKey||t&&U(this.#a)&&!U(this.#a).test(t)&&e.preventDefault()};#l=F(()=>({position:`relative`,cursor:this.opts.disabled.current?`default`:`text`,userSelect:`none`,WebkitUserSelect:`none`,pointerEvents:`none`}));#u=F(()=>({id:this.opts.id.current,[Wt.root]:``,style:U(this.#l),...this.attachment}));get rootProps(){return U(this.#u)}set rootProps(e){L(this.#u,e)}#d=F(()=>({style:{position:`absolute`,inset:0,pointerEvents:`none`}}));get inputWrapperProps(){return U(this.#d)}set inputWrapperProps(e){L(this.#d,e)}#f=F(()=>({position:`absolute`,inset:0,width:this.#s.willPushPwmBadge?`calc(100% + ${this.#s.PWM_BADGE_SPACE_WIDTH})`:`100%`,clipPath:this.#s.willPushPwmBadge?`inset(0 ${this.#s.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:`100%`,display:`flex`,textAlign:this.opts.textAlign.current,opacity:`1`,color:`transparent`,pointerEvents:`all`,background:`transparent`,caretColor:`transparent`,border:`0 solid transparent`,outline:`0 solid transparent`,boxShadow:`none`,lineHeight:`1`,letterSpacing:`-.5em`,fontSize:`var(--bits-pin-input-root-height)`,fontFamily:`monospace`,fontVariantNumeric:`tabular-nums`}));#p(){let e=this.domContext.getDocument(),t=e.createElement(`style`);if(t.id=`pin-input-style`,e.head.appendChild(t),t.sheet){let e=`background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;`;Yt(t.sheet,`[data-pin-input-input]::selection { background: transparent !important; color: transparent !important; }`),Yt(t.sheet,`[data-pin-input-input]:autofill { ${e} }`),Yt(t.sheet,`[data-pin-input-input]:-webkit-autofill { ${e} }`),Yt(t.sheet,`@supports (-webkit-touch-callout: none) { [data-pin-input-input] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }`),Yt(t.sheet,`[data-pin-input-input] + * { pointer-events: all !important; }`)}}#m=()=>{let e=this.opts.inputRef.current,t=this.opts.ref.current;if(!e||!t)return;if(this.domContext.getActiveElement()!==e){L(this.#n,null),L(this.#r,null);return}let n=e.selectionStart,r=e.selectionEnd,i=e.selectionDirection??`none`,a=e.maxLength,o=e.value,s=U(this.#o).prev,c=-1,l=-1,u;if(o.length!==0&&n!==null&&r!==null){let e=n===r,t=n===o.length&&o.length<a;if(e&&!t){let e=n;if(e===0)c=0,l=1,u=`forward`;else if(e===a)c=e-1,l=e,u=`backward`;else if(a>1&&o.length>1){let t=0;if(s[0]!==null&&s[1]!==null){u=e<s[1]?`backward`:`forward`;let n=s[0]===s[1]&&s[0]<a;u===`backward`&&!n&&(t=-1)}c=t+e,l=t+e+1}}c!==-1&&l!==-1&&c!==l&&this.opts.inputRef.current?.setSelectionRange(c,l,u)}let d=c===-1?n:c,f=l===-1?r:l,p=u??i;L(this.#n,d,!0),L(this.#r,f,!0),U(this.#o).prev=[d,f,p]};oninput=e=>{let t=e.currentTarget.value.slice(0,this.opts.maxLength.current);if(t.length>0&&U(this.#a)&&!U(this.#a).test(t)){e.preventDefault();return}typeof this.#i.current==`string`&&t.length<this.#i.current.length&&this.domContext.getDocument().dispatchEvent(new Event(`selectionchange`)),this.opts.value.current=t};onfocus=e=>{let t=this.opts.inputRef.current;if(t){let e=Math.min(t.value.length,this.opts.maxLength.current-1),n=t.value.length;t.setSelectionRange(e,n),L(this.#n,e,!0),L(this.#r,n,!0)}this.#t.current=!0};onpaste=e=>{let t=this.opts.inputRef.current;if(!t)return;let n=e=>{let n=t.selectionStart===null?void 0:t.selectionStart,r=t.selectionEnd===null?void 0:t.selectionEnd,i=n!==r,a=this.opts.value.current;return(i?a.slice(0,n)+e+a.slice(r):a.slice(0,n)+e+a.slice(n)).slice(0,this.opts.maxLength.current)},r=e=>e.length>0&&U(this.#a)&&!U(this.#a).test(e);if(!this.opts.pasteTransformer?.current&&(!this.#c.isIOS||!e.clipboardData||!t)){r(n(e.clipboardData?.getData(`text/plain`)))&&e.preventDefault();return}let i=e.clipboardData?.getData(`text/plain`)??``,a=this.opts.pasteTransformer?.current?this.opts.pasteTransformer.current(i):i;e.preventDefault();let o=n(a);if(r(o))return;t.value=o,this.opts.value.current=o;let s=Math.min(o.length,this.opts.maxLength.current-1),c=o.length;t.setSelectionRange(s,c),L(this.#n,s,!0),L(this.#r,c,!0)};onmouseover=e=>{L(this.#e,!0)};onmouseleave=e=>{L(this.#e,!1)};onblur=e=>{if(U(this.#o).willSyntheticBlur){U(this.#o).willSyntheticBlur=!1;return}this.#t.current=!1};#h=F(()=>({id:this.opts.inputId.current,style:U(this.#f),autocomplete:this.opts.autocomplete.current||`one-time-code`,"data-pin-input-input":``,"data-pin-input-input-mss":U(this.#n),"data-pin-input-input-mse":U(this.#r),inputmode:this.opts.inputmode.current,pattern:U(this.#a)?.source,maxlength:this.opts.maxLength.current,value:this.opts.value.current,disabled:at(this.opts.disabled.current),onpaste:this.onpaste,oninput:this.oninput,onkeydown:this.onkeydown,onmouseover:this.onmouseover,onmouseleave:this.onmouseleave,onfocus:this.onfocus,onblur:this.onblur,...this.inputAttachment}));get inputProps(){return U(this.#h)}set inputProps(e){L(this.#h,e)}#g=F(()=>Array.from({length:this.opts.maxLength.current}).map((e,t)=>{let n=this.#t.current&&U(this.#n)!==null&&U(this.#r)!==null&&(U(this.#n)===U(this.#r)&&t===U(this.#n)||t>=U(this.#n)&&t<U(this.#r)),r=this.opts.value.current[t]===void 0?null:this.opts.value.current[t];return{char:r,isActive:n,hasFakeCaret:n&&r===null}}));#_=F(()=>({cells:U(this.#g),isFocused:this.#t.current,isHovering:U(this.#e)}));get snippetProps(){return U(this.#_)}set snippetProps(e){L(this.#_,e)}},qt=class e{static create(t){return new e(t)}opts;attachment;constructor(e){this.opts=e,this.attachment=J(this.opts.ref)}#e=F(()=>({id:this.opts.id.current,[Wt.cell]:``,"data-active":this.opts.cell.current.isActive?``:void 0,"data-inactive":this.opts.cell.current.isActive?void 0:``,...this.attachment}));get props(){return U(this.#e)}set props(e){L(this.#e,e)}};function Jt(e,t){return[t.setTimeout(e,0),t.setTimeout(e,10),t.setTimeout(e,50)]}function Yt(e,t){try{e.insertRule(t)}catch{console.error(`pin input could not insert CSS rule:`,t)}}var Xt=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`inputId`,`ref`,`inputRef`,`maxlength`,`textalign`,`pattern`,`inputmode`,`onComplete`,`pushPasswordManagerStrategy`,`class`,`children`,`autocomplete`,`disabled`,`value`,`onValueChange`,`pasteTransformer`]),Zt=t(`<div><!> <div><input/></div></div>`);function Qt(e,t){let n=u();B(t,!0);let r=D(t,`id`,19,()=>G(n)),i=D(t,`inputId`,19,()=>`${G(n)}-input`),a=D(t,`ref`,15,null),o=D(t,`inputRef`,15,null),s=D(t,`maxlength`,3,6),c=D(t,`textalign`,3,`left`),l=D(t,`inputmode`,3,`numeric`),d=D(t,`onComplete`,3,ze),m=D(t,`pushPasswordManagerStrategy`,3,`increase-width`),g=D(t,`class`,3,``),y=D(t,`autocomplete`,3,`one-time-code`),b=D(t,`disabled`,3,!1),x=D(t,`value`,15,``),C=D(t,`onValueChange`,3,ze),T=v(t,Xt),E=Kt.create({id:Y(()=>r()),ref:Y(()=>a(),e=>a(e)),inputRef:Y(()=>o(),e=>o(e)),inputId:Y(()=>i()),autocomplete:Y(()=>y()),maxLength:Y(()=>s()),textAlign:Y(()=>c()),disabled:Y(()=>b()),inputmode:Y(()=>l()),pattern:Y(()=>t.pattern),onComplete:Y(()=>d()),value:Y(()=>x(),e=>{x(e),C()(e)}),pushPasswordManagerStrategy:Y(()=>m()),pasteTransformer:Y(()=>t.pasteTransformer)}),ee=F(()=>q(T,E.inputProps)),O=F(()=>q(E.rootProps,{class:g()})),k=F(()=>q(E.inputWrapperProps,{}));var A=Zt();S(A,()=>({...U(O)}));var j=p(A);H(j,()=>t.children??h,()=>E.snippetProps);var M=w(j,2);S(M,()=>({...U(k)}));var N=p(M);S(N,()=>({...U(ee)}),void 0,void 0,void 0,void 0,!0),V(M),V(A),f(e,A),_()}var $t=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`cell`,`child`,`children`]),en=t(`<div><!></div>`);function tn(t,n){let r=u();B(n,!0);let i=D(n,`id`,19,()=>G(r)),a=D(n,`ref`,15,null),s=v(n,$t),c=qt.create({id:Y(()=>i()),ref:Y(()=>a(),e=>a(e)),cell:Y(()=>n.cell)}),l=F(()=>q(s,c.props));var d=k(),m=e(d),g=t=>{var r=k(),i=e(r);H(i,()=>n.child,()=>({props:U(l)})),f(t,r)},y=e=>{var t=en();S(t,()=>({...U(l)}));var r=p(t);H(r,()=>n.children??h),V(t),f(e,t)};o(m,e=>{n.child?e(g):e(y,-1)}),f(t,d),_()}var nn=je({component:`tabs`,parts:[`root`,`list`,`trigger`,`content`]}),rn=new We(`Tabs.Root`),an=class e{static create(t){return rn.set(new e(t))}opts;attachment;rovingFocusGroup;#e=y(te([]));get triggerIds(){return U(this.#e)}set triggerIds(e){L(this.#e,e,!0)}valueToTriggerId=new Ye;valueToContentId=new Ye;constructor(e){this.opts=e,this.attachment=J(e.ref),this.rovingFocusGroup=new Lt({candidateAttr:nn.trigger,rootNode:this.opts.ref,loop:this.opts.loop,orientation:this.opts.orientation})}registerTrigger(e,t){return this.triggerIds.push(e),this.valueToTriggerId.set(t,e),()=>{this.triggerIds=this.triggerIds.filter(t=>t!==e),this.valueToTriggerId.delete(t)}}registerContent(e,t){return this.valueToContentId.set(t,e),()=>{this.valueToContentId.delete(t)}}setValue(e){this.opts.value.current=e}#t=F(()=>({id:this.opts.id.current,"data-orientation":this.opts.orientation.current,[nn.root]:``,...this.attachment}));get props(){return U(this.#t)}set props(e){L(this.#t,e)}},on=class e{static create(t){return new e(t,rn.get())}opts;root;attachment;#e=F(()=>this.root.opts.disabled.current);constructor(e,t){this.opts=e,this.root=t,this.attachment=J(e.ref)}#t=F(()=>({id:this.opts.id.current,role:`tablist`,"aria-orientation":this.root.opts.orientation.current,"data-orientation":this.root.opts.orientation.current,[nn.list]:``,"data-disabled":Le(U(this.#e)),...this.attachment}));get props(){return U(this.#t)}set props(e){L(this.#t,e)}},sn=class e{static create(t){return new e(t,rn.get())}opts;root;attachment;#e=y(0);#t=F(()=>this.root.opts.value.current===this.opts.value.current);#n=F(()=>this.opts.disabled.current||this.root.opts.disabled.current);#r=F(()=>this.root.valueToContentId.get(this.opts.value.current));constructor(e,t){this.opts=e,this.root=t,this.attachment=J(e.ref),Ue([()=>this.opts.id.current,()=>this.opts.value.current],([e,t])=>this.root.registerTrigger(e,t)),c(()=>{this.root.triggerIds.length,U(this.#t)||!this.root.opts.value.current?L(this.#e,0):L(this.#e,-1)}),this.onfocus=this.onfocus.bind(this),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}#i(){this.root.opts.value.current!==this.opts.value.current&&this.root.setValue(this.opts.value.current)}onfocus(e){this.root.opts.activationMode.current!==`automatic`||U(this.#n)||this.#i()}onclick(e){U(this.#n)||this.#i()}onkeydown(e){if(!U(this.#n)){if(e.key===` `||e.key===`Enter`){e.preventDefault(),this.#i();return}this.root.rovingFocusGroup.handleKeydown(this.opts.ref.current,e)}}#a=F(()=>({id:this.opts.id.current,role:`tab`,"data-state":ln(U(this.#t)),"data-value":this.opts.value.current,"data-orientation":this.root.opts.orientation.current,"data-disabled":Le(U(this.#n)),"aria-selected":He(U(this.#t)),"aria-controls":U(this.#r),[nn.trigger]:``,disabled:at(U(this.#n)),tabindex:U(this.#e),onclick:this.onclick,onfocus:this.onfocus,onkeydown:this.onkeydown,...this.attachment}));get props(){return U(this.#a)}set props(e){L(this.#a,e)}},cn=class e{static create(t){return new e(t,rn.get())}opts;root;attachment;#e=F(()=>this.root.opts.value.current===this.opts.value.current);#t=F(()=>this.root.valueToTriggerId.get(this.opts.value.current));constructor(e,t){this.opts=e,this.root=t,this.attachment=J(e.ref),Ue([()=>this.opts.id.current,()=>this.opts.value.current],([e,t])=>this.root.registerContent(e,t))}#n=F(()=>({id:this.opts.id.current,role:`tabpanel`,hidden:at(!U(this.#e)),tabindex:0,"data-value":this.opts.value.current,"data-state":ln(U(this.#e)),"aria-labelledby":U(this.#t),"data-orientation":this.root.opts.orientation.current,[nn.content]:``,...this.attachment}));get props(){return U(this.#n)}set props(e){L(this.#n,e)}};function ln(e){return e?`active`:`inactive`}var un=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`value`,`onValueChange`,`orientation`,`loop`,`activationMode`,`disabled`,`children`,`child`]),dn=t(`<div><!></div>`);function fn(t,n){let r=u();B(n,!0);let i=D(n,`id`,19,()=>G(r)),a=D(n,`ref`,15,null),s=D(n,`value`,15,``),c=D(n,`onValueChange`,3,ze),l=D(n,`orientation`,3,`horizontal`),d=D(n,`loop`,3,!0),m=D(n,`activationMode`,3,`automatic`),g=D(n,`disabled`,3,!1),y=v(n,un),b=an.create({id:Y(()=>i()),value:Y(()=>s(),e=>{s(e),c()(e)}),orientation:Y(()=>l()),loop:Y(()=>d()),activationMode:Y(()=>m()),disabled:Y(()=>g()),ref:Y(()=>a(),e=>a(e))}),x=F(()=>q(y,b.props));var C=k(),w=e(C),T=t=>{var r=k(),i=e(r);H(i,()=>n.child,()=>({props:U(x)})),f(t,r)},E=e=>{var t=dn();S(t,()=>({...U(x)}));var r=p(t);H(r,()=>n.children??h),V(t),f(e,t)};o(w,e=>{n.child?e(T):e(E,-1)}),f(t,C),_()}var pn=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`value`]),mn=t(`<div><!></div>`);function hn(t,n){let r=u();B(n,!0);let i=D(n,`id`,19,()=>G(r)),a=D(n,`ref`,15,null),s=v(n,pn),c=cn.create({value:Y(()=>n.value),id:Y(()=>i()),ref:Y(()=>a(),e=>a(e))}),l=F(()=>q(s,c.props));var d=k(),m=e(d),g=t=>{var r=k(),i=e(r);H(i,()=>n.child,()=>({props:U(l)})),f(t,r)},y=e=>{var t=mn();S(t,()=>({...U(l)}));var r=p(t);H(r,()=>n.children??h),V(t),f(e,t)};o(m,e=>{n.child?e(g):e(y,-1)}),f(t,d),_()}var gn=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`id`,`ref`]),_n=t(`<div><!></div>`);function vn(t,n){let r=u();B(n,!0);let i=D(n,`id`,19,()=>G(r)),a=D(n,`ref`,15,null),s=v(n,gn),c=on.create({id:Y(()=>i()),ref:Y(()=>a(),e=>a(e))}),l=F(()=>q(s,c.props));var d=k(),m=e(d),g=t=>{var r=k(),i=e(r);H(i,()=>n.child,()=>({props:U(l)})),f(t,r)},y=e=>{var t=_n();S(t,()=>({...U(l)}));var r=p(t);H(r,()=>n.children??h),V(t),f(e,t)};o(m,e=>{n.child?e(g):e(y,-1)}),f(t,d),_()}var yn=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`disabled`,`id`,`type`,`value`,`ref`]),bn=t(`<button><!></button>`);function xn(t,n){let r=u();B(n,!0);let i=D(n,`disabled`,3,!1),a=D(n,`id`,19,()=>G(r)),s=D(n,`type`,3,`button`),c=D(n,`ref`,15,null),l=v(n,yn),d=sn.create({id:Y(()=>a()),disabled:Y(()=>i()??!1),value:Y(()=>n.value),ref:Y(()=>c(),e=>c(e))}),m=F(()=>q(l,d.props,{type:s()}));var g=k(),y=e(g),b=t=>{var r=k(),i=e(r);H(i,()=>n.child,()=>({props:U(m)})),f(t,r)},x=e=>{var t=bn();S(t,()=>({...U(m)}));var r=p(t);H(r,()=>n.children??h),V(t),f(e,t)};o(y,e=>{n.child?e(b):e(x,-1)}),f(t,g),_()}var Sn={"en-US":{auth:{signupTitle:`One-tap sign-up`,passwordTitle:`Hop in with password`,passwordDescription:`Create an account or sign in`,passkey:`Passkeys`,email:`Email`,alreadyHaveAccount:`Already have an account?`,betterSecurity:`Better security`,passkeysNotSupported:`Passkeys not supported`,passkeysWarning:`Your browser does not respect your privacy and security.`,learnMore:`Learn more`,passwordBlank:`Leave password blank <nobr>to receive</nobr> <nobr>a one-time</nobr> passcode.`,otpInstructions:`Enter the code sent to your email. It expires in 5 minutes.`,continueWith:e=>`Continue with ${e}`,passkeysDescription:`Passkeys are safer than passwords, easier to use, and can’t be stolen.`,yourName:`Your name`,password:`Password`,refresh:{description:e=>`${e?e+`, for`:`For`} security reasons, your credentials have expired. Please log in again to continue.`,title:`Welcome back`,continue:`Continue`},signout:`Sign out`,login:`Log In`,signin:`Sign In`,copyId:`Copy account ID`},credentials:{connect:`Connect`,email:{title:`Email`,description:`Connect your email address`},google:{title:`Google`,description:`Connect your Google account`},apple:{title:`Apple`,description:`Connect your Apple ID`},passkeys:{title:`Passkeys`,tagline:`Sign in faster with a passkey`,create:`Create`,manage:`Manage`,collapse:`Collapse`,add:`Enter passkey name`,delete:`Hold to delete`,unknown:`Unknown`,count:e=>{let t={one:`{n} passkey`,other:`{n} passkeys`},n=`en-US`,r=new Intl.PluralRules(n).select(e),i=t;return(i[r]??i.other).replace(/{n}/g,new Intl.NumberFormat(n).format(e))},meta:(e,t)=>`Added ${e} · Used ${t}`,duplicate:`This device already has a passkey for your account`,failed:`Could not create the passkey. Please try again.`},transfer:{action:`Sign in on another device`,title:`Scan to sign in`,description:`Use your other device to scan this code and sign in.`,done:`Done`}}}},Q=E(Se,e=>Sn[e]),Cn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),wn=t(`<div><!></div>`);function Tn(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=v(t,Cn);var i=wn();S(i,e=>({"data-slot":`card-content`,class:e,...r}),[()=>K(`px-(--card-spacing)`,t.class)]);var a=p(i);H(a,()=>t.children??h),V(i),R(i,e=>n(e),()=>n()),f(e,i),_()}var En=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),Dn=t(`<p><!></p>`);function On(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=v(t,En);var i=Dn();S(i,e=>({"data-slot":`card-description`,class:e,...r}),[()=>K(`text-sm text-muted-foreground`,t.class)]);var a=p(i);H(a,()=>t.children??h),V(i),R(i,e=>n(e),()=>n()),f(e,i),_()}var kn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),An=t(`<div><!></div>`);function jn(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=v(t,kn);var i=An();S(i,e=>({"data-slot":`card-footer`,class:e,...r}),[()=>K(`rounded-b-xl border-t bg-muted/50 p-(--card-spacing) flex items-center`,t.class)]);var a=p(i);H(a,()=>t.children??h),V(i),R(i,e=>n(e),()=>n()),f(e,i),_()}var Mn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),Nn=t(`<div><!></div>`);function Pn(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=v(t,Mn);var i=Nn();S(i,e=>({"data-slot":`card-header`,class:e,...r}),[()=>K(`gap-1 rounded-t-xl px-(--card-spacing) [.border-b]:pb-(--card-spacing) group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]`,t.class)]);var a=p(i);H(a,()=>t.children??h),V(i),R(i,e=>n(e),()=>n()),f(e,i),_()}var Fn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),In=t(`<div><!></div>`);function Ln(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=v(t,Fn);var i=In();S(i,e=>({"data-slot":`card-title`,class:e,...r}),[()=>K(`text-base leading-snug font-medium group-data-[size=sm]/card:text-sm`,t.class)]);var a=p(i);H(a,()=>t.children??h),V(i),R(i,e=>n(e),()=>n()),f(e,i),_()}var Rn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`,`size`]),zn=t(`<div><!></div>`);function Bn(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=D(t,`size`,3,`default`),i=v(t,Rn);var a=zn();S(a,e=>({"data-slot":`card`,"data-size":r(),class:e,...i}),[()=>K(`gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl group/card flex flex-col`,t.class)]);var o=p(a);H(o,()=>t.children??h),V(a),R(a,e=>n(e),()=>n()),f(e,a),_()}var Vn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`value`,`type`,`files`,`class`,`data-slot`]),Hn=t(`<input/>`);function Un(t,n){B(n,!0);let r=D(n,`ref`,15,null),i=D(n,`value`,15),a=D(n,`files`,15),s=D(n,`data-slot`,3,`input`),c=v(n,Vn);var l=k(),u=e(l),d=e=>{var t=Hn();S(t,e=>({"data-slot":s(),class:e,type:`file`,...c}),[()=>K(`h-8 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors file:h-6 file:text-sm file:font-medium focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:bg-input/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,n.class)],void 0,void 0,void 0,!0),R(t,e=>r(e),()=>r()),A(t,a),ne(t,i),f(e,t)},p=e=>{var t=Hn();S(t,e=>({"data-slot":s(),class:e,type:n.type,...c}),[()=>K(`h-8 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors file:h-6 file:text-sm file:font-medium focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:bg-input/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,n.class)],void 0,void 0,void 0,!0),R(t,e=>r(e),()=>r()),ne(t,i),f(e,t)};o(u,e=>{n.type===`file`?e(d):e(p,-1)}),f(t,l),_()}var Wn=t(`<div><!></div>`);function Gn(e,t){B(t,!0);let n=y(!1);async function r(){L(n,!0),await new Promise(e=>setTimeout(e,500)),L(n,!1)}var i={shake:r},a=Wn(),o=p(a);return H(o,()=>t.children),V(a),I(()=>M(a,1,ee([t.class,U(n)&&`shake`]),`svelte-alh7mr`)),f(e,a),_(i)}var Kn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),qn=t(`<div><!></div>`);function Jn(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=v(t,Kn);var i=qn();S(i,e=>({"data-slot":`input-otp-group`,class:e,...r}),[()=>K(`rounded-lg has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 flex items-center`,t.class)]);var a=p(i);H(a,()=>t.children??h),V(i),R(i,e=>n(e),()=>n()),f(e,i),_()}var Yn=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`cell`,`class`]),Xn=t(`<div class="cn-input-otp-caret pointer-events-none absolute inset-0 flex items-center justify-center"><div class="h-4 w-px animate-caret-blink bg-foreground duration-1000 h-4 w-px bg-foreground"></div></div>`),Zn=t(` <!>`,1);function Qn(t,n){B(n,!0);let a=D(n,`ref`,15,null),s=v(n,Yn);var c=k(),l=e(c);{let t=F(()=>K(`size-8 border-y border-r border-input text-sm transition-all outline-none first:rounded-l-lg first:border-l last:rounded-r-lg aria-invalid:border-destructive data-[active=true]:border-ring data-[active=true]:ring-3 data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40 relative flex items-center justify-center data-[active=true]:z-10`,n.class));b(l,()=>tn,(c,l)=>{l(c,P({get cell(){return n.cell},"data-slot":`input-otp-slot`,get class(){return U(t)}},()=>s,{get ref(){return a()},set ref(e){a(e)},children:(t,a)=>{r();var s=Zn(),c=e(s),l=w(c),u=e=>{var t=Xn();f(e,t)};o(l,e=>{n.cell.hasFakeCaret&&e(u)}),I(()=>i(c,`${n.cell.char??``} `)),f(t,s)},$$slots:{default:!0}}))})}f(t,c),_()}var $n=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`value`]);function er(t,n){B(n,!0);let r=D(n,`ref`,15,null),i=D(n,`value`,15,``),a=v(n,$n);var o=k(),s=e(o);{let e=F(()=>K(`cn-input-otp-input gap-2 flex items-center disabled:cursor-not-allowed has-disabled:opacity-50`,n.class));b(s,()=>Qt,(t,n)=>{n(t,P({"data-slot":`input-otp`,spellcheck:!1,get class(){return U(e)}},()=>a,{get ref(){return r()},set ref(e){r(e)},get value(){return i()},set value(e){i(e)}}))})}f(t,o),_()}var tr=t(`<div class="w-full flex items-center"><!></div>`);function nr(t,r){B(r,!0);let i=()=>z(Q,`$dict`,a),[a,s]=j(),c=D(r,`ref`,15,null),l=D(r,`mode`,11,`password`),u=D(r,`password`,15,``),d=D(r,`otp`,15,``);var m=tr(),h=p(m),g=e=>{Un(e,{id:`iam-password-input`,name:`password`,type:`password`,minlength:6,autocomplete:`current-password`,get placeholder(){return i().auth.password},class:`placeholder:text-sm`,get value(){return u()},set value(e){u(e)}})},v=t=>{var r=k(),i=e(r);{let t=(t,r)=>{let i=()=>(r?.()).cells;var a=k(),o=e(a);b(o,()=>Jn,(t,r)=>{r(t,{children:(t,r)=>{var a=k(),o=e(a);n(o,17,()=>i().slice(0,6),re,(t,n)=>{var r=k(),i=e(r);b(i,()=>Qn,(e,t)=>{t(e,{get cell(){return U(n)},class:`size-[40px] bg-background`})}),f(t,r)}),f(t,a)},$$slots:{default:!0}})}),f(t,a)};b(i,()=>er,(e,n)=>{n(e,{maxlength:6,get pattern(){return Ut},required:!0,get value(){return d()},set value(e){d(e)},children:t,$$slots:{default:!0}})})}f(t,r)};o(h,e=>{l()===`password`?e(g):e(v,-1)}),V(m),R(m,e=>c(e),()=>c()),f(t,m),_(),s()}var rr=t(`<!> <span class="sr-only"> </span>`,1),ir=t(`<form><fieldset class="space-y-2"><!> <div class="space-y-2"><div class="flex items-center gap-2"><!> <!></div> <div class="text-sm text-muted-foreground px-1"><!></div></div></fieldset></form>`);function ar(t,n){B(n,!0);let r=()=>z(Q,`$dict`,a),[a,c]=j(),l=y(!1),u=y(``),h=y(``),g=y(``),v=y(null),b=y(`password`),x=y(void 0);async function S(){U(h).length===0?U(b)===`password`?await E():await ee():await C()}async function C(){L(l,!0);let e=n.account===void 0?await T():await _e(n.account.id,{username:U(u),password:U(h)});L(l,!1),e instanceof Error&&await D()}async function T(){let e=await ge(U(u),U(h));return e instanceof Error||se(e)?.status===201&&n.oncreate?.(e),e}async function E(){L(l,!0);let e=n.account===void 0?await Ce(U(u)):await he(n.account.id,U(u));L(l,!1),!(e instanceof Error)&&(L(b,`otp`),requestAnimationFrame(()=>O()))}async function ee(){if(U(u).length===0){console.error(`username is required`);return}if(U(g).length!==6){await D();return}L(l,!0);let e=await xe(U(u),U(g));if(L(l,!1),e instanceof Error){L(g,``),await D();return}return se(e)?.status===201&&n.oncreate?.(e),e}async function D(){await U(x)?.shake(),O()}function O(){pe&&U(v)?.querySelector(`input`)?.focus()}var A=ir(),M=F(()=>st(S)),N=p(A),P=p(N);{let e=F(()=>U(b)===`otp`||void 0);Un(P,{id:`iam-username-input`,name:`username`,type:`email`,autocomplete:`username`,required:!0,get disabled(){return U(e)},get autofocus(){return pe},get placeholder(){return r().auth.email},get value(){return U(u)},set value(e){L(u,e,!0)}})}var te=w(P,2),ne=p(te),re=p(ne);R(Gn(re,{class:`w-full`,children:(e,t)=>{nr(e,{get mode(){return U(b)},get ref(){return U(v)},set ref(e){L(v,e,!0)},get password(){return U(h)},set password(e){L(h,e,!0)},get otp(){return U(g)},set otp(e){L(g,e,!0)}})},$$slots:{default:!0}}),e=>L(x,e,!0),()=>U(x));var H=w(re,2);X(H,{size:`icon-lg`,type:`submit`,children:(t,n)=>{var a=rr(),s=e(a),c=e=>{$e(e,{})},u=e=>{nt(e,{})};o(s,e=>{U(l)?e(c):e(u,-1)});var d=w(s,2),m=p(d,!0);V(d),I(()=>i(m,r().auth.login)),f(t,a)},$$slots:{default:!0}}),V(ne);var ie=w(ne,2),ae=p(ie),oe=t=>{var n=k(),i=e(n);m(i,()=>r().auth.passwordBlank),f(t,n)},ce=e=>{var t=d();I(()=>i(t,r().auth.otpInstructions)),f(e,t)};o(ae,e=>{U(b)===`password`?e(oe):e(ce,-1)}),V(ie),V(te),V(N),V(A),s(`submit`,A,function(...e){U(M)?.apply(this,e)}),f(t,A),_(),c()}var or=t(`<h2> </h2>`),sr=t(`<!> <!>`,1);function cr(t,n){B(n,!0);let a=()=>z(Q,`$dict`,o),[o,s]=j();var c=k(),l=e(c);{let t=F(()=>K(`pt-4 gap-4 bg-background/75`,n.class));b(l,()=>Bn,(o,s)=>{s(o,{get class(){return U(t)},children:(t,o)=>{var s=sr(),c=e(s);b(c,()=>Pn,(t,n)=>{n(t,{class:`gap-0`,children:(t,n)=>{var o=sr(),s=e(o);b(s,()=>Ln,(e,t)=>{t(e,{children:(e,t)=>{var n=or(),r=p(n,!0);V(n),I(()=>i(r,a().auth.passwordTitle)),f(e,n)},$$slots:{default:!0}})});var c=w(s,2);b(c,()=>On,(e,t)=>{t(e,{children:(e,t)=>{r();var n=d();I(()=>i(n,a().auth.passwordDescription)),f(e,n)},$$slots:{default:!0}})}),f(t,o)},$$slots:{default:!0}})});var l=w(c,2);b(l,()=>Tn,(e,t)=>{t(e,{children:(e,t)=>{ar(e,{get account(){return n.account},get oncreate(){return n.oncreate}})},$$slots:{default:!0}})}),f(t,s)},$$slots:{default:!0}})})}f(t,c),_(),s()}function lr(e){ar(e,{})}var ur=new Set([`$$slots`,`$$events`,`$$legacy`]);function dr(e,t){let n=v(t,ur),r=[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m9 12 2 2 4-4`}]];W(e,P({name:`shield-check`},()=>n,{get iconNode(){return r}}))}var fr=new Set([`$$slots`,`$$events`,`$$legacy`]);function pr(e,t){let n=v(t,fr),r=[[`path`,{d:`m2 2 20 20`}],[`path`,{d:`M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71`}],[`path`,{d:`M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264`}]];W(e,P({name:`shield-off`},()=>n,{get iconNode(){return r}}))}var mr=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),hr=t(`<div><!></div>`);function gr(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=v(t,mr);var i=hr();S(i,e=>({"data-slot":`alert-description`,class:e,...r}),[()=>K(`text-sm text-balance text-muted-foreground md:text-pretty [&_p:not(:last-child)]:mb-4 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground`,t.class)]);var a=p(i);H(a,()=>t.children??h),V(i),R(i,e=>n(e),()=>n()),f(e,i),_()}var _r=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),vr=t(`<div><!></div>`);function yr(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=v(t,_r);var i=vr();S(i,e=>({"data-slot":`alert-title`,class:e,...r}),[()=>K(`font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground`,t.class)]);var a=p(i);H(a,()=>t.children??h),V(i),R(i,e=>n(e),()=>n()),f(e,i),_()}var br=it({base:`grid gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4 group/alert relative w-full`,variants:{variant:{default:`bg-card text-card-foreground`,destructive:`bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current`}},defaultVariants:{variant:`default`}}),xr=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`variant`,`children`]),Sr=t(`<div><!></div>`);function Cr(e,t){B(t,!0);let n=D(t,`ref`,15,null),r=D(t,`variant`,3,`default`),i=v(t,xr);var a=Sr();S(a,e=>({"data-slot":`alert`,role:`alert`,class:e,...i}),[()=>K(br({variant:r()}),t.class)]);var o=p(a);H(o,()=>t.children??h),V(a),R(a,e=>n(e),()=>n()),f(e,a),_()}var wr=new Set([`$$slots`,`$$events`,`$$legacy`]);function Tr(e,t){let n=v(t,wr),r=[[`path`,{d:`M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4`}],[`path`,{d:`M14 13.12c0 2.38 0 6.38-1 8.88`}],[`path`,{d:`M17.29 21.02c.12-.6.43-2.3.5-3.02`}],[`path`,{d:`M2 12a10 10 0 0 1 18-6`}],[`path`,{d:`M2 16h.01`}],[`path`,{d:`M21.8 16c.2-2 .131-5.354 0-6`}],[`path`,{d:`M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2`}],[`path`,{d:`M8.65 22c.21-.66.45-1.32.57-2`}],[`path`,{d:`M9 6.8a6 6 0 0 1 9 5.2v2`}]];W(e,P({name:`fingerprint-pattern`},()=>n,{get iconNode(){return r}}))}var Er=t(`<!> `,1),Dr=t(`<div class="flex flex-col items-center justify-center gap-2"><p> </p> <!></div>`);function Or(t,n){B(n,!0);let r=()=>z(Q,`$dict`,a),[a,s]=j(),c=y(!1);async function l(){L(c,!0),await be(),L(c,!1)}var u=Dr(),d=p(u),m=p(d,!0);V(d);var h=w(d,2);X(h,{id:`iam-passkey-login-button`,variant:`secondary`,onclick:l,children:(t,n)=>{var a=Er(),s=e(a),l=e=>{$e(e,{})},u=e=>{Tr(e,{})};o(s,e=>{U(c)?e(l):e(u,-1)});var d=w(s);I(()=>i(d,` ${r().auth.signin??``}`)),f(t,a)},$$slots:{default:!0}}),V(u),I(()=>i(m,r().auth.alreadyHaveAccount)),f(t,u),_(),s()}var kr=t(`<form><fieldset class="space-y-1"><div class="flex items-center gap-2"><!> <!></div></fieldset></form>`);function Ar(t,n){B(n,!0);let r=()=>z(Q,`$dict`,i),[i,a]=j(),c=F(()=>n.account?.name??``),l=y(!1);async function u(){let e=U(c).trim();if(e.length===0)return;L(l,!0);let t=await Te(e,n.account?.id);L(l,!1),!(t instanceof Error)&&n.oncreate?.(t)}var d=kr(),m=F(()=>st(u)),h=p(d),g=p(h),v=p(g);Un(v,{id:`name`,type:`text`,get placeholder(){return r().auth.yourName},autocomplete:`given-name`,required:!0,get autofocus(){return pe},get value(){return U(c)},set value(e){L(c,e)}});var b=w(v,2);X(b,{id:`iam-passkey-create-button`,size:`icon-lg`,type:`submit`,children:(t,n)=>{var r=k(),i=e(r),a=e=>{$e(e,{})},s=e=>{nt(e,{})};o(i,e=>{U(l)?e(a):e(s,-1)}),f(t,r)},$$slots:{default:!0}}),V(g),V(h),V(d),I(()=>h.disabled=n.disabled),s(`submit`,d,function(...e){U(m)?.apply(this,e)}),f(t,d),_(),a()}var jr=t(`<p> <a target="_blank" class="text-nowrap"> </a></p>`),Mr=t(`<h2> </h2>`),Nr=t(`<!> <!>`,1),Pr=t(`<!> <!> <!>`,1),Fr=t(`<p> </p> <!>`,1),Ir=t(`<div class="space-y-4"><!> <!></div>`);function Lr(t,n){B(n,!0);let a=()=>z(Q,`$dict`,s),[s,c]=j(),l=e=>{var t=jr(),n=p(t),r=w(n),o=p(r,!0);V(r),V(t),I(()=>{i(n,`${a().auth.passkeysDescription??``} `),T(r,`href`,u),i(o,a().auth.learnMore)}),f(e,t)},u=ve?`https://support.apple.com/en-us/102195`:`https://support.google.com/accounts/answer/13548313`;var m=Ir(),h=p(m);{let t=F(()=>K(`gap-4 bg-background/75`,me&&`pt-4`,n.class));b(h,()=>Bn,(s,c)=>{c(s,{get class(){return U(t)},children:(t,s)=>{var c=Nr(),u=e(c),m=t=>{var r=Nr(),o=e(r);b(o,()=>Pn,(t,n)=>{n(t,{class:`gap-0`,children:(t,n)=>{var r=k(),o=e(r);b(o,()=>Ln,(e,t)=>{t(e,{children:(e,t)=>{var n=Mr(),r=p(n,!0);V(n),I(()=>i(r,a().auth.signupTitle)),f(e,n)},$$slots:{default:!0}})}),f(t,r)},$$slots:{default:!0}})});var s=w(o,2);b(s,()=>Tn,(e,t)=>{t(e,{children:(e,t)=>{Ar(e,{get account(){return n.account},get oncreate(){return n.oncreate}})},$$slots:{default:!0}})}),f(t,r)};o(u,e=>{me&&e(m)});var h=w(u,2);b(h,()=>jn,(t,n)=>{n(t,{children:(t,n)=>{var s=k(),c=e(s),u=t=>{var n=k(),o=e(n);b(o,()=>Cr,(t,n)=>{n(t,{children:(t,n)=>{var o=Pr(),s=e(o);dr(s,{color:`green`});var c=w(s,2);b(c,()=>yr,(e,t)=>{t(e,{children:(e,t)=>{r();var n=d();I(()=>i(n,a().auth.betterSecurity)),f(e,n)},$$slots:{default:!0}})});var u=w(c,2);b(u,()=>gr,(e,t)=>{t(e,{children:(e,t)=>{l(e)},$$slots:{default:!0}})}),f(t,o)},$$slots:{default:!0}})}),f(t,n)},m=t=>{var n=k(),o=e(n);b(o,()=>Cr,(t,n)=>{n(t,{children:(t,n)=>{var o=Pr(),s=e(o);pr(s,{color:`red`,class:`animate-pulse`});var c=w(s,2);b(c,()=>yr,(e,t)=>{t(e,{children:(e,t)=>{r();var n=d();I(()=>i(n,a().auth.passkeysNotSupported)),f(e,n)},$$slots:{default:!0}})});var u=w(c,2);b(u,()=>gr,(t,n)=>{n(t,{children:(t,n)=>{var r=Fr(),o=e(r),s=p(o,!0);V(o);var c=w(o,2);l(c),I(()=>i(s,a().auth.passkeysWarning)),f(t,r)},$$slots:{default:!0}})}),f(t,o)},$$slots:{default:!0}})}),f(t,n)};o(c,e=>{me?e(u):e(m,-1)}),f(t,s)},$$slots:{default:!0}})}),f(t,c)},$$slots:{default:!0}})})}var g=w(h,2),v=e=>{Or(e,{})};o(g,e=>{me&&!n.account&&e(v)}),V(m),f(t,m),_(),c()}var Rr=t(`<!> <!> `,1);function zr(t,n){B(n,!0);let r=()=>z(Q,`$dict`,a),[a,o]=j();async function s(e){let t=e.currentTarget;t.disabled=!0,await be(n.account.id),t.disabled=!1}X(t,{class:`w-full disabled:[&>.x-icon]:hidden [&>.x-spinner]:hidden disabled:[&>.x-spinner]:block`,onclick:s,children:(t,n)=>{var a=Rr(),o=e(a);Tr(o,{class:`size-5 x-icon`});var s=w(o,2);$e(s,{class:`x-spinner`});var c=w(s);I(()=>i(c,` ${r().auth.refresh.continue??``}`)),f(t,a)},$$slots:{default:!0}}),_(),o()}var Br=O(`<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M19.84 10.2273C19.84 9.5182 19.7764 8.8364 19.6582 8.1818H10.24V12.05H15.6218C15.39 13.3 14.6855 14.3591 13.6264 15.0682V17.5773H16.8582C18.7491 15.8364 19.84 13.2727 19.84 10.2273Z" fill="#4285F4"></path><path d="M10.24 20C12.94 20 15.2036 19.1045 16.8581 17.5773L13.6263 15.0682C12.7309 15.6682 11.5854 16.0227 10.24 16.0227C7.6354 16.0227 5.4309 14.2636 4.6445 11.9H1.3036V14.4909C2.9491 17.7591 6.3309 20 10.24 20Z" fill="#34A853"></path><path d="M4.6445 11.9C4.4445 11.3 4.3309 10.6591 4.3309 10C4.3309 9.3409 4.4445 8.7 4.6445 8.1V5.5091H1.3036C0.6264 6.8591 0.24 8.3864 0.24 10C0.24 11.6136 0.6264 13.1409 1.3036 14.4909L4.6445 11.9Z" fill="#FBBC04"></path><path d="M10.24 3.9773C11.7081 3.9773 13.0263 4.4818 14.0627 5.4727L16.9309 2.6045C15.1991 0.9909 12.9354 0 10.24 0C6.3309 0 2.9491 2.2409 1.3036 5.5091L4.6445 8.1C5.4309 5.7364 7.6354 3.9773 10.24 3.9773Z" fill="#E94235"></path></svg>`);function Vr(e,t){var n=Br();I(()=>M(n,0,ee(t.class))),f(e,n)}var Hr=O(`<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill="currentColor" viewBox="0 0 814 1000"><path d="M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.9 40.8s-105.6-57-155.5-127C46.7 790.7 0 663 0 541.8c0-194.4 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 176.3-46 28.5 0 130.9 2.6 198.3 99.2zm-234-181.5c31.1-36.9 53.1-88.1 53.1-139.3 0-7.1-.6-14.3-1.9-20.1-50.6 1.9-110.8 33.7-147.1 75.8-28.5 32.4-55.1 83.6-55.1 135.5 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.4 0 102.5-30.4 135.5-71.3z"></path></svg>`);function Ur(e,t){B(t,!0);var n=Hr(),r=p(n);V(n),I(e=>{M(n,0,e),T(r,`fill`,t.fill)},[()=>ee(K(`size-5 -mt-[3px]`,t.class))]),f(e,n),_()}var Wr={google:Vr,apple:Ur},Gr=t(`<!> <!> <!>`,1);function Kr(t,n){B(n,!0);let r=F(()=>Wr[n.idp]);async function i(e){let t=e.currentTarget;t.disabled=!0,await Ee(n.idp,n.account?.id),t.disabled=!1}{let a=F(()=>n.children?`default`:`icon`),o=F(()=>K(`disabled:[&_.x-icon]:hidden [&_.x-spinner]:hidden disabled:[&_.x-spinner]:block`,n.class));X(t,{variant:`outline`,get size(){return U(a)},onclick:i,get class(){return U(o)},children:(t,i)=>{var a=Gr(),o=e(a);b(o,()=>U(r),(e,t)=>{t(e,{class:`x-icon`})});var s=w(o,2);$e(s,{class:`x-spinner`});var c=w(s,2);H(c,()=>n.children??h),f(t,a)},$$slots:{default:!0}})}_()}var qr=t(`<div class="flex gap-2"><!> <!></div>`);function Jr(e,t){B(t,!0);var n=qr(),r=p(n),i=e=>{Kr(e,{idp:`google`,get account(){return t.account}})};o(r,e=>{De.google.client&&e(i)});var a=w(r,2),s=e=>{Kr(e,{idp:`apple`,get account(){return t.account}})};o(a,e=>{De.apple.client&&e(s)}),V(n),f(e,n),_()}function Yr(e,t){B(t,!0);let n=()=>z(Q,`$dict`,a),[a,o]=j(),s={google:`Google`,apple:`Apple`};Kr(e,{get idp(){return t.idp},class:`w-full`,children:(e,a)=>{r();var o=d();I(e=>i(o,e),[()=>n().auth.continueWith(s[t.idp])]),f(e,o)},$$slots:{default:!0}}),_(),o()}var Xr=t(`<!> <!>`,1);function Zr(t,n){var a=k(),o=e(a);b(o,()=>Bn,(t,a)=>{a(t,{class:`w-full`,children:(t,a)=>{var o=Xr(),s=e(o);b(s,()=>Pn,(t,a)=>{a(t,{children:(t,a)=>{var o=Xr(),s=e(o);b(s,()=>Ln,(e,t)=>{t(e,{children:(e,t)=>{r();var a=d();I(()=>i(a,n.title)),f(e,a)},$$slots:{default:!0}})});var c=w(s,2);b(c,()=>On,(e,t)=>{t(e,{children:(e,t)=>{r();var a=d();I(()=>i(a,n.description)),f(e,a)},$$slots:{default:!0}})}),f(t,o)},$$slots:{default:!0}})});var c=w(s,2);b(c,()=>Tn,(t,r)=>{r(t,{class:`flex flex-col`,children:(t,r)=>{var i=k(),a=e(i);H(a,()=>n.action),f(t,i)},$$slots:{default:!0}})}),f(t,o)},$$slots:{default:!0}})}),f(t,a)}var Qr=t(`<!> `,1),$r=t(`<div class="flex flex-col items-center gap-4 w-full"><!> <!></div>`);function ei(t,n){B(n,!0);let r=()=>z(Q,`$dict`,a),[a,s]=j();N(()=>{n.method===null&&fe()});var c=$r(),l=p(c);{let t=t=>{var r=k(),i=e(r),a=e=>{zr(e,{get account(){return n.account}})},s=e=>{lr(e,{})},c=e=>{Yr(e,{idp:`apple`})},l=e=>{Yr(e,{idp:`google`})};o(i,e=>{n.method===`passkey`?e(a):n.method===`password`?e(s,1):n.method===`apple`?e(c,2):n.method===`google`&&e(l,3)}),f(t,r)},i=F(()=>r().auth.refresh.description(n.account.name));Zr(l,{get title(){return r().auth.refresh.title},get description(){return U(i)},action:t,$$slots:{action:!0}})}var u=w(l,2);X(u,{variant:`outline`,get onclick(){return fe},children:(t,n)=>{var a=Qr(),o=e(a);dt(o,{});var s=w(o);I(()=>i(s,` ${r().auth.signout??``}`)),f(t,a)},$$slots:{default:!0}}),V(c),f(t,c),_(),s()}var ti=new Set([`$$slots`,`$$events`,`$$legacy`]);function ni(e,t){let n=v(t,ti),r=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8`}]];W(e,P({name:`at-sign`},()=>n,{get iconNode(){return r}}))}var ri=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function ii(t,n){B(n,!0);let r=D(n,`ref`,15,null),i=v(n,ri);var a=k(),o=e(a);{let e=F(()=>K(`text-sm flex-1 outline-none`,n.class));b(o,()=>hn,(t,n)=>{n(t,P({"data-slot":`tabs-content`,get class(){return U(e)}},()=>i,{get ref(){return r()},set ref(e){r(e)}}))})}f(t,a),_()}var ai=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function oi(t,n){B(n,!0);let r=D(n,`ref`,15,null),i=v(n,ai);var a=k(),o=e(a);{let e=F(()=>K(`gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,n.class));b(o,()=>xn,(t,n)=>{n(t,P({"data-slot":`tabs-trigger`,get class(){return U(e)}},()=>i,{get ref(){return r()},set ref(e){r(e)}}))})}f(t,a),_()}var si=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`value`,`class`]);function ci(t,n){B(n,!0);let r=D(n,`ref`,15,null),i=D(n,`value`,15,``),a=v(n,si);var o=k(),s=e(o);{let e=F(()=>K(`gap-2 group/tabs flex data-[orientation=horizontal]:flex-col`,n.class));b(s,()=>fn,(t,n)=>{n(t,P({"data-slot":`tabs`,get class(){return U(e)}},()=>a,{get ref(){return r()},set ref(e){r(e)},get value(){return i()},set value(e){i(e)}}))})}f(t,o),_()}var li=it({base:`rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list inline-flex w-fit items-center justify-center text-muted-foreground group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col`,variants:{variant:{default:`cn-tabs-list-variant-default bg-muted`,line:`cn-tabs-list-variant-line gap-1 bg-transparent`}},defaultVariants:{variant:`default`}}),ui=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`variant`,`class`]);function di(t,n){B(n,!0);let r=D(n,`ref`,15,null),i=D(n,`variant`,3,`default`),a=v(n,ui);var o=k(),s=e(o);{let e=F(()=>K(li({variant:i()}),n.class));b(s,()=>vn,(t,n)=>{n(t,P({"data-slot":`tabs-list`,get"data-variant"(){return i()},get class(){return U(e)}},()=>a,{get ref(){return r()},set ref(e){r(e)}}))})}f(t,o),_()}var fi=t(`<!> `,1),pi=t(`<!> <!>`,1),mi=t(`<div class="flex justify-between gap-2"><!> <!></div> <!> <!>`,1);function hi(t,n){B(n,!0);let r=()=>z(Q,`$dict`,a),[a,o]=j(),s=y(null);function c(e){requestAnimationFrame(()=>{U(s)?.querySelector(`[data-value="${e}"] input[autofocus]`)?.focus()})}let l=y(`passkey`);N(()=>{L(l,me?`passkey`:`password`,!0)});var u=k(),d=e(u);{let t=F(()=>K(`w-full`,n.class));b(d,()=>ci,(a,o)=>{o(a,{get class(){return U(t)},onValueChange:c,get value(){return U(l)},set value(e){L(l,e,!0)},get ref(){return U(s)},set ref(e){L(s,e,!0)},children:(t,a)=>{var o=mi(),s=e(o),c=p(s);b(c,()=>di,(t,n)=>{n(t,{children:(t,n)=>{var a=pi(),o=e(a);b(o,()=>oi,(t,n)=>{n(t,{value:`passkey`,"data-marker":`passkey-tab`,children:(t,n)=>{var a=fi(),o=e(a);Tr(o,{color:`var(--muted-foreground)`});var s=w(o);I(()=>i(s,` ${r().auth.passkey??``}`)),f(t,a)},$$slots:{default:!0}})});var s=w(o,2);b(s,()=>oi,(t,n)=>{n(t,{value:`password`,id:`iam-email-tab`,children:(t,n)=>{var a=fi(),o=e(a);ni(o,{color:`var(--muted-foreground)`});var s=w(o);I(()=>i(s,` ${r().auth.email??``}`)),f(t,a)},$$slots:{default:!0}})}),f(t,a)},$$slots:{default:!0}})}),Jr(w(c,2),{get account(){return n.account}}),V(s);var l=w(s,2);b(l,()=>ii,(e,t)=>{t(e,{value:`passkey`,children:(e,t)=>{Lr(e,{get account(){return n.account},oncreate:e=>n.oncreate?.(e,`passkey`)})},$$slots:{default:!0}})});var u=w(l,2);b(u,()=>ii,(e,t)=>{t(e,{value:`password`,children:(e,t)=>{cr(e,{get account(){return n.account},oncreate:e=>n.oncreate?.(e,`password`)})},$$slots:{default:!0}})}),f(t,o)},$$slots:{default:!0}})})}f(t,u),_(),o()}var gi=t(`<div class="flex items-center justify-center h-screen"><!></div>`),_i=t(`<div class="flex w-full max-w-sm items-center justify-center pt-[14vh] px-4 mx-auto"><!></div>`);function vi(t,n){B(n,!0);let r=()=>z(de,`$iam`,l),i=()=>z(ye,`$method`,l),a=()=>z(ce,`$authenticated`,l),s=()=>z(le,`$greeting`,l),c=()=>z(oe,`$processing`,l),[l,u]=j(),d=t=>{var a=k(),s=e(a),c=e=>{ei(e,{get account(){return r()},get method(){return i()}})},l=e=>{{let t=F(()=>K(`scale-0 transition-transform`,`scale-100`));hi(e,{get class(){return U(t)},get account(){return n.account},get oncreate(){return n.oncreate}})}};o(s,e=>{r()?e(c):e(l,-1)}),f(t,a)};var m=k(),h=e(m),g=t=>{var r=k(),i=e(r);H(i,()=>n.children),f(t,r)},v=e=>{var t=gi(),n=p(t);$e(n,{}),V(t),f(e,t)},y=t=>{var r=k(),i=e(r);H(i,()=>n.screen,()=>({authentication:d})),f(t,r)},b=e=>{var t=_i(),n=p(t);d(n),V(t),f(e,t)};o(h,e=>{a()?e(g):s()||c()?e(v,1):n.screen?e(y,2):e(b,-1)}),f(t,m),_(),u()}function yi(e,t){return!!(e.dev!==void 0&&e.dev===!1||e.beta!==void 0&&e.beta===bi()||e.debug!==void 0&&e.debug===xi()||e.role!==void 0&&t?.roles!==void 0&&Si(t.roles,e.role))}function bi(){return typeof window<`u`&&window.location.hostname.startsWith(`beta.`)}function xi(){return bi()}function Si(e,t){for(let n of e)if(n===t||t.startsWith(n+`:`))return!0;return!1}var Ci=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`denied`]),wi=t(`<div class="flex justify-center pt-[14vh]"><!></div>`);function Ti(t,n){B(n,!0);let r=()=>z(de,`$account`,a),i=()=>z(Q,`$dict`,a),[a,s]=j(),c=v(n,Ci),l=F(()=>yi(c,r())),u=F(()=>r()?.id??``);var d=k(),m=e(d),h=t=>{var r=k(),i=e(r);H(i,()=>n.children),f(t,r)},g=t=>{var r=k(),i=e(r);H(i,()=>n.denied),f(t,r)},y=e=>{var t=wi(),n=p(t);{let e=F(()=>U(u).slice(0,8));Je(n,{get text(){return U(u)},get label(){return U(e)},get"aria-label"(){return i().auth.copyId},variant:`outline`,class:`font-mono`})}V(t),f(e,t)};o(m,e=>{U(l)?e(h):n.denied===void 0?U(u)!==``&&e(y,2):e(g,1)}),f(t,d),_(),s()}var Ei=a(((e,t)=>{t.exports=function(){return typeof Promise==`function`&&Promise.prototype&&Promise.prototype.then}})),$=a((e=>{var t,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(e){if(!e)throw Error(`"version" cannot be null or undefined`);if(e<1||e>40)throw Error(`"version" should be in range from 1 to 40`);return e*4+17},e.getSymbolTotalCodewords=function(e){return n[e]},e.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t},e.setToSJISFunction=function(e){if(typeof e!=`function`)throw Error(`"toSJISFunc" is not a valid function.`);t=e},e.isKanjiModeEnabled=function(){return t!==void 0},e.toSJIS=function(e){return t(e)}})),Di=a((e=>{e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(t){if(typeof t!=`string`)throw Error(`Param is not a string`);switch(t.toLowerCase()){case`l`:case`low`:return e.L;case`m`:case`medium`:return e.M;case`q`:case`quartile`:return e.Q;case`h`:case`high`:return e.H;default:throw Error(`Unknown EC Level: `+t)}}e.isValid=function(e){return e&&e.bit!==void 0&&e.bit>=0&&e.bit<4},e.from=function(n,r){if(e.isValid(n))return n;try{return t(n)}catch{return r}}})),Oi=a(((e,t)=>{function n(){this.buffer=[],this.length=0}n.prototype={get:function(e){let t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},t.exports=n})),ki=a(((e,t)=>{function n(e){if(!e||e<1)throw Error(`BitMatrix size must be defined and greater than 0`);this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}n.prototype.set=function(e,t,n,r){let i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)},n.prototype.get=function(e,t){return this.data[e*this.size+t]},n.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},n.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},t.exports=n})),Ai=a((e=>{var t=$().getSymbolSize;e.getRowColCoords=function(e){if(e===1)return[];let n=Math.floor(e/7)+2,r=t(e),i=r===145?26:Math.ceil((r-13)/(2*n-2))*2,a=[r-7];for(let e=1;e<n-1;e++)a[e]=a[e-1]-i;return a.push(6),a.reverse()},e.getPositions=function(t){let n=[],r=e.getRowColCoords(t),i=r.length;for(let e=0;e<i;e++)for(let t=0;t<i;t++)e===0&&t===0||e===0&&t===i-1||e===i-1&&t===0||n.push([r[e],r[t]]);return n}})),ji=a((e=>{var t=$().getSymbolSize,n=7;e.getPositions=function(e){let r=t(e);return[[0,0],[r-n,0],[0,r-n]]}})),Mi=a((e=>{e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(e){return e!=null&&e!==``&&!isNaN(e)&&e>=0&&e<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(e){let n=e.size,r=0,i=0,a=0,o=null,s=null;for(let c=0;c<n;c++){i=a=0,o=s=null;for(let l=0;l<n;l++){let n=e.get(c,l);n===o?i++:(i>=5&&(r+=t.N1+(i-5)),o=n,i=1),n=e.get(l,c),n===s?a++:(a>=5&&(r+=t.N1+(a-5)),s=n,a=1)}i>=5&&(r+=t.N1+(i-5)),a>=5&&(r+=t.N1+(a-5))}return r},e.getPenaltyN2=function(e){let n=e.size,r=0;for(let t=0;t<n-1;t++)for(let i=0;i<n-1;i++){let n=e.get(t,i)+e.get(t,i+1)+e.get(t+1,i)+e.get(t+1,i+1);(n===4||n===0)&&r++}return r*t.N2},e.getPenaltyN3=function(e){let n=e.size,r=0,i=0,a=0;for(let t=0;t<n;t++){i=a=0;for(let o=0;o<n;o++)i=i<<1&2047|e.get(t,o),o>=10&&(i===1488||i===93)&&r++,a=a<<1&2047|e.get(o,t),o>=10&&(a===1488||a===93)&&r++}return r*t.N3},e.getPenaltyN4=function(e){let n=0,r=e.data.length;for(let t=0;t<r;t++)n+=e.data[t];return Math.abs(Math.ceil(n*100/r/5)-10)*t.N4};function n(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return r%3==0;case e.Patterns.PATTERN011:return(n+r)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case e.Patterns.PATTERN101:return n*r%2+n*r%3==0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error(`bad maskPattern:`+t)}}e.applyMask=function(e,t){let r=t.size;for(let i=0;i<r;i++)for(let a=0;a<r;a++)t.isReserved(a,i)||t.xor(a,i,n(e,a,i))},e.getBestMask=function(t,n){let r=Object.keys(e.Patterns).length,i=0,a=1/0;for(let o=0;o<r;o++){n(o),e.applyMask(o,t);let r=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(o,t),r<a&&(a=r,i=o)}return i}})),Ni=a((e=>{var t=Di(),n=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(e,r){switch(r){case t.L:return n[(e-1)*4+0];case t.M:return n[(e-1)*4+1];case t.Q:return n[(e-1)*4+2];case t.H:return n[(e-1)*4+3];default:return}},e.getTotalCodewordsCount=function(e,n){switch(n){case t.L:return r[(e-1)*4+0];case t.M:return r[(e-1)*4+1];case t.Q:return r[(e-1)*4+2];case t.H:return r[(e-1)*4+3];default:return}}})),Pi=a((e=>{var t=new Uint8Array(512),n=new Uint8Array(256);(function(){let e=1;for(let r=0;r<255;r++)t[r]=e,n[e]=r,e<<=1,e&256&&(e^=285);for(let e=255;e<512;e++)t[e]=t[e-255]})(),e.log=function(e){if(e<1)throw Error(`log(`+e+`)`);return n[e]},e.exp=function(e){return t[e]},e.mul=function(e,r){return e===0||r===0?0:t[n[e]+n[r]]}})),Fi=a((e=>{var t=Pi();e.mul=function(e,n){let r=new Uint8Array(e.length+n.length-1);for(let i=0;i<e.length;i++)for(let a=0;a<n.length;a++)r[i+a]^=t.mul(e[i],n[a]);return r},e.mod=function(e,n){let r=new Uint8Array(e);for(;r.length-n.length>=0;){let e=r[0];for(let i=0;i<n.length;i++)r[i]^=t.mul(n[i],e);let i=0;for(;i<r.length&&r[i]===0;)i++;r=r.slice(i)}return r},e.generateECPolynomial=function(n){let r=new Uint8Array([1]);for(let i=0;i<n;i++)r=e.mul(r,new Uint8Array([1,t.exp(i)]));return r}})),Ii=a(((e,t)=>{var n=Fi();function r(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}r.prototype.initialize=function(e){this.degree=e,this.genPoly=n.generateECPolynomial(this.degree)},r.prototype.encode=function(e){if(!this.genPoly)throw Error(`Encoder not initialized`);let t=new Uint8Array(e.length+this.degree);t.set(e);let r=n.mod(t,this.genPoly),i=this.degree-r.length;if(i>0){let e=new Uint8Array(this.degree);return e.set(r,i),e}return r},t.exports=r})),Li=a((e=>{e.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}})),Ri=a((e=>{var t=`[0-9]+`,n=`[A-Z $%*+\\-./:]+`,r=`(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+`;r=r.replace(/u/g,`\\u`);var i=`(?:(?![A-Z0-9 $%*+\\-./:]|`+r+`)(?:.|[\r
2
+ ]))+`;e.KANJI=new RegExp(r,`g`),e.BYTE_KANJI=RegExp(`[^A-Z0-9 $%*+\\-./:]+`,`g`),e.BYTE=new RegExp(i,`g`),e.NUMERIC=new RegExp(t,`g`),e.ALPHANUMERIC=new RegExp(n,`g`);var a=RegExp(`^`+r+`$`),o=RegExp(`^[0-9]+$`),s=RegExp(`^[A-Z0-9 $%*+\\-./:]+$`);e.testKanji=function(e){return a.test(e)},e.testNumeric=function(e){return o.test(e)},e.testAlphanumeric=function(e){return s.test(e)}})),zi=a((e=>{var t=Li(),n=Ri();e.NUMERIC={id:`Numeric`,bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:`Alphanumeric`,bit:2,ccBits:[9,11,13]},e.BYTE={id:`Byte`,bit:4,ccBits:[8,16,16]},e.KANJI={id:`Kanji`,bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(e,n){if(!e.ccBits)throw Error(`Invalid mode: `+e);if(!t.isValid(n))throw Error(`Invalid version: `+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]},e.getBestModeForData=function(t){return n.testNumeric(t)?e.NUMERIC:n.testAlphanumeric(t)?e.ALPHANUMERIC:n.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(e){if(e&&e.id)return e.id;throw Error(`Invalid mode`)},e.isValid=function(e){return e&&e.bit&&e.ccBits};function r(t){if(typeof t!=`string`)throw Error(`Param is not a string`);switch(t.toLowerCase()){case`numeric`:return e.NUMERIC;case`alphanumeric`:return e.ALPHANUMERIC;case`kanji`:return e.KANJI;case`byte`:return e.BYTE;default:throw Error(`Unknown mode: `+t)}}e.from=function(t,n){if(e.isValid(t))return t;try{return r(t)}catch{return n}}})),Bi=a((e=>{var t=$(),n=Ni(),r=Di(),i=zi(),a=Li(),o=7973,s=t.getBCHDigit(o);function c(t,n,r){for(let i=1;i<=40;i++)if(n<=e.getCapacity(i,r,t))return i}function l(e,t){return i.getCharCountIndicator(e,t)+4}function u(e,t){let n=0;return e.forEach(function(e){let r=l(e.mode,t);n+=r+e.getBitsLength()}),n}function d(t,n){for(let r=1;r<=40;r++)if(u(t,r)<=e.getCapacity(r,n,i.MIXED))return r}e.from=function(e,t){return a.isValid(e)?parseInt(e,10):t},e.getCapacity=function(e,r,o){if(!a.isValid(e))throw Error(`Invalid QR Code version`);o===void 0&&(o=i.BYTE);let s=(t.getSymbolTotalCodewords(e)-n.getTotalCodewordsCount(e,r))*8;if(o===i.MIXED)return s;let c=s-l(o,e);switch(o){case i.NUMERIC:return Math.floor(c/10*3);case i.ALPHANUMERIC:return Math.floor(c/11*2);case i.KANJI:return Math.floor(c/13);case i.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(e,t){let n,i=r.from(t,r.M);if(Array.isArray(e)){if(e.length>1)return d(e,i);if(e.length===0)return 1;n=e[0]}else n=e;return c(n.mode,n.getLength(),i)},e.getEncodedBits=function(e){if(!a.isValid(e)||e<7)throw Error(`Invalid QR Code version`);let n=e<<12;for(;t.getBCHDigit(n)-s>=0;)n^=o<<t.getBCHDigit(n)-s;return e<<12|n}})),Vi=a((e=>{var t=$(),n=1335,r=21522,i=t.getBCHDigit(n);e.getEncodedBits=function(e,a){let o=e.bit<<3|a,s=o<<10;for(;t.getBCHDigit(s)-i>=0;)s^=n<<t.getBCHDigit(s)-i;return(o<<10|s)^r}})),Hi=a(((e,t)=>{var n=zi();function r(e){this.mode=n.NUMERIC,this.data=e.toString()}r.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){let t,n,r;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),r=parseInt(n,10),e.put(r,10);let i=this.data.length-t;i>0&&(n=this.data.substr(t),r=parseInt(n,10),e.put(r,i*3+1))},t.exports=r})),Ui=a(((e,t)=>{var n=zi(),r=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`.split(``);function i(e){this.mode=n.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=r.indexOf(this.data[t])*45;n+=r.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(r.indexOf(this.data[t]),6)},t.exports=i})),Wi=a(((e,t)=>{var n=zi();function r(e){this.mode=n.BYTE,this.data=typeof e==`string`?new TextEncoder().encode(e):new Uint8Array(e)}r.getBitsLength=function(e){return e*8},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},t.exports=r})),Gi=a(((e,t)=>{var n=zi(),r=$();function i(e){this.mode=n.KANJI,this.data=e}i.getBitsLength=function(e){return e*13},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=r.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error(`Invalid SJIS character: `+this.data[t]+`
3
+ Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}},t.exports=i})),Ki=a(((e,t)=>{var n={single_source_shortest_paths:function(e,t,r){var i={},a={};a[t]=0;var o=n.PriorityQueue.make();o.push(t,0);for(var s,c,l,u,d,f,p,m,h;!o.empty();)for(l in s=o.pop(),c=s.value,u=s.cost,d=e[c]||{},d)d.hasOwnProperty(l)&&(f=d[l],p=u+f,m=a[l],h=a[l]===void 0,(h||m>p)&&(a[l]=p,o.push(l,p),i[l]=c));if(r!==void 0&&a[r]===void 0){var g=[`Could not find a path from `,t,` to `,r,`.`].join(``);throw Error(g)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,t,r){var i=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var t=n.PriorityQueue,r={},i;for(i in e||={},t)t.hasOwnProperty(i)&&(r[i]=t[i]);return r.queue=[],r.sorter=e.sorter||t.default_sorter,r},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t!==void 0&&(t.exports=n)})),qi=a((e=>{var t=zi(),n=Hi(),r=Ui(),i=Wi(),a=Gi(),o=Ri(),s=$(),c=Ki();function l(e){return unescape(encodeURIComponent(e)).length}function u(e,t,n){let r=[],i;for(;(i=e.exec(n))!==null;)r.push({data:i[0],index:i.index,mode:t,length:i[0].length});return r}function d(e){let n=u(o.NUMERIC,t.NUMERIC,e),r=u(o.ALPHANUMERIC,t.ALPHANUMERIC,e),i,a;return s.isKanjiModeEnabled()?(i=u(o.BYTE,t.BYTE,e),a=u(o.KANJI,t.KANJI,e)):(i=u(o.BYTE_KANJI,t.BYTE,e),a=[]),n.concat(r,i,a).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function f(e,o){switch(o){case t.NUMERIC:return n.getBitsLength(e);case t.ALPHANUMERIC:return r.getBitsLength(e);case t.KANJI:return a.getBitsLength(e);case t.BYTE:return i.getBitsLength(e)}}function p(e){return e.reduce(function(e,t){let n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)},[])}function m(e){let n=[];for(let r=0;r<e.length;r++){let i=e[r];switch(i.mode){case t.NUMERIC:n.push([i,{data:i.data,mode:t.ALPHANUMERIC,length:i.length},{data:i.data,mode:t.BYTE,length:i.length}]);break;case t.ALPHANUMERIC:n.push([i,{data:i.data,mode:t.BYTE,length:i.length}]);break;case t.KANJI:n.push([i,{data:i.data,mode:t.BYTE,length:l(i.data)}]);break;case t.BYTE:n.push([{data:i.data,mode:t.BYTE,length:l(i.data)}])}}return n}function h(e,n){let r={},i={start:{}},a=[`start`];for(let o=0;o<e.length;o++){let s=e[o],c=[];for(let e=0;e<s.length;e++){let l=s[e],u=``+o+e;c.push(u),r[u]={node:l,lastCount:0},i[u]={};for(let e=0;e<a.length;e++){let o=a[e];r[o]&&r[o].node.mode===l.mode?(i[o][u]=f(r[o].lastCount+l.length,l.mode)-f(r[o].lastCount,l.mode),r[o].lastCount+=l.length):(r[o]&&(r[o].lastCount=l.length),i[o][u]=f(l.length,l.mode)+4+t.getCharCountIndicator(l.mode,n))}}a=c}for(let e=0;e<a.length;e++)i[a[e]].end=0;return{map:i,table:r}}function g(e,o){let c,l=t.getBestModeForData(e);if(c=t.from(o,l),c!==t.BYTE&&c.bit<l.bit)throw Error(`"`+e+`" cannot be encoded with mode `+t.toString(c)+`.
4
+ Suggested mode is: `+t.toString(l));switch(c===t.KANJI&&!s.isKanjiModeEnabled()&&(c=t.BYTE),c){case t.NUMERIC:return new n(e);case t.ALPHANUMERIC:return new r(e);case t.KANJI:return new a(e);case t.BYTE:return new i(e)}}e.fromArray=function(e){return e.reduce(function(e,t){return typeof t==`string`?e.push(g(t,null)):t.data&&e.push(g(t.data,t.mode)),e},[])},e.fromString=function(t,n){let r=h(m(d(t,s.isKanjiModeEnabled())),n),i=c.find_path(r.map,`start`,`end`),a=[];for(let e=1;e<i.length-1;e++)a.push(r.table[i[e]].node);return e.fromArray(p(a))},e.rawSplit=function(t){return e.fromArray(d(t,s.isKanjiModeEnabled()))}})),Ji=a((e=>{var t=$(),n=Di(),r=Oi(),i=ki(),a=Ai(),o=ji(),s=Mi(),c=Ni(),l=Ii(),u=Bi(),d=Vi(),f=zi(),p=qi();function m(e,t){let n=e.size,r=o.getPositions(t);for(let t=0;t<r.length;t++){let i=r[t][0],a=r[t][1];for(let t=-1;t<=7;t++)if(!(i+t<=-1||n<=i+t))for(let r=-1;r<=7;r++)a+r<=-1||n<=a+r||(t>=0&&t<=6&&(r===0||r===6)||r>=0&&r<=6&&(t===0||t===6)||t>=2&&t<=4&&r>=2&&r<=4?e.set(i+t,a+r,!0,!0):e.set(i+t,a+r,!1,!0))}}function h(e){let t=e.size;for(let n=8;n<t-8;n++){let t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}function g(e,t){let n=a.getPositions(t);for(let t=0;t<n.length;t++){let r=n[t][0],i=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)t===-2||t===2||n===-2||n===2||t===0&&n===0?e.set(r+t,i+n,!0,!0):e.set(r+t,i+n,!1,!0)}}function _(e,t){let n=e.size,r=u.getEncodedBits(t),i,a,o;for(let t=0;t<18;t++)i=Math.floor(t/3),a=t%3+n-8-3,o=(r>>t&1)==1,e.set(i,a,o,!0),e.set(a,i,o,!0)}function v(e,t,n){let r=e.size,i=d.getEncodedBits(t,n),a,o;for(a=0;a<15;a++)o=(i>>a&1)==1,a<6?e.set(a,8,o,!0):a<8?e.set(a+1,8,o,!0):e.set(r-15+a,8,o,!0),a<8?e.set(8,r-a-1,o,!0):a<9?e.set(8,15-a-1+1,o,!0):e.set(8,15-a-1,o,!0);e.set(r-8,8,1,!0)}function y(e,t){let n=e.size,r=-1,i=n-1,a=7,o=0;for(let s=n-1;s>0;s-=2)for(s===6&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(i,s-n)){let r=!1;o<t.length&&(r=(t[o]>>>a&1)==1),e.set(i,s-n,r),a--,a===-1&&(o++,a=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}function b(e,n,i){let a=new r;i.forEach(function(t){a.put(t.mode.bit,4),a.put(t.getLength(),f.getCharCountIndicator(t.mode,e)),t.write(a)});let o=(t.getSymbolTotalCodewords(e)-c.getTotalCodewordsCount(e,n))*8;for(a.getLengthInBits()+4<=o&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(0);let s=(o-a.getLengthInBits())/8;for(let e=0;e<s;e++)a.put(e%2?17:236,8);return x(a,e,n)}function x(e,n,r){let i=t.getSymbolTotalCodewords(n),a=i-c.getTotalCodewordsCount(n,r),o=c.getBlocksCount(n,r),s=o-i%o,u=Math.floor(i/o),d=Math.floor(a/o),f=d+1,p=u-d,m=new l(p),h=0,g=Array(o),_=Array(o),v=0,y=new Uint8Array(e.buffer);for(let e=0;e<o;e++){let t=e<s?d:f;g[e]=y.slice(h,h+t),_[e]=m.encode(g[e]),h+=t,v=Math.max(v,t)}let b=new Uint8Array(i),x=0,S,C;for(S=0;S<v;S++)for(C=0;C<o;C++)S<g[C].length&&(b[x++]=g[C][S]);for(S=0;S<p;S++)for(C=0;C<o;C++)b[x++]=_[C][S];return b}function S(e,n,r,a){let o;if(Array.isArray(e))o=p.fromArray(e);else if(typeof e==`string`){let t=n;if(!t){let n=p.rawSplit(e);t=u.getBestVersionForData(n,r)}o=p.fromString(e,t||40)}else throw Error(`Invalid data`);let c=u.getBestVersionForData(o,r);if(!c)throw Error(`The amount of data is too big to be stored in a QR Code`);if(!n)n=c;else if(n<c)throw Error(`
5
+ The chosen QR Code version cannot contain this amount of data.
6
+ Minimum version required to store current data is: `+c+`.
7
+ `);let l=b(n,r,o),d=new i(t.getSymbolSize(n));return m(d,n),h(d),g(d,n),v(d,r,0),n>=7&&_(d,n),y(d,l),isNaN(a)&&(a=s.getBestMask(d,v.bind(null,d,r))),s.applyMask(a,d),v(d,r,a),{modules:d,version:n,errorCorrectionLevel:r,maskPattern:a,segments:o}}e.create=function(e,r){if(e===void 0||e===``)throw Error(`No input text`);let i=n.M,a,o;return r!==void 0&&(i=n.from(r.errorCorrectionLevel,n.M),a=u.from(r.version),o=s.from(r.maskPattern),r.toSJISFunc&&t.setToSJISFunction(r.toSJISFunc)),S(e,a,i,o)}})),Yi=a((e=>{function t(e){if(typeof e==`number`&&(e=e.toString()),typeof e!=`string`)throw Error(`Color should be defined as hex string`);let t=e.slice().replace(`#`,``).split(``);if(t.length<3||t.length===5||t.length>8)throw Error(`Invalid hex color: `+e);(t.length===3||t.length===4)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),t.length===6&&t.push(`F`,`F`);let n=parseInt(t.join(``),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:`#`+t.slice(0,6).join(``)}}e.getOptions=function(e){e||={},e.color||(e.color={});let n=e.margin===void 0||e.margin===null||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:r,scale:r?4:i,margin:n,color:{dark:t(e.color.dark||`#000000ff`),light:t(e.color.light||`#ffffffff`)},type:e.type,rendererOpts:e.rendererOpts||{}}},e.getScale=function(e,t){return t.width&&t.width>=e+t.margin*2?t.width/(e+t.margin*2):t.scale},e.getImageWidth=function(t,n){let r=e.getScale(t,n);return Math.floor((t+n.margin*2)*r)},e.qrToImageData=function(t,n,r){let i=n.modules.size,a=n.modules.data,o=e.getScale(i,r),s=Math.floor((i+r.margin*2)*o),c=r.margin*o,l=[r.color.light,r.color.dark];for(let e=0;e<s;e++)for(let n=0;n<s;n++){let u=(e*s+n)*4,d=r.color.light;if(e>=c&&n>=c&&e<s-c&&n<s-c){let t=Math.floor((e-c)/o),r=Math.floor((n-c)/o);d=l[+!!a[t*i+r]]}t[u++]=d.r,t[u++]=d.g,t[u++]=d.b,t[u]=d.a}}})),Xi=a((e=>{var t=Yi();function n(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||={},t.height=n,t.width=n,t.style.height=n+`px`,t.style.width=n+`px`}function r(){try{return document.createElement(`canvas`)}catch{throw Error(`You need to specify a canvas element`)}}e.render=function(e,i,a){let o=a,s=i;o===void 0&&(!i||!i.getContext)&&(o=i,i=void 0),i||(s=r()),o=t.getOptions(o);let c=t.getImageWidth(e.modules.size,o),l=s.getContext(`2d`),u=l.createImageData(c,c);return t.qrToImageData(u.data,e,o),n(l,s,c),l.putImageData(u,0,0),s},e.renderToDataURL=function(t,n,r){let i=r;i===void 0&&(!n||!n.getContext)&&(i=n,n=void 0),i||={};let a=e.render(t,n,i),o=i.type||`image/png`,s=i.rendererOpts||{};return a.toDataURL(o,s.quality)}})),Zi=a((e=>{var t=Yi();function n(e,t){let n=e.a/255,r=t+`="`+e.hex+`"`;return n<1?r+` `+t+`-opacity="`+n.toFixed(2).slice(1)+`"`:r}function r(e,t,n){let r=e+t;return n!==void 0&&(r+=` `+n),r}function i(e,t,n){let i=``,a=0,o=!1,s=0;for(let c=0;c<e.length;c++){let l=Math.floor(c%t),u=Math.floor(c/t);!l&&!o&&(o=!0),e[c]?(s++,c>0&&l>0&&e[c-1]||(i+=o?r(`M`,l+n,.5+u+n):r(`m`,a,0),a=0,o=!1),l+1<t&&e[c+1]||(i+=r(`h`,s),s=0)):a++}return i}e.render=function(e,r,a){let o=t.getOptions(r),s=e.modules.size,c=e.modules.data,l=s+o.margin*2,u=o.color.light.a?`<path `+n(o.color.light,`fill`)+` d="M0 0h`+l+`v`+l+`H0z"/>`:``,d=`<path `+n(o.color.dark,`stroke`)+` d="`+i(c,s,o.margin)+`"/>`,f=`viewBox="0 0 `+l+` `+l+`"`,p=`<svg xmlns="http://www.w3.org/2000/svg" `+(o.width?`width="`+o.width+`" height="`+o.width+`" `:``)+f+` shape-rendering="crispEdges">`+u+d+`</svg>
8
+ `;return typeof a==`function`&&a(null,p),p}}));a((e=>{var t=Ei(),n=Ji(),r=Xi(),i=Zi();function a(e,r,i,a,o){let s=[].slice.call(arguments,1),c=s.length,l=typeof s[c-1]==`function`;if(!l&&!t())throw Error(`Callback required as last argument`);if(l){if(c<2)throw Error(`Too few arguments provided`);c===2?(o=i,i=r,r=a=void 0):c===3&&(r.getContext&&o===void 0?(o=a,a=void 0):(o=a,a=i,i=r,r=void 0))}else{if(c<1)throw Error(`Too few arguments provided`);return c===1?(i=r,r=a=void 0):c===2&&!r.getContext&&(a=i,i=r,r=void 0),new Promise(function(t,o){try{t(e(n.create(i,a),r,a))}catch(e){o(e)}})}try{let t=n.create(i,a);o(null,e(t,r,a))}catch(e){o(e)}}e.create=n.create,e.toCanvas=a.bind(null,r.render),e.toDataURL=a.bind(null,r.renderToDataURL),e.toString=a.bind(null,function(e,t,n){return i.render(e,n)})}))(),Wr.google,Wr.apple;var Qi=t(`<a><!> <span class="hidden md:inline"> </span></a>`),$i=t(`<!> <span class="hidden md:inline"> </span>`,1),ea=t(`<div class="flex h-dvh flex-col"><header class="flex items-center gap-4 px-4 py-3" style="view-transition-name: chrome"><h1 class="hidden text-lg font-medium md:block"> </h1> <nav class="flex gap-1"></nav> <div class="relative w-full max-w-64 min-w-0"><!> <!> <!></div> <!></header> <main class="min-h-0 flex-1"><!></main></div>`);function ta(t,a){B(a,!0);let o=()=>z(et,`$only`,u),c=()=>z(we,`$dict`,u),l=()=>z(Qe,`$query`,u),[u,m]=j();ie(()=>Qe.set(``));let h=y(null);function v(e){e.key===`Enter`&&o()?.()}function S(e){e.key!==`k`||!(e.metaKey||e.ctrlKey)||(e.preventDefault(),U(h)?.focus(),U(h)?.select())}let E=F(()=>[{id:`map`,href:`${ae}/`,label:c().nav.map,Icon:ht},{id:`list`,href:`${ae}/list/`,label:c().nav.list,Icon:lt}]),D=F(()=>U(E).map(e=>e.href).filter(e=>Oe.url.pathname.startsWith(e)).reduce((e,t)=>t.length>e.length?t:e,``));s(`keydown`,g,S),vi(t,{children:(t,o)=>{var s=ea(),u=p(s),m=p(u),g=p(m,!0);V(m);var _=w(m,2);n(_,21,()=>U(E),e=>e.id,(e,t)=>{let n=F(()=>U(t).href===U(D));var r=Qi(),a=p(r);b(a,()=>U(t).Icon,(e,t)=>{t(e,{class:`size-4`})});var o=w(a,2),s=p(o,!0);V(o),V(r),I(()=>{T(r,`id`,`nav-${U(t).id}-link`),T(r,`href`,U(t).href),T(r,`aria-current`,U(n)?`page`:void 0),T(r,`aria-label`,U(t).label),M(r,1,ee([`inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-sm transition-colors`,U(n)?`bg-muted font-medium`:`text-muted-foreground hover:text-foreground`])),i(s,U(t).label)}),f(e,r)}),V(_);var y=w(_,2),S=p(y);pt(S,{class:`text-muted-foreground pointer-events-none absolute start-2.5 top-1/2 size-3.5 -translate-y-1/2`});var O=w(S,2);Un(O,{id:`nav-filter-input`,type:`search`,onkeydown:v,get"aria-label"(){return c().nav.filter},class:`ps-8 pe-3 md:pe-14 [&::-webkit-search-cancel-button]:hidden`,get ref(){return U(h)},set ref(e){L(h,e,!0)},get value(){return x(),l()},set value(e){C(Qe,e)}});var A=w(O,2);ot(A,{class:`absolute end-2 top-1/2 hidden -translate-y-1/2 md:inline-flex`,children:(e,t)=>{r();var n=d();I(()=>i(n,ve?`⌘K`:`Ctrl K`)),f(e,n)},$$slots:{default:!0}}),V(y);var j=w(y,2);X(j,{id:`iam-logout-button`,variant:`ghost`,get"aria-label"(){return c().nav.signout},class:`ms-auto`,get onclick(){return fe},children:(t,n)=>{var r=$i(),a=e(r);dt(a,{});var o=w(a,2),s=p(o,!0);V(o),I(()=>i(s,c().nav.signout)),f(t,r)},$$slots:{default:!0}}),V(u);var N=w(u,2);Ti(p(N),{role:`system:introspection`,children:(t,n)=>{var r=k(),i=e(r);H(i,()=>a.children),f(t,r)},$$slots:{default:!0}}),V(N),V(s),I(()=>i(g,ue.title)),f(t,s)},$$slots:{default:!0}}),_(),m()}export{ta as component};
@@ -0,0 +1 @@
1
+ import"../chunks/PUjOYRcs.js";import"../chunks/xihTtKlq.js";import"../chunks/DINmginf.js";import{t as e}from"../chunks/l6dsJ5Gu.js";function t(t){e(t,{class:`h-full`})}export{t as component};
@@ -0,0 +1 @@
1
+ import{_t as e,ot as t,vt as n,z as r}from"../chunks/PUjOYRcs.js";import"../chunks/xihTtKlq.js";import{t as i}from"../chunks/1xzjxgxR.js";import{n as a,t as o}from"../chunks/l6dsJ5Gu.js";function s(s,c){n(c,!0);let l=t(()=>a(i.params.id??``));o(s,{class:`h-full`,get focus(){return r(l)}}),e()}export{s as component};
@@ -0,0 +1 @@
1
+ import{A as e,O as t,Q as n,wt as r}from"../chunks/PUjOYRcs.js";import"../chunks/xihTtKlq.js";import{t as i}from"../chunks/C4g3ZovQ.js";import"../chunks/DINmginf.js";var a=e(`<div class="mx-auto h-full max-w-3xl overflow-auto px-4 pb-12"><!></div>`);function o(e){var o=a(),s=n(o);i(s,{}),r(o),t(e,o)}export{o as component};
@@ -0,0 +1 @@
1
+ {"version":"1787987532369"}
@@ -0,0 +1,48 @@
1
+ <!doctype html>
2
+ <html translate="no" lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="robots" content="noindex,nofollow" />
7
+ <meta name="google" content="notranslate" />
8
+ <link href="/.introspection/_app/immutable/entry/start.RdXhYSOR.js" rel="modulepreload">
9
+ <link href="/.introspection/_app/immutable/chunks/CdbruytT.js" rel="modulepreload">
10
+ <link href="/.introspection/_app/immutable/chunks/PUjOYRcs.js" rel="modulepreload">
11
+ <link href="/.introspection/_app/immutable/chunks/C_Un7mHJ.js" rel="modulepreload">
12
+ <link href="/.introspection/_app/immutable/entry/app.CHPxK5sj.js" rel="modulepreload">
13
+ <link href="/.introspection/_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
14
+ <link href="/.introspection/_app/immutable/nodes/0.DX4ayE9m.js" rel="modulepreload">
15
+ <link href="/.introspection/_app/immutable/chunks/BZ_ZXXtm.js" rel="modulepreload">
16
+ <link href="/.introspection/_app/immutable/chunks/1xzjxgxR.js" rel="modulepreload">
17
+ <link href="/.introspection/_app/immutable/chunks/BVYHbl6Y.js" rel="modulepreload">
18
+ <link href="/.introspection/_app/env.js" rel="modulepreload">
19
+
20
+ <link href="/.introspection/_app/immutable/assets/0.BL1urM24.css" rel="stylesheet">
21
+ </head>
22
+ <body data-sveltekit-preload-data="hover">
23
+ <div style="display: contents">
24
+ <script>
25
+ {
26
+ __sveltekit_znd59u = {
27
+ base: "/.introspection",
28
+ assets: "/.introspection",
29
+ env: null
30
+ };
31
+
32
+ const element = document.currentScript.parentElement;
33
+
34
+ import("/.introspection/_app/env.js").then(({ env }) => {
35
+ __sveltekit_znd59u.env = env;
36
+
37
+ Promise.all([
38
+ import("/.introspection/_app/immutable/entry/start.RdXhYSOR.js"),
39
+ import("/.introspection/_app/immutable/entry/app.CHPxK5sj.js")
40
+ ]).then(([kit, app]) => {
41
+ kit.start(app, element);
42
+ });
43
+ });
44
+ }
45
+ </script>
46
+ </div>
47
+ </body>
48
+ </html>
@@ -0,0 +1,3 @@
1
+ # an operator's page, never a destination
2
+ User-agent: *
3
+ Disallow: /