@zenuml/core 3.47.0 → 3.47.1

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.
package/dist/zenuml.js CHANGED
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var fa;function Gp(){if(fa)return l6;fa=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(s,l,L){var c=null;if(L!==void 0&&(c=""+L),l.key!==void 0&&(c=""+l.key),"key"in l){L={};for(var C in l)C!=="key"&&(L[C]=l[C])}else L=l;return l=L.ref,{$$typeof:t,type:s,key:c,ref:l!==void 0?l:null,props:L}}return l6.Fragment=e,l6.jsx=n,l6.jsxs=n,l6}var ga;function qp(){return ga||(ga=1,qn.exports=Gp()),qn.exports}var M=qp(),r6={exports:{}},Yn,pa;function Yp(){if(pa)return Yn;pa=1;function t(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}Yn=e;function e(n,s,l){var L=l&&l.stringify||t,c=1;if(typeof n=="object"&&n!==null){var C=s.length+c;if(C===1)return n;var d=new Array(C);d[0]=L(n);for(var f=1;f<C;f++)d[f]=L(s[f]);return d.join(" ")}if(typeof n!="string")return n;var g=s.length;if(g===0)return n;for(var p="",m=1-c,v=-1,b=n&&n.length||0,A=0;A<b;){if(n.charCodeAt(A)===37&&A+1<b){switch(v=v>-1?v:0,n.charCodeAt(A+1)){case 100:case 102:if(m>=g||s[m]==null)break;v<A&&(p+=n.slice(v,A)),p+=Number(s[m]),v=A+2,A++;break;case 105:if(m>=g||s[m]==null)break;v<A&&(p+=n.slice(v,A)),p+=Math.floor(Number(s[m])),v=A+2,A++;break;case 79:case 111:case 106:if(m>=g||s[m]===void 0)break;v<A&&(p+=n.slice(v,A));var k=typeof s[m];if(k==="string"){p+="'"+s[m]+"'",v=A+2,A++;break}if(k==="function"){p+=s[m].name||"<anonymous>",v=A+2,A++;break}p+=L(s[m]),v=A+2,A++;break;case 115:if(m>=g)break;v<A&&(p+=n.slice(v,A)),p+=String(s[m]),v=A+2,A++;break;case 37:v<A&&(p+=n.slice(v,A)),p+="%",v=A+2,A++,m--;break}++m}++A}return v===-1?n:(v<b&&(p+=n.slice(v)),p)}return Yn}var ma;function Xp(){if(ma)return r6.exports;ma=1;const t=Yp();r6.exports=g;const e=V().console||{},n={mapHttpRequest:Y,mapHttpResponse:Y,wrapRequestSerializer:n2,wrapResponseSerializer:n2,wrapErrorSerializer:n2,req:Y,res:Y,err:B,errWithCause:B};function s(W,T){return W==="silent"?1/0:T.levels.values[W]}const l=Symbol("pino.logFuncs"),L=Symbol("pino.hierarchy"),c={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function C(W,T){const j={logger:T,parent:W[L]};T[L]=j}function d(W,T,j){const $={};T.forEach(o2=>{$[o2]=j[o2]?j[o2]:e[o2]||e[c[o2]||"log"]||l2}),W[l]=$}function f(W,T){return Array.isArray(W)?W.filter(function($){return $!=="!stdSerializers.err"}):W===!0?Object.keys(T):!1}function g(W){W=W||{},W.browser=W.browser||{};const T=W.browser.transmit;if(T&&typeof T.send!="function")throw Error("pino: transmit option must have a send function");const j=W.browser.write||e;W.browser.write&&(W.browser.asObject=!0);const $=W.serializers||{},o2=f(W.browser.serialize,$);let g2=W.browser.serialize;Array.isArray(W.browser.serialize)&&W.browser.serialize.indexOf("!stdSerializers.err")>-1&&(g2=!1);const Z=Object.keys(W.customLevels||{}),F=["error","fatal","warn","info","debug","trace"].concat(Z);typeof j=="function"&&F.forEach(function(K2){j[K2]=j}),(W.enabled===!1||W.browser.disabled)&&(W.level="silent");const E=W.level||"info",U=Object.create(j);U.log||(U.log=l2),d(U,F,j),C({},U),Object.defineProperty(U,"levelVal",{get:m2}),Object.defineProperty(U,"level",{get:p2,set:N2});const K={transmit:T,serialize:o2,asObject:W.browser.asObject,formatters:W.browser.formatters,levels:F,timestamp:P(W)};U.levels=p(W),U.level=E,U.setMaxListeners=U.getMaxListeners=U.emit=U.addListener=U.on=U.prependListener=U.once=U.prependOnceListener=U.removeListener=U.removeAllListeners=U.listeners=U.listenerCount=U.eventNames=U.write=U.flush=l2,U.serializers=$,U._serialize=o2,U._stdErrSerialize=g2,U.child=P2,T&&(U._logEvent=O());function m2(){return s(this.level,this)}function p2(){return this._level}function N2(K2){if(K2!=="silent"&&!this.levels.values[K2])throw Error("unknown level "+K2);this._level=K2,b(this,K,U,"error"),b(this,K,U,"fatal"),b(this,K,U,"warn"),b(this,K,U,"info"),b(this,K,U,"debug"),b(this,K,U,"trace"),Z.forEach(f1=>{b(this,K,U,f1)})}function P2(K2,f1){if(!K2)throw new Error("missing bindings for child Pino");f1=f1||{},o2&&K2.serializers&&(f1.serializers=K2.serializers);const M1=f1.serializers;if(o2&&M1){var G1=Object.assign({},$,M1),V2=W.browser.serialize===!0?Object.keys(G1):o2;delete K2.serializers,N([K2],V2,G1,this._stdErrSerialize)}function y1(K1){this._childLevel=(K1._childLevel|0)+1,this.bindings=K2,G1&&(this.serializers=G1,this._serialize=V2),T&&(this._logEvent=O([].concat(K1._logEvent.bindings,K2)))}y1.prototype=this;const i3=new y1(this);return C(this,i3),i3.level=this.level,i3}return U}function p(W){const T=W.customLevels||{},j=Object.assign({},g.levels.values,T),$=Object.assign({},g.levels.labels,m(T));return{values:j,labels:$}}function m(W){const T={};return Object.keys(W).forEach(function(j){T[W[j]]=j}),T}g.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},g.stdSerializers=n,g.stdTimeFunctions=Object.assign({},{nullTime:f2,epochTime:c2,unixTime:h2,isoTime:b2});function v(W){const T=[];W.bindings&&T.push(W.bindings);let j=W[L];for(;j.parent;)j=j.parent,j.logger.bindings&&T.push(j.logger.bindings);return T.reverse()}function b(W,T,j,$){if(Object.defineProperty(W,$,{value:s(W.level,j)>s($,j)?l2:j[l][$],writable:!0,enumerable:!0,configurable:!0}),!T.transmit&&W[$]===l2)return;W[$]=k(W,T,j,$);const o2=v(W);o2.length!==0&&(W[$]=A(o2,W[$]))}function A(W,T){return function(){return T.apply(this,[...W,...arguments])}}function k(W,T,j,$){return(function(o2){return function(){const Z=T.timestamp(),F=new Array(arguments.length),E=Object.getPrototypeOf&&Object.getPrototypeOf(this)===e?e:this;for(var U=0;U<F.length;U++)F[U]=arguments[U];if(T.serialize&&!T.asObject&&N(F,this._serialize,this.serializers,this._stdErrSerialize),T.asObject||T.formatters?o2.call(E,S(this,$,F,Z,T.formatters)):o2.apply(E,F),T.transmit){const K=T.transmit.level||W._level,m2=j.levels.values[K],p2=j.levels.values[$];if(p2<m2)return;I(this,{ts:Z,methodLevel:$,methodValue:p2,transmitValue:j.levels.values[T.transmit.level||W._level],send:T.transmit.send,val:s(W._level,j)},F)}}})(W[l][$])}function S(W,T,j,$,o2={}){const{level:g2=()=>W.levels.values[T],log:Z=p2=>p2}=o2;W._serialize&&N(j,W._serialize,W.serializers,W._stdErrSerialize);const F=j.slice();let E=F[0];const U={};$&&(U.time=$),U.level=g2(T,W.levels.values[T]);let K=(W._childLevel|0)+1;if(K<1&&(K=1),E!==null&&typeof E=="object"){for(;K--&&typeof F[0]=="object";)Object.assign(U,F.shift());E=F.length?t(F.shift(),F):void 0}else typeof E=="string"&&(E=t(F.shift(),F));return E!==void 0&&(U.msg=E),Z(U)}function N(W,T,j,$){for(const o2 in W)if($&&W[o2]instanceof Error)W[o2]=g.stdSerializers.err(W[o2]);else if(typeof W[o2]=="object"&&!Array.isArray(W[o2]))for(const g2 in W[o2])T&&T.indexOf(g2)>-1&&g2 in j&&(W[o2][g2]=j[g2](W[o2][g2]))}function I(W,T,j){const $=T.send,o2=T.ts,g2=T.methodLevel,Z=T.methodValue,F=T.val,E=W._logEvent.bindings;N(j,W._serialize||Object.keys(W.serializers),W.serializers,W._stdErrSerialize===void 0?!0:W._stdErrSerialize),W._logEvent.ts=o2,W._logEvent.messages=j.filter(function(U){return E.indexOf(U)===-1}),W._logEvent.level.label=g2,W._logEvent.level.value=Z,$(g2,W._logEvent,F),W._logEvent=O(E)}function O(W){return{ts:0,messages:[],bindings:W||[],level:{label:"",value:0}}}function B(W){const T={type:W.constructor.name,msg:W.message,stack:W.stack};for(const j in W)T[j]===void 0&&(T[j]=W[j]);return T}function P(W){return typeof W.timestamp=="function"?W.timestamp:W.timestamp===!1?f2:c2}function Y(){return{}}function n2(W){return W}function l2(){}function f2(){return!1}function c2(){return Date.now()}function h2(){return Math.round(Date.now()/1e3)}function b2(){return new Date(Date.now()).toISOString()}function V(){function W(T){return typeof T<"u"&&T}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return W(self)||W(window)||W(this)||{}}}return r6.exports.default=g,r6.exports.pino=g,r6.exports}var Qp=Xp();const Kp=j4(Qp)({level:"warn"}),xa=["log","trace","debug","info","warn","error"];function Jp(t,e){const n=e in console?console[e]:console.log;t[e]=n.bind(console)}function em(t,e,n){const s=e in console?console[e]:console.log;t[e]=s.bind(console,n[0],n[1])}function tm(t){xa.forEach(n=>Jp(t,n));const e=t.child;return t.child=function(n){const s=e.call(t,n);return xa.forEach(l=>em(s,l,["%c"+(n.name||""),"color: #00f"])),s},t}const a3=tm(Kp),B9={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_APP_GIT_BRANCH:"main",VITE_APP_GIT_HASH:"a2644218"};function wa(t){return"init"in t}function Xn(t){return!!t.write}function va(t){return"v"in t||"e"in t}function ne(t){if("e"in t)throw t.e;if((B9?"production":void 0)!=="production"&&!("v"in t))throw new Error("[Bug] atom state is not initialized");return t.v}const ie=new WeakMap;function Ma(t){var e;return se(t)&&!!((e=ie.get(t))!=null&&e[0])}function nm(t){const e=ie.get(t);e!=null&&e[0]&&(e[0]=!1,e[1].forEach(n=>n()))}function Qn(t,e){let n=ie.get(t);if(!n){n=[!0,new Set],ie.set(t,n);const s=()=>{n[0]=!1};t.then(s,s)}n[1].add(e)}function se(t){return typeof(t==null?void 0:t.then)=="function"}function _a(t,e,n){if(!n.p.has(t)){n.p.add(t);const s=()=>n.p.delete(t);e.then(s,s)}}function ya(t,e,n){var s;const l=new Set;for(const L of((s=n.get(t))==null?void 0:s.t)||[])l.add(L);for(const L of e.p)l.add(L);return l}const im=(t,e,...n)=>e.read(...n),sm=(t,e,...n)=>e.write(...n),om=(t,e)=>{if(e.INTERNAL_onInit)return e.INTERNAL_onInit(t);if(e.unstable_onInit)return console.warn("[DEPRECATED] atom.unstable_onInit is renamed to atom.INTERNAL_onInit."),e.unstable_onInit(t)},lm=(t,e,n)=>{var s;return(s=e.onMount)==null?void 0:s.call(e,n)},rm=(t,e)=>{var n;const s=$3(t),l=s[0],L=s[6],c=s[9];if((B9?"production":void 0)!=="production"&&!e)throw new Error("Atom is undefined or null");let C=l.get(e);return C||(C={d:new Map,p:new Set,n:0},l.set(e,C),(n=L.i)==null||n.call(L,e),c==null||c(t,e)),C},am=t=>{const e=$3(t),n=e[1],s=e[3],l=e[4],L=e[5],c=e[6],C=e[13],d=[],f=g=>{try{g()}catch(p){d.push(p)}};do{c.f&&f(c.f);const g=new Set,p=g.add.bind(g);s.forEach(m=>{var v;return(v=n.get(m))==null?void 0:v.l.forEach(p)}),s.clear(),L.forEach(p),L.clear(),l.forEach(p),l.clear(),g.forEach(f),s.size&&C(t)}while(s.size||L.size||l.size);if(d.length)throw new AggregateError(d)},Lm=t=>{const e=$3(t),n=e[1],s=e[2],l=e[3],L=e[11],c=e[14],C=e[17],d=[],f=new WeakSet,g=new WeakSet,p=Array.from(l);for(;p.length;){const m=p[p.length-1],v=L(t,m);if(g.has(m)){p.pop();continue}if(f.has(m)){if(s.get(m)===v.n)d.push([m,v]);else if((B9?"production":void 0)!=="production"&&s.has(m))throw new Error("[Bug] invalidated atom exists");g.add(m),p.pop();continue}f.add(m);for(const b of ya(m,v,n))f.has(b)||p.push(b)}for(let m=d.length-1;m>=0;--m){const[v,b]=d[m];let A=!1;for(const k of b.d.keys())if(k!==v&&l.has(k)){A=!0;break}A&&(c(t,v),C(t,v)),s.delete(v)}},Kn=new WeakSet,cm=(t,e)=>{var n,s;const l=$3(t),L=l[1],c=l[2],C=l[3],d=l[6],f=l[7],g=l[11],p=l[12],m=l[13],v=l[14],b=l[16],A=l[17],k=l[20],S=g(t,e);if(va(S)){if(L.has(e)&&c.get(e)!==S.n)return S;let l2=!1;for(const[f2,c2]of S.d)if(v(t,f2).n!==c2){l2=!0;break}if(!l2)return S}S.d.clear();let N=!0;function I(){L.has(e)&&(A(t,e),m(t),p(t))}function O(l2){var f2;if(l2===e){const h2=g(t,l2);if(!va(h2))if(wa(l2))k(t,l2,l2.init);else throw new Error("no atom init");return ne(h2)}const c2=v(t,l2);try{return ne(c2)}finally{S.d.set(l2,c2.n),Ma(S.v)&&_a(e,S.v,c2),L.has(e)&&((f2=L.get(l2))==null||f2.t.add(e)),N||I()}}let B,P;const Y={get signal(){return B||(B=new AbortController),B.signal},get setSelf(){return(B9?"production":void 0)!=="production"&&!Xn(e)&&console.warn("setSelf function cannot be used with read-only atom"),!P&&Xn(e)&&(P=(...l2)=>{if((B9?"production":void 0)!=="production"&&N&&console.warn("setSelf function cannot be called in sync"),!N)try{return b(t,e,...l2)}finally{m(t),p(t)}}),P}},n2=S.n;try{(B9?"production":void 0)!=="production"&&Kn.delete(t);const l2=f(t,e,O,Y);return(B9?"production":void 0)!=="production"&&Kn.has(t)&&console.warn("Detected store mutation during atom read. This is not supported."),k(t,e,l2),se(l2)&&(Qn(l2,()=>B==null?void 0:B.abort()),l2.then(I,I)),(n=d.r)==null||n.call(d,e),S}catch(l2){return delete S.v,S.e=l2,++S.n,S}finally{N=!1,n2!==S.n&&c.get(e)===n2&&(c.set(e,S.n),C.add(e),(s=d.c)==null||s.call(d,e))}},Cm=(t,e)=>{const n=$3(t),s=n[1],l=n[2],L=n[11],c=[e];for(;c.length;){const C=c.pop(),d=L(t,C);for(const f of ya(C,d,s)){const g=L(t,f);l.set(f,g.n),c.push(f)}}},um=(t,e,...n)=>{const s=$3(t),l=s[3],L=s[6],c=s[8],C=s[11],d=s[12],f=s[13],g=s[14],p=s[15],m=s[16],v=s[17],b=s[20];let A=!0;const k=N=>ne(g(t,N)),S=(N,...I)=>{var O;const B=C(t,N);try{if(N===e){if(!wa(N))throw new Error("atom not writable");(B9?"production":void 0)!=="production"&&Kn.add(t);const P=B.n,Y=I[0];b(t,N,Y),v(t,N),P!==B.n&&(l.add(N),p(t,N),(O=L.c)==null||O.call(L,N));return}else return m(t,N,...I)}finally{A||(f(t),d(t))}};try{return c(t,e,k,S,...n)}finally{A=!1}},dm=(t,e)=>{var n;const s=$3(t),l=s[1],L=s[3],c=s[6],C=s[11],d=s[15],f=s[18],g=s[19],p=C(t,e),m=l.get(e);if(m&&!Ma(p.v)){for(const[v,b]of p.d)if(!m.d.has(v)){const A=C(t,v);f(t,v).t.add(e),m.d.add(v),b!==A.n&&(L.add(v),d(t,v),(n=c.c)==null||n.call(c,v))}for(const v of m.d)if(!p.d.has(v)){m.d.delete(v);const b=g(t,v);b==null||b.t.delete(e)}}},hm=(t,e)=>{var n;const s=$3(t),l=s[1],L=s[4],c=s[6],C=s[10],d=s[11],f=s[12],g=s[13],p=s[14],m=s[16],v=s[18],b=d(t,e);let A=l.get(e);if(!A){p(t,e);for(const k of b.d.keys())v(t,k).t.add(e);if(A={l:new Set,d:new Set(b.d.keys()),t:new Set},l.set(e,A),Xn(e)){const k=()=>{let S=!0;const N=(...I)=>{try{return m(t,e,...I)}finally{S||(g(t),f(t))}};try{const I=C(t,e,N);I&&(A.u=()=>{S=!0;try{I()}finally{S=!1}})}finally{S=!1}};L.add(k)}(n=c.m)==null||n.call(c,e)}return A},fm=(t,e)=>{var n,s;const l=$3(t),L=l[1],c=l[5],C=l[6],d=l[11],f=l[19],g=d(t,e);let p=L.get(e);if(!p||p.l.size)return p;let m=!1;for(const v of p.t)if((n=L.get(v))!=null&&n.d.has(e)){m=!0;break}if(!m){p.u&&c.add(p.u),p=void 0,L.delete(e);for(const v of g.d.keys()){const b=f(t,v);b==null||b.t.delete(e)}(s=C.u)==null||s.call(C,e);return}return p},gm=(t,e,n)=>{const s=$3(t)[11],l=s(t,e),L="v"in l,c=l.v;if(se(n))for(const C of l.d.keys())_a(e,n,s(t,C));l.v=n,delete l.e,(!L||!Object.is(c,l.v))&&(++l.n,se(c)&&nm(c))},pm=(t,e)=>{const n=$3(t)[14];return ne(n(t,e))},mm=(t,e,...n)=>{const s=$3(t),l=s[12],L=s[13],c=s[16];try{return c(t,e,...n)}finally{L(t),l(t)}},xm=(t,e,n)=>{const s=$3(t),l=s[12],L=s[18],c=s[19],d=L(t,e).l;return d.add(n),l(t),()=>{d.delete(n),c(t,e),l(t)}},Ra=new WeakMap,$3=t=>{const e=Ra.get(t);if((B9?"production":void 0)!=="production"&&!e)throw new Error("Store must be created by buildStore to read its building blocks");return e};function wm(...t){const e={get(s){const l=$3(e)[21];return l(e,s)},set(s,...l){const L=$3(e)[22];return L(e,s,...l)},sub(s,l){const L=$3(e)[23];return L(e,s,l)}},n=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},im,sm,om,lm,rm,am,Lm,cm,Cm,um,dm,hm,fm,gm,pm,mm,xm,void 0].map((s,l)=>t[l]||s);return Ra.set(e,Object.freeze(n)),e}const ba={};let vm=0;function t3(t,e){const n=`atom${++vm}`,s={toString(){return(ba?"production":void 0)!=="production"&&this.debugLabel?n+":"+this.debugLabel:n}};return typeof t=="function"?s.read=t:(s.init=t,s.read=Mm,s.write=_m),e&&(s.write=e),s}function Mm(t){return t(this)}function _m(t,e,n){return e(this,typeof n=="function"?n(t(this)):n)}function Jn(){return wm()}let a6;function ym(){return a6||(a6=Jn(),(ba?"production":void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=a6),globalThis.__JOTAI_DEFAULT_STORE__!==a6&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),a6}var ei={exports:{}},n1={};/**
10
+ */var fa;function Gp(){if(fa)return l6;fa=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(s,l,L){var c=null;if(L!==void 0&&(c=""+L),l.key!==void 0&&(c=""+l.key),"key"in l){L={};for(var C in l)C!=="key"&&(L[C]=l[C])}else L=l;return l=L.ref,{$$typeof:t,type:s,key:c,ref:l!==void 0?l:null,props:L}}return l6.Fragment=e,l6.jsx=n,l6.jsxs=n,l6}var ga;function qp(){return ga||(ga=1,qn.exports=Gp()),qn.exports}var M=qp(),r6={exports:{}},Yn,pa;function Yp(){if(pa)return Yn;pa=1;function t(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}Yn=e;function e(n,s,l){var L=l&&l.stringify||t,c=1;if(typeof n=="object"&&n!==null){var C=s.length+c;if(C===1)return n;var d=new Array(C);d[0]=L(n);for(var f=1;f<C;f++)d[f]=L(s[f]);return d.join(" ")}if(typeof n!="string")return n;var g=s.length;if(g===0)return n;for(var p="",m=1-c,v=-1,b=n&&n.length||0,A=0;A<b;){if(n.charCodeAt(A)===37&&A+1<b){switch(v=v>-1?v:0,n.charCodeAt(A+1)){case 100:case 102:if(m>=g||s[m]==null)break;v<A&&(p+=n.slice(v,A)),p+=Number(s[m]),v=A+2,A++;break;case 105:if(m>=g||s[m]==null)break;v<A&&(p+=n.slice(v,A)),p+=Math.floor(Number(s[m])),v=A+2,A++;break;case 79:case 111:case 106:if(m>=g||s[m]===void 0)break;v<A&&(p+=n.slice(v,A));var k=typeof s[m];if(k==="string"){p+="'"+s[m]+"'",v=A+2,A++;break}if(k==="function"){p+=s[m].name||"<anonymous>",v=A+2,A++;break}p+=L(s[m]),v=A+2,A++;break;case 115:if(m>=g)break;v<A&&(p+=n.slice(v,A)),p+=String(s[m]),v=A+2,A++;break;case 37:v<A&&(p+=n.slice(v,A)),p+="%",v=A+2,A++,m--;break}++m}++A}return v===-1?n:(v<b&&(p+=n.slice(v)),p)}return Yn}var ma;function Xp(){if(ma)return r6.exports;ma=1;const t=Yp();r6.exports=g;const e=V().console||{},n={mapHttpRequest:Y,mapHttpResponse:Y,wrapRequestSerializer:n2,wrapResponseSerializer:n2,wrapErrorSerializer:n2,req:Y,res:Y,err:B,errWithCause:B};function s(W,T){return W==="silent"?1/0:T.levels.values[W]}const l=Symbol("pino.logFuncs"),L=Symbol("pino.hierarchy"),c={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function C(W,T){const j={logger:T,parent:W[L]};T[L]=j}function d(W,T,j){const $={};T.forEach(l2=>{$[l2]=j[l2]?j[l2]:e[l2]||e[c[l2]||"log"]||o2}),W[l]=$}function f(W,T){return Array.isArray(W)?W.filter(function($){return $!=="!stdSerializers.err"}):W===!0?Object.keys(T):!1}function g(W){W=W||{},W.browser=W.browser||{};const T=W.browser.transmit;if(T&&typeof T.send!="function")throw Error("pino: transmit option must have a send function");const j=W.browser.write||e;W.browser.write&&(W.browser.asObject=!0);const $=W.serializers||{},l2=f(W.browser.serialize,$);let g2=W.browser.serialize;Array.isArray(W.browser.serialize)&&W.browser.serialize.indexOf("!stdSerializers.err")>-1&&(g2=!1);const Z=Object.keys(W.customLevels||{}),F=["error","fatal","warn","info","debug","trace"].concat(Z);typeof j=="function"&&F.forEach(function(K2){j[K2]=j}),(W.enabled===!1||W.browser.disabled)&&(W.level="silent");const E=W.level||"info",H=Object.create(j);H.log||(H.log=o2),d(H,F,j),C({},H),Object.defineProperty(H,"levelVal",{get:m2}),Object.defineProperty(H,"level",{get:p2,set:N2});const K={transmit:T,serialize:l2,asObject:W.browser.asObject,formatters:W.browser.formatters,levels:F,timestamp:P(W)};H.levels=p(W),H.level=E,H.setMaxListeners=H.getMaxListeners=H.emit=H.addListener=H.on=H.prependListener=H.once=H.prependOnceListener=H.removeListener=H.removeAllListeners=H.listeners=H.listenerCount=H.eventNames=H.write=H.flush=o2,H.serializers=$,H._serialize=l2,H._stdErrSerialize=g2,H.child=P2,T&&(H._logEvent=O());function m2(){return s(this.level,this)}function p2(){return this._level}function N2(K2){if(K2!=="silent"&&!this.levels.values[K2])throw Error("unknown level "+K2);this._level=K2,b(this,K,H,"error"),b(this,K,H,"fatal"),b(this,K,H,"warn"),b(this,K,H,"info"),b(this,K,H,"debug"),b(this,K,H,"trace"),Z.forEach(f1=>{b(this,K,H,f1)})}function P2(K2,f1){if(!K2)throw new Error("missing bindings for child Pino");f1=f1||{},l2&&K2.serializers&&(f1.serializers=K2.serializers);const M1=f1.serializers;if(l2&&M1){var G1=Object.assign({},$,M1),V2=W.browser.serialize===!0?Object.keys(G1):l2;delete K2.serializers,N([K2],V2,G1,this._stdErrSerialize)}function y1(K1){this._childLevel=(K1._childLevel|0)+1,this.bindings=K2,G1&&(this.serializers=G1,this._serialize=V2),T&&(this._logEvent=O([].concat(K1._logEvent.bindings,K2)))}y1.prototype=this;const i3=new y1(this);return C(this,i3),i3.level=this.level,i3}return H}function p(W){const T=W.customLevels||{},j=Object.assign({},g.levels.values,T),$=Object.assign({},g.levels.labels,m(T));return{values:j,labels:$}}function m(W){const T={};return Object.keys(W).forEach(function(j){T[W[j]]=j}),T}g.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},g.stdSerializers=n,g.stdTimeFunctions=Object.assign({},{nullTime:f2,epochTime:c2,unixTime:h2,isoTime:b2});function v(W){const T=[];W.bindings&&T.push(W.bindings);let j=W[L];for(;j.parent;)j=j.parent,j.logger.bindings&&T.push(j.logger.bindings);return T.reverse()}function b(W,T,j,$){if(Object.defineProperty(W,$,{value:s(W.level,j)>s($,j)?o2:j[l][$],writable:!0,enumerable:!0,configurable:!0}),!T.transmit&&W[$]===o2)return;W[$]=k(W,T,j,$);const l2=v(W);l2.length!==0&&(W[$]=A(l2,W[$]))}function A(W,T){return function(){return T.apply(this,[...W,...arguments])}}function k(W,T,j,$){return(function(l2){return function(){const Z=T.timestamp(),F=new Array(arguments.length),E=Object.getPrototypeOf&&Object.getPrototypeOf(this)===e?e:this;for(var H=0;H<F.length;H++)F[H]=arguments[H];if(T.serialize&&!T.asObject&&N(F,this._serialize,this.serializers,this._stdErrSerialize),T.asObject||T.formatters?l2.call(E,S(this,$,F,Z,T.formatters)):l2.apply(E,F),T.transmit){const K=T.transmit.level||W._level,m2=j.levels.values[K],p2=j.levels.values[$];if(p2<m2)return;I(this,{ts:Z,methodLevel:$,methodValue:p2,transmitValue:j.levels.values[T.transmit.level||W._level],send:T.transmit.send,val:s(W._level,j)},F)}}})(W[l][$])}function S(W,T,j,$,l2={}){const{level:g2=()=>W.levels.values[T],log:Z=p2=>p2}=l2;W._serialize&&N(j,W._serialize,W.serializers,W._stdErrSerialize);const F=j.slice();let E=F[0];const H={};$&&(H.time=$),H.level=g2(T,W.levels.values[T]);let K=(W._childLevel|0)+1;if(K<1&&(K=1),E!==null&&typeof E=="object"){for(;K--&&typeof F[0]=="object";)Object.assign(H,F.shift());E=F.length?t(F.shift(),F):void 0}else typeof E=="string"&&(E=t(F.shift(),F));return E!==void 0&&(H.msg=E),Z(H)}function N(W,T,j,$){for(const l2 in W)if($&&W[l2]instanceof Error)W[l2]=g.stdSerializers.err(W[l2]);else if(typeof W[l2]=="object"&&!Array.isArray(W[l2]))for(const g2 in W[l2])T&&T.indexOf(g2)>-1&&g2 in j&&(W[l2][g2]=j[g2](W[l2][g2]))}function I(W,T,j){const $=T.send,l2=T.ts,g2=T.methodLevel,Z=T.methodValue,F=T.val,E=W._logEvent.bindings;N(j,W._serialize||Object.keys(W.serializers),W.serializers,W._stdErrSerialize===void 0?!0:W._stdErrSerialize),W._logEvent.ts=l2,W._logEvent.messages=j.filter(function(H){return E.indexOf(H)===-1}),W._logEvent.level.label=g2,W._logEvent.level.value=Z,$(g2,W._logEvent,F),W._logEvent=O(E)}function O(W){return{ts:0,messages:[],bindings:W||[],level:{label:"",value:0}}}function B(W){const T={type:W.constructor.name,msg:W.message,stack:W.stack};for(const j in W)T[j]===void 0&&(T[j]=W[j]);return T}function P(W){return typeof W.timestamp=="function"?W.timestamp:W.timestamp===!1?f2:c2}function Y(){return{}}function n2(W){return W}function o2(){}function f2(){return!1}function c2(){return Date.now()}function h2(){return Math.round(Date.now()/1e3)}function b2(){return new Date(Date.now()).toISOString()}function V(){function W(T){return typeof T<"u"&&T}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return W(self)||W(window)||W(this)||{}}}return r6.exports.default=g,r6.exports.pino=g,r6.exports}var Qp=Xp();const Kp=j4(Qp)({level:"warn"}),xa=["log","trace","debug","info","warn","error"];function Jp(t,e){const n=e in console?console[e]:console.log;t[e]=n.bind(console)}function em(t,e,n){const s=e in console?console[e]:console.log;t[e]=s.bind(console,n[0],n[1])}function tm(t){xa.forEach(n=>Jp(t,n));const e=t.child;return t.child=function(n){const s=e.call(t,n);return xa.forEach(l=>em(s,l,["%c"+(n.name||""),"color: #00f"])),s},t}const a3=tm(Kp),B9={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_APP_GIT_BRANCH:"main",VITE_APP_GIT_HASH:"9010c4b6"};function wa(t){return"init"in t}function Xn(t){return!!t.write}function va(t){return"v"in t||"e"in t}function ne(t){if("e"in t)throw t.e;if((B9?"production":void 0)!=="production"&&!("v"in t))throw new Error("[Bug] atom state is not initialized");return t.v}const ie=new WeakMap;function Ma(t){var e;return se(t)&&!!((e=ie.get(t))!=null&&e[0])}function nm(t){const e=ie.get(t);e!=null&&e[0]&&(e[0]=!1,e[1].forEach(n=>n()))}function Qn(t,e){let n=ie.get(t);if(!n){n=[!0,new Set],ie.set(t,n);const s=()=>{n[0]=!1};t.then(s,s)}n[1].add(e)}function se(t){return typeof(t==null?void 0:t.then)=="function"}function _a(t,e,n){if(!n.p.has(t)){n.p.add(t);const s=()=>n.p.delete(t);e.then(s,s)}}function ya(t,e,n){var s;const l=new Set;for(const L of((s=n.get(t))==null?void 0:s.t)||[])l.add(L);for(const L of e.p)l.add(L);return l}const im=(t,e,...n)=>e.read(...n),sm=(t,e,...n)=>e.write(...n),om=(t,e)=>{if(e.INTERNAL_onInit)return e.INTERNAL_onInit(t);if(e.unstable_onInit)return console.warn("[DEPRECATED] atom.unstable_onInit is renamed to atom.INTERNAL_onInit."),e.unstable_onInit(t)},lm=(t,e,n)=>{var s;return(s=e.onMount)==null?void 0:s.call(e,n)},rm=(t,e)=>{var n;const s=$3(t),l=s[0],L=s[6],c=s[9];if((B9?"production":void 0)!=="production"&&!e)throw new Error("Atom is undefined or null");let C=l.get(e);return C||(C={d:new Map,p:new Set,n:0},l.set(e,C),(n=L.i)==null||n.call(L,e),c==null||c(t,e)),C},am=t=>{const e=$3(t),n=e[1],s=e[3],l=e[4],L=e[5],c=e[6],C=e[13],d=[],f=g=>{try{g()}catch(p){d.push(p)}};do{c.f&&f(c.f);const g=new Set,p=g.add.bind(g);s.forEach(m=>{var v;return(v=n.get(m))==null?void 0:v.l.forEach(p)}),s.clear(),L.forEach(p),L.clear(),l.forEach(p),l.clear(),g.forEach(f),s.size&&C(t)}while(s.size||L.size||l.size);if(d.length)throw new AggregateError(d)},Lm=t=>{const e=$3(t),n=e[1],s=e[2],l=e[3],L=e[11],c=e[14],C=e[17],d=[],f=new WeakSet,g=new WeakSet,p=Array.from(l);for(;p.length;){const m=p[p.length-1],v=L(t,m);if(g.has(m)){p.pop();continue}if(f.has(m)){if(s.get(m)===v.n)d.push([m,v]);else if((B9?"production":void 0)!=="production"&&s.has(m))throw new Error("[Bug] invalidated atom exists");g.add(m),p.pop();continue}f.add(m);for(const b of ya(m,v,n))f.has(b)||p.push(b)}for(let m=d.length-1;m>=0;--m){const[v,b]=d[m];let A=!1;for(const k of b.d.keys())if(k!==v&&l.has(k)){A=!0;break}A&&(c(t,v),C(t,v)),s.delete(v)}},Kn=new WeakSet,cm=(t,e)=>{var n,s;const l=$3(t),L=l[1],c=l[2],C=l[3],d=l[6],f=l[7],g=l[11],p=l[12],m=l[13],v=l[14],b=l[16],A=l[17],k=l[20],S=g(t,e);if(va(S)){if(L.has(e)&&c.get(e)!==S.n)return S;let o2=!1;for(const[f2,c2]of S.d)if(v(t,f2).n!==c2){o2=!0;break}if(!o2)return S}S.d.clear();let N=!0;function I(){L.has(e)&&(A(t,e),m(t),p(t))}function O(o2){var f2;if(o2===e){const h2=g(t,o2);if(!va(h2))if(wa(o2))k(t,o2,o2.init);else throw new Error("no atom init");return ne(h2)}const c2=v(t,o2);try{return ne(c2)}finally{S.d.set(o2,c2.n),Ma(S.v)&&_a(e,S.v,c2),L.has(e)&&((f2=L.get(o2))==null||f2.t.add(e)),N||I()}}let B,P;const Y={get signal(){return B||(B=new AbortController),B.signal},get setSelf(){return(B9?"production":void 0)!=="production"&&!Xn(e)&&console.warn("setSelf function cannot be used with read-only atom"),!P&&Xn(e)&&(P=(...o2)=>{if((B9?"production":void 0)!=="production"&&N&&console.warn("setSelf function cannot be called in sync"),!N)try{return b(t,e,...o2)}finally{m(t),p(t)}}),P}},n2=S.n;try{(B9?"production":void 0)!=="production"&&Kn.delete(t);const o2=f(t,e,O,Y);return(B9?"production":void 0)!=="production"&&Kn.has(t)&&console.warn("Detected store mutation during atom read. This is not supported."),k(t,e,o2),se(o2)&&(Qn(o2,()=>B==null?void 0:B.abort()),o2.then(I,I)),(n=d.r)==null||n.call(d,e),S}catch(o2){return delete S.v,S.e=o2,++S.n,S}finally{N=!1,n2!==S.n&&c.get(e)===n2&&(c.set(e,S.n),C.add(e),(s=d.c)==null||s.call(d,e))}},Cm=(t,e)=>{const n=$3(t),s=n[1],l=n[2],L=n[11],c=[e];for(;c.length;){const C=c.pop(),d=L(t,C);for(const f of ya(C,d,s)){const g=L(t,f);l.set(f,g.n),c.push(f)}}},um=(t,e,...n)=>{const s=$3(t),l=s[3],L=s[6],c=s[8],C=s[11],d=s[12],f=s[13],g=s[14],p=s[15],m=s[16],v=s[17],b=s[20];let A=!0;const k=N=>ne(g(t,N)),S=(N,...I)=>{var O;const B=C(t,N);try{if(N===e){if(!wa(N))throw new Error("atom not writable");(B9?"production":void 0)!=="production"&&Kn.add(t);const P=B.n,Y=I[0];b(t,N,Y),v(t,N),P!==B.n&&(l.add(N),p(t,N),(O=L.c)==null||O.call(L,N));return}else return m(t,N,...I)}finally{A||(f(t),d(t))}};try{return c(t,e,k,S,...n)}finally{A=!1}},dm=(t,e)=>{var n;const s=$3(t),l=s[1],L=s[3],c=s[6],C=s[11],d=s[15],f=s[18],g=s[19],p=C(t,e),m=l.get(e);if(m&&!Ma(p.v)){for(const[v,b]of p.d)if(!m.d.has(v)){const A=C(t,v);f(t,v).t.add(e),m.d.add(v),b!==A.n&&(L.add(v),d(t,v),(n=c.c)==null||n.call(c,v))}for(const v of m.d)if(!p.d.has(v)){m.d.delete(v);const b=g(t,v);b==null||b.t.delete(e)}}},hm=(t,e)=>{var n;const s=$3(t),l=s[1],L=s[4],c=s[6],C=s[10],d=s[11],f=s[12],g=s[13],p=s[14],m=s[16],v=s[18],b=d(t,e);let A=l.get(e);if(!A){p(t,e);for(const k of b.d.keys())v(t,k).t.add(e);if(A={l:new Set,d:new Set(b.d.keys()),t:new Set},l.set(e,A),Xn(e)){const k=()=>{let S=!0;const N=(...I)=>{try{return m(t,e,...I)}finally{S||(g(t),f(t))}};try{const I=C(t,e,N);I&&(A.u=()=>{S=!0;try{I()}finally{S=!1}})}finally{S=!1}};L.add(k)}(n=c.m)==null||n.call(c,e)}return A},fm=(t,e)=>{var n,s;const l=$3(t),L=l[1],c=l[5],C=l[6],d=l[11],f=l[19],g=d(t,e);let p=L.get(e);if(!p||p.l.size)return p;let m=!1;for(const v of p.t)if((n=L.get(v))!=null&&n.d.has(e)){m=!0;break}if(!m){p.u&&c.add(p.u),p=void 0,L.delete(e);for(const v of g.d.keys()){const b=f(t,v);b==null||b.t.delete(e)}(s=C.u)==null||s.call(C,e);return}return p},gm=(t,e,n)=>{const s=$3(t)[11],l=s(t,e),L="v"in l,c=l.v;if(se(n))for(const C of l.d.keys())_a(e,n,s(t,C));l.v=n,delete l.e,(!L||!Object.is(c,l.v))&&(++l.n,se(c)&&nm(c))},pm=(t,e)=>{const n=$3(t)[14];return ne(n(t,e))},mm=(t,e,...n)=>{const s=$3(t),l=s[12],L=s[13],c=s[16];try{return c(t,e,...n)}finally{L(t),l(t)}},xm=(t,e,n)=>{const s=$3(t),l=s[12],L=s[18],c=s[19],d=L(t,e).l;return d.add(n),l(t),()=>{d.delete(n),c(t,e),l(t)}},Ra=new WeakMap,$3=t=>{const e=Ra.get(t);if((B9?"production":void 0)!=="production"&&!e)throw new Error("Store must be created by buildStore to read its building blocks");return e};function wm(...t){const e={get(s){const l=$3(e)[21];return l(e,s)},set(s,...l){const L=$3(e)[22];return L(e,s,...l)},sub(s,l){const L=$3(e)[23];return L(e,s,l)}},n=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},im,sm,om,lm,rm,am,Lm,cm,Cm,um,dm,hm,fm,gm,pm,mm,xm,void 0].map((s,l)=>t[l]||s);return Ra.set(e,Object.freeze(n)),e}const ba={};let vm=0;function t3(t,e){const n=`atom${++vm}`,s={toString(){return(ba?"production":void 0)!=="production"&&this.debugLabel?n+":"+this.debugLabel:n}};return typeof t=="function"?s.read=t:(s.init=t,s.read=Mm,s.write=_m),e&&(s.write=e),s}function Mm(t){return t(this)}function _m(t,e,n){return e(this,typeof n=="function"?n(t(this)):n)}function Jn(){return wm()}let a6;function ym(){return a6||(a6=Jn(),(ba?"production":void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=a6),globalThis.__JOTAI_DEFAULT_STORE__!==a6&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),a6}var ei={exports:{}},n1={};/**
11
11
  * @license React
12
12
  * react.production.js
13
13
  *
@@ -15,19 +15,19 @@
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var Aa;function Rm(){if(Aa)return n1;Aa=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),c=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),m=Symbol.iterator;function v(Z){return Z===null||typeof Z!="object"?null:(Z=m&&Z[m]||Z["@@iterator"],typeof Z=="function"?Z:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,k={};function S(Z,F,E){this.props=Z,this.context=F,this.refs=k,this.updater=E||b}S.prototype.isReactComponent={},S.prototype.setState=function(Z,F){if(typeof Z!="object"&&typeof Z!="function"&&Z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,Z,F,"setState")},S.prototype.forceUpdate=function(Z){this.updater.enqueueForceUpdate(this,Z,"forceUpdate")};function N(){}N.prototype=S.prototype;function I(Z,F,E){this.props=Z,this.context=F,this.refs=k,this.updater=E||b}var O=I.prototype=new N;O.constructor=I,A(O,S.prototype),O.isPureReactComponent=!0;var B=Array.isArray;function P(){}var Y={H:null,A:null,T:null,S:null},n2=Object.prototype.hasOwnProperty;function l2(Z,F,E){var U=E.ref;return{$$typeof:t,type:Z,key:F,ref:U!==void 0?U:null,props:E}}function f2(Z,F){return l2(Z.type,F,Z.props)}function c2(Z){return typeof Z=="object"&&Z!==null&&Z.$$typeof===t}function h2(Z){var F={"=":"=0",":":"=2"};return"$"+Z.replace(/[=:]/g,function(E){return F[E]})}var b2=/\/+/g;function V(Z,F){return typeof Z=="object"&&Z!==null&&Z.key!=null?h2(""+Z.key):F.toString(36)}function W(Z){switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw Z.reason;default:switch(typeof Z.status=="string"?Z.then(P,P):(Z.status="pending",Z.then(function(F){Z.status==="pending"&&(Z.status="fulfilled",Z.value=F)},function(F){Z.status==="pending"&&(Z.status="rejected",Z.reason=F)})),Z.status){case"fulfilled":return Z.value;case"rejected":throw Z.reason}}throw Z}function T(Z,F,E,U,K){var m2=typeof Z;(m2==="undefined"||m2==="boolean")&&(Z=null);var p2=!1;if(Z===null)p2=!0;else switch(m2){case"bigint":case"string":case"number":p2=!0;break;case"object":switch(Z.$$typeof){case t:case e:p2=!0;break;case g:return p2=Z._init,T(p2(Z._payload),F,E,U,K)}}if(p2)return K=K(Z),p2=U===""?"."+V(Z,0):U,B(K)?(E="",p2!=null&&(E=p2.replace(b2,"$&/")+"/"),T(K,F,E,"",function(K2){return K2})):K!=null&&(c2(K)&&(K=f2(K,E+(K.key==null||Z&&Z.key===K.key?"":(""+K.key).replace(b2,"$&/")+"/")+p2)),F.push(K)),1;p2=0;var N2=U===""?".":U+":";if(B(Z))for(var P2=0;P2<Z.length;P2++)U=Z[P2],m2=N2+V(U,P2),p2+=T(U,F,E,m2,K);else if(P2=v(Z),typeof P2=="function")for(Z=P2.call(Z),P2=0;!(U=Z.next()).done;)U=U.value,m2=N2+V(U,P2++),p2+=T(U,F,E,m2,K);else if(m2==="object"){if(typeof Z.then=="function")return T(W(Z),F,E,U,K);throw F=String(Z),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return p2}function j(Z,F,E){if(Z==null)return Z;var U=[],K=0;return T(Z,U,"","",function(m2){return F.call(E,m2,K++)}),U}function $(Z){if(Z._status===-1){var F=Z._result;F=F(),F.then(function(E){(Z._status===0||Z._status===-1)&&(Z._status=1,Z._result=E)},function(E){(Z._status===0||Z._status===-1)&&(Z._status=2,Z._result=E)}),Z._status===-1&&(Z._status=0,Z._result=F)}if(Z._status===1)return Z._result.default;throw Z._result}var o2=typeof reportError=="function"?reportError:function(Z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var F=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Z=="object"&&Z!==null&&typeof Z.message=="string"?String(Z.message):String(Z),error:Z});if(!window.dispatchEvent(F))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",Z);return}console.error(Z)},g2={map:j,forEach:function(Z,F,E){j(Z,function(){F.apply(this,arguments)},E)},count:function(Z){var F=0;return j(Z,function(){F++}),F},toArray:function(Z){return j(Z,function(F){return F})||[]},only:function(Z){if(!c2(Z))throw Error("React.Children.only expected to receive a single React element child.");return Z}};return n1.Activity=p,n1.Children=g2,n1.Component=S,n1.Fragment=n,n1.Profiler=l,n1.PureComponent=I,n1.StrictMode=s,n1.Suspense=d,n1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y,n1.__COMPILER_RUNTIME={__proto__:null,c:function(Z){return Y.H.useMemoCache(Z)}},n1.cache=function(Z){return function(){return Z.apply(null,arguments)}},n1.cacheSignal=function(){return null},n1.cloneElement=function(Z,F,E){if(Z==null)throw Error("The argument must be a React element, but you passed "+Z+".");var U=A({},Z.props),K=Z.key;if(F!=null)for(m2 in F.key!==void 0&&(K=""+F.key),F)!n2.call(F,m2)||m2==="key"||m2==="__self"||m2==="__source"||m2==="ref"&&F.ref===void 0||(U[m2]=F[m2]);var m2=arguments.length-2;if(m2===1)U.children=E;else if(1<m2){for(var p2=Array(m2),N2=0;N2<m2;N2++)p2[N2]=arguments[N2+2];U.children=p2}return l2(Z.type,K,U)},n1.createContext=function(Z){return Z={$$typeof:c,_currentValue:Z,_currentValue2:Z,_threadCount:0,Provider:null,Consumer:null},Z.Provider=Z,Z.Consumer={$$typeof:L,_context:Z},Z},n1.createElement=function(Z,F,E){var U,K={},m2=null;if(F!=null)for(U in F.key!==void 0&&(m2=""+F.key),F)n2.call(F,U)&&U!=="key"&&U!=="__self"&&U!=="__source"&&(K[U]=F[U]);var p2=arguments.length-2;if(p2===1)K.children=E;else if(1<p2){for(var N2=Array(p2),P2=0;P2<p2;P2++)N2[P2]=arguments[P2+2];K.children=N2}if(Z&&Z.defaultProps)for(U in p2=Z.defaultProps,p2)K[U]===void 0&&(K[U]=p2[U]);return l2(Z,m2,K)},n1.createRef=function(){return{current:null}},n1.forwardRef=function(Z){return{$$typeof:C,render:Z}},n1.isValidElement=c2,n1.lazy=function(Z){return{$$typeof:g,_payload:{_status:-1,_result:Z},_init:$}},n1.memo=function(Z,F){return{$$typeof:f,type:Z,compare:F===void 0?null:F}},n1.startTransition=function(Z){var F=Y.T,E={};Y.T=E;try{var U=Z(),K=Y.S;K!==null&&K(E,U),typeof U=="object"&&U!==null&&typeof U.then=="function"&&U.then(P,o2)}catch(m2){o2(m2)}finally{F!==null&&E.types!==null&&(F.types=E.types),Y.T=F}},n1.unstable_useCacheRefresh=function(){return Y.H.useCacheRefresh()},n1.use=function(Z){return Y.H.use(Z)},n1.useActionState=function(Z,F,E){return Y.H.useActionState(Z,F,E)},n1.useCallback=function(Z,F){return Y.H.useCallback(Z,F)},n1.useContext=function(Z){return Y.H.useContext(Z)},n1.useDebugValue=function(){},n1.useDeferredValue=function(Z,F){return Y.H.useDeferredValue(Z,F)},n1.useEffect=function(Z,F){return Y.H.useEffect(Z,F)},n1.useEffectEvent=function(Z){return Y.H.useEffectEvent(Z)},n1.useId=function(){return Y.H.useId()},n1.useImperativeHandle=function(Z,F,E){return Y.H.useImperativeHandle(Z,F,E)},n1.useInsertionEffect=function(Z,F){return Y.H.useInsertionEffect(Z,F)},n1.useLayoutEffect=function(Z,F){return Y.H.useLayoutEffect(Z,F)},n1.useMemo=function(Z,F){return Y.H.useMemo(Z,F)},n1.useOptimistic=function(Z,F){return Y.H.useOptimistic(Z,F)},n1.useReducer=function(Z,F,E){return Y.H.useReducer(Z,F,E)},n1.useRef=function(Z){return Y.H.useRef(Z)},n1.useState=function(Z){return Y.H.useState(Z)},n1.useSyncExternalStore=function(Z,F,E){return Y.H.useSyncExternalStore(Z,F,E)},n1.useTransition=function(){return Y.H.useTransition()},n1.version="19.2.3",n1}var Sa;function oe(){return Sa||(Sa=1,ei.exports=Rm()),ei.exports}var y=oe();const k2=j4(y),le=A4({__proto__:null,default:k2},[y]),bm={},ti=y.createContext(void 0);function ni(t){return y.useContext(ti)||ym()}function Am({children:t,store:e}){const n=y.useRef(null);return e?y.createElement(ti.Provider,{value:e},t):(n.current===null&&(n.current=Jn()),y.createElement(ti.Provider,{value:n.current},t))}const ii=t=>typeof(t==null?void 0:t.then)=="function",si=t=>{t.status||(t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}))},Sm=k2.use||(t=>{if(t.status==="pending")throw t;if(t.status==="fulfilled")return t.value;throw t.status==="rejected"?t.reason:(si(t),t)}),oi=new WeakMap,ka=(t,e)=>{let n=oi.get(t);return n||(n=new Promise((s,l)=>{let L=t;const c=f=>g=>{L===f&&s(g)},C=f=>g=>{L===f&&l(g)},d=()=>{try{const f=e();ii(f)?(oi.set(f,n),L=f,f.then(c(f),C(f)),Qn(f,d)):s(f)}catch(f){l(f)}};t.then(c(t),C(t)),Qn(t,d)}),oi.set(t,n)),n};function X2(t,e){const{delay:n,unstable_promiseStatus:s=!k2.use}={},l=ni(),[[L,c,C],d]=y.useReducer(g=>{const p=l.get(t);return Object.is(g[0],p)&&g[1]===l&&g[2]===t?g:[p,l,t]},void 0,()=>[l.get(t),l,t]);let f=L;if((c!==l||C!==t)&&(d(),f=l.get(t)),y.useEffect(()=>{const g=l.sub(t,()=>{if(s)try{const p=l.get(t);ii(p)&&si(ka(p,()=>l.get(t)))}catch{}if(typeof n=="number"){setTimeout(d,n);return}d()});return d(),g},[l,t,n,s]),y.useDebugValue(f),ii(f)){const g=ka(f,()=>l.get(t));return s&&si(g),Sm(g)}return f}function Q5(t,e){const n=ni();return y.useCallback((...l)=>{if((bm?"production":void 0)!=="production"&&!("write"in t))throw new Error("not writable atom");return n.set(t,...l)},[n,t])}function r9(t,e){return[X2(t),Q5(t)]}const Za=(t,e)=>{const s=t3((()=>{const L=localStorage.getItem(t);return L!==null?JSON.parse(L):e})());return t3(L=>L(s),(L,c,C)=>{const d=typeof C=="function"?C(L(s)):C;c(s,d),localStorage.setItem(t,JSON.stringify(d))})},L6=t=>{const e=t3({fn:t});return t3(s=>s(e).fn,(s,l,L)=>{l(e,{fn:L})})};String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const t=this.toString();let e,n;const s=t.length&3,l=t.length-s;let L=String.prototype.seed;const c=3432918353,C=461845907;let d=0;for(;d<l;)n=t.charCodeAt(d)&255|(t.charCodeAt(++d)&255)<<8|(t.charCodeAt(++d)&255)<<16|(t.charCodeAt(++d)&255)<<24,++d,n=(n&65535)*c+(((n>>>16)*c&65535)<<16)&4294967295,n=n<<15|n>>>17,n=(n&65535)*C+(((n>>>16)*C&65535)<<16)&4294967295,L^=n,L=L<<13|L>>>19,e=(L&65535)*5+(((L>>>16)*5&65535)<<16)&4294967295,L=(e&65535)+27492+(((e>>>16)+58964&65535)<<16);switch(n=0,s){case 3:n^=(t.charCodeAt(d+2)&255)<<16;case 2:n^=(t.charCodeAt(d+1)&255)<<8;case 1:n^=t.charCodeAt(d)&255,n=(n&65535)*c+(((n>>>16)*c&65535)<<16)&4294967295,n=n<<15|n>>>17,n=(n&65535)*C+(((n>>>16)*C&65535)<<16)&4294967295,L^=n}return L^=t.length,L^=L>>>16,L=(L&65535)*2246822507+(((L>>>16)*2246822507&65535)<<16)&4294967295,L^=L>>>13,L=(L&65535)*3266489909+(((L>>>16)*3266489909&65535)<<16)&4294967295,L^=L>>>16,L>>>0};/*! https://mths.be/codepointat v0.2.0 by @mathias */String.prototype.codePointAt||(function(){var t=(function(){let n;try{const s={},l=Object.defineProperty;n=l(s,s,s)&&l}catch{}return n})();const e=function(n){if(this==null)throw TypeError();const s=String(this),l=s.length;let L=n?Number(n):0;if(L!==L&&(L=0),L<0||L>=l)return;const c=s.charCodeAt(L);let C;return c>=55296&&c<=56319&&l>L+1&&(C=s.charCodeAt(L+1),C>=56320&&C<=57343)?(c-55296)*1024+C-56320+65536:c};t?t(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e})();/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */String.fromCodePoint||(function(){const t=(function(){let l;try{const L={},c=Object.defineProperty;l=c(L,L,L)&&c}catch{}return l})(),e=String.fromCharCode,n=Math.floor,s=function(l){const c=[];let C,d,f=-1;const g=arguments.length;if(!g)return"";let p="";for(;++f<g;){let m=Number(arguments[f]);if(!isFinite(m)||m<0||m>1114111||n(m)!==m)throw RangeError("Invalid code point: "+m);m<=65535?c.push(m):(m-=65536,C=(m>>10)+55296,d=m%1024+56320,c.push(C,d)),(f+1===g||c.length>16384)&&(p+=e.apply(null,c),c.length=0)}return p};t?t(String,"fromCodePoint",{value:s,configurable:!0,writable:!0}):String.fromCodePoint=s})();class w2{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(e){this._text=e}}w2.INVALID_TYPE=0,w2.EPSILON=-2,w2.MIN_USER_TOKEN_TYPE=1,w2.EOF=-1,w2.DEFAULT_CHANNEL=0,w2.HIDDEN_CHANNEL=1;function K5(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t===e)return!0;if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n]&&(!t[n].equals||!t[n].equals(e[n])))return!1;return!0}class S4{constructor(){this.count=0,this.hash=0}update(){for(let e=0;e<arguments.length;e++){const n=arguments[e];if(n!=null)if(Array.isArray(n))this.update.apply(this,n);else{let s=0;switch(typeof n){case"undefined":case"function":continue;case"number":case"boolean":s=n;break;case"string":s=n.hashCode();break;default:n.updateHashCode?n.updateHashCode(this):console.log("No updateHashCode for "+n.toString());continue}s=s*3432918353,s=s<<15|s>>>17,s=s*461845907,this.count=this.count+1;let l=this.hash^s;l=l<<13|l>>>19,l=l*5+3864292196,this.hash=l}}}finish(){let e=this.hash^this.count*4;return e=e^e>>>16,e=e*2246822507,e=e^e>>>13,e=e*3266489909,e=e^e>>>16,e}static hashStuff(){const e=new S4;return e.update.apply(e,arguments),e.finish()}}function Ta(t){return t?t.hashCode():-1}function Ea(t,e){return t?t.equals(e):t===e}function km(t){return t===null?"null":t}function m0(t){return Array.isArray(t)?"["+t.map(km).join(", ")+"]":"null"}const re="h-";class k4{constructor(e,n){this.data={},this.hashFunction=e||Ta,this.equalsFunction=n||Ea}add(e){const n=re+this.hashFunction(e);if(n in this.data){const s=this.data[n];for(let l=0;l<s.length;l++)if(this.equalsFunction(e,s[l]))return s[l];return s.push(e),e}else return this.data[n]=[e],e}has(e){return this.get(e)!=null}get(e){const n=re+this.hashFunction(e);if(n in this.data){const s=this.data[n];for(let l=0;l<s.length;l++)if(this.equalsFunction(e,s[l]))return s[l]}return null}values(){return Object.keys(this.data).filter(e=>e.startsWith(re)).flatMap(e=>this.data[e],this)}toString(){return m0(this.values())}get length(){return Object.keys(this.data).filter(e=>e.startsWith(re)).map(e=>this.data[e].length,this).reduce((e,n)=>e+n,0)}}class A1{hashCode(){const e=new S4;return this.updateHashCode(e),e.finish()}evaluate(e,n){}evalPrecedence(e,n){return this}static andContext(e,n){if(e===null||e===A1.NONE)return n;if(n===null||n===A1.NONE)return e;const s=new c6(e,n);return s.opnds.length===1?s.opnds[0]:s}static orContext(e,n){if(e===null)return n;if(n===null)return e;if(e===A1.NONE||n===A1.NONE)return A1.NONE;const s=new C6(e,n);return s.opnds.length===1?s.opnds[0]:s}}class c6 extends A1{constructor(e,n){super();const s=new k4;e instanceof c6?e.opnds.map(function(L){s.add(L)}):s.add(e),n instanceof c6?n.opnds.map(function(L){s.add(L)}):s.add(n);const l=Ia(s);if(l.length>0){let L=null;l.map(function(c){(L===null||c.precedence<L.precedence)&&(L=c)}),s.add(L)}this.opnds=Array.from(s.values())}equals(e){return this===e?!0:e instanceof c6?K5(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"AND")}evaluate(e,n){for(let s=0;s<this.opnds.length;s++)if(!this.opnds[s].evaluate(e,n))return!1;return!0}evalPrecedence(e,n){let s=!1;const l=[];for(let c=0;c<this.opnds.length;c++){const C=this.opnds[c],d=C.evalPrecedence(e,n);if(s|=d!==C,d===null)return null;d!==A1.NONE&&l.push(d)}if(!s)return this;if(l.length===0)return A1.NONE;let L=null;return l.map(function(c){L=L===null?c:A1.andContext(L,c)}),L}toString(){const e=this.opnds.map(n=>n.toString());return(e.length>3?e.slice(3):e).join("&&")}}class C6 extends A1{constructor(e,n){super();const s=new k4;e instanceof C6?e.opnds.map(function(L){s.add(L)}):s.add(e),n instanceof C6?n.opnds.map(function(L){s.add(L)}):s.add(n);const l=Ia(s);if(l.length>0){const L=l.sort(function(C,d){return C.compareTo(d)}),c=L[L.length-1];s.add(c)}this.opnds=Array.from(s.values())}equals(e){return this===e?!0:e instanceof C6?K5(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"OR")}evaluate(e,n){for(let s=0;s<this.opnds.length;s++)if(this.opnds[s].evaluate(e,n))return!0;return!1}evalPrecedence(e,n){let s=!1;const l=[];for(let c=0;c<this.opnds.length;c++){const C=this.opnds[c],d=C.evalPrecedence(e,n);if(s|=d!==C,d===A1.NONE)return A1.NONE;d!==null&&l.push(d)}return s?(l.length===0,null):this}toString(){const e=this.opnds.map(n=>n.toString());return(e.length>3?e.slice(3):e).join("||")}}function Ia(t){const e=[];return t.values().map(function(n){n instanceof A1.PrecedencePredicate&&e.push(n)}),e}function za(t,e){if(t===null){const n={state:null,alt:null,context:null,semanticContext:null};return e&&(n.reachesIntoOuterContext=0),n}else{const n={};return n.state=t.state||null,n.alt=t.alt===void 0?null:t.alt,n.context=t.context||null,n.semanticContext=t.semanticContext||null,e&&(n.reachesIntoOuterContext=t.reachesIntoOuterContext||0,n.precedenceFilterSuppressed=t.precedenceFilterSuppressed||!1),n}}class L3{constructor(e,n){this.checkContext(e,n),e=za(e),n=za(n,!0),this.state=e.state!==null?e.state:n.state,this.alt=e.alt!==null?e.alt:n.alt,this.context=e.context!==null?e.context:n.context,this.semanticContext=e.semanticContext!==null?e.semanticContext:n.semanticContext!==null?n.semanticContext:A1.NONE,this.reachesIntoOuterContext=n.reachesIntoOuterContext,this.precedenceFilterSuppressed=n.precedenceFilterSuppressed}checkContext(e,n){(e.context===null||e.context===void 0)&&(n===null||n.context===null||n.context===void 0)&&(this.context=null)}hashCode(){const e=new S4;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(e){return this===e?!0:e instanceof L3?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&(this.context===null?e.context===null:this.context.equals(e.context))&&this.semanticContext.equals(e.semanticContext)&&this.precedenceFilterSuppressed===e.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const e=new S4;return e.update(this.state.stateNumber,this.alt,this.semanticContext),e.finish()}equalsForConfigSet(e){return this===e?!0:e instanceof L3?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&this.semanticContext.equals(e.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==A1.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class S1{constructor(e,n){this.start=e,this.stop=n}clone(){return new S1(this.start,this.stop)}contains(e){return e>=this.start&&e<this.stop}toString(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}get length(){return this.stop-this.start}}S1.INVALID_INTERVAL=new S1(-1,-2);class $4{constructor(){this.intervals=null,this.readOnly=!1}first(e){return this.intervals===null||this.intervals.length===0?w2.INVALID_TYPE:this.intervals[0].start}addOne(e){this.addInterval(new S1(e,e+1))}addRange(e,n){this.addInterval(new S1(e,n+1))}addInterval(e){if(this.intervals===null)this.intervals=[],this.intervals.push(e.clone());else{for(let n=0;n<this.intervals.length;n++){const s=this.intervals[n];if(e.stop<s.start){this.intervals.splice(n,0,e);return}else if(e.stop===s.start){this.intervals[n]=new S1(e.start,s.stop);return}else if(e.start<=s.stop){this.intervals[n]=new S1(Math.min(s.start,e.start),Math.max(s.stop,e.stop)),this.reduce(n);return}}this.intervals.push(e.clone())}}addSet(e){return e.intervals!==null&&e.intervals.forEach(n=>this.addInterval(n),this),this}reduce(e){if(e<this.intervals.length-1){const n=this.intervals[e],s=this.intervals[e+1];n.stop>=s.stop?(this.intervals.splice(e+1,1),this.reduce(e)):n.stop>=s.start&&(this.intervals[e]=new S1(n.start,s.stop),this.intervals.splice(e+1,1))}}complement(e,n){const s=new $4;return s.addInterval(new S1(e,n+1)),this.intervals!==null&&this.intervals.forEach(l=>s.removeRange(l)),s}contains(e){if(this.intervals===null)return!1;for(let n=0;n<this.intervals.length;n++)if(this.intervals[n].contains(e))return!0;return!1}removeRange(e){if(e.start===e.stop-1)this.removeOne(e.start);else if(this.intervals!==null){let n=0;for(let s=0;s<this.intervals.length;s++){const l=this.intervals[n];if(e.stop<=l.start)return;if(e.start>l.start&&e.stop<l.stop){this.intervals[n]=new S1(l.start,e.start);const L=new S1(e.stop,l.stop);this.intervals.splice(n,0,L);return}else e.start<=l.start&&e.stop>=l.stop?(this.intervals.splice(n,1),n=n-1):e.start<l.stop?this.intervals[n]=new S1(l.start,e.start):e.stop<l.stop&&(this.intervals[n]=new S1(e.stop,l.stop));n+=1}}}removeOne(e){if(this.intervals!==null)for(let n=0;n<this.intervals.length;n++){const s=this.intervals[n];if(e<s.start)return;if(e===s.start&&e===s.stop-1){this.intervals.splice(n,1);return}else if(e===s.start){this.intervals[n]=new S1(s.start+1,s.stop);return}else if(e===s.stop-1){this.intervals[n]=new S1(s.start,s.stop-1);return}else if(e<s.stop-1){const l=new S1(s.start,e);s.start=e+1,this.intervals.splice(n,0,l);return}}}toString(e,n,s){return e=e||null,n=n||null,s=s||!1,this.intervals===null?"{}":e!==null||n!==null?this.toTokenString(e,n):s?this.toCharString():this.toIndexString()}toCharString(){const e=[];for(let n=0;n<this.intervals.length;n++){const s=this.intervals[n];s.stop===s.start+1?s.start===w2.EOF?e.push("<EOF>"):e.push("'"+String.fromCharCode(s.start)+"'"):e.push("'"+String.fromCharCode(s.start)+"'..'"+String.fromCharCode(s.stop-1)+"'")}return e.length>1?"{"+e.join(", ")+"}":e[0]}toIndexString(){const e=[];for(let n=0;n<this.intervals.length;n++){const s=this.intervals[n];s.stop===s.start+1?s.start===w2.EOF?e.push("<EOF>"):e.push(s.start.toString()):e.push(s.start.toString()+".."+(s.stop-1).toString())}return e.length>1?"{"+e.join(", ")+"}":e[0]}toTokenString(e,n){const s=[];for(let l=0;l<this.intervals.length;l++){const L=this.intervals[l];for(let c=L.start;c<L.stop;c++)s.push(this.elementName(e,n,c))}return s.length>1?"{"+s.join(", ")+"}":s[0]}elementName(e,n,s){return s===w2.EOF?"<EOF>":s===w2.EPSILON?"<EPSILON>":e[s]||n[s]}get length(){return this.intervals.map(e=>e.length).reduce((e,n)=>e+n)}}class z2{constructor(){this.atn=null,this.stateNumber=z2.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(e){return e instanceof z2?this.stateNumber===e.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(e,n){n===void 0&&(n=-1),this.transitions.length===0?this.epsilonOnlyTransitions=e.isEpsilon:this.epsilonOnlyTransitions!==e.isEpsilon&&(this.epsilonOnlyTransitions=!1),n===-1?this.transitions.push(e):this.transitions.splice(n,1,e)}}z2.INVALID_TYPE=0,z2.BASIC=1,z2.RULE_START=2,z2.BLOCK_START=3,z2.PLUS_BLOCK_START=4,z2.STAR_BLOCK_START=5,z2.TOKEN_START=6,z2.RULE_STOP=7,z2.BLOCK_END=8,z2.STAR_LOOP_BACK=9,z2.STAR_LOOP_ENTRY=10,z2.PLUS_LOOP_BACK=11,z2.LOOP_END=12,z2.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],z2.INVALID_STATE_NUMBER=-1;class t4 extends z2{constructor(){return super(),this.stateType=z2.RULE_STOP,this}}class A2{constructor(e){if(e==null)throw"target cannot be null.";this.target=e,this.isEpsilon=!1,this.label=null}}A2.EPSILON=1,A2.RANGE=2,A2.RULE=3,A2.PREDICATE=4,A2.ATOM=5,A2.ACTION=6,A2.SET=7,A2.NOT_SET=8,A2.WILDCARD=9,A2.PRECEDENCE=10,A2.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],A2.serializationTypes={EpsilonTransition:A2.EPSILON,RangeTransition:A2.RANGE,RuleTransition:A2.RULE,PredicateTransition:A2.PREDICATE,AtomTransition:A2.ATOM,ActionTransition:A2.ACTION,SetTransition:A2.SET,NotSetTransition:A2.NOT_SET,WildcardTransition:A2.WILDCARD,PrecedencePredicateTransition:A2.PRECEDENCE};class ae extends A2{constructor(e,n,s,l){super(e),this.ruleIndex=n,this.precedence=s,this.followState=l,this.serializationType=A2.RULE,this.isEpsilon=!0}matches(e,n,s){return!1}}class li extends A2{constructor(e,n){super(e),this.serializationType=A2.SET,n!=null?this.label=n:(this.label=new $4,this.label.addOne(w2.INVALID_TYPE))}matches(e,n,s){return this.label.contains(e)}toString(){return this.label.toString()}}class ri extends li{constructor(e,n){super(e,n),this.serializationType=A2.NOT_SET}matches(e,n,s){return e>=n&&e<=s&&!super.matches(e,n,s)}toString(){return"~"+super.toString()}}class Na extends A2{constructor(e){super(e),this.serializationType=A2.WILDCARD}matches(e,n,s){return e>=n&&e<=s}toString(){return"."}}class ai extends A2{constructor(e){super(e)}}class Zm{}class Tm extends Zm{}class Oa extends Tm{}class Le extends Oa{getRuleContext(){throw new Error("missing interface implementation")}}class U9 extends Oa{}class ce extends U9{}function Em(t,e){return t=t.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),t}const x9={toStringTree:function(t,e,n){e=e||null,n=n||null,n!==null&&(e=n.ruleNames);let s=x9.getNodeText(t,e);s=Em(s);const l=t.getChildCount();if(l===0)return s;let L="("+s+" ";l>0&&(s=x9.toStringTree(t.getChild(0),e),L=L.concat(s));for(let c=1;c<l;c++)s=x9.toStringTree(t.getChild(c),e),L=L.concat(" "+s);return L=L.concat(")"),L},getNodeText:function(t,e,n){if(e=e||null,n=n||null,n!==null&&(e=n.ruleNames),e!==null)if(t instanceof Le){const L=t.getRuleContext().getAltNumber();return L!=0?e[t.ruleIndex]+":"+L:e[t.ruleIndex]}else{if(t instanceof ce)return t.toString();if(t instanceof U9&&t.symbol!==null)return t.symbol.text}const s=t.getPayload();return s instanceof w2?s.text:t.getPayload().toString()},getChildren:function(t){const e=[];for(let n=0;n<t.getChildCount();n++)e.push(t.getChild(n));return e},getAncestors:function(t){let e=[];for(t=t.getParent();t!==null;)e=[t].concat(e),t=t.getParent();return e},findAllTokenNodes:function(t,e){return x9.findAllNodes(t,e,!0)},findAllRuleNodes:function(t,e){return x9.findAllNodes(t,e,!1)},findAllNodes:function(t,e,n){const s=[];return x9._findAllNodes(t,e,n,s),s},_findAllNodes:function(t,e,n,s){n&&t instanceof U9?t.symbol.type===e&&s.push(t):!n&&t instanceof Le&&t.ruleIndex===e&&s.push(t);for(let l=0;l<t.getChildCount();l++)x9._findAllNodes(t.getChild(l),e,n,s)},descendants:function(t){let e=[t];for(let n=0;n<t.getChildCount();n++)e=e.concat(x9.descendants(t.getChild(n)));return e}};class J5 extends Le{constructor(e,n){super(),this.parentCtx=e||null,this.invokingState=n||-1}depth(){let e=0,n=this;for(;n!==null;)n=n.parentCtx,e+=1;return e}isEmpty(){return this.invokingState===-1}getSourceInterval(){return S1.INVALID_INTERVAL}getRuleContext(){return this}getPayload(){return this}getText(){return this.getChildCount()===0?"":this.children.map(function(e){return e.getText()}).join("")}getAltNumber(){return 0}setAltNumber(e){}getChild(e){return null}getChildCount(){return 0}accept(e){return e.visitChildren(this)}toStringTree(e,n){return x9.toStringTree(this,e,n)}toString(e,n){e=e||null,n=n||null;let s=this,l="[";for(;s!==null&&s!==n;){if(e===null)s.isEmpty()||(l+=s.invokingState);else{const L=s.ruleIndex,c=L>=0&&L<e.length?e[L]:""+L;l+=c}s.parentCtx!==null&&(e!==null||!s.parentCtx.isEmpty())&&(l+=" "),s=s.parentCtx}return l+="]",l}}class a1{constructor(e){this.cachedHashCode=e}isEmpty(){return this===a1.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===a1.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(e){e.update(this.cachedHashCode)}}a1.EMPTY=null,a1.EMPTY_RETURN_STATE=2147483647,a1.globalNodeCount=1,a1.id=a1.globalNodeCount;class w9 extends a1{constructor(e,n){const s=new S4;s.update(e,n);const l=s.finish();return super(l),this.parents=e,this.returnStates=n,this}isEmpty(){return this.returnStates[0]===a1.EMPTY_RETURN_STATE}getParent(e){return this.parents[e]}getReturnState(e){return this.returnStates[e]}equals(e){return this===e?!0:e instanceof w9?this.hashCode()!==e.hashCode()?!1:K5(this.returnStates,e.returnStates)&&K5(this.parents,e.parents):!1}toString(){if(this.isEmpty())return"[]";{let e="[";for(let n=0;n<this.returnStates.length;n++){if(n>0&&(e=e+", "),this.returnStates[n]===a1.EMPTY_RETURN_STATE){e=e+"$";continue}e=e+this.returnStates[n],this.parents[n]!==null?e=e+" "+this.parents[n]:e=e+"null"}return e+"]"}}get length(){return this.returnStates.length}}class n4 extends a1{constructor(e,n){let s=0;const l=new S4;e!==null?l.update(e,n):l.update(1),s=l.finish(),super(s),this.parentCtx=e,this.returnState=n}getParent(e){return this.parentCtx}getReturnState(e){return this.returnState}equals(e){return this===e?!0:e instanceof n4?this.hashCode()!==e.hashCode()||this.returnState!==e.returnState?!1:this.parentCtx==null?e.parentCtx==null:this.parentCtx.equals(e.parentCtx):!1}toString(){const e=this.parentCtx===null?"":this.parentCtx.toString();return e.length===0?this.returnState===a1.EMPTY_RETURN_STATE?"$":""+this.returnState:""+this.returnState+" "+e}get length(){return 1}static create(e,n){return n===a1.EMPTY_RETURN_STATE&&e===null?a1.EMPTY:new n4(e,n)}}class Li extends n4{constructor(){super(null,a1.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(e){return null}getReturnState(e){return this.returnState}equals(e){return this===e}toString(){return"$"}}a1.EMPTY=new Li;const u6="h-";class d6{constructor(e,n){this.data={},this.hashFunction=e||Ta,this.equalsFunction=n||Ea}set(e,n){const s=u6+this.hashFunction(e);if(s in this.data){const l=this.data[s];for(let L=0;L<l.length;L++){const c=l[L];if(this.equalsFunction(e,c.key)){const C=c.value;return c.value=n,C}}return l.push({key:e,value:n}),n}else return this.data[s]=[{key:e,value:n}],n}containsKey(e){const n=u6+this.hashFunction(e);if(n in this.data){const s=this.data[n];for(let l=0;l<s.length;l++){const L=s[l];if(this.equalsFunction(e,L.key))return!0}}return!1}get(e){const n=u6+this.hashFunction(e);if(n in this.data){const s=this.data[n];for(let l=0;l<s.length;l++){const L=s[l];if(this.equalsFunction(e,L.key))return L.value}}return null}entries(){return Object.keys(this.data).filter(e=>e.startsWith(u6)).flatMap(e=>this.data[e],this)}getKeys(){return this.entries().map(e=>e.key)}getValues(){return this.entries().map(e=>e.value)}toString(){return"["+this.entries().map(n=>"{"+n.key+":"+n.value+"}").join(", ")+"]"}get length(){return Object.keys(this.data).filter(e=>e.startsWith(u6)).map(e=>this.data[e].length,this).reduce((e,n)=>e+n,0)}}function ci(t,e){if(e==null&&(e=J5.EMPTY),e.parentCtx===null||e===J5.EMPTY)return a1.EMPTY;const n=ci(t,e.parentCtx),l=t.states[e.invokingState].transitions[0];return n4.create(n,l.followState.stateNumber)}function Da(t,e,n){if(t.isEmpty())return t;let s=n.get(t)||null;if(s!==null)return s;if(s=e.get(t),s!==null)return n.set(t,s),s;let l=!1,L=[];for(let C=0;C<L.length;C++){const d=Da(t.getParent(C),e,n);if(l||d!==t.getParent(C)){if(!l){L=[];for(let f=0;f<t.length;f++)L[f]=t.getParent(f);l=!0}L[C]=d}}if(!l)return e.add(t),n.set(t,t),t;let c=null;return L.length===0?c=a1.EMPTY:L.length===1?c=n4.create(L[0],t.getReturnState(0)):c=new w9(L,t.returnStates),e.add(c),n.set(c,c),n.set(t,c),c}function Ci(t,e,n,s){if(t===e)return t;if(t instanceof n4&&e instanceof n4)return Nm(t,e,n,s);if(n){if(t instanceof Li)return t;if(e instanceof Li)return e}return t instanceof n4&&(t=new w9([t.getParent()],[t.returnState])),e instanceof n4&&(e=new w9([e.getParent()],[e.returnState])),Im(t,e,n,s)}function Im(t,e,n,s){if(s!==null){let g=s.get(t,e);if(g!==null||(g=s.get(e,t),g!==null))return g}let l=0,L=0,c=0,C=[],d=[];for(;l<t.returnStates.length&&L<e.returnStates.length;){const g=t.parents[l],p=e.parents[L];if(t.returnStates[l]===e.returnStates[L]){const m=t.returnStates[l];m===a1.EMPTY_RETURN_STATE&&g===null&&p===null||g!==null&&p!==null&&g===p?(d[c]=g,C[c]=m):(d[c]=Ci(g,p,n,s),C[c]=m),l+=1,L+=1}else t.returnStates[l]<e.returnStates[L]?(d[c]=g,C[c]=t.returnStates[l],l+=1):(d[c]=p,C[c]=e.returnStates[L],L+=1);c+=1}if(l<t.returnStates.length)for(let g=l;g<t.returnStates.length;g++)d[c]=t.parents[g],C[c]=t.returnStates[g],c+=1;else for(let g=L;g<e.returnStates.length;g++)d[c]=e.parents[g],C[c]=e.returnStates[g],c+=1;if(c<d.length){if(c===1){const g=n4.create(d[0],C[0]);return s!==null&&s.set(t,e,g),g}d=d.slice(0,c),C=C.slice(0,c)}const f=new w9(d,C);return f===t?(s!==null&&s.set(t,e,t),t):f===e?(s!==null&&s.set(t,e,e),e):(zm(d),s!==null&&s.set(t,e,f),f)}function zm(t){const e=new d6;for(let n=0;n<t.length;n++){const s=t[n];e.containsKey(s)||e.set(s,s)}for(let n=0;n<t.length;n++)t[n]=e.get(t[n])}function Nm(t,e,n,s){if(s!==null){let L=s.get(t,e);if(L!==null||(L=s.get(e,t),L!==null))return L}const l=Om(t,e,n);if(l!==null)return s!==null&&s.set(t,e,l),l;if(t.returnState===e.returnState){const L=Ci(t.parentCtx,e.parentCtx,n,s);if(L===t.parentCtx)return t;if(L===e.parentCtx)return e;const c=n4.create(L,t.returnState);return s!==null&&s.set(t,e,c),c}else{let L=null;if((t===e||t.parentCtx!==null&&t.parentCtx===e.parentCtx)&&(L=t.parentCtx),L!==null){const f=[t.returnState,e.returnState];t.returnState>e.returnState&&(f[0]=e.returnState,f[1]=t.returnState);const g=[L,L],p=new w9(g,f);return s!==null&&s.set(t,e,p),p}const c=[t.returnState,e.returnState];let C=[t.parentCtx,e.parentCtx];t.returnState>e.returnState&&(c[0]=e.returnState,c[1]=t.returnState,C=[e.parentCtx,t.parentCtx]);const d=new w9(C,c);return s!==null&&s.set(t,e,d),d}}function Om(t,e,n){if(n){if(t===a1.EMPTY||e===a1.EMPTY)return a1.EMPTY}else{if(t===a1.EMPTY&&e===a1.EMPTY)return a1.EMPTY;if(t===a1.EMPTY){const s=[e.returnState,a1.EMPTY_RETURN_STATE],l=[e.parentCtx,null];return new w9(l,s)}else if(e===a1.EMPTY){const s=[t.returnState,a1.EMPTY_RETURN_STATE],l=[t.parentCtx,null];return new w9(l,s)}}return null}class v9{constructor(){this.data=[]}add(e){this.data[e]=!0}or(e){Object.keys(e.data).map(n=>this.add(n),this)}remove(e){delete this.data[e]}has(e){return this.data[e]===!0}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){return S4.hashStuff(this.values())}equals(e){return e instanceof v9&&K5(this.data,e.data)}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class e8{constructor(e){this.atn=e}getDecisionLookahead(e){if(e===null)return null;const n=e.transitions.length,s=[];for(let l=0;l<n;l++){s[l]=new $4;const L=new k4;this._LOOK(e.transition(l).target,null,a1.EMPTY,s[l],L,new v9,!1,!1),(s[l].length===0||s[l].contains(e8.HIT_PRED))&&(s[l]=null)}return s}LOOK(e,n,s){const l=new $4,L=!0;s=s||null;const c=s!==null?ci(e.atn,s):null;return this._LOOK(e,n,c,l,new k4,new v9,L,!0),l}_LOOK(e,n,s,l,L,c,C,d){const f=new L3({state:e,alt:0,context:s},null);if(!L.has(f)){if(L.add(f),e===n){if(s===null){l.addOne(w2.EPSILON);return}else if(s.isEmpty()&&d){l.addOne(w2.EOF);return}}if(e instanceof t4){if(s===null){l.addOne(w2.EPSILON);return}else if(s.isEmpty()&&d){l.addOne(w2.EOF);return}if(s!==a1.EMPTY){const g=c.has(e.ruleIndex);try{c.remove(e.ruleIndex);for(let p=0;p<s.length;p++){const m=this.atn.states[s.getReturnState(p)];this._LOOK(m,n,s.getParent(p),l,L,c,C,d)}}finally{g&&c.add(e.ruleIndex)}return}}for(let g=0;g<e.transitions.length;g++){const p=e.transitions[g];if(p.constructor===ae){if(c.has(p.target.ruleIndex))continue;const m=n4.create(s,p.followState.stateNumber);try{c.add(p.target.ruleIndex),this._LOOK(p.target,n,m,l,L,c,C,d)}finally{c.remove(p.target.ruleIndex)}}else if(p instanceof ai)C?this._LOOK(p.target,n,s,l,L,c,C,d):l.addOne(e8.HIT_PRED);else if(p.isEpsilon)this._LOOK(p.target,n,s,l,L,c,C,d);else if(p.constructor===Na)l.addRange(w2.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{let m=p.label;m!==null&&(p instanceof ri&&(m=m.complement(w2.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),l.addSet(m))}}}}}e8.HIT_PRED=w2.INVALID_TYPE;class n3{constructor(e,n){this.grammarType=e,this.maxTokenType=n,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(e,n){return new e8(this).LOOK(e,null,n)}nextTokensNoContext(e){return e.nextTokenWithinRule!==null||(e.nextTokenWithinRule=this.nextTokensInContext(e,null),e.nextTokenWithinRule.readOnly=!0),e.nextTokenWithinRule}nextTokens(e,n){return n===void 0?this.nextTokensNoContext(e):this.nextTokensInContext(e,n)}addState(e){e!==null&&(e.atn=this,e.stateNumber=this.states.length),this.states.push(e)}removeState(e){this.states[e.stateNumber]=null}defineDecisionState(e){return this.decisionToState.push(e),e.decision=this.decisionToState.length-1,e.decision}getDecisionState(e){return this.decisionToState.length===0?null:this.decisionToState[e]}getExpectedTokens(e,n){if(e<0||e>=this.states.length)throw"Invalid state number.";const s=this.states[e];let l=this.nextTokens(s);if(!l.contains(w2.EPSILON))return l;const L=new $4;for(L.addSet(l),L.removeOne(w2.EPSILON);n!==null&&n.invokingState>=0&&l.contains(w2.EPSILON);){const C=this.states[n.invokingState].transitions[0];l=this.nextTokens(C.followState),L.addSet(l),L.removeOne(w2.EPSILON),n=n.parentCtx}return l.contains(w2.EPSILON)&&L.addOne(w2.EOF),L}}n3.INVALID_ALT_NUMBER=0;const Ce={LEXER:0,PARSER:1};class Fa extends z2{constructor(){super(),this.stateType=z2.BASIC}}class t8 extends z2{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class n8 extends t8{constructor(){return super(),this.endState=null,this}}class ui extends z2{constructor(){return super(),this.stateType=z2.BLOCK_END,this.startState=null,this}}class i8 extends z2{constructor(){return super(),this.stateType=z2.LOOP_END,this.loopBackState=null,this}}class Ba extends z2{constructor(){return super(),this.stateType=z2.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class Dm extends t8{constructor(){return super(),this.stateType=z2.TOKEN_START,this}}class Ua extends t8{constructor(){return super(),this.stateType=z2.PLUS_LOOP_BACK,this}}class di extends z2{constructor(){return super(),this.stateType=z2.STAR_LOOP_BACK,this}}class r5 extends t8{constructor(){return super(),this.stateType=z2.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class hi extends n8{constructor(){return super(),this.stateType=z2.PLUS_BLOCK_START,this.loopBackState=null,this}}class fi extends n8{constructor(){return super(),this.stateType=z2.STAR_BLOCK_START,this}}class Ha extends n8{constructor(){return super(),this.stateType=z2.BLOCK_START,this}}class ue extends A2{constructor(e,n){super(e),this.label_=n,this.label=this.makeLabel(),this.serializationType=A2.ATOM}makeLabel(){const e=new $4;return e.addOne(this.label_),e}matches(e,n,s){return this.label_===e}toString(){return this.label_}}class Pa extends A2{constructor(e,n,s){super(e),this.serializationType=A2.RANGE,this.start=n,this.stop=s,this.label=this.makeLabel()}makeLabel(){const e=new $4;return e.addRange(this.start,this.stop),e}matches(e,n,s){return e>=this.start&&e<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class Wa extends A2{constructor(e,n,s,l){super(e),this.serializationType=A2.ACTION,this.ruleIndex=n,this.actionIndex=s===void 0?-1:s,this.isCtxDependent=l===void 0?!1:l,this.isEpsilon=!0}matches(e,n,s){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class h6 extends A2{constructor(e,n){super(e),this.serializationType=A2.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=n}matches(e,n,s){return!1}toString(){return"epsilon"}}class de extends A1{constructor(e,n,s){super(),this.ruleIndex=e===void 0?-1:e,this.predIndex=n===void 0?-1:n,this.isCtxDependent=s===void 0?!1:s}evaluate(e,n){const s=this.isCtxDependent?n:null;return e.sempred(s,this.ruleIndex,this.predIndex)}updateHashCode(e){e.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(e){return this===e?!0:e instanceof de?this.ruleIndex===e.ruleIndex&&this.predIndex===e.predIndex&&this.isCtxDependent===e.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}A1.NONE=new de;class ja extends ai{constructor(e,n,s,l){super(e),this.serializationType=A2.PREDICATE,this.ruleIndex=n,this.predIndex=s,this.isCtxDependent=l,this.isEpsilon=!0}matches(e,n,s){return!1}getPredicate(){return new de(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class he extends A1{constructor(e){super(),this.precedence=e===void 0?0:e}evaluate(e,n){return e.precpred(n,this.precedence)}evalPrecedence(e,n){return e.precpred(n,this.precedence)?A1.NONE:null}compareTo(e){return this.precedence-e.precedence}updateHashCode(e){e.update(this.precedence)}equals(e){return this===e?!0:e instanceof he?this.precedence===e.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}}A1.PrecedencePredicate=he;class Fm extends ai{constructor(e,n){super(e),this.serializationType=A2.PRECEDENCE,this.precedence=n,this.isEpsilon=!0}matches(e,n,s){return!1}getPredicate(){return new he(this.precedence)}toString(){return this.precedence+" >= _p"}}class f6{constructor(e){e===void 0&&(e=null),this.readOnly=!1,this.verifyATN=e===null?!0:e.verifyATN,this.generateRuleBypassTransitions=e===null?!1:e.generateRuleBypassTransitions}}f6.defaultOptions=new f6,f6.defaultOptions.readOnly=!0;const V3={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class H9{constructor(e){this.actionType=e,this.isPositionDependent=!1}hashCode(){const e=new S4;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.actionType)}equals(e){return this===e}}class gi extends H9{constructor(){super(V3.SKIP)}execute(e){e.skip()}toString(){return"skip"}}gi.INSTANCE=new gi;class pi extends H9{constructor(e){super(V3.CHANNEL),this.channel=e}execute(e){e._channel=this.channel}updateHashCode(e){e.update(this.actionType,this.channel)}equals(e){return this===e?!0:e instanceof pi?this.channel===e.channel:!1}toString(){return"channel("+this.channel+")"}}class mi extends H9{constructor(e,n){super(V3.CUSTOM),this.ruleIndex=e,this.actionIndex=n,this.isPositionDependent=!0}execute(e){e.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(e){e.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(e){return this===e?!0:e instanceof mi?this.ruleIndex===e.ruleIndex&&this.actionIndex===e.actionIndex:!1}}class xi extends H9{constructor(){super(V3.MORE)}execute(e){e.more()}toString(){return"more"}}xi.INSTANCE=new xi;class wi extends H9{constructor(e){super(V3.TYPE),this.type=e}execute(e){e.type=this.type}updateHashCode(e){e.update(this.actionType,this.type)}equals(e){return this===e?!0:e instanceof wi?this.type===e.type:!1}toString(){return"type("+this.type+")"}}class vi extends H9{constructor(e){super(V3.PUSH_MODE),this.mode=e}execute(e){e.pushMode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof vi?this.mode===e.mode:!1}toString(){return"pushMode("+this.mode+")"}}class Mi extends H9{constructor(){super(V3.POP_MODE)}execute(e){e.popMode()}toString(){return"popMode"}}Mi.INSTANCE=new Mi;class _i extends H9{constructor(e){super(V3.MODE),this.mode=e}execute(e){e.mode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof _i?this.mode===e.mode:!1}toString(){return"mode("+this.mode+")"}}const yi=4;function fe(t,e){const n=[];return n[t-1]=e,n.map(function(s){return e})}class $a{constructor(e){e==null&&(e=f6.defaultOptions),this.deserializationOptions=e,this.stateFactories=null,this.actionFactories=null}deserialize(e){const n=this.reset(e);this.checkVersion(n),n&&this.skipUUID();const s=this.readATN();this.readStates(s,n),this.readRules(s,n),this.readModes(s);const l=[];return this.readSets(s,l,this.readInt.bind(this)),n&&this.readSets(s,l,this.readInt32.bind(this)),this.readEdges(s,l),this.readDecisions(s),this.readLexerActions(s,n),this.markPrecedenceDecisions(s),this.verifyATN(s),this.deserializationOptions.generateRuleBypassTransitions&&s.grammarType===Ce.PARSER&&(this.generateRuleBypassTransitions(s),this.verifyATN(s)),s}reset(e){if((e.charCodeAt?e.charCodeAt(0):e[0])===yi-1){const s=function(L){const c=L.charCodeAt(0);return c>1?c-2:c+65534},l=e.split("").map(s);return l[0]=e.charCodeAt(0),this.data=l,this.pos=0,!0}else return this.data=e,this.pos=0,!1}skipUUID(){let e=0;for(;e++<8;)this.readInt()}checkVersion(e){const n=this.readInt();if(!e&&n!==yi)throw"Could not deserialize ATN with version "+n+" (expected "+yi+")."}readATN(){const e=this.readInt(),n=this.readInt();return new n3(e,n)}readStates(e,n){let s,l,L;const c=[],C=[],d=this.readInt();for(let p=0;p<d;p++){const m=this.readInt();if(m===z2.INVALID_TYPE){e.addState(null);continue}let v=this.readInt();n&&v===65535&&(v=-1);const b=this.stateFactory(m,v);if(m===z2.LOOP_END){const A=this.readInt();c.push([b,A])}else if(b instanceof n8){const A=this.readInt();C.push([b,A])}e.addState(b)}for(s=0;s<c.length;s++)l=c[s],l[0].loopBackState=e.states[l[1]];for(s=0;s<C.length;s++)l=C[s],l[0].endState=e.states[l[1]];let f=this.readInt();for(s=0;s<f;s++)L=this.readInt(),e.states[L].nonGreedy=!0;let g=this.readInt();for(s=0;s<g;s++)L=this.readInt(),e.states[L].isPrecedenceRule=!0}readRules(e,n){let s;const l=this.readInt();for(e.grammarType===Ce.LEXER&&(e.ruleToTokenType=fe(l,0)),e.ruleToStartState=fe(l,0),s=0;s<l;s++){const L=this.readInt();if(e.ruleToStartState[s]=e.states[L],e.grammarType===Ce.LEXER){let c=this.readInt();n&&c===65535&&(c=w2.EOF),e.ruleToTokenType[s]=c}}for(e.ruleToStopState=fe(l,0),s=0;s<e.states.length;s++){const L=e.states[s];L instanceof t4&&(e.ruleToStopState[L.ruleIndex]=L,e.ruleToStartState[L.ruleIndex].stopState=L)}}readModes(e){const n=this.readInt();for(let s=0;s<n;s++){let l=this.readInt();e.modeToStartState.push(e.states[l])}}readSets(e,n,s){const l=this.readInt();for(let L=0;L<l;L++){const c=new $4;n.push(c);const C=this.readInt();this.readInt()!==0&&c.addOne(-1);for(let f=0;f<C;f++){const g=s(),p=s();c.addRange(g,p)}}}readEdges(e,n){let s,l,L,c,C;const d=this.readInt();for(s=0;s<d;s++){const f=this.readInt(),g=this.readInt(),p=this.readInt(),m=this.readInt(),v=this.readInt(),b=this.readInt();c=this.edgeFactory(e,p,f,g,m,v,b,n),e.states[f].addTransition(c)}for(s=0;s<e.states.length;s++)for(L=e.states[s],l=0;l<L.transitions.length;l++){const f=L.transitions[l];if(!(f instanceof ae))continue;let g=-1;e.ruleToStartState[f.target.ruleIndex].isPrecedenceRule&&f.precedence===0&&(g=f.target.ruleIndex),c=new h6(f.followState,g),e.ruleToStopState[f.target.ruleIndex].addTransition(c)}for(s=0;s<e.states.length;s++){if(L=e.states[s],L instanceof n8){if(L.endState===null||L.endState.startState!==null)throw"IllegalState";L.endState.startState=L}if(L instanceof Ua)for(l=0;l<L.transitions.length;l++)C=L.transitions[l].target,C instanceof hi&&(C.loopBackState=L);else if(L instanceof di)for(l=0;l<L.transitions.length;l++)C=L.transitions[l].target,C instanceof r5&&(C.loopBackState=L)}}readDecisions(e){const n=this.readInt();for(let s=0;s<n;s++){const l=this.readInt(),L=e.states[l];e.decisionToState.push(L),L.decision=s}}readLexerActions(e,n){if(e.grammarType===Ce.LEXER){const s=this.readInt();e.lexerActions=fe(s,null);for(let l=0;l<s;l++){const L=this.readInt();let c=this.readInt();n&&c===65535&&(c=-1);let C=this.readInt();n&&C===65535&&(C=-1),e.lexerActions[l]=this.lexerActionFactory(L,c,C)}}}generateRuleBypassTransitions(e){let n;const s=e.ruleToStartState.length;for(n=0;n<s;n++)e.ruleToTokenType[n]=e.maxTokenType+n+1;for(n=0;n<s;n++)this.generateRuleBypassTransition(e,n)}generateRuleBypassTransition(e,n){let s,l;const L=new Ha;L.ruleIndex=n,e.addState(L);const c=new ui;c.ruleIndex=n,e.addState(c),L.endState=c,e.defineDecisionState(L),c.startState=L;let C=null,d=null;if(e.ruleToStartState[n].isPrecedenceRule){for(d=null,s=0;s<e.states.length;s++)if(l=e.states[s],this.stateIsEndStateFor(l,n)){d=l,C=l.loopBackState.transitions[0];break}if(C===null)throw"Couldn't identify final state of the precedence rule prefix section."}else d=e.ruleToStopState[n];for(s=0;s<e.states.length;s++){l=e.states[s];for(let m=0;m<l.transitions.length;m++){const v=l.transitions[m];v!==C&&v.target===d&&(v.target=c)}}const f=e.ruleToStartState[n],g=f.transitions.length;for(;g>0;)L.addTransition(f.transitions[g-1]),f.transitions=f.transitions.slice(-1);e.ruleToStartState[n].addTransition(new h6(L)),c.addTransition(new h6(d));const p=new Fa;e.addState(p),p.addTransition(new ue(c,e.ruleToTokenType[n])),L.addTransition(new h6(p))}stateIsEndStateFor(e,n){if(e.ruleIndex!==n||!(e instanceof r5))return null;const s=e.transitions[e.transitions.length-1].target;return s instanceof i8&&s.epsilonOnlyTransitions&&s.transitions[0].target instanceof t4?e:null}markPrecedenceDecisions(e){for(let n=0;n<e.states.length;n++){const s=e.states[n];if(s instanceof r5&&e.ruleToStartState[s.ruleIndex].isPrecedenceRule){const l=s.transitions[s.transitions.length-1].target;l instanceof i8&&l.epsilonOnlyTransitions&&l.transitions[0].target instanceof t4&&(s.isPrecedenceDecision=!0)}}}verifyATN(e){if(this.deserializationOptions.verifyATN)for(let n=0;n<e.states.length;n++){const s=e.states[n];if(s!==null)if(this.checkCondition(s.epsilonOnlyTransitions||s.transitions.length<=1),s instanceof hi)this.checkCondition(s.loopBackState!==null);else if(s instanceof r5)if(this.checkCondition(s.loopBackState!==null),this.checkCondition(s.transitions.length===2),s.transitions[0].target instanceof fi)this.checkCondition(s.transitions[1].target instanceof i8),this.checkCondition(!s.nonGreedy);else if(s.transitions[0].target instanceof i8)this.checkCondition(s.transitions[1].target instanceof fi),this.checkCondition(s.nonGreedy);else throw"IllegalState";else s instanceof di?(this.checkCondition(s.transitions.length===1),this.checkCondition(s.transitions[0].target instanceof r5)):s instanceof i8?this.checkCondition(s.loopBackState!==null):s instanceof Ba?this.checkCondition(s.stopState!==null):s instanceof n8?this.checkCondition(s.endState!==null):s instanceof ui?this.checkCondition(s.startState!==null):s instanceof t8?this.checkCondition(s.transitions.length<=1||s.decision>=0):this.checkCondition(s.transitions.length<=1||s instanceof t4)}}checkCondition(e,n){if(!e)throw n==null&&(n="IllegalState"),n}readInt(){return this.data[this.pos++]}readInt32(){const e=this.readInt(),n=this.readInt();return e|n<<16}edgeFactory(e,n,s,l,L,c,C,d){const f=e.states[l];switch(n){case A2.EPSILON:return new h6(f);case A2.RANGE:return C!==0?new Pa(f,w2.EOF,c):new Pa(f,L,c);case A2.RULE:return new ae(e.states[L],c,C,f);case A2.PREDICATE:return new ja(f,L,c,C!==0);case A2.PRECEDENCE:return new Fm(f,L);case A2.ATOM:return C!==0?new ue(f,w2.EOF):new ue(f,L);case A2.ACTION:return new Wa(f,L,c,C!==0);case A2.SET:return new li(f,d[L]);case A2.NOT_SET:return new ri(f,d[L]);case A2.WILDCARD:return new Na(f);default:throw"The specified transition type: "+n+" is not valid."}}stateFactory(e,n){if(this.stateFactories===null){const s=[];s[z2.INVALID_TYPE]=null,s[z2.BASIC]=()=>new Fa,s[z2.RULE_START]=()=>new Ba,s[z2.BLOCK_START]=()=>new Ha,s[z2.PLUS_BLOCK_START]=()=>new hi,s[z2.STAR_BLOCK_START]=()=>new fi,s[z2.TOKEN_START]=()=>new Dm,s[z2.RULE_STOP]=()=>new t4,s[z2.BLOCK_END]=()=>new ui,s[z2.STAR_LOOP_BACK]=()=>new di,s[z2.STAR_LOOP_ENTRY]=()=>new r5,s[z2.PLUS_LOOP_BACK]=()=>new Ua,s[z2.LOOP_END]=()=>new i8,this.stateFactories=s}if(e>this.stateFactories.length||this.stateFactories[e]===null)throw"The specified state type "+e+" is not valid.";{const s=this.stateFactories[e]();if(s!==null)return s.ruleIndex=n,s}}lexerActionFactory(e,n,s){if(this.actionFactories===null){const l=[];l[V3.CHANNEL]=(L,c)=>new pi(L),l[V3.CUSTOM]=(L,c)=>new mi(L,c),l[V3.MODE]=(L,c)=>new _i(L),l[V3.MORE]=(L,c)=>xi.INSTANCE,l[V3.POP_MODE]=(L,c)=>Mi.INSTANCE,l[V3.PUSH_MODE]=(L,c)=>new vi(L),l[V3.SKIP]=(L,c)=>gi.INSTANCE,l[V3.TYPE]=(L,c)=>new wi(L),this.actionFactories=l}if(e>this.actionFactories.length||this.actionFactories[e]===null)throw"The specified lexer action type "+e+" is not valid.";return this.actionFactories[e](n,s)}}class ge{syntaxError(e,n,s,l,L,c){}reportAmbiguity(e,n,s,l,L,c,C){}reportAttemptingFullContext(e,n,s,l,L,c){}reportContextSensitivity(e,n,s,l,L,c){}}class Ri extends ge{constructor(){super()}syntaxError(e,n,s,l,L,c){console.error("line "+s+":"+l+" "+L)}}Ri.INSTANCE=new Ri;class Bm extends ge{constructor(e){if(super(),e===null)throw"delegates";return this.delegates=e,this}syntaxError(e,n,s,l,L,c){this.delegates.map(C=>C.syntaxError(e,n,s,l,L,c))}reportAmbiguity(e,n,s,l,L,c,C){this.delegates.map(d=>d.reportAmbiguity(e,n,s,l,L,c,C))}reportAttemptingFullContext(e,n,s,l,L,c){this.delegates.map(C=>C.reportAttemptingFullContext(e,n,s,l,L,c))}reportContextSensitivity(e,n,s,l,L,c){this.delegates.map(C=>C.reportContextSensitivity(e,n,s,l,L,c))}}class pe{constructor(){this._listeners=[Ri.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(e){const n="4.11.0";n!==e&&console.log("ANTLR runtime and generated code versions disagree: "+n+"!="+e)}addErrorListener(e){this._listeners.push(e)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const e=this.getLiteralNames(),n=this.getSymbolicNames(),s=e.length>n.length?e.length:n.length;this.tokenNames=[];for(let l=0;l<s;l++)this.tokenNames[l]=e[l]||n[l]||"<INVALID"}return this.tokenNames}getTokenTypeMap(){const e=this.getTokenNames();if(e===null)throw"The current recognizer does not provide a list of token names.";let n=this.tokenTypeMapCache[e];return n===void 0&&(n=e.reduce(function(s,l,L){s[l]=L}),n.EOF=w2.EOF,this.tokenTypeMapCache[e]=n),n}getRuleIndexMap(){const e=this.ruleNames;if(e===null)throw"The current recognizer does not provide a list of rule names.";let n=this.ruleIndexMapCache[e];return n===void 0&&(n=e.reduce(function(s,l,L){s[l]=L}),this.ruleIndexMapCache[e]=n),n}getTokenType(e){const n=this.getTokenTypeMap()[e];return n!==void 0?n:w2.INVALID_TYPE}getErrorHeader(e){const n=e.getOffendingToken().line,s=e.getOffendingToken().column;return"line "+n+":"+s}getTokenErrorDisplay(e){if(e===null)return"<no token>";let n=e.text;return n===null&&(e.type===w2.EOF?n="<EOF>":n="<"+e.type+">"),n=n.replace(`
19
- `,"\\n").replace("\r","\\r").replace(" ","\\t"),"'"+n+"'"}getErrorListenerDispatch(){return new Bm(this._listeners)}sempred(e,n,s){return!0}precpred(e,n){return!0}get state(){return this._stateNumber}set state(e){this._stateNumber=e}}pe.tokenTypeMapCache={},pe.ruleIndexMapCache={};class a5 extends w2{constructor(e,n,s,l,L){super(),this.source=e!==void 0?e:a5.EMPTY_SOURCE,this.type=n!==void 0?n:null,this.channel=s!==void 0?s:w2.DEFAULT_CHANNEL,this.start=l!==void 0?l:-1,this.stop=L!==void 0?L:-1,this.tokenIndex=-1,this.source[0]!==null?(this.line=e[0].line,this.column=e[0].column):this.column=-1}clone(){const e=new a5(this.source,this.type,this.channel,this.start,this.stop);return e.tokenIndex=this.tokenIndex,e.line=this.line,e.column=this.column,e.text=this.text,e}toString(){let e=this.text;return e!==null?e=e.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):e="<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+e+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(this._text!==null)return this._text;const e=this.getInputStream();if(e===null)return null;const n=e.size;return this.start<n&&this.stop<n?e.getText(this.start,this.stop):"<EOF>"}set text(e){this._text=e}}a5.EMPTY_SOURCE=[null,null];class Um{}class bi extends Um{constructor(e){super(),this.copyText=e===void 0?!1:e}create(e,n,s,l,L,c,C,d){const f=new a5(e,n,l,L,c);return f.line=C,f.column=d,s!==null?f.text=s:this.copyText&&e[1]!==null&&(f.text=e[1].getText(L,c)),f}createThin(e,n){const s=new a5(null,e);return s.text=n,s}}bi.DEFAULT=new bi;class x0 extends Error{constructor(e){super(e.message),Error.captureStackTrace&&Error.captureStackTrace(this,x0),this.message=e.message,this.recognizer=e.recognizer,this.input=e.input,this.ctx=e.ctx,this.offendingToken=null,this.offendingState=-1,this.recognizer!==null&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}class Ai extends x0{constructor(e,n,s,l){super({message:"",recognizer:e,input:n,ctx:null}),this.startIndex=s,this.deadEndConfigs=l}toString(){let e="";return this.startIndex>=0&&this.startIndex<this.input.size&&(e=this.input.getText(new S1(this.startIndex,this.startIndex))),"LexerNoViableAltException"+e}}let i4=class l5 extends pe{constructor(e){super(),this._input=e,this._factory=bi.DEFAULT,this._tokenFactorySourcePair=[this,e],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=w2.DEFAULT_CHANNEL,this._type=w2.INVALID_TYPE,this._modeStack=[],this._mode=l5.DEFAULT_MODE,this._text=null}reset(){this._input!==null&&this._input.seek(0),this._token=null,this._type=w2.INVALID_TYPE,this._channel=w2.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=l5.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(this._input===null)throw"nextToken requires a non-null input stream.";const e=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=w2.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let n=!1;for(;;){this._type=w2.INVALID_TYPE;let s=l5.SKIP;try{s=this._interp.match(this._input,this._mode)}catch(l){if(l instanceof x0)this.notifyListeners(l),this.recover(l);else throw console.log(l.stack),l}if(this._input.LA(1)===w2.EOF&&(this._hitEOF=!0),this._type===w2.INVALID_TYPE&&(this._type=s),this._type===l5.SKIP){n=!0;break}if(this._type!==l5.MORE)break}if(!n)return this._token===null&&this.emit(),this._token}}finally{this._input.release(e)}}skip(){this._type=l5.SKIP}more(){this._type=l5.MORE}mode(e){this._mode=e}pushMode(e){this._interp.debug&&console.log("pushMode "+e),this._modeStack.push(this._mode),this.mode(e)}popMode(){if(this._modeStack.length===0)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(e){this._token=e}emit(){const e=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(e),e}emitEOF(){const e=this.column,n=this.line,s=this._factory.create(this._tokenFactorySourcePair,w2.EOF,null,w2.DEFAULT_CHANNEL,this._input.index,this._input.index-1,n,e);return this.emitToken(s),s}getCharIndex(){return this._input.index}getAllTokens(){const e=[];let n=this.nextToken();for(;n.type!==w2.EOF;)e.push(n),n=this.nextToken();return e}notifyListeners(e){const n=this._tokenStartCharIndex,s=this._input.index,l=this._input.getText(n,s),L="token recognition error at: '"+this.getErrorDisplay(l)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,L,e)}getErrorDisplay(e){const n=[];for(let s=0;s<e.length;s++)n.push(e[s]);return n.join("")}getErrorDisplayForChar(e){return e.charCodeAt(0)===w2.EOF?"<EOF>":e===`
18
+ */var Aa;function Rm(){if(Aa)return n1;Aa=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),c=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),m=Symbol.iterator;function v(Z){return Z===null||typeof Z!="object"?null:(Z=m&&Z[m]||Z["@@iterator"],typeof Z=="function"?Z:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,k={};function S(Z,F,E){this.props=Z,this.context=F,this.refs=k,this.updater=E||b}S.prototype.isReactComponent={},S.prototype.setState=function(Z,F){if(typeof Z!="object"&&typeof Z!="function"&&Z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,Z,F,"setState")},S.prototype.forceUpdate=function(Z){this.updater.enqueueForceUpdate(this,Z,"forceUpdate")};function N(){}N.prototype=S.prototype;function I(Z,F,E){this.props=Z,this.context=F,this.refs=k,this.updater=E||b}var O=I.prototype=new N;O.constructor=I,A(O,S.prototype),O.isPureReactComponent=!0;var B=Array.isArray;function P(){}var Y={H:null,A:null,T:null,S:null},n2=Object.prototype.hasOwnProperty;function o2(Z,F,E){var H=E.ref;return{$$typeof:t,type:Z,key:F,ref:H!==void 0?H:null,props:E}}function f2(Z,F){return o2(Z.type,F,Z.props)}function c2(Z){return typeof Z=="object"&&Z!==null&&Z.$$typeof===t}function h2(Z){var F={"=":"=0",":":"=2"};return"$"+Z.replace(/[=:]/g,function(E){return F[E]})}var b2=/\/+/g;function V(Z,F){return typeof Z=="object"&&Z!==null&&Z.key!=null?h2(""+Z.key):F.toString(36)}function W(Z){switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw Z.reason;default:switch(typeof Z.status=="string"?Z.then(P,P):(Z.status="pending",Z.then(function(F){Z.status==="pending"&&(Z.status="fulfilled",Z.value=F)},function(F){Z.status==="pending"&&(Z.status="rejected",Z.reason=F)})),Z.status){case"fulfilled":return Z.value;case"rejected":throw Z.reason}}throw Z}function T(Z,F,E,H,K){var m2=typeof Z;(m2==="undefined"||m2==="boolean")&&(Z=null);var p2=!1;if(Z===null)p2=!0;else switch(m2){case"bigint":case"string":case"number":p2=!0;break;case"object":switch(Z.$$typeof){case t:case e:p2=!0;break;case g:return p2=Z._init,T(p2(Z._payload),F,E,H,K)}}if(p2)return K=K(Z),p2=H===""?"."+V(Z,0):H,B(K)?(E="",p2!=null&&(E=p2.replace(b2,"$&/")+"/"),T(K,F,E,"",function(K2){return K2})):K!=null&&(c2(K)&&(K=f2(K,E+(K.key==null||Z&&Z.key===K.key?"":(""+K.key).replace(b2,"$&/")+"/")+p2)),F.push(K)),1;p2=0;var N2=H===""?".":H+":";if(B(Z))for(var P2=0;P2<Z.length;P2++)H=Z[P2],m2=N2+V(H,P2),p2+=T(H,F,E,m2,K);else if(P2=v(Z),typeof P2=="function")for(Z=P2.call(Z),P2=0;!(H=Z.next()).done;)H=H.value,m2=N2+V(H,P2++),p2+=T(H,F,E,m2,K);else if(m2==="object"){if(typeof Z.then=="function")return T(W(Z),F,E,H,K);throw F=String(Z),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return p2}function j(Z,F,E){if(Z==null)return Z;var H=[],K=0;return T(Z,H,"","",function(m2){return F.call(E,m2,K++)}),H}function $(Z){if(Z._status===-1){var F=Z._result;F=F(),F.then(function(E){(Z._status===0||Z._status===-1)&&(Z._status=1,Z._result=E)},function(E){(Z._status===0||Z._status===-1)&&(Z._status=2,Z._result=E)}),Z._status===-1&&(Z._status=0,Z._result=F)}if(Z._status===1)return Z._result.default;throw Z._result}var l2=typeof reportError=="function"?reportError:function(Z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var F=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Z=="object"&&Z!==null&&typeof Z.message=="string"?String(Z.message):String(Z),error:Z});if(!window.dispatchEvent(F))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",Z);return}console.error(Z)},g2={map:j,forEach:function(Z,F,E){j(Z,function(){F.apply(this,arguments)},E)},count:function(Z){var F=0;return j(Z,function(){F++}),F},toArray:function(Z){return j(Z,function(F){return F})||[]},only:function(Z){if(!c2(Z))throw Error("React.Children.only expected to receive a single React element child.");return Z}};return n1.Activity=p,n1.Children=g2,n1.Component=S,n1.Fragment=n,n1.Profiler=l,n1.PureComponent=I,n1.StrictMode=s,n1.Suspense=d,n1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y,n1.__COMPILER_RUNTIME={__proto__:null,c:function(Z){return Y.H.useMemoCache(Z)}},n1.cache=function(Z){return function(){return Z.apply(null,arguments)}},n1.cacheSignal=function(){return null},n1.cloneElement=function(Z,F,E){if(Z==null)throw Error("The argument must be a React element, but you passed "+Z+".");var H=A({},Z.props),K=Z.key;if(F!=null)for(m2 in F.key!==void 0&&(K=""+F.key),F)!n2.call(F,m2)||m2==="key"||m2==="__self"||m2==="__source"||m2==="ref"&&F.ref===void 0||(H[m2]=F[m2]);var m2=arguments.length-2;if(m2===1)H.children=E;else if(1<m2){for(var p2=Array(m2),N2=0;N2<m2;N2++)p2[N2]=arguments[N2+2];H.children=p2}return o2(Z.type,K,H)},n1.createContext=function(Z){return Z={$$typeof:c,_currentValue:Z,_currentValue2:Z,_threadCount:0,Provider:null,Consumer:null},Z.Provider=Z,Z.Consumer={$$typeof:L,_context:Z},Z},n1.createElement=function(Z,F,E){var H,K={},m2=null;if(F!=null)for(H in F.key!==void 0&&(m2=""+F.key),F)n2.call(F,H)&&H!=="key"&&H!=="__self"&&H!=="__source"&&(K[H]=F[H]);var p2=arguments.length-2;if(p2===1)K.children=E;else if(1<p2){for(var N2=Array(p2),P2=0;P2<p2;P2++)N2[P2]=arguments[P2+2];K.children=N2}if(Z&&Z.defaultProps)for(H in p2=Z.defaultProps,p2)K[H]===void 0&&(K[H]=p2[H]);return o2(Z,m2,K)},n1.createRef=function(){return{current:null}},n1.forwardRef=function(Z){return{$$typeof:C,render:Z}},n1.isValidElement=c2,n1.lazy=function(Z){return{$$typeof:g,_payload:{_status:-1,_result:Z},_init:$}},n1.memo=function(Z,F){return{$$typeof:f,type:Z,compare:F===void 0?null:F}},n1.startTransition=function(Z){var F=Y.T,E={};Y.T=E;try{var H=Z(),K=Y.S;K!==null&&K(E,H),typeof H=="object"&&H!==null&&typeof H.then=="function"&&H.then(P,l2)}catch(m2){l2(m2)}finally{F!==null&&E.types!==null&&(F.types=E.types),Y.T=F}},n1.unstable_useCacheRefresh=function(){return Y.H.useCacheRefresh()},n1.use=function(Z){return Y.H.use(Z)},n1.useActionState=function(Z,F,E){return Y.H.useActionState(Z,F,E)},n1.useCallback=function(Z,F){return Y.H.useCallback(Z,F)},n1.useContext=function(Z){return Y.H.useContext(Z)},n1.useDebugValue=function(){},n1.useDeferredValue=function(Z,F){return Y.H.useDeferredValue(Z,F)},n1.useEffect=function(Z,F){return Y.H.useEffect(Z,F)},n1.useEffectEvent=function(Z){return Y.H.useEffectEvent(Z)},n1.useId=function(){return Y.H.useId()},n1.useImperativeHandle=function(Z,F,E){return Y.H.useImperativeHandle(Z,F,E)},n1.useInsertionEffect=function(Z,F){return Y.H.useInsertionEffect(Z,F)},n1.useLayoutEffect=function(Z,F){return Y.H.useLayoutEffect(Z,F)},n1.useMemo=function(Z,F){return Y.H.useMemo(Z,F)},n1.useOptimistic=function(Z,F){return Y.H.useOptimistic(Z,F)},n1.useReducer=function(Z,F,E){return Y.H.useReducer(Z,F,E)},n1.useRef=function(Z){return Y.H.useRef(Z)},n1.useState=function(Z){return Y.H.useState(Z)},n1.useSyncExternalStore=function(Z,F,E){return Y.H.useSyncExternalStore(Z,F,E)},n1.useTransition=function(){return Y.H.useTransition()},n1.version="19.2.3",n1}var Sa;function oe(){return Sa||(Sa=1,ei.exports=Rm()),ei.exports}var y=oe();const k2=j4(y),le=A4({__proto__:null,default:k2},[y]),bm={},ti=y.createContext(void 0);function ni(t){return y.useContext(ti)||ym()}function Am({children:t,store:e}){const n=y.useRef(null);return e?y.createElement(ti.Provider,{value:e},t):(n.current===null&&(n.current=Jn()),y.createElement(ti.Provider,{value:n.current},t))}const ii=t=>typeof(t==null?void 0:t.then)=="function",si=t=>{t.status||(t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}))},Sm=k2.use||(t=>{if(t.status==="pending")throw t;if(t.status==="fulfilled")return t.value;throw t.status==="rejected"?t.reason:(si(t),t)}),oi=new WeakMap,ka=(t,e)=>{let n=oi.get(t);return n||(n=new Promise((s,l)=>{let L=t;const c=f=>g=>{L===f&&s(g)},C=f=>g=>{L===f&&l(g)},d=()=>{try{const f=e();ii(f)?(oi.set(f,n),L=f,f.then(c(f),C(f)),Qn(f,d)):s(f)}catch(f){l(f)}};t.then(c(t),C(t)),Qn(t,d)}),oi.set(t,n)),n};function X2(t,e){const{delay:n,unstable_promiseStatus:s=!k2.use}={},l=ni(),[[L,c,C],d]=y.useReducer(g=>{const p=l.get(t);return Object.is(g[0],p)&&g[1]===l&&g[2]===t?g:[p,l,t]},void 0,()=>[l.get(t),l,t]);let f=L;if((c!==l||C!==t)&&(d(),f=l.get(t)),y.useEffect(()=>{const g=l.sub(t,()=>{if(s)try{const p=l.get(t);ii(p)&&si(ka(p,()=>l.get(t)))}catch{}if(typeof n=="number"){setTimeout(d,n);return}d()});return d(),g},[l,t,n,s]),y.useDebugValue(f),ii(f)){const g=ka(f,()=>l.get(t));return s&&si(g),Sm(g)}return f}function Q5(t,e){const n=ni();return y.useCallback((...l)=>{if((bm?"production":void 0)!=="production"&&!("write"in t))throw new Error("not writable atom");return n.set(t,...l)},[n,t])}function r9(t,e){return[X2(t),Q5(t)]}const Za=(t,e)=>{const s=t3((()=>{const L=localStorage.getItem(t);return L!==null?JSON.parse(L):e})());return t3(L=>L(s),(L,c,C)=>{const d=typeof C=="function"?C(L(s)):C;c(s,d),localStorage.setItem(t,JSON.stringify(d))})},L6=t=>{const e=t3({fn:t});return t3(s=>s(e).fn,(s,l,L)=>{l(e,{fn:L})})};String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const t=this.toString();let e,n;const s=t.length&3,l=t.length-s;let L=String.prototype.seed;const c=3432918353,C=461845907;let d=0;for(;d<l;)n=t.charCodeAt(d)&255|(t.charCodeAt(++d)&255)<<8|(t.charCodeAt(++d)&255)<<16|(t.charCodeAt(++d)&255)<<24,++d,n=(n&65535)*c+(((n>>>16)*c&65535)<<16)&4294967295,n=n<<15|n>>>17,n=(n&65535)*C+(((n>>>16)*C&65535)<<16)&4294967295,L^=n,L=L<<13|L>>>19,e=(L&65535)*5+(((L>>>16)*5&65535)<<16)&4294967295,L=(e&65535)+27492+(((e>>>16)+58964&65535)<<16);switch(n=0,s){case 3:n^=(t.charCodeAt(d+2)&255)<<16;case 2:n^=(t.charCodeAt(d+1)&255)<<8;case 1:n^=t.charCodeAt(d)&255,n=(n&65535)*c+(((n>>>16)*c&65535)<<16)&4294967295,n=n<<15|n>>>17,n=(n&65535)*C+(((n>>>16)*C&65535)<<16)&4294967295,L^=n}return L^=t.length,L^=L>>>16,L=(L&65535)*2246822507+(((L>>>16)*2246822507&65535)<<16)&4294967295,L^=L>>>13,L=(L&65535)*3266489909+(((L>>>16)*3266489909&65535)<<16)&4294967295,L^=L>>>16,L>>>0};/*! https://mths.be/codepointat v0.2.0 by @mathias */String.prototype.codePointAt||(function(){var t=(function(){let n;try{const s={},l=Object.defineProperty;n=l(s,s,s)&&l}catch{}return n})();const e=function(n){if(this==null)throw TypeError();const s=String(this),l=s.length;let L=n?Number(n):0;if(L!==L&&(L=0),L<0||L>=l)return;const c=s.charCodeAt(L);let C;return c>=55296&&c<=56319&&l>L+1&&(C=s.charCodeAt(L+1),C>=56320&&C<=57343)?(c-55296)*1024+C-56320+65536:c};t?t(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e})();/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */String.fromCodePoint||(function(){const t=(function(){let l;try{const L={},c=Object.defineProperty;l=c(L,L,L)&&c}catch{}return l})(),e=String.fromCharCode,n=Math.floor,s=function(l){const c=[];let C,d,f=-1;const g=arguments.length;if(!g)return"";let p="";for(;++f<g;){let m=Number(arguments[f]);if(!isFinite(m)||m<0||m>1114111||n(m)!==m)throw RangeError("Invalid code point: "+m);m<=65535?c.push(m):(m-=65536,C=(m>>10)+55296,d=m%1024+56320,c.push(C,d)),(f+1===g||c.length>16384)&&(p+=e.apply(null,c),c.length=0)}return p};t?t(String,"fromCodePoint",{value:s,configurable:!0,writable:!0}):String.fromCodePoint=s})();class w2{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(e){this._text=e}}w2.INVALID_TYPE=0,w2.EPSILON=-2,w2.MIN_USER_TOKEN_TYPE=1,w2.EOF=-1,w2.DEFAULT_CHANNEL=0,w2.HIDDEN_CHANNEL=1;function K5(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t===e)return!0;if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n]&&(!t[n].equals||!t[n].equals(e[n])))return!1;return!0}class S4{constructor(){this.count=0,this.hash=0}update(){for(let e=0;e<arguments.length;e++){const n=arguments[e];if(n!=null)if(Array.isArray(n))this.update.apply(this,n);else{let s=0;switch(typeof n){case"undefined":case"function":continue;case"number":case"boolean":s=n;break;case"string":s=n.hashCode();break;default:n.updateHashCode?n.updateHashCode(this):console.log("No updateHashCode for "+n.toString());continue}s=s*3432918353,s=s<<15|s>>>17,s=s*461845907,this.count=this.count+1;let l=this.hash^s;l=l<<13|l>>>19,l=l*5+3864292196,this.hash=l}}}finish(){let e=this.hash^this.count*4;return e=e^e>>>16,e=e*2246822507,e=e^e>>>13,e=e*3266489909,e=e^e>>>16,e}static hashStuff(){const e=new S4;return e.update.apply(e,arguments),e.finish()}}function Ta(t){return t?t.hashCode():-1}function Ea(t,e){return t?t.equals(e):t===e}function km(t){return t===null?"null":t}function m0(t){return Array.isArray(t)?"["+t.map(km).join(", ")+"]":"null"}const re="h-";class k4{constructor(e,n){this.data={},this.hashFunction=e||Ta,this.equalsFunction=n||Ea}add(e){const n=re+this.hashFunction(e);if(n in this.data){const s=this.data[n];for(let l=0;l<s.length;l++)if(this.equalsFunction(e,s[l]))return s[l];return s.push(e),e}else return this.data[n]=[e],e}has(e){return this.get(e)!=null}get(e){const n=re+this.hashFunction(e);if(n in this.data){const s=this.data[n];for(let l=0;l<s.length;l++)if(this.equalsFunction(e,s[l]))return s[l]}return null}values(){return Object.keys(this.data).filter(e=>e.startsWith(re)).flatMap(e=>this.data[e],this)}toString(){return m0(this.values())}get length(){return Object.keys(this.data).filter(e=>e.startsWith(re)).map(e=>this.data[e].length,this).reduce((e,n)=>e+n,0)}}class A1{hashCode(){const e=new S4;return this.updateHashCode(e),e.finish()}evaluate(e,n){}evalPrecedence(e,n){return this}static andContext(e,n){if(e===null||e===A1.NONE)return n;if(n===null||n===A1.NONE)return e;const s=new c6(e,n);return s.opnds.length===1?s.opnds[0]:s}static orContext(e,n){if(e===null)return n;if(n===null)return e;if(e===A1.NONE||n===A1.NONE)return A1.NONE;const s=new C6(e,n);return s.opnds.length===1?s.opnds[0]:s}}class c6 extends A1{constructor(e,n){super();const s=new k4;e instanceof c6?e.opnds.map(function(L){s.add(L)}):s.add(e),n instanceof c6?n.opnds.map(function(L){s.add(L)}):s.add(n);const l=Ia(s);if(l.length>0){let L=null;l.map(function(c){(L===null||c.precedence<L.precedence)&&(L=c)}),s.add(L)}this.opnds=Array.from(s.values())}equals(e){return this===e?!0:e instanceof c6?K5(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"AND")}evaluate(e,n){for(let s=0;s<this.opnds.length;s++)if(!this.opnds[s].evaluate(e,n))return!1;return!0}evalPrecedence(e,n){let s=!1;const l=[];for(let c=0;c<this.opnds.length;c++){const C=this.opnds[c],d=C.evalPrecedence(e,n);if(s|=d!==C,d===null)return null;d!==A1.NONE&&l.push(d)}if(!s)return this;if(l.length===0)return A1.NONE;let L=null;return l.map(function(c){L=L===null?c:A1.andContext(L,c)}),L}toString(){const e=this.opnds.map(n=>n.toString());return(e.length>3?e.slice(3):e).join("&&")}}class C6 extends A1{constructor(e,n){super();const s=new k4;e instanceof C6?e.opnds.map(function(L){s.add(L)}):s.add(e),n instanceof C6?n.opnds.map(function(L){s.add(L)}):s.add(n);const l=Ia(s);if(l.length>0){const L=l.sort(function(C,d){return C.compareTo(d)}),c=L[L.length-1];s.add(c)}this.opnds=Array.from(s.values())}equals(e){return this===e?!0:e instanceof C6?K5(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"OR")}evaluate(e,n){for(let s=0;s<this.opnds.length;s++)if(this.opnds[s].evaluate(e,n))return!0;return!1}evalPrecedence(e,n){let s=!1;const l=[];for(let c=0;c<this.opnds.length;c++){const C=this.opnds[c],d=C.evalPrecedence(e,n);if(s|=d!==C,d===A1.NONE)return A1.NONE;d!==null&&l.push(d)}return s?(l.length===0,null):this}toString(){const e=this.opnds.map(n=>n.toString());return(e.length>3?e.slice(3):e).join("||")}}function Ia(t){const e=[];return t.values().map(function(n){n instanceof A1.PrecedencePredicate&&e.push(n)}),e}function za(t,e){if(t===null){const n={state:null,alt:null,context:null,semanticContext:null};return e&&(n.reachesIntoOuterContext=0),n}else{const n={};return n.state=t.state||null,n.alt=t.alt===void 0?null:t.alt,n.context=t.context||null,n.semanticContext=t.semanticContext||null,e&&(n.reachesIntoOuterContext=t.reachesIntoOuterContext||0,n.precedenceFilterSuppressed=t.precedenceFilterSuppressed||!1),n}}class L3{constructor(e,n){this.checkContext(e,n),e=za(e),n=za(n,!0),this.state=e.state!==null?e.state:n.state,this.alt=e.alt!==null?e.alt:n.alt,this.context=e.context!==null?e.context:n.context,this.semanticContext=e.semanticContext!==null?e.semanticContext:n.semanticContext!==null?n.semanticContext:A1.NONE,this.reachesIntoOuterContext=n.reachesIntoOuterContext,this.precedenceFilterSuppressed=n.precedenceFilterSuppressed}checkContext(e,n){(e.context===null||e.context===void 0)&&(n===null||n.context===null||n.context===void 0)&&(this.context=null)}hashCode(){const e=new S4;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(e){return this===e?!0:e instanceof L3?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&(this.context===null?e.context===null:this.context.equals(e.context))&&this.semanticContext.equals(e.semanticContext)&&this.precedenceFilterSuppressed===e.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const e=new S4;return e.update(this.state.stateNumber,this.alt,this.semanticContext),e.finish()}equalsForConfigSet(e){return this===e?!0:e instanceof L3?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&this.semanticContext.equals(e.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==A1.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class S1{constructor(e,n){this.start=e,this.stop=n}clone(){return new S1(this.start,this.stop)}contains(e){return e>=this.start&&e<this.stop}toString(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}get length(){return this.stop-this.start}}S1.INVALID_INTERVAL=new S1(-1,-2);class $4{constructor(){this.intervals=null,this.readOnly=!1}first(e){return this.intervals===null||this.intervals.length===0?w2.INVALID_TYPE:this.intervals[0].start}addOne(e){this.addInterval(new S1(e,e+1))}addRange(e,n){this.addInterval(new S1(e,n+1))}addInterval(e){if(this.intervals===null)this.intervals=[],this.intervals.push(e.clone());else{for(let n=0;n<this.intervals.length;n++){const s=this.intervals[n];if(e.stop<s.start){this.intervals.splice(n,0,e);return}else if(e.stop===s.start){this.intervals[n]=new S1(e.start,s.stop);return}else if(e.start<=s.stop){this.intervals[n]=new S1(Math.min(s.start,e.start),Math.max(s.stop,e.stop)),this.reduce(n);return}}this.intervals.push(e.clone())}}addSet(e){return e.intervals!==null&&e.intervals.forEach(n=>this.addInterval(n),this),this}reduce(e){if(e<this.intervals.length-1){const n=this.intervals[e],s=this.intervals[e+1];n.stop>=s.stop?(this.intervals.splice(e+1,1),this.reduce(e)):n.stop>=s.start&&(this.intervals[e]=new S1(n.start,s.stop),this.intervals.splice(e+1,1))}}complement(e,n){const s=new $4;return s.addInterval(new S1(e,n+1)),this.intervals!==null&&this.intervals.forEach(l=>s.removeRange(l)),s}contains(e){if(this.intervals===null)return!1;for(let n=0;n<this.intervals.length;n++)if(this.intervals[n].contains(e))return!0;return!1}removeRange(e){if(e.start===e.stop-1)this.removeOne(e.start);else if(this.intervals!==null){let n=0;for(let s=0;s<this.intervals.length;s++){const l=this.intervals[n];if(e.stop<=l.start)return;if(e.start>l.start&&e.stop<l.stop){this.intervals[n]=new S1(l.start,e.start);const L=new S1(e.stop,l.stop);this.intervals.splice(n,0,L);return}else e.start<=l.start&&e.stop>=l.stop?(this.intervals.splice(n,1),n=n-1):e.start<l.stop?this.intervals[n]=new S1(l.start,e.start):e.stop<l.stop&&(this.intervals[n]=new S1(e.stop,l.stop));n+=1}}}removeOne(e){if(this.intervals!==null)for(let n=0;n<this.intervals.length;n++){const s=this.intervals[n];if(e<s.start)return;if(e===s.start&&e===s.stop-1){this.intervals.splice(n,1);return}else if(e===s.start){this.intervals[n]=new S1(s.start+1,s.stop);return}else if(e===s.stop-1){this.intervals[n]=new S1(s.start,s.stop-1);return}else if(e<s.stop-1){const l=new S1(s.start,e);s.start=e+1,this.intervals.splice(n,0,l);return}}}toString(e,n,s){return e=e||null,n=n||null,s=s||!1,this.intervals===null?"{}":e!==null||n!==null?this.toTokenString(e,n):s?this.toCharString():this.toIndexString()}toCharString(){const e=[];for(let n=0;n<this.intervals.length;n++){const s=this.intervals[n];s.stop===s.start+1?s.start===w2.EOF?e.push("<EOF>"):e.push("'"+String.fromCharCode(s.start)+"'"):e.push("'"+String.fromCharCode(s.start)+"'..'"+String.fromCharCode(s.stop-1)+"'")}return e.length>1?"{"+e.join(", ")+"}":e[0]}toIndexString(){const e=[];for(let n=0;n<this.intervals.length;n++){const s=this.intervals[n];s.stop===s.start+1?s.start===w2.EOF?e.push("<EOF>"):e.push(s.start.toString()):e.push(s.start.toString()+".."+(s.stop-1).toString())}return e.length>1?"{"+e.join(", ")+"}":e[0]}toTokenString(e,n){const s=[];for(let l=0;l<this.intervals.length;l++){const L=this.intervals[l];for(let c=L.start;c<L.stop;c++)s.push(this.elementName(e,n,c))}return s.length>1?"{"+s.join(", ")+"}":s[0]}elementName(e,n,s){return s===w2.EOF?"<EOF>":s===w2.EPSILON?"<EPSILON>":e[s]||n[s]}get length(){return this.intervals.map(e=>e.length).reduce((e,n)=>e+n)}}class z2{constructor(){this.atn=null,this.stateNumber=z2.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(e){return e instanceof z2?this.stateNumber===e.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(e,n){n===void 0&&(n=-1),this.transitions.length===0?this.epsilonOnlyTransitions=e.isEpsilon:this.epsilonOnlyTransitions!==e.isEpsilon&&(this.epsilonOnlyTransitions=!1),n===-1?this.transitions.push(e):this.transitions.splice(n,1,e)}}z2.INVALID_TYPE=0,z2.BASIC=1,z2.RULE_START=2,z2.BLOCK_START=3,z2.PLUS_BLOCK_START=4,z2.STAR_BLOCK_START=5,z2.TOKEN_START=6,z2.RULE_STOP=7,z2.BLOCK_END=8,z2.STAR_LOOP_BACK=9,z2.STAR_LOOP_ENTRY=10,z2.PLUS_LOOP_BACK=11,z2.LOOP_END=12,z2.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],z2.INVALID_STATE_NUMBER=-1;class t4 extends z2{constructor(){return super(),this.stateType=z2.RULE_STOP,this}}class A2{constructor(e){if(e==null)throw"target cannot be null.";this.target=e,this.isEpsilon=!1,this.label=null}}A2.EPSILON=1,A2.RANGE=2,A2.RULE=3,A2.PREDICATE=4,A2.ATOM=5,A2.ACTION=6,A2.SET=7,A2.NOT_SET=8,A2.WILDCARD=9,A2.PRECEDENCE=10,A2.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],A2.serializationTypes={EpsilonTransition:A2.EPSILON,RangeTransition:A2.RANGE,RuleTransition:A2.RULE,PredicateTransition:A2.PREDICATE,AtomTransition:A2.ATOM,ActionTransition:A2.ACTION,SetTransition:A2.SET,NotSetTransition:A2.NOT_SET,WildcardTransition:A2.WILDCARD,PrecedencePredicateTransition:A2.PRECEDENCE};class ae extends A2{constructor(e,n,s,l){super(e),this.ruleIndex=n,this.precedence=s,this.followState=l,this.serializationType=A2.RULE,this.isEpsilon=!0}matches(e,n,s){return!1}}class li extends A2{constructor(e,n){super(e),this.serializationType=A2.SET,n!=null?this.label=n:(this.label=new $4,this.label.addOne(w2.INVALID_TYPE))}matches(e,n,s){return this.label.contains(e)}toString(){return this.label.toString()}}class ri extends li{constructor(e,n){super(e,n),this.serializationType=A2.NOT_SET}matches(e,n,s){return e>=n&&e<=s&&!super.matches(e,n,s)}toString(){return"~"+super.toString()}}class Na extends A2{constructor(e){super(e),this.serializationType=A2.WILDCARD}matches(e,n,s){return e>=n&&e<=s}toString(){return"."}}class ai extends A2{constructor(e){super(e)}}class Zm{}class Tm extends Zm{}class Oa extends Tm{}class Le extends Oa{getRuleContext(){throw new Error("missing interface implementation")}}class U9 extends Oa{}class ce extends U9{}function Em(t,e){return t=t.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),t}const x9={toStringTree:function(t,e,n){e=e||null,n=n||null,n!==null&&(e=n.ruleNames);let s=x9.getNodeText(t,e);s=Em(s);const l=t.getChildCount();if(l===0)return s;let L="("+s+" ";l>0&&(s=x9.toStringTree(t.getChild(0),e),L=L.concat(s));for(let c=1;c<l;c++)s=x9.toStringTree(t.getChild(c),e),L=L.concat(" "+s);return L=L.concat(")"),L},getNodeText:function(t,e,n){if(e=e||null,n=n||null,n!==null&&(e=n.ruleNames),e!==null)if(t instanceof Le){const L=t.getRuleContext().getAltNumber();return L!=0?e[t.ruleIndex]+":"+L:e[t.ruleIndex]}else{if(t instanceof ce)return t.toString();if(t instanceof U9&&t.symbol!==null)return t.symbol.text}const s=t.getPayload();return s instanceof w2?s.text:t.getPayload().toString()},getChildren:function(t){const e=[];for(let n=0;n<t.getChildCount();n++)e.push(t.getChild(n));return e},getAncestors:function(t){let e=[];for(t=t.getParent();t!==null;)e=[t].concat(e),t=t.getParent();return e},findAllTokenNodes:function(t,e){return x9.findAllNodes(t,e,!0)},findAllRuleNodes:function(t,e){return x9.findAllNodes(t,e,!1)},findAllNodes:function(t,e,n){const s=[];return x9._findAllNodes(t,e,n,s),s},_findAllNodes:function(t,e,n,s){n&&t instanceof U9?t.symbol.type===e&&s.push(t):!n&&t instanceof Le&&t.ruleIndex===e&&s.push(t);for(let l=0;l<t.getChildCount();l++)x9._findAllNodes(t.getChild(l),e,n,s)},descendants:function(t){let e=[t];for(let n=0;n<t.getChildCount();n++)e=e.concat(x9.descendants(t.getChild(n)));return e}};class J5 extends Le{constructor(e,n){super(),this.parentCtx=e||null,this.invokingState=n||-1}depth(){let e=0,n=this;for(;n!==null;)n=n.parentCtx,e+=1;return e}isEmpty(){return this.invokingState===-1}getSourceInterval(){return S1.INVALID_INTERVAL}getRuleContext(){return this}getPayload(){return this}getText(){return this.getChildCount()===0?"":this.children.map(function(e){return e.getText()}).join("")}getAltNumber(){return 0}setAltNumber(e){}getChild(e){return null}getChildCount(){return 0}accept(e){return e.visitChildren(this)}toStringTree(e,n){return x9.toStringTree(this,e,n)}toString(e,n){e=e||null,n=n||null;let s=this,l="[";for(;s!==null&&s!==n;){if(e===null)s.isEmpty()||(l+=s.invokingState);else{const L=s.ruleIndex,c=L>=0&&L<e.length?e[L]:""+L;l+=c}s.parentCtx!==null&&(e!==null||!s.parentCtx.isEmpty())&&(l+=" "),s=s.parentCtx}return l+="]",l}}class a1{constructor(e){this.cachedHashCode=e}isEmpty(){return this===a1.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===a1.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(e){e.update(this.cachedHashCode)}}a1.EMPTY=null,a1.EMPTY_RETURN_STATE=2147483647,a1.globalNodeCount=1,a1.id=a1.globalNodeCount;class w9 extends a1{constructor(e,n){const s=new S4;s.update(e,n);const l=s.finish();return super(l),this.parents=e,this.returnStates=n,this}isEmpty(){return this.returnStates[0]===a1.EMPTY_RETURN_STATE}getParent(e){return this.parents[e]}getReturnState(e){return this.returnStates[e]}equals(e){return this===e?!0:e instanceof w9?this.hashCode()!==e.hashCode()?!1:K5(this.returnStates,e.returnStates)&&K5(this.parents,e.parents):!1}toString(){if(this.isEmpty())return"[]";{let e="[";for(let n=0;n<this.returnStates.length;n++){if(n>0&&(e=e+", "),this.returnStates[n]===a1.EMPTY_RETURN_STATE){e=e+"$";continue}e=e+this.returnStates[n],this.parents[n]!==null?e=e+" "+this.parents[n]:e=e+"null"}return e+"]"}}get length(){return this.returnStates.length}}class n4 extends a1{constructor(e,n){let s=0;const l=new S4;e!==null?l.update(e,n):l.update(1),s=l.finish(),super(s),this.parentCtx=e,this.returnState=n}getParent(e){return this.parentCtx}getReturnState(e){return this.returnState}equals(e){return this===e?!0:e instanceof n4?this.hashCode()!==e.hashCode()||this.returnState!==e.returnState?!1:this.parentCtx==null?e.parentCtx==null:this.parentCtx.equals(e.parentCtx):!1}toString(){const e=this.parentCtx===null?"":this.parentCtx.toString();return e.length===0?this.returnState===a1.EMPTY_RETURN_STATE?"$":""+this.returnState:""+this.returnState+" "+e}get length(){return 1}static create(e,n){return n===a1.EMPTY_RETURN_STATE&&e===null?a1.EMPTY:new n4(e,n)}}class Li extends n4{constructor(){super(null,a1.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(e){return null}getReturnState(e){return this.returnState}equals(e){return this===e}toString(){return"$"}}a1.EMPTY=new Li;const u6="h-";class d6{constructor(e,n){this.data={},this.hashFunction=e||Ta,this.equalsFunction=n||Ea}set(e,n){const s=u6+this.hashFunction(e);if(s in this.data){const l=this.data[s];for(let L=0;L<l.length;L++){const c=l[L];if(this.equalsFunction(e,c.key)){const C=c.value;return c.value=n,C}}return l.push({key:e,value:n}),n}else return this.data[s]=[{key:e,value:n}],n}containsKey(e){const n=u6+this.hashFunction(e);if(n in this.data){const s=this.data[n];for(let l=0;l<s.length;l++){const L=s[l];if(this.equalsFunction(e,L.key))return!0}}return!1}get(e){const n=u6+this.hashFunction(e);if(n in this.data){const s=this.data[n];for(let l=0;l<s.length;l++){const L=s[l];if(this.equalsFunction(e,L.key))return L.value}}return null}entries(){return Object.keys(this.data).filter(e=>e.startsWith(u6)).flatMap(e=>this.data[e],this)}getKeys(){return this.entries().map(e=>e.key)}getValues(){return this.entries().map(e=>e.value)}toString(){return"["+this.entries().map(n=>"{"+n.key+":"+n.value+"}").join(", ")+"]"}get length(){return Object.keys(this.data).filter(e=>e.startsWith(u6)).map(e=>this.data[e].length,this).reduce((e,n)=>e+n,0)}}function ci(t,e){if(e==null&&(e=J5.EMPTY),e.parentCtx===null||e===J5.EMPTY)return a1.EMPTY;const n=ci(t,e.parentCtx),l=t.states[e.invokingState].transitions[0];return n4.create(n,l.followState.stateNumber)}function Da(t,e,n){if(t.isEmpty())return t;let s=n.get(t)||null;if(s!==null)return s;if(s=e.get(t),s!==null)return n.set(t,s),s;let l=!1,L=[];for(let C=0;C<L.length;C++){const d=Da(t.getParent(C),e,n);if(l||d!==t.getParent(C)){if(!l){L=[];for(let f=0;f<t.length;f++)L[f]=t.getParent(f);l=!0}L[C]=d}}if(!l)return e.add(t),n.set(t,t),t;let c=null;return L.length===0?c=a1.EMPTY:L.length===1?c=n4.create(L[0],t.getReturnState(0)):c=new w9(L,t.returnStates),e.add(c),n.set(c,c),n.set(t,c),c}function Ci(t,e,n,s){if(t===e)return t;if(t instanceof n4&&e instanceof n4)return Nm(t,e,n,s);if(n){if(t instanceof Li)return t;if(e instanceof Li)return e}return t instanceof n4&&(t=new w9([t.getParent()],[t.returnState])),e instanceof n4&&(e=new w9([e.getParent()],[e.returnState])),Im(t,e,n,s)}function Im(t,e,n,s){if(s!==null){let g=s.get(t,e);if(g!==null||(g=s.get(e,t),g!==null))return g}let l=0,L=0,c=0,C=[],d=[];for(;l<t.returnStates.length&&L<e.returnStates.length;){const g=t.parents[l],p=e.parents[L];if(t.returnStates[l]===e.returnStates[L]){const m=t.returnStates[l];m===a1.EMPTY_RETURN_STATE&&g===null&&p===null||g!==null&&p!==null&&g===p?(d[c]=g,C[c]=m):(d[c]=Ci(g,p,n,s),C[c]=m),l+=1,L+=1}else t.returnStates[l]<e.returnStates[L]?(d[c]=g,C[c]=t.returnStates[l],l+=1):(d[c]=p,C[c]=e.returnStates[L],L+=1);c+=1}if(l<t.returnStates.length)for(let g=l;g<t.returnStates.length;g++)d[c]=t.parents[g],C[c]=t.returnStates[g],c+=1;else for(let g=L;g<e.returnStates.length;g++)d[c]=e.parents[g],C[c]=e.returnStates[g],c+=1;if(c<d.length){if(c===1){const g=n4.create(d[0],C[0]);return s!==null&&s.set(t,e,g),g}d=d.slice(0,c),C=C.slice(0,c)}const f=new w9(d,C);return f===t?(s!==null&&s.set(t,e,t),t):f===e?(s!==null&&s.set(t,e,e),e):(zm(d),s!==null&&s.set(t,e,f),f)}function zm(t){const e=new d6;for(let n=0;n<t.length;n++){const s=t[n];e.containsKey(s)||e.set(s,s)}for(let n=0;n<t.length;n++)t[n]=e.get(t[n])}function Nm(t,e,n,s){if(s!==null){let L=s.get(t,e);if(L!==null||(L=s.get(e,t),L!==null))return L}const l=Om(t,e,n);if(l!==null)return s!==null&&s.set(t,e,l),l;if(t.returnState===e.returnState){const L=Ci(t.parentCtx,e.parentCtx,n,s);if(L===t.parentCtx)return t;if(L===e.parentCtx)return e;const c=n4.create(L,t.returnState);return s!==null&&s.set(t,e,c),c}else{let L=null;if((t===e||t.parentCtx!==null&&t.parentCtx===e.parentCtx)&&(L=t.parentCtx),L!==null){const f=[t.returnState,e.returnState];t.returnState>e.returnState&&(f[0]=e.returnState,f[1]=t.returnState);const g=[L,L],p=new w9(g,f);return s!==null&&s.set(t,e,p),p}const c=[t.returnState,e.returnState];let C=[t.parentCtx,e.parentCtx];t.returnState>e.returnState&&(c[0]=e.returnState,c[1]=t.returnState,C=[e.parentCtx,t.parentCtx]);const d=new w9(C,c);return s!==null&&s.set(t,e,d),d}}function Om(t,e,n){if(n){if(t===a1.EMPTY||e===a1.EMPTY)return a1.EMPTY}else{if(t===a1.EMPTY&&e===a1.EMPTY)return a1.EMPTY;if(t===a1.EMPTY){const s=[e.returnState,a1.EMPTY_RETURN_STATE],l=[e.parentCtx,null];return new w9(l,s)}else if(e===a1.EMPTY){const s=[t.returnState,a1.EMPTY_RETURN_STATE],l=[t.parentCtx,null];return new w9(l,s)}}return null}class v9{constructor(){this.data=[]}add(e){this.data[e]=!0}or(e){Object.keys(e.data).map(n=>this.add(n),this)}remove(e){delete this.data[e]}has(e){return this.data[e]===!0}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){return S4.hashStuff(this.values())}equals(e){return e instanceof v9&&K5(this.data,e.data)}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class e8{constructor(e){this.atn=e}getDecisionLookahead(e){if(e===null)return null;const n=e.transitions.length,s=[];for(let l=0;l<n;l++){s[l]=new $4;const L=new k4;this._LOOK(e.transition(l).target,null,a1.EMPTY,s[l],L,new v9,!1,!1),(s[l].length===0||s[l].contains(e8.HIT_PRED))&&(s[l]=null)}return s}LOOK(e,n,s){const l=new $4,L=!0;s=s||null;const c=s!==null?ci(e.atn,s):null;return this._LOOK(e,n,c,l,new k4,new v9,L,!0),l}_LOOK(e,n,s,l,L,c,C,d){const f=new L3({state:e,alt:0,context:s},null);if(!L.has(f)){if(L.add(f),e===n){if(s===null){l.addOne(w2.EPSILON);return}else if(s.isEmpty()&&d){l.addOne(w2.EOF);return}}if(e instanceof t4){if(s===null){l.addOne(w2.EPSILON);return}else if(s.isEmpty()&&d){l.addOne(w2.EOF);return}if(s!==a1.EMPTY){const g=c.has(e.ruleIndex);try{c.remove(e.ruleIndex);for(let p=0;p<s.length;p++){const m=this.atn.states[s.getReturnState(p)];this._LOOK(m,n,s.getParent(p),l,L,c,C,d)}}finally{g&&c.add(e.ruleIndex)}return}}for(let g=0;g<e.transitions.length;g++){const p=e.transitions[g];if(p.constructor===ae){if(c.has(p.target.ruleIndex))continue;const m=n4.create(s,p.followState.stateNumber);try{c.add(p.target.ruleIndex),this._LOOK(p.target,n,m,l,L,c,C,d)}finally{c.remove(p.target.ruleIndex)}}else if(p instanceof ai)C?this._LOOK(p.target,n,s,l,L,c,C,d):l.addOne(e8.HIT_PRED);else if(p.isEpsilon)this._LOOK(p.target,n,s,l,L,c,C,d);else if(p.constructor===Na)l.addRange(w2.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{let m=p.label;m!==null&&(p instanceof ri&&(m=m.complement(w2.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),l.addSet(m))}}}}}e8.HIT_PRED=w2.INVALID_TYPE;class n3{constructor(e,n){this.grammarType=e,this.maxTokenType=n,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(e,n){return new e8(this).LOOK(e,null,n)}nextTokensNoContext(e){return e.nextTokenWithinRule!==null||(e.nextTokenWithinRule=this.nextTokensInContext(e,null),e.nextTokenWithinRule.readOnly=!0),e.nextTokenWithinRule}nextTokens(e,n){return n===void 0?this.nextTokensNoContext(e):this.nextTokensInContext(e,n)}addState(e){e!==null&&(e.atn=this,e.stateNumber=this.states.length),this.states.push(e)}removeState(e){this.states[e.stateNumber]=null}defineDecisionState(e){return this.decisionToState.push(e),e.decision=this.decisionToState.length-1,e.decision}getDecisionState(e){return this.decisionToState.length===0?null:this.decisionToState[e]}getExpectedTokens(e,n){if(e<0||e>=this.states.length)throw"Invalid state number.";const s=this.states[e];let l=this.nextTokens(s);if(!l.contains(w2.EPSILON))return l;const L=new $4;for(L.addSet(l),L.removeOne(w2.EPSILON);n!==null&&n.invokingState>=0&&l.contains(w2.EPSILON);){const C=this.states[n.invokingState].transitions[0];l=this.nextTokens(C.followState),L.addSet(l),L.removeOne(w2.EPSILON),n=n.parentCtx}return l.contains(w2.EPSILON)&&L.addOne(w2.EOF),L}}n3.INVALID_ALT_NUMBER=0;const Ce={LEXER:0,PARSER:1};class Fa extends z2{constructor(){super(),this.stateType=z2.BASIC}}class t8 extends z2{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class n8 extends t8{constructor(){return super(),this.endState=null,this}}class ui extends z2{constructor(){return super(),this.stateType=z2.BLOCK_END,this.startState=null,this}}class i8 extends z2{constructor(){return super(),this.stateType=z2.LOOP_END,this.loopBackState=null,this}}class Ba extends z2{constructor(){return super(),this.stateType=z2.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class Dm extends t8{constructor(){return super(),this.stateType=z2.TOKEN_START,this}}class Ua extends t8{constructor(){return super(),this.stateType=z2.PLUS_LOOP_BACK,this}}class di extends z2{constructor(){return super(),this.stateType=z2.STAR_LOOP_BACK,this}}class l5 extends t8{constructor(){return super(),this.stateType=z2.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class hi extends n8{constructor(){return super(),this.stateType=z2.PLUS_BLOCK_START,this.loopBackState=null,this}}class fi extends n8{constructor(){return super(),this.stateType=z2.STAR_BLOCK_START,this}}class Ha extends n8{constructor(){return super(),this.stateType=z2.BLOCK_START,this}}class ue extends A2{constructor(e,n){super(e),this.label_=n,this.label=this.makeLabel(),this.serializationType=A2.ATOM}makeLabel(){const e=new $4;return e.addOne(this.label_),e}matches(e,n,s){return this.label_===e}toString(){return this.label_}}class Pa extends A2{constructor(e,n,s){super(e),this.serializationType=A2.RANGE,this.start=n,this.stop=s,this.label=this.makeLabel()}makeLabel(){const e=new $4;return e.addRange(this.start,this.stop),e}matches(e,n,s){return e>=this.start&&e<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class Wa extends A2{constructor(e,n,s,l){super(e),this.serializationType=A2.ACTION,this.ruleIndex=n,this.actionIndex=s===void 0?-1:s,this.isCtxDependent=l===void 0?!1:l,this.isEpsilon=!0}matches(e,n,s){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class h6 extends A2{constructor(e,n){super(e),this.serializationType=A2.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=n}matches(e,n,s){return!1}toString(){return"epsilon"}}class de extends A1{constructor(e,n,s){super(),this.ruleIndex=e===void 0?-1:e,this.predIndex=n===void 0?-1:n,this.isCtxDependent=s===void 0?!1:s}evaluate(e,n){const s=this.isCtxDependent?n:null;return e.sempred(s,this.ruleIndex,this.predIndex)}updateHashCode(e){e.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(e){return this===e?!0:e instanceof de?this.ruleIndex===e.ruleIndex&&this.predIndex===e.predIndex&&this.isCtxDependent===e.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}A1.NONE=new de;class ja extends ai{constructor(e,n,s,l){super(e),this.serializationType=A2.PREDICATE,this.ruleIndex=n,this.predIndex=s,this.isCtxDependent=l,this.isEpsilon=!0}matches(e,n,s){return!1}getPredicate(){return new de(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class he extends A1{constructor(e){super(),this.precedence=e===void 0?0:e}evaluate(e,n){return e.precpred(n,this.precedence)}evalPrecedence(e,n){return e.precpred(n,this.precedence)?A1.NONE:null}compareTo(e){return this.precedence-e.precedence}updateHashCode(e){e.update(this.precedence)}equals(e){return this===e?!0:e instanceof he?this.precedence===e.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}}A1.PrecedencePredicate=he;class Fm extends ai{constructor(e,n){super(e),this.serializationType=A2.PRECEDENCE,this.precedence=n,this.isEpsilon=!0}matches(e,n,s){return!1}getPredicate(){return new he(this.precedence)}toString(){return this.precedence+" >= _p"}}class f6{constructor(e){e===void 0&&(e=null),this.readOnly=!1,this.verifyATN=e===null?!0:e.verifyATN,this.generateRuleBypassTransitions=e===null?!1:e.generateRuleBypassTransitions}}f6.defaultOptions=new f6,f6.defaultOptions.readOnly=!0;const V3={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class H9{constructor(e){this.actionType=e,this.isPositionDependent=!1}hashCode(){const e=new S4;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.actionType)}equals(e){return this===e}}class gi extends H9{constructor(){super(V3.SKIP)}execute(e){e.skip()}toString(){return"skip"}}gi.INSTANCE=new gi;class pi extends H9{constructor(e){super(V3.CHANNEL),this.channel=e}execute(e){e._channel=this.channel}updateHashCode(e){e.update(this.actionType,this.channel)}equals(e){return this===e?!0:e instanceof pi?this.channel===e.channel:!1}toString(){return"channel("+this.channel+")"}}class mi extends H9{constructor(e,n){super(V3.CUSTOM),this.ruleIndex=e,this.actionIndex=n,this.isPositionDependent=!0}execute(e){e.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(e){e.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(e){return this===e?!0:e instanceof mi?this.ruleIndex===e.ruleIndex&&this.actionIndex===e.actionIndex:!1}}class xi extends H9{constructor(){super(V3.MORE)}execute(e){e.more()}toString(){return"more"}}xi.INSTANCE=new xi;class wi extends H9{constructor(e){super(V3.TYPE),this.type=e}execute(e){e.type=this.type}updateHashCode(e){e.update(this.actionType,this.type)}equals(e){return this===e?!0:e instanceof wi?this.type===e.type:!1}toString(){return"type("+this.type+")"}}class vi extends H9{constructor(e){super(V3.PUSH_MODE),this.mode=e}execute(e){e.pushMode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof vi?this.mode===e.mode:!1}toString(){return"pushMode("+this.mode+")"}}class Mi extends H9{constructor(){super(V3.POP_MODE)}execute(e){e.popMode()}toString(){return"popMode"}}Mi.INSTANCE=new Mi;class _i extends H9{constructor(e){super(V3.MODE),this.mode=e}execute(e){e.mode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof _i?this.mode===e.mode:!1}toString(){return"mode("+this.mode+")"}}const yi=4;function fe(t,e){const n=[];return n[t-1]=e,n.map(function(s){return e})}class $a{constructor(e){e==null&&(e=f6.defaultOptions),this.deserializationOptions=e,this.stateFactories=null,this.actionFactories=null}deserialize(e){const n=this.reset(e);this.checkVersion(n),n&&this.skipUUID();const s=this.readATN();this.readStates(s,n),this.readRules(s,n),this.readModes(s);const l=[];return this.readSets(s,l,this.readInt.bind(this)),n&&this.readSets(s,l,this.readInt32.bind(this)),this.readEdges(s,l),this.readDecisions(s),this.readLexerActions(s,n),this.markPrecedenceDecisions(s),this.verifyATN(s),this.deserializationOptions.generateRuleBypassTransitions&&s.grammarType===Ce.PARSER&&(this.generateRuleBypassTransitions(s),this.verifyATN(s)),s}reset(e){if((e.charCodeAt?e.charCodeAt(0):e[0])===yi-1){const s=function(L){const c=L.charCodeAt(0);return c>1?c-2:c+65534},l=e.split("").map(s);return l[0]=e.charCodeAt(0),this.data=l,this.pos=0,!0}else return this.data=e,this.pos=0,!1}skipUUID(){let e=0;for(;e++<8;)this.readInt()}checkVersion(e){const n=this.readInt();if(!e&&n!==yi)throw"Could not deserialize ATN with version "+n+" (expected "+yi+")."}readATN(){const e=this.readInt(),n=this.readInt();return new n3(e,n)}readStates(e,n){let s,l,L;const c=[],C=[],d=this.readInt();for(let p=0;p<d;p++){const m=this.readInt();if(m===z2.INVALID_TYPE){e.addState(null);continue}let v=this.readInt();n&&v===65535&&(v=-1);const b=this.stateFactory(m,v);if(m===z2.LOOP_END){const A=this.readInt();c.push([b,A])}else if(b instanceof n8){const A=this.readInt();C.push([b,A])}e.addState(b)}for(s=0;s<c.length;s++)l=c[s],l[0].loopBackState=e.states[l[1]];for(s=0;s<C.length;s++)l=C[s],l[0].endState=e.states[l[1]];let f=this.readInt();for(s=0;s<f;s++)L=this.readInt(),e.states[L].nonGreedy=!0;let g=this.readInt();for(s=0;s<g;s++)L=this.readInt(),e.states[L].isPrecedenceRule=!0}readRules(e,n){let s;const l=this.readInt();for(e.grammarType===Ce.LEXER&&(e.ruleToTokenType=fe(l,0)),e.ruleToStartState=fe(l,0),s=0;s<l;s++){const L=this.readInt();if(e.ruleToStartState[s]=e.states[L],e.grammarType===Ce.LEXER){let c=this.readInt();n&&c===65535&&(c=w2.EOF),e.ruleToTokenType[s]=c}}for(e.ruleToStopState=fe(l,0),s=0;s<e.states.length;s++){const L=e.states[s];L instanceof t4&&(e.ruleToStopState[L.ruleIndex]=L,e.ruleToStartState[L.ruleIndex].stopState=L)}}readModes(e){const n=this.readInt();for(let s=0;s<n;s++){let l=this.readInt();e.modeToStartState.push(e.states[l])}}readSets(e,n,s){const l=this.readInt();for(let L=0;L<l;L++){const c=new $4;n.push(c);const C=this.readInt();this.readInt()!==0&&c.addOne(-1);for(let f=0;f<C;f++){const g=s(),p=s();c.addRange(g,p)}}}readEdges(e,n){let s,l,L,c,C;const d=this.readInt();for(s=0;s<d;s++){const f=this.readInt(),g=this.readInt(),p=this.readInt(),m=this.readInt(),v=this.readInt(),b=this.readInt();c=this.edgeFactory(e,p,f,g,m,v,b,n),e.states[f].addTransition(c)}for(s=0;s<e.states.length;s++)for(L=e.states[s],l=0;l<L.transitions.length;l++){const f=L.transitions[l];if(!(f instanceof ae))continue;let g=-1;e.ruleToStartState[f.target.ruleIndex].isPrecedenceRule&&f.precedence===0&&(g=f.target.ruleIndex),c=new h6(f.followState,g),e.ruleToStopState[f.target.ruleIndex].addTransition(c)}for(s=0;s<e.states.length;s++){if(L=e.states[s],L instanceof n8){if(L.endState===null||L.endState.startState!==null)throw"IllegalState";L.endState.startState=L}if(L instanceof Ua)for(l=0;l<L.transitions.length;l++)C=L.transitions[l].target,C instanceof hi&&(C.loopBackState=L);else if(L instanceof di)for(l=0;l<L.transitions.length;l++)C=L.transitions[l].target,C instanceof l5&&(C.loopBackState=L)}}readDecisions(e){const n=this.readInt();for(let s=0;s<n;s++){const l=this.readInt(),L=e.states[l];e.decisionToState.push(L),L.decision=s}}readLexerActions(e,n){if(e.grammarType===Ce.LEXER){const s=this.readInt();e.lexerActions=fe(s,null);for(let l=0;l<s;l++){const L=this.readInt();let c=this.readInt();n&&c===65535&&(c=-1);let C=this.readInt();n&&C===65535&&(C=-1),e.lexerActions[l]=this.lexerActionFactory(L,c,C)}}}generateRuleBypassTransitions(e){let n;const s=e.ruleToStartState.length;for(n=0;n<s;n++)e.ruleToTokenType[n]=e.maxTokenType+n+1;for(n=0;n<s;n++)this.generateRuleBypassTransition(e,n)}generateRuleBypassTransition(e,n){let s,l;const L=new Ha;L.ruleIndex=n,e.addState(L);const c=new ui;c.ruleIndex=n,e.addState(c),L.endState=c,e.defineDecisionState(L),c.startState=L;let C=null,d=null;if(e.ruleToStartState[n].isPrecedenceRule){for(d=null,s=0;s<e.states.length;s++)if(l=e.states[s],this.stateIsEndStateFor(l,n)){d=l,C=l.loopBackState.transitions[0];break}if(C===null)throw"Couldn't identify final state of the precedence rule prefix section."}else d=e.ruleToStopState[n];for(s=0;s<e.states.length;s++){l=e.states[s];for(let m=0;m<l.transitions.length;m++){const v=l.transitions[m];v!==C&&v.target===d&&(v.target=c)}}const f=e.ruleToStartState[n],g=f.transitions.length;for(;g>0;)L.addTransition(f.transitions[g-1]),f.transitions=f.transitions.slice(-1);e.ruleToStartState[n].addTransition(new h6(L)),c.addTransition(new h6(d));const p=new Fa;e.addState(p),p.addTransition(new ue(c,e.ruleToTokenType[n])),L.addTransition(new h6(p))}stateIsEndStateFor(e,n){if(e.ruleIndex!==n||!(e instanceof l5))return null;const s=e.transitions[e.transitions.length-1].target;return s instanceof i8&&s.epsilonOnlyTransitions&&s.transitions[0].target instanceof t4?e:null}markPrecedenceDecisions(e){for(let n=0;n<e.states.length;n++){const s=e.states[n];if(s instanceof l5&&e.ruleToStartState[s.ruleIndex].isPrecedenceRule){const l=s.transitions[s.transitions.length-1].target;l instanceof i8&&l.epsilonOnlyTransitions&&l.transitions[0].target instanceof t4&&(s.isPrecedenceDecision=!0)}}}verifyATN(e){if(this.deserializationOptions.verifyATN)for(let n=0;n<e.states.length;n++){const s=e.states[n];if(s!==null)if(this.checkCondition(s.epsilonOnlyTransitions||s.transitions.length<=1),s instanceof hi)this.checkCondition(s.loopBackState!==null);else if(s instanceof l5)if(this.checkCondition(s.loopBackState!==null),this.checkCondition(s.transitions.length===2),s.transitions[0].target instanceof fi)this.checkCondition(s.transitions[1].target instanceof i8),this.checkCondition(!s.nonGreedy);else if(s.transitions[0].target instanceof i8)this.checkCondition(s.transitions[1].target instanceof fi),this.checkCondition(s.nonGreedy);else throw"IllegalState";else s instanceof di?(this.checkCondition(s.transitions.length===1),this.checkCondition(s.transitions[0].target instanceof l5)):s instanceof i8?this.checkCondition(s.loopBackState!==null):s instanceof Ba?this.checkCondition(s.stopState!==null):s instanceof n8?this.checkCondition(s.endState!==null):s instanceof ui?this.checkCondition(s.startState!==null):s instanceof t8?this.checkCondition(s.transitions.length<=1||s.decision>=0):this.checkCondition(s.transitions.length<=1||s instanceof t4)}}checkCondition(e,n){if(!e)throw n==null&&(n="IllegalState"),n}readInt(){return this.data[this.pos++]}readInt32(){const e=this.readInt(),n=this.readInt();return e|n<<16}edgeFactory(e,n,s,l,L,c,C,d){const f=e.states[l];switch(n){case A2.EPSILON:return new h6(f);case A2.RANGE:return C!==0?new Pa(f,w2.EOF,c):new Pa(f,L,c);case A2.RULE:return new ae(e.states[L],c,C,f);case A2.PREDICATE:return new ja(f,L,c,C!==0);case A2.PRECEDENCE:return new Fm(f,L);case A2.ATOM:return C!==0?new ue(f,w2.EOF):new ue(f,L);case A2.ACTION:return new Wa(f,L,c,C!==0);case A2.SET:return new li(f,d[L]);case A2.NOT_SET:return new ri(f,d[L]);case A2.WILDCARD:return new Na(f);default:throw"The specified transition type: "+n+" is not valid."}}stateFactory(e,n){if(this.stateFactories===null){const s=[];s[z2.INVALID_TYPE]=null,s[z2.BASIC]=()=>new Fa,s[z2.RULE_START]=()=>new Ba,s[z2.BLOCK_START]=()=>new Ha,s[z2.PLUS_BLOCK_START]=()=>new hi,s[z2.STAR_BLOCK_START]=()=>new fi,s[z2.TOKEN_START]=()=>new Dm,s[z2.RULE_STOP]=()=>new t4,s[z2.BLOCK_END]=()=>new ui,s[z2.STAR_LOOP_BACK]=()=>new di,s[z2.STAR_LOOP_ENTRY]=()=>new l5,s[z2.PLUS_LOOP_BACK]=()=>new Ua,s[z2.LOOP_END]=()=>new i8,this.stateFactories=s}if(e>this.stateFactories.length||this.stateFactories[e]===null)throw"The specified state type "+e+" is not valid.";{const s=this.stateFactories[e]();if(s!==null)return s.ruleIndex=n,s}}lexerActionFactory(e,n,s){if(this.actionFactories===null){const l=[];l[V3.CHANNEL]=(L,c)=>new pi(L),l[V3.CUSTOM]=(L,c)=>new mi(L,c),l[V3.MODE]=(L,c)=>new _i(L),l[V3.MORE]=(L,c)=>xi.INSTANCE,l[V3.POP_MODE]=(L,c)=>Mi.INSTANCE,l[V3.PUSH_MODE]=(L,c)=>new vi(L),l[V3.SKIP]=(L,c)=>gi.INSTANCE,l[V3.TYPE]=(L,c)=>new wi(L),this.actionFactories=l}if(e>this.actionFactories.length||this.actionFactories[e]===null)throw"The specified lexer action type "+e+" is not valid.";return this.actionFactories[e](n,s)}}class ge{syntaxError(e,n,s,l,L,c){}reportAmbiguity(e,n,s,l,L,c,C){}reportAttemptingFullContext(e,n,s,l,L,c){}reportContextSensitivity(e,n,s,l,L,c){}}class Ri extends ge{constructor(){super()}syntaxError(e,n,s,l,L,c){console.error("line "+s+":"+l+" "+L)}}Ri.INSTANCE=new Ri;class Bm extends ge{constructor(e){if(super(),e===null)throw"delegates";return this.delegates=e,this}syntaxError(e,n,s,l,L,c){this.delegates.map(C=>C.syntaxError(e,n,s,l,L,c))}reportAmbiguity(e,n,s,l,L,c,C){this.delegates.map(d=>d.reportAmbiguity(e,n,s,l,L,c,C))}reportAttemptingFullContext(e,n,s,l,L,c){this.delegates.map(C=>C.reportAttemptingFullContext(e,n,s,l,L,c))}reportContextSensitivity(e,n,s,l,L,c){this.delegates.map(C=>C.reportContextSensitivity(e,n,s,l,L,c))}}class pe{constructor(){this._listeners=[Ri.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(e){const n="4.11.0";n!==e&&console.log("ANTLR runtime and generated code versions disagree: "+n+"!="+e)}addErrorListener(e){this._listeners.push(e)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const e=this.getLiteralNames(),n=this.getSymbolicNames(),s=e.length>n.length?e.length:n.length;this.tokenNames=[];for(let l=0;l<s;l++)this.tokenNames[l]=e[l]||n[l]||"<INVALID"}return this.tokenNames}getTokenTypeMap(){const e=this.getTokenNames();if(e===null)throw"The current recognizer does not provide a list of token names.";let n=this.tokenTypeMapCache[e];return n===void 0&&(n=e.reduce(function(s,l,L){s[l]=L}),n.EOF=w2.EOF,this.tokenTypeMapCache[e]=n),n}getRuleIndexMap(){const e=this.ruleNames;if(e===null)throw"The current recognizer does not provide a list of rule names.";let n=this.ruleIndexMapCache[e];return n===void 0&&(n=e.reduce(function(s,l,L){s[l]=L}),this.ruleIndexMapCache[e]=n),n}getTokenType(e){const n=this.getTokenTypeMap()[e];return n!==void 0?n:w2.INVALID_TYPE}getErrorHeader(e){const n=e.getOffendingToken().line,s=e.getOffendingToken().column;return"line "+n+":"+s}getTokenErrorDisplay(e){if(e===null)return"<no token>";let n=e.text;return n===null&&(e.type===w2.EOF?n="<EOF>":n="<"+e.type+">"),n=n.replace(`
19
+ `,"\\n").replace("\r","\\r").replace(" ","\\t"),"'"+n+"'"}getErrorListenerDispatch(){return new Bm(this._listeners)}sempred(e,n,s){return!0}precpred(e,n){return!0}get state(){return this._stateNumber}set state(e){this._stateNumber=e}}pe.tokenTypeMapCache={},pe.ruleIndexMapCache={};class r5 extends w2{constructor(e,n,s,l,L){super(),this.source=e!==void 0?e:r5.EMPTY_SOURCE,this.type=n!==void 0?n:null,this.channel=s!==void 0?s:w2.DEFAULT_CHANNEL,this.start=l!==void 0?l:-1,this.stop=L!==void 0?L:-1,this.tokenIndex=-1,this.source[0]!==null?(this.line=e[0].line,this.column=e[0].column):this.column=-1}clone(){const e=new r5(this.source,this.type,this.channel,this.start,this.stop);return e.tokenIndex=this.tokenIndex,e.line=this.line,e.column=this.column,e.text=this.text,e}toString(){let e=this.text;return e!==null?e=e.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):e="<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+e+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(this._text!==null)return this._text;const e=this.getInputStream();if(e===null)return null;const n=e.size;return this.start<n&&this.stop<n?e.getText(this.start,this.stop):"<EOF>"}set text(e){this._text=e}}r5.EMPTY_SOURCE=[null,null];class Um{}class bi extends Um{constructor(e){super(),this.copyText=e===void 0?!1:e}create(e,n,s,l,L,c,C,d){const f=new r5(e,n,l,L,c);return f.line=C,f.column=d,s!==null?f.text=s:this.copyText&&e[1]!==null&&(f.text=e[1].getText(L,c)),f}createThin(e,n){const s=new r5(null,e);return s.text=n,s}}bi.DEFAULT=new bi;class x0 extends Error{constructor(e){super(e.message),Error.captureStackTrace&&Error.captureStackTrace(this,x0),this.message=e.message,this.recognizer=e.recognizer,this.input=e.input,this.ctx=e.ctx,this.offendingToken=null,this.offendingState=-1,this.recognizer!==null&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}class Ai extends x0{constructor(e,n,s,l){super({message:"",recognizer:e,input:n,ctx:null}),this.startIndex=s,this.deadEndConfigs=l}toString(){let e="";return this.startIndex>=0&&this.startIndex<this.input.size&&(e=this.input.getText(new S1(this.startIndex,this.startIndex))),"LexerNoViableAltException"+e}}let i4=class o5 extends pe{constructor(e){super(),this._input=e,this._factory=bi.DEFAULT,this._tokenFactorySourcePair=[this,e],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=w2.DEFAULT_CHANNEL,this._type=w2.INVALID_TYPE,this._modeStack=[],this._mode=o5.DEFAULT_MODE,this._text=null}reset(){this._input!==null&&this._input.seek(0),this._token=null,this._type=w2.INVALID_TYPE,this._channel=w2.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=o5.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(this._input===null)throw"nextToken requires a non-null input stream.";const e=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=w2.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let n=!1;for(;;){this._type=w2.INVALID_TYPE;let s=o5.SKIP;try{s=this._interp.match(this._input,this._mode)}catch(l){if(l instanceof x0)this.notifyListeners(l),this.recover(l);else throw console.log(l.stack),l}if(this._input.LA(1)===w2.EOF&&(this._hitEOF=!0),this._type===w2.INVALID_TYPE&&(this._type=s),this._type===o5.SKIP){n=!0;break}if(this._type!==o5.MORE)break}if(!n)return this._token===null&&this.emit(),this._token}}finally{this._input.release(e)}}skip(){this._type=o5.SKIP}more(){this._type=o5.MORE}mode(e){this._mode=e}pushMode(e){this._interp.debug&&console.log("pushMode "+e),this._modeStack.push(this._mode),this.mode(e)}popMode(){if(this._modeStack.length===0)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(e){this._token=e}emit(){const e=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(e),e}emitEOF(){const e=this.column,n=this.line,s=this._factory.create(this._tokenFactorySourcePair,w2.EOF,null,w2.DEFAULT_CHANNEL,this._input.index,this._input.index-1,n,e);return this.emitToken(s),s}getCharIndex(){return this._input.index}getAllTokens(){const e=[];let n=this.nextToken();for(;n.type!==w2.EOF;)e.push(n),n=this.nextToken();return e}notifyListeners(e){const n=this._tokenStartCharIndex,s=this._input.index,l=this._input.getText(n,s),L="token recognition error at: '"+this.getErrorDisplay(l)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,L,e)}getErrorDisplay(e){const n=[];for(let s=0;s<e.length;s++)n.push(e[s]);return n.join("")}getErrorDisplayForChar(e){return e.charCodeAt(0)===w2.EOF?"<EOF>":e===`
20
20
  `?"\\n":e===" "?"\\t":e==="\r"?"\\r":e}getCharErrorDisplay(e){return"'"+this.getErrorDisplayForChar(e)+"'"}recover(e){this._input.LA(1)!==w2.EOF&&(e instanceof Ai?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(e){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=e,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(e){this._type=e}get line(){return this._interp.line}set line(e){this._interp.line=e}get column(){return this._interp.column}set column(e){this._interp.column=e}get text(){return this._text!==null?this._text:this._interp.getText(this._input)}set text(e){this._text=e}};i4.DEFAULT_MODE=0,i4.MORE=-2,i4.SKIP=-3,i4.DEFAULT_TOKEN_CHANNEL=w2.DEFAULT_CHANNEL,i4.HIDDEN=w2.HIDDEN_CHANNEL,i4.MIN_CHAR_VALUE=0,i4.MAX_CHAR_VALUE=1114111;function Hm(t){return t.hashCodeForConfigSet()}function Pm(t,e){return t===e?!0:t===null||e===null?!1:t.equalsForConfigSet(e)}class s4{constructor(e){this.configLookup=new k4(Hm,Pm),this.fullCtx=e===void 0?!0:e,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(e,n){if(n===void 0&&(n=null),this.readOnly)throw"This set is readonly";e.semanticContext!==A1.NONE&&(this.hasSemanticContext=!0),e.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const s=this.configLookup.add(e);if(s===e)return this.cachedHashCode=-1,this.configs.push(e),!0;const l=!this.fullCtx,L=Ci(s.context,e.context,l,n);return s.reachesIntoOuterContext=Math.max(s.reachesIntoOuterContext,e.reachesIntoOuterContext),e.precedenceFilterSuppressed&&(s.precedenceFilterSuppressed=!0),s.context=L,!0}getStates(){const e=new k4;for(let n=0;n<this.configs.length;n++)e.add(this.configs[n].state);return e}getPredicates(){const e=[];for(let n=0;n<this.configs.length;n++){const s=this.configs[n].semanticContext;s!==A1.NONE&&e.push(s.semanticContext)}return e}optimizeConfigs(e){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(let n=0;n<this.configs.length;n++){const s=this.configs[n];s.context=e.getCachedContext(s.context)}}addAll(e){for(let n=0;n<e.length;n++)this.add(e[n]);return!1}equals(e){return this===e||e instanceof s4&&K5(this.configs,e.configs)&&this.fullCtx===e.fullCtx&&this.uniqueAlt===e.uniqueAlt&&this.conflictingAlts===e.conflictingAlts&&this.hasSemanticContext===e.hasSemanticContext&&this.dipsIntoOuterContext===e.dipsIntoOuterContext}hashCode(){const e=new S4;return e.update(this.configs),e.finish()}updateHashCode(e){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),e.update(this.cachedHashCode)):e.update(this.hashCode())}isEmpty(){return this.configs.length===0}contains(e){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(e)}containsFast(e){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(e)}clear(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new k4}setReadonly(e){this.readOnly=e,e&&(this.configLookup=null)}toString(){return m0(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==n3.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(this.conflictingAlts!==null?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")}get items(){return this.configs}get length(){return this.configs.length}}class P9{constructor(e,n){return e===null&&(e=-1),n===null&&(n=new s4),this.stateNumber=e,this.configs=n,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const e=new k4;if(this.configs!==null)for(let n=0;n<this.configs.length;n++){const s=this.configs[n];e.add(s.alt)}return e.length===0?null:e}equals(e){return this===e||e instanceof P9&&this.configs.equals(e.configs)}toString(){let e=""+this.stateNumber+":"+this.configs;return this.isAcceptState&&(e=e+"=>",this.predicates!==null?e=e+this.predicates:e=e+this.prediction),e}hashCode(){const e=new S4;return e.update(this.configs),e.finish()}}class M9{constructor(e,n){return this.atn=e,this.sharedContextCache=n,this}getCachedContext(e){if(this.sharedContextCache===null)return e;const n=new d6;return Da(e,this.sharedContextCache,n)}}M9.ERROR=new P9(2147483647,new s4);class Va extends s4{constructor(){super(),this.configLookup=new k4}}class d4 extends L3{constructor(e,n){super(e,n);const s=e.lexerActionExecutor||null;return this.lexerActionExecutor=s||(n!==null?n.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=n!==null?this.checkNonGreedyDecision(n,this.state):!1,this.hashCodeForConfigSet=d4.prototype.hashCode,this.equalsForConfigSet=d4.prototype.equals,this}updateHashCode(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(e){return this===e||e instanceof d4&&this.passedThroughNonGreedyDecision===e.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(e.lexerActionExecutor):!e.lexerActionExecutor)&&super.equals(e)}checkNonGreedyDecision(e,n){return e.passedThroughNonGreedyDecision||n instanceof t8&&n.nonGreedy}}class g6 extends H9{constructor(e,n){super(n.actionType),this.offset=e,this.action=n,this.isPositionDependent=!0}execute(e){this.action.execute(e)}updateHashCode(e){e.update(this.actionType,this.offset,this.action)}equals(e){return this===e?!0:e instanceof g6?this.offset===e.offset&&this.action===e.action:!1}}class s8{constructor(e){return this.lexerActions=e===null?[]:e,this.cachedHashCode=S4.hashStuff(e),this}fixOffsetBeforeMatch(e){let n=null;for(let s=0;s<this.lexerActions.length;s++)this.lexerActions[s].isPositionDependent&&!(this.lexerActions[s]instanceof g6)&&(n===null&&(n=this.lexerActions.concat([])),n[s]=new g6(e,this.lexerActions[s]));return n===null?this:new s8(n)}execute(e,n,s){let l=!1;const L=n.index;try{for(let c=0;c<this.lexerActions.length;c++){let C=this.lexerActions[c];if(C instanceof g6){const d=C.offset;n.seek(s+d),C=C.action,l=s+d!==L}else C.isPositionDependent&&(n.seek(L),l=!1);C.execute(e)}}finally{l&&n.seek(L)}}hashCode(){return this.cachedHashCode}updateHashCode(e){e.update(this.cachedHashCode)}equals(e){if(this===e)return!0;if(e instanceof s8){if(this.cachedHashCode!=e.cachedHashCode)return!1;if(this.lexerActions.length!=e.lexerActions.length)return!1;{const n=this.lexerActions.length;for(let s=0;s<n;++s)if(!this.lexerActions[s].equals(e.lexerActions[s]))return!1;return!0}}else return!1}static append(e,n){if(e===null)return new s8([n]);const s=e.lexerActions.concat([n]);return new s8(s)}}function Ga(t){t.index=-1,t.line=0,t.column=-1,t.dfaState=null}class Wm{constructor(){Ga(this)}reset(){Ga(this)}}class o3 extends M9{constructor(e,n,s,l){super(n,l),this.decisionToDFA=s,this.recog=e,this.startIndex=-1,this.line=1,this.column=0,this.mode=i4.DEFAULT_MODE,this.prevAccept=new Wm}copyState(e){this.column=e.column,this.line=e.line,this.mode=e.mode,this.startIndex=e.startIndex}match(e,n){this.mode=n;const s=e.mark();try{this.startIndex=e.index,this.prevAccept.reset();const l=this.decisionToDFA[n];return l.s0===null?this.matchATN(e):this.execATN(e,l.s0)}finally{e.release(s)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=i4.DEFAULT_MODE}matchATN(e){const n=this.atn.modeToStartState[this.mode];o3.debug&&console.log("matchATN mode "+this.mode+" start: "+n);const s=this.mode,l=this.computeStartState(e,n),L=l.hasSemanticContext;l.hasSemanticContext=!1;const c=this.addDFAState(l);L||(this.decisionToDFA[this.mode].s0=c);const C=this.execATN(e,c);return o3.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[s].toLexerString()),C}execATN(e,n){o3.debug&&console.log("start state closure="+n.configs),n.isAcceptState&&this.captureSimState(this.prevAccept,e,n);let s=e.LA(1),l=n;for(;;){o3.debug&&console.log("execATN loop starting closure: "+l.configs);let L=this.getExistingTargetState(l,s);if(L===null&&(L=this.computeTargetState(e,l,s)),L===M9.ERROR||(s!==w2.EOF&&this.consume(e),L.isAcceptState&&(this.captureSimState(this.prevAccept,e,L),s===w2.EOF)))break;s=e.LA(1),l=L}return this.failOrAccept(this.prevAccept,e,l.configs,s)}getExistingTargetState(e,n){if(e.edges===null||n<o3.MIN_DFA_EDGE||n>o3.MAX_DFA_EDGE)return null;let s=e.edges[n-o3.MIN_DFA_EDGE];return s===void 0&&(s=null),o3.debug&&s!==null&&console.log("reuse state "+e.stateNumber+" edge to "+s.stateNumber),s}computeTargetState(e,n,s){const l=new Va;return this.getReachableConfigSet(e,n.configs,l,s),l.items.length===0?(l.hasSemanticContext||this.addDFAEdge(n,s,M9.ERROR),M9.ERROR):this.addDFAEdge(n,s,null,l)}failOrAccept(e,n,s,l){if(this.prevAccept.dfaState!==null){const L=e.dfaState.lexerActionExecutor;return this.accept(n,L,this.startIndex,e.index,e.line,e.column),e.dfaState.prediction}else{if(l===w2.EOF&&n.index===this.startIndex)return w2.EOF;throw new Ai(this.recog,n,this.startIndex,s)}}getReachableConfigSet(e,n,s,l){let L=n3.INVALID_ALT_NUMBER;for(let c=0;c<n.items.length;c++){const C=n.items[c],d=C.alt===L;if(!(d&&C.passedThroughNonGreedyDecision)){o3.debug&&console.log(`testing %s at %s
21
21
  `,this.getTokenName(l),C.toString(this.recog,!0));for(let f=0;f<C.state.transitions.length;f++){const g=C.state.transitions[f],p=this.getReachableTarget(g,l);if(p!==null){let m=C.lexerActionExecutor;m!==null&&(m=m.fixOffsetBeforeMatch(e.index-this.startIndex));const v=l===w2.EOF,b=new d4({state:p,lexerActionExecutor:m},C);this.closure(e,b,s,d,!0,v)&&(L=C.alt)}}}}}accept(e,n,s,l,L,c){o3.debug&&console.log(`ACTION %s
22
22
  `,n),e.seek(l),this.line=L,this.column=c,n!==null&&this.recog!==null&&n.execute(this.recog,e,s)}getReachableTarget(e,n){return e.matches(n,0,i4.MAX_CHAR_VALUE)?e.target:null}computeStartState(e,n){const s=a1.EMPTY,l=new Va;for(let L=0;L<n.transitions.length;L++){const c=n.transitions[L].target,C=new d4({state:c,alt:L+1,context:s},null);this.closure(e,C,l,!1,!1,!1)}return l}closure(e,n,s,l,L,c){let C=null;if(o3.debug&&console.log("closure("+n.toString(this.recog,!0)+")"),n.state instanceof t4){if(o3.debug&&(this.recog!==null?console.log(`closure at %s rule stop %s
23
23
  `,this.recog.ruleNames[n.state.ruleIndex],n):console.log(`closure at rule stop %s
24
24
  `,n)),n.context===null||n.context.hasEmptyPath()){if(n.context===null||n.context.isEmpty())return s.add(n),!0;s.add(new d4({state:n.state,context:a1.EMPTY},n)),l=!0}if(n.context!==null&&!n.context.isEmpty()){for(let d=0;d<n.context.length;d++)if(n.context.getReturnState(d)!==a1.EMPTY_RETURN_STATE){const f=n.context.getParent(d),g=this.atn.states[n.context.getReturnState(d)];C=new d4({state:g,context:f},n),l=this.closure(e,C,s,l,L,c)}}return l}n.state.epsilonOnlyTransitions||(!l||!n.passedThroughNonGreedyDecision)&&s.add(n);for(let d=0;d<n.state.transitions.length;d++){const f=n.state.transitions[d];C=this.getEpsilonTarget(e,n,f,s,L,c),C!==null&&(l=this.closure(e,C,s,l,L,c))}return l}getEpsilonTarget(e,n,s,l,L,c){let C=null;if(s.serializationType===A2.RULE){const d=n4.create(n.context,s.followState.stateNumber);C=new d4({state:s.target,context:d},n)}else{if(s.serializationType===A2.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(s.serializationType===A2.PREDICATE)o3.debug&&console.log("EVAL rule "+s.ruleIndex+":"+s.predIndex),l.hasSemanticContext=!0,this.evaluatePredicate(e,s.ruleIndex,s.predIndex,L)&&(C=new d4({state:s.target},n));else if(s.serializationType===A2.ACTION)if(n.context===null||n.context.hasEmptyPath()){const d=s8.append(n.lexerActionExecutor,this.atn.lexerActions[s.actionIndex]);C=new d4({state:s.target,lexerActionExecutor:d},n)}else C=new d4({state:s.target},n);else s.serializationType===A2.EPSILON?C=new d4({state:s.target},n):(s.serializationType===A2.ATOM||s.serializationType===A2.RANGE||s.serializationType===A2.SET)&&c&&s.matches(w2.EOF,0,i4.MAX_CHAR_VALUE)&&(C=new d4({state:s.target},n))}return C}evaluatePredicate(e,n,s,l){if(this.recog===null)return!0;if(!l)return this.recog.sempred(null,n,s);const L=this.column,c=this.line,C=e.index,d=e.mark();try{return this.consume(e),this.recog.sempred(null,n,s)}finally{this.column=L,this.line=c,e.seek(C),e.release(d)}}captureSimState(e,n,s){e.index=n.index,e.line=this.line,e.column=this.column,e.dfaState=s}addDFAEdge(e,n,s,l){if(s===void 0&&(s=null),l===void 0&&(l=null),s===null&&l!==null){const L=l.hasSemanticContext;if(l.hasSemanticContext=!1,s=this.addDFAState(l),L)return s}return n<o3.MIN_DFA_EDGE||n>o3.MAX_DFA_EDGE||(o3.debug&&console.log("EDGE "+e+" -> "+s+" upon "+n),e.edges===null&&(e.edges=[]),e.edges[n-o3.MIN_DFA_EDGE]=s),s}addDFAState(e){const n=new P9(null,e);let s=null;for(let C=0;C<e.items.length;C++){const d=e.items[C];if(d.state instanceof t4){s=d;break}}s!==null&&(n.isAcceptState=!0,n.lexerActionExecutor=s.lexerActionExecutor,n.prediction=this.atn.ruleToTokenType[s.state.ruleIndex]);const l=this.decisionToDFA[this.mode],L=l.states.get(n);if(L!==null)return L;const c=n;return c.stateNumber=l.states.length,e.setReadonly(!0),c.configs=e,l.states.add(c),c}getDFA(e){return this.decisionToDFA[e]}getText(e){return e.getText(this.startIndex,e.index-1)}consume(e){e.LA(1)===10?(this.line+=1,this.column=0):this.column+=1,e.consume()}getTokenName(e){return e===-1?"EOF":"'"+String.fromCharCode(e)+"'"}}o3.debug=!1,o3.dfa_debug=!1,o3.MIN_DFA_EDGE=0,o3.MAX_DFA_EDGE=127;class qa{constructor(e,n){this.alt=n,this.pred=e}toString(){return"("+this.pred+", "+this.alt+")"}}class jm{constructor(){this.data={}}get(e){return this.data["k-"+e]||null}set(e,n){this.data["k-"+e]=n}values(){return Object.keys(this.data).filter(e=>e.startsWith("k-")).map(e=>this.data[e],this)}}const j1={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(t,e){if(j1.allConfigsInRuleStopStates(e))return!0;if(t===j1.SLL&&e.hasSemanticContext){const s=new s4;for(let l=0;l<e.items.length;l++){let L=e.items[l];L=new L3({semanticContext:A1.NONE},L),s.add(L)}e=s}const n=j1.getConflictingAltSubsets(e);return j1.hasConflictingAltSet(n)&&!j1.hasStateAssociatedWithOneAlt(e)},hasConfigInRuleStopState:function(t){for(let e=0;e<t.items.length;e++)if(t.items[e].state instanceof t4)return!0;return!1},allConfigsInRuleStopStates:function(t){for(let e=0;e<t.items.length;e++)if(!(t.items[e].state instanceof t4))return!1;return!0},resolvesToJustOneViableAlt:function(t){return j1.getSingleViableAlt(t)},allSubsetsConflict:function(t){return!j1.hasNonConflictingAltSet(t)},hasNonConflictingAltSet:function(t){for(let e=0;e<t.length;e++)if(t[e].length===1)return!0;return!1},hasConflictingAltSet:function(t){for(let e=0;e<t.length;e++)if(t[e].length>1)return!0;return!1},allSubsetsEqual:function(t){let e=null;for(let n=0;n<t.length;n++){const s=t[n];if(e===null)e=s;else if(s!==e)return!1}return!0},getUniqueAlt:function(t){const e=j1.getAlts(t);return e.length===1?e.minValue():n3.INVALID_ALT_NUMBER},getAlts:function(t){const e=new v9;return t.map(function(n){e.or(n)}),e},getConflictingAltSubsets:function(t){const e=new d6;return e.hashFunction=function(n){S4.hashStuff(n.state.stateNumber,n.context)},e.equalsFunction=function(n,s){return n.state.stateNumber===s.state.stateNumber&&n.context.equals(s.context)},t.items.map(function(n){let s=e.get(n);s===null&&(s=new v9,e.set(n,s)),s.add(n.alt)}),e.getValues()},getStateToAltMap:function(t){const e=new jm;return t.items.map(function(n){let s=e.get(n.state);s===null&&(s=new v9,e.set(n.state,s)),s.add(n.alt)}),e},hasStateAssociatedWithOneAlt:function(t){const e=j1.getStateToAltMap(t).values();for(let n=0;n<e.length;n++)if(e[n].length===1)return!0;return!1},getSingleViableAlt:function(t){let e=null;for(let n=0;n<t.length;n++){const l=t[n].minValue();if(e===null)e=l;else if(e!==l)return n3.INVALID_ALT_NUMBER}return e}};class Si extends x0{constructor(e,n,s,l,L,c){c=c||e._ctx,l=l||e.getCurrentToken(),s=s||e.getCurrentToken(),n=n||e.getInputStream(),super({message:"",recognizer:e,input:n,ctx:c}),this.deadEndConfigs=L,this.startToken=s,this.offendingToken=l}}class $m{constructor(e){this.defaultMapCtor=e||d6,this.cacheMap=new this.defaultMapCtor}get(e,n){const s=this.cacheMap.get(e)||null;return s===null?null:s.get(n)||null}set(e,n,s){let l=this.cacheMap.get(e)||null;l===null&&(l=new this.defaultMapCtor,this.cacheMap.set(e,l)),l.set(n,s)}}class Vm extends M9{constructor(e,n,s,l){super(n,l),this.parser=e,this.decisionToDFA=s,this.predictionMode=j1.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(e,n,s){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+n+" exec LA(1)=="+this.getLookaheadName(e)+" line "+e.LT(1).line+":"+e.LT(1).column),this._input=e,this._startIndex=e.index,this._outerContext=s;const l=this.decisionToDFA[n];this._dfa=l;const L=e.mark(),c=e.index;try{let C;if(l.precedenceDfa?C=l.getPrecedenceStartState(this.parser.getPrecedence()):C=l.s0,C===null){s===null&&(s=J5.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+l.decision+" exec LA(1)=="+this.getLookaheadName(e)+", outerContext="+s.toString(this.parser.ruleNames));let g=this.computeStartState(l.atnStartState,J5.EMPTY,!1);l.precedenceDfa?(l.s0.configs=g,g=this.applyPrecedenceFilter(g),C=this.addDFAState(l,new P9(null,g)),l.setPrecedenceStartState(this.parser.getPrecedence(),C)):(C=this.addDFAState(l,new P9(null,g)),l.s0=C)}const d=this.execATN(l,C,e,c,s);return this.debug&&console.log("DFA after predictATN: "+l.toString(this.parser.literalNames,this.parser.symbolicNames)),d}finally{this._dfa=null,this.mergeCache=null,e.seek(c),e.release(L)}}execATN(e,n,s,l,L){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+e.decision+" exec LA(1)=="+this.getLookaheadName(s)+" line "+s.LT(1).line+":"+s.LT(1).column);let c,C=n;this.debug&&console.log("s0 = "+n);let d=s.LA(1);for(;;){let f=this.getExistingTargetState(C,d);if(f===null&&(f=this.computeTargetState(e,C,d)),f===M9.ERROR){const g=this.noViableAlt(s,L,C.configs,l);if(s.seek(l),c=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(C.configs,L),c!==n3.INVALID_ALT_NUMBER)return c;throw g}if(f.requiresFullContext&&this.predictionMode!==j1.SLL){let g=null;if(f.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const v=s.index;if(v!==l&&s.seek(l),g=this.evalSemanticContext(f.predicates,L,!0),g.length===1)return this.debug&&console.log("Full LL avoided"),g.minValue();v!==l&&s.seek(v)}this.dfa_debug&&console.log("ctx sensitive state "+L+" in "+f);const m=this.computeStartState(e.atnStartState,L,!0);return this.reportAttemptingFullContext(e,g,f.configs,l,s.index),c=this.execATNWithFullContext(e,f,m,s,l,L),c}if(f.isAcceptState){if(f.predicates===null)return f.prediction;const g=s.index;s.seek(l);const p=this.evalSemanticContext(f.predicates,L,!0);if(p.length===0)throw this.noViableAlt(s,L,f.configs,l);return p.length===1||this.reportAmbiguity(e,f,l,g,!1,p,f.configs),p.minValue()}C=f,d!==w2.EOF&&(s.consume(),d=s.LA(1))}}getExistingTargetState(e,n){const s=e.edges;return s===null?null:s[n+1]||null}computeTargetState(e,n,s){const l=this.computeReachSet(n.configs,s,!1);if(l===null)return this.addDFAEdge(e,n,s,M9.ERROR),M9.ERROR;let L=new P9(null,l);const c=this.getUniqueAlt(l);if(this.debug){const C=j1.getConflictingAltSubsets(l);console.log("SLL altSubSets="+m0(C)+", configs="+l+", predict="+c+", allSubsetsConflict="+j1.allSubsetsConflict(C)+", conflictingAlts="+this.getConflictingAlts(l))}return c!==n3.INVALID_ALT_NUMBER?(L.isAcceptState=!0,L.configs.uniqueAlt=c,L.prediction=c):j1.hasSLLConflictTerminatingPrediction(this.predictionMode,l)&&(L.configs.conflictingAlts=this.getConflictingAlts(l),L.requiresFullContext=!0,L.isAcceptState=!0,L.prediction=L.configs.conflictingAlts.minValue()),L.isAcceptState&&L.configs.hasSemanticContext&&(this.predicateDFAState(L,this.atn.getDecisionState(e.decision)),L.predicates!==null&&(L.prediction=n3.INVALID_ALT_NUMBER)),L=this.addDFAEdge(e,n,s,L),L}predicateDFAState(e,n){const s=n.transitions.length,l=this.getConflictingAltsOrUniqueAlt(e.configs),L=this.getPredsForAmbigAlts(l,e.configs,s);L!==null?(e.predicates=this.getPredicatePredictions(l,L),e.prediction=n3.INVALID_ALT_NUMBER):e.prediction=l.minValue()}execATNWithFullContext(e,n,s,l,L,c){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+s);const C=!0;let d=!1,f,g=s;l.seek(L);let p=l.LA(1),m=-1;for(;;){if(f=this.computeReachSet(g,p,C),f===null){const b=this.noViableAlt(l,c,g,L);l.seek(L);const A=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(g,c);if(A!==n3.INVALID_ALT_NUMBER)return A;throw b}const v=j1.getConflictingAltSubsets(f);if(this.debug&&console.log("LL altSubSets="+v+", predict="+j1.getUniqueAlt(v)+", resolvesToJustOneViableAlt="+j1.resolvesToJustOneViableAlt(v)),f.uniqueAlt=this.getUniqueAlt(f),f.uniqueAlt!==n3.INVALID_ALT_NUMBER){m=f.uniqueAlt;break}else if(this.predictionMode!==j1.LL_EXACT_AMBIG_DETECTION){if(m=j1.resolvesToJustOneViableAlt(v),m!==n3.INVALID_ALT_NUMBER)break}else if(j1.allSubsetsConflict(v)&&j1.allSubsetsEqual(v)){d=!0,m=j1.getSingleViableAlt(v);break}g=f,p!==w2.EOF&&(l.consume(),p=l.LA(1))}return f.uniqueAlt!==n3.INVALID_ALT_NUMBER?(this.reportContextSensitivity(e,m,f,L,l.index),m):(this.reportAmbiguity(e,n,L,l.index,d,null,f),m)}computeReachSet(e,n,s){this.debug&&console.log("in computeReachSet, starting closure: "+e),this.mergeCache===null&&(this.mergeCache=new $m);const l=new s4(s);let L=null;for(let C=0;C<e.items.length;C++){const d=e.items[C];if(this.debug&&console.log("testing "+this.getTokenName(n)+" at "+d),d.state instanceof t4){(s||n===w2.EOF)&&(L===null&&(L=[]),L.push(d),this.debug_add&&console.log("added "+d+" to skippedStopStates"));continue}for(let f=0;f<d.state.transitions.length;f++){const g=d.state.transitions[f],p=this.getReachableTarget(g,n);if(p!==null){const m=new L3({state:p},d);l.add(m,this.mergeCache),this.debug_add&&console.log("added "+m+" to intermediate")}}}let c=null;if(L===null&&n!==w2.EOF&&(l.items.length===1||this.getUniqueAlt(l)!==n3.INVALID_ALT_NUMBER)&&(c=l),c===null){c=new s4(s);const C=new k4,d=n===w2.EOF;for(let f=0;f<l.items.length;f++)this.closure(l.items[f],c,C,!1,s,d)}if(n===w2.EOF&&(c=this.removeAllConfigsNotInRuleStopState(c,c===l)),L!==null&&(!s||!j1.hasConfigInRuleStopState(c)))for(let C=0;C<L.length;C++)c.add(L[C],this.mergeCache);return c.items.length===0?null:c}removeAllConfigsNotInRuleStopState(e,n){if(j1.allConfigsInRuleStopStates(e))return e;const s=new s4(e.fullCtx);for(let l=0;l<e.items.length;l++){const L=e.items[l];if(L.state instanceof t4){s.add(L,this.mergeCache);continue}if(n&&L.state.epsilonOnlyTransitions&&this.atn.nextTokens(L.state).contains(w2.EPSILON)){const C=this.atn.ruleToStopState[L.state.ruleIndex];s.add(new L3({state:C},L),this.mergeCache)}}return s}computeStartState(e,n,s){const l=ci(this.atn,n),L=new s4(s);for(let c=0;c<e.transitions.length;c++){const C=e.transitions[c].target,d=new L3({state:C,alt:c+1,context:l},null),f=new k4;this.closure(d,L,f,!0,s,!1)}return L}applyPrecedenceFilter(e){let n;const s=[],l=new s4(e.fullCtx);for(let L=0;L<e.items.length;L++){if(n=e.items[L],n.alt!==1)continue;const c=n.semanticContext.evalPrecedence(this.parser,this._outerContext);c!==null&&(s[n.state.stateNumber]=n.context,c!==n.semanticContext?l.add(new L3({semanticContext:c},n),this.mergeCache):l.add(n,this.mergeCache))}for(let L=0;L<e.items.length;L++)if(n=e.items[L],n.alt!==1){if(!n.precedenceFilterSuppressed){const c=s[n.state.stateNumber]||null;if(c!==null&&c.equals(n.context))continue}l.add(n,this.mergeCache)}return l}getReachableTarget(e,n){return e.matches(n,0,this.atn.maxTokenType)?e.target:null}getPredsForAmbigAlts(e,n,s){let l=[];for(let c=0;c<n.items.length;c++){const C=n.items[c];e.has(C.alt)&&(l[C.alt]=A1.orContext(l[C.alt]||null,C.semanticContext))}let L=0;for(let c=1;c<s+1;c++){const C=l[c]||null;C===null?l[c]=A1.NONE:C!==A1.NONE&&(L+=1)}return L===0&&(l=null),this.debug&&console.log("getPredsForAmbigAlts result "+m0(l)),l}getPredicatePredictions(e,n){const s=[];let l=!1;for(let L=1;L<n.length;L++){const c=n[L];e!==null&&e.has(L)&&s.push(new qa(c,L)),c!==A1.NONE&&(l=!0)}return l?s:null}getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(e,n){const s=this.splitAccordingToSemanticValidity(e,n),l=s[0],L=s[1];let c=this.getAltThatFinishedDecisionEntryRule(l);return c!==n3.INVALID_ALT_NUMBER||L.items.length>0&&(c=this.getAltThatFinishedDecisionEntryRule(L),c!==n3.INVALID_ALT_NUMBER)?c:n3.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(e){const n=[];for(let s=0;s<e.items.length;s++){const l=e.items[s];(l.reachesIntoOuterContext>0||l.state instanceof t4&&l.context.hasEmptyPath())&&n.indexOf(l.alt)<0&&n.push(l.alt)}return n.length===0?n3.INVALID_ALT_NUMBER:Math.min.apply(null,n)}splitAccordingToSemanticValidity(e,n){const s=new s4(e.fullCtx),l=new s4(e.fullCtx);for(let L=0;L<e.items.length;L++){const c=e.items[L];c.semanticContext!==A1.NONE?c.semanticContext.evaluate(this.parser,n)?s.add(c):l.add(c):s.add(c)}return[s,l]}evalSemanticContext(e,n,s){const l=new v9;for(let L=0;L<e.length;L++){const c=e[L];if(c.pred===A1.NONE){if(l.add(c.alt),!s)break;continue}const C=c.pred.evaluate(this.parser,n);if((this.debug||this.dfa_debug)&&console.log("eval pred "+c+"="+C),C&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+c.alt),l.add(c.alt),!s))break}return l}closure(e,n,s,l,L,c){this.closureCheckingStopState(e,n,s,l,L,0,c)}closureCheckingStopState(e,n,s,l,L,c,C){if((this.debug||this.debug_closure)&&(console.log("closure("+e.toString(this.parser,!0)+")"),e.reachesIntoOuterContext>50))throw"problem";if(e.state instanceof t4)if(e.context.isEmpty())if(L){n.add(e,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex));else{for(let d=0;d<e.context.length;d++){if(e.context.getReturnState(d)===a1.EMPTY_RETURN_STATE){if(L){n.add(new L3({state:e.state,context:a1.EMPTY},e),this.mergeCache);continue}else this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex)),this.closure_(e,n,s,l,L,c,C);continue}const f=this.atn.states[e.context.getReturnState(d)],g=e.context.getParent(d),p={state:f,alt:e.alt,context:g,semanticContext:e.semanticContext},m=new L3(p,null);m.reachesIntoOuterContext=e.reachesIntoOuterContext,this.closureCheckingStopState(m,n,s,l,L,c-1,C)}return}this.closure_(e,n,s,l,L,c,C)}closure_(e,n,s,l,L,c,C){const d=e.state;d.epsilonOnlyTransitions||n.add(e,this.mergeCache);for(let f=0;f<d.transitions.length;f++){if(f===0&&this.canDropLoopEntryEdgeInLeftRecursiveRule(e))continue;const g=d.transitions[f],p=l&&!(g instanceof Wa),m=this.getEpsilonTarget(e,g,p,c===0,L,C);if(m!==null){let v=c;if(e.state instanceof t4){if(this._dfa!==null&&this._dfa.precedenceDfa&&g.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(m.precedenceFilterSuppressed=!0),m.reachesIntoOuterContext+=1,s.add(m)!==m)continue;n.dipsIntoOuterContext=!0,v-=1,this.debug&&console.log("dips into outer ctx: "+m)}else{if(!g.isEpsilon&&s.add(m)!==m)continue;g instanceof ae&&v>=0&&(v+=1)}this.closureCheckingStopState(m,n,s,p,L,v,C)}}}canDropLoopEntryEdgeInLeftRecursiveRule(e){const n=e.state;if(n.stateType!==z2.STAR_LOOP_ENTRY||n.stateType!==z2.STAR_LOOP_ENTRY||!n.isPrecedenceDecision||e.context.isEmpty()||e.context.hasEmptyPath())return!1;const s=e.context.length;for(let C=0;C<s;C++)if(this.atn.states[e.context.getReturnState(C)].ruleIndex!==n.ruleIndex)return!1;const L=n.transitions[0].target.endState.stateNumber,c=this.atn.states[L];for(let C=0;C<s;C++){const d=e.context.getReturnState(C),f=this.atn.states[d];if(f.transitions.length!==1||!f.transitions[0].isEpsilon)return!1;const g=f.transitions[0].target;if(!(f.stateType===z2.BLOCK_END&&g===n)&&f!==c&&g!==c&&!(g.stateType===z2.BLOCK_END&&g.transitions.length===1&&g.transitions[0].isEpsilon&&g.transitions[0].target===n))return!1}return!0}getRuleName(e){return this.parser!==null&&e>=0?this.parser.ruleNames[e]:"<rule "+e+">"}getEpsilonTarget(e,n,s,l,L,c){switch(n.serializationType){case A2.RULE:return this.ruleTransition(e,n);case A2.PRECEDENCE:return this.precedenceTransition(e,n,s,l,L);case A2.PREDICATE:return this.predTransition(e,n,s,l,L);case A2.ACTION:return this.actionTransition(e,n);case A2.EPSILON:return new L3({state:n.target},e);case A2.ATOM:case A2.RANGE:case A2.SET:return c&&n.matches(w2.EOF,0,1)?new L3({state:n.target},e):null;default:return null}}actionTransition(e,n){if(this.debug){const s=n.actionIndex===-1?65535:n.actionIndex;console.log("ACTION edge "+n.ruleIndex+":"+s)}return new L3({state:n.target},e)}precedenceTransition(e,n,s,l,L){this.debug&&(console.log("PRED (collectPredicates="+s+") "+n.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+m0(this.parser.getRuleInvocationStack())));let c=null;if(s&&l)if(L){const C=this._input.index;this._input.seek(this._startIndex);const d=n.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(C),d&&(c=new L3({state:n.target},e))}else{const C=A1.andContext(e.semanticContext,n.getPredicate());c=new L3({state:n.target,semanticContext:C},e)}else c=new L3({state:n.target},e);return this.debug&&console.log("config from pred transition="+c),c}predTransition(e,n,s,l,L){this.debug&&(console.log("PRED (collectPredicates="+s+") "+n.ruleIndex+":"+n.predIndex+", ctx dependent="+n.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+m0(this.parser.getRuleInvocationStack())));let c=null;if(s&&(n.isCtxDependent&&l||!n.isCtxDependent))if(L){const C=this._input.index;this._input.seek(this._startIndex);const d=n.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(C),d&&(c=new L3({state:n.target},e))}else{const C=A1.andContext(e.semanticContext,n.getPredicate());c=new L3({state:n.target,semanticContext:C},e)}else c=new L3({state:n.target},e);return this.debug&&console.log("config from pred transition="+c),c}ruleTransition(e,n){this.debug&&console.log("CALL rule "+this.getRuleName(n.target.ruleIndex)+", ctx="+e.context);const s=n.followState,l=n4.create(e.context,s.stateNumber);return new L3({state:n.target,context:l},e)}getConflictingAlts(e){const n=j1.getConflictingAltSubsets(e);return j1.getAlts(n)}getConflictingAltsOrUniqueAlt(e){let n=null;return e.uniqueAlt!==n3.INVALID_ALT_NUMBER?(n=new v9,n.add(e.uniqueAlt)):n=e.conflictingAlts,n}getTokenName(e){if(e===w2.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(e>=this.parser.literalNames.length&&e>=this.parser.symbolicNames.length)console.log(""+e+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[e]||this.parser.symbolicNames[e])+"<"+e+">";return""+e}getLookaheadName(e){return this.getTokenName(e.LA(1))}dumpDeadEndConfigs(e){console.log("dead end configs: ");const n=e.getDeadEndConfigs();for(let s=0;s<n.length;s++){const l=n[s];let L="no edges";if(l.state.transitions.length>0){const c=l.state.transitions[0];c instanceof ue?L="Atom "+this.getTokenName(c.label):c instanceof li&&(L=(c instanceof ri?"~":"")+"Set "+c.set)}console.error(l.toString(this.parser,!0)+":"+L)}}noViableAlt(e,n,s,l){return new Si(this.parser,e,e.get(l),e.LT(1),s,n)}getUniqueAlt(e){let n=n3.INVALID_ALT_NUMBER;for(let s=0;s<e.items.length;s++){const l=e.items[s];if(n===n3.INVALID_ALT_NUMBER)n=l.alt;else if(l.alt!==n)return n3.INVALID_ALT_NUMBER}return n}addDFAEdge(e,n,s,l){if(this.debug&&console.log("EDGE "+n+" -> "+l+" upon "+this.getTokenName(s)),l===null)return null;if(l=this.addDFAState(e,l),n===null||s<-1||s>this.atn.maxTokenType)return l;if(n.edges===null&&(n.edges=[]),n.edges[s+1]=l,this.debug){const L=this.parser===null?null:this.parser.literalNames,c=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
25
25
  `+e.toString(L,c))}return l}addDFAState(e,n){if(n===M9.ERROR)return n;const s=e.states.get(n);return s!==null?s:(n.stateNumber=e.states.length,n.configs.readOnly||(n.configs.optimizeConfigs(this),n.configs.setReadonly(!0)),e.states.add(n),this.debug&&console.log("adding new DFA state: "+n),n)}reportAttemptingFullContext(e,n,s,l,L){if(this.debug||this.retry_debug){const c=new S1(l,L+1);console.log("reportAttemptingFullContext decision="+e.decision+":"+s+", input="+this.parser.getTokenStream().getText(c))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,e,l,L,n,s)}reportContextSensitivity(e,n,s,l,L){if(this.debug||this.retry_debug){const c=new S1(l,L+1);console.log("reportContextSensitivity decision="+e.decision+":"+s+", input="+this.parser.getTokenStream().getText(c))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,e,l,L,n,s)}reportAmbiguity(e,n,s,l,L,c,C){if(this.debug||this.retry_debug){const d=new S1(s,l+1);console.log("reportAmbiguity "+c+":"+C+", input="+this.parser.getTokenStream().getText(d))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,e,s,l,L,c,C)}}const Gm={ATN:n3,ATNDeserializer:$a,LexerATNSimulator:o3,ParserATNSimulator:Vm,PredictionMode:j1};class ki{constructor(e,n,s){this.dfa=e,this.literalNames=n||[],this.symbolicNames=s||[]}toString(){if(this.dfa.s0===null)return null;let e="";const n=this.dfa.sortedStates();for(let s=0;s<n.length;s++){const l=n[s];if(l.edges!==null){const L=l.edges.length;for(let c=0;c<L;c++){const C=l.edges[c]||null;C!==null&&C.stateNumber!==2147483647&&(e=e.concat(this.getStateString(l)),e=e.concat("-"),e=e.concat(this.getEdgeLabel(c)),e=e.concat("->"),e=e.concat(this.getStateString(C)),e=e.concat(`
26
- `))}}}return e.length===0?null:e}getEdgeLabel(e){return e===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)}getStateString(e){const n=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?e.predicates!==null?n+"=>"+m0(e.predicates):n+"=>"+e.prediction.toString():n}}class Ya extends ki{constructor(e){super(e,null)}getEdgeLabel(e){return"'"+String.fromCharCode(e)+"'"}}class qm{constructor(e,n){if(n===void 0&&(n=0),this.atnStartState=e,this.decision=n,this._states=new k4,this.s0=null,this.precedenceDfa=!1,e instanceof r5&&e.isPrecedenceDecision){this.precedenceDfa=!0;const s=new P9(null,new s4);s.edges=[],s.isAcceptState=!1,s.requiresFullContext=!1,this.s0=s}}getPrecedenceStartState(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null}setPrecedenceStartState(e,n){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=n)}setPrecedenceDfa(e){if(this.precedenceDfa!==e){if(this._states=new k4,e){const n=new P9(null,new s4);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}else this.s0=null;this.precedenceDfa=e}}sortedStates(){return this._states.values().sort(function(n,s){return n.stateNumber-s.stateNumber})}toString(e,n){return e=e||null,n=n||null,this.s0===null?"":new ki(this,e,n).toString()}toLexerString(){return this.s0===null?"":new Ya(this).toString()}get states(){return this._states}}const Ym={DFA:qm,DFASerializer:ki,LexerDFASerializer:Ya,PredPrediction:qa};class Xa{visitTerminal(e){}visitErrorNode(e){}enterEveryRule(e){}exitEveryRule(e){}}class Xm{visit(e){return Array.isArray(e)?e.map(function(n){return n.accept(this)},this):e.accept(this)}visitChildren(e){return e.children?this.visit(e.children):null}visitTerminal(e){}visitErrorNode(e){}}class Zi{walk(e,n){if(n instanceof ce||n.isErrorNode!==void 0&&n.isErrorNode())e.visitErrorNode(n);else if(n instanceof U9)e.visitTerminal(n);else{this.enterRule(e,n);for(let l=0;l<n.getChildCount();l++){const L=n.getChild(l);this.walk(e,L)}this.exitRule(e,n)}}enterRule(e,n){const s=n.getRuleContext();e.enterEveryRule(s),s.enterRule(e)}exitRule(e,n){const s=n.getRuleContext();s.exitRule(e),e.exitEveryRule(s)}}Zi.DEFAULT=new Zi;const Qm={Trees:x9,RuleNode:Le,ErrorNode:ce,TerminalNode:U9,ParseTreeListener:Xa,ParseTreeVisitor:Xm,ParseTreeWalker:Zi};class p6 extends x0{constructor(e){super({message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx}),this.offendingToken=e.getCurrentToken()}}class Qa extends x0{constructor(e,n,s){super({message:Km(n,s||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});const L=e._interp.atn.states[e.state].transitions[0];L instanceof ja?(this.ruleIndex=L.ruleIndex,this.predicateIndex=L.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=n,this.offendingToken=e.getCurrentToken()}}function Km(t,e){return e!==null?e:"failed predicate: {"+t+"}?"}class Jm extends ge{constructor(e){super(),e=e||!0,this.exactOnly=e}reportAmbiguity(e,n,s,l,L,c,C){if(this.exactOnly&&!L)return;const d="reportAmbiguity d="+this.getDecisionDescription(e,n)+": ambigAlts="+this.getConflictingAlts(c,C)+", input='"+e.getTokenStream().getText(new S1(s,l))+"'";e.notifyErrorListeners(d)}reportAttemptingFullContext(e,n,s,l,L,c){const C="reportAttemptingFullContext d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new S1(s,l))+"'";e.notifyErrorListeners(C)}reportContextSensitivity(e,n,s,l,L,c){const C="reportContextSensitivity d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new S1(s,l))+"'";e.notifyErrorListeners(C)}getDecisionDescription(e,n){const s=n.decision,l=n.atnStartState.ruleIndex,L=e.ruleNames;if(l<0||l>=L.length)return""+s;const c=L[l]||null;return c===null||c.length===0?""+s:`${s} (${c})`}getConflictingAlts(e,n){if(e!==null)return e;const s=new v9;for(let l=0;l<n.items.length;l++)s.add(n.items[l].alt);return`{${s.values().join(", ")}}`}}class Ti extends Error{constructor(){super(),Error.captureStackTrace(this,Ti)}}class ex{reset(e){}recoverInline(e){}recover(e,n){}sync(e){}inErrorRecoveryMode(e){}reportError(e){}}class Ei extends ex{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(e){this.endErrorCondition(e)}beginErrorCondition(e){this.errorRecoveryMode=!0}inErrorRecoveryMode(e){return this.errorRecoveryMode}endErrorCondition(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(e){this.endErrorCondition(e)}reportError(e,n){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),n instanceof Si?this.reportNoViableAlternative(e,n):n instanceof p6?this.reportInputMismatch(e,n):n instanceof Qa?this.reportFailedPredicate(e,n):(console.log("unknown recognition error type: "+n.constructor.name),console.log(n.stack),e.notifyErrorListeners(n.getOffendingToken(),n.getMessage(),n)))}recover(e,n){this.lastErrorIndex===e.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);const s=this.getErrorRecoverySet(e);this.consumeUntil(e,s)}sync(e){if(this.inErrorRecoveryMode(e))return;const n=e._interp.atn.states[e.state],s=e.getTokenStream().LA(1),l=e.atn.nextTokens(n);if(l.contains(s)){this.nextTokensContext=null,this.nextTokenState=z2.INVALID_STATE_NUMBER;return}else if(l.contains(w2.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=e._ctx,this.nextTokensState=e._stateNumber);return}switch(n.stateType){case z2.BLOCK_START:case z2.STAR_BLOCK_START:case z2.PLUS_BLOCK_START:case z2.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(e)!==null)return;throw new p6(e);case z2.PLUS_LOOP_BACK:case z2.STAR_LOOP_BACK:{this.reportUnwantedToken(e);const L=new $4;L.addSet(e.getExpectedTokens());const c=L.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,c)}break}}reportNoViableAlternative(e,n){const s=e.getTokenStream();let l;s!==null?n.startToken.type===w2.EOF?l="<EOF>":l=s.getText(new S1(n.startToken.tokenIndex,n.offendingToken.tokenIndex)):l="<unknown input>";const L="no viable alternative at input "+this.escapeWSAndQuote(l);e.notifyErrorListeners(L,n.offendingToken,n)}reportInputMismatch(e,n){const s="mismatched input "+this.getTokenErrorDisplay(n.offendingToken)+" expecting "+n.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(s,n.offendingToken,n)}reportFailedPredicate(e,n){const l="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+n.message;e.notifyErrorListeners(l,n.offendingToken,n)}reportUnwantedToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),s=this.getTokenErrorDisplay(n),l=this.getExpectedTokens(e),L="extraneous input "+s+" expecting "+l.toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(L,n,null)}reportMissingToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),l="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(n);e.notifyErrorListeners(l,n,null)}recoverInline(e){const n=this.singleTokenDeletion(e);if(n!==null)return e.consume(),n;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new p6(e)}singleTokenInsertion(e){const n=e.getTokenStream().LA(1),s=e._interp.atn,L=s.states[e.state].transitions[0].target;return s.nextTokens(L,e._ctx).contains(n)?(this.reportMissingToken(e),!0):!1}singleTokenDeletion(e){const n=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(n)){this.reportUnwantedToken(e),e.consume();const l=e.getCurrentToken();return this.reportMatch(e),l}else return null}getMissingSymbol(e){const n=e.getCurrentToken(),l=this.getExpectedTokens(e).first();let L;l===w2.EOF?L="<missing EOF>":L="<missing "+e.literalNames[l]+">";let c=n;const C=e.getTokenStream().LT(-1);return c.type===w2.EOF&&C!==null&&(c=C),e.getTokenFactory().create(c.source,l,L,w2.DEFAULT_CHANNEL,-1,-1,c.line,c.column)}getExpectedTokens(e){return e.getExpectedTokens()}getTokenErrorDisplay(e){if(e===null)return"<no token>";let n=e.text;return n===null&&(e.type===w2.EOF?n="<EOF>":n="<"+e.type+">"),this.escapeWSAndQuote(n)}escapeWSAndQuote(e){return e=e.replace(/\n/g,"\\n"),e=e.replace(/\r/g,"\\r"),e=e.replace(/\t/g,"\\t"),"'"+e+"'"}getErrorRecoverySet(e){const n=e._interp.atn;let s=e._ctx;const l=new $4;for(;s!==null&&s.invokingState>=0;){const c=n.states[s.invokingState].transitions[0],C=n.nextTokens(c.followState);l.addSet(C),s=s.parentCtx}return l.removeOne(w2.EPSILON),l}consumeUntil(e,n){let s=e.getTokenStream().LA(1);for(;s!==w2.EOF&&!n.contains(s);)e.consume(),s=e.getTokenStream().LA(1)}}class tx extends Ei{constructor(){super()}recover(e,n){let s=e._ctx;for(;s!==null;)s.exception=n,s=s.parentCtx;throw new Ti(n)}recoverInline(e){this.recover(e,new p6(e))}sync(e){}}const nx={RecognitionException:x0,NoViableAltException:Si,LexerNoViableAltException:Ai,InputMismatchException:p6,FailedPredicateException:Qa,DiagnosticErrorListener:Jm,BailErrorStrategy:tx,DefaultErrorStrategy:Ei,ErrorListener:ge};class L5{constructor(e,n){if(this.name="<empty>",this.strdata=e,this.decodeToUnicodeCodePoints=n||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let s=0;s<this.strdata.length;){const l=this.strdata.codePointAt(s);this.data.push(l),s+=l<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let s=0;s<this.strdata.length;s++){const l=this.strdata.charCodeAt(s);this.data[s]=l}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(e){if(e===0)return 0;e<0&&(e+=1);const n=this._index+e-1;return n<0||n>=this._size?w2.EOF:this.data[n]}LT(e){return this.LA(e)}mark(){return-1}release(e){}seek(e){if(e<=this._index){this._index=e;return}this._index=Math.min(e,this._size)}getText(e,n){if(n>=this._size&&(n=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){let s="";for(let l=e;l<=n;l++)s+=String.fromCodePoint(this.data[l]);return s}else return this.strdata.slice(e,n+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const Ii={},ix={fromString:function(t){return new L5(t,!0)},fromBlob:function(t,e,n,s){const l=new window.FileReader;l.onload=function(L){const c=new L5(L.target.result,!0);n(c)},l.onerror=s,l.readAsText(t,e)},fromBuffer:function(t,e){return new L5(t.toString(e),!0)},fromPath:function(t,e,n){Ii.readFile(t,e,function(s,l){let L=null;l!==null&&(L=new L5(l,!0)),n(s,L)})},fromPathSync:function(t,e){const n=Ii.readFileSync(t,e);return new L5(n,!0)}};class sx extends L5{constructor(e,n){const s=Ii.readFileSync(e,"utf8");super(s,n),this.fileName=e}}class ox{}class lx extends ox{constructor(e){super(),this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(e){}reset(){this.seek(0)}seek(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)}get(e){return this.lazyInit(),this.tokens[e]}consume(){let e=!1;if(this.index>=0?this.fetchedEOF?e=this.index<this.tokens.length-1:e=this.index<this.tokens.length:e=!1,!e&&this.LA(1)===w2.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(e){const n=e-this.tokens.length+1;return n>0?this.fetch(n)>=n:!0}fetch(e){if(this.fetchedEOF)return 0;for(let n=0;n<e;n++){const s=this.tokenSource.nextToken();if(s.tokenIndex=this.tokens.length,this.tokens.push(s),s.type===w2.EOF)return this.fetchedEOF=!0,n+1}return e}getTokens(e,n,s){if(s===void 0&&(s=null),e<0||n<0)return null;this.lazyInit();const l=[];n>=this.tokens.length&&(n=this.tokens.length-1);for(let L=e;L<n;L++){const c=this.tokens[L];if(c.type===w2.EOF)break;(s===null||s.contains(c.type))&&l.push(c)}return l}LA(e){return this.LT(e).type}LB(e){return this.index-e<0?null:this.tokens[this.index-e]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);const n=this.index+e-1;return this.sync(n),n>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[n]}adjustSeekIndex(e){return e}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(e,n){if(this.sync(e),e>=this.tokens.length)return-1;let s=this.tokens[e];for(;s.channel!==this.channel;){if(s.type===w2.EOF)return-1;e+=1,this.sync(e),s=this.tokens[e]}return e}previousTokenOnChannel(e,n){for(;e>=0&&this.tokens[e].channel!==n;)e-=1;return e}getHiddenTokensToRight(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const s=this.nextTokenOnChannel(e+1,i4.DEFAULT_TOKEN_CHANNEL),l=e+1,L=s===-1?this.tokens.length-1:s;return this.filterForChannel(l,L,n)}getHiddenTokensToLeft(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const s=this.previousTokenOnChannel(e-1,i4.DEFAULT_TOKEN_CHANNEL);if(s===e-1)return null;const l=s+1,L=e-1;return this.filterForChannel(l,L,n)}filterForChannel(e,n,s){const l=[];for(let L=e;L<n+1;L++){const c=this.tokens[L];s===-1?c.channel!==i4.DEFAULT_TOKEN_CHANNEL&&l.push(c):c.channel===s&&l.push(c)}return l.length===0?null:l}getSourceName(){return this.tokenSource.getSourceName()}getText(e){this.lazyInit(),this.fill(),e==null&&(e=new S1(0,this.tokens.length-1));let n=e.start;n instanceof w2&&(n=n.tokenIndex);let s=e.stop;if(s instanceof w2&&(s=s.tokenIndex),n===null||s===null||n<0||s<0)return"";s>=this.tokens.length&&(s=this.tokens.length-1);let l="";for(let L=n;L<s+1;L++){const c=this.tokens[L];if(c.type===w2.EOF)break;l=l+c.text}return l}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class rx extends lx{constructor(e,n){super(e),this.channel=n===void 0?w2.DEFAULT_CHANNEL:n}adjustSeekIndex(e){return this.nextTokenOnChannel(e,this.channel)}LB(e){if(e===0||this.index-e<0)return null;let n=this.index,s=1;for(;s<=e;)n=this.previousTokenOnChannel(n-1,this.channel),s+=1;return n<0?null:this.tokens[n]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);let n=this.index,s=1;for(;s<e;)this.sync(n+1)&&(n=this.nextTokenOnChannel(n+1,this.channel)),s+=1;return this.tokens[n]}getNumberOfOnChannelTokens(){let e=0;this.fill();for(let n=0;n<this.tokens.length;n++){const s=this.tokens[n];if(s.channel===this.channel&&(e+=1),s.type===w2.EOF)break}return e}}class ax extends Xa{constructor(e){super(),this.parser=e}enterEveryRule(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}let Ka=class extends pe{constructor(e){super(),this._input=null,this._errHandler=new Ei,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(e)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(e){let n=this.getCurrentToken();return n.type===e?(this._errHandler.reportMatch(this),this.consume()):(n=this._errHandler.recoverInline(this),this.buildParseTrees&&n.tokenIndex===-1&&this._ctx.addErrorNode(n)),n}matchWildcard(){let e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}getParseListeners(){return this._parseListeners||[]}addParseListener(e){if(e===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(e)}removeParseListener(e){if(this._parseListeners!==null){const n=this._parseListeners.indexOf(e);n>=0&&this._parseListeners.splice(n,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.forEach(function(n){n.enterEveryRule(e),e.enterRule(n)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(n){e.exitRule(n),n.exitEveryRule(e)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(e){this._input.tokenSource._factory=e}getATNWithBypassAlts(){const e=this.getSerializedATN();if(e===null)throw"The current parser does not support an ATN with bypass alternatives.";let n=this.bypassAltsAtnCache[e];if(n===null){const s=new f6;s.generateRuleBypassTransitions=!0,n=new $a(s).deserialize(e),this.bypassAltsAtnCache[e]=n}return n}getInputStream(){return this.getTokenStream()}setInputStream(e){this.setTokenStream(e)}getTokenStream(){return this._input}setTokenStream(e){this._input=null,this.reset(),this._input=e}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(e,n,s){n=n||null,s=s||null,n===null&&(n=this.getCurrentToken()),this._syntaxErrors+=1;const l=n.line,L=n.column;this.getErrorListenerDispatch().syntaxError(this,n,l,L,e,s)}consume(){const e=this.getCurrentToken();e.type!==w2.EOF&&this.getInputStream().consume();const n=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||n){let s;this._errHandler.inErrorRecoveryMode(this)?s=this._ctx.addErrorNode(e):s=this._ctx.addTokenNode(e),s.invokingState=this.state,n&&this._parseListeners.forEach(function(l){s instanceof ce||s.isErrorNode!==void 0&&s.isErrorNode()?l.visitErrorNode(s):s instanceof U9&&l.visitTerminal(s)})}return e}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(e,n,s){this.state=n,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(e,n){e.setAltNumber(n),this.buildParseTrees&&this._ctx!==e&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(e,n,s,l){this.state=n,this._precedenceStack.push(l),this._ctx=e,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(e,n,s){const l=this._ctx;l.parentCtx=e,l.invokingState=n,l.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=l.start,this.buildParseTrees&&this._ctx.addChild(l),this.triggerEnterRuleEvent()}unrollRecursionContexts(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const n=this._ctx,s=this.getParseListeners();if(s!==null&&s.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;n.parentCtx=e,this.buildParseTrees&&e!==null&&e.addChild(n)}getInvokingContext(e){let n=this._ctx;for(;n!==null;){if(n.ruleIndex===e)return n;n=n.parentCtx}return null}precpred(e,n){return n>=this._precedenceStack[this._precedenceStack.length-1]}inContext(e){return!1}isExpectedToken(e){const n=this._interp.atn;let s=this._ctx;const l=n.states[this.state];let L=n.nextTokens(l);if(L.contains(e))return!0;if(!L.contains(w2.EPSILON))return!1;for(;s!==null&&s.invokingState>=0&&L.contains(w2.EPSILON);){const C=n.states[s.invokingState].transitions[0];if(L=n.nextTokens(C.followState),L.contains(e))return!0;s=s.parentCtx}return!!(L.contains(w2.EPSILON)&&e===w2.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const e=this._interp.atn,n=e.states[this.state];return e.nextTokens(n)}getRuleIndex(e){const n=this.getRuleIndexMap()[e];return n!==null?n:-1}getRuleInvocationStack(e){e=e||null,e===null&&(e=this._ctx);const n=[];for(;e!==null;){const s=e.ruleIndex;s<0?n.push("n/a"):n.push(this.ruleNames[s]),e=e.parentCtx}return n}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let e=!1;for(let n=0;n<this._interp.decisionToDFA.length;n++){const s=this._interp.decisionToDFA[n];s.states.length>0&&(e&&console.log(),this.printer.println("Decision "+s.decision+":"),this.printer.print(s.toString(this.literalNames,this.symbolicNames)),e=!0)}}getSourceName(){return this._input.sourceName}setTrace(e){e?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new ax(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}};Ka.bypassAltsAtnCache={};class Lx{constructor(){this.cache=new d6}add(e){if(e===a1.EMPTY)return a1.EMPTY;const n=this.cache.get(e)||null;return n!==null?n:(this.cache.set(e,e),e)}get(e){return this.cache.get(e)||null}get length(){return this.cache.length}}class Ja extends U9{constructor(e){super(),this.parentCtx=null,this.symbol=e}getChild(e){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return S1.INVALID_INTERVAL;const e=this.symbol.tokenIndex;return new S1(e,e)}getChildCount(){return 0}accept(e){return e.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===w2.EOF?"<EOF>":this.symbol.text}}class eL extends Ja{constructor(e){super(e)}isErrorNode(){return!0}accept(e){return e.visitErrorNode(this)}}let tL=class extends J5{constructor(e,n){e=e||null,n=n||null,super(e,n),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map(function(n){n instanceof eL&&(this.children.push(n),n.parentCtx=this)},this))}enterRule(e){}exitRule(e){}addChild(e){return this.children===null&&(this.children=[]),this.children.push(e),e}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(e){const n=new Ja(e);return this.addChild(n),n.parentCtx=this,n}addErrorNode(e){const n=new eL(e);return this.addChild(n),n.parentCtx=this,n}getChild(e,n){if(n=n||null,this.children===null||e<0||e>=this.children.length)return null;if(n===null)return this.children[e];for(let s=0;s<this.children.length;s++){const l=this.children[s];if(l instanceof n){if(e===0)return l;e-=1}}return null}getToken(e,n){if(this.children===null||n<0||n>=this.children.length)return null;for(let s=0;s<this.children.length;s++){const l=this.children[s];if(l instanceof U9&&l.symbol.type===e){if(n===0)return l;n-=1}}return null}getTokens(e){if(this.children===null)return[];{const n=[];for(let s=0;s<this.children.length;s++){const l=this.children[s];l instanceof U9&&l.symbol.type===e&&n.push(l)}return n}}getTypedRuleContext(e,n){return this.getChild(n,e)}getTypedRuleContexts(e){if(this.children===null)return[];{const n=[];for(let s=0;s<this.children.length;s++){const l=this.children[s];l instanceof e&&n.push(l)}return n}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?S1.INVALID_INTERVAL:new S1(this.start.tokenIndex,this.stop.tokenIndex)}};J5.EMPTY=new tL;const X={atn:Gm,dfa:Ym,tree:Qm,error:nx,Token:w2,CommonToken:a5,CharStreams:ix,InputStream:L5,FileStream:sx,CommonTokenStream:rx,Lexer:i4,Parser:Ka,PredictionContextCache:Lx,ParserRuleContext:tL,Interval:S1,IntervalSet:$4,LL1Analyzer:e8,Utils:{arrayToString:m0}},cx=[4,0,72,592,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,2,70,7,70,2,71,7,71,2,72,7,72,2,73,7,73,2,74,7,74,2,75,7,75,1,0,1,0,1,1,4,1,159,8,1,11,1,12,1,160,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,12,1,12,1,13,1,13,4,13,231,8,13,11,13,12,13,232,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,16,1,17,1,17,1,17,1,18,1,18,1,19,1,19,1,20,1,20,1,20,1,21,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,3,38,303,8,38,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,3,41,339,8,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,387,8,48,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,433,8,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,3,56,461,8,56,1,57,1,57,5,57,465,8,57,10,57,12,57,468,9,57,1,58,1,58,1,59,1,59,5,59,474,8,59,10,59,12,59,477,9,59,1,60,4,60,480,8,60,11,60,12,60,481,1,61,1,61,1,62,4,62,487,8,62,11,62,12,62,488,1,63,4,63,492,8,63,11,63,12,63,493,1,63,1,63,5,63,498,8,63,10,63,12,63,501,9,63,1,63,1,63,4,63,505,8,63,11,63,12,63,506,3,63,509,8,63,1,64,1,64,1,64,3,64,514,8,64,1,65,1,65,3,65,518,8,65,1,65,1,65,1,66,1,66,1,66,1,66,5,66,526,8,66,10,66,12,66,529,9,66,1,66,1,66,1,67,1,67,1,67,1,67,5,67,537,8,67,10,67,12,67,540,9,67,1,68,1,68,1,68,1,68,1,69,1,69,1,69,1,69,5,69,550,8,69,10,69,12,69,553,9,69,1,69,1,69,1,70,1,70,1,71,1,71,5,71,561,8,71,10,71,12,71,564,9,71,1,71,1,71,1,71,1,71,5,71,570,8,71,10,71,12,71,573,9,71,1,72,4,72,576,8,72,11,72,12,72,577,1,73,1,73,1,73,1,73,1,74,4,74,585,8,74,11,74,12,74,586,1,75,1,75,1,75,1,75,0,0,76,3,0,5,1,7,2,9,3,11,4,13,5,15,6,17,7,19,8,21,9,23,10,25,11,27,0,29,12,31,13,33,14,35,15,37,16,39,17,41,18,43,19,45,20,47,21,49,22,51,23,53,24,55,25,57,26,59,27,61,28,63,29,65,30,67,31,69,32,71,33,73,34,75,35,77,36,79,37,81,38,83,39,85,40,87,41,89,42,91,43,93,44,95,45,97,46,99,47,101,48,103,49,105,50,107,51,109,52,111,53,113,54,115,55,117,56,119,57,121,58,123,0,125,0,127,59,129,60,131,61,133,62,135,63,137,64,139,65,141,66,143,67,145,68,147,69,149,70,151,71,153,72,3,0,1,2,9,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,649,0,65,90,95,95,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2160,2183,2185,2190,2208,2249,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3165,3165,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3313,3314,3332,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5873,5880,5888,5905,5919,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6276,6279,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6988,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8579,8580,11264,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12294,12337,12341,12347,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42725,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43881,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,66176,66204,66208,66256,66304,66335,66349,66368,66370,66377,66384,66421,66432,66461,66464,66499,66504,66511,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69745,69746,69749,69749,69763,69807,69840,69864,69891,69926,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70753,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71488,71494,71680,71723,71840,71903,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73648,73648,73728,74649,74880,75075,77712,77808,77824,78894,82944,83526,92160,92728,92736,92766,92784,92862,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,122624,122654,123136,123180,123191,123197,123214,123214,123536,123565,123584,123627,124896,124902,124904,124907,124909,124910,124912,124926,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173791,173824,177976,177984,178205,178208,183969,183984,191456,194560,195101,196608,201546,693,0,48,57,65,90,95,95,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1632,1641,1646,1647,1649,1747,1749,1749,1765,1766,1774,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1984,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2160,2183,2185,2190,2208,2249,2308,2361,2365,2365,2384,2384,2392,2401,2406,2415,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2534,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2662,2671,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2790,2799,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2918,2927,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3046,3055,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3165,3165,3168,3169,3174,3183,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3302,3311,3313,3314,3332,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3430,3439,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3558,3567,3585,3632,3634,3635,3648,3654,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3792,3801,3804,3807,3840,3840,3872,3881,3904,3911,3913,3948,3976,3980,4096,4138,4159,4169,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4240,4249,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5873,5880,5888,5905,5919,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6112,6121,6160,6169,6176,6264,6272,6276,6279,6312,6314,6314,6320,6389,6400,6430,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6678,6688,6740,6784,6793,6800,6809,6823,6823,6917,6963,6981,6988,6992,7001,7043,7072,7086,7141,7168,7203,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8579,8580,11264,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12294,12337,12341,12347,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42539,42560,42606,42623,42653,42656,42725,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43216,43225,43250,43255,43259,43259,43261,43262,43264,43301,43312,43334,43360,43388,43396,43442,43471,43481,43488,43492,43494,43518,43520,43560,43584,43586,43588,43595,43600,43609,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43881,43888,44002,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65296,65305,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,66176,66204,66208,66256,66304,66335,66349,66368,66370,66377,66384,66421,66432,66461,66464,66499,66504,66511,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,68912,68921,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69734,69743,69745,69746,69749,69749,69763,69807,69840,69864,69872,69881,69891,69926,69942,69951,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70096,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70384,70393,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70736,70745,70751,70753,70784,70831,70852,70853,70855,70855,70864,70873,71040,71086,71128,71131,71168,71215,71236,71236,71248,71257,71296,71338,71352,71352,71360,71369,71424,71450,71472,71481,71488,71494,71680,71723,71840,71913,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72016,72025,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,72440,72704,72712,72714,72750,72768,72768,72784,72793,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73040,73049,73056,73061,73063,73064,73066,73097,73112,73112,73120,73129,73440,73458,73648,73648,73728,74649,74880,75075,77712,77808,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92784,92862,92864,92873,92880,92909,92928,92975,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,122624,122654,123136,123180,123191,123197,123200,123209,123214,123214,123536,123565,123584,123627,123632,123641,124896,124902,124904,124907,124909,124910,124912,124926,124928,125124,125184,125251,125259,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,130032,130041,131072,173791,173824,177976,177984,178205,178208,183969,183984,191456,194560,195101,196608,201546,2,0,65,90,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,616,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145,1,0,0,0,1,147,1,0,0,0,1,149,1,0,0,0,2,151,1,0,0,0,2,153,1,0,0,0,3,155,1,0,0,0,5,158,1,0,0,0,7,164,1,0,0,0,9,172,1,0,0,0,11,183,1,0,0,0,13,192,1,0,0,0,15,200,1,0,0,0,17,209,1,0,0,0,19,213,1,0,0,0,21,216,1,0,0,0,23,219,1,0,0,0,25,223,1,0,0,0,27,226,1,0,0,0,29,228,1,0,0,0,31,234,1,0,0,0,33,237,1,0,0,0,35,240,1,0,0,0,37,243,1,0,0,0,39,246,1,0,0,0,41,248,1,0,0,0,43,250,1,0,0,0,45,253,1,0,0,0,47,256,1,0,0,0,49,258,1,0,0,0,51,260,1,0,0,0,53,262,1,0,0,0,55,264,1,0,0,0,57,266,1,0,0,0,59,268,1,0,0,0,61,270,1,0,0,0,63,272,1,0,0,0,65,274,1,0,0,0,67,276,1,0,0,0,69,278,1,0,0,0,71,280,1,0,0,0,73,282,1,0,0,0,75,284,1,0,0,0,77,289,1,0,0,0,79,302,1,0,0,0,81,304,1,0,0,0,83,307,1,0,0,0,85,338,1,0,0,0,87,340,1,0,0,0,89,347,1,0,0,0,91,351,1,0,0,0,93,355,1,0,0,0,95,361,1,0,0,0,97,365,1,0,0,0,99,386,1,0,0,0,101,388,1,0,0,0,103,392,1,0,0,0,105,395,1,0,0,0,107,399,1,0,0,0,109,405,1,0,0,0,111,413,1,0,0,0,113,432,1,0,0,0,115,460,1,0,0,0,117,462,1,0,0,0,119,469,1,0,0,0,121,471,1,0,0,0,123,479,1,0,0,0,125,483,1,0,0,0,127,486,1,0,0,0,129,508,1,0,0,0,131,510,1,0,0,0,133,517,1,0,0,0,135,521,1,0,0,0,137,532,1,0,0,0,139,541,1,0,0,0,141,545,1,0,0,0,143,556,1,0,0,0,145,558,1,0,0,0,147,575,1,0,0,0,149,579,1,0,0,0,151,584,1,0,0,0,153,588,1,0,0,0,155,156,7,0,0,0,156,4,1,0,0,0,157,159,3,3,0,0,158,157,1,0,0,0,159,160,1,0,0,0,160,158,1,0,0,0,160,161,1,0,0,0,161,162,1,0,0,0,162,163,6,1,0,0,163,6,1,0,0,0,164,165,5,99,0,0,165,166,5,111,0,0,166,167,5,110,0,0,167,168,5,115,0,0,168,169,5,116,0,0,169,170,1,0,0,0,170,171,6,2,1,0,171,8,1,0,0,0,172,173,5,114,0,0,173,174,5,101,0,0,174,175,5,97,0,0,175,176,5,100,0,0,176,177,5,111,0,0,177,178,5,110,0,0,178,179,5,108,0,0,179,180,5,121,0,0,180,181,1,0,0,0,181,182,6,3,1,0,182,10,1,0,0,0,183,184,5,115,0,0,184,185,5,116,0,0,185,186,5,97,0,0,186,187,5,116,0,0,187,188,5,105,0,0,188,189,5,99,0,0,189,190,1,0,0,0,190,191,6,4,1,0,191,12,1,0,0,0,192,193,5,97,0,0,193,194,5,119,0,0,194,195,5,97,0,0,195,196,5,105,0,0,196,197,5,116,0,0,197,198,1,0,0,0,198,199,6,5,1,0,199,14,1,0,0,0,200,201,4,6,0,0,201,202,5,116,0,0,202,203,5,105,0,0,203,204,5,116,0,0,204,205,5,108,0,0,205,206,5,101,0,0,206,207,1,0,0,0,207,208,6,6,2,0,208,16,1,0,0,0,209,210,5,58,0,0,210,211,1,0,0,0,211,212,6,7,3,0,212,18,1,0,0,0,213,214,5,60,0,0,214,215,5,60,0,0,215,20,1,0,0,0,216,217,5,62,0,0,217,218,5,62,0,0,218,22,1,0,0,0,219,220,5,45,0,0,220,221,5,45,0,0,221,222,5,62,0,0,222,24,1,0,0,0,223,224,5,45,0,0,224,225,5,62,0,0,225,26,1,0,0,0,226,227,7,1,0,0,227,28,1,0,0,0,228,230,5,35,0,0,229,231,3,27,12,0,230,229,1,0,0,0,231,232,1,0,0,0,232,230,1,0,0,0,232,233,1,0,0,0,233,30,1,0,0,0,234,235,5,124,0,0,235,236,5,124,0,0,236,32,1,0,0,0,237,238,5,38,0,0,238,239,5,38,0,0,239,34,1,0,0,0,240,241,5,61,0,0,241,242,5,61,0,0,242,36,1,0,0,0,243,244,5,33,0,0,244,245,5,61,0,0,245,38,1,0,0,0,246,247,5,62,0,0,247,40,1,0,0,0,248,249,5,60,0,0,249,42,1,0,0,0,250,251,5,62,0,0,251,252,5,61,0,0,252,44,1,0,0,0,253,254,5,60,0,0,254,255,5,61,0,0,255,46,1,0,0,0,256,257,5,43,0,0,257,48,1,0,0,0,258,259,5,45,0,0,259,50,1,0,0,0,260,261,5,42,0,0,261,52,1,0,0,0,262,263,5,47,0,0,263,54,1,0,0,0,264,265,5,37,0,0,265,56,1,0,0,0,266,267,5,94,0,0,267,58,1,0,0,0,268,269,5,33,0,0,269,60,1,0,0,0,270,271,5,59,0,0,271,62,1,0,0,0,272,273,5,44,0,0,273,64,1,0,0,0,274,275,5,61,0,0,275,66,1,0,0,0,276,277,5,40,0,0,277,68,1,0,0,0,278,279,5,41,0,0,279,70,1,0,0,0,280,281,5,123,0,0,281,72,1,0,0,0,282,283,5,125,0,0,283,74,1,0,0,0,284,285,5,116,0,0,285,286,5,114,0,0,286,287,5,117,0,0,287,288,5,101,0,0,288,76,1,0,0,0,289,290,5,102,0,0,290,291,5,97,0,0,291,292,5,108,0,0,292,293,5,115,0,0,293,294,5,101,0,0,294,78,1,0,0,0,295,296,5,110,0,0,296,297,5,105,0,0,297,303,5,108,0,0,298,299,5,110,0,0,299,300,5,117,0,0,300,301,5,108,0,0,301,303,5,108,0,0,302,295,1,0,0,0,302,298,1,0,0,0,303,80,1,0,0,0,304,305,5,105,0,0,305,306,5,102,0,0,306,82,1,0,0,0,307,308,5,101,0,0,308,309,5,108,0,0,309,310,5,115,0,0,310,311,5,101,0,0,311,84,1,0,0,0,312,313,5,119,0,0,313,314,5,104,0,0,314,315,5,105,0,0,315,316,5,108,0,0,316,339,5,101,0,0,317,318,5,102,0,0,318,319,5,111,0,0,319,339,5,114,0,0,320,321,5,102,0,0,321,322,5,111,0,0,322,323,5,114,0,0,323,324,5,101,0,0,324,325,5,97,0,0,325,326,5,99,0,0,326,339,5,104,0,0,327,328,5,102,0,0,328,329,5,111,0,0,329,330,5,114,0,0,330,331,5,69,0,0,331,332,5,97,0,0,332,333,5,99,0,0,333,339,5,104,0,0,334,335,5,108,0,0,335,336,5,111,0,0,336,337,5,111,0,0,337,339,5,112,0,0,338,312,1,0,0,0,338,317,1,0,0,0,338,320,1,0,0,0,338,327,1,0,0,0,338,334,1,0,0,0,339,86,1,0,0,0,340,341,5,114,0,0,341,342,5,101,0,0,342,343,5,116,0,0,343,344,5,117,0,0,344,345,5,114,0,0,345,346,5,110,0,0,346,88,1,0,0,0,347,348,5,110,0,0,348,349,5,101,0,0,349,350,5,119,0,0,350,90,1,0,0,0,351,352,5,112,0,0,352,353,5,97,0,0,353,354,5,114,0,0,354,92,1,0,0,0,355,356,5,103,0,0,356,357,5,114,0,0,357,358,5,111,0,0,358,359,5,117,0,0,359,360,5,112,0,0,360,94,1,0,0,0,361,362,5,111,0,0,362,363,5,112,0,0,363,364,5,116,0,0,364,96,1,0,0,0,365,366,5,99,0,0,366,367,5,114,0,0,367,368,5,105,0,0,368,369,5,116,0,0,369,370,5,105,0,0,370,371,5,99,0,0,371,372,5,97,0,0,372,373,5,108,0,0,373,98,1,0,0,0,374,375,5,115,0,0,375,376,5,101,0,0,376,377,5,99,0,0,377,378,5,116,0,0,378,379,5,105,0,0,379,380,5,111,0,0,380,387,5,110,0,0,381,382,5,102,0,0,382,383,5,114,0,0,383,384,5,97,0,0,384,385,5,109,0,0,385,387,5,101,0,0,386,374,1,0,0,0,386,381,1,0,0,0,387,100,1,0,0,0,388,389,5,114,0,0,389,390,5,101,0,0,390,391,5,102,0,0,391,102,1,0,0,0,392,393,5,97,0,0,393,394,5,115,0,0,394,104,1,0,0,0,395,396,5,116,0,0,396,397,5,114,0,0,397,398,5,121,0,0,398,106,1,0,0,0,399,400,5,99,0,0,400,401,5,97,0,0,401,402,5,116,0,0,402,403,5,99,0,0,403,404,5,104,0,0,404,108,1,0,0,0,405,406,5,102,0,0,406,407,5,105,0,0,407,408,5,110,0,0,408,409,5,97,0,0,409,410,5,108,0,0,410,411,5,108,0,0,411,412,5,121,0,0,412,110,1,0,0,0,413,414,5,105,0,0,414,415,5,110,0,0,415,112,1,0,0,0,416,417,5,64,0,0,417,418,5,83,0,0,418,419,5,116,0,0,419,420,5,97,0,0,420,421,5,114,0,0,421,422,5,116,0,0,422,423,5,101,0,0,423,433,5,114,0,0,424,425,5,64,0,0,425,426,5,115,0,0,426,427,5,116,0,0,427,428,5,97,0,0,428,429,5,114,0,0,429,430,5,116,0,0,430,431,5,101,0,0,431,433,5,114,0,0,432,416,1,0,0,0,432,424,1,0,0,0,433,114,1,0,0,0,434,435,5,64,0,0,435,436,5,82,0,0,436,437,5,101,0,0,437,438,5,116,0,0,438,439,5,117,0,0,439,440,5,114,0,0,440,461,5,110,0,0,441,442,5,64,0,0,442,443,5,114,0,0,443,444,5,101,0,0,444,445,5,116,0,0,445,446,5,117,0,0,446,447,5,114,0,0,447,461,5,110,0,0,448,449,5,64,0,0,449,450,5,82,0,0,450,451,5,101,0,0,451,452,5,112,0,0,452,453,5,108,0,0,453,461,5,121,0,0,454,455,5,64,0,0,455,456,5,114,0,0,456,457,5,101,0,0,457,458,5,112,0,0,458,459,5,108,0,0,459,461,5,121,0,0,460,434,1,0,0,0,460,441,1,0,0,0,460,448,1,0,0,0,460,454,1,0,0,0,461,116,1,0,0,0,462,466,5,64,0,0,463,465,7,2,0,0,464,463,1,0,0,0,465,468,1,0,0,0,466,464,1,0,0,0,466,467,1,0,0,0,467,118,1,0,0,0,468,466,1,0,0,0,469,470,5,46,0,0,470,120,1,0,0,0,471,475,7,3,0,0,472,474,7,4,0,0,473,472,1,0,0,0,474,477,1,0,0,0,475,473,1,0,0,0,475,476,1,0,0,0,476,122,1,0,0,0,477,475,1,0,0,0,478,480,7,5,0,0,479,478,1,0,0,0,480,481,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,124,1,0,0,0,483,484,7,6,0,0,484,126,1,0,0,0,485,487,3,125,61,0,486,485,1,0,0,0,487,488,1,0,0,0,488,486,1,0,0,0,488,489,1,0,0,0,489,128,1,0,0,0,490,492,3,125,61,0,491,490,1,0,0,0,492,493,1,0,0,0,493,491,1,0,0,0,493,494,1,0,0,0,494,495,1,0,0,0,495,499,5,46,0,0,496,498,3,125,61,0,497,496,1,0,0,0,498,501,1,0,0,0,499,497,1,0,0,0,499,500,1,0,0,0,500,509,1,0,0,0,501,499,1,0,0,0,502,504,5,46,0,0,503,505,3,125,61,0,504,503,1,0,0,0,505,506,1,0,0,0,506,504,1,0,0,0,506,507,1,0,0,0,507,509,1,0,0,0,508,491,1,0,0,0,508,502,1,0,0,0,509,130,1,0,0,0,510,513,5,36,0,0,511,514,3,127,62,0,512,514,3,129,63,0,513,511,1,0,0,0,513,512,1,0,0,0,514,132,1,0,0,0,515,518,3,127,62,0,516,518,3,129,63,0,517,515,1,0,0,0,517,516,1,0,0,0,518,519,1,0,0,0,519,520,3,123,60,0,520,134,1,0,0,0,521,527,5,34,0,0,522,523,5,34,0,0,523,526,5,34,0,0,524,526,8,7,0,0,525,522,1,0,0,0,525,524,1,0,0,0,526,529,1,0,0,0,527,525,1,0,0,0,527,528,1,0,0,0,528,530,1,0,0,0,529,527,1,0,0,0,530,531,5,34,0,0,531,136,1,0,0,0,532,538,5,34,0,0,533,534,5,34,0,0,534,537,5,34,0,0,535,537,8,7,0,0,536,533,1,0,0,0,536,535,1,0,0,0,537,540,1,0,0,0,538,536,1,0,0,0,538,539,1,0,0,0,539,138,1,0,0,0,540,538,1,0,0,0,541,542,7,8,0,0,542,543,1,0,0,0,543,544,6,68,0,0,544,140,1,0,0,0,545,546,5,47,0,0,546,547,5,47,0,0,547,551,1,0,0,0,548,550,8,8,0,0,549,548,1,0,0,0,550,553,1,0,0,0,551,549,1,0,0,0,551,552,1,0,0,0,552,554,1,0,0,0,553,551,1,0,0,0,554,555,6,69,4,0,555,142,1,0,0,0,556,557,9,0,0,0,557,144,1,0,0,0,558,562,4,71,1,0,559,561,3,3,0,0,560,559,1,0,0,0,561,564,1,0,0,0,562,560,1,0,0,0,562,563,1,0,0,0,563,565,1,0,0,0,564,562,1,0,0,0,565,566,5,61,0,0,566,567,5,61,0,0,567,571,1,0,0,0,568,570,8,8,0,0,569,568,1,0,0,0,570,573,1,0,0,0,571,569,1,0,0,0,571,572,1,0,0,0,572,146,1,0,0,0,573,571,1,0,0,0,574,576,8,8,0,0,575,574,1,0,0,0,576,577,1,0,0,0,577,575,1,0,0,0,577,578,1,0,0,0,578,148,1,0,0,0,579,580,7,8,0,0,580,581,1,0,0,0,581,582,6,73,5,0,582,150,1,0,0,0,583,585,8,8,0,0,584,583,1,0,0,0,585,586,1,0,0,0,586,584,1,0,0,0,586,587,1,0,0,0,587,152,1,0,0,0,588,589,7,8,0,0,589,590,1,0,0,0,590,591,6,75,5,0,591,154,1,0,0,0,29,0,1,2,160,232,302,338,386,432,460,466,475,481,488,493,499,506,508,513,517,525,527,536,538,551,562,571,577,586,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],zi=new X.atn.ATNDeserializer().deserialize(cx),Cx=zi.decisionToState.map((t,e)=>new X.dfa.DFA(t,e));class v2 extends X.Lexer{constructor(e){super(e),this._interp=new X.atn.LexerATNSimulator(this,zi,Cx,new X.PredictionContextCache),this.isTitle=function(){const n=this._tokenStartCharIndex;if(this._input.getText(0,n-1).replace(/\/\/[^\n]*(?:\n|$)/g,"").trim().length)return!1;const l=32,L=9,c=-1,C=46,d=61,f=40;let g=6,p=this._input.LA(g);for(;p===l||p===L;)++g,p=this._input.LA(g);return p===c||p!==C&&p!==d&&p!==f}}get atn(){return zi}}d2(v2,"grammarFileName","sequenceLexer.g4"),d2(v2,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),d2(v2,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),d2(v2,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'",null,"':'","'<<'","'>>'","'-->'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'critical'",null,"'ref'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),d2(v2,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","RETURN_ARROW","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),d2(v2,"ruleNames",["HWS","WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","RETURN_ARROW","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","UNIT","DIGIT","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),v2.EOF=X.Token.EOF,v2.WS=1,v2.CONSTANT=2,v2.READONLY=3,v2.STATIC=4,v2.AWAIT=5,v2.TITLE=6,v2.COL=7,v2.SOPEN=8,v2.SCLOSE=9,v2.RETURN_ARROW=10,v2.ARROW=11,v2.COLOR=12,v2.OR=13,v2.AND=14,v2.EQ=15,v2.NEQ=16,v2.GT=17,v2.LT=18,v2.GTEQ=19,v2.LTEQ=20,v2.PLUS=21,v2.MINUS=22,v2.MULT=23,v2.DIV=24,v2.MOD=25,v2.POW=26,v2.NOT=27,v2.SCOL=28,v2.COMMA=29,v2.ASSIGN=30,v2.OPAR=31,v2.CPAR=32,v2.OBRACE=33,v2.CBRACE=34,v2.TRUE=35,v2.FALSE=36,v2.NIL=37,v2.IF=38,v2.ELSE=39,v2.WHILE=40,v2.RETURN=41,v2.NEW=42,v2.PAR=43,v2.GROUP=44,v2.OPT=45,v2.CRITICAL=46,v2.SECTION=47,v2.REF=48,v2.AS=49,v2.TRY=50,v2.CATCH=51,v2.FINALLY=52,v2.IN=53,v2.STARTER_LXR=54,v2.ANNOTATION_RET=55,v2.ANNOTATION=56,v2.DOT=57,v2.ID=58,v2.INT=59,v2.FLOAT=60,v2.MONEY=61,v2.NUMBER_UNIT=62,v2.CSTRING=63,v2.USTRING=64,v2.CR=65,v2.COMMENT=66,v2.OTHER=67,v2.DIVIDER=68,v2.EVENT_PAYLOAD_LXR=69,v2.EVENT_END=70,v2.TITLE_CONTENT=71,v2.TITLE_END=72,v2.COMMENT_CHANNEL=2,v2.MODIFIER_CHANNEL=3,v2.EVENT=1,v2.TITLE_MODE=2,v2.prototype.sempred=function(t,e,n){switch(e){case 6:return this.TITLE_sempred(t,n);case 71:return this.DIVIDER_sempred(t,n);default:throw"No registered predicate for:"+e}},v2.prototype.TITLE_sempred=function(t,e){switch(e){case 0:return this.isTitle();default:throw"No predicate with index:"+e}},v2.prototype.DIVIDER_sempred=function(t,e){switch(e){case 1:return this.column===0;default:throw"No predicate with index:"+e}};class J extends X.tree.ParseTreeListener{enterProg(e){}exitProg(e){}enterTitle(e){}exitTitle(e){}enterHead(e){}exitHead(e){}enterGroup(e){}exitGroup(e){}enterStarterExp(e){}exitStarterExp(e){}enterStarter(e){}exitStarter(e){}enterParticipant(e){}exitParticipant(e){}enterStereotype(e){}exitStereotype(e){}enterLabel(e){}exitLabel(e){}enterParticipantType(e){}exitParticipantType(e){}enterName(e){}exitName(e){}enterWidth(e){}exitWidth(e){}enterBlock(e){}exitBlock(e){}enterRet(e){}exitRet(e){}enterReturnAsyncMessage(e){}exitReturnAsyncMessage(e){}enterDivider(e){}exitDivider(e){}enterDividerNote(e){}exitDividerNote(e){}enterStat(e){}exitStat(e){}enterPar(e){}exitPar(e){}enterOpt(e){}exitOpt(e){}enterCritical(e){}exitCritical(e){}enterSection(e){}exitSection(e){}enterCreation(e){}exitCreation(e){}enterRef(e){}exitRef(e){}enterCreationBody(e){}exitCreationBody(e){}enterMessage(e){}exitMessage(e){}enterMessageBody(e){}exitMessageBody(e){}enterFromTo(e){}exitFromTo(e){}enterFunc(e){}exitFunc(e){}enterFrom(e){}exitFrom(e){}enterTo(e){}exitTo(e){}enterSignature(e){}exitSignature(e){}enterInvocation(e){}exitInvocation(e){}enterAssignment(e){}exitAssignment(e){}enterAsyncMessage(e){}exitAsyncMessage(e){}enterContent(e){}exitContent(e){}enterConstruct(e){}exitConstruct(e){}enterType(e){}exitType(e){}enterAssignee(e){}exitAssignee(e){}enterMethodName(e){}exitMethodName(e){}enterParameters(e){}exitParameters(e){}enterParameter(e){}exitParameter(e){}enterNamedParameter(e){}exitNamedParameter(e){}enterDeclaration(e){}exitDeclaration(e){}enterTcf(e){}exitTcf(e){}enterTryBlock(e){}exitTryBlock(e){}enterCatchBlock(e){}exitCatchBlock(e){}enterFinallyBlock(e){}exitFinallyBlock(e){}enterAlt(e){}exitAlt(e){}enterIfBlock(e){}exitIfBlock(e){}enterElseIfBlock(e){}exitElseIfBlock(e){}enterElseBlock(e){}exitElseBlock(e){}enterBraceBlock(e){}exitBraceBlock(e){}enterLoop(e){}exitLoop(e){}enterAssignmentExpr(e){}exitAssignmentExpr(e){}enterFuncExpr(e){}exitFuncExpr(e){}enterAtomExpr(e){}exitAtomExpr(e){}enterOrExpr(e){}exitOrExpr(e){}enterAdditiveExpr(e){}exitAdditiveExpr(e){}enterRelationalExpr(e){}exitRelationalExpr(e){}enterPlusExpr(e){}exitPlusExpr(e){}enterNotExpr(e){}exitNotExpr(e){}enterUnaryMinusExpr(e){}exitUnaryMinusExpr(e){}enterCreationExpr(e){}exitCreationExpr(e){}enterParenthesizedExpr(e){}exitParenthesizedExpr(e){}enterMultiplicationExpr(e){}exitMultiplicationExpr(e){}enterEqualityExpr(e){}exitEqualityExpr(e){}enterAndExpr(e){}exitAndExpr(e){}enterNumberAtom(e){}exitNumberAtom(e){}enterNumberUnitAtom(e){}exitNumberUnitAtom(e){}enterMoneyAtom(e){}exitMoneyAtom(e){}enterBooleanAtom(e){}exitBooleanAtom(e){}enterIdAtom(e){}exitIdAtom(e){}enterStringAtom(e){}exitStringAtom(e){}enterNilAtom(e){}exitNilAtom(e){}enterParExpr(e){}exitParExpr(e){}enterCondition(e){}exitCondition(e){}enterInExpr(e){}exitInExpr(e){}enterTextExpr(e){}exitTextExpr(e){}}const ux=[4,1,72,633,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,1,0,3,0,122,8,0,1,0,1,0,3,0,126,8,0,1,0,1,0,1,0,1,0,3,0,132,8,0,1,0,3,0,135,8,0,1,0,1,0,1,0,3,0,140,8,0,1,1,1,1,3,1,144,8,1,1,1,3,1,147,8,1,1,2,1,2,4,2,151,8,2,11,2,12,2,152,1,2,1,2,5,2,157,8,2,10,2,12,2,160,9,2,1,2,3,2,163,8,2,1,3,1,3,3,3,167,8,3,1,3,1,3,5,3,171,8,3,10,3,12,3,174,9,3,1,3,3,3,177,8,3,3,3,179,8,3,1,4,1,4,1,4,3,4,184,8,4,1,4,3,4,187,8,4,1,4,3,4,190,8,4,1,5,1,5,1,6,3,6,195,8,6,1,6,3,6,198,8,6,1,6,1,6,3,6,202,8,6,1,6,3,6,205,8,6,1,6,3,6,208,8,6,1,6,1,6,3,6,212,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,221,8,7,1,7,1,7,3,7,225,8,7,3,7,227,8,7,1,8,1,8,1,8,3,8,232,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,241,8,12,11,12,12,12,242,1,13,1,13,3,13,247,8,13,1,13,3,13,250,8,13,1,13,1,13,1,13,3,13,255,8,13,1,13,1,13,3,13,259,8,13,3,13,261,8,13,1,14,1,14,1,14,1,14,1,14,3,14,268,8,14,1,14,1,14,1,14,3,14,273,8,14,3,14,275,8,14,1,15,1,15,1,16,1,16,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,3,17,292,8,17,1,17,1,17,1,17,3,17,297,8,17,1,18,1,18,3,18,301,8,18,1,18,1,18,3,18,305,8,18,1,19,1,19,3,19,309,8,19,1,19,1,19,3,19,313,8,19,1,20,1,20,3,20,317,8,20,1,20,1,20,3,20,321,8,20,1,21,1,21,1,21,3,21,326,8,21,1,21,3,21,329,8,21,1,21,1,21,1,21,3,21,334,8,21,1,22,1,22,1,22,3,22,339,8,22,1,23,1,23,1,23,1,23,1,23,5,23,346,8,23,10,23,12,23,349,9,23,5,23,351,8,23,10,23,12,23,354,9,23,1,23,1,23,3,23,358,8,23,1,24,3,24,361,8,24,1,24,1,24,1,24,1,24,3,24,367,8,24,1,24,3,24,370,8,24,1,24,3,24,373,8,24,1,24,3,24,376,8,24,1,25,1,25,1,25,3,25,381,8,25,1,26,1,26,1,26,3,26,386,8,26,1,26,3,26,389,8,26,1,26,1,26,3,26,393,8,26,1,26,3,26,396,8,26,1,27,1,27,1,27,3,27,401,8,27,1,27,1,27,1,27,1,28,1,28,1,28,5,28,409,8,28,10,28,12,28,412,9,28,1,29,1,29,1,30,1,30,1,31,1,31,3,31,420,8,31,1,32,1,32,3,32,424,8,32,1,32,1,32,1,33,3,33,429,8,33,1,33,1,33,1,33,1,34,1,34,1,34,3,34,437,8,34,1,34,1,34,1,34,3,34,442,8,34,1,34,1,34,1,34,3,34,447,8,34,3,34,449,8,34,1,35,1,35,1,36,1,36,1,37,1,37,1,38,1,38,1,38,1,38,5,38,461,8,38,10,38,12,38,464,9,38,1,38,1,38,1,38,3,38,469,8,38,1,39,1,39,1,40,1,40,1,40,5,40,476,8,40,10,40,12,40,479,9,40,1,40,3,40,482,8,40,1,41,1,41,1,41,3,41,487,8,41,1,42,1,42,1,42,3,42,492,8,42,1,43,1,43,1,43,1,44,1,44,5,44,499,8,44,10,44,12,44,502,9,44,1,44,3,44,505,8,44,1,45,1,45,1,45,1,46,1,46,3,46,512,8,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,5,48,521,8,48,10,48,12,48,524,9,48,1,48,3,48,527,8,48,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,52,1,52,3,52,543,8,52,1,52,1,52,1,53,1,53,3,53,549,8,53,1,53,3,53,552,8,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,563,8,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,574,8,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,5,54,597,8,54,10,54,12,54,600,9,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,609,8,55,1,56,1,56,3,56,613,8,56,1,56,3,56,616,8,56,1,57,1,57,1,57,1,57,3,57,622,8,57,1,58,1,58,1,58,1,58,1,59,4,59,629,8,59,11,59,12,59,630,1,59,0,1,108,60,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,0,11,2,0,8,8,18,18,2,0,9,9,17,17,2,0,58,58,63,64,2,0,11,11,22,22,1,0,23,25,1,0,21,22,1,0,17,20,1,0,15,16,1,0,59,60,1,0,35,36,1,0,63,64,708,0,139,1,0,0,0,2,141,1,0,0,0,4,162,1,0,0,0,6,164,1,0,0,0,8,189,1,0,0,0,10,191,1,0,0,0,12,211,1,0,0,0,14,226,1,0,0,0,16,231,1,0,0,0,18,233,1,0,0,0,20,235,1,0,0,0,22,237,1,0,0,0,24,240,1,0,0,0,26,260,1,0,0,0,28,274,1,0,0,0,30,276,1,0,0,0,32,278,1,0,0,0,34,296,1,0,0,0,36,304,1,0,0,0,38,312,1,0,0,0,40,320,1,0,0,0,42,333,1,0,0,0,44,335,1,0,0,0,46,340,1,0,0,0,48,375,1,0,0,0,50,377,1,0,0,0,52,395,1,0,0,0,54,400,1,0,0,0,56,405,1,0,0,0,58,413,1,0,0,0,60,415,1,0,0,0,62,417,1,0,0,0,64,421,1,0,0,0,66,428,1,0,0,0,68,448,1,0,0,0,70,450,1,0,0,0,72,452,1,0,0,0,74,454,1,0,0,0,76,468,1,0,0,0,78,470,1,0,0,0,80,472,1,0,0,0,82,486,1,0,0,0,84,488,1,0,0,0,86,493,1,0,0,0,88,496,1,0,0,0,90,506,1,0,0,0,92,509,1,0,0,0,94,515,1,0,0,0,96,518,1,0,0,0,98,528,1,0,0,0,100,532,1,0,0,0,102,537,1,0,0,0,104,540,1,0,0,0,106,546,1,0,0,0,108,573,1,0,0,0,110,608,1,0,0,0,112,610,1,0,0,0,114,621,1,0,0,0,116,623,1,0,0,0,118,628,1,0,0,0,120,122,3,2,1,0,121,120,1,0,0,0,121,122,1,0,0,0,122,123,1,0,0,0,123,140,5,0,0,1,124,126,3,2,1,0,125,124,1,0,0,0,125,126,1,0,0,0,126,127,1,0,0,0,127,128,3,4,2,0,128,129,5,0,0,1,129,140,1,0,0,0,130,132,3,2,1,0,131,130,1,0,0,0,131,132,1,0,0,0,132,134,1,0,0,0,133,135,3,4,2,0,134,133,1,0,0,0,134,135,1,0,0,0,135,136,1,0,0,0,136,137,3,24,12,0,137,138,5,0,0,1,138,140,1,0,0,0,139,121,1,0,0,0,139,125,1,0,0,0,139,131,1,0,0,0,140,1,1,0,0,0,141,143,5,6,0,0,142,144,5,71,0,0,143,142,1,0,0,0,143,144,1,0,0,0,144,146,1,0,0,0,145,147,5,72,0,0,146,145,1,0,0,0,146,147,1,0,0,0,147,3,1,0,0,0,148,151,3,6,3,0,149,151,3,12,6,0,150,148,1,0,0,0,150,149,1,0,0,0,151,152,1,0,0,0,152,150,1,0,0,0,152,153,1,0,0,0,153,163,1,0,0,0,154,157,3,6,3,0,155,157,3,12,6,0,156,154,1,0,0,0,156,155,1,0,0,0,157,160,1,0,0,0,158,156,1,0,0,0,158,159,1,0,0,0,159,161,1,0,0,0,160,158,1,0,0,0,161,163,3,8,4,0,162,150,1,0,0,0,162,158,1,0,0,0,163,5,1,0,0,0,164,166,5,44,0,0,165,167,3,20,10,0,166,165,1,0,0,0,166,167,1,0,0,0,167,178,1,0,0,0,168,172,5,33,0,0,169,171,3,12,6,0,170,169,1,0,0,0,171,174,1,0,0,0,172,170,1,0,0,0,172,173,1,0,0,0,173,176,1,0,0,0,174,172,1,0,0,0,175,177,5,34,0,0,176,175,1,0,0,0,176,177,1,0,0,0,177,179,1,0,0,0,178,168,1,0,0,0,178,179,1,0,0,0,179,7,1,0,0,0,180,186,5,54,0,0,181,183,5,31,0,0,182,184,3,10,5,0,183,182,1,0,0,0,183,184,1,0,0,0,184,185,1,0,0,0,185,187,5,32,0,0,186,181,1,0,0,0,186,187,1,0,0,0,187,190,1,0,0,0,188,190,5,56,0,0,189,180,1,0,0,0,189,188,1,0,0,0,190,9,1,0,0,0,191,192,3,20,10,0,192,11,1,0,0,0,193,195,3,18,9,0,194,193,1,0,0,0,194,195,1,0,0,0,195,197,1,0,0,0,196,198,3,14,7,0,197,196,1,0,0,0,197,198,1,0,0,0,198,199,1,0,0,0,199,201,3,20,10,0,200,202,3,22,11,0,201,200,1,0,0,0,201,202,1,0,0,0,202,204,1,0,0,0,203,205,3,16,8,0,204,203,1,0,0,0,204,205,1,0,0,0,205,207,1,0,0,0,206,208,5,12,0,0,207,206,1,0,0,0,207,208,1,0,0,0,208,212,1,0,0,0,209,212,3,14,7,0,210,212,3,18,9,0,211,194,1,0,0,0,211,209,1,0,0,0,211,210,1,0,0,0,212,13,1,0,0,0,213,214,5,8,0,0,214,215,3,20,10,0,215,216,5,9,0,0,216,227,1,0,0,0,217,218,5,8,0,0,218,220,3,20,10,0,219,221,5,17,0,0,220,219,1,0,0,0,220,221,1,0,0,0,221,227,1,0,0,0,222,224,7,0,0,0,223,225,7,1,0,0,224,223,1,0,0,0,224,225,1,0,0,0,225,227,1,0,0,0,226,213,1,0,0,0,226,217,1,0,0,0,226,222,1,0,0,0,227,15,1,0,0,0,228,229,5,49,0,0,229,232,3,20,10,0,230,232,5,49,0,0,231,228,1,0,0,0,231,230,1,0,0,0,232,17,1,0,0,0,233,234,5,56,0,0,234,19,1,0,0,0,235,236,7,2,0,0,236,21,1,0,0,0,237,238,5,59,0,0,238,23,1,0,0,0,239,241,3,34,17,0,240,239,1,0,0,0,241,242,1,0,0,0,242,240,1,0,0,0,242,243,1,0,0,0,243,25,1,0,0,0,244,246,5,41,0,0,245,247,3,108,54,0,246,245,1,0,0,0,246,247,1,0,0,0,247,249,1,0,0,0,248,250,5,28,0,0,249,248,1,0,0,0,249,250,1,0,0,0,250,261,1,0,0,0,251,252,5,55,0,0,252,254,3,68,34,0,253,255,5,70,0,0,254,253,1,0,0,0,254,255,1,0,0,0,255,261,1,0,0,0,256,258,3,28,14,0,257,259,5,70,0,0,258,257,1,0,0,0,258,259,1,0,0,0,259,261,1,0,0,0,260,244,1,0,0,0,260,251,1,0,0,0,260,256,1,0,0,0,261,27,1,0,0,0,262,263,3,58,29,0,263,264,5,10,0,0,264,265,3,60,30,0,265,267,5,7,0,0,266,268,3,70,35,0,267,266,1,0,0,0,267,268,1,0,0,0,268,275,1,0,0,0,269,270,3,58,29,0,270,272,5,10,0,0,271,273,3,60,30,0,272,271,1,0,0,0,272,273,1,0,0,0,273,275,1,0,0,0,274,262,1,0,0,0,274,269,1,0,0,0,275,29,1,0,0,0,276,277,3,32,16,0,277,31,1,0,0,0,278,279,5,68,0,0,279,33,1,0,0,0,280,297,3,96,48,0,281,297,3,36,18,0,282,297,3,38,19,0,283,297,3,40,20,0,284,297,3,42,21,0,285,297,3,46,23,0,286,297,3,106,53,0,287,297,3,44,22,0,288,297,3,50,25,0,289,291,3,68,34,0,290,292,5,70,0,0,291,290,1,0,0,0,291,292,1,0,0,0,292,297,1,0,0,0,293,297,3,26,13,0,294,297,3,30,15,0,295,297,3,88,44,0,296,280,1,0,0,0,296,281,1,0,0,0,296,282,1,0,0,0,296,283,1,0,0,0,296,284,1,0,0,0,296,285,1,0,0,0,296,286,1,0,0,0,296,287,1,0,0,0,296,288,1,0,0,0,296,289,1,0,0,0,296,293,1,0,0,0,296,294,1,0,0,0,296,295,1,0,0,0,297,35,1,0,0,0,298,300,5,43,0,0,299,301,3,112,56,0,300,299,1,0,0,0,300,301,1,0,0,0,301,302,1,0,0,0,302,305,3,104,52,0,303,305,5,43,0,0,304,298,1,0,0,0,304,303,1,0,0,0,305,37,1,0,0,0,306,308,5,45,0,0,307,309,3,112,56,0,308,307,1,0,0,0,308,309,1,0,0,0,309,310,1,0,0,0,310,313,3,104,52,0,311,313,5,45,0,0,312,306,1,0,0,0,312,311,1,0,0,0,313,39,1,0,0,0,314,316,5,46,0,0,315,317,3,112,56,0,316,315,1,0,0,0,316,317,1,0,0,0,317,318,1,0,0,0,318,321,3,104,52,0,319,321,5,46,0,0,320,314,1,0,0,0,320,319,1,0,0,0,321,41,1,0,0,0,322,328,5,47,0,0,323,325,5,31,0,0,324,326,3,110,55,0,325,324,1,0,0,0,325,326,1,0,0,0,326,327,1,0,0,0,327,329,5,32,0,0,328,323,1,0,0,0,328,329,1,0,0,0,329,330,1,0,0,0,330,334,3,104,52,0,331,334,3,104,52,0,332,334,5,47,0,0,333,322,1,0,0,0,333,331,1,0,0,0,333,332,1,0,0,0,334,43,1,0,0,0,335,338,3,48,24,0,336,339,5,28,0,0,337,339,3,104,52,0,338,336,1,0,0,0,338,337,1,0,0,0,338,339,1,0,0,0,339,45,1,0,0,0,340,341,5,48,0,0,341,342,5,31,0,0,342,352,3,20,10,0,343,347,5,29,0,0,344,346,3,20,10,0,345,344,1,0,0,0,346,349,1,0,0,0,347,345,1,0,0,0,347,348,1,0,0,0,348,351,1,0,0,0,349,347,1,0,0,0,350,343,1,0,0,0,351,354,1,0,0,0,352,350,1,0,0,0,352,353,1,0,0,0,353,355,1,0,0,0,354,352,1,0,0,0,355,357,5,32,0,0,356,358,5,28,0,0,357,356,1,0,0,0,357,358,1,0,0,0,358,47,1,0,0,0,359,361,3,66,33,0,360,359,1,0,0,0,360,361,1,0,0,0,361,362,1,0,0,0,362,363,5,42,0,0,363,369,3,72,36,0,364,366,5,31,0,0,365,367,3,80,40,0,366,365,1,0,0,0,366,367,1,0,0,0,367,368,1,0,0,0,368,370,5,32,0,0,369,364,1,0,0,0,369,370,1,0,0,0,370,376,1,0,0,0,371,373,3,66,33,0,372,371,1,0,0,0,372,373,1,0,0,0,373,374,1,0,0,0,374,376,5,42,0,0,375,360,1,0,0,0,375,372,1,0,0,0,376,49,1,0,0,0,377,380,3,52,26,0,378,381,5,28,0,0,379,381,3,104,52,0,380,378,1,0,0,0,380,379,1,0,0,0,380,381,1,0,0,0,381,51,1,0,0,0,382,388,3,66,33,0,383,385,3,54,27,0,384,386,3,56,28,0,385,384,1,0,0,0,385,386,1,0,0,0,386,389,1,0,0,0,387,389,3,56,28,0,388,383,1,0,0,0,388,387,1,0,0,0,388,389,1,0,0,0,389,396,1,0,0,0,390,392,3,54,27,0,391,393,3,56,28,0,392,391,1,0,0,0,392,393,1,0,0,0,393,396,1,0,0,0,394,396,3,56,28,0,395,382,1,0,0,0,395,390,1,0,0,0,395,394,1,0,0,0,396,53,1,0,0,0,397,398,3,58,29,0,398,399,5,11,0,0,399,401,1,0,0,0,400,397,1,0,0,0,400,401,1,0,0,0,401,402,1,0,0,0,402,403,3,60,30,0,403,404,5,57,0,0,404,55,1,0,0,0,405,410,3,62,31,0,406,407,5,57,0,0,407,409,3,62,31,0,408,406,1,0,0,0,409,412,1,0,0,0,410,408,1,0,0,0,410,411,1,0,0,0,411,57,1,0,0,0,412,410,1,0,0,0,413,414,3,20,10,0,414,59,1,0,0,0,415,416,3,20,10,0,416,61,1,0,0,0,417,419,3,78,39,0,418,420,3,64,32,0,419,418,1,0,0,0,419,420,1,0,0,0,420,63,1,0,0,0,421,423,5,31,0,0,422,424,3,80,40,0,423,422,1,0,0,0,423,424,1,0,0,0,424,425,1,0,0,0,425,426,5,32,0,0,426,65,1,0,0,0,427,429,3,74,37,0,428,427,1,0,0,0,428,429,1,0,0,0,429,430,1,0,0,0,430,431,3,76,38,0,431,432,5,30,0,0,432,67,1,0,0,0,433,434,3,58,29,0,434,435,5,11,0,0,435,437,1,0,0,0,436,433,1,0,0,0,436,437,1,0,0,0,437,438,1,0,0,0,438,439,3,60,30,0,439,441,5,7,0,0,440,442,3,70,35,0,441,440,1,0,0,0,441,442,1,0,0,0,442,449,1,0,0,0,443,444,3,58,29,0,444,446,7,3,0,0,445,447,3,60,30,0,446,445,1,0,0,0,446,447,1,0,0,0,447,449,1,0,0,0,448,436,1,0,0,0,448,443,1,0,0,0,449,69,1,0,0,0,450,451,5,69,0,0,451,71,1,0,0,0,452,453,3,20,10,0,453,73,1,0,0,0,454,455,3,20,10,0,455,75,1,0,0,0,456,469,3,110,55,0,457,462,5,58,0,0,458,459,5,29,0,0,459,461,5,58,0,0,460,458,1,0,0,0,461,464,1,0,0,0,462,460,1,0,0,0,462,463,1,0,0,0,463,469,1,0,0,0,464,462,1,0,0,0,465,469,5,63,0,0,466,469,5,64,0,0,467,469,5,42,0,0,468,456,1,0,0,0,468,457,1,0,0,0,468,465,1,0,0,0,468,466,1,0,0,0,468,467,1,0,0,0,469,77,1,0,0,0,470,471,3,20,10,0,471,79,1,0,0,0,472,477,3,82,41,0,473,474,5,29,0,0,474,476,3,82,41,0,475,473,1,0,0,0,476,479,1,0,0,0,477,475,1,0,0,0,477,478,1,0,0,0,478,481,1,0,0,0,479,477,1,0,0,0,480,482,5,29,0,0,481,480,1,0,0,0,481,482,1,0,0,0,482,81,1,0,0,0,483,487,3,84,42,0,484,487,3,86,43,0,485,487,3,108,54,0,486,483,1,0,0,0,486,484,1,0,0,0,486,485,1,0,0,0,487,83,1,0,0,0,488,489,5,58,0,0,489,491,5,30,0,0,490,492,3,108,54,0,491,490,1,0,0,0,491,492,1,0,0,0,492,85,1,0,0,0,493,494,3,74,37,0,494,495,5,58,0,0,495,87,1,0,0,0,496,500,3,90,45,0,497,499,3,92,46,0,498,497,1,0,0,0,499,502,1,0,0,0,500,498,1,0,0,0,500,501,1,0,0,0,501,504,1,0,0,0,502,500,1,0,0,0,503,505,3,94,47,0,504,503,1,0,0,0,504,505,1,0,0,0,505,89,1,0,0,0,506,507,5,50,0,0,507,508,3,104,52,0,508,91,1,0,0,0,509,511,5,51,0,0,510,512,3,64,32,0,511,510,1,0,0,0,511,512,1,0,0,0,512,513,1,0,0,0,513,514,3,104,52,0,514,93,1,0,0,0,515,516,5,52,0,0,516,517,3,104,52,0,517,95,1,0,0,0,518,522,3,98,49,0,519,521,3,100,50,0,520,519,1,0,0,0,521,524,1,0,0,0,522,520,1,0,0,0,522,523,1,0,0,0,523,526,1,0,0,0,524,522,1,0,0,0,525,527,3,102,51,0,526,525,1,0,0,0,526,527,1,0,0,0,527,97,1,0,0,0,528,529,5,38,0,0,529,530,3,112,56,0,530,531,3,104,52,0,531,99,1,0,0,0,532,533,5,39,0,0,533,534,5,38,0,0,534,535,3,112,56,0,535,536,3,104,52,0,536,101,1,0,0,0,537,538,5,39,0,0,538,539,3,104,52,0,539,103,1,0,0,0,540,542,5,33,0,0,541,543,3,24,12,0,542,541,1,0,0,0,542,543,1,0,0,0,543,544,1,0,0,0,544,545,5,34,0,0,545,105,1,0,0,0,546,548,5,40,0,0,547,549,3,112,56,0,548,547,1,0,0,0,548,549,1,0,0,0,549,551,1,0,0,0,550,552,3,104,52,0,551,550,1,0,0,0,551,552,1,0,0,0,552,107,1,0,0,0,553,554,6,54,-1,0,554,574,3,110,55,0,555,556,5,22,0,0,556,574,3,108,54,13,557,558,5,27,0,0,558,574,3,108,54,12,559,560,3,60,30,0,560,561,5,57,0,0,561,563,1,0,0,0,562,559,1,0,0,0,562,563,1,0,0,0,563,564,1,0,0,0,564,574,3,56,28,0,565,574,3,44,22,0,566,567,5,31,0,0,567,568,3,108,54,0,568,569,5,32,0,0,569,574,1,0,0,0,570,571,3,66,33,0,571,572,3,108,54,1,572,574,1,0,0,0,573,553,1,0,0,0,573,555,1,0,0,0,573,557,1,0,0,0,573,562,1,0,0,0,573,565,1,0,0,0,573,566,1,0,0,0,573,570,1,0,0,0,574,598,1,0,0,0,575,576,10,11,0,0,576,577,7,4,0,0,577,597,3,108,54,12,578,579,10,10,0,0,579,580,7,5,0,0,580,597,3,108,54,11,581,582,10,9,0,0,582,583,7,6,0,0,583,597,3,108,54,10,584,585,10,8,0,0,585,586,7,7,0,0,586,597,3,108,54,9,587,588,10,7,0,0,588,589,5,14,0,0,589,597,3,108,54,8,590,591,10,6,0,0,591,592,5,13,0,0,592,597,3,108,54,7,593,594,10,5,0,0,594,595,5,21,0,0,595,597,3,108,54,6,596,575,1,0,0,0,596,578,1,0,0,0,596,581,1,0,0,0,596,584,1,0,0,0,596,587,1,0,0,0,596,590,1,0,0,0,596,593,1,0,0,0,597,600,1,0,0,0,598,596,1,0,0,0,598,599,1,0,0,0,599,109,1,0,0,0,600,598,1,0,0,0,601,609,7,8,0,0,602,609,5,62,0,0,603,609,5,61,0,0,604,609,7,9,0,0,605,609,5,58,0,0,606,609,7,10,0,0,607,609,5,37,0,0,608,601,1,0,0,0,608,602,1,0,0,0,608,603,1,0,0,0,608,604,1,0,0,0,608,605,1,0,0,0,608,606,1,0,0,0,608,607,1,0,0,0,609,111,1,0,0,0,610,612,5,31,0,0,611,613,3,114,57,0,612,611,1,0,0,0,612,613,1,0,0,0,613,615,1,0,0,0,614,616,5,32,0,0,615,614,1,0,0,0,615,616,1,0,0,0,616,113,1,0,0,0,617,622,3,110,55,0,618,622,3,108,54,0,619,622,3,116,58,0,620,622,3,118,59,0,621,617,1,0,0,0,621,618,1,0,0,0,621,619,1,0,0,0,621,620,1,0,0,0,622,115,1,0,0,0,623,624,5,58,0,0,624,625,5,53,0,0,625,626,5,58,0,0,626,117,1,0,0,0,627,629,5,58,0,0,628,627,1,0,0,0,629,630,1,0,0,0,630,628,1,0,0,0,630,631,1,0,0,0,631,119,1,0,0,0,95,121,125,131,134,139,143,146,150,152,156,158,162,166,172,176,178,183,186,189,194,197,201,204,207,211,220,224,226,231,242,246,249,254,258,260,267,272,274,291,296,300,304,308,312,316,320,325,328,333,338,347,352,357,360,366,369,372,375,380,385,388,392,395,400,410,419,423,428,436,441,446,448,462,468,477,481,486,491,500,504,511,522,526,542,548,551,562,573,596,598,608,612,615,621,630],Ni=new X.atn.ATNDeserializer().deserialize(ux),dx=Ni.decisionToState.map((t,e)=>new X.dfa.DFA(t,e)),hx=new X.PredictionContextCache,q=class q extends X.Parser{constructor(e){super(e),this._interp=new X.atn.ParserATNSimulator(this,Ni,dx,hx),this.ruleNames=q.ruleNames,this.literalNames=q.literalNames,this.symbolicNames=q.symbolicNames}get atn(){return Ni}sempred(e,n,s){switch(n){case 54:return this.expr_sempred(e,s);default:throw"No predicate with index:"+n}}expr_sempred(e,n){switch(n){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+n}}prog(){let e=new nL(this,this._ctx,this.state);this.enterRule(e,0,q.RULE_prog);var n=0;try{this.state=139,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,4,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=121,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=120,this.title()),this.state=123,this.match(q.EOF);break;case 2:this.enterOuterAlt(e,2),this.state=125,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=124,this.title()),this.state=127,this.head(),this.state=128,this.match(q.EOF);break;case 3:this.enterOuterAlt(e,3),this.state=131,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=130,this.title()),this.state=134,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,3,this._ctx);s===1&&(this.state=133,this.head()),this.state=136,this.block(),this.state=137,this.match(q.EOF);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}title(){let e=new Oi(this,this._ctx,this.state);this.enterRule(e,2,q.RULE_title);var n=0;try{this.enterOuterAlt(e,1),this.state=141,this.match(q.TITLE),this.state=143,this._errHandler.sync(this),n=this._input.LA(1),n===71&&(this.state=142,this.match(q.TITLE_CONTENT)),this.state=146,this._errHandler.sync(this),n=this._input.LA(1),n===72&&(this.state=145,this.match(q.TITLE_END))}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}head(){let e=new Di(this,this._ctx,this.state);this.enterRule(e,4,q.RULE_head);try{this.state=162,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,11,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=150,this._errHandler.sync(this);var s=1;do{switch(s){case 1:switch(this.state=150,this._errHandler.sync(this),this._input.LA(1)){case 44:this.state=148,this.group();break;case 8:case 18:case 56:case 58:case 63:case 64:this.state=149,this.participant();break;default:throw new X.error.NoViableAltException(this)}break;default:throw new X.error.NoViableAltException(this)}this.state=152,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,8,this._ctx)}while(s!=2&&s!=X.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(e,2),this.state=158,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,10,this._ctx);s!=2&&s!=X.atn.ATN.INVALID_ALT_NUMBER;){if(s===1)switch(this.state=156,this._errHandler.sync(this),this._input.LA(1)){case 44:this.state=154,this.group();break;case 8:case 18:case 56:case 58:case 63:case 64:this.state=155,this.participant();break;default:throw new X.error.NoViableAltException(this)}this.state=160,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,10,this._ctx)}this.state=161,this.starterExp();break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}group(){let e=new me(this,this._ctx,this.state);this.enterRule(e,6,q.RULE_group);var n=0;try{this.enterOuterAlt(e,1),this.state=164,this.match(q.GROUP),this.state=166,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,12,this._ctx);s===1&&(this.state=165,this.name()),this.state=178,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,15,this._ctx);if(s===1){this.state=168,this.match(q.OBRACE),this.state=172,this._errHandler.sync(this);for(var l=this._interp.adaptivePredict(this._input,13,this._ctx);l!=2&&l!=X.atn.ATN.INVALID_ALT_NUMBER;)l===1&&(this.state=169,this.participant()),this.state=174,this._errHandler.sync(this),l=this._interp.adaptivePredict(this._input,13,this._ctx);this.state=176,this._errHandler.sync(this),n=this._input.LA(1),n===34&&(this.state=175,this.match(q.CBRACE))}}catch(L){if(L instanceof X.error.RecognitionException)e.exception=L,this._errHandler.reportError(this,L),this._errHandler.recover(this,L);else throw L}finally{this.exitRule()}return e}starterExp(){let e=new Fi(this,this._ctx,this.state);this.enterRule(e,8,q.RULE_starterExp);var n=0;try{switch(this.state=189,this._errHandler.sync(this),this._input.LA(1)){case 54:this.enterOuterAlt(e,1),this.state=180,this.match(q.STARTER_LXR),this.state=186,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=181,this.match(q.OPAR),this.state=183,this._errHandler.sync(this),n=this._input.LA(1),(n-58&-32)==0&&(1<<n-58&97)!==0&&(this.state=182,this.starter()),this.state=185,this.match(q.CPAR));break;case 56:this.enterOuterAlt(e,2),this.state=188,this.match(q.ANNOTATION);break;default:throw new X.error.NoViableAltException(this)}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}starter(){let e=new Bi(this,this._ctx,this.state);this.enterRule(e,10,q.RULE_starter);try{this.enterOuterAlt(e,1),this.state=191,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}participant(){let e=new o8(this,this._ctx,this.state);this.enterRule(e,12,q.RULE_participant);var n=0;try{this.state=211,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,24,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=194,this._errHandler.sync(this),n=this._input.LA(1),n===56&&(this.state=193,this.participantType()),this.state=197,this._errHandler.sync(this),n=this._input.LA(1),(n===8||n===18)&&(this.state=196,this.stereotype()),this.state=199,this.name(),this.state=201,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,21,this._ctx);s===1&&(this.state=200,this.width()),this.state=204,this._errHandler.sync(this),n=this._input.LA(1),n===49&&(this.state=203,this.label()),this.state=207,this._errHandler.sync(this),n=this._input.LA(1),n===12&&(this.state=206,this.match(q.COLOR));break;case 2:this.enterOuterAlt(e,2),this.state=209,this.stereotype();break;case 3:this.enterOuterAlt(e,3),this.state=210,this.participantType();break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}stereotype(){let e=new Ui(this,this._ctx,this.state);this.enterRule(e,14,q.RULE_stereotype);var n=0;try{this.state=226,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,27,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=213,this.match(q.SOPEN),this.state=214,this.name(),this.state=215,this.match(q.SCLOSE);break;case 2:this.enterOuterAlt(e,2),this.state=217,this.match(q.SOPEN),this.state=218,this.name(),this.state=220,this._errHandler.sync(this),n=this._input.LA(1),n===17&&(this.state=219,this.match(q.GT));break;case 3:this.enterOuterAlt(e,3),this.state=222,n=this._input.LA(1),n===8||n===18?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=224,this._errHandler.sync(this),n=this._input.LA(1),(n===9||n===17)&&(this.state=223,n=this._input.LA(1),n===9||n===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}label(){let e=new Hi(this,this._ctx,this.state);this.enterRule(e,16,q.RULE_label);try{this.state=231,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,28,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=228,this.match(q.AS),this.state=229,this.name();break;case 2:this.enterOuterAlt(e,2),this.state=230,this.match(q.AS);break}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}participantType(){let e=new Pi(this,this._ctx,this.state);this.enterRule(e,18,q.RULE_participantType);try{this.enterOuterAlt(e,1),this.state=233,this.match(q.ANNOTATION)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}name(){let e=new h4(this,this._ctx,this.state);this.enterRule(e,20,q.RULE_name);var n=0;try{this.enterOuterAlt(e,1),this.state=235,n=this._input.LA(1),(n-58&-32)==0&&(1<<n-58&97)!==0?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}width(){let e=new Wi(this,this._ctx,this.state);this.enterRule(e,22,q.RULE_width);try{this.enterOuterAlt(e,1),this.state=237,this.match(q.INT)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}block(){let e=new xe(this,this._ctx,this.state);this.enterRule(e,24,q.RULE_block);var n=0;try{this.enterOuterAlt(e,1),this.state=240,this._errHandler.sync(this),n=this._input.LA(1);do this.state=239,this.stat(),this.state=242,this._errHandler.sync(this),n=this._input.LA(1);while((n-33&-32)==0&&(1<<n-33&4265801661)!==0||n===68)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}ret(){let e=new ji(this,this._ctx,this.state);this.enterRule(e,26,q.RULE_ret);var n=0;try{switch(this.state=260,this._errHandler.sync(this),this._input.LA(1)){case 41:this.enterOuterAlt(e,1),this.state=244,this.match(q.RETURN),this.state=246,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,30,this._ctx);s===1&&(this.state=245,this.expr(0)),this.state=249,this._errHandler.sync(this),n=this._input.LA(1),n===28&&(this.state=248,this.match(q.SCOL));break;case 55:this.enterOuterAlt(e,2),this.state=251,this.match(q.ANNOTATION_RET),this.state=252,this.asyncMessage(),this.state=254,this._errHandler.sync(this),n=this._input.LA(1),n===70&&(this.state=253,this.match(q.EVENT_END));break;case 58:case 63:case 64:this.enterOuterAlt(e,3),this.state=256,this.returnAsyncMessage(),this.state=258,this._errHandler.sync(this),n=this._input.LA(1),n===70&&(this.state=257,this.match(q.EVENT_END));break;default:throw new X.error.NoViableAltException(this)}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}returnAsyncMessage(){let e=new $i(this,this._ctx,this.state);this.enterRule(e,28,q.RULE_returnAsyncMessage);var n=0;try{this.state=274,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,37,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=262,this.from(),this.state=263,this.match(q.RETURN_ARROW),this.state=264,this.to(),this.state=265,this.match(q.COL),this.state=267,this._errHandler.sync(this),n=this._input.LA(1),n===69&&(this.state=266,this.content());break;case 2:this.enterOuterAlt(e,2),this.state=269,this.from(),this.state=270,this.match(q.RETURN_ARROW),this.state=272,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,36,this._ctx);s===1&&(this.state=271,this.to());break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}divider(){let e=new Vi(this,this._ctx,this.state);this.enterRule(e,30,q.RULE_divider);try{this.enterOuterAlt(e,1),this.state=276,this.dividerNote()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}dividerNote(){let e=new Gi(this,this._ctx,this.state);this.enterRule(e,32,q.RULE_dividerNote);try{this.enterOuterAlt(e,1),this.state=278,this.match(q.DIVIDER)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}stat(){let e=new we(this,this._ctx,this.state);this.enterRule(e,34,q.RULE_stat);var n=0;try{this.state=296,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,39,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=280,this.alt();break;case 2:this.enterOuterAlt(e,2),this.state=281,this.par();break;case 3:this.enterOuterAlt(e,3),this.state=282,this.opt();break;case 4:this.enterOuterAlt(e,4),this.state=283,this.critical();break;case 5:this.enterOuterAlt(e,5),this.state=284,this.section();break;case 6:this.enterOuterAlt(e,6),this.state=285,this.ref();break;case 7:this.enterOuterAlt(e,7),this.state=286,this.loop();break;case 8:this.enterOuterAlt(e,8),this.state=287,this.creation();break;case 9:this.enterOuterAlt(e,9),this.state=288,this.message();break;case 10:this.enterOuterAlt(e,10),this.state=289,this.asyncMessage(),this.state=291,this._errHandler.sync(this),n=this._input.LA(1),n===70&&(this.state=290,this.match(q.EVENT_END));break;case 11:this.enterOuterAlt(e,11),this.state=293,this.ret();break;case 12:this.enterOuterAlt(e,12),this.state=294,this.divider();break;case 13:this.enterOuterAlt(e,13),this.state=295,this.tcf();break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}par(){let e=new qi(this,this._ctx,this.state);this.enterRule(e,36,q.RULE_par);var n=0;try{this.state=304,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,41,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=298,this.match(q.PAR),this.state=300,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=299,this.parExpr()),this.state=302,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=303,this.match(q.PAR);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}opt(){let e=new Yi(this,this._ctx,this.state);this.enterRule(e,38,q.RULE_opt);var n=0;try{this.state=312,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,43,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=306,this.match(q.OPT),this.state=308,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=307,this.parExpr()),this.state=310,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=311,this.match(q.OPT);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}critical(){let e=new Xi(this,this._ctx,this.state);this.enterRule(e,40,q.RULE_critical);var n=0;try{this.state=320,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,45,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=314,this.match(q.CRITICAL),this.state=316,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=315,this.parExpr()),this.state=318,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=319,this.match(q.CRITICAL);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}section(){let e=new Qi(this,this._ctx,this.state);this.enterRule(e,42,q.RULE_section);var n=0;try{this.state=333,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,48,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=322,this.match(q.SECTION),this.state=328,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=323,this.match(q.OPAR),this.state=325,this._errHandler.sync(this),n=this._input.LA(1),(n-35&-32)==0&&(1<<n-35&1065353223)!==0&&(this.state=324,this.atom()),this.state=327,this.match(q.CPAR)),this.state=330,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=331,this.braceBlock();break;case 3:this.enterOuterAlt(e,3),this.state=332,this.match(q.SECTION);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}creation(){let e=new ve(this,this._ctx,this.state);this.enterRule(e,44,q.RULE_creation);try{this.enterOuterAlt(e,1),this.state=335,this.creationBody(),this.state=338,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,49,this._ctx);n===1?(this.state=336,this.match(q.SCOL)):n===2&&(this.state=337,this.braceBlock())}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}ref(){let e=new Ki(this,this._ctx,this.state);this.enterRule(e,46,q.RULE_ref);var n=0;try{for(this.enterOuterAlt(e,1),this.state=340,this.match(q.REF),this.state=341,this.match(q.OPAR),this.state=342,this.name(),this.state=352,this._errHandler.sync(this),n=this._input.LA(1);n===29;){for(this.state=343,this.match(q.COMMA),this.state=347,this._errHandler.sync(this),n=this._input.LA(1);(n-58&-32)==0&&(1<<n-58&97)!==0;)this.state=344,this.name(),this.state=349,this._errHandler.sync(this),n=this._input.LA(1);this.state=354,this._errHandler.sync(this),n=this._input.LA(1)}this.state=355,this.match(q.CPAR),this.state=357,this._errHandler.sync(this),n=this._input.LA(1),n===28&&(this.state=356,this.match(q.SCOL))}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}creationBody(){let e=new Ji(this,this._ctx,this.state);this.enterRule(e,48,q.RULE_creationBody);var n=0;try{this.state=375,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,57,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=360,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,53,this._ctx);s===1&&(this.state=359,this.assignment()),this.state=362,this.match(q.NEW),this.state=363,this.construct(),this.state=369,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,55,this._ctx);s===1&&(this.state=364,this.match(q.OPAR),this.state=366,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&2285895680)!==0||(n-35&-32)==0&&(1<<n-35&1065353351)!==0)&&(this.state=365,this.parameters()),this.state=368,this.match(q.CPAR));break;case 2:this.enterOuterAlt(e,2),this.state=372,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,56,this._ctx);s===1&&(this.state=371,this.assignment()),this.state=374,this.match(q.NEW);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}message(){let e=new es(this,this._ctx,this.state);this.enterRule(e,50,q.RULE_message);try{this.enterOuterAlt(e,1),this.state=377,this.messageBody(),this.state=380,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,58,this._ctx);n===1?(this.state=378,this.match(q.SCOL)):n===2&&(this.state=379,this.braceBlock())}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}messageBody(){let e=new ts(this,this._ctx,this.state);this.enterRule(e,52,q.RULE_messageBody);try{this.state=395,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,62,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=382,this.assignment(),this.state=388,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,60,this._ctx);if(n===1){this.state=383,this.fromTo(),this.state=385,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,59,this._ctx);n===1&&(this.state=384,this.func())}else n===2&&(this.state=387,this.func());break;case 2:this.enterOuterAlt(e,2),this.state=390,this.fromTo(),this.state=392,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,61,this._ctx);n===1&&(this.state=391,this.func());break;case 3:this.enterOuterAlt(e,3),this.state=394,this.func();break}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}fromTo(){let e=new ns(this,this._ctx,this.state);this.enterRule(e,54,q.RULE_fromTo);try{this.enterOuterAlt(e,1),this.state=400,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,63,this._ctx);n===1&&(this.state=397,this.from(),this.state=398,this.match(q.ARROW)),this.state=402,this.to(),this.state=403,this.match(q.DOT)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}func(){let e=new Me(this,this._ctx,this.state);this.enterRule(e,56,q.RULE_func);try{this.enterOuterAlt(e,1),this.state=405,this.signature(),this.state=410,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,64,this._ctx);n!=2&&n!=X.atn.ATN.INVALID_ALT_NUMBER;)n===1&&(this.state=406,this.match(q.DOT),this.state=407,this.signature()),this.state=412,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,64,this._ctx)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}from(){let e=new m6(this,this._ctx,this.state);this.enterRule(e,58,q.RULE_from);try{this.enterOuterAlt(e,1),this.state=413,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}to(){let e=new l8(this,this._ctx,this.state);this.enterRule(e,60,q.RULE_to);try{this.enterOuterAlt(e,1),this.state=415,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}signature(){let e=new _e(this,this._ctx,this.state);this.enterRule(e,62,q.RULE_signature);try{this.enterOuterAlt(e,1),this.state=417,this.methodName(),this.state=419,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,65,this._ctx);n===1&&(this.state=418,this.invocation())}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}invocation(){let e=new ye(this,this._ctx,this.state);this.enterRule(e,64,q.RULE_invocation);var n=0;try{this.enterOuterAlt(e,1),this.state=421,this.match(q.OPAR),this.state=423,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&2285895680)!==0||(n-35&-32)==0&&(1<<n-35&1065353351)!==0)&&(this.state=422,this.parameters()),this.state=425,this.match(q.CPAR)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}assignment(){let e=new x6(this,this._ctx,this.state);this.enterRule(e,66,q.RULE_assignment);try{this.enterOuterAlt(e,1),this.state=428,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,67,this._ctx);n===1&&(this.state=427,this.type()),this.state=430,this.assignee(),this.state=431,this.match(q.ASSIGN)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}asyncMessage(){let e=new Re(this,this._ctx,this.state);this.enterRule(e,68,q.RULE_asyncMessage);var n=0;try{this.state=448,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,71,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=436,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,68,this._ctx);s===1&&(this.state=433,this.from(),this.state=434,this.match(q.ARROW)),this.state=438,this.to(),this.state=439,this.match(q.COL),this.state=441,this._errHandler.sync(this),n=this._input.LA(1),n===69&&(this.state=440,this.content());break;case 2:this.enterOuterAlt(e,2),this.state=443,this.from(),this.state=444,n=this._input.LA(1),n===11||n===22?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=446,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,70,this._ctx);s===1&&(this.state=445,this.to());break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}content(){let e=new be(this,this._ctx,this.state);this.enterRule(e,70,q.RULE_content);try{this.enterOuterAlt(e,1),this.state=450,this.match(q.EVENT_PAYLOAD_LXR)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}construct(){let e=new is(this,this._ctx,this.state);this.enterRule(e,72,q.RULE_construct);try{this.enterOuterAlt(e,1),this.state=452,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}type(){let e=new Ae(this,this._ctx,this.state);this.enterRule(e,74,q.RULE_type);try{this.enterOuterAlt(e,1),this.state=454,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}assignee(){let e=new ss(this,this._ctx,this.state);this.enterRule(e,76,q.RULE_assignee);var n=0;try{this.state=468,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,73,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=456,this.atom();break;case 2:for(this.enterOuterAlt(e,2),this.state=457,this.match(q.ID),this.state=462,this._errHandler.sync(this),n=this._input.LA(1);n===29;)this.state=458,this.match(q.COMMA),this.state=459,this.match(q.ID),this.state=464,this._errHandler.sync(this),n=this._input.LA(1);break;case 3:this.enterOuterAlt(e,3),this.state=465,this.match(q.CSTRING);break;case 4:this.enterOuterAlt(e,4),this.state=466,this.match(q.USTRING);break;case 5:this.enterOuterAlt(e,5),this.state=467,this.match(q.NEW);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}methodName(){let e=new os(this,this._ctx,this.state);this.enterRule(e,78,q.RULE_methodName);try{this.enterOuterAlt(e,1),this.state=470,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}parameters(){let e=new Se(this,this._ctx,this.state);this.enterRule(e,80,q.RULE_parameters);var n=0;try{this.enterOuterAlt(e,1),this.state=472,this.parameter(),this.state=477,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,74,this._ctx);s!=2&&s!=X.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=473,this.match(q.COMMA),this.state=474,this.parameter()),this.state=479,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,74,this._ctx);this.state=481,this._errHandler.sync(this),n=this._input.LA(1),n===29&&(this.state=480,this.match(q.COMMA))}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}parameter(){let e=new ke(this,this._ctx,this.state);this.enterRule(e,82,q.RULE_parameter);try{this.state=486,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,76,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=483,this.namedParameter();break;case 2:this.enterOuterAlt(e,2),this.state=484,this.declaration();break;case 3:this.enterOuterAlt(e,3),this.state=485,this.expr(0);break}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}namedParameter(){let e=new ls(this,this._ctx,this.state);this.enterRule(e,84,q.RULE_namedParameter);var n=0;try{this.enterOuterAlt(e,1),this.state=488,this.match(q.ID),this.state=489,this.match(q.ASSIGN),this.state=491,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&2285895680)!==0||(n-35&-32)==0&&(1<<n-35&1065353351)!==0)&&(this.state=490,this.expr(0))}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}declaration(){let e=new rs(this,this._ctx,this.state);this.enterRule(e,86,q.RULE_declaration);try{this.enterOuterAlt(e,1),this.state=493,this.type(),this.state=494,this.match(q.ID)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}tcf(){let e=new as(this,this._ctx,this.state);this.enterRule(e,88,q.RULE_tcf);var n=0;try{for(this.enterOuterAlt(e,1),this.state=496,this.tryBlock(),this.state=500,this._errHandler.sync(this),n=this._input.LA(1);n===51;)this.state=497,this.catchBlock(),this.state=502,this._errHandler.sync(this),n=this._input.LA(1);this.state=504,this._errHandler.sync(this),n=this._input.LA(1),n===52&&(this.state=503,this.finallyBlock())}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}tryBlock(){let e=new Ls(this,this._ctx,this.state);this.enterRule(e,90,q.RULE_tryBlock);try{this.enterOuterAlt(e,1),this.state=506,this.match(q.TRY),this.state=507,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}catchBlock(){let e=new Ze(this,this._ctx,this.state);this.enterRule(e,92,q.RULE_catchBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=509,this.match(q.CATCH),this.state=511,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=510,this.invocation()),this.state=513,this.braceBlock()}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}finallyBlock(){let e=new cs(this,this._ctx,this.state);this.enterRule(e,94,q.RULE_finallyBlock);try{this.enterOuterAlt(e,1),this.state=515,this.match(q.FINALLY),this.state=516,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}alt(){let e=new Cs(this,this._ctx,this.state);this.enterRule(e,96,q.RULE_alt);var n=0;try{this.enterOuterAlt(e,1),this.state=518,this.ifBlock(),this.state=522,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,81,this._ctx);s!=2&&s!=X.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=519,this.elseIfBlock()),this.state=524,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,81,this._ctx);this.state=526,this._errHandler.sync(this),n=this._input.LA(1),n===39&&(this.state=525,this.elseBlock())}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}ifBlock(){let e=new us(this,this._ctx,this.state);this.enterRule(e,98,q.RULE_ifBlock);try{this.enterOuterAlt(e,1),this.state=528,this.match(q.IF),this.state=529,this.parExpr(),this.state=530,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseIfBlock(){let e=new Te(this,this._ctx,this.state);this.enterRule(e,100,q.RULE_elseIfBlock);try{this.enterOuterAlt(e,1),this.state=532,this.match(q.ELSE),this.state=533,this.match(q.IF),this.state=534,this.parExpr(),this.state=535,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseBlock(){let e=new ds(this,this._ctx,this.state);this.enterRule(e,102,q.RULE_elseBlock);try{this.enterOuterAlt(e,1),this.state=537,this.match(q.ELSE),this.state=538,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}braceBlock(){let e=new o4(this,this._ctx,this.state);this.enterRule(e,104,q.RULE_braceBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=540,this.match(q.OBRACE),this.state=542,this._errHandler.sync(this),n=this._input.LA(1),((n-33&-32)==0&&(1<<n-33&4265801661)!==0||n===68)&&(this.state=541,this.block()),this.state=544,this.match(q.CBRACE)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}loop(){let e=new hs(this,this._ctx,this.state);this.enterRule(e,106,q.RULE_loop);var n=0;try{this.enterOuterAlt(e,1),this.state=546,this.match(q.WHILE),this.state=548,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=547,this.parExpr()),this.state=551,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,85,this._ctx);s===1&&(this.state=550,this.braceBlock())}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}expr(e){e===void 0&&(e=0);const n=this._ctx,s=this.state;let l=new J2(this,this._ctx,s),L=l;const c=108;this.enterRecursionRule(l,108,q.RULE_expr,e);var C=0;try{this.enterOuterAlt(l,1),this.state=573,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,87,this._ctx);switch(d){case 1:l=new oL(this,l),this._ctx=l,L=l,this.state=554,this.atom();break;case 2:l=new CL(this,l),this._ctx=l,L=l,this.state=555,this.match(q.MINUS),this.state=556,this.expr(13);break;case 3:l=new cL(this,l),this._ctx=l,L=l,this.state=557,this.match(q.NOT),this.state=558,this.expr(12);break;case 4:l=new sL(this,l),this._ctx=l,L=l,this.state=562,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,86,this._ctx);d===1&&(this.state=559,this.to(),this.state=560,this.match(q.DOT)),this.state=564,this.func();break;case 5:l=new uL(this,l),this._ctx=l,L=l,this.state=565,this.creation();break;case 6:l=new dL(this,l),this._ctx=l,L=l,this.state=566,this.match(q.OPAR),this.state=567,this.expr(0),this.state=568,this.match(q.CPAR);break;case 7:l=new iL(this,l),this._ctx=l,L=l,this.state=570,this.assignment(),this.state=571,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=598,this._errHandler.sync(this);for(var f=this._interp.adaptivePredict(this._input,89,this._ctx);f!=2&&f!=X.atn.ATN.INVALID_ALT_NUMBER;){if(f===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),L=l,this.state=596,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,88,this._ctx);switch(d){case 1:if(l=new hL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=575,!this.precpred(this._ctx,11))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=576,l.op=this._input.LT(1),C=this._input.LA(1),(C&-32)==0&&(1<<C&58720256)!==0?(this._errHandler.reportMatch(this),this.consume()):l.op=this._errHandler.recoverInline(this),this.state=577,this.expr(12);break;case 2:if(l=new rL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=578,!this.precpred(this._ctx,10))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=579,l.op=this._input.LT(1),C=this._input.LA(1),C===21||C===22?(this._errHandler.reportMatch(this),this.consume()):l.op=this._errHandler.recoverInline(this),this.state=580,this.expr(11);break;case 3:if(l=new aL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=581,!this.precpred(this._ctx,9))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=582,l.op=this._input.LT(1),C=this._input.LA(1),(C&-32)==0&&(1<<C&1966080)!==0?(this._errHandler.reportMatch(this),this.consume()):l.op=this._errHandler.recoverInline(this),this.state=583,this.expr(10);break;case 4:if(l=new fL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=584,!this.precpred(this._ctx,8))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=585,l.op=this._input.LT(1),C=this._input.LA(1),C===15||C===16?(this._errHandler.reportMatch(this),this.consume()):l.op=this._errHandler.recoverInline(this),this.state=586,this.expr(9);break;case 5:if(l=new gL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=587,!this.precpred(this._ctx,7))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=588,this.match(q.AND),this.state=589,this.expr(8);break;case 6:if(l=new lL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=590,!this.precpred(this._ctx,6))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=591,this.match(q.OR),this.state=592,this.expr(7);break;case 7:if(l=new LL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=593,!this.precpred(this._ctx,5))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=594,this.match(q.PLUS),this.state=595,this.expr(6);break}}this.state=600,this._errHandler.sync(this),f=this._interp.adaptivePredict(this._input,89,this._ctx)}}catch(g){if(g instanceof X.error.RecognitionException)l.exception=g,this._errHandler.reportError(this,g),this._errHandler.recover(this,g);else throw g}finally{this.unrollRecursionContexts(n)}return l}atom(){let e=new Z4(this,this._ctx,this.state);this.enterRule(e,110,q.RULE_atom);var n=0;try{switch(this.state=608,this._errHandler.sync(this),this._input.LA(1)){case 59:case 60:e=new ML(this,e),this.enterOuterAlt(e,1),this.state=601,n=this._input.LA(1),n===59||n===60?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 62:e=new _L(this,e),this.enterOuterAlt(e,2),this.state=602,this.match(q.NUMBER_UNIT);break;case 61:e=new xL(this,e),this.enterOuterAlt(e,3),this.state=603,this.match(q.MONEY);break;case 35:case 36:e=new pL(this,e),this.enterOuterAlt(e,4),this.state=604,n=this._input.LA(1),n===35||n===36?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 58:e=new mL(this,e),this.enterOuterAlt(e,5),this.state=605,this.match(q.ID);break;case 63:case 64:e=new wL(this,e),this.enterOuterAlt(e,6),this.state=606,n=this._input.LA(1),n===63||n===64?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 37:e=new vL(this,e),this.enterOuterAlt(e,7),this.state=607,this.match(q.NIL);break;default:throw new X.error.NoViableAltException(this)}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}parExpr(){let e=new w0(this,this._ctx,this.state);this.enterRule(e,112,q.RULE_parExpr);var n=0;try{this.enterOuterAlt(e,1),this.state=610,this.match(q.OPAR),this.state=612,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,91,this._ctx);s===1&&(this.state=611,this.condition()),this.state=615,this._errHandler.sync(this),n=this._input.LA(1),n===32&&(this.state=614,this.match(q.CPAR))}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}condition(){let e=new fs(this,this._ctx,this.state);this.enterRule(e,114,q.RULE_condition);try{this.state=621,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,93,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=617,this.atom();break;case 2:this.enterOuterAlt(e,2),this.state=618,this.expr(0);break;case 3:this.enterOuterAlt(e,3),this.state=619,this.inExpr();break;case 4:this.enterOuterAlt(e,4),this.state=620,this.textExpr();break}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}inExpr(){let e=new gs(this,this._ctx,this.state);this.enterRule(e,116,q.RULE_inExpr);try{this.enterOuterAlt(e,1),this.state=623,this.match(q.ID),this.state=624,this.match(q.IN),this.state=625,this.match(q.ID)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}textExpr(){let e=new ps(this,this._ctx,this.state);this.enterRule(e,118,q.RULE_textExpr);try{this.enterOuterAlt(e,1),this.state=628,this._errHandler.sync(this);var n=1;do{switch(n){case 1:this.state=627,this.match(q.ID);break;default:throw new X.error.NoViableAltException(this)}this.state=630,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,94,this._ctx)}while(n!=2&&n!=X.atn.ATN.INVALID_ALT_NUMBER)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}};d2(q,"grammarFileName","java-escape"),d2(q,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'",null,"':'","'<<'","'>>'","'-->'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'critical'",null,"'ref'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),d2(q,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","RETURN_ARROW","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),d2(q,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","returnAsyncMessage","divider","dividerNote","stat","par","opt","critical","section","creation","ref","creationBody","message","messageBody","fromTo","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","namedParameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr","textExpr"]);let _=q;_.EOF=X.Token.EOF,_.WS=1,_.CONSTANT=2,_.READONLY=3,_.STATIC=4,_.AWAIT=5,_.TITLE=6,_.COL=7,_.SOPEN=8,_.SCLOSE=9,_.RETURN_ARROW=10,_.ARROW=11,_.COLOR=12,_.OR=13,_.AND=14,_.EQ=15,_.NEQ=16,_.GT=17,_.LT=18,_.GTEQ=19,_.LTEQ=20,_.PLUS=21,_.MINUS=22,_.MULT=23,_.DIV=24,_.MOD=25,_.POW=26,_.NOT=27,_.SCOL=28,_.COMMA=29,_.ASSIGN=30,_.OPAR=31,_.CPAR=32,_.OBRACE=33,_.CBRACE=34,_.TRUE=35,_.FALSE=36,_.NIL=37,_.IF=38,_.ELSE=39,_.WHILE=40,_.RETURN=41,_.NEW=42,_.PAR=43,_.GROUP=44,_.OPT=45,_.CRITICAL=46,_.SECTION=47,_.REF=48,_.AS=49,_.TRY=50,_.CATCH=51,_.FINALLY=52,_.IN=53,_.STARTER_LXR=54,_.ANNOTATION_RET=55,_.ANNOTATION=56,_.DOT=57,_.ID=58,_.INT=59,_.FLOAT=60,_.MONEY=61,_.NUMBER_UNIT=62,_.CSTRING=63,_.USTRING=64,_.CR=65,_.COMMENT=66,_.OTHER=67,_.DIVIDER=68,_.EVENT_PAYLOAD_LXR=69,_.EVENT_END=70,_.TITLE_CONTENT=71,_.TITLE_END=72,_.RULE_prog=0,_.RULE_title=1,_.RULE_head=2,_.RULE_group=3,_.RULE_starterExp=4,_.RULE_starter=5,_.RULE_participant=6,_.RULE_stereotype=7,_.RULE_label=8,_.RULE_participantType=9,_.RULE_name=10,_.RULE_width=11,_.RULE_block=12,_.RULE_ret=13,_.RULE_returnAsyncMessage=14,_.RULE_divider=15,_.RULE_dividerNote=16,_.RULE_stat=17,_.RULE_par=18,_.RULE_opt=19,_.RULE_critical=20,_.RULE_section=21,_.RULE_creation=22,_.RULE_ref=23,_.RULE_creationBody=24,_.RULE_message=25,_.RULE_messageBody=26,_.RULE_fromTo=27,_.RULE_func=28,_.RULE_from=29,_.RULE_to=30,_.RULE_signature=31,_.RULE_invocation=32,_.RULE_assignment=33,_.RULE_asyncMessage=34,_.RULE_content=35,_.RULE_construct=36,_.RULE_type=37,_.RULE_assignee=38,_.RULE_methodName=39,_.RULE_parameters=40,_.RULE_parameter=41,_.RULE_namedParameter=42,_.RULE_declaration=43,_.RULE_tcf=44,_.RULE_tryBlock=45,_.RULE_catchBlock=46,_.RULE_finallyBlock=47,_.RULE_alt=48,_.RULE_ifBlock=49,_.RULE_elseIfBlock=50,_.RULE_elseBlock=51,_.RULE_braceBlock=52,_.RULE_loop=53,_.RULE_expr=54,_.RULE_atom=55,_.RULE_parExpr=56,_.RULE_condition=57,_.RULE_inExpr=58,_.RULE_textExpr=59;let nL=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_prog}EOF(){return this.getToken(_.EOF,0)}title(){return this.getTypedRuleContext(Oi,0)}head(){return this.getTypedRuleContext(Di,0)}block(){return this.getTypedRuleContext(xe,0)}enterRule(e){e instanceof J&&e.enterProg(this)}exitRule(e){e instanceof J&&e.exitProg(this)}},Oi=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_title}TITLE(){return this.getToken(_.TITLE,0)}TITLE_CONTENT(){return this.getToken(_.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(_.TITLE_END,0)}enterRule(e){e instanceof J&&e.enterTitle(this)}exitRule(e){e instanceof J&&e.exitTitle(this)}};class Di extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"group",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(me):this.getTypedRuleContext(me,n)});d2(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(o8):this.getTypedRuleContext(o8,n)});this.parser=n,this.ruleIndex=_.RULE_head}starterExp(){return this.getTypedRuleContext(Fi,0)}enterRule(n){n instanceof J&&n.enterHead(this)}exitRule(n){n instanceof J&&n.exitHead(this)}}let me=class extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(o8):this.getTypedRuleContext(o8,n)});this.parser=n,this.ruleIndex=_.RULE_group}GROUP(){return this.getToken(_.GROUP,0)}name(){return this.getTypedRuleContext(h4,0)}OBRACE(){return this.getToken(_.OBRACE,0)}CBRACE(){return this.getToken(_.CBRACE,0)}enterRule(n){n instanceof J&&n.enterGroup(this)}exitRule(n){n instanceof J&&n.exitGroup(this)}};class Fi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_starterExp}STARTER_LXR(){return this.getToken(_.STARTER_LXR,0)}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}starter(){return this.getTypedRuleContext(Bi,0)}ANNOTATION(){return this.getToken(_.ANNOTATION,0)}enterRule(e){e instanceof J&&e.enterStarterExp(this)}exitRule(e){e instanceof J&&e.exitStarterExp(this)}}class Bi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_starter}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterStarter(this)}exitRule(e){e instanceof J&&e.exitStarter(this)}}let o8=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_participant}name(){return this.getTypedRuleContext(h4,0)}participantType(){return this.getTypedRuleContext(Pi,0)}stereotype(){return this.getTypedRuleContext(Ui,0)}width(){return this.getTypedRuleContext(Wi,0)}label(){return this.getTypedRuleContext(Hi,0)}COLOR(){return this.getToken(_.COLOR,0)}enterRule(e){e instanceof J&&e.enterParticipant(this)}exitRule(e){e instanceof J&&e.exitParticipant(this)}};class Ui extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_stereotype}SOPEN(){return this.getToken(_.SOPEN,0)}name(){return this.getTypedRuleContext(h4,0)}SCLOSE(){return this.getToken(_.SCLOSE,0)}GT(){return this.getToken(_.GT,0)}LT(){return this.getToken(_.LT,0)}enterRule(e){e instanceof J&&e.enterStereotype(this)}exitRule(e){e instanceof J&&e.exitStereotype(this)}}class Hi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_label}AS(){return this.getToken(_.AS,0)}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterLabel(this)}exitRule(e){e instanceof J&&e.exitLabel(this)}}class Pi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_participantType}ANNOTATION(){return this.getToken(_.ANNOTATION,0)}enterRule(e){e instanceof J&&e.enterParticipantType(this)}exitRule(e){e instanceof J&&e.exitParticipantType(this)}}class h4 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_name}ID(){return this.getToken(_.ID,0)}CSTRING(){return this.getToken(_.CSTRING,0)}USTRING(){return this.getToken(_.USTRING,0)}enterRule(e){e instanceof J&&e.enterName(this)}exitRule(e){e instanceof J&&e.exitName(this)}}class Wi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_width}INT(){return this.getToken(_.INT,0)}enterRule(e){e instanceof J&&e.enterWidth(this)}exitRule(e){e instanceof J&&e.exitWidth(this)}}class xe extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"stat",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(we):this.getTypedRuleContext(we,n)});this.parser=n,this.ruleIndex=_.RULE_block}enterRule(n){n instanceof J&&n.enterBlock(this)}exitRule(n){n instanceof J&&n.exitBlock(this)}}let ji=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_ret}RETURN(){return this.getToken(_.RETURN,0)}expr(){return this.getTypedRuleContext(J2,0)}SCOL(){return this.getToken(_.SCOL,0)}ANNOTATION_RET(){return this.getToken(_.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Re,0)}EVENT_END(){return this.getToken(_.EVENT_END,0)}returnAsyncMessage(){return this.getTypedRuleContext($i,0)}enterRule(e){e instanceof J&&e.enterRet(this)}exitRule(e){e instanceof J&&e.exitRet(this)}},$i=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_returnAsyncMessage}from(){return this.getTypedRuleContext(m6,0)}RETURN_ARROW(){return this.getToken(_.RETURN_ARROW,0)}to(){return this.getTypedRuleContext(l8,0)}COL(){return this.getToken(_.COL,0)}content(){return this.getTypedRuleContext(be,0)}enterRule(e){e instanceof J&&e.enterReturnAsyncMessage(this)}exitRule(e){e instanceof J&&e.exitReturnAsyncMessage(this)}},Vi=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_divider}dividerNote(){return this.getTypedRuleContext(Gi,0)}enterRule(e){e instanceof J&&e.enterDivider(this)}exitRule(e){e instanceof J&&e.exitDivider(this)}};class Gi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_dividerNote}DIVIDER(){return this.getToken(_.DIVIDER,0)}enterRule(e){e instanceof J&&e.enterDividerNote(this)}exitRule(e){e instanceof J&&e.exitDividerNote(this)}}let we=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_stat}alt(){return this.getTypedRuleContext(Cs,0)}par(){return this.getTypedRuleContext(qi,0)}opt(){return this.getTypedRuleContext(Yi,0)}critical(){return this.getTypedRuleContext(Xi,0)}section(){return this.getTypedRuleContext(Qi,0)}ref(){return this.getTypedRuleContext(Ki,0)}loop(){return this.getTypedRuleContext(hs,0)}creation(){return this.getTypedRuleContext(ve,0)}message(){return this.getTypedRuleContext(es,0)}asyncMessage(){return this.getTypedRuleContext(Re,0)}EVENT_END(){return this.getToken(_.EVENT_END,0)}ret(){return this.getTypedRuleContext(ji,0)}divider(){return this.getTypedRuleContext(Vi,0)}tcf(){return this.getTypedRuleContext(as,0)}enterRule(e){e instanceof J&&e.enterStat(this)}exitRule(e){e instanceof J&&e.exitStat(this)}};class qi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_par}PAR(){return this.getToken(_.PAR,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}parExpr(){return this.getTypedRuleContext(w0,0)}enterRule(e){e instanceof J&&e.enterPar(this)}exitRule(e){e instanceof J&&e.exitPar(this)}}class Yi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_opt}OPT(){return this.getToken(_.OPT,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}parExpr(){return this.getTypedRuleContext(w0,0)}enterRule(e){e instanceof J&&e.enterOpt(this)}exitRule(e){e instanceof J&&e.exitOpt(this)}}class Xi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_critical}CRITICAL(){return this.getToken(_.CRITICAL,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}parExpr(){return this.getTypedRuleContext(w0,0)}enterRule(e){e instanceof J&&e.enterCritical(this)}exitRule(e){e instanceof J&&e.exitCritical(this)}}class Qi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_section}SECTION(){return this.getToken(_.SECTION,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}atom(){return this.getTypedRuleContext(Z4,0)}enterRule(e){e instanceof J&&e.enterSection(this)}exitRule(e){e instanceof J&&e.exitSection(this)}}let ve=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_creation}creationBody(){return this.getTypedRuleContext(Ji,0)}SCOL(){return this.getToken(_.SCOL,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterCreation(this)}exitRule(e){e instanceof J&&e.exitCreation(this)}},Ki=class extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"name",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(h4):this.getTypedRuleContext(h4,n)});d2(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.COMMA):this.getToken(_.COMMA,n)});this.parser=n,this.ruleIndex=_.RULE_ref}REF(){return this.getToken(_.REF,0)}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}SCOL(){return this.getToken(_.SCOL,0)}enterRule(n){n instanceof J&&n.enterRef(this)}exitRule(n){n instanceof J&&n.exitRef(this)}};class Ji extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_creationBody}NEW(){return this.getToken(_.NEW,0)}construct(){return this.getTypedRuleContext(is,0)}assignment(){return this.getTypedRuleContext(x6,0)}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}parameters(){return this.getTypedRuleContext(Se,0)}enterRule(e){e instanceof J&&e.enterCreationBody(this)}exitRule(e){e instanceof J&&e.exitCreationBody(this)}}let es=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_message}messageBody(){return this.getTypedRuleContext(ts,0)}SCOL(){return this.getToken(_.SCOL,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterMessage(this)}exitRule(e){e instanceof J&&e.exitMessage(this)}};class ts extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_messageBody}assignment(){return this.getTypedRuleContext(x6,0)}fromTo(){return this.getTypedRuleContext(ns,0)}func(){return this.getTypedRuleContext(Me,0)}enterRule(e){e instanceof J&&e.enterMessageBody(this)}exitRule(e){e instanceof J&&e.exitMessageBody(this)}}class ns extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_fromTo}to(){return this.getTypedRuleContext(l8,0)}DOT(){return this.getToken(_.DOT,0)}from(){return this.getTypedRuleContext(m6,0)}ARROW(){return this.getToken(_.ARROW,0)}enterRule(e){e instanceof J&&e.enterFromTo(this)}exitRule(e){e instanceof J&&e.exitFromTo(this)}}class Me extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"signature",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(_e):this.getTypedRuleContext(_e,n)});d2(this,"DOT",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.DOT):this.getToken(_.DOT,n)});this.parser=n,this.ruleIndex=_.RULE_func}enterRule(n){n instanceof J&&n.enterFunc(this)}exitRule(n){n instanceof J&&n.exitFunc(this)}}class m6 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_from}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterFrom(this)}exitRule(e){e instanceof J&&e.exitFrom(this)}}class l8 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_to}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterTo(this)}exitRule(e){e instanceof J&&e.exitTo(this)}}class _e extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_signature}methodName(){return this.getTypedRuleContext(os,0)}invocation(){return this.getTypedRuleContext(ye,0)}enterRule(e){e instanceof J&&e.enterSignature(this)}exitRule(e){e instanceof J&&e.exitSignature(this)}}class ye extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_invocation}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}parameters(){return this.getTypedRuleContext(Se,0)}enterRule(e){e instanceof J&&e.enterInvocation(this)}exitRule(e){e instanceof J&&e.exitInvocation(this)}}class x6 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_assignment}assignee(){return this.getTypedRuleContext(ss,0)}ASSIGN(){return this.getToken(_.ASSIGN,0)}type(){return this.getTypedRuleContext(Ae,0)}enterRule(e){e instanceof J&&e.enterAssignment(this)}exitRule(e){e instanceof J&&e.exitAssignment(this)}}let Re=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_asyncMessage}to(){return this.getTypedRuleContext(l8,0)}COL(){return this.getToken(_.COL,0)}from(){return this.getTypedRuleContext(m6,0)}ARROW(){return this.getToken(_.ARROW,0)}content(){return this.getTypedRuleContext(be,0)}MINUS(){return this.getToken(_.MINUS,0)}enterRule(e){e instanceof J&&e.enterAsyncMessage(this)}exitRule(e){e instanceof J&&e.exitAsyncMessage(this)}};class be extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(_.EVENT_PAYLOAD_LXR,0)}enterRule(e){e instanceof J&&e.enterContent(this)}exitRule(e){e instanceof J&&e.exitContent(this)}}class is extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_construct}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterConstruct(this)}exitRule(e){e instanceof J&&e.exitConstruct(this)}}class Ae extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_type}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterType(this)}exitRule(e){e instanceof J&&e.exitType(this)}}class ss extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.ID):this.getToken(_.ID,n)});d2(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.COMMA):this.getToken(_.COMMA,n)});this.parser=n,this.ruleIndex=_.RULE_assignee}atom(){return this.getTypedRuleContext(Z4,0)}CSTRING(){return this.getToken(_.CSTRING,0)}USTRING(){return this.getToken(_.USTRING,0)}NEW(){return this.getToken(_.NEW,0)}enterRule(n){n instanceof J&&n.enterAssignee(this)}exitRule(n){n instanceof J&&n.exitAssignee(this)}}class os extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_methodName}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterMethodName(this)}exitRule(e){e instanceof J&&e.exitMethodName(this)}}let Se=class extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"parameter",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(ke):this.getTypedRuleContext(ke,n)});d2(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.COMMA):this.getToken(_.COMMA,n)});this.parser=n,this.ruleIndex=_.RULE_parameters}enterRule(n){n instanceof J&&n.enterParameters(this)}exitRule(n){n instanceof J&&n.exitParameters(this)}};class ke extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_parameter}namedParameter(){return this.getTypedRuleContext(ls,0)}declaration(){return this.getTypedRuleContext(rs,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterParameter(this)}exitRule(e){e instanceof J&&e.exitParameter(this)}}class ls extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_namedParameter}ID(){return this.getToken(_.ID,0)}ASSIGN(){return this.getToken(_.ASSIGN,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterNamedParameter(this)}exitRule(e){e instanceof J&&e.exitNamedParameter(this)}}class rs extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_declaration}type(){return this.getTypedRuleContext(Ae,0)}ID(){return this.getToken(_.ID,0)}enterRule(e){e instanceof J&&e.enterDeclaration(this)}exitRule(e){e instanceof J&&e.exitDeclaration(this)}}class as extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"catchBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(Ze):this.getTypedRuleContext(Ze,n)});this.parser=n,this.ruleIndex=_.RULE_tcf}tryBlock(){return this.getTypedRuleContext(Ls,0)}finallyBlock(){return this.getTypedRuleContext(cs,0)}enterRule(n){n instanceof J&&n.enterTcf(this)}exitRule(n){n instanceof J&&n.exitTcf(this)}}class Ls extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_tryBlock}TRY(){return this.getToken(_.TRY,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterTryBlock(this)}exitRule(e){e instanceof J&&e.exitTryBlock(this)}}class Ze extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_catchBlock}CATCH(){return this.getToken(_.CATCH,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}invocation(){return this.getTypedRuleContext(ye,0)}enterRule(e){e instanceof J&&e.enterCatchBlock(this)}exitRule(e){e instanceof J&&e.exitCatchBlock(this)}}class cs extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_finallyBlock}FINALLY(){return this.getToken(_.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterFinallyBlock(this)}exitRule(e){e instanceof J&&e.exitFinallyBlock(this)}}class Cs extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"elseIfBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(Te):this.getTypedRuleContext(Te,n)});this.parser=n,this.ruleIndex=_.RULE_alt}ifBlock(){return this.getTypedRuleContext(us,0)}elseBlock(){return this.getTypedRuleContext(ds,0)}enterRule(n){n instanceof J&&n.enterAlt(this)}exitRule(n){n instanceof J&&n.exitAlt(this)}}let us=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_ifBlock}IF(){return this.getToken(_.IF,0)}parExpr(){return this.getTypedRuleContext(w0,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterIfBlock(this)}exitRule(e){e instanceof J&&e.exitIfBlock(this)}};class Te extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_elseIfBlock}ELSE(){return this.getToken(_.ELSE,0)}IF(){return this.getToken(_.IF,0)}parExpr(){return this.getTypedRuleContext(w0,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterElseIfBlock(this)}exitRule(e){e instanceof J&&e.exitElseIfBlock(this)}}class ds extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_elseBlock}ELSE(){return this.getToken(_.ELSE,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterElseBlock(this)}exitRule(e){e instanceof J&&e.exitElseBlock(this)}}class o4 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_braceBlock}OBRACE(){return this.getToken(_.OBRACE,0)}CBRACE(){return this.getToken(_.CBRACE,0)}block(){return this.getTypedRuleContext(xe,0)}enterRule(e){e instanceof J&&e.enterBraceBlock(this)}exitRule(e){e instanceof J&&e.exitBraceBlock(this)}}let hs=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_loop}WHILE(){return this.getToken(_.WHILE,0)}parExpr(){return this.getTypedRuleContext(w0,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterLoop(this)}exitRule(e){e instanceof J&&e.exitLoop(this)}};class J2 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_expr}copyFrom(e){super.copyFrom(e)}}class iL extends J2{constructor(e,n){super(e),super.copyFrom(n)}assignment(){return this.getTypedRuleContext(x6,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterAssignmentExpr(this)}exitRule(e){e instanceof J&&e.exitAssignmentExpr(this)}}_.AssignmentExprContext=iL;class sL extends J2{constructor(e,n){super(e),super.copyFrom(n)}func(){return this.getTypedRuleContext(Me,0)}to(){return this.getTypedRuleContext(l8,0)}DOT(){return this.getToken(_.DOT,0)}enterRule(e){e instanceof J&&e.enterFuncExpr(this)}exitRule(e){e instanceof J&&e.exitFuncExpr(this)}}_.FuncExprContext=sL;class oL extends J2{constructor(e,n){super(e),super.copyFrom(n)}atom(){return this.getTypedRuleContext(Z4,0)}enterRule(e){e instanceof J&&e.enterAtomExpr(this)}exitRule(e){e instanceof J&&e.exitAtomExpr(this)}}_.AtomExprContext=oL;class lL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});super.copyFrom(s)}OR(){return this.getToken(_.OR,0)}enterRule(n){n instanceof J&&n.enterOrExpr(this)}exitRule(n){n instanceof J&&n.exitOrExpr(this)}}_.OrExprContext=lL;class rL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});this.op=null,super.copyFrom(s)}PLUS(){return this.getToken(_.PLUS,0)}MINUS(){return this.getToken(_.MINUS,0)}enterRule(n){n instanceof J&&n.enterAdditiveExpr(this)}exitRule(n){n instanceof J&&n.exitAdditiveExpr(this)}}_.AdditiveExprContext=rL;class aL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});this.op=null,super.copyFrom(s)}LTEQ(){return this.getToken(_.LTEQ,0)}GTEQ(){return this.getToken(_.GTEQ,0)}LT(){return this.getToken(_.LT,0)}GT(){return this.getToken(_.GT,0)}enterRule(n){n instanceof J&&n.enterRelationalExpr(this)}exitRule(n){n instanceof J&&n.exitRelationalExpr(this)}}_.RelationalExprContext=aL;class LL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});super.copyFrom(s)}PLUS(){return this.getToken(_.PLUS,0)}enterRule(n){n instanceof J&&n.enterPlusExpr(this)}exitRule(n){n instanceof J&&n.exitPlusExpr(this)}}_.PlusExprContext=LL;class cL extends J2{constructor(e,n){super(e),super.copyFrom(n)}NOT(){return this.getToken(_.NOT,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterNotExpr(this)}exitRule(e){e instanceof J&&e.exitNotExpr(this)}}_.NotExprContext=cL;class CL extends J2{constructor(e,n){super(e),super.copyFrom(n)}MINUS(){return this.getToken(_.MINUS,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterUnaryMinusExpr(this)}exitRule(e){e instanceof J&&e.exitUnaryMinusExpr(this)}}_.UnaryMinusExprContext=CL;class uL extends J2{constructor(e,n){super(e),super.copyFrom(n)}creation(){return this.getTypedRuleContext(ve,0)}enterRule(e){e instanceof J&&e.enterCreationExpr(this)}exitRule(e){e instanceof J&&e.exitCreationExpr(this)}}_.CreationExprContext=uL;class dL extends J2{constructor(e,n){super(e),super.copyFrom(n)}OPAR(){return this.getToken(_.OPAR,0)}expr(){return this.getTypedRuleContext(J2,0)}CPAR(){return this.getToken(_.CPAR,0)}enterRule(e){e instanceof J&&e.enterParenthesizedExpr(this)}exitRule(e){e instanceof J&&e.exitParenthesizedExpr(this)}}_.ParenthesizedExprContext=dL;class hL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});this.op=null,super.copyFrom(s)}MULT(){return this.getToken(_.MULT,0)}DIV(){return this.getToken(_.DIV,0)}MOD(){return this.getToken(_.MOD,0)}enterRule(n){n instanceof J&&n.enterMultiplicationExpr(this)}exitRule(n){n instanceof J&&n.exitMultiplicationExpr(this)}}_.MultiplicationExprContext=hL;class fL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});this.op=null,super.copyFrom(s)}EQ(){return this.getToken(_.EQ,0)}NEQ(){return this.getToken(_.NEQ,0)}enterRule(n){n instanceof J&&n.enterEqualityExpr(this)}exitRule(n){n instanceof J&&n.exitEqualityExpr(this)}}_.EqualityExprContext=fL;class gL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});super.copyFrom(s)}AND(){return this.getToken(_.AND,0)}enterRule(n){n instanceof J&&n.enterAndExpr(this)}exitRule(n){n instanceof J&&n.exitAndExpr(this)}}_.AndExprContext=gL;class Z4 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_atom}copyFrom(e){super.copyFrom(e)}}class pL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}TRUE(){return this.getToken(_.TRUE,0)}FALSE(){return this.getToken(_.FALSE,0)}enterRule(e){e instanceof J&&e.enterBooleanAtom(this)}exitRule(e){e instanceof J&&e.exitBooleanAtom(this)}}_.BooleanAtomContext=pL;class mL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}ID(){return this.getToken(_.ID,0)}enterRule(e){e instanceof J&&e.enterIdAtom(this)}exitRule(e){e instanceof J&&e.exitIdAtom(this)}}_.IdAtomContext=mL;class xL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}MONEY(){return this.getToken(_.MONEY,0)}enterRule(e){e instanceof J&&e.enterMoneyAtom(this)}exitRule(e){e instanceof J&&e.exitMoneyAtom(this)}}_.MoneyAtomContext=xL;class wL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}CSTRING(){return this.getToken(_.CSTRING,0)}USTRING(){return this.getToken(_.USTRING,0)}enterRule(e){e instanceof J&&e.enterStringAtom(this)}exitRule(e){e instanceof J&&e.exitStringAtom(this)}}_.StringAtomContext=wL;class vL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}NIL(){return this.getToken(_.NIL,0)}enterRule(e){e instanceof J&&e.enterNilAtom(this)}exitRule(e){e instanceof J&&e.exitNilAtom(this)}}_.NilAtomContext=vL;class ML extends Z4{constructor(e,n){super(e),super.copyFrom(n)}INT(){return this.getToken(_.INT,0)}FLOAT(){return this.getToken(_.FLOAT,0)}enterRule(e){e instanceof J&&e.enterNumberAtom(this)}exitRule(e){e instanceof J&&e.exitNumberAtom(this)}}_.NumberAtomContext=ML;class _L extends Z4{constructor(e,n){super(e),super.copyFrom(n)}NUMBER_UNIT(){return this.getToken(_.NUMBER_UNIT,0)}enterRule(e){e instanceof J&&e.enterNumberUnitAtom(this)}exitRule(e){e instanceof J&&e.exitNumberUnitAtom(this)}}_.NumberUnitAtomContext=_L;class w0 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_parExpr}OPAR(){return this.getToken(_.OPAR,0)}condition(){return this.getTypedRuleContext(fs,0)}CPAR(){return this.getToken(_.CPAR,0)}enterRule(e){e instanceof J&&e.enterParExpr(this)}exitRule(e){e instanceof J&&e.exitParExpr(this)}}class fs extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_condition}atom(){return this.getTypedRuleContext(Z4,0)}expr(){return this.getTypedRuleContext(J2,0)}inExpr(){return this.getTypedRuleContext(gs,0)}textExpr(){return this.getTypedRuleContext(ps,0)}enterRule(e){e instanceof J&&e.enterCondition(this)}exitRule(e){e instanceof J&&e.exitCondition(this)}}class gs extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.ID):this.getToken(_.ID,n)});this.parser=n,this.ruleIndex=_.RULE_inExpr}IN(){return this.getToken(_.IN,0)}enterRule(n){n instanceof J&&n.enterInExpr(this)}exitRule(n){n instanceof J&&n.exitInExpr(this)}}class ps extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.ID):this.getToken(_.ID,n)});this.parser=n,this.ruleIndex=_.RULE_textExpr}enterRule(n){n instanceof J&&n.enterTextExpr(this)}exitRule(n){n instanceof J&&n.exitTextExpr(this)}}_.ProgContext=nL,_.TitleContext=Oi,_.HeadContext=Di,_.GroupContext=me,_.StarterExpContext=Fi,_.StarterContext=Bi,_.ParticipantContext=o8,_.StereotypeContext=Ui,_.LabelContext=Hi,_.ParticipantTypeContext=Pi,_.NameContext=h4,_.WidthContext=Wi,_.BlockContext=xe,_.RetContext=ji,_.ReturnAsyncMessageContext=$i,_.DividerContext=Vi,_.DividerNoteContext=Gi,_.StatContext=we,_.ParContext=qi,_.OptContext=Yi,_.CriticalContext=Xi,_.SectionContext=Qi,_.CreationContext=ve,_.RefContext=Ki,_.CreationBodyContext=Ji,_.MessageContext=es,_.MessageBodyContext=ts,_.FromToContext=ns,_.FuncContext=Me,_.FromContext=m6,_.ToContext=l8,_.SignatureContext=_e,_.InvocationContext=ye,_.AssignmentContext=x6,_.AsyncMessageContext=Re,_.ContentContext=be,_.ConstructContext=is,_.TypeContext=Ae,_.AssigneeContext=ss,_.MethodNameContext=os,_.ParametersContext=Se,_.ParameterContext=ke,_.NamedParameterContext=ls,_.DeclarationContext=rs,_.TcfContext=as,_.TryBlockContext=Ls,_.CatchBlockContext=Ze,_.FinallyBlockContext=cs,_.AltContext=Cs,_.IfBlockContext=us,_.ElseIfBlockContext=Te,_.ElseBlockContext=ds,_.BraceBlockContext=o4,_.LoopContext=hs,_.ExprContext=J2,_.AtomContext=Z4,_.ParExprContext=w0,_.ConditionContext=fs,_.InExprContext=gs,_.TextExprContext=ps;const yL={name:"",color:void 0,comment:void 0,explicit:void 0,groupId:void 0,isStarter:void 0,label:void 0,stereotype:void 0,type:void 0,width:void 0,assignee:void 0,positions:new Set,assigneePositions:new Set};let fx=class{constructor(e,n){d2(this,"name");d2(this,"stereotype");d2(this,"width");d2(this,"groupId");d2(this,"explicit");d2(this,"isStarter");d2(this,"label");d2(this,"type");d2(this,"color");d2(this,"comment");d2(this,"assignee");d2(this,"positions",new Set);d2(this,"assigneePositions",new Set);this.name=e,this.mergeOptions(n)}mergeOptions(e){const{stereotype:n,width:s,groupId:l,label:L,explicit:c,isStarter:C,type:d,color:f,comment:g,assignee:p}=e;this.stereotype||(this.stereotype=n),this.width||(this.width=s),this.groupId||(this.groupId=l),this.explicit||(this.explicit=c),this.isStarter||(this.isStarter=C),this.label||(this.label=L),this.type||(this.type=d),this.color||(this.color=f),this.comment||(this.comment=g),this.assignee||(this.assignee=p)}AddPosition(e){this.positions.add(e)}ToValue(){return{name:this.name,stereotype:this.stereotype,width:this.width,groupId:this.groupId,explicit:this.explicit,isStarter:this.isStarter,label:this.label,type:this.type,color:this.color,comment:this.comment,assignee:this.assignee,positions:this.positions,assigneePositions:this.assigneePositions}}},gx=class{constructor(){d2(this,"participants",new Map)}Add(e,n={}){if(!e)throw new Error("Participant name is required");let s=this.Get(e);s?s==null||s.mergeOptions(n):(s=new fx(e,n),this.participants.set(e,s));const{position:l,assigneePosition:L}=n;l&&s.AddPosition(l),L&&s.assigneePositions.add(L)}ImplicitArray(){return this.Array().filter(e=>{var n;return!((n=this.Get(e.name))!=null&&n.explicit)})}Array(){return Array.from(this.participants.entries()).map(e=>e[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(e){return this.participants.get(e)}Size(){return this.participants.size}Starter(){for(const e of this.participants.values())if(e.isStarter)return e}GetPositions(e){var n;return(n=this.participants.get(e))==null?void 0:n.positions}GetAssigneePositions(e){var n;return(n=this.participants.get(e))==null?void 0:n.assigneePositions}},f4,c5=!1,ms;const N3=new J,px=function(t){var v,b,A,k,S,N;if(c5)return;const e=(v=t==null?void 0:t.participantType())==null?void 0:v.getFormattedText().replace("@",""),n=((b=t==null?void 0:t.name())==null?void 0:b.getFormattedText())||"Missing `Participant`",s=(k=(A=t.stereotype())==null?void 0:A.name())==null?void 0:k.getFormattedText(),l=t.width&&t.width()&&Number.parseInt(t.width().getText())||void 0,L=t.label&&t.label(),c=(S=L==null?void 0:L.name())==null?void 0:S.getFormattedText(),C=!0,d=(N=t.COLOR())==null?void 0:N.getText(),f=t.getComment(),g=t.name();let p,m;if(L){const I=L.name();I&&(p=I.start.start,m=I.stop.stop+1)}else g&&(p=g.start.start,m=g.stop.stop+1);f4.Add(n,{isStarter:!1,type:e,stereotype:s,width:l,groupId:ms,label:c,explicit:C,color:d,comment:f,position:[p,m]})};N3.enterParticipant=px;const RL=function(t){if(c5)return;let e=t.getFormattedText();const n=f4.Get(e);if(n!=null&&n.label)f4.Add(e,{isStarter:!1});else if(n!=null&&n.assignee){const l=[t.start.start+n.assignee.length+2,t.stop.stop],L=[t.start.start+1,t.start.start+n.assignee.length+1];f4.Add(e,{isStarter:!1,position:l,assigneePosition:L})}else f4.Add(e,{isStarter:!1,position:[t.start.start,t.stop.stop+1]})};N3.enterFrom=RL,N3.enterTo=RL,N3.enterStarter=function(t){let e=t.getFormattedText();f4.Add(e,{isStarter:!0,position:[t.start.start,t.stop.stop+1]})},N3.enterCreation=function(t){var l;if(c5)return;const e=t.Owner(),n=(l=t==null?void 0:t.creationBody())==null?void 0:l.construct(),s=f4.Get(e);if(n&&!(s!=null&&s.label)){const L=t.Assignee(),c=t.AssigneePosition();f4.Add(e,{isStarter:!1,position:[n.start.start,n.stop.stop+1],assignee:L,assigneePosition:c})}else f4.Add(e,{isStarter:!1})},N3.enterRef=function(t){t.Participants().forEach(e=>{f4.Add(e.getText(),{isStarter:!1,position:[e.start.start,e.stop.stop+1]})})},N3.enterParameters=function(){c5=!0},N3.exitParameters=function(){c5=!1},N3.enterCondition=function(){c5=!0},N3.exitCondition=function(){c5=!1},N3.enterGroup=function(t){var e;ms=(e=t.name())==null?void 0:e.getFormattedText()},N3.exitGroup=function(){ms=void 0},N3.enterRet=function(t){if(t.asyncMessage())return;const e=t.From();e&&f4.Add(e);const n=t.ReturnTo();n&&f4.Add(n)};const mx=X.tree.ParseTreeWalker.DEFAULT;N3.getParticipants=function(t){return f4=new gx,mx.walk(this,t),f4};const xx=X.tree.ParseTreeWalker.DEFAULT;let G3=new J,c3=0,q3=0;G3.enterTcf=function(){c3++},G3.enterOpt=function(){c3++},G3.enterPar=function(){c3++},G3.enterAlt=function(){c3++},G3.enterLoop=function(){c3++},G3.enterSection=function(){c3++},G3.enterCritical=function(){c3++},G3.exitTcf=function(){q3=Math.max(q3,c3),c3--},G3.exitOpt=function(){q3=Math.max(q3,c3),c3--},G3.exitPar=function(){q3=Math.max(q3,c3),c3--},G3.exitAlt=function(){q3=Math.max(q3,c3),c3--},G3.exitLoop=function(){q3=Math.max(q3,c3),c3--},G3.exitSection=function(){q3=Math.max(q3,c3),c3--},G3.exitCritical=function(){q3=Math.max(q3,c3),c3--},G3.depth=function(t){return function(e){return c3=0,q3=0,e.children.map(function(n){xx.walk(t,n)}),q3}};const wx=_.TitleContext;wx.prototype.content=function(){return this.children.length<2?"":this.children[1].getText().trim()};const bL=_,xs=bL.CreationContext;xs.prototype.Body=xs.prototype.creationBody,xs.prototype.isCurrent=function(t){return AL.bind(this)(t)};const ws=bL.MessageContext;ws.prototype.Body=ws.prototype.messageBody,ws.prototype.isCurrent=function(t){return AL.bind(this)(t)};function AL(t){try{if(t==null)return!1;const e=this.start.start,n=this.Body().stop.stop+1;return t>=e&&t<=n}catch{return!1}}const w6=_,r8=w6.CreationContext,vs=w6.MessageContext,SL=w6.AsyncMessageContext,kL=w6.ReturnAsyncMessageContext,ZL=w6.RetContext;r8.prototype.Assignee=function(){var t,e,n;return(n=(e=(t=this.creationBody())==null?void 0:t.assignment())==null?void 0:e.assignee())==null?void 0:n.getFormattedText()},r8.prototype.AssigneePosition=function(){var e,n;const t=(n=(e=this.creationBody())==null?void 0:e.assignment())==null?void 0:n.assignee();if(t)return[t.start.start,t.stop.stop+1]},r8.prototype.Constructor=function(){var t,e;return(e=(t=this.creationBody())==null?void 0:t.construct())==null?void 0:e.getFormattedText()},r8.prototype.To=function(){return this.Constructor()},r8.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const t=this.Assignee(),e=this.Constructor();return t?`${t}:${e}`:e},vs.prototype.To=function(){var t,e,n;return(n=(e=(t=this.messageBody())==null?void 0:t.fromTo())==null?void 0:e.to())==null?void 0:n.getFormattedText()},vs.prototype.Owner=function(){return this.To()||Ee(this.parentCtx)};function Ee(t){for(;t;){if(t instanceof r8||t instanceof vs)return t.Owner();t=t.parentCtx}}SL.prototype.To=function(){var t;return(t=this.to())==null?void 0:t.getFormattedText()},SL.prototype.Owner=function(){return this.To()||Ee(this.parentCtx)},kL.prototype.To=function(){var t;return(t=this.to())==null?void 0:t.getFormattedText()},kL.prototype.Owner=function(){return this.To()||Ee(this.parentCtx)},ZL.prototype.To=function(){return this.ReturnTo()},ZL.prototype.Owner=function(){return this.To()||Ee(this.parentCtx)};const vx=_.ProgContext;vx.prototype.Starter=function(){var t,e,n;return(n=(e=(t=this.head())==null?void 0:t.starterExp())==null?void 0:e.starter())==null?void 0:n.getFormattedText()};const Ie=_,TL=Ie.RetContext,EL=Ie.ProgContext,IL=Ie.MessageContext,Mx=Ie.CreationContext;TL.prototype.Signature=function(){var t,e,n,s,l;return((e=(t=this.asyncMessage())==null?void 0:t.content())==null?void 0:e.getFormattedText())||((s=(n=this.returnAsyncMessage())==null?void 0:n.content())==null?void 0:s.getFormattedText())||((l=this.expr())==null?void 0:l.getFormattedText())},TL.prototype.ReturnTo=function(){var l,L,c,C,d,f,g;const t=((L=(l=this.asyncMessage())==null?void 0:l.to())==null?void 0:L.getFormattedText())||((C=(c=this.returnAsyncMessage())==null?void 0:c.to())==null?void 0:C.getFormattedText());if(t)return t;const s=this.parentCtx.parentCtx.parentCtx;if(s instanceof EL)return s.Starter();{let p=s;for(;p&&!(p instanceof IL)&&!(p instanceof Mx);){if(p instanceof EL)return p.Starter();p=p.parentCtx}return p instanceof IL&&((g=(f=(d=p.messageBody())==null?void 0:d.fromTo())==null?void 0:f.from())==null?void 0:g.getFormattedText())||p.ClosestAncestorStat().Origin()}};const zL=_.RefContext;zL.prototype.Content=function(){return this.name()[0]},zL.prototype.Participants=function(){return this.name().slice(1)??[]};const _x=X.ParserRuleContext,NL=_.StatContext,Ms=_.ProgContext,yx=_.MessageContext,Rx=_.CreationContext;_x.prototype.Origin=function(){let t=this.parentCtx;for(;t&&!(t instanceof NL||t instanceof Ms);)t=this.parentCtx;return t.Origin()},NL.prototype.Origin=function(){let t=this.parentCtx;for(;t;){if(t instanceof Ms)return t.Starter();if(t instanceof yx||t instanceof Rx){const e=t.Owner();if(e)return e}t=t.parentCtx}},Ms.prototype.Origin=function(){return this.Starter()};const bx=_.DividerContext;bx.prototype.Note=function(){var e;const t=(e=this.dividerNote())==null?void 0:e.getFormattedText().trim();if(!t.startsWith("=="))throw new Error("Divider note must start with ==");return t==null?void 0:t.replace(/^=+|=+$/g,"")};function Ax(t){var e,n,s;if((e=t.namedParameter)!=null&&e.call(t)){const l=t.namedParameter();if(l){const L=l.expr(),c=L?L.getFormattedText():"";return`${l.ID().getText()}=${c}`}}if((n=t.declaration)!=null&&n.call(t)){const l=t.declaration();if(l)return`${l.type().getText()} ${l.ID().getText()}`}return(s=t.expr)!=null&&s.call(t)?t.expr().getFormattedText():t.getFormattedText()}function OL(t){return t.map(Ax).join(",")}const Sx=_.MessageContext,kx=_.ParametersContext,Zx=_.AsyncMessageContext,_s=_.CreationContext,Tx=_.RetContext;Sx.prototype.SignatureText=function(){var t,e,n;return((n=(e=(t=this.messageBody())==null?void 0:t.func())==null?void 0:e.signature())==null?void 0:n.map(s=>s==null?void 0:s.getFormattedText()).join("."))??""},Zx.prototype.SignatureText=function(){var t;return((t=this.content())==null?void 0:t.getFormattedText())??""},_s.prototype.ParametersText=function(){var e;const t=this.creationBody().parameters();return((e=t==null?void 0:t.parameter())==null?void 0:e.length)>0?OL(t.parameter()):""},_s.prototype.SignatureText=function(){return`«${this.ParametersText()||"create"}»`},_s.prototype.isParamValid=function(){var t,e;return(((e=(t=this.creationBody().parameters())==null?void 0:t.parameter())==null?void 0:e.length)??0)>0},Tx.prototype.SignatureText=function(){var t,e,n,s,l;return((e=(t=this.asyncMessage())==null?void 0:t.content())==null?void 0:e.getFormattedText())??((s=(n=this.returnAsyncMessage())==null?void 0:n.content())==null?void 0:s.getFormattedText())??((l=this.expr())==null?void 0:l.getFormattedText())??""},_.ReturnAsyncMessageContext.prototype.SignatureText=function(){var t;return((t=this.content())==null?void 0:t.getFormattedText())??""},kx.prototype.getFormattedText=function(){const t=this.parameter();return!t||t.length===0?"":OL(t)};const DL=_,Ex=DL.MessageContext,Ix=DL.CreationContext;class zx{constructor(e,n,s,l){d2(this,"assignee");d2(this,"type");d2(this,"labelPosition");d2(this,"assigneePosition");d2(this,"typePosition");if(n&&!e)throw new Error("assignee must be defined if type is defined");this.assignee=e||"",this.type=n||"",this.labelPosition=s,this.assigneePosition=s,this.typePosition=l}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}function FL(t){var C,d;if(!t)return;const e=(C=t==null?void 0:t.assignee())==null?void 0:C.getFormattedText(),n=(d=t==null?void 0:t.type())==null?void 0:d.getFormattedText(),s=t==null?void 0:t.assignee(),l=s?[s.start.start,s.stop.stop]:[-1,-1],L=t==null?void 0:t.type(),c=L?[L.start.start,L.stop.stop]:[-1,-1];if(e)return new zx(e,n,l,c)}Ex.prototype.Assignment=function(){return FL(this.messageBody().assignment())},Ix.prototype.Assignment=function(){var t;return FL((t=this.creationBody())==null?void 0:t.assignment())};const ze=_,Nx=ze.MessageContext,Ox=ze.CreationContext,Dx=ze.IfBlockContext,Fx=ze.LoopContext;Nx.prototype.Statements=function(){var t,e;return((e=(t=this.braceBlock())==null?void 0:t.block())==null?void 0:e.stat())||[]},Ox.prototype.Statements=function(){var t,e;return((e=(t=this.braceBlock())==null?void 0:t.block())==null?void 0:e.stat())||[]},Dx.prototype.Statements=function(){var t,e;return((e=(t=this.braceBlock())==null?void 0:t.block())==null?void 0:e.stat())||[]},Fx.prototype.Statements=function(){var t,e;return((e=(t=this.braceBlock())==null?void 0:t.block())==null?void 0:e.stat())||[]};const a8=_,Bx=a8.CreationContext,Ux=a8.StatContext,BL=a8.MessageContext,UL=a8.AsyncMessageContext,HL=a8.ReturnAsyncMessageContext,Hx=a8.RetContext;Bx.prototype.From=function(){if(this.parentCtx instanceof Ux)return this.ClosestAncestorStat().Origin()},BL.prototype.ProvidedFrom=function(){var t,e,n;return(n=(e=(t=this.messageBody())==null?void 0:t.fromTo())==null?void 0:e.from())==null?void 0:n.getFormattedText()},BL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},UL.prototype.ProvidedFrom=function(){var t;return(t=this.from())==null?void 0:t.getFormattedText()},UL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},HL.prototype.ProvidedFrom=function(){var t;return(t=this.from())==null?void 0:t.getFormattedText()},HL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},Hx.prototype.From=function(){var t,e;return((t=this.asyncMessage())==null?void 0:t.From())||((e=this.returnAsyncMessage())==null?void 0:e.From())||this.ClosestAncestorStat().Origin()},X.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const PL=_,ys=PL.StatContext;X.ParserRuleContext.prototype.ClosestAncestorStat=function(){if(this instanceof ys)return this;let t=this.parentCtx;for(;t&&!(t instanceof ys);)t=t.parentCtx;if(t instanceof ys)return t},X.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var e;const t=(e=this.ClosestAncestorStat())==null?void 0:e.parentCtx;if(t instanceof PL.BlockContext)return t;console.warn("Cannot find closest ancestor block for context:",this)},X.ParserRuleContext.prototype.getAncestors=function(t){const e=[];(!t||t(this))&&e.push(this);let n=this.parentCtx;for(;n;)(!t||t(n))&&e.push(n),n=n.parentCtx;return e};const WL=t=>t.replace(/[\n\r]/g," ").replace(/\s+/g," ").replace(/\s*([,;.])\s*/g,"$1").replace(/\s*(\()\s*|\s*(\))/g,"$1$2").replace(/\s+$/g,"").replace(/^"(.*)"$/,"$1"),Rs=(t,e)=>{let n=e;for(t[n]===`
26
+ `))}}}return e.length===0?null:e}getEdgeLabel(e){return e===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)}getStateString(e){const n=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?e.predicates!==null?n+"=>"+m0(e.predicates):n+"=>"+e.prediction.toString():n}}class Ya extends ki{constructor(e){super(e,null)}getEdgeLabel(e){return"'"+String.fromCharCode(e)+"'"}}class qm{constructor(e,n){if(n===void 0&&(n=0),this.atnStartState=e,this.decision=n,this._states=new k4,this.s0=null,this.precedenceDfa=!1,e instanceof l5&&e.isPrecedenceDecision){this.precedenceDfa=!0;const s=new P9(null,new s4);s.edges=[],s.isAcceptState=!1,s.requiresFullContext=!1,this.s0=s}}getPrecedenceStartState(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null}setPrecedenceStartState(e,n){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=n)}setPrecedenceDfa(e){if(this.precedenceDfa!==e){if(this._states=new k4,e){const n=new P9(null,new s4);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}else this.s0=null;this.precedenceDfa=e}}sortedStates(){return this._states.values().sort(function(n,s){return n.stateNumber-s.stateNumber})}toString(e,n){return e=e||null,n=n||null,this.s0===null?"":new ki(this,e,n).toString()}toLexerString(){return this.s0===null?"":new Ya(this).toString()}get states(){return this._states}}const Ym={DFA:qm,DFASerializer:ki,LexerDFASerializer:Ya,PredPrediction:qa};class Xa{visitTerminal(e){}visitErrorNode(e){}enterEveryRule(e){}exitEveryRule(e){}}class Xm{visit(e){return Array.isArray(e)?e.map(function(n){return n.accept(this)},this):e.accept(this)}visitChildren(e){return e.children?this.visit(e.children):null}visitTerminal(e){}visitErrorNode(e){}}class Zi{walk(e,n){if(n instanceof ce||n.isErrorNode!==void 0&&n.isErrorNode())e.visitErrorNode(n);else if(n instanceof U9)e.visitTerminal(n);else{this.enterRule(e,n);for(let l=0;l<n.getChildCount();l++){const L=n.getChild(l);this.walk(e,L)}this.exitRule(e,n)}}enterRule(e,n){const s=n.getRuleContext();e.enterEveryRule(s),s.enterRule(e)}exitRule(e,n){const s=n.getRuleContext();s.exitRule(e),e.exitEveryRule(s)}}Zi.DEFAULT=new Zi;const Qm={Trees:x9,RuleNode:Le,ErrorNode:ce,TerminalNode:U9,ParseTreeListener:Xa,ParseTreeVisitor:Xm,ParseTreeWalker:Zi};class p6 extends x0{constructor(e){super({message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx}),this.offendingToken=e.getCurrentToken()}}class Qa extends x0{constructor(e,n,s){super({message:Km(n,s||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});const L=e._interp.atn.states[e.state].transitions[0];L instanceof ja?(this.ruleIndex=L.ruleIndex,this.predicateIndex=L.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=n,this.offendingToken=e.getCurrentToken()}}function Km(t,e){return e!==null?e:"failed predicate: {"+t+"}?"}class Jm extends ge{constructor(e){super(),e=e||!0,this.exactOnly=e}reportAmbiguity(e,n,s,l,L,c,C){if(this.exactOnly&&!L)return;const d="reportAmbiguity d="+this.getDecisionDescription(e,n)+": ambigAlts="+this.getConflictingAlts(c,C)+", input='"+e.getTokenStream().getText(new S1(s,l))+"'";e.notifyErrorListeners(d)}reportAttemptingFullContext(e,n,s,l,L,c){const C="reportAttemptingFullContext d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new S1(s,l))+"'";e.notifyErrorListeners(C)}reportContextSensitivity(e,n,s,l,L,c){const C="reportContextSensitivity d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new S1(s,l))+"'";e.notifyErrorListeners(C)}getDecisionDescription(e,n){const s=n.decision,l=n.atnStartState.ruleIndex,L=e.ruleNames;if(l<0||l>=L.length)return""+s;const c=L[l]||null;return c===null||c.length===0?""+s:`${s} (${c})`}getConflictingAlts(e,n){if(e!==null)return e;const s=new v9;for(let l=0;l<n.items.length;l++)s.add(n.items[l].alt);return`{${s.values().join(", ")}}`}}class Ti extends Error{constructor(){super(),Error.captureStackTrace(this,Ti)}}class ex{reset(e){}recoverInline(e){}recover(e,n){}sync(e){}inErrorRecoveryMode(e){}reportError(e){}}class Ei extends ex{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(e){this.endErrorCondition(e)}beginErrorCondition(e){this.errorRecoveryMode=!0}inErrorRecoveryMode(e){return this.errorRecoveryMode}endErrorCondition(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(e){this.endErrorCondition(e)}reportError(e,n){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),n instanceof Si?this.reportNoViableAlternative(e,n):n instanceof p6?this.reportInputMismatch(e,n):n instanceof Qa?this.reportFailedPredicate(e,n):(console.log("unknown recognition error type: "+n.constructor.name),console.log(n.stack),e.notifyErrorListeners(n.getOffendingToken(),n.getMessage(),n)))}recover(e,n){this.lastErrorIndex===e.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);const s=this.getErrorRecoverySet(e);this.consumeUntil(e,s)}sync(e){if(this.inErrorRecoveryMode(e))return;const n=e._interp.atn.states[e.state],s=e.getTokenStream().LA(1),l=e.atn.nextTokens(n);if(l.contains(s)){this.nextTokensContext=null,this.nextTokenState=z2.INVALID_STATE_NUMBER;return}else if(l.contains(w2.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=e._ctx,this.nextTokensState=e._stateNumber);return}switch(n.stateType){case z2.BLOCK_START:case z2.STAR_BLOCK_START:case z2.PLUS_BLOCK_START:case z2.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(e)!==null)return;throw new p6(e);case z2.PLUS_LOOP_BACK:case z2.STAR_LOOP_BACK:{this.reportUnwantedToken(e);const L=new $4;L.addSet(e.getExpectedTokens());const c=L.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,c)}break}}reportNoViableAlternative(e,n){const s=e.getTokenStream();let l;s!==null?n.startToken.type===w2.EOF?l="<EOF>":l=s.getText(new S1(n.startToken.tokenIndex,n.offendingToken.tokenIndex)):l="<unknown input>";const L="no viable alternative at input "+this.escapeWSAndQuote(l);e.notifyErrorListeners(L,n.offendingToken,n)}reportInputMismatch(e,n){const s="mismatched input "+this.getTokenErrorDisplay(n.offendingToken)+" expecting "+n.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(s,n.offendingToken,n)}reportFailedPredicate(e,n){const l="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+n.message;e.notifyErrorListeners(l,n.offendingToken,n)}reportUnwantedToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),s=this.getTokenErrorDisplay(n),l=this.getExpectedTokens(e),L="extraneous input "+s+" expecting "+l.toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(L,n,null)}reportMissingToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),l="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(n);e.notifyErrorListeners(l,n,null)}recoverInline(e){const n=this.singleTokenDeletion(e);if(n!==null)return e.consume(),n;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new p6(e)}singleTokenInsertion(e){const n=e.getTokenStream().LA(1),s=e._interp.atn,L=s.states[e.state].transitions[0].target;return s.nextTokens(L,e._ctx).contains(n)?(this.reportMissingToken(e),!0):!1}singleTokenDeletion(e){const n=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(n)){this.reportUnwantedToken(e),e.consume();const l=e.getCurrentToken();return this.reportMatch(e),l}else return null}getMissingSymbol(e){const n=e.getCurrentToken(),l=this.getExpectedTokens(e).first();let L;l===w2.EOF?L="<missing EOF>":L="<missing "+e.literalNames[l]+">";let c=n;const C=e.getTokenStream().LT(-1);return c.type===w2.EOF&&C!==null&&(c=C),e.getTokenFactory().create(c.source,l,L,w2.DEFAULT_CHANNEL,-1,-1,c.line,c.column)}getExpectedTokens(e){return e.getExpectedTokens()}getTokenErrorDisplay(e){if(e===null)return"<no token>";let n=e.text;return n===null&&(e.type===w2.EOF?n="<EOF>":n="<"+e.type+">"),this.escapeWSAndQuote(n)}escapeWSAndQuote(e){return e=e.replace(/\n/g,"\\n"),e=e.replace(/\r/g,"\\r"),e=e.replace(/\t/g,"\\t"),"'"+e+"'"}getErrorRecoverySet(e){const n=e._interp.atn;let s=e._ctx;const l=new $4;for(;s!==null&&s.invokingState>=0;){const c=n.states[s.invokingState].transitions[0],C=n.nextTokens(c.followState);l.addSet(C),s=s.parentCtx}return l.removeOne(w2.EPSILON),l}consumeUntil(e,n){let s=e.getTokenStream().LA(1);for(;s!==w2.EOF&&!n.contains(s);)e.consume(),s=e.getTokenStream().LA(1)}}class tx extends Ei{constructor(){super()}recover(e,n){let s=e._ctx;for(;s!==null;)s.exception=n,s=s.parentCtx;throw new Ti(n)}recoverInline(e){this.recover(e,new p6(e))}sync(e){}}const nx={RecognitionException:x0,NoViableAltException:Si,LexerNoViableAltException:Ai,InputMismatchException:p6,FailedPredicateException:Qa,DiagnosticErrorListener:Jm,BailErrorStrategy:tx,DefaultErrorStrategy:Ei,ErrorListener:ge};class a5{constructor(e,n){if(this.name="<empty>",this.strdata=e,this.decodeToUnicodeCodePoints=n||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let s=0;s<this.strdata.length;){const l=this.strdata.codePointAt(s);this.data.push(l),s+=l<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let s=0;s<this.strdata.length;s++){const l=this.strdata.charCodeAt(s);this.data[s]=l}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(e){if(e===0)return 0;e<0&&(e+=1);const n=this._index+e-1;return n<0||n>=this._size?w2.EOF:this.data[n]}LT(e){return this.LA(e)}mark(){return-1}release(e){}seek(e){if(e<=this._index){this._index=e;return}this._index=Math.min(e,this._size)}getText(e,n){if(n>=this._size&&(n=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){let s="";for(let l=e;l<=n;l++)s+=String.fromCodePoint(this.data[l]);return s}else return this.strdata.slice(e,n+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const Ii={},ix={fromString:function(t){return new a5(t,!0)},fromBlob:function(t,e,n,s){const l=new window.FileReader;l.onload=function(L){const c=new a5(L.target.result,!0);n(c)},l.onerror=s,l.readAsText(t,e)},fromBuffer:function(t,e){return new a5(t.toString(e),!0)},fromPath:function(t,e,n){Ii.readFile(t,e,function(s,l){let L=null;l!==null&&(L=new a5(l,!0)),n(s,L)})},fromPathSync:function(t,e){const n=Ii.readFileSync(t,e);return new a5(n,!0)}};class sx extends a5{constructor(e,n){const s=Ii.readFileSync(e,"utf8");super(s,n),this.fileName=e}}class ox{}class lx extends ox{constructor(e){super(),this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(e){}reset(){this.seek(0)}seek(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)}get(e){return this.lazyInit(),this.tokens[e]}consume(){let e=!1;if(this.index>=0?this.fetchedEOF?e=this.index<this.tokens.length-1:e=this.index<this.tokens.length:e=!1,!e&&this.LA(1)===w2.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(e){const n=e-this.tokens.length+1;return n>0?this.fetch(n)>=n:!0}fetch(e){if(this.fetchedEOF)return 0;for(let n=0;n<e;n++){const s=this.tokenSource.nextToken();if(s.tokenIndex=this.tokens.length,this.tokens.push(s),s.type===w2.EOF)return this.fetchedEOF=!0,n+1}return e}getTokens(e,n,s){if(s===void 0&&(s=null),e<0||n<0)return null;this.lazyInit();const l=[];n>=this.tokens.length&&(n=this.tokens.length-1);for(let L=e;L<n;L++){const c=this.tokens[L];if(c.type===w2.EOF)break;(s===null||s.contains(c.type))&&l.push(c)}return l}LA(e){return this.LT(e).type}LB(e){return this.index-e<0?null:this.tokens[this.index-e]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);const n=this.index+e-1;return this.sync(n),n>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[n]}adjustSeekIndex(e){return e}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(e,n){if(this.sync(e),e>=this.tokens.length)return-1;let s=this.tokens[e];for(;s.channel!==this.channel;){if(s.type===w2.EOF)return-1;e+=1,this.sync(e),s=this.tokens[e]}return e}previousTokenOnChannel(e,n){for(;e>=0&&this.tokens[e].channel!==n;)e-=1;return e}getHiddenTokensToRight(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const s=this.nextTokenOnChannel(e+1,i4.DEFAULT_TOKEN_CHANNEL),l=e+1,L=s===-1?this.tokens.length-1:s;return this.filterForChannel(l,L,n)}getHiddenTokensToLeft(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const s=this.previousTokenOnChannel(e-1,i4.DEFAULT_TOKEN_CHANNEL);if(s===e-1)return null;const l=s+1,L=e-1;return this.filterForChannel(l,L,n)}filterForChannel(e,n,s){const l=[];for(let L=e;L<n+1;L++){const c=this.tokens[L];s===-1?c.channel!==i4.DEFAULT_TOKEN_CHANNEL&&l.push(c):c.channel===s&&l.push(c)}return l.length===0?null:l}getSourceName(){return this.tokenSource.getSourceName()}getText(e){this.lazyInit(),this.fill(),e==null&&(e=new S1(0,this.tokens.length-1));let n=e.start;n instanceof w2&&(n=n.tokenIndex);let s=e.stop;if(s instanceof w2&&(s=s.tokenIndex),n===null||s===null||n<0||s<0)return"";s>=this.tokens.length&&(s=this.tokens.length-1);let l="";for(let L=n;L<s+1;L++){const c=this.tokens[L];if(c.type===w2.EOF)break;l=l+c.text}return l}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class rx extends lx{constructor(e,n){super(e),this.channel=n===void 0?w2.DEFAULT_CHANNEL:n}adjustSeekIndex(e){return this.nextTokenOnChannel(e,this.channel)}LB(e){if(e===0||this.index-e<0)return null;let n=this.index,s=1;for(;s<=e;)n=this.previousTokenOnChannel(n-1,this.channel),s+=1;return n<0?null:this.tokens[n]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);let n=this.index,s=1;for(;s<e;)this.sync(n+1)&&(n=this.nextTokenOnChannel(n+1,this.channel)),s+=1;return this.tokens[n]}getNumberOfOnChannelTokens(){let e=0;this.fill();for(let n=0;n<this.tokens.length;n++){const s=this.tokens[n];if(s.channel===this.channel&&(e+=1),s.type===w2.EOF)break}return e}}class ax extends Xa{constructor(e){super(),this.parser=e}enterEveryRule(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}let Ka=class extends pe{constructor(e){super(),this._input=null,this._errHandler=new Ei,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(e)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(e){let n=this.getCurrentToken();return n.type===e?(this._errHandler.reportMatch(this),this.consume()):(n=this._errHandler.recoverInline(this),this.buildParseTrees&&n.tokenIndex===-1&&this._ctx.addErrorNode(n)),n}matchWildcard(){let e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}getParseListeners(){return this._parseListeners||[]}addParseListener(e){if(e===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(e)}removeParseListener(e){if(this._parseListeners!==null){const n=this._parseListeners.indexOf(e);n>=0&&this._parseListeners.splice(n,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.forEach(function(n){n.enterEveryRule(e),e.enterRule(n)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(n){e.exitRule(n),n.exitEveryRule(e)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(e){this._input.tokenSource._factory=e}getATNWithBypassAlts(){const e=this.getSerializedATN();if(e===null)throw"The current parser does not support an ATN with bypass alternatives.";let n=this.bypassAltsAtnCache[e];if(n===null){const s=new f6;s.generateRuleBypassTransitions=!0,n=new $a(s).deserialize(e),this.bypassAltsAtnCache[e]=n}return n}getInputStream(){return this.getTokenStream()}setInputStream(e){this.setTokenStream(e)}getTokenStream(){return this._input}setTokenStream(e){this._input=null,this.reset(),this._input=e}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(e,n,s){n=n||null,s=s||null,n===null&&(n=this.getCurrentToken()),this._syntaxErrors+=1;const l=n.line,L=n.column;this.getErrorListenerDispatch().syntaxError(this,n,l,L,e,s)}consume(){const e=this.getCurrentToken();e.type!==w2.EOF&&this.getInputStream().consume();const n=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||n){let s;this._errHandler.inErrorRecoveryMode(this)?s=this._ctx.addErrorNode(e):s=this._ctx.addTokenNode(e),s.invokingState=this.state,n&&this._parseListeners.forEach(function(l){s instanceof ce||s.isErrorNode!==void 0&&s.isErrorNode()?l.visitErrorNode(s):s instanceof U9&&l.visitTerminal(s)})}return e}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(e,n,s){this.state=n,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(e,n){e.setAltNumber(n),this.buildParseTrees&&this._ctx!==e&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(e,n,s,l){this.state=n,this._precedenceStack.push(l),this._ctx=e,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(e,n,s){const l=this._ctx;l.parentCtx=e,l.invokingState=n,l.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=l.start,this.buildParseTrees&&this._ctx.addChild(l),this.triggerEnterRuleEvent()}unrollRecursionContexts(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const n=this._ctx,s=this.getParseListeners();if(s!==null&&s.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;n.parentCtx=e,this.buildParseTrees&&e!==null&&e.addChild(n)}getInvokingContext(e){let n=this._ctx;for(;n!==null;){if(n.ruleIndex===e)return n;n=n.parentCtx}return null}precpred(e,n){return n>=this._precedenceStack[this._precedenceStack.length-1]}inContext(e){return!1}isExpectedToken(e){const n=this._interp.atn;let s=this._ctx;const l=n.states[this.state];let L=n.nextTokens(l);if(L.contains(e))return!0;if(!L.contains(w2.EPSILON))return!1;for(;s!==null&&s.invokingState>=0&&L.contains(w2.EPSILON);){const C=n.states[s.invokingState].transitions[0];if(L=n.nextTokens(C.followState),L.contains(e))return!0;s=s.parentCtx}return!!(L.contains(w2.EPSILON)&&e===w2.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const e=this._interp.atn,n=e.states[this.state];return e.nextTokens(n)}getRuleIndex(e){const n=this.getRuleIndexMap()[e];return n!==null?n:-1}getRuleInvocationStack(e){e=e||null,e===null&&(e=this._ctx);const n=[];for(;e!==null;){const s=e.ruleIndex;s<0?n.push("n/a"):n.push(this.ruleNames[s]),e=e.parentCtx}return n}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let e=!1;for(let n=0;n<this._interp.decisionToDFA.length;n++){const s=this._interp.decisionToDFA[n];s.states.length>0&&(e&&console.log(),this.printer.println("Decision "+s.decision+":"),this.printer.print(s.toString(this.literalNames,this.symbolicNames)),e=!0)}}getSourceName(){return this._input.sourceName}setTrace(e){e?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new ax(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}};Ka.bypassAltsAtnCache={};class Lx{constructor(){this.cache=new d6}add(e){if(e===a1.EMPTY)return a1.EMPTY;const n=this.cache.get(e)||null;return n!==null?n:(this.cache.set(e,e),e)}get(e){return this.cache.get(e)||null}get length(){return this.cache.length}}class Ja extends U9{constructor(e){super(),this.parentCtx=null,this.symbol=e}getChild(e){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return S1.INVALID_INTERVAL;const e=this.symbol.tokenIndex;return new S1(e,e)}getChildCount(){return 0}accept(e){return e.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===w2.EOF?"<EOF>":this.symbol.text}}class eL extends Ja{constructor(e){super(e)}isErrorNode(){return!0}accept(e){return e.visitErrorNode(this)}}let tL=class extends J5{constructor(e,n){e=e||null,n=n||null,super(e,n),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map(function(n){n instanceof eL&&(this.children.push(n),n.parentCtx=this)},this))}enterRule(e){}exitRule(e){}addChild(e){return this.children===null&&(this.children=[]),this.children.push(e),e}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(e){const n=new Ja(e);return this.addChild(n),n.parentCtx=this,n}addErrorNode(e){const n=new eL(e);return this.addChild(n),n.parentCtx=this,n}getChild(e,n){if(n=n||null,this.children===null||e<0||e>=this.children.length)return null;if(n===null)return this.children[e];for(let s=0;s<this.children.length;s++){const l=this.children[s];if(l instanceof n){if(e===0)return l;e-=1}}return null}getToken(e,n){if(this.children===null||n<0||n>=this.children.length)return null;for(let s=0;s<this.children.length;s++){const l=this.children[s];if(l instanceof U9&&l.symbol.type===e){if(n===0)return l;n-=1}}return null}getTokens(e){if(this.children===null)return[];{const n=[];for(let s=0;s<this.children.length;s++){const l=this.children[s];l instanceof U9&&l.symbol.type===e&&n.push(l)}return n}}getTypedRuleContext(e,n){return this.getChild(n,e)}getTypedRuleContexts(e){if(this.children===null)return[];{const n=[];for(let s=0;s<this.children.length;s++){const l=this.children[s];l instanceof e&&n.push(l)}return n}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?S1.INVALID_INTERVAL:new S1(this.start.tokenIndex,this.stop.tokenIndex)}};J5.EMPTY=new tL;const X={atn:Gm,dfa:Ym,tree:Qm,error:nx,Token:w2,CommonToken:r5,CharStreams:ix,InputStream:a5,FileStream:sx,CommonTokenStream:rx,Lexer:i4,Parser:Ka,PredictionContextCache:Lx,ParserRuleContext:tL,Interval:S1,IntervalSet:$4,LL1Analyzer:e8,Utils:{arrayToString:m0}},cx=[4,0,72,592,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,2,70,7,70,2,71,7,71,2,72,7,72,2,73,7,73,2,74,7,74,2,75,7,75,1,0,1,0,1,1,4,1,159,8,1,11,1,12,1,160,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,12,1,12,1,13,1,13,4,13,231,8,13,11,13,12,13,232,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,16,1,17,1,17,1,17,1,18,1,18,1,19,1,19,1,20,1,20,1,20,1,21,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,3,38,303,8,38,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,3,41,339,8,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,387,8,48,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,433,8,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,3,56,461,8,56,1,57,1,57,5,57,465,8,57,10,57,12,57,468,9,57,1,58,1,58,1,59,1,59,5,59,474,8,59,10,59,12,59,477,9,59,1,60,4,60,480,8,60,11,60,12,60,481,1,61,1,61,1,62,4,62,487,8,62,11,62,12,62,488,1,63,4,63,492,8,63,11,63,12,63,493,1,63,1,63,5,63,498,8,63,10,63,12,63,501,9,63,1,63,1,63,4,63,505,8,63,11,63,12,63,506,3,63,509,8,63,1,64,1,64,1,64,3,64,514,8,64,1,65,1,65,3,65,518,8,65,1,65,1,65,1,66,1,66,1,66,1,66,5,66,526,8,66,10,66,12,66,529,9,66,1,66,1,66,1,67,1,67,1,67,1,67,5,67,537,8,67,10,67,12,67,540,9,67,1,68,1,68,1,68,1,68,1,69,1,69,1,69,1,69,5,69,550,8,69,10,69,12,69,553,9,69,1,69,1,69,1,70,1,70,1,71,1,71,5,71,561,8,71,10,71,12,71,564,9,71,1,71,1,71,1,71,1,71,5,71,570,8,71,10,71,12,71,573,9,71,1,72,4,72,576,8,72,11,72,12,72,577,1,73,1,73,1,73,1,73,1,74,4,74,585,8,74,11,74,12,74,586,1,75,1,75,1,75,1,75,0,0,76,3,0,5,1,7,2,9,3,11,4,13,5,15,6,17,7,19,8,21,9,23,10,25,11,27,0,29,12,31,13,33,14,35,15,37,16,39,17,41,18,43,19,45,20,47,21,49,22,51,23,53,24,55,25,57,26,59,27,61,28,63,29,65,30,67,31,69,32,71,33,73,34,75,35,77,36,79,37,81,38,83,39,85,40,87,41,89,42,91,43,93,44,95,45,97,46,99,47,101,48,103,49,105,50,107,51,109,52,111,53,113,54,115,55,117,56,119,57,121,58,123,0,125,0,127,59,129,60,131,61,133,62,135,63,137,64,139,65,141,66,143,67,145,68,147,69,149,70,151,71,153,72,3,0,1,2,9,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,649,0,65,90,95,95,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2160,2183,2185,2190,2208,2249,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3165,3165,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3313,3314,3332,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5873,5880,5888,5905,5919,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6276,6279,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6988,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8579,8580,11264,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12294,12337,12341,12347,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42725,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43881,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,66176,66204,66208,66256,66304,66335,66349,66368,66370,66377,66384,66421,66432,66461,66464,66499,66504,66511,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69745,69746,69749,69749,69763,69807,69840,69864,69891,69926,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70753,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71488,71494,71680,71723,71840,71903,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73648,73648,73728,74649,74880,75075,77712,77808,77824,78894,82944,83526,92160,92728,92736,92766,92784,92862,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,122624,122654,123136,123180,123191,123197,123214,123214,123536,123565,123584,123627,124896,124902,124904,124907,124909,124910,124912,124926,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173791,173824,177976,177984,178205,178208,183969,183984,191456,194560,195101,196608,201546,693,0,48,57,65,90,95,95,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1632,1641,1646,1647,1649,1747,1749,1749,1765,1766,1774,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1984,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2160,2183,2185,2190,2208,2249,2308,2361,2365,2365,2384,2384,2392,2401,2406,2415,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2534,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2662,2671,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2790,2799,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2918,2927,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3046,3055,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3165,3165,3168,3169,3174,3183,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3302,3311,3313,3314,3332,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3430,3439,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3558,3567,3585,3632,3634,3635,3648,3654,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3792,3801,3804,3807,3840,3840,3872,3881,3904,3911,3913,3948,3976,3980,4096,4138,4159,4169,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4240,4249,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5873,5880,5888,5905,5919,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6112,6121,6160,6169,6176,6264,6272,6276,6279,6312,6314,6314,6320,6389,6400,6430,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6678,6688,6740,6784,6793,6800,6809,6823,6823,6917,6963,6981,6988,6992,7001,7043,7072,7086,7141,7168,7203,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8579,8580,11264,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12294,12337,12341,12347,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42539,42560,42606,42623,42653,42656,42725,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43216,43225,43250,43255,43259,43259,43261,43262,43264,43301,43312,43334,43360,43388,43396,43442,43471,43481,43488,43492,43494,43518,43520,43560,43584,43586,43588,43595,43600,43609,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43881,43888,44002,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65296,65305,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,66176,66204,66208,66256,66304,66335,66349,66368,66370,66377,66384,66421,66432,66461,66464,66499,66504,66511,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,68912,68921,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69734,69743,69745,69746,69749,69749,69763,69807,69840,69864,69872,69881,69891,69926,69942,69951,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70096,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70384,70393,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70736,70745,70751,70753,70784,70831,70852,70853,70855,70855,70864,70873,71040,71086,71128,71131,71168,71215,71236,71236,71248,71257,71296,71338,71352,71352,71360,71369,71424,71450,71472,71481,71488,71494,71680,71723,71840,71913,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72016,72025,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,72440,72704,72712,72714,72750,72768,72768,72784,72793,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73040,73049,73056,73061,73063,73064,73066,73097,73112,73112,73120,73129,73440,73458,73648,73648,73728,74649,74880,75075,77712,77808,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92784,92862,92864,92873,92880,92909,92928,92975,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,122624,122654,123136,123180,123191,123197,123200,123209,123214,123214,123536,123565,123584,123627,123632,123641,124896,124902,124904,124907,124909,124910,124912,124926,124928,125124,125184,125251,125259,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,130032,130041,131072,173791,173824,177976,177984,178205,178208,183969,183984,191456,194560,195101,196608,201546,2,0,65,90,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,616,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145,1,0,0,0,1,147,1,0,0,0,1,149,1,0,0,0,2,151,1,0,0,0,2,153,1,0,0,0,3,155,1,0,0,0,5,158,1,0,0,0,7,164,1,0,0,0,9,172,1,0,0,0,11,183,1,0,0,0,13,192,1,0,0,0,15,200,1,0,0,0,17,209,1,0,0,0,19,213,1,0,0,0,21,216,1,0,0,0,23,219,1,0,0,0,25,223,1,0,0,0,27,226,1,0,0,0,29,228,1,0,0,0,31,234,1,0,0,0,33,237,1,0,0,0,35,240,1,0,0,0,37,243,1,0,0,0,39,246,1,0,0,0,41,248,1,0,0,0,43,250,1,0,0,0,45,253,1,0,0,0,47,256,1,0,0,0,49,258,1,0,0,0,51,260,1,0,0,0,53,262,1,0,0,0,55,264,1,0,0,0,57,266,1,0,0,0,59,268,1,0,0,0,61,270,1,0,0,0,63,272,1,0,0,0,65,274,1,0,0,0,67,276,1,0,0,0,69,278,1,0,0,0,71,280,1,0,0,0,73,282,1,0,0,0,75,284,1,0,0,0,77,289,1,0,0,0,79,302,1,0,0,0,81,304,1,0,0,0,83,307,1,0,0,0,85,338,1,0,0,0,87,340,1,0,0,0,89,347,1,0,0,0,91,351,1,0,0,0,93,355,1,0,0,0,95,361,1,0,0,0,97,365,1,0,0,0,99,386,1,0,0,0,101,388,1,0,0,0,103,392,1,0,0,0,105,395,1,0,0,0,107,399,1,0,0,0,109,405,1,0,0,0,111,413,1,0,0,0,113,432,1,0,0,0,115,460,1,0,0,0,117,462,1,0,0,0,119,469,1,0,0,0,121,471,1,0,0,0,123,479,1,0,0,0,125,483,1,0,0,0,127,486,1,0,0,0,129,508,1,0,0,0,131,510,1,0,0,0,133,517,1,0,0,0,135,521,1,0,0,0,137,532,1,0,0,0,139,541,1,0,0,0,141,545,1,0,0,0,143,556,1,0,0,0,145,558,1,0,0,0,147,575,1,0,0,0,149,579,1,0,0,0,151,584,1,0,0,0,153,588,1,0,0,0,155,156,7,0,0,0,156,4,1,0,0,0,157,159,3,3,0,0,158,157,1,0,0,0,159,160,1,0,0,0,160,158,1,0,0,0,160,161,1,0,0,0,161,162,1,0,0,0,162,163,6,1,0,0,163,6,1,0,0,0,164,165,5,99,0,0,165,166,5,111,0,0,166,167,5,110,0,0,167,168,5,115,0,0,168,169,5,116,0,0,169,170,1,0,0,0,170,171,6,2,1,0,171,8,1,0,0,0,172,173,5,114,0,0,173,174,5,101,0,0,174,175,5,97,0,0,175,176,5,100,0,0,176,177,5,111,0,0,177,178,5,110,0,0,178,179,5,108,0,0,179,180,5,121,0,0,180,181,1,0,0,0,181,182,6,3,1,0,182,10,1,0,0,0,183,184,5,115,0,0,184,185,5,116,0,0,185,186,5,97,0,0,186,187,5,116,0,0,187,188,5,105,0,0,188,189,5,99,0,0,189,190,1,0,0,0,190,191,6,4,1,0,191,12,1,0,0,0,192,193,5,97,0,0,193,194,5,119,0,0,194,195,5,97,0,0,195,196,5,105,0,0,196,197,5,116,0,0,197,198,1,0,0,0,198,199,6,5,1,0,199,14,1,0,0,0,200,201,4,6,0,0,201,202,5,116,0,0,202,203,5,105,0,0,203,204,5,116,0,0,204,205,5,108,0,0,205,206,5,101,0,0,206,207,1,0,0,0,207,208,6,6,2,0,208,16,1,0,0,0,209,210,5,58,0,0,210,211,1,0,0,0,211,212,6,7,3,0,212,18,1,0,0,0,213,214,5,60,0,0,214,215,5,60,0,0,215,20,1,0,0,0,216,217,5,62,0,0,217,218,5,62,0,0,218,22,1,0,0,0,219,220,5,45,0,0,220,221,5,45,0,0,221,222,5,62,0,0,222,24,1,0,0,0,223,224,5,45,0,0,224,225,5,62,0,0,225,26,1,0,0,0,226,227,7,1,0,0,227,28,1,0,0,0,228,230,5,35,0,0,229,231,3,27,12,0,230,229,1,0,0,0,231,232,1,0,0,0,232,230,1,0,0,0,232,233,1,0,0,0,233,30,1,0,0,0,234,235,5,124,0,0,235,236,5,124,0,0,236,32,1,0,0,0,237,238,5,38,0,0,238,239,5,38,0,0,239,34,1,0,0,0,240,241,5,61,0,0,241,242,5,61,0,0,242,36,1,0,0,0,243,244,5,33,0,0,244,245,5,61,0,0,245,38,1,0,0,0,246,247,5,62,0,0,247,40,1,0,0,0,248,249,5,60,0,0,249,42,1,0,0,0,250,251,5,62,0,0,251,252,5,61,0,0,252,44,1,0,0,0,253,254,5,60,0,0,254,255,5,61,0,0,255,46,1,0,0,0,256,257,5,43,0,0,257,48,1,0,0,0,258,259,5,45,0,0,259,50,1,0,0,0,260,261,5,42,0,0,261,52,1,0,0,0,262,263,5,47,0,0,263,54,1,0,0,0,264,265,5,37,0,0,265,56,1,0,0,0,266,267,5,94,0,0,267,58,1,0,0,0,268,269,5,33,0,0,269,60,1,0,0,0,270,271,5,59,0,0,271,62,1,0,0,0,272,273,5,44,0,0,273,64,1,0,0,0,274,275,5,61,0,0,275,66,1,0,0,0,276,277,5,40,0,0,277,68,1,0,0,0,278,279,5,41,0,0,279,70,1,0,0,0,280,281,5,123,0,0,281,72,1,0,0,0,282,283,5,125,0,0,283,74,1,0,0,0,284,285,5,116,0,0,285,286,5,114,0,0,286,287,5,117,0,0,287,288,5,101,0,0,288,76,1,0,0,0,289,290,5,102,0,0,290,291,5,97,0,0,291,292,5,108,0,0,292,293,5,115,0,0,293,294,5,101,0,0,294,78,1,0,0,0,295,296,5,110,0,0,296,297,5,105,0,0,297,303,5,108,0,0,298,299,5,110,0,0,299,300,5,117,0,0,300,301,5,108,0,0,301,303,5,108,0,0,302,295,1,0,0,0,302,298,1,0,0,0,303,80,1,0,0,0,304,305,5,105,0,0,305,306,5,102,0,0,306,82,1,0,0,0,307,308,5,101,0,0,308,309,5,108,0,0,309,310,5,115,0,0,310,311,5,101,0,0,311,84,1,0,0,0,312,313,5,119,0,0,313,314,5,104,0,0,314,315,5,105,0,0,315,316,5,108,0,0,316,339,5,101,0,0,317,318,5,102,0,0,318,319,5,111,0,0,319,339,5,114,0,0,320,321,5,102,0,0,321,322,5,111,0,0,322,323,5,114,0,0,323,324,5,101,0,0,324,325,5,97,0,0,325,326,5,99,0,0,326,339,5,104,0,0,327,328,5,102,0,0,328,329,5,111,0,0,329,330,5,114,0,0,330,331,5,69,0,0,331,332,5,97,0,0,332,333,5,99,0,0,333,339,5,104,0,0,334,335,5,108,0,0,335,336,5,111,0,0,336,337,5,111,0,0,337,339,5,112,0,0,338,312,1,0,0,0,338,317,1,0,0,0,338,320,1,0,0,0,338,327,1,0,0,0,338,334,1,0,0,0,339,86,1,0,0,0,340,341,5,114,0,0,341,342,5,101,0,0,342,343,5,116,0,0,343,344,5,117,0,0,344,345,5,114,0,0,345,346,5,110,0,0,346,88,1,0,0,0,347,348,5,110,0,0,348,349,5,101,0,0,349,350,5,119,0,0,350,90,1,0,0,0,351,352,5,112,0,0,352,353,5,97,0,0,353,354,5,114,0,0,354,92,1,0,0,0,355,356,5,103,0,0,356,357,5,114,0,0,357,358,5,111,0,0,358,359,5,117,0,0,359,360,5,112,0,0,360,94,1,0,0,0,361,362,5,111,0,0,362,363,5,112,0,0,363,364,5,116,0,0,364,96,1,0,0,0,365,366,5,99,0,0,366,367,5,114,0,0,367,368,5,105,0,0,368,369,5,116,0,0,369,370,5,105,0,0,370,371,5,99,0,0,371,372,5,97,0,0,372,373,5,108,0,0,373,98,1,0,0,0,374,375,5,115,0,0,375,376,5,101,0,0,376,377,5,99,0,0,377,378,5,116,0,0,378,379,5,105,0,0,379,380,5,111,0,0,380,387,5,110,0,0,381,382,5,102,0,0,382,383,5,114,0,0,383,384,5,97,0,0,384,385,5,109,0,0,385,387,5,101,0,0,386,374,1,0,0,0,386,381,1,0,0,0,387,100,1,0,0,0,388,389,5,114,0,0,389,390,5,101,0,0,390,391,5,102,0,0,391,102,1,0,0,0,392,393,5,97,0,0,393,394,5,115,0,0,394,104,1,0,0,0,395,396,5,116,0,0,396,397,5,114,0,0,397,398,5,121,0,0,398,106,1,0,0,0,399,400,5,99,0,0,400,401,5,97,0,0,401,402,5,116,0,0,402,403,5,99,0,0,403,404,5,104,0,0,404,108,1,0,0,0,405,406,5,102,0,0,406,407,5,105,0,0,407,408,5,110,0,0,408,409,5,97,0,0,409,410,5,108,0,0,410,411,5,108,0,0,411,412,5,121,0,0,412,110,1,0,0,0,413,414,5,105,0,0,414,415,5,110,0,0,415,112,1,0,0,0,416,417,5,64,0,0,417,418,5,83,0,0,418,419,5,116,0,0,419,420,5,97,0,0,420,421,5,114,0,0,421,422,5,116,0,0,422,423,5,101,0,0,423,433,5,114,0,0,424,425,5,64,0,0,425,426,5,115,0,0,426,427,5,116,0,0,427,428,5,97,0,0,428,429,5,114,0,0,429,430,5,116,0,0,430,431,5,101,0,0,431,433,5,114,0,0,432,416,1,0,0,0,432,424,1,0,0,0,433,114,1,0,0,0,434,435,5,64,0,0,435,436,5,82,0,0,436,437,5,101,0,0,437,438,5,116,0,0,438,439,5,117,0,0,439,440,5,114,0,0,440,461,5,110,0,0,441,442,5,64,0,0,442,443,5,114,0,0,443,444,5,101,0,0,444,445,5,116,0,0,445,446,5,117,0,0,446,447,5,114,0,0,447,461,5,110,0,0,448,449,5,64,0,0,449,450,5,82,0,0,450,451,5,101,0,0,451,452,5,112,0,0,452,453,5,108,0,0,453,461,5,121,0,0,454,455,5,64,0,0,455,456,5,114,0,0,456,457,5,101,0,0,457,458,5,112,0,0,458,459,5,108,0,0,459,461,5,121,0,0,460,434,1,0,0,0,460,441,1,0,0,0,460,448,1,0,0,0,460,454,1,0,0,0,461,116,1,0,0,0,462,466,5,64,0,0,463,465,7,2,0,0,464,463,1,0,0,0,465,468,1,0,0,0,466,464,1,0,0,0,466,467,1,0,0,0,467,118,1,0,0,0,468,466,1,0,0,0,469,470,5,46,0,0,470,120,1,0,0,0,471,475,7,3,0,0,472,474,7,4,0,0,473,472,1,0,0,0,474,477,1,0,0,0,475,473,1,0,0,0,475,476,1,0,0,0,476,122,1,0,0,0,477,475,1,0,0,0,478,480,7,5,0,0,479,478,1,0,0,0,480,481,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,124,1,0,0,0,483,484,7,6,0,0,484,126,1,0,0,0,485,487,3,125,61,0,486,485,1,0,0,0,487,488,1,0,0,0,488,486,1,0,0,0,488,489,1,0,0,0,489,128,1,0,0,0,490,492,3,125,61,0,491,490,1,0,0,0,492,493,1,0,0,0,493,491,1,0,0,0,493,494,1,0,0,0,494,495,1,0,0,0,495,499,5,46,0,0,496,498,3,125,61,0,497,496,1,0,0,0,498,501,1,0,0,0,499,497,1,0,0,0,499,500,1,0,0,0,500,509,1,0,0,0,501,499,1,0,0,0,502,504,5,46,0,0,503,505,3,125,61,0,504,503,1,0,0,0,505,506,1,0,0,0,506,504,1,0,0,0,506,507,1,0,0,0,507,509,1,0,0,0,508,491,1,0,0,0,508,502,1,0,0,0,509,130,1,0,0,0,510,513,5,36,0,0,511,514,3,127,62,0,512,514,3,129,63,0,513,511,1,0,0,0,513,512,1,0,0,0,514,132,1,0,0,0,515,518,3,127,62,0,516,518,3,129,63,0,517,515,1,0,0,0,517,516,1,0,0,0,518,519,1,0,0,0,519,520,3,123,60,0,520,134,1,0,0,0,521,527,5,34,0,0,522,523,5,34,0,0,523,526,5,34,0,0,524,526,8,7,0,0,525,522,1,0,0,0,525,524,1,0,0,0,526,529,1,0,0,0,527,525,1,0,0,0,527,528,1,0,0,0,528,530,1,0,0,0,529,527,1,0,0,0,530,531,5,34,0,0,531,136,1,0,0,0,532,538,5,34,0,0,533,534,5,34,0,0,534,537,5,34,0,0,535,537,8,7,0,0,536,533,1,0,0,0,536,535,1,0,0,0,537,540,1,0,0,0,538,536,1,0,0,0,538,539,1,0,0,0,539,138,1,0,0,0,540,538,1,0,0,0,541,542,7,8,0,0,542,543,1,0,0,0,543,544,6,68,0,0,544,140,1,0,0,0,545,546,5,47,0,0,546,547,5,47,0,0,547,551,1,0,0,0,548,550,8,8,0,0,549,548,1,0,0,0,550,553,1,0,0,0,551,549,1,0,0,0,551,552,1,0,0,0,552,554,1,0,0,0,553,551,1,0,0,0,554,555,6,69,4,0,555,142,1,0,0,0,556,557,9,0,0,0,557,144,1,0,0,0,558,562,4,71,1,0,559,561,3,3,0,0,560,559,1,0,0,0,561,564,1,0,0,0,562,560,1,0,0,0,562,563,1,0,0,0,563,565,1,0,0,0,564,562,1,0,0,0,565,566,5,61,0,0,566,567,5,61,0,0,567,571,1,0,0,0,568,570,8,8,0,0,569,568,1,0,0,0,570,573,1,0,0,0,571,569,1,0,0,0,571,572,1,0,0,0,572,146,1,0,0,0,573,571,1,0,0,0,574,576,8,8,0,0,575,574,1,0,0,0,576,577,1,0,0,0,577,575,1,0,0,0,577,578,1,0,0,0,578,148,1,0,0,0,579,580,7,8,0,0,580,581,1,0,0,0,581,582,6,73,5,0,582,150,1,0,0,0,583,585,8,8,0,0,584,583,1,0,0,0,585,586,1,0,0,0,586,584,1,0,0,0,586,587,1,0,0,0,587,152,1,0,0,0,588,589,7,8,0,0,589,590,1,0,0,0,590,591,6,75,5,0,591,154,1,0,0,0,29,0,1,2,160,232,302,338,386,432,460,466,475,481,488,493,499,506,508,513,517,525,527,536,538,551,562,571,577,586,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],zi=new X.atn.ATNDeserializer().deserialize(cx),Cx=zi.decisionToState.map((t,e)=>new X.dfa.DFA(t,e));class v2 extends X.Lexer{constructor(e){super(e),this._interp=new X.atn.LexerATNSimulator(this,zi,Cx,new X.PredictionContextCache),this.isTitle=function(){const n=this._tokenStartCharIndex;if(this._input.getText(0,n-1).replace(/\/\/[^\n]*(?:\n|$)/g,"").trim().length)return!1;const l=32,L=9,c=-1,C=46,d=61,f=40;let g=6,p=this._input.LA(g);for(;p===l||p===L;)++g,p=this._input.LA(g);return p===c||p!==C&&p!==d&&p!==f}}get atn(){return zi}}d2(v2,"grammarFileName","sequenceLexer.g4"),d2(v2,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),d2(v2,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),d2(v2,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'",null,"':'","'<<'","'>>'","'-->'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'critical'",null,"'ref'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),d2(v2,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","RETURN_ARROW","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),d2(v2,"ruleNames",["HWS","WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","RETURN_ARROW","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","UNIT","DIGIT","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),v2.EOF=X.Token.EOF,v2.WS=1,v2.CONSTANT=2,v2.READONLY=3,v2.STATIC=4,v2.AWAIT=5,v2.TITLE=6,v2.COL=7,v2.SOPEN=8,v2.SCLOSE=9,v2.RETURN_ARROW=10,v2.ARROW=11,v2.COLOR=12,v2.OR=13,v2.AND=14,v2.EQ=15,v2.NEQ=16,v2.GT=17,v2.LT=18,v2.GTEQ=19,v2.LTEQ=20,v2.PLUS=21,v2.MINUS=22,v2.MULT=23,v2.DIV=24,v2.MOD=25,v2.POW=26,v2.NOT=27,v2.SCOL=28,v2.COMMA=29,v2.ASSIGN=30,v2.OPAR=31,v2.CPAR=32,v2.OBRACE=33,v2.CBRACE=34,v2.TRUE=35,v2.FALSE=36,v2.NIL=37,v2.IF=38,v2.ELSE=39,v2.WHILE=40,v2.RETURN=41,v2.NEW=42,v2.PAR=43,v2.GROUP=44,v2.OPT=45,v2.CRITICAL=46,v2.SECTION=47,v2.REF=48,v2.AS=49,v2.TRY=50,v2.CATCH=51,v2.FINALLY=52,v2.IN=53,v2.STARTER_LXR=54,v2.ANNOTATION_RET=55,v2.ANNOTATION=56,v2.DOT=57,v2.ID=58,v2.INT=59,v2.FLOAT=60,v2.MONEY=61,v2.NUMBER_UNIT=62,v2.CSTRING=63,v2.USTRING=64,v2.CR=65,v2.COMMENT=66,v2.OTHER=67,v2.DIVIDER=68,v2.EVENT_PAYLOAD_LXR=69,v2.EVENT_END=70,v2.TITLE_CONTENT=71,v2.TITLE_END=72,v2.COMMENT_CHANNEL=2,v2.MODIFIER_CHANNEL=3,v2.EVENT=1,v2.TITLE_MODE=2,v2.prototype.sempred=function(t,e,n){switch(e){case 6:return this.TITLE_sempred(t,n);case 71:return this.DIVIDER_sempred(t,n);default:throw"No registered predicate for:"+e}},v2.prototype.TITLE_sempred=function(t,e){switch(e){case 0:return this.isTitle();default:throw"No predicate with index:"+e}},v2.prototype.DIVIDER_sempred=function(t,e){switch(e){case 1:return this.column===0;default:throw"No predicate with index:"+e}};class J extends X.tree.ParseTreeListener{enterProg(e){}exitProg(e){}enterTitle(e){}exitTitle(e){}enterHead(e){}exitHead(e){}enterGroup(e){}exitGroup(e){}enterStarterExp(e){}exitStarterExp(e){}enterStarter(e){}exitStarter(e){}enterParticipant(e){}exitParticipant(e){}enterStereotype(e){}exitStereotype(e){}enterLabel(e){}exitLabel(e){}enterParticipantType(e){}exitParticipantType(e){}enterName(e){}exitName(e){}enterWidth(e){}exitWidth(e){}enterBlock(e){}exitBlock(e){}enterRet(e){}exitRet(e){}enterReturnAsyncMessage(e){}exitReturnAsyncMessage(e){}enterDivider(e){}exitDivider(e){}enterDividerNote(e){}exitDividerNote(e){}enterStat(e){}exitStat(e){}enterPar(e){}exitPar(e){}enterOpt(e){}exitOpt(e){}enterCritical(e){}exitCritical(e){}enterSection(e){}exitSection(e){}enterCreation(e){}exitCreation(e){}enterRef(e){}exitRef(e){}enterCreationBody(e){}exitCreationBody(e){}enterMessage(e){}exitMessage(e){}enterMessageBody(e){}exitMessageBody(e){}enterFromTo(e){}exitFromTo(e){}enterFunc(e){}exitFunc(e){}enterFrom(e){}exitFrom(e){}enterTo(e){}exitTo(e){}enterSignature(e){}exitSignature(e){}enterInvocation(e){}exitInvocation(e){}enterAssignment(e){}exitAssignment(e){}enterAsyncMessage(e){}exitAsyncMessage(e){}enterContent(e){}exitContent(e){}enterConstruct(e){}exitConstruct(e){}enterType(e){}exitType(e){}enterAssignee(e){}exitAssignee(e){}enterMethodName(e){}exitMethodName(e){}enterParameters(e){}exitParameters(e){}enterParameter(e){}exitParameter(e){}enterNamedParameter(e){}exitNamedParameter(e){}enterDeclaration(e){}exitDeclaration(e){}enterTcf(e){}exitTcf(e){}enterTryBlock(e){}exitTryBlock(e){}enterCatchBlock(e){}exitCatchBlock(e){}enterFinallyBlock(e){}exitFinallyBlock(e){}enterAlt(e){}exitAlt(e){}enterIfBlock(e){}exitIfBlock(e){}enterElseIfBlock(e){}exitElseIfBlock(e){}enterElseBlock(e){}exitElseBlock(e){}enterBraceBlock(e){}exitBraceBlock(e){}enterLoop(e){}exitLoop(e){}enterAssignmentExpr(e){}exitAssignmentExpr(e){}enterFuncExpr(e){}exitFuncExpr(e){}enterAtomExpr(e){}exitAtomExpr(e){}enterOrExpr(e){}exitOrExpr(e){}enterAdditiveExpr(e){}exitAdditiveExpr(e){}enterRelationalExpr(e){}exitRelationalExpr(e){}enterPlusExpr(e){}exitPlusExpr(e){}enterNotExpr(e){}exitNotExpr(e){}enterUnaryMinusExpr(e){}exitUnaryMinusExpr(e){}enterCreationExpr(e){}exitCreationExpr(e){}enterParenthesizedExpr(e){}exitParenthesizedExpr(e){}enterMultiplicationExpr(e){}exitMultiplicationExpr(e){}enterEqualityExpr(e){}exitEqualityExpr(e){}enterAndExpr(e){}exitAndExpr(e){}enterNumberAtom(e){}exitNumberAtom(e){}enterNumberUnitAtom(e){}exitNumberUnitAtom(e){}enterMoneyAtom(e){}exitMoneyAtom(e){}enterBooleanAtom(e){}exitBooleanAtom(e){}enterIdAtom(e){}exitIdAtom(e){}enterStringAtom(e){}exitStringAtom(e){}enterNilAtom(e){}exitNilAtom(e){}enterParExpr(e){}exitParExpr(e){}enterCondition(e){}exitCondition(e){}enterInExpr(e){}exitInExpr(e){}enterTextExpr(e){}exitTextExpr(e){}}const ux=[4,1,72,633,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,1,0,3,0,122,8,0,1,0,1,0,3,0,126,8,0,1,0,1,0,1,0,1,0,3,0,132,8,0,1,0,3,0,135,8,0,1,0,1,0,1,0,3,0,140,8,0,1,1,1,1,3,1,144,8,1,1,1,3,1,147,8,1,1,2,1,2,4,2,151,8,2,11,2,12,2,152,1,2,1,2,5,2,157,8,2,10,2,12,2,160,9,2,1,2,3,2,163,8,2,1,3,1,3,3,3,167,8,3,1,3,1,3,5,3,171,8,3,10,3,12,3,174,9,3,1,3,3,3,177,8,3,3,3,179,8,3,1,4,1,4,1,4,3,4,184,8,4,1,4,3,4,187,8,4,1,4,3,4,190,8,4,1,5,1,5,1,6,3,6,195,8,6,1,6,3,6,198,8,6,1,6,1,6,3,6,202,8,6,1,6,3,6,205,8,6,1,6,3,6,208,8,6,1,6,1,6,3,6,212,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,221,8,7,1,7,1,7,3,7,225,8,7,3,7,227,8,7,1,8,1,8,1,8,3,8,232,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,241,8,12,11,12,12,12,242,1,13,1,13,3,13,247,8,13,1,13,3,13,250,8,13,1,13,1,13,1,13,3,13,255,8,13,1,13,1,13,3,13,259,8,13,3,13,261,8,13,1,14,1,14,1,14,1,14,1,14,3,14,268,8,14,1,14,1,14,1,14,3,14,273,8,14,3,14,275,8,14,1,15,1,15,1,16,1,16,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,3,17,292,8,17,1,17,1,17,1,17,3,17,297,8,17,1,18,1,18,3,18,301,8,18,1,18,1,18,3,18,305,8,18,1,19,1,19,3,19,309,8,19,1,19,1,19,3,19,313,8,19,1,20,1,20,3,20,317,8,20,1,20,1,20,3,20,321,8,20,1,21,1,21,1,21,3,21,326,8,21,1,21,3,21,329,8,21,1,21,1,21,1,21,3,21,334,8,21,1,22,1,22,1,22,3,22,339,8,22,1,23,1,23,1,23,1,23,1,23,5,23,346,8,23,10,23,12,23,349,9,23,5,23,351,8,23,10,23,12,23,354,9,23,1,23,1,23,3,23,358,8,23,1,24,3,24,361,8,24,1,24,1,24,1,24,1,24,3,24,367,8,24,1,24,3,24,370,8,24,1,24,3,24,373,8,24,1,24,3,24,376,8,24,1,25,1,25,1,25,3,25,381,8,25,1,26,1,26,1,26,3,26,386,8,26,1,26,3,26,389,8,26,1,26,1,26,3,26,393,8,26,1,26,3,26,396,8,26,1,27,1,27,1,27,3,27,401,8,27,1,27,1,27,1,27,1,28,1,28,1,28,5,28,409,8,28,10,28,12,28,412,9,28,1,29,1,29,1,30,1,30,1,31,1,31,3,31,420,8,31,1,32,1,32,3,32,424,8,32,1,32,1,32,1,33,3,33,429,8,33,1,33,1,33,1,33,1,34,1,34,1,34,3,34,437,8,34,1,34,1,34,1,34,3,34,442,8,34,1,34,1,34,1,34,3,34,447,8,34,3,34,449,8,34,1,35,1,35,1,36,1,36,1,37,1,37,1,38,1,38,1,38,1,38,5,38,461,8,38,10,38,12,38,464,9,38,1,38,1,38,1,38,3,38,469,8,38,1,39,1,39,1,40,1,40,1,40,5,40,476,8,40,10,40,12,40,479,9,40,1,40,3,40,482,8,40,1,41,1,41,1,41,3,41,487,8,41,1,42,1,42,1,42,3,42,492,8,42,1,43,1,43,1,43,1,44,1,44,5,44,499,8,44,10,44,12,44,502,9,44,1,44,3,44,505,8,44,1,45,1,45,1,45,1,46,1,46,3,46,512,8,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,5,48,521,8,48,10,48,12,48,524,9,48,1,48,3,48,527,8,48,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,52,1,52,3,52,543,8,52,1,52,1,52,1,53,1,53,3,53,549,8,53,1,53,3,53,552,8,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,563,8,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,574,8,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,5,54,597,8,54,10,54,12,54,600,9,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,609,8,55,1,56,1,56,3,56,613,8,56,1,56,3,56,616,8,56,1,57,1,57,1,57,1,57,3,57,622,8,57,1,58,1,58,1,58,1,58,1,59,4,59,629,8,59,11,59,12,59,630,1,59,0,1,108,60,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,0,11,2,0,8,8,18,18,2,0,9,9,17,17,2,0,58,58,63,64,2,0,11,11,22,22,1,0,23,25,1,0,21,22,1,0,17,20,1,0,15,16,1,0,59,60,1,0,35,36,1,0,63,64,708,0,139,1,0,0,0,2,141,1,0,0,0,4,162,1,0,0,0,6,164,1,0,0,0,8,189,1,0,0,0,10,191,1,0,0,0,12,211,1,0,0,0,14,226,1,0,0,0,16,231,1,0,0,0,18,233,1,0,0,0,20,235,1,0,0,0,22,237,1,0,0,0,24,240,1,0,0,0,26,260,1,0,0,0,28,274,1,0,0,0,30,276,1,0,0,0,32,278,1,0,0,0,34,296,1,0,0,0,36,304,1,0,0,0,38,312,1,0,0,0,40,320,1,0,0,0,42,333,1,0,0,0,44,335,1,0,0,0,46,340,1,0,0,0,48,375,1,0,0,0,50,377,1,0,0,0,52,395,1,0,0,0,54,400,1,0,0,0,56,405,1,0,0,0,58,413,1,0,0,0,60,415,1,0,0,0,62,417,1,0,0,0,64,421,1,0,0,0,66,428,1,0,0,0,68,448,1,0,0,0,70,450,1,0,0,0,72,452,1,0,0,0,74,454,1,0,0,0,76,468,1,0,0,0,78,470,1,0,0,0,80,472,1,0,0,0,82,486,1,0,0,0,84,488,1,0,0,0,86,493,1,0,0,0,88,496,1,0,0,0,90,506,1,0,0,0,92,509,1,0,0,0,94,515,1,0,0,0,96,518,1,0,0,0,98,528,1,0,0,0,100,532,1,0,0,0,102,537,1,0,0,0,104,540,1,0,0,0,106,546,1,0,0,0,108,573,1,0,0,0,110,608,1,0,0,0,112,610,1,0,0,0,114,621,1,0,0,0,116,623,1,0,0,0,118,628,1,0,0,0,120,122,3,2,1,0,121,120,1,0,0,0,121,122,1,0,0,0,122,123,1,0,0,0,123,140,5,0,0,1,124,126,3,2,1,0,125,124,1,0,0,0,125,126,1,0,0,0,126,127,1,0,0,0,127,128,3,4,2,0,128,129,5,0,0,1,129,140,1,0,0,0,130,132,3,2,1,0,131,130,1,0,0,0,131,132,1,0,0,0,132,134,1,0,0,0,133,135,3,4,2,0,134,133,1,0,0,0,134,135,1,0,0,0,135,136,1,0,0,0,136,137,3,24,12,0,137,138,5,0,0,1,138,140,1,0,0,0,139,121,1,0,0,0,139,125,1,0,0,0,139,131,1,0,0,0,140,1,1,0,0,0,141,143,5,6,0,0,142,144,5,71,0,0,143,142,1,0,0,0,143,144,1,0,0,0,144,146,1,0,0,0,145,147,5,72,0,0,146,145,1,0,0,0,146,147,1,0,0,0,147,3,1,0,0,0,148,151,3,6,3,0,149,151,3,12,6,0,150,148,1,0,0,0,150,149,1,0,0,0,151,152,1,0,0,0,152,150,1,0,0,0,152,153,1,0,0,0,153,163,1,0,0,0,154,157,3,6,3,0,155,157,3,12,6,0,156,154,1,0,0,0,156,155,1,0,0,0,157,160,1,0,0,0,158,156,1,0,0,0,158,159,1,0,0,0,159,161,1,0,0,0,160,158,1,0,0,0,161,163,3,8,4,0,162,150,1,0,0,0,162,158,1,0,0,0,163,5,1,0,0,0,164,166,5,44,0,0,165,167,3,20,10,0,166,165,1,0,0,0,166,167,1,0,0,0,167,178,1,0,0,0,168,172,5,33,0,0,169,171,3,12,6,0,170,169,1,0,0,0,171,174,1,0,0,0,172,170,1,0,0,0,172,173,1,0,0,0,173,176,1,0,0,0,174,172,1,0,0,0,175,177,5,34,0,0,176,175,1,0,0,0,176,177,1,0,0,0,177,179,1,0,0,0,178,168,1,0,0,0,178,179,1,0,0,0,179,7,1,0,0,0,180,186,5,54,0,0,181,183,5,31,0,0,182,184,3,10,5,0,183,182,1,0,0,0,183,184,1,0,0,0,184,185,1,0,0,0,185,187,5,32,0,0,186,181,1,0,0,0,186,187,1,0,0,0,187,190,1,0,0,0,188,190,5,56,0,0,189,180,1,0,0,0,189,188,1,0,0,0,190,9,1,0,0,0,191,192,3,20,10,0,192,11,1,0,0,0,193,195,3,18,9,0,194,193,1,0,0,0,194,195,1,0,0,0,195,197,1,0,0,0,196,198,3,14,7,0,197,196,1,0,0,0,197,198,1,0,0,0,198,199,1,0,0,0,199,201,3,20,10,0,200,202,3,22,11,0,201,200,1,0,0,0,201,202,1,0,0,0,202,204,1,0,0,0,203,205,3,16,8,0,204,203,1,0,0,0,204,205,1,0,0,0,205,207,1,0,0,0,206,208,5,12,0,0,207,206,1,0,0,0,207,208,1,0,0,0,208,212,1,0,0,0,209,212,3,14,7,0,210,212,3,18,9,0,211,194,1,0,0,0,211,209,1,0,0,0,211,210,1,0,0,0,212,13,1,0,0,0,213,214,5,8,0,0,214,215,3,20,10,0,215,216,5,9,0,0,216,227,1,0,0,0,217,218,5,8,0,0,218,220,3,20,10,0,219,221,5,17,0,0,220,219,1,0,0,0,220,221,1,0,0,0,221,227,1,0,0,0,222,224,7,0,0,0,223,225,7,1,0,0,224,223,1,0,0,0,224,225,1,0,0,0,225,227,1,0,0,0,226,213,1,0,0,0,226,217,1,0,0,0,226,222,1,0,0,0,227,15,1,0,0,0,228,229,5,49,0,0,229,232,3,20,10,0,230,232,5,49,0,0,231,228,1,0,0,0,231,230,1,0,0,0,232,17,1,0,0,0,233,234,5,56,0,0,234,19,1,0,0,0,235,236,7,2,0,0,236,21,1,0,0,0,237,238,5,59,0,0,238,23,1,0,0,0,239,241,3,34,17,0,240,239,1,0,0,0,241,242,1,0,0,0,242,240,1,0,0,0,242,243,1,0,0,0,243,25,1,0,0,0,244,246,5,41,0,0,245,247,3,108,54,0,246,245,1,0,0,0,246,247,1,0,0,0,247,249,1,0,0,0,248,250,5,28,0,0,249,248,1,0,0,0,249,250,1,0,0,0,250,261,1,0,0,0,251,252,5,55,0,0,252,254,3,68,34,0,253,255,5,70,0,0,254,253,1,0,0,0,254,255,1,0,0,0,255,261,1,0,0,0,256,258,3,28,14,0,257,259,5,70,0,0,258,257,1,0,0,0,258,259,1,0,0,0,259,261,1,0,0,0,260,244,1,0,0,0,260,251,1,0,0,0,260,256,1,0,0,0,261,27,1,0,0,0,262,263,3,58,29,0,263,264,5,10,0,0,264,265,3,60,30,0,265,267,5,7,0,0,266,268,3,70,35,0,267,266,1,0,0,0,267,268,1,0,0,0,268,275,1,0,0,0,269,270,3,58,29,0,270,272,5,10,0,0,271,273,3,60,30,0,272,271,1,0,0,0,272,273,1,0,0,0,273,275,1,0,0,0,274,262,1,0,0,0,274,269,1,0,0,0,275,29,1,0,0,0,276,277,3,32,16,0,277,31,1,0,0,0,278,279,5,68,0,0,279,33,1,0,0,0,280,297,3,96,48,0,281,297,3,36,18,0,282,297,3,38,19,0,283,297,3,40,20,0,284,297,3,42,21,0,285,297,3,46,23,0,286,297,3,106,53,0,287,297,3,44,22,0,288,297,3,50,25,0,289,291,3,68,34,0,290,292,5,70,0,0,291,290,1,0,0,0,291,292,1,0,0,0,292,297,1,0,0,0,293,297,3,26,13,0,294,297,3,30,15,0,295,297,3,88,44,0,296,280,1,0,0,0,296,281,1,0,0,0,296,282,1,0,0,0,296,283,1,0,0,0,296,284,1,0,0,0,296,285,1,0,0,0,296,286,1,0,0,0,296,287,1,0,0,0,296,288,1,0,0,0,296,289,1,0,0,0,296,293,1,0,0,0,296,294,1,0,0,0,296,295,1,0,0,0,297,35,1,0,0,0,298,300,5,43,0,0,299,301,3,112,56,0,300,299,1,0,0,0,300,301,1,0,0,0,301,302,1,0,0,0,302,305,3,104,52,0,303,305,5,43,0,0,304,298,1,0,0,0,304,303,1,0,0,0,305,37,1,0,0,0,306,308,5,45,0,0,307,309,3,112,56,0,308,307,1,0,0,0,308,309,1,0,0,0,309,310,1,0,0,0,310,313,3,104,52,0,311,313,5,45,0,0,312,306,1,0,0,0,312,311,1,0,0,0,313,39,1,0,0,0,314,316,5,46,0,0,315,317,3,112,56,0,316,315,1,0,0,0,316,317,1,0,0,0,317,318,1,0,0,0,318,321,3,104,52,0,319,321,5,46,0,0,320,314,1,0,0,0,320,319,1,0,0,0,321,41,1,0,0,0,322,328,5,47,0,0,323,325,5,31,0,0,324,326,3,110,55,0,325,324,1,0,0,0,325,326,1,0,0,0,326,327,1,0,0,0,327,329,5,32,0,0,328,323,1,0,0,0,328,329,1,0,0,0,329,330,1,0,0,0,330,334,3,104,52,0,331,334,3,104,52,0,332,334,5,47,0,0,333,322,1,0,0,0,333,331,1,0,0,0,333,332,1,0,0,0,334,43,1,0,0,0,335,338,3,48,24,0,336,339,5,28,0,0,337,339,3,104,52,0,338,336,1,0,0,0,338,337,1,0,0,0,338,339,1,0,0,0,339,45,1,0,0,0,340,341,5,48,0,0,341,342,5,31,0,0,342,352,3,20,10,0,343,347,5,29,0,0,344,346,3,20,10,0,345,344,1,0,0,0,346,349,1,0,0,0,347,345,1,0,0,0,347,348,1,0,0,0,348,351,1,0,0,0,349,347,1,0,0,0,350,343,1,0,0,0,351,354,1,0,0,0,352,350,1,0,0,0,352,353,1,0,0,0,353,355,1,0,0,0,354,352,1,0,0,0,355,357,5,32,0,0,356,358,5,28,0,0,357,356,1,0,0,0,357,358,1,0,0,0,358,47,1,0,0,0,359,361,3,66,33,0,360,359,1,0,0,0,360,361,1,0,0,0,361,362,1,0,0,0,362,363,5,42,0,0,363,369,3,72,36,0,364,366,5,31,0,0,365,367,3,80,40,0,366,365,1,0,0,0,366,367,1,0,0,0,367,368,1,0,0,0,368,370,5,32,0,0,369,364,1,0,0,0,369,370,1,0,0,0,370,376,1,0,0,0,371,373,3,66,33,0,372,371,1,0,0,0,372,373,1,0,0,0,373,374,1,0,0,0,374,376,5,42,0,0,375,360,1,0,0,0,375,372,1,0,0,0,376,49,1,0,0,0,377,380,3,52,26,0,378,381,5,28,0,0,379,381,3,104,52,0,380,378,1,0,0,0,380,379,1,0,0,0,380,381,1,0,0,0,381,51,1,0,0,0,382,388,3,66,33,0,383,385,3,54,27,0,384,386,3,56,28,0,385,384,1,0,0,0,385,386,1,0,0,0,386,389,1,0,0,0,387,389,3,56,28,0,388,383,1,0,0,0,388,387,1,0,0,0,388,389,1,0,0,0,389,396,1,0,0,0,390,392,3,54,27,0,391,393,3,56,28,0,392,391,1,0,0,0,392,393,1,0,0,0,393,396,1,0,0,0,394,396,3,56,28,0,395,382,1,0,0,0,395,390,1,0,0,0,395,394,1,0,0,0,396,53,1,0,0,0,397,398,3,58,29,0,398,399,5,11,0,0,399,401,1,0,0,0,400,397,1,0,0,0,400,401,1,0,0,0,401,402,1,0,0,0,402,403,3,60,30,0,403,404,5,57,0,0,404,55,1,0,0,0,405,410,3,62,31,0,406,407,5,57,0,0,407,409,3,62,31,0,408,406,1,0,0,0,409,412,1,0,0,0,410,408,1,0,0,0,410,411,1,0,0,0,411,57,1,0,0,0,412,410,1,0,0,0,413,414,3,20,10,0,414,59,1,0,0,0,415,416,3,20,10,0,416,61,1,0,0,0,417,419,3,78,39,0,418,420,3,64,32,0,419,418,1,0,0,0,419,420,1,0,0,0,420,63,1,0,0,0,421,423,5,31,0,0,422,424,3,80,40,0,423,422,1,0,0,0,423,424,1,0,0,0,424,425,1,0,0,0,425,426,5,32,0,0,426,65,1,0,0,0,427,429,3,74,37,0,428,427,1,0,0,0,428,429,1,0,0,0,429,430,1,0,0,0,430,431,3,76,38,0,431,432,5,30,0,0,432,67,1,0,0,0,433,434,3,58,29,0,434,435,5,11,0,0,435,437,1,0,0,0,436,433,1,0,0,0,436,437,1,0,0,0,437,438,1,0,0,0,438,439,3,60,30,0,439,441,5,7,0,0,440,442,3,70,35,0,441,440,1,0,0,0,441,442,1,0,0,0,442,449,1,0,0,0,443,444,3,58,29,0,444,446,7,3,0,0,445,447,3,60,30,0,446,445,1,0,0,0,446,447,1,0,0,0,447,449,1,0,0,0,448,436,1,0,0,0,448,443,1,0,0,0,449,69,1,0,0,0,450,451,5,69,0,0,451,71,1,0,0,0,452,453,3,20,10,0,453,73,1,0,0,0,454,455,3,20,10,0,455,75,1,0,0,0,456,469,3,110,55,0,457,462,5,58,0,0,458,459,5,29,0,0,459,461,5,58,0,0,460,458,1,0,0,0,461,464,1,0,0,0,462,460,1,0,0,0,462,463,1,0,0,0,463,469,1,0,0,0,464,462,1,0,0,0,465,469,5,63,0,0,466,469,5,64,0,0,467,469,5,42,0,0,468,456,1,0,0,0,468,457,1,0,0,0,468,465,1,0,0,0,468,466,1,0,0,0,468,467,1,0,0,0,469,77,1,0,0,0,470,471,3,20,10,0,471,79,1,0,0,0,472,477,3,82,41,0,473,474,5,29,0,0,474,476,3,82,41,0,475,473,1,0,0,0,476,479,1,0,0,0,477,475,1,0,0,0,477,478,1,0,0,0,478,481,1,0,0,0,479,477,1,0,0,0,480,482,5,29,0,0,481,480,1,0,0,0,481,482,1,0,0,0,482,81,1,0,0,0,483,487,3,84,42,0,484,487,3,86,43,0,485,487,3,108,54,0,486,483,1,0,0,0,486,484,1,0,0,0,486,485,1,0,0,0,487,83,1,0,0,0,488,489,5,58,0,0,489,491,5,30,0,0,490,492,3,108,54,0,491,490,1,0,0,0,491,492,1,0,0,0,492,85,1,0,0,0,493,494,3,74,37,0,494,495,5,58,0,0,495,87,1,0,0,0,496,500,3,90,45,0,497,499,3,92,46,0,498,497,1,0,0,0,499,502,1,0,0,0,500,498,1,0,0,0,500,501,1,0,0,0,501,504,1,0,0,0,502,500,1,0,0,0,503,505,3,94,47,0,504,503,1,0,0,0,504,505,1,0,0,0,505,89,1,0,0,0,506,507,5,50,0,0,507,508,3,104,52,0,508,91,1,0,0,0,509,511,5,51,0,0,510,512,3,64,32,0,511,510,1,0,0,0,511,512,1,0,0,0,512,513,1,0,0,0,513,514,3,104,52,0,514,93,1,0,0,0,515,516,5,52,0,0,516,517,3,104,52,0,517,95,1,0,0,0,518,522,3,98,49,0,519,521,3,100,50,0,520,519,1,0,0,0,521,524,1,0,0,0,522,520,1,0,0,0,522,523,1,0,0,0,523,526,1,0,0,0,524,522,1,0,0,0,525,527,3,102,51,0,526,525,1,0,0,0,526,527,1,0,0,0,527,97,1,0,0,0,528,529,5,38,0,0,529,530,3,112,56,0,530,531,3,104,52,0,531,99,1,0,0,0,532,533,5,39,0,0,533,534,5,38,0,0,534,535,3,112,56,0,535,536,3,104,52,0,536,101,1,0,0,0,537,538,5,39,0,0,538,539,3,104,52,0,539,103,1,0,0,0,540,542,5,33,0,0,541,543,3,24,12,0,542,541,1,0,0,0,542,543,1,0,0,0,543,544,1,0,0,0,544,545,5,34,0,0,545,105,1,0,0,0,546,548,5,40,0,0,547,549,3,112,56,0,548,547,1,0,0,0,548,549,1,0,0,0,549,551,1,0,0,0,550,552,3,104,52,0,551,550,1,0,0,0,551,552,1,0,0,0,552,107,1,0,0,0,553,554,6,54,-1,0,554,574,3,110,55,0,555,556,5,22,0,0,556,574,3,108,54,13,557,558,5,27,0,0,558,574,3,108,54,12,559,560,3,60,30,0,560,561,5,57,0,0,561,563,1,0,0,0,562,559,1,0,0,0,562,563,1,0,0,0,563,564,1,0,0,0,564,574,3,56,28,0,565,574,3,44,22,0,566,567,5,31,0,0,567,568,3,108,54,0,568,569,5,32,0,0,569,574,1,0,0,0,570,571,3,66,33,0,571,572,3,108,54,1,572,574,1,0,0,0,573,553,1,0,0,0,573,555,1,0,0,0,573,557,1,0,0,0,573,562,1,0,0,0,573,565,1,0,0,0,573,566,1,0,0,0,573,570,1,0,0,0,574,598,1,0,0,0,575,576,10,11,0,0,576,577,7,4,0,0,577,597,3,108,54,12,578,579,10,10,0,0,579,580,7,5,0,0,580,597,3,108,54,11,581,582,10,9,0,0,582,583,7,6,0,0,583,597,3,108,54,10,584,585,10,8,0,0,585,586,7,7,0,0,586,597,3,108,54,9,587,588,10,7,0,0,588,589,5,14,0,0,589,597,3,108,54,8,590,591,10,6,0,0,591,592,5,13,0,0,592,597,3,108,54,7,593,594,10,5,0,0,594,595,5,21,0,0,595,597,3,108,54,6,596,575,1,0,0,0,596,578,1,0,0,0,596,581,1,0,0,0,596,584,1,0,0,0,596,587,1,0,0,0,596,590,1,0,0,0,596,593,1,0,0,0,597,600,1,0,0,0,598,596,1,0,0,0,598,599,1,0,0,0,599,109,1,0,0,0,600,598,1,0,0,0,601,609,7,8,0,0,602,609,5,62,0,0,603,609,5,61,0,0,604,609,7,9,0,0,605,609,5,58,0,0,606,609,7,10,0,0,607,609,5,37,0,0,608,601,1,0,0,0,608,602,1,0,0,0,608,603,1,0,0,0,608,604,1,0,0,0,608,605,1,0,0,0,608,606,1,0,0,0,608,607,1,0,0,0,609,111,1,0,0,0,610,612,5,31,0,0,611,613,3,114,57,0,612,611,1,0,0,0,612,613,1,0,0,0,613,615,1,0,0,0,614,616,5,32,0,0,615,614,1,0,0,0,615,616,1,0,0,0,616,113,1,0,0,0,617,622,3,110,55,0,618,622,3,108,54,0,619,622,3,116,58,0,620,622,3,118,59,0,621,617,1,0,0,0,621,618,1,0,0,0,621,619,1,0,0,0,621,620,1,0,0,0,622,115,1,0,0,0,623,624,5,58,0,0,624,625,5,53,0,0,625,626,5,58,0,0,626,117,1,0,0,0,627,629,5,58,0,0,628,627,1,0,0,0,629,630,1,0,0,0,630,628,1,0,0,0,630,631,1,0,0,0,631,119,1,0,0,0,95,121,125,131,134,139,143,146,150,152,156,158,162,166,172,176,178,183,186,189,194,197,201,204,207,211,220,224,226,231,242,246,249,254,258,260,267,272,274,291,296,300,304,308,312,316,320,325,328,333,338,347,352,357,360,366,369,372,375,380,385,388,392,395,400,410,419,423,428,436,441,446,448,462,468,477,481,486,491,500,504,511,522,526,542,548,551,562,573,596,598,608,612,615,621,630],Ni=new X.atn.ATNDeserializer().deserialize(ux),dx=Ni.decisionToState.map((t,e)=>new X.dfa.DFA(t,e)),hx=new X.PredictionContextCache,q=class q extends X.Parser{constructor(e){super(e),this._interp=new X.atn.ParserATNSimulator(this,Ni,dx,hx),this.ruleNames=q.ruleNames,this.literalNames=q.literalNames,this.symbolicNames=q.symbolicNames}get atn(){return Ni}sempred(e,n,s){switch(n){case 54:return this.expr_sempred(e,s);default:throw"No predicate with index:"+n}}expr_sempred(e,n){switch(n){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+n}}prog(){let e=new nL(this,this._ctx,this.state);this.enterRule(e,0,q.RULE_prog);var n=0;try{this.state=139,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,4,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=121,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=120,this.title()),this.state=123,this.match(q.EOF);break;case 2:this.enterOuterAlt(e,2),this.state=125,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=124,this.title()),this.state=127,this.head(),this.state=128,this.match(q.EOF);break;case 3:this.enterOuterAlt(e,3),this.state=131,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=130,this.title()),this.state=134,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,3,this._ctx);s===1&&(this.state=133,this.head()),this.state=136,this.block(),this.state=137,this.match(q.EOF);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}title(){let e=new Oi(this,this._ctx,this.state);this.enterRule(e,2,q.RULE_title);var n=0;try{this.enterOuterAlt(e,1),this.state=141,this.match(q.TITLE),this.state=143,this._errHandler.sync(this),n=this._input.LA(1),n===71&&(this.state=142,this.match(q.TITLE_CONTENT)),this.state=146,this._errHandler.sync(this),n=this._input.LA(1),n===72&&(this.state=145,this.match(q.TITLE_END))}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}head(){let e=new Di(this,this._ctx,this.state);this.enterRule(e,4,q.RULE_head);try{this.state=162,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,11,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=150,this._errHandler.sync(this);var s=1;do{switch(s){case 1:switch(this.state=150,this._errHandler.sync(this),this._input.LA(1)){case 44:this.state=148,this.group();break;case 8:case 18:case 56:case 58:case 63:case 64:this.state=149,this.participant();break;default:throw new X.error.NoViableAltException(this)}break;default:throw new X.error.NoViableAltException(this)}this.state=152,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,8,this._ctx)}while(s!=2&&s!=X.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(e,2),this.state=158,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,10,this._ctx);s!=2&&s!=X.atn.ATN.INVALID_ALT_NUMBER;){if(s===1)switch(this.state=156,this._errHandler.sync(this),this._input.LA(1)){case 44:this.state=154,this.group();break;case 8:case 18:case 56:case 58:case 63:case 64:this.state=155,this.participant();break;default:throw new X.error.NoViableAltException(this)}this.state=160,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,10,this._ctx)}this.state=161,this.starterExp();break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}group(){let e=new me(this,this._ctx,this.state);this.enterRule(e,6,q.RULE_group);var n=0;try{this.enterOuterAlt(e,1),this.state=164,this.match(q.GROUP),this.state=166,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,12,this._ctx);s===1&&(this.state=165,this.name()),this.state=178,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,15,this._ctx);if(s===1){this.state=168,this.match(q.OBRACE),this.state=172,this._errHandler.sync(this);for(var l=this._interp.adaptivePredict(this._input,13,this._ctx);l!=2&&l!=X.atn.ATN.INVALID_ALT_NUMBER;)l===1&&(this.state=169,this.participant()),this.state=174,this._errHandler.sync(this),l=this._interp.adaptivePredict(this._input,13,this._ctx);this.state=176,this._errHandler.sync(this),n=this._input.LA(1),n===34&&(this.state=175,this.match(q.CBRACE))}}catch(L){if(L instanceof X.error.RecognitionException)e.exception=L,this._errHandler.reportError(this,L),this._errHandler.recover(this,L);else throw L}finally{this.exitRule()}return e}starterExp(){let e=new Fi(this,this._ctx,this.state);this.enterRule(e,8,q.RULE_starterExp);var n=0;try{switch(this.state=189,this._errHandler.sync(this),this._input.LA(1)){case 54:this.enterOuterAlt(e,1),this.state=180,this.match(q.STARTER_LXR),this.state=186,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=181,this.match(q.OPAR),this.state=183,this._errHandler.sync(this),n=this._input.LA(1),(n-58&-32)==0&&(1<<n-58&97)!==0&&(this.state=182,this.starter()),this.state=185,this.match(q.CPAR));break;case 56:this.enterOuterAlt(e,2),this.state=188,this.match(q.ANNOTATION);break;default:throw new X.error.NoViableAltException(this)}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}starter(){let e=new Bi(this,this._ctx,this.state);this.enterRule(e,10,q.RULE_starter);try{this.enterOuterAlt(e,1),this.state=191,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}participant(){let e=new o8(this,this._ctx,this.state);this.enterRule(e,12,q.RULE_participant);var n=0;try{this.state=211,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,24,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=194,this._errHandler.sync(this),n=this._input.LA(1),n===56&&(this.state=193,this.participantType()),this.state=197,this._errHandler.sync(this),n=this._input.LA(1),(n===8||n===18)&&(this.state=196,this.stereotype()),this.state=199,this.name(),this.state=201,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,21,this._ctx);s===1&&(this.state=200,this.width()),this.state=204,this._errHandler.sync(this),n=this._input.LA(1),n===49&&(this.state=203,this.label()),this.state=207,this._errHandler.sync(this),n=this._input.LA(1),n===12&&(this.state=206,this.match(q.COLOR));break;case 2:this.enterOuterAlt(e,2),this.state=209,this.stereotype();break;case 3:this.enterOuterAlt(e,3),this.state=210,this.participantType();break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}stereotype(){let e=new Ui(this,this._ctx,this.state);this.enterRule(e,14,q.RULE_stereotype);var n=0;try{this.state=226,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,27,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=213,this.match(q.SOPEN),this.state=214,this.name(),this.state=215,this.match(q.SCLOSE);break;case 2:this.enterOuterAlt(e,2),this.state=217,this.match(q.SOPEN),this.state=218,this.name(),this.state=220,this._errHandler.sync(this),n=this._input.LA(1),n===17&&(this.state=219,this.match(q.GT));break;case 3:this.enterOuterAlt(e,3),this.state=222,n=this._input.LA(1),n===8||n===18?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=224,this._errHandler.sync(this),n=this._input.LA(1),(n===9||n===17)&&(this.state=223,n=this._input.LA(1),n===9||n===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}label(){let e=new Hi(this,this._ctx,this.state);this.enterRule(e,16,q.RULE_label);try{this.state=231,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,28,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=228,this.match(q.AS),this.state=229,this.name();break;case 2:this.enterOuterAlt(e,2),this.state=230,this.match(q.AS);break}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}participantType(){let e=new Pi(this,this._ctx,this.state);this.enterRule(e,18,q.RULE_participantType);try{this.enterOuterAlt(e,1),this.state=233,this.match(q.ANNOTATION)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}name(){let e=new h4(this,this._ctx,this.state);this.enterRule(e,20,q.RULE_name);var n=0;try{this.enterOuterAlt(e,1),this.state=235,n=this._input.LA(1),(n-58&-32)==0&&(1<<n-58&97)!==0?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}width(){let e=new Wi(this,this._ctx,this.state);this.enterRule(e,22,q.RULE_width);try{this.enterOuterAlt(e,1),this.state=237,this.match(q.INT)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}block(){let e=new xe(this,this._ctx,this.state);this.enterRule(e,24,q.RULE_block);var n=0;try{this.enterOuterAlt(e,1),this.state=240,this._errHandler.sync(this),n=this._input.LA(1);do this.state=239,this.stat(),this.state=242,this._errHandler.sync(this),n=this._input.LA(1);while((n-33&-32)==0&&(1<<n-33&4265801661)!==0||n===68)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}ret(){let e=new ji(this,this._ctx,this.state);this.enterRule(e,26,q.RULE_ret);var n=0;try{switch(this.state=260,this._errHandler.sync(this),this._input.LA(1)){case 41:this.enterOuterAlt(e,1),this.state=244,this.match(q.RETURN),this.state=246,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,30,this._ctx);s===1&&(this.state=245,this.expr(0)),this.state=249,this._errHandler.sync(this),n=this._input.LA(1),n===28&&(this.state=248,this.match(q.SCOL));break;case 55:this.enterOuterAlt(e,2),this.state=251,this.match(q.ANNOTATION_RET),this.state=252,this.asyncMessage(),this.state=254,this._errHandler.sync(this),n=this._input.LA(1),n===70&&(this.state=253,this.match(q.EVENT_END));break;case 58:case 63:case 64:this.enterOuterAlt(e,3),this.state=256,this.returnAsyncMessage(),this.state=258,this._errHandler.sync(this),n=this._input.LA(1),n===70&&(this.state=257,this.match(q.EVENT_END));break;default:throw new X.error.NoViableAltException(this)}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}returnAsyncMessage(){let e=new $i(this,this._ctx,this.state);this.enterRule(e,28,q.RULE_returnAsyncMessage);var n=0;try{this.state=274,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,37,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=262,this.from(),this.state=263,this.match(q.RETURN_ARROW),this.state=264,this.to(),this.state=265,this.match(q.COL),this.state=267,this._errHandler.sync(this),n=this._input.LA(1),n===69&&(this.state=266,this.content());break;case 2:this.enterOuterAlt(e,2),this.state=269,this.from(),this.state=270,this.match(q.RETURN_ARROW),this.state=272,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,36,this._ctx);s===1&&(this.state=271,this.to());break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}divider(){let e=new Vi(this,this._ctx,this.state);this.enterRule(e,30,q.RULE_divider);try{this.enterOuterAlt(e,1),this.state=276,this.dividerNote()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}dividerNote(){let e=new Gi(this,this._ctx,this.state);this.enterRule(e,32,q.RULE_dividerNote);try{this.enterOuterAlt(e,1),this.state=278,this.match(q.DIVIDER)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}stat(){let e=new we(this,this._ctx,this.state);this.enterRule(e,34,q.RULE_stat);var n=0;try{this.state=296,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,39,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=280,this.alt();break;case 2:this.enterOuterAlt(e,2),this.state=281,this.par();break;case 3:this.enterOuterAlt(e,3),this.state=282,this.opt();break;case 4:this.enterOuterAlt(e,4),this.state=283,this.critical();break;case 5:this.enterOuterAlt(e,5),this.state=284,this.section();break;case 6:this.enterOuterAlt(e,6),this.state=285,this.ref();break;case 7:this.enterOuterAlt(e,7),this.state=286,this.loop();break;case 8:this.enterOuterAlt(e,8),this.state=287,this.creation();break;case 9:this.enterOuterAlt(e,9),this.state=288,this.message();break;case 10:this.enterOuterAlt(e,10),this.state=289,this.asyncMessage(),this.state=291,this._errHandler.sync(this),n=this._input.LA(1),n===70&&(this.state=290,this.match(q.EVENT_END));break;case 11:this.enterOuterAlt(e,11),this.state=293,this.ret();break;case 12:this.enterOuterAlt(e,12),this.state=294,this.divider();break;case 13:this.enterOuterAlt(e,13),this.state=295,this.tcf();break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}par(){let e=new qi(this,this._ctx,this.state);this.enterRule(e,36,q.RULE_par);var n=0;try{this.state=304,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,41,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=298,this.match(q.PAR),this.state=300,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=299,this.parExpr()),this.state=302,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=303,this.match(q.PAR);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}opt(){let e=new Yi(this,this._ctx,this.state);this.enterRule(e,38,q.RULE_opt);var n=0;try{this.state=312,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,43,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=306,this.match(q.OPT),this.state=308,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=307,this.parExpr()),this.state=310,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=311,this.match(q.OPT);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}critical(){let e=new Xi(this,this._ctx,this.state);this.enterRule(e,40,q.RULE_critical);var n=0;try{this.state=320,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,45,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=314,this.match(q.CRITICAL),this.state=316,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=315,this.parExpr()),this.state=318,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=319,this.match(q.CRITICAL);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}section(){let e=new Qi(this,this._ctx,this.state);this.enterRule(e,42,q.RULE_section);var n=0;try{this.state=333,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,48,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=322,this.match(q.SECTION),this.state=328,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=323,this.match(q.OPAR),this.state=325,this._errHandler.sync(this),n=this._input.LA(1),(n-35&-32)==0&&(1<<n-35&1065353223)!==0&&(this.state=324,this.atom()),this.state=327,this.match(q.CPAR)),this.state=330,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=331,this.braceBlock();break;case 3:this.enterOuterAlt(e,3),this.state=332,this.match(q.SECTION);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}creation(){let e=new ve(this,this._ctx,this.state);this.enterRule(e,44,q.RULE_creation);try{this.enterOuterAlt(e,1),this.state=335,this.creationBody(),this.state=338,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,49,this._ctx);n===1?(this.state=336,this.match(q.SCOL)):n===2&&(this.state=337,this.braceBlock())}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}ref(){let e=new Ki(this,this._ctx,this.state);this.enterRule(e,46,q.RULE_ref);var n=0;try{for(this.enterOuterAlt(e,1),this.state=340,this.match(q.REF),this.state=341,this.match(q.OPAR),this.state=342,this.name(),this.state=352,this._errHandler.sync(this),n=this._input.LA(1);n===29;){for(this.state=343,this.match(q.COMMA),this.state=347,this._errHandler.sync(this),n=this._input.LA(1);(n-58&-32)==0&&(1<<n-58&97)!==0;)this.state=344,this.name(),this.state=349,this._errHandler.sync(this),n=this._input.LA(1);this.state=354,this._errHandler.sync(this),n=this._input.LA(1)}this.state=355,this.match(q.CPAR),this.state=357,this._errHandler.sync(this),n=this._input.LA(1),n===28&&(this.state=356,this.match(q.SCOL))}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}creationBody(){let e=new Ji(this,this._ctx,this.state);this.enterRule(e,48,q.RULE_creationBody);var n=0;try{this.state=375,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,57,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=360,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,53,this._ctx);s===1&&(this.state=359,this.assignment()),this.state=362,this.match(q.NEW),this.state=363,this.construct(),this.state=369,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,55,this._ctx);s===1&&(this.state=364,this.match(q.OPAR),this.state=366,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&2285895680)!==0||(n-35&-32)==0&&(1<<n-35&1065353351)!==0)&&(this.state=365,this.parameters()),this.state=368,this.match(q.CPAR));break;case 2:this.enterOuterAlt(e,2),this.state=372,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,56,this._ctx);s===1&&(this.state=371,this.assignment()),this.state=374,this.match(q.NEW);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}message(){let e=new es(this,this._ctx,this.state);this.enterRule(e,50,q.RULE_message);try{this.enterOuterAlt(e,1),this.state=377,this.messageBody(),this.state=380,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,58,this._ctx);n===1?(this.state=378,this.match(q.SCOL)):n===2&&(this.state=379,this.braceBlock())}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}messageBody(){let e=new ts(this,this._ctx,this.state);this.enterRule(e,52,q.RULE_messageBody);try{this.state=395,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,62,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=382,this.assignment(),this.state=388,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,60,this._ctx);if(n===1){this.state=383,this.fromTo(),this.state=385,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,59,this._ctx);n===1&&(this.state=384,this.func())}else n===2&&(this.state=387,this.func());break;case 2:this.enterOuterAlt(e,2),this.state=390,this.fromTo(),this.state=392,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,61,this._ctx);n===1&&(this.state=391,this.func());break;case 3:this.enterOuterAlt(e,3),this.state=394,this.func();break}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}fromTo(){let e=new ns(this,this._ctx,this.state);this.enterRule(e,54,q.RULE_fromTo);try{this.enterOuterAlt(e,1),this.state=400,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,63,this._ctx);n===1&&(this.state=397,this.from(),this.state=398,this.match(q.ARROW)),this.state=402,this.to(),this.state=403,this.match(q.DOT)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}func(){let e=new Me(this,this._ctx,this.state);this.enterRule(e,56,q.RULE_func);try{this.enterOuterAlt(e,1),this.state=405,this.signature(),this.state=410,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,64,this._ctx);n!=2&&n!=X.atn.ATN.INVALID_ALT_NUMBER;)n===1&&(this.state=406,this.match(q.DOT),this.state=407,this.signature()),this.state=412,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,64,this._ctx)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}from(){let e=new m6(this,this._ctx,this.state);this.enterRule(e,58,q.RULE_from);try{this.enterOuterAlt(e,1),this.state=413,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}to(){let e=new l8(this,this._ctx,this.state);this.enterRule(e,60,q.RULE_to);try{this.enterOuterAlt(e,1),this.state=415,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}signature(){let e=new _e(this,this._ctx,this.state);this.enterRule(e,62,q.RULE_signature);try{this.enterOuterAlt(e,1),this.state=417,this.methodName(),this.state=419,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,65,this._ctx);n===1&&(this.state=418,this.invocation())}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}invocation(){let e=new ye(this,this._ctx,this.state);this.enterRule(e,64,q.RULE_invocation);var n=0;try{this.enterOuterAlt(e,1),this.state=421,this.match(q.OPAR),this.state=423,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&2285895680)!==0||(n-35&-32)==0&&(1<<n-35&1065353351)!==0)&&(this.state=422,this.parameters()),this.state=425,this.match(q.CPAR)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}assignment(){let e=new x6(this,this._ctx,this.state);this.enterRule(e,66,q.RULE_assignment);try{this.enterOuterAlt(e,1),this.state=428,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,67,this._ctx);n===1&&(this.state=427,this.type()),this.state=430,this.assignee(),this.state=431,this.match(q.ASSIGN)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}asyncMessage(){let e=new Re(this,this._ctx,this.state);this.enterRule(e,68,q.RULE_asyncMessage);var n=0;try{this.state=448,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,71,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=436,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,68,this._ctx);s===1&&(this.state=433,this.from(),this.state=434,this.match(q.ARROW)),this.state=438,this.to(),this.state=439,this.match(q.COL),this.state=441,this._errHandler.sync(this),n=this._input.LA(1),n===69&&(this.state=440,this.content());break;case 2:this.enterOuterAlt(e,2),this.state=443,this.from(),this.state=444,n=this._input.LA(1),n===11||n===22?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=446,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,70,this._ctx);s===1&&(this.state=445,this.to());break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}content(){let e=new be(this,this._ctx,this.state);this.enterRule(e,70,q.RULE_content);try{this.enterOuterAlt(e,1),this.state=450,this.match(q.EVENT_PAYLOAD_LXR)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}construct(){let e=new is(this,this._ctx,this.state);this.enterRule(e,72,q.RULE_construct);try{this.enterOuterAlt(e,1),this.state=452,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}type(){let e=new Ae(this,this._ctx,this.state);this.enterRule(e,74,q.RULE_type);try{this.enterOuterAlt(e,1),this.state=454,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}assignee(){let e=new ss(this,this._ctx,this.state);this.enterRule(e,76,q.RULE_assignee);var n=0;try{this.state=468,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,73,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=456,this.atom();break;case 2:for(this.enterOuterAlt(e,2),this.state=457,this.match(q.ID),this.state=462,this._errHandler.sync(this),n=this._input.LA(1);n===29;)this.state=458,this.match(q.COMMA),this.state=459,this.match(q.ID),this.state=464,this._errHandler.sync(this),n=this._input.LA(1);break;case 3:this.enterOuterAlt(e,3),this.state=465,this.match(q.CSTRING);break;case 4:this.enterOuterAlt(e,4),this.state=466,this.match(q.USTRING);break;case 5:this.enterOuterAlt(e,5),this.state=467,this.match(q.NEW);break}}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}methodName(){let e=new os(this,this._ctx,this.state);this.enterRule(e,78,q.RULE_methodName);try{this.enterOuterAlt(e,1),this.state=470,this.name()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}parameters(){let e=new Se(this,this._ctx,this.state);this.enterRule(e,80,q.RULE_parameters);var n=0;try{this.enterOuterAlt(e,1),this.state=472,this.parameter(),this.state=477,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,74,this._ctx);s!=2&&s!=X.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=473,this.match(q.COMMA),this.state=474,this.parameter()),this.state=479,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,74,this._ctx);this.state=481,this._errHandler.sync(this),n=this._input.LA(1),n===29&&(this.state=480,this.match(q.COMMA))}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}parameter(){let e=new ke(this,this._ctx,this.state);this.enterRule(e,82,q.RULE_parameter);try{this.state=486,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,76,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=483,this.namedParameter();break;case 2:this.enterOuterAlt(e,2),this.state=484,this.declaration();break;case 3:this.enterOuterAlt(e,3),this.state=485,this.expr(0);break}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}namedParameter(){let e=new ls(this,this._ctx,this.state);this.enterRule(e,84,q.RULE_namedParameter);var n=0;try{this.enterOuterAlt(e,1),this.state=488,this.match(q.ID),this.state=489,this.match(q.ASSIGN),this.state=491,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&2285895680)!==0||(n-35&-32)==0&&(1<<n-35&1065353351)!==0)&&(this.state=490,this.expr(0))}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}declaration(){let e=new rs(this,this._ctx,this.state);this.enterRule(e,86,q.RULE_declaration);try{this.enterOuterAlt(e,1),this.state=493,this.type(),this.state=494,this.match(q.ID)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}tcf(){let e=new as(this,this._ctx,this.state);this.enterRule(e,88,q.RULE_tcf);var n=0;try{for(this.enterOuterAlt(e,1),this.state=496,this.tryBlock(),this.state=500,this._errHandler.sync(this),n=this._input.LA(1);n===51;)this.state=497,this.catchBlock(),this.state=502,this._errHandler.sync(this),n=this._input.LA(1);this.state=504,this._errHandler.sync(this),n=this._input.LA(1),n===52&&(this.state=503,this.finallyBlock())}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}tryBlock(){let e=new Ls(this,this._ctx,this.state);this.enterRule(e,90,q.RULE_tryBlock);try{this.enterOuterAlt(e,1),this.state=506,this.match(q.TRY),this.state=507,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}catchBlock(){let e=new Ze(this,this._ctx,this.state);this.enterRule(e,92,q.RULE_catchBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=509,this.match(q.CATCH),this.state=511,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=510,this.invocation()),this.state=513,this.braceBlock()}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}finallyBlock(){let e=new cs(this,this._ctx,this.state);this.enterRule(e,94,q.RULE_finallyBlock);try{this.enterOuterAlt(e,1),this.state=515,this.match(q.FINALLY),this.state=516,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}alt(){let e=new Cs(this,this._ctx,this.state);this.enterRule(e,96,q.RULE_alt);var n=0;try{this.enterOuterAlt(e,1),this.state=518,this.ifBlock(),this.state=522,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,81,this._ctx);s!=2&&s!=X.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=519,this.elseIfBlock()),this.state=524,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,81,this._ctx);this.state=526,this._errHandler.sync(this),n=this._input.LA(1),n===39&&(this.state=525,this.elseBlock())}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}ifBlock(){let e=new us(this,this._ctx,this.state);this.enterRule(e,98,q.RULE_ifBlock);try{this.enterOuterAlt(e,1),this.state=528,this.match(q.IF),this.state=529,this.parExpr(),this.state=530,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseIfBlock(){let e=new Te(this,this._ctx,this.state);this.enterRule(e,100,q.RULE_elseIfBlock);try{this.enterOuterAlt(e,1),this.state=532,this.match(q.ELSE),this.state=533,this.match(q.IF),this.state=534,this.parExpr(),this.state=535,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseBlock(){let e=new ds(this,this._ctx,this.state);this.enterRule(e,102,q.RULE_elseBlock);try{this.enterOuterAlt(e,1),this.state=537,this.match(q.ELSE),this.state=538,this.braceBlock()}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}braceBlock(){let e=new o4(this,this._ctx,this.state);this.enterRule(e,104,q.RULE_braceBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=540,this.match(q.OBRACE),this.state=542,this._errHandler.sync(this),n=this._input.LA(1),((n-33&-32)==0&&(1<<n-33&4265801661)!==0||n===68)&&(this.state=541,this.block()),this.state=544,this.match(q.CBRACE)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}loop(){let e=new hs(this,this._ctx,this.state);this.enterRule(e,106,q.RULE_loop);var n=0;try{this.enterOuterAlt(e,1),this.state=546,this.match(q.WHILE),this.state=548,this._errHandler.sync(this),n=this._input.LA(1),n===31&&(this.state=547,this.parExpr()),this.state=551,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,85,this._ctx);s===1&&(this.state=550,this.braceBlock())}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}expr(e){e===void 0&&(e=0);const n=this._ctx,s=this.state;let l=new J2(this,this._ctx,s),L=l;const c=108;this.enterRecursionRule(l,108,q.RULE_expr,e);var C=0;try{this.enterOuterAlt(l,1),this.state=573,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,87,this._ctx);switch(d){case 1:l=new oL(this,l),this._ctx=l,L=l,this.state=554,this.atom();break;case 2:l=new CL(this,l),this._ctx=l,L=l,this.state=555,this.match(q.MINUS),this.state=556,this.expr(13);break;case 3:l=new cL(this,l),this._ctx=l,L=l,this.state=557,this.match(q.NOT),this.state=558,this.expr(12);break;case 4:l=new sL(this,l),this._ctx=l,L=l,this.state=562,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,86,this._ctx);d===1&&(this.state=559,this.to(),this.state=560,this.match(q.DOT)),this.state=564,this.func();break;case 5:l=new uL(this,l),this._ctx=l,L=l,this.state=565,this.creation();break;case 6:l=new dL(this,l),this._ctx=l,L=l,this.state=566,this.match(q.OPAR),this.state=567,this.expr(0),this.state=568,this.match(q.CPAR);break;case 7:l=new iL(this,l),this._ctx=l,L=l,this.state=570,this.assignment(),this.state=571,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=598,this._errHandler.sync(this);for(var f=this._interp.adaptivePredict(this._input,89,this._ctx);f!=2&&f!=X.atn.ATN.INVALID_ALT_NUMBER;){if(f===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),L=l,this.state=596,this._errHandler.sync(this);var d=this._interp.adaptivePredict(this._input,88,this._ctx);switch(d){case 1:if(l=new hL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=575,!this.precpred(this._ctx,11))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=576,l.op=this._input.LT(1),C=this._input.LA(1),(C&-32)==0&&(1<<C&58720256)!==0?(this._errHandler.reportMatch(this),this.consume()):l.op=this._errHandler.recoverInline(this),this.state=577,this.expr(12);break;case 2:if(l=new rL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=578,!this.precpred(this._ctx,10))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=579,l.op=this._input.LT(1),C=this._input.LA(1),C===21||C===22?(this._errHandler.reportMatch(this),this.consume()):l.op=this._errHandler.recoverInline(this),this.state=580,this.expr(11);break;case 3:if(l=new aL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=581,!this.precpred(this._ctx,9))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=582,l.op=this._input.LT(1),C=this._input.LA(1),(C&-32)==0&&(1<<C&1966080)!==0?(this._errHandler.reportMatch(this),this.consume()):l.op=this._errHandler.recoverInline(this),this.state=583,this.expr(10);break;case 4:if(l=new fL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=584,!this.precpred(this._ctx,8))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=585,l.op=this._input.LT(1),C=this._input.LA(1),C===15||C===16?(this._errHandler.reportMatch(this),this.consume()):l.op=this._errHandler.recoverInline(this),this.state=586,this.expr(9);break;case 5:if(l=new gL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=587,!this.precpred(this._ctx,7))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=588,this.match(q.AND),this.state=589,this.expr(8);break;case 6:if(l=new lL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=590,!this.precpred(this._ctx,6))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=591,this.match(q.OR),this.state=592,this.expr(7);break;case 7:if(l=new LL(this,new J2(this,n,s)),this.pushNewRecursionContext(l,c,q.RULE_expr),this.state=593,!this.precpred(this._ctx,5))throw new X.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=594,this.match(q.PLUS),this.state=595,this.expr(6);break}}this.state=600,this._errHandler.sync(this),f=this._interp.adaptivePredict(this._input,89,this._ctx)}}catch(g){if(g instanceof X.error.RecognitionException)l.exception=g,this._errHandler.reportError(this,g),this._errHandler.recover(this,g);else throw g}finally{this.unrollRecursionContexts(n)}return l}atom(){let e=new Z4(this,this._ctx,this.state);this.enterRule(e,110,q.RULE_atom);var n=0;try{switch(this.state=608,this._errHandler.sync(this),this._input.LA(1)){case 59:case 60:e=new ML(this,e),this.enterOuterAlt(e,1),this.state=601,n=this._input.LA(1),n===59||n===60?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 62:e=new _L(this,e),this.enterOuterAlt(e,2),this.state=602,this.match(q.NUMBER_UNIT);break;case 61:e=new xL(this,e),this.enterOuterAlt(e,3),this.state=603,this.match(q.MONEY);break;case 35:case 36:e=new pL(this,e),this.enterOuterAlt(e,4),this.state=604,n=this._input.LA(1),n===35||n===36?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 58:e=new mL(this,e),this.enterOuterAlt(e,5),this.state=605,this.match(q.ID);break;case 63:case 64:e=new wL(this,e),this.enterOuterAlt(e,6),this.state=606,n=this._input.LA(1),n===63||n===64?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 37:e=new vL(this,e),this.enterOuterAlt(e,7),this.state=607,this.match(q.NIL);break;default:throw new X.error.NoViableAltException(this)}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}parExpr(){let e=new w0(this,this._ctx,this.state);this.enterRule(e,112,q.RULE_parExpr);var n=0;try{this.enterOuterAlt(e,1),this.state=610,this.match(q.OPAR),this.state=612,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,91,this._ctx);s===1&&(this.state=611,this.condition()),this.state=615,this._errHandler.sync(this),n=this._input.LA(1),n===32&&(this.state=614,this.match(q.CPAR))}catch(l){if(l instanceof X.error.RecognitionException)e.exception=l,this._errHandler.reportError(this,l),this._errHandler.recover(this,l);else throw l}finally{this.exitRule()}return e}condition(){let e=new fs(this,this._ctx,this.state);this.enterRule(e,114,q.RULE_condition);try{this.state=621,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,93,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=617,this.atom();break;case 2:this.enterOuterAlt(e,2),this.state=618,this.expr(0);break;case 3:this.enterOuterAlt(e,3),this.state=619,this.inExpr();break;case 4:this.enterOuterAlt(e,4),this.state=620,this.textExpr();break}}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}inExpr(){let e=new gs(this,this._ctx,this.state);this.enterRule(e,116,q.RULE_inExpr);try{this.enterOuterAlt(e,1),this.state=623,this.match(q.ID),this.state=624,this.match(q.IN),this.state=625,this.match(q.ID)}catch(n){if(n instanceof X.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}textExpr(){let e=new ps(this,this._ctx,this.state);this.enterRule(e,118,q.RULE_textExpr);try{this.enterOuterAlt(e,1),this.state=628,this._errHandler.sync(this);var n=1;do{switch(n){case 1:this.state=627,this.match(q.ID);break;default:throw new X.error.NoViableAltException(this)}this.state=630,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,94,this._ctx)}while(n!=2&&n!=X.atn.ATN.INVALID_ALT_NUMBER)}catch(s){if(s instanceof X.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}};d2(q,"grammarFileName","java-escape"),d2(q,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'",null,"':'","'<<'","'>>'","'-->'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'critical'",null,"'ref'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),d2(q,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","RETURN_ARROW","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","CRITICAL","SECTION","REF","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","MONEY","NUMBER_UNIT","CSTRING","USTRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),d2(q,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","returnAsyncMessage","divider","dividerNote","stat","par","opt","critical","section","creation","ref","creationBody","message","messageBody","fromTo","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","namedParameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr","textExpr"]);let _=q;_.EOF=X.Token.EOF,_.WS=1,_.CONSTANT=2,_.READONLY=3,_.STATIC=4,_.AWAIT=5,_.TITLE=6,_.COL=7,_.SOPEN=8,_.SCLOSE=9,_.RETURN_ARROW=10,_.ARROW=11,_.COLOR=12,_.OR=13,_.AND=14,_.EQ=15,_.NEQ=16,_.GT=17,_.LT=18,_.GTEQ=19,_.LTEQ=20,_.PLUS=21,_.MINUS=22,_.MULT=23,_.DIV=24,_.MOD=25,_.POW=26,_.NOT=27,_.SCOL=28,_.COMMA=29,_.ASSIGN=30,_.OPAR=31,_.CPAR=32,_.OBRACE=33,_.CBRACE=34,_.TRUE=35,_.FALSE=36,_.NIL=37,_.IF=38,_.ELSE=39,_.WHILE=40,_.RETURN=41,_.NEW=42,_.PAR=43,_.GROUP=44,_.OPT=45,_.CRITICAL=46,_.SECTION=47,_.REF=48,_.AS=49,_.TRY=50,_.CATCH=51,_.FINALLY=52,_.IN=53,_.STARTER_LXR=54,_.ANNOTATION_RET=55,_.ANNOTATION=56,_.DOT=57,_.ID=58,_.INT=59,_.FLOAT=60,_.MONEY=61,_.NUMBER_UNIT=62,_.CSTRING=63,_.USTRING=64,_.CR=65,_.COMMENT=66,_.OTHER=67,_.DIVIDER=68,_.EVENT_PAYLOAD_LXR=69,_.EVENT_END=70,_.TITLE_CONTENT=71,_.TITLE_END=72,_.RULE_prog=0,_.RULE_title=1,_.RULE_head=2,_.RULE_group=3,_.RULE_starterExp=4,_.RULE_starter=5,_.RULE_participant=6,_.RULE_stereotype=7,_.RULE_label=8,_.RULE_participantType=9,_.RULE_name=10,_.RULE_width=11,_.RULE_block=12,_.RULE_ret=13,_.RULE_returnAsyncMessage=14,_.RULE_divider=15,_.RULE_dividerNote=16,_.RULE_stat=17,_.RULE_par=18,_.RULE_opt=19,_.RULE_critical=20,_.RULE_section=21,_.RULE_creation=22,_.RULE_ref=23,_.RULE_creationBody=24,_.RULE_message=25,_.RULE_messageBody=26,_.RULE_fromTo=27,_.RULE_func=28,_.RULE_from=29,_.RULE_to=30,_.RULE_signature=31,_.RULE_invocation=32,_.RULE_assignment=33,_.RULE_asyncMessage=34,_.RULE_content=35,_.RULE_construct=36,_.RULE_type=37,_.RULE_assignee=38,_.RULE_methodName=39,_.RULE_parameters=40,_.RULE_parameter=41,_.RULE_namedParameter=42,_.RULE_declaration=43,_.RULE_tcf=44,_.RULE_tryBlock=45,_.RULE_catchBlock=46,_.RULE_finallyBlock=47,_.RULE_alt=48,_.RULE_ifBlock=49,_.RULE_elseIfBlock=50,_.RULE_elseBlock=51,_.RULE_braceBlock=52,_.RULE_loop=53,_.RULE_expr=54,_.RULE_atom=55,_.RULE_parExpr=56,_.RULE_condition=57,_.RULE_inExpr=58,_.RULE_textExpr=59;let nL=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_prog}EOF(){return this.getToken(_.EOF,0)}title(){return this.getTypedRuleContext(Oi,0)}head(){return this.getTypedRuleContext(Di,0)}block(){return this.getTypedRuleContext(xe,0)}enterRule(e){e instanceof J&&e.enterProg(this)}exitRule(e){e instanceof J&&e.exitProg(this)}},Oi=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_title}TITLE(){return this.getToken(_.TITLE,0)}TITLE_CONTENT(){return this.getToken(_.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(_.TITLE_END,0)}enterRule(e){e instanceof J&&e.enterTitle(this)}exitRule(e){e instanceof J&&e.exitTitle(this)}};class Di extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"group",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(me):this.getTypedRuleContext(me,n)});d2(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(o8):this.getTypedRuleContext(o8,n)});this.parser=n,this.ruleIndex=_.RULE_head}starterExp(){return this.getTypedRuleContext(Fi,0)}enterRule(n){n instanceof J&&n.enterHead(this)}exitRule(n){n instanceof J&&n.exitHead(this)}}let me=class extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(o8):this.getTypedRuleContext(o8,n)});this.parser=n,this.ruleIndex=_.RULE_group}GROUP(){return this.getToken(_.GROUP,0)}name(){return this.getTypedRuleContext(h4,0)}OBRACE(){return this.getToken(_.OBRACE,0)}CBRACE(){return this.getToken(_.CBRACE,0)}enterRule(n){n instanceof J&&n.enterGroup(this)}exitRule(n){n instanceof J&&n.exitGroup(this)}};class Fi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_starterExp}STARTER_LXR(){return this.getToken(_.STARTER_LXR,0)}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}starter(){return this.getTypedRuleContext(Bi,0)}ANNOTATION(){return this.getToken(_.ANNOTATION,0)}enterRule(e){e instanceof J&&e.enterStarterExp(this)}exitRule(e){e instanceof J&&e.exitStarterExp(this)}}class Bi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_starter}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterStarter(this)}exitRule(e){e instanceof J&&e.exitStarter(this)}}let o8=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_participant}name(){return this.getTypedRuleContext(h4,0)}participantType(){return this.getTypedRuleContext(Pi,0)}stereotype(){return this.getTypedRuleContext(Ui,0)}width(){return this.getTypedRuleContext(Wi,0)}label(){return this.getTypedRuleContext(Hi,0)}COLOR(){return this.getToken(_.COLOR,0)}enterRule(e){e instanceof J&&e.enterParticipant(this)}exitRule(e){e instanceof J&&e.exitParticipant(this)}};class Ui extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_stereotype}SOPEN(){return this.getToken(_.SOPEN,0)}name(){return this.getTypedRuleContext(h4,0)}SCLOSE(){return this.getToken(_.SCLOSE,0)}GT(){return this.getToken(_.GT,0)}LT(){return this.getToken(_.LT,0)}enterRule(e){e instanceof J&&e.enterStereotype(this)}exitRule(e){e instanceof J&&e.exitStereotype(this)}}class Hi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_label}AS(){return this.getToken(_.AS,0)}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterLabel(this)}exitRule(e){e instanceof J&&e.exitLabel(this)}}class Pi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_participantType}ANNOTATION(){return this.getToken(_.ANNOTATION,0)}enterRule(e){e instanceof J&&e.enterParticipantType(this)}exitRule(e){e instanceof J&&e.exitParticipantType(this)}}class h4 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_name}ID(){return this.getToken(_.ID,0)}CSTRING(){return this.getToken(_.CSTRING,0)}USTRING(){return this.getToken(_.USTRING,0)}enterRule(e){e instanceof J&&e.enterName(this)}exitRule(e){e instanceof J&&e.exitName(this)}}class Wi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_width}INT(){return this.getToken(_.INT,0)}enterRule(e){e instanceof J&&e.enterWidth(this)}exitRule(e){e instanceof J&&e.exitWidth(this)}}class xe extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"stat",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(we):this.getTypedRuleContext(we,n)});this.parser=n,this.ruleIndex=_.RULE_block}enterRule(n){n instanceof J&&n.enterBlock(this)}exitRule(n){n instanceof J&&n.exitBlock(this)}}let ji=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_ret}RETURN(){return this.getToken(_.RETURN,0)}expr(){return this.getTypedRuleContext(J2,0)}SCOL(){return this.getToken(_.SCOL,0)}ANNOTATION_RET(){return this.getToken(_.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Re,0)}EVENT_END(){return this.getToken(_.EVENT_END,0)}returnAsyncMessage(){return this.getTypedRuleContext($i,0)}enterRule(e){e instanceof J&&e.enterRet(this)}exitRule(e){e instanceof J&&e.exitRet(this)}},$i=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_returnAsyncMessage}from(){return this.getTypedRuleContext(m6,0)}RETURN_ARROW(){return this.getToken(_.RETURN_ARROW,0)}to(){return this.getTypedRuleContext(l8,0)}COL(){return this.getToken(_.COL,0)}content(){return this.getTypedRuleContext(be,0)}enterRule(e){e instanceof J&&e.enterReturnAsyncMessage(this)}exitRule(e){e instanceof J&&e.exitReturnAsyncMessage(this)}},Vi=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_divider}dividerNote(){return this.getTypedRuleContext(Gi,0)}enterRule(e){e instanceof J&&e.enterDivider(this)}exitRule(e){e instanceof J&&e.exitDivider(this)}};class Gi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_dividerNote}DIVIDER(){return this.getToken(_.DIVIDER,0)}enterRule(e){e instanceof J&&e.enterDividerNote(this)}exitRule(e){e instanceof J&&e.exitDividerNote(this)}}let we=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_stat}alt(){return this.getTypedRuleContext(Cs,0)}par(){return this.getTypedRuleContext(qi,0)}opt(){return this.getTypedRuleContext(Yi,0)}critical(){return this.getTypedRuleContext(Xi,0)}section(){return this.getTypedRuleContext(Qi,0)}ref(){return this.getTypedRuleContext(Ki,0)}loop(){return this.getTypedRuleContext(hs,0)}creation(){return this.getTypedRuleContext(ve,0)}message(){return this.getTypedRuleContext(es,0)}asyncMessage(){return this.getTypedRuleContext(Re,0)}EVENT_END(){return this.getToken(_.EVENT_END,0)}ret(){return this.getTypedRuleContext(ji,0)}divider(){return this.getTypedRuleContext(Vi,0)}tcf(){return this.getTypedRuleContext(as,0)}enterRule(e){e instanceof J&&e.enterStat(this)}exitRule(e){e instanceof J&&e.exitStat(this)}};class qi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_par}PAR(){return this.getToken(_.PAR,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}parExpr(){return this.getTypedRuleContext(w0,0)}enterRule(e){e instanceof J&&e.enterPar(this)}exitRule(e){e instanceof J&&e.exitPar(this)}}class Yi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_opt}OPT(){return this.getToken(_.OPT,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}parExpr(){return this.getTypedRuleContext(w0,0)}enterRule(e){e instanceof J&&e.enterOpt(this)}exitRule(e){e instanceof J&&e.exitOpt(this)}}class Xi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_critical}CRITICAL(){return this.getToken(_.CRITICAL,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}parExpr(){return this.getTypedRuleContext(w0,0)}enterRule(e){e instanceof J&&e.enterCritical(this)}exitRule(e){e instanceof J&&e.exitCritical(this)}}class Qi extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_section}SECTION(){return this.getToken(_.SECTION,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}atom(){return this.getTypedRuleContext(Z4,0)}enterRule(e){e instanceof J&&e.enterSection(this)}exitRule(e){e instanceof J&&e.exitSection(this)}}let ve=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_creation}creationBody(){return this.getTypedRuleContext(Ji,0)}SCOL(){return this.getToken(_.SCOL,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterCreation(this)}exitRule(e){e instanceof J&&e.exitCreation(this)}},Ki=class extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"name",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(h4):this.getTypedRuleContext(h4,n)});d2(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.COMMA):this.getToken(_.COMMA,n)});this.parser=n,this.ruleIndex=_.RULE_ref}REF(){return this.getToken(_.REF,0)}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}SCOL(){return this.getToken(_.SCOL,0)}enterRule(n){n instanceof J&&n.enterRef(this)}exitRule(n){n instanceof J&&n.exitRef(this)}};class Ji extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_creationBody}NEW(){return this.getToken(_.NEW,0)}construct(){return this.getTypedRuleContext(is,0)}assignment(){return this.getTypedRuleContext(x6,0)}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}parameters(){return this.getTypedRuleContext(Se,0)}enterRule(e){e instanceof J&&e.enterCreationBody(this)}exitRule(e){e instanceof J&&e.exitCreationBody(this)}}let es=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_message}messageBody(){return this.getTypedRuleContext(ts,0)}SCOL(){return this.getToken(_.SCOL,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterMessage(this)}exitRule(e){e instanceof J&&e.exitMessage(this)}};class ts extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_messageBody}assignment(){return this.getTypedRuleContext(x6,0)}fromTo(){return this.getTypedRuleContext(ns,0)}func(){return this.getTypedRuleContext(Me,0)}enterRule(e){e instanceof J&&e.enterMessageBody(this)}exitRule(e){e instanceof J&&e.exitMessageBody(this)}}class ns extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_fromTo}to(){return this.getTypedRuleContext(l8,0)}DOT(){return this.getToken(_.DOT,0)}from(){return this.getTypedRuleContext(m6,0)}ARROW(){return this.getToken(_.ARROW,0)}enterRule(e){e instanceof J&&e.enterFromTo(this)}exitRule(e){e instanceof J&&e.exitFromTo(this)}}class Me extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"signature",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(_e):this.getTypedRuleContext(_e,n)});d2(this,"DOT",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.DOT):this.getToken(_.DOT,n)});this.parser=n,this.ruleIndex=_.RULE_func}enterRule(n){n instanceof J&&n.enterFunc(this)}exitRule(n){n instanceof J&&n.exitFunc(this)}}class m6 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_from}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterFrom(this)}exitRule(e){e instanceof J&&e.exitFrom(this)}}class l8 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_to}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterTo(this)}exitRule(e){e instanceof J&&e.exitTo(this)}}class _e extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_signature}methodName(){return this.getTypedRuleContext(os,0)}invocation(){return this.getTypedRuleContext(ye,0)}enterRule(e){e instanceof J&&e.enterSignature(this)}exitRule(e){e instanceof J&&e.exitSignature(this)}}class ye extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_invocation}OPAR(){return this.getToken(_.OPAR,0)}CPAR(){return this.getToken(_.CPAR,0)}parameters(){return this.getTypedRuleContext(Se,0)}enterRule(e){e instanceof J&&e.enterInvocation(this)}exitRule(e){e instanceof J&&e.exitInvocation(this)}}class x6 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_assignment}assignee(){return this.getTypedRuleContext(ss,0)}ASSIGN(){return this.getToken(_.ASSIGN,0)}type(){return this.getTypedRuleContext(Ae,0)}enterRule(e){e instanceof J&&e.enterAssignment(this)}exitRule(e){e instanceof J&&e.exitAssignment(this)}}let Re=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_asyncMessage}to(){return this.getTypedRuleContext(l8,0)}COL(){return this.getToken(_.COL,0)}from(){return this.getTypedRuleContext(m6,0)}ARROW(){return this.getToken(_.ARROW,0)}content(){return this.getTypedRuleContext(be,0)}MINUS(){return this.getToken(_.MINUS,0)}enterRule(e){e instanceof J&&e.enterAsyncMessage(this)}exitRule(e){e instanceof J&&e.exitAsyncMessage(this)}};class be extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(_.EVENT_PAYLOAD_LXR,0)}enterRule(e){e instanceof J&&e.enterContent(this)}exitRule(e){e instanceof J&&e.exitContent(this)}}class is extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_construct}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterConstruct(this)}exitRule(e){e instanceof J&&e.exitConstruct(this)}}class Ae extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_type}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterType(this)}exitRule(e){e instanceof J&&e.exitType(this)}}class ss extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.ID):this.getToken(_.ID,n)});d2(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.COMMA):this.getToken(_.COMMA,n)});this.parser=n,this.ruleIndex=_.RULE_assignee}atom(){return this.getTypedRuleContext(Z4,0)}CSTRING(){return this.getToken(_.CSTRING,0)}USTRING(){return this.getToken(_.USTRING,0)}NEW(){return this.getToken(_.NEW,0)}enterRule(n){n instanceof J&&n.enterAssignee(this)}exitRule(n){n instanceof J&&n.exitAssignee(this)}}class os extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_methodName}name(){return this.getTypedRuleContext(h4,0)}enterRule(e){e instanceof J&&e.enterMethodName(this)}exitRule(e){e instanceof J&&e.exitMethodName(this)}}let Se=class extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"parameter",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(ke):this.getTypedRuleContext(ke,n)});d2(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.COMMA):this.getToken(_.COMMA,n)});this.parser=n,this.ruleIndex=_.RULE_parameters}enterRule(n){n instanceof J&&n.enterParameters(this)}exitRule(n){n instanceof J&&n.exitParameters(this)}};class ke extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_parameter}namedParameter(){return this.getTypedRuleContext(ls,0)}declaration(){return this.getTypedRuleContext(rs,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterParameter(this)}exitRule(e){e instanceof J&&e.exitParameter(this)}}class ls extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_namedParameter}ID(){return this.getToken(_.ID,0)}ASSIGN(){return this.getToken(_.ASSIGN,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterNamedParameter(this)}exitRule(e){e instanceof J&&e.exitNamedParameter(this)}}class rs extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_declaration}type(){return this.getTypedRuleContext(Ae,0)}ID(){return this.getToken(_.ID,0)}enterRule(e){e instanceof J&&e.enterDeclaration(this)}exitRule(e){e instanceof J&&e.exitDeclaration(this)}}class as extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"catchBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(Ze):this.getTypedRuleContext(Ze,n)});this.parser=n,this.ruleIndex=_.RULE_tcf}tryBlock(){return this.getTypedRuleContext(Ls,0)}finallyBlock(){return this.getTypedRuleContext(cs,0)}enterRule(n){n instanceof J&&n.enterTcf(this)}exitRule(n){n instanceof J&&n.exitTcf(this)}}class Ls extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_tryBlock}TRY(){return this.getToken(_.TRY,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterTryBlock(this)}exitRule(e){e instanceof J&&e.exitTryBlock(this)}}class Ze extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_catchBlock}CATCH(){return this.getToken(_.CATCH,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}invocation(){return this.getTypedRuleContext(ye,0)}enterRule(e){e instanceof J&&e.enterCatchBlock(this)}exitRule(e){e instanceof J&&e.exitCatchBlock(this)}}class cs extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_finallyBlock}FINALLY(){return this.getToken(_.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterFinallyBlock(this)}exitRule(e){e instanceof J&&e.exitFinallyBlock(this)}}class Cs extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"elseIfBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(Te):this.getTypedRuleContext(Te,n)});this.parser=n,this.ruleIndex=_.RULE_alt}ifBlock(){return this.getTypedRuleContext(us,0)}elseBlock(){return this.getTypedRuleContext(ds,0)}enterRule(n){n instanceof J&&n.enterAlt(this)}exitRule(n){n instanceof J&&n.exitAlt(this)}}let us=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_ifBlock}IF(){return this.getToken(_.IF,0)}parExpr(){return this.getTypedRuleContext(w0,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterIfBlock(this)}exitRule(e){e instanceof J&&e.exitIfBlock(this)}};class Te extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_elseIfBlock}ELSE(){return this.getToken(_.ELSE,0)}IF(){return this.getToken(_.IF,0)}parExpr(){return this.getTypedRuleContext(w0,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterElseIfBlock(this)}exitRule(e){e instanceof J&&e.exitElseIfBlock(this)}}class ds extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_elseBlock}ELSE(){return this.getToken(_.ELSE,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterElseBlock(this)}exitRule(e){e instanceof J&&e.exitElseBlock(this)}}class o4 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_braceBlock}OBRACE(){return this.getToken(_.OBRACE,0)}CBRACE(){return this.getToken(_.CBRACE,0)}block(){return this.getTypedRuleContext(xe,0)}enterRule(e){e instanceof J&&e.enterBraceBlock(this)}exitRule(e){e instanceof J&&e.exitBraceBlock(this)}}let hs=class extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_loop}WHILE(){return this.getToken(_.WHILE,0)}parExpr(){return this.getTypedRuleContext(w0,0)}braceBlock(){return this.getTypedRuleContext(o4,0)}enterRule(e){e instanceof J&&e.enterLoop(this)}exitRule(e){e instanceof J&&e.exitLoop(this)}};class J2 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_expr}copyFrom(e){super.copyFrom(e)}}class iL extends J2{constructor(e,n){super(e),super.copyFrom(n)}assignment(){return this.getTypedRuleContext(x6,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterAssignmentExpr(this)}exitRule(e){e instanceof J&&e.exitAssignmentExpr(this)}}_.AssignmentExprContext=iL;class sL extends J2{constructor(e,n){super(e),super.copyFrom(n)}func(){return this.getTypedRuleContext(Me,0)}to(){return this.getTypedRuleContext(l8,0)}DOT(){return this.getToken(_.DOT,0)}enterRule(e){e instanceof J&&e.enterFuncExpr(this)}exitRule(e){e instanceof J&&e.exitFuncExpr(this)}}_.FuncExprContext=sL;class oL extends J2{constructor(e,n){super(e),super.copyFrom(n)}atom(){return this.getTypedRuleContext(Z4,0)}enterRule(e){e instanceof J&&e.enterAtomExpr(this)}exitRule(e){e instanceof J&&e.exitAtomExpr(this)}}_.AtomExprContext=oL;class lL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});super.copyFrom(s)}OR(){return this.getToken(_.OR,0)}enterRule(n){n instanceof J&&n.enterOrExpr(this)}exitRule(n){n instanceof J&&n.exitOrExpr(this)}}_.OrExprContext=lL;class rL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});this.op=null,super.copyFrom(s)}PLUS(){return this.getToken(_.PLUS,0)}MINUS(){return this.getToken(_.MINUS,0)}enterRule(n){n instanceof J&&n.enterAdditiveExpr(this)}exitRule(n){n instanceof J&&n.exitAdditiveExpr(this)}}_.AdditiveExprContext=rL;class aL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});this.op=null,super.copyFrom(s)}LTEQ(){return this.getToken(_.LTEQ,0)}GTEQ(){return this.getToken(_.GTEQ,0)}LT(){return this.getToken(_.LT,0)}GT(){return this.getToken(_.GT,0)}enterRule(n){n instanceof J&&n.enterRelationalExpr(this)}exitRule(n){n instanceof J&&n.exitRelationalExpr(this)}}_.RelationalExprContext=aL;class LL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});super.copyFrom(s)}PLUS(){return this.getToken(_.PLUS,0)}enterRule(n){n instanceof J&&n.enterPlusExpr(this)}exitRule(n){n instanceof J&&n.exitPlusExpr(this)}}_.PlusExprContext=LL;class cL extends J2{constructor(e,n){super(e),super.copyFrom(n)}NOT(){return this.getToken(_.NOT,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterNotExpr(this)}exitRule(e){e instanceof J&&e.exitNotExpr(this)}}_.NotExprContext=cL;class CL extends J2{constructor(e,n){super(e),super.copyFrom(n)}MINUS(){return this.getToken(_.MINUS,0)}expr(){return this.getTypedRuleContext(J2,0)}enterRule(e){e instanceof J&&e.enterUnaryMinusExpr(this)}exitRule(e){e instanceof J&&e.exitUnaryMinusExpr(this)}}_.UnaryMinusExprContext=CL;class uL extends J2{constructor(e,n){super(e),super.copyFrom(n)}creation(){return this.getTypedRuleContext(ve,0)}enterRule(e){e instanceof J&&e.enterCreationExpr(this)}exitRule(e){e instanceof J&&e.exitCreationExpr(this)}}_.CreationExprContext=uL;class dL extends J2{constructor(e,n){super(e),super.copyFrom(n)}OPAR(){return this.getToken(_.OPAR,0)}expr(){return this.getTypedRuleContext(J2,0)}CPAR(){return this.getToken(_.CPAR,0)}enterRule(e){e instanceof J&&e.enterParenthesizedExpr(this)}exitRule(e){e instanceof J&&e.exitParenthesizedExpr(this)}}_.ParenthesizedExprContext=dL;class hL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});this.op=null,super.copyFrom(s)}MULT(){return this.getToken(_.MULT,0)}DIV(){return this.getToken(_.DIV,0)}MOD(){return this.getToken(_.MOD,0)}enterRule(n){n instanceof J&&n.enterMultiplicationExpr(this)}exitRule(n){n instanceof J&&n.exitMultiplicationExpr(this)}}_.MultiplicationExprContext=hL;class fL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});this.op=null,super.copyFrom(s)}EQ(){return this.getToken(_.EQ,0)}NEQ(){return this.getToken(_.NEQ,0)}enterRule(n){n instanceof J&&n.enterEqualityExpr(this)}exitRule(n){n instanceof J&&n.exitEqualityExpr(this)}}_.EqualityExprContext=fL;class gL extends J2{constructor(n,s){super(n);d2(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(J2):this.getTypedRuleContext(J2,n)});super.copyFrom(s)}AND(){return this.getToken(_.AND,0)}enterRule(n){n instanceof J&&n.enterAndExpr(this)}exitRule(n){n instanceof J&&n.exitAndExpr(this)}}_.AndExprContext=gL;class Z4 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_atom}copyFrom(e){super.copyFrom(e)}}class pL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}TRUE(){return this.getToken(_.TRUE,0)}FALSE(){return this.getToken(_.FALSE,0)}enterRule(e){e instanceof J&&e.enterBooleanAtom(this)}exitRule(e){e instanceof J&&e.exitBooleanAtom(this)}}_.BooleanAtomContext=pL;class mL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}ID(){return this.getToken(_.ID,0)}enterRule(e){e instanceof J&&e.enterIdAtom(this)}exitRule(e){e instanceof J&&e.exitIdAtom(this)}}_.IdAtomContext=mL;class xL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}MONEY(){return this.getToken(_.MONEY,0)}enterRule(e){e instanceof J&&e.enterMoneyAtom(this)}exitRule(e){e instanceof J&&e.exitMoneyAtom(this)}}_.MoneyAtomContext=xL;class wL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}CSTRING(){return this.getToken(_.CSTRING,0)}USTRING(){return this.getToken(_.USTRING,0)}enterRule(e){e instanceof J&&e.enterStringAtom(this)}exitRule(e){e instanceof J&&e.exitStringAtom(this)}}_.StringAtomContext=wL;class vL extends Z4{constructor(e,n){super(e),super.copyFrom(n)}NIL(){return this.getToken(_.NIL,0)}enterRule(e){e instanceof J&&e.enterNilAtom(this)}exitRule(e){e instanceof J&&e.exitNilAtom(this)}}_.NilAtomContext=vL;class ML extends Z4{constructor(e,n){super(e),super.copyFrom(n)}INT(){return this.getToken(_.INT,0)}FLOAT(){return this.getToken(_.FLOAT,0)}enterRule(e){e instanceof J&&e.enterNumberAtom(this)}exitRule(e){e instanceof J&&e.exitNumberAtom(this)}}_.NumberAtomContext=ML;class _L extends Z4{constructor(e,n){super(e),super.copyFrom(n)}NUMBER_UNIT(){return this.getToken(_.NUMBER_UNIT,0)}enterRule(e){e instanceof J&&e.enterNumberUnitAtom(this)}exitRule(e){e instanceof J&&e.exitNumberUnitAtom(this)}}_.NumberUnitAtomContext=_L;class w0 extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_parExpr}OPAR(){return this.getToken(_.OPAR,0)}condition(){return this.getTypedRuleContext(fs,0)}CPAR(){return this.getToken(_.CPAR,0)}enterRule(e){e instanceof J&&e.enterParExpr(this)}exitRule(e){e instanceof J&&e.exitParExpr(this)}}class fs extends X.ParserRuleContext{constructor(e,n,s){n===void 0&&(n=null),s==null&&(s=-1),super(n,s),this.parser=e,this.ruleIndex=_.RULE_condition}atom(){return this.getTypedRuleContext(Z4,0)}expr(){return this.getTypedRuleContext(J2,0)}inExpr(){return this.getTypedRuleContext(gs,0)}textExpr(){return this.getTypedRuleContext(ps,0)}enterRule(e){e instanceof J&&e.enterCondition(this)}exitRule(e){e instanceof J&&e.exitCondition(this)}}class gs extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.ID):this.getToken(_.ID,n)});this.parser=n,this.ruleIndex=_.RULE_inExpr}IN(){return this.getToken(_.IN,0)}enterRule(n){n instanceof J&&n.enterInExpr(this)}exitRule(n){n instanceof J&&n.exitInExpr(this)}}class ps extends X.ParserRuleContext{constructor(n,s,l){s===void 0&&(s=null),l==null&&(l=-1);super(s,l);d2(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(_.ID):this.getToken(_.ID,n)});this.parser=n,this.ruleIndex=_.RULE_textExpr}enterRule(n){n instanceof J&&n.enterTextExpr(this)}exitRule(n){n instanceof J&&n.exitTextExpr(this)}}_.ProgContext=nL,_.TitleContext=Oi,_.HeadContext=Di,_.GroupContext=me,_.StarterExpContext=Fi,_.StarterContext=Bi,_.ParticipantContext=o8,_.StereotypeContext=Ui,_.LabelContext=Hi,_.ParticipantTypeContext=Pi,_.NameContext=h4,_.WidthContext=Wi,_.BlockContext=xe,_.RetContext=ji,_.ReturnAsyncMessageContext=$i,_.DividerContext=Vi,_.DividerNoteContext=Gi,_.StatContext=we,_.ParContext=qi,_.OptContext=Yi,_.CriticalContext=Xi,_.SectionContext=Qi,_.CreationContext=ve,_.RefContext=Ki,_.CreationBodyContext=Ji,_.MessageContext=es,_.MessageBodyContext=ts,_.FromToContext=ns,_.FuncContext=Me,_.FromContext=m6,_.ToContext=l8,_.SignatureContext=_e,_.InvocationContext=ye,_.AssignmentContext=x6,_.AsyncMessageContext=Re,_.ContentContext=be,_.ConstructContext=is,_.TypeContext=Ae,_.AssigneeContext=ss,_.MethodNameContext=os,_.ParametersContext=Se,_.ParameterContext=ke,_.NamedParameterContext=ls,_.DeclarationContext=rs,_.TcfContext=as,_.TryBlockContext=Ls,_.CatchBlockContext=Ze,_.FinallyBlockContext=cs,_.AltContext=Cs,_.IfBlockContext=us,_.ElseIfBlockContext=Te,_.ElseBlockContext=ds,_.BraceBlockContext=o4,_.LoopContext=hs,_.ExprContext=J2,_.AtomContext=Z4,_.ParExprContext=w0,_.ConditionContext=fs,_.InExprContext=gs,_.TextExprContext=ps;const yL={name:"",color:void 0,comment:void 0,explicit:void 0,groupId:void 0,isStarter:void 0,label:void 0,stereotype:void 0,type:void 0,width:void 0,assignee:void 0,positions:new Set,assigneePositions:new Set};let fx=class{constructor(e,n){d2(this,"name");d2(this,"stereotype");d2(this,"width");d2(this,"groupId");d2(this,"explicit");d2(this,"isStarter");d2(this,"label");d2(this,"type");d2(this,"color");d2(this,"comment");d2(this,"assignee");d2(this,"positions",new Set);d2(this,"assigneePositions",new Set);this.name=e,this.mergeOptions(n)}mergeOptions(e){const{stereotype:n,width:s,groupId:l,label:L,explicit:c,isStarter:C,type:d,color:f,comment:g,assignee:p}=e;this.stereotype||(this.stereotype=n),this.width||(this.width=s),this.groupId||(this.groupId=l),this.explicit||(this.explicit=c),this.isStarter||(this.isStarter=C),this.label||(this.label=L),this.type||(this.type=d),this.color||(this.color=f),this.comment||(this.comment=g),this.assignee||(this.assignee=p)}AddPosition(e){this.positions.add(e)}ToValue(){return{name:this.name,stereotype:this.stereotype,width:this.width,groupId:this.groupId,explicit:this.explicit,isStarter:this.isStarter,label:this.label,type:this.type,color:this.color,comment:this.comment,assignee:this.assignee,positions:this.positions,assigneePositions:this.assigneePositions}}},gx=class{constructor(){d2(this,"participants",new Map)}Add(e,n={}){if(!e)throw new Error("Participant name is required");let s=this.Get(e);s?s==null||s.mergeOptions(n):(s=new fx(e,n),this.participants.set(e,s));const{position:l,assigneePosition:L}=n;l&&s.AddPosition(l),L&&s.assigneePositions.add(L)}ImplicitArray(){return this.Array().filter(e=>{var n;return!((n=this.Get(e.name))!=null&&n.explicit)})}Array(){return Array.from(this.participants.entries()).map(e=>e[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(e){return this.participants.get(e)}Size(){return this.participants.size}Starter(){for(const e of this.participants.values())if(e.isStarter)return e}GetPositions(e){var n;return(n=this.participants.get(e))==null?void 0:n.positions}GetAssigneePositions(e){var n;return(n=this.participants.get(e))==null?void 0:n.assigneePositions}},f4,L5=!1,ms;const N3=new J,px=function(t){var v,b,A,k,S,N;if(L5)return;const e=(v=t==null?void 0:t.participantType())==null?void 0:v.getFormattedText().replace("@",""),n=((b=t==null?void 0:t.name())==null?void 0:b.getFormattedText())||"Missing `Participant`",s=(k=(A=t.stereotype())==null?void 0:A.name())==null?void 0:k.getFormattedText(),l=t.width&&t.width()&&Number.parseInt(t.width().getText())||void 0,L=t.label&&t.label(),c=(S=L==null?void 0:L.name())==null?void 0:S.getFormattedText(),C=!0,d=(N=t.COLOR())==null?void 0:N.getText(),f=t.getComment(),g=t.name();let p,m;if(L){const I=L.name();I&&(p=I.start.start,m=I.stop.stop+1)}else g&&(p=g.start.start,m=g.stop.stop+1);f4.Add(n,{isStarter:!1,type:e,stereotype:s,width:l,groupId:ms,label:c,explicit:C,color:d,comment:f,position:[p,m]})};N3.enterParticipant=px;const RL=function(t){if(L5)return;let e=t.getFormattedText();const n=f4.Get(e);if(n!=null&&n.label)f4.Add(e,{isStarter:!1});else if(n!=null&&n.assignee){const l=[t.start.start+n.assignee.length+2,t.stop.stop],L=[t.start.start+1,t.start.start+n.assignee.length+1];f4.Add(e,{isStarter:!1,position:l,assigneePosition:L})}else f4.Add(e,{isStarter:!1,position:[t.start.start,t.stop.stop+1]})};N3.enterFrom=RL,N3.enterTo=RL,N3.enterStarter=function(t){let e=t.getFormattedText();f4.Add(e,{isStarter:!0,position:[t.start.start,t.stop.stop+1]})},N3.enterCreation=function(t){var l;if(L5)return;const e=t.Owner(),n=(l=t==null?void 0:t.creationBody())==null?void 0:l.construct(),s=f4.Get(e);if(n&&!(s!=null&&s.label)){const L=t.Assignee(),c=t.AssigneePosition();f4.Add(e,{isStarter:!1,position:[n.start.start,n.stop.stop+1],assignee:L,assigneePosition:c})}else f4.Add(e,{isStarter:!1})},N3.enterRef=function(t){t.Participants().forEach(e=>{f4.Add(e.getText(),{isStarter:!1,position:[e.start.start,e.stop.stop+1]})})},N3.enterParameters=function(){L5=!0},N3.exitParameters=function(){L5=!1},N3.enterCondition=function(){L5=!0},N3.exitCondition=function(){L5=!1},N3.enterGroup=function(t){var e;ms=(e=t.name())==null?void 0:e.getFormattedText()},N3.exitGroup=function(){ms=void 0},N3.enterRet=function(t){if(t.asyncMessage())return;const e=t.From();e&&f4.Add(e);const n=t.ReturnTo();n&&f4.Add(n)};const mx=X.tree.ParseTreeWalker.DEFAULT;N3.getParticipants=function(t){return f4=new gx,mx.walk(this,t),f4};const xx=X.tree.ParseTreeWalker.DEFAULT;let G3=new J,c3=0,q3=0;G3.enterTcf=function(){c3++},G3.enterOpt=function(){c3++},G3.enterPar=function(){c3++},G3.enterAlt=function(){c3++},G3.enterLoop=function(){c3++},G3.enterSection=function(){c3++},G3.enterCritical=function(){c3++},G3.exitTcf=function(){q3=Math.max(q3,c3),c3--},G3.exitOpt=function(){q3=Math.max(q3,c3),c3--},G3.exitPar=function(){q3=Math.max(q3,c3),c3--},G3.exitAlt=function(){q3=Math.max(q3,c3),c3--},G3.exitLoop=function(){q3=Math.max(q3,c3),c3--},G3.exitSection=function(){q3=Math.max(q3,c3),c3--},G3.exitCritical=function(){q3=Math.max(q3,c3),c3--},G3.depth=function(t){return function(e){return c3=0,q3=0,e.children.map(function(n){xx.walk(t,n)}),q3}};const wx=_.TitleContext;wx.prototype.content=function(){return this.children.length<2?"":this.children[1].getText().trim()};const bL=_,xs=bL.CreationContext;xs.prototype.Body=xs.prototype.creationBody,xs.prototype.isCurrent=function(t){return AL.bind(this)(t)};const ws=bL.MessageContext;ws.prototype.Body=ws.prototype.messageBody,ws.prototype.isCurrent=function(t){return AL.bind(this)(t)};function AL(t){try{if(t==null)return!1;const e=this.start.start,n=this.Body().stop.stop+1;return t>=e&&t<=n}catch{return!1}}const w6=_,r8=w6.CreationContext,vs=w6.MessageContext,SL=w6.AsyncMessageContext,kL=w6.ReturnAsyncMessageContext,ZL=w6.RetContext;r8.prototype.Assignee=function(){var t,e,n;return(n=(e=(t=this.creationBody())==null?void 0:t.assignment())==null?void 0:e.assignee())==null?void 0:n.getFormattedText()},r8.prototype.AssigneePosition=function(){var e,n;const t=(n=(e=this.creationBody())==null?void 0:e.assignment())==null?void 0:n.assignee();if(t)return[t.start.start,t.stop.stop+1]},r8.prototype.Constructor=function(){var t,e;return(e=(t=this.creationBody())==null?void 0:t.construct())==null?void 0:e.getFormattedText()},r8.prototype.To=function(){return this.Constructor()},r8.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const t=this.Assignee(),e=this.Constructor();return t?`${t}:${e}`:e},vs.prototype.To=function(){var t,e,n;return(n=(e=(t=this.messageBody())==null?void 0:t.fromTo())==null?void 0:e.to())==null?void 0:n.getFormattedText()},vs.prototype.Owner=function(){return this.To()||Ee(this.parentCtx)};function Ee(t){for(;t;){if(t instanceof r8||t instanceof vs)return t.Owner();t=t.parentCtx}}SL.prototype.To=function(){var t;return(t=this.to())==null?void 0:t.getFormattedText()},SL.prototype.Owner=function(){return this.To()||Ee(this.parentCtx)},kL.prototype.To=function(){var t;return(t=this.to())==null?void 0:t.getFormattedText()},kL.prototype.Owner=function(){return this.To()||Ee(this.parentCtx)},ZL.prototype.To=function(){return this.ReturnTo()},ZL.prototype.Owner=function(){return this.To()||Ee(this.parentCtx)};const vx=_.ProgContext;vx.prototype.Starter=function(){var t,e,n;return(n=(e=(t=this.head())==null?void 0:t.starterExp())==null?void 0:e.starter())==null?void 0:n.getFormattedText()};const Ie=_,TL=Ie.RetContext,EL=Ie.ProgContext,IL=Ie.MessageContext,Mx=Ie.CreationContext;TL.prototype.Signature=function(){var t,e,n,s,l;return((e=(t=this.asyncMessage())==null?void 0:t.content())==null?void 0:e.getFormattedText())||((s=(n=this.returnAsyncMessage())==null?void 0:n.content())==null?void 0:s.getFormattedText())||((l=this.expr())==null?void 0:l.getFormattedText())},TL.prototype.ReturnTo=function(){var l,L,c,C,d,f,g;const t=((L=(l=this.asyncMessage())==null?void 0:l.to())==null?void 0:L.getFormattedText())||((C=(c=this.returnAsyncMessage())==null?void 0:c.to())==null?void 0:C.getFormattedText());if(t)return t;const s=this.parentCtx.parentCtx.parentCtx;if(s instanceof EL)return s.Starter();{let p=s;for(;p&&!(p instanceof IL)&&!(p instanceof Mx);){if(p instanceof EL)return p.Starter();p=p.parentCtx}return p instanceof IL&&((g=(f=(d=p.messageBody())==null?void 0:d.fromTo())==null?void 0:f.from())==null?void 0:g.getFormattedText())||p.ClosestAncestorStat().Origin()}};const zL=_.RefContext;zL.prototype.Content=function(){return this.name()[0]},zL.prototype.Participants=function(){return this.name().slice(1)??[]};const _x=X.ParserRuleContext,NL=_.StatContext,Ms=_.ProgContext,yx=_.MessageContext,Rx=_.CreationContext;_x.prototype.Origin=function(){let t=this.parentCtx;for(;t&&!(t instanceof NL||t instanceof Ms);)t=this.parentCtx;return t.Origin()},NL.prototype.Origin=function(){let t=this.parentCtx;for(;t;){if(t instanceof Ms)return t.Starter();if(t instanceof yx||t instanceof Rx){const e=t.Owner();if(e)return e}t=t.parentCtx}},Ms.prototype.Origin=function(){return this.Starter()};const bx=_.DividerContext;bx.prototype.Note=function(){var e;const t=(e=this.dividerNote())==null?void 0:e.getFormattedText().trim();if(!t.startsWith("=="))throw new Error("Divider note must start with ==");return t==null?void 0:t.replace(/^=+|=+$/g,"")};function Ax(t){var e,n,s;if((e=t.namedParameter)!=null&&e.call(t)){const l=t.namedParameter();if(l){const L=l.expr(),c=L?L.getFormattedText():"";return`${l.ID().getText()}=${c}`}}if((n=t.declaration)!=null&&n.call(t)){const l=t.declaration();if(l)return`${l.type().getText()} ${l.ID().getText()}`}return(s=t.expr)!=null&&s.call(t)?t.expr().getFormattedText():t.getFormattedText()}function OL(t){return t.map(Ax).join(",")}const Sx=_.MessageContext,kx=_.ParametersContext,Zx=_.AsyncMessageContext,_s=_.CreationContext,Tx=_.RetContext;Sx.prototype.SignatureText=function(){var t,e,n;return((n=(e=(t=this.messageBody())==null?void 0:t.func())==null?void 0:e.signature())==null?void 0:n.map(s=>s==null?void 0:s.getFormattedText()).join("."))??""},Zx.prototype.SignatureText=function(){var t;return((t=this.content())==null?void 0:t.getFormattedText())??""},_s.prototype.ParametersText=function(){var e;const t=this.creationBody().parameters();return((e=t==null?void 0:t.parameter())==null?void 0:e.length)>0?OL(t.parameter()):""},_s.prototype.SignatureText=function(){return`«${this.ParametersText()||"create"}»`},_s.prototype.isParamValid=function(){var t,e;return(((e=(t=this.creationBody().parameters())==null?void 0:t.parameter())==null?void 0:e.length)??0)>0},Tx.prototype.SignatureText=function(){var t,e,n,s,l;return((e=(t=this.asyncMessage())==null?void 0:t.content())==null?void 0:e.getFormattedText())??((s=(n=this.returnAsyncMessage())==null?void 0:n.content())==null?void 0:s.getFormattedText())??((l=this.expr())==null?void 0:l.getFormattedText())??""},_.ReturnAsyncMessageContext.prototype.SignatureText=function(){var t;return((t=this.content())==null?void 0:t.getFormattedText())??""},kx.prototype.getFormattedText=function(){const t=this.parameter();return!t||t.length===0?"":OL(t)};const DL=_,Ex=DL.MessageContext,Ix=DL.CreationContext;class zx{constructor(e,n,s,l){d2(this,"assignee");d2(this,"type");d2(this,"labelPosition");d2(this,"assigneePosition");d2(this,"typePosition");if(n&&!e)throw new Error("assignee must be defined if type is defined");this.assignee=e||"",this.type=n||"",this.labelPosition=s,this.assigneePosition=s,this.typePosition=l}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}function FL(t){var C,d;if(!t)return;const e=(C=t==null?void 0:t.assignee())==null?void 0:C.getFormattedText(),n=(d=t==null?void 0:t.type())==null?void 0:d.getFormattedText(),s=t==null?void 0:t.assignee(),l=s?[s.start.start,s.stop.stop]:[-1,-1],L=t==null?void 0:t.type(),c=L?[L.start.start,L.stop.stop]:[-1,-1];if(e)return new zx(e,n,l,c)}Ex.prototype.Assignment=function(){return FL(this.messageBody().assignment())},Ix.prototype.Assignment=function(){var t;return FL((t=this.creationBody())==null?void 0:t.assignment())};const ze=_,Nx=ze.MessageContext,Ox=ze.CreationContext,Dx=ze.IfBlockContext,Fx=ze.LoopContext;Nx.prototype.Statements=function(){var t,e;return((e=(t=this.braceBlock())==null?void 0:t.block())==null?void 0:e.stat())||[]},Ox.prototype.Statements=function(){var t,e;return((e=(t=this.braceBlock())==null?void 0:t.block())==null?void 0:e.stat())||[]},Dx.prototype.Statements=function(){var t,e;return((e=(t=this.braceBlock())==null?void 0:t.block())==null?void 0:e.stat())||[]},Fx.prototype.Statements=function(){var t,e;return((e=(t=this.braceBlock())==null?void 0:t.block())==null?void 0:e.stat())||[]};const a8=_,Bx=a8.CreationContext,Ux=a8.StatContext,BL=a8.MessageContext,UL=a8.AsyncMessageContext,HL=a8.ReturnAsyncMessageContext,Hx=a8.RetContext;Bx.prototype.From=function(){if(this.parentCtx instanceof Ux)return this.ClosestAncestorStat().Origin()},BL.prototype.ProvidedFrom=function(){var t,e,n;return(n=(e=(t=this.messageBody())==null?void 0:t.fromTo())==null?void 0:e.from())==null?void 0:n.getFormattedText()},BL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},UL.prototype.ProvidedFrom=function(){var t;return(t=this.from())==null?void 0:t.getFormattedText()},UL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},HL.prototype.ProvidedFrom=function(){var t;return(t=this.from())==null?void 0:t.getFormattedText()},HL.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},Hx.prototype.From=function(){var t,e;return((t=this.asyncMessage())==null?void 0:t.From())||((e=this.returnAsyncMessage())==null?void 0:e.From())||this.ClosestAncestorStat().Origin()},X.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const PL=_,ys=PL.StatContext;X.ParserRuleContext.prototype.ClosestAncestorStat=function(){if(this instanceof ys)return this;let t=this.parentCtx;for(;t&&!(t instanceof ys);)t=t.parentCtx;if(t instanceof ys)return t},X.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var e;const t=(e=this.ClosestAncestorStat())==null?void 0:e.parentCtx;if(t instanceof PL.BlockContext)return t;console.warn("Cannot find closest ancestor block for context:",this)},X.ParserRuleContext.prototype.getAncestors=function(t){const e=[];(!t||t(this))&&e.push(this);let n=this.parentCtx;for(;n;)(!t||t(n))&&e.push(n),n=n.parentCtx;return e};const WL=t=>t.replace(/[\n\r]/g," ").replace(/\s+/g," ").replace(/\s*([,;.])\s*/g,"$1").replace(/\s*(\()\s*|\s*(\))/g,"$1$2").replace(/\s+$/g,"").replace(/^"(.*)"$/,"$1"),Rs=(t,e)=>{let n=e;for(t[n]===`
27
27
  `&&n--;n>=0;){if(t[n]===`
28
28
  `)return n+1;n--}return 0},jL=(t,e)=>{const n=Rs(t,e);if(n===0)return 0;let s=n-2;for(;s>=0;){if(t[s]===`
29
29
  `)return s+1;s--}return 0},Px=(t,e)=>{const n=Rs(t,e);if(n===0)return"";const s=jL(t,e);return t.slice(s,n)},$L=[],VL=[];class Wx extends X.error.ErrorListener{syntaxError(e,n,s,l,L){$L.push(`${n} line ${s}, col ${l}: ${L}`),VL.push({line:s,column:l,msg:L})}}function GL(t){const e=new X.InputStream(t),n=new v2(e),s=new X.CommonTokenStream(n),l=new _(s);return l.addErrorListener(new Wx),l._syntaxErrors?null:l.prog()}X.ParserRuleContext.prototype.getFormattedText=function(){const t=this.parser.getTokenStream().getText(this.getSourceInterval());return WL(t)},X.ParserRuleContext.prototype.getComment=function(){let t=this.start.tokenIndex,e=v2.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(t=this.stop.tokenIndex);let n=this.parser.getTokenStream().getHiddenTokensToLeft(t,e);return n&&n.map(s=>s.text.substring(2)).join(`
30
- `)},X.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const qL=GL,YL=_.GroupContext,XL=_.ParticipantContext,L8=function(t){return N3.getParticipants(t)},v6={RootContext:GL,ProgContext:_.ProgContext,GroupContext:_.GroupContext,ParticipantContext:_.ParticipantContext,Participants:function(t){return N3.getParticipants(t)},Errors:$L,ErrorDetails:VL,Depth:function(t){const e=G3;return e.depth(e)(t)}};var v0=(t=>(t[t.MessageContent=0]="MessageContent",t[t.ParticipantName=1]="ParticipantName",t))(v0||{});let bs={};const QL={},M6=t=>{if(t!=null){const e=bs[t]??QL[t];return e!==void 0?e:null}return null},C5=(t,e,n=!1)=>{bs[t]=e,n&&(QL[t]=e)},KL=()=>{bs={}},JL="Helvetica, Verdana, serif",ec="16px",jx="14px";function $x(){return`${ec} ${JL}`}let _6=null;function tc(){if(_6)return _6;try{typeof OffscreenCanvas<"u"?(_6=new OffscreenCanvas(1,1).getContext("2d"),a3.debug("[ZenUML] WidthProviderOnCanvas: using OffscreenCanvas")):typeof document<"u"?(_6=document.createElement("canvas").getContext("2d"),a3.debug("[ZenUML] WidthProviderOnCanvas: using <canvas> element")):a3.debug("[ZenUML] WidthProviderOnCanvas: no canvas available, using character estimate fallback")}catch{a3.debug("[ZenUML] WidthProviderOnCanvas: canvas creation failed, using character estimate fallback")}return _6}function As(t,e){const n=t.trim(),s=`WidthProviderOnCanvas_${n}_${e}`,l=M6(s);if(l!=null)return l;const L=tc();if(!L){const C=Math.ceil(n.length*16*.6);return C5(s,C,!0),C}L.font=$x();const c=Math.round(L.measureText(n).width);return C5(s,c,!0),c}function nc(t,e){const n=t.trim();if(!n)return 0;const s=`measureTextWithFont_${e}_${n}`,l=M6(s);if(l!=null)return l;const L=tc();if(!L){const C=Number.parseFloat(e)||14,d=Math.ceil(n.length*C*.6);return C5(s,d,!0),d}L.font=`${e} ${JL}`;const c=L.measureText(n).width;return C5(s,c,!0),c}function u5(t){return nc(t,jx)}function Vx(t){return nc(t,ec)}function Gx(t,e){const n=`WidthProviderOnBrowser_${t}_${e}`,s=M6(n);if(s!=null)return s;let l=document.querySelector(".textarea-hidden-div");if(!l){const c=document.createElement("div");c.className="textarea-hidden-div ",c.style.fontSize=e===v0.MessageContent?"0.875rem":"1rem",c.style.fontFamily="Helvetica, Verdana, serif",c.style.display="inline",c.style.whiteSpace="nowrap",c.style.visibility="hidden",c.style.position="absolute",c.style.top="0",c.style.left="0",c.style.overflow="hidden",c.style.width="0px",c.style.paddingLeft="0px",c.style.paddingRight="0px",c.style.margin="0px",c.style.border="0px",document.body.appendChild(c),l=c}l.textContent=t;const L=l.scrollWidth;return C5(n,L,!0),L}const Ne=10,y6=100,ic=20,qx=10,R6=15,$1=(R6-1)/2,sc=80,Yx=70,b6=1,Xx=20,Qx=24;var d5=(t=>(t[t.SyncMessage=0]="SyncMessage",t[t.AsyncMessage=1]="AsyncMessage",t[t.CreationMessage=2]="CreationMessage",t[t.ReturnMessage=3]="ReturnMessage",t))(d5||{});class Kx extends J{constructor(){super(...arguments);d2(this,"isBlind",!1);d2(this,"ownableMessages",[]);d2(this,"enterMessage",n=>this._addOwnedMessage(d5.SyncMessage)(n));d2(this,"enterAsyncMessage",n=>this._addOwnedMessage(d5.AsyncMessage)(n));d2(this,"enterCreation",n=>this._addOwnedMessage(d5.CreationMessage)(n));d2(this,"enterReturnAsyncMessage",n=>this._addOwnedMessage(d5.ReturnMessage)(n));d2(this,"enterRet",n=>{n.asyncMessage()||n.returnAsyncMessage()||this._addOwnedMessage(d5.ReturnMessage)(n)});d2(this,"_addOwnedMessage",n=>s=>{if(this.isBlind)return;const l=s.From(),L=s==null?void 0:s.Owner();let c=s==null?void 0:s.SignatureText();if(l===L&&s.Assignment){const C=s.Assignment();C&&(c=`${C.getText()} = ${c}`)}this.ownableMessages.push({from:l,signature:c,type:n,to:L})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function h5(t){const e=X.tree.ParseTreeWalker.DEFAULT,n=new Kx;return e.walk(n,t),n.result()}const E1="_STARTER_";let Jx=class{constructor(e,n,s,l,L,c,C){d2(this,"name");d2(this,"left");d2(this,"label");d2(this,"type");d2(this,"stereotype");d2(this,"color");d2(this,"groupId");this.name=e,this.left=n,this.label=s,this.type=l,this.stereotype=L,this.color=c,this.groupId=C}getDisplayName(){return this.label||this.name}hasIcon(){return this.type!==void 0}};function Ss(t){const e=N3.getParticipants(t),n=Array.from(e.participants.entries()),s=h5(t),l=s.length===0&&n.length===0,L=s.some(C=>!C.from);return(l||L)&&n.unshift([E1,{...yL,name:E1,isStarter:!0}]),n.map((C,d,f)=>{const g=C[1],p=d>0?f[d-1][1].name:"";return new Jx(g.name,p,g.label,g.type,g.stereotype,g.color,g.groupId)})}function Oe(t,e){return{position:t,velocity:e}}function oc(t,e){return Oe(t.position+e.position,t.velocity+e.velocity)}const lc=Math.sqrt(Number.EPSILON);function ew(t,e){const n=t.position-e.position;return n<-lc||Math.abs(n)<=lc&&t.velocity<e.velocity}function tw(){return{delta:1/0,dualLessThan:function(t,e){const n=ew(t,e);return n&&([t,e]=[e,t]),t.velocity<e.velocity&&(this.delta=Math.min(this.delta,(t.position-e.position)/(e.velocity-t.velocity))),n}}}function nw(t,e){const n=Array();for(let s=0;s<t;s++){n.push([]);for(let l=0;l<s;l++)e[l][s]>0&&n[s].push({i:l,length:Oe(e[l][s],0)})}return n}function iw(t,e){const n=tw();let s=Oe(0,0);const l=[];for(let L=0;L<t.length;L++){let c=null;L>0&&(s=oc(s,e[L-1]));for(const C of t[L]){const d=oc(l[C.i].maximum,C.length);n.dualLessThan(s,d)&&(c=C.i,s=d)}l.push({argument:c,maximum:s})}return[n.delta,l]}function sw(t,e,n){let s=t.length-1;for(;s>0;){const l=t[s].argument;l!==null?s=l:(s--,n[s].velocity=0)}}function ow(t,e){for(let n=0;n<t.length;n++)t[n].position+=t[n].velocity*e}function lw(t){const e=[];for(const n of t)e.push(n.maximum.position);return e}function rw(t){const e=t.length,n=nw(e,t),s=[];for(let l=1;l<e;l++)s.push(Oe(0,1));for(;;){const[l,L]=iw(n,s);if(l==1/0)return lw(L);L[e-1].maximum.velocity>0?sw(L,n,s):ow(s,l)}}class rc{constructor(e,n){d2(this,"m",[]);d2(this,"widthProvider");d2(this,"participantModels");d2(this,"ownableMessages");KL(),this.participantModels=Ss(e),this.ownableMessages=h5(e),this.widthProvider=n,this.walkThrough()}orderedParticipantNames(){return this.participantModels.map(e=>e.name)}getPosition(e){if(!e)return 0;if(!this.getParticipantModel(e))return console.warn(`Participant ${e} not found`),0;const s=`getPosition_${e}`,l=M6(s);if(l!=null)return l;const L=this.participantModels.findIndex(d=>d.name===e),C=this.getParticipantGap(this.participantModels[0])+rw(this.m)[L];return C5(s,C),a3.debug(`Position of ${e} is ${C}`),C}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}half(e){const n=this.getParticipantModel(e);return n?this._getParticipantWidth(n)/2:0}left(e){return this.getPosition(e)-this.half(e)}right(e){return this.getPosition(e)+this.half(e)}getWidth(){const e=this.participantModels[this.participantModels.length-1].name,n=this.getPosition(e)+this.half(e);return Math.max(n,200)}distance(e,n){return this.getPosition(n)-this.getPosition(e)}getMessageWidth(e){const n=this.half(e.to);let s=this.widthProvider(e.signature,v0.MessageContent);return e.type===d5.CreationMessage&&(s+=n),s}withMessageGaps(e,n){for(const s of e){s.from||(s.from=E1);const l=n.findIndex(d=>d.name===s.from),L=n.findIndex(d=>d.name===s.to);if(l===-1||L===-1){console.warn(`Participant ${s.from} or ${s.to} not found`);continue}const c=Math.min(l,L),C=Math.max(l,L);try{const d=this.getMessageWidth(s);this.m[c][C]=Math.max(d+qx+R6,this.m[c][C])}catch{console.warn(`Could not set message gap between ${s.from} and ${s.to}`)}}}withParticipantGaps(e){this.m=e.map((n,s)=>e.map((l,L)=>L-s===1?this.getParticipantGap(l):0))}getParticipantGap(e){return this.half(e.left)+this.half(e.name)}getParticipantModel(e){return this.participantModels.find(n=>n.name===e)}_getParticipantWidth(e){const n=`getParticipantWidth_${e.name}`,s=M6(n);if(s!=null)return s;const L=e.hasIcon()?40:0,c=this.widthProvider(e.getDisplayName(),v0.ParticipantName),C=Math.max(c+L,sc)+ic;return C5(n,C),a3.debug(`Width of ${e.name} is ${C}; labelWidth: ${c}`),C}}const A6=t=>!(t!=null&&t.start)||!(t!=null&&t.stop)?"":`${t.start.start}-${t.stop.stop}`;class ac{constructor(e,n){this.context=e,this.runtime=n}layoutBlock(e,n,s,l){return e?new Nc(e,this.runtime).layout(n,s,l):s}}function W9(t){return[t.Origin()||E1,...L8(t).Names()]}function Lc(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let f5=Lc();function aw(t){f5=t}const cc=/[&<>"']/,Lw=new RegExp(cc.source,"g"),Cc=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,cw=new RegExp(Cc.source,"g"),Cw={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},uc=t=>Cw[t];function Y3(t,e){if(e){if(cc.test(t))return t.replace(Lw,uc)}else if(Cc.test(t))return t.replace(cw,uc);return t}const uw=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function dc(t){return t.replace(uw,(e,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const dw=/(^|[^\[])\^/g;function V1(t,e){t=typeof t=="string"?t:t.source,e=e||"";const n={replace:(s,l)=>(l=l.source||l,l=l.replace(dw,"$1"),t=t.replace(s,l),n),getRegex:()=>new RegExp(t,e)};return n}const hw=/[^\w:]/g,fw=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function hc(t,e,n){if(t){let s;try{s=decodeURIComponent(dc(n)).replace(hw,"").toLowerCase()}catch{return null}if(s.indexOf("javascript:")===0||s.indexOf("vbscript:")===0||s.indexOf("data:")===0)return null}e&&!fw.test(n)&&(n=xw(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const De={},gw=/^[^:]+:\/*[^/]*$/,pw=/^([^:]+:)[\s\S]*$/,mw=/^([^:]+:\/*[^/]*)[\s\S]*$/;function xw(t,e){De[" "+t]||(gw.test(t)?De[" "+t]=t+"/":De[" "+t]=Be(t,"/",!0)),t=De[" "+t];const n=t.indexOf(":")===-1;return e.substring(0,2)==="//"?n?e:t.replace(pw,"$1")+e:e.charAt(0)==="/"?n?e:t.replace(mw,"$1")+e:t+e}const Fe={exec:function(){}};function fc(t,e){const n=t.replace(/\|/g,(L,c,C)=>{let d=!1,f=c;for(;--f>=0&&C[f]==="\\";)d=!d;return d?"|":" |"}),s=n.split(/ \|/);let l=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;l<s.length;l++)s[l]=s[l].trim().replace(/\\\|/g,"|");return s}function Be(t,e,n){const s=t.length;if(s===0)return"";let l=0;for(;l<s;){const L=t.charAt(s-l-1);if(L===e&&!n)l++;else if(L!==e&&n)l++;else break}return t.slice(0,s-l)}function ww(t,e){if(t.indexOf(e[1])===-1)return-1;const n=t.length;let s=0,l=0;for(;l<n;l++)if(t[l]==="\\")l++;else if(t[l]===e[0])s++;else if(t[l]===e[1]&&(s--,s<0))return l;return-1}function vw(t){t&&t.sanitize&&!t.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function gc(t,e){if(e<1)return"";let n="";for(;e>1;)e&1&&(n+=t),e>>=1,t+=t;return n+t}function pc(t,e,n,s){const l=e.href,L=e.title?Y3(e.title):null,c=t[1].replace(/\\([\[\]])/g,"$1");if(t[0].charAt(0)!=="!"){s.state.inLink=!0;const C={type:"link",raw:n,href:l,title:L,text:c,tokens:s.inlineTokens(c)};return s.state.inLink=!1,C}return{type:"image",raw:n,href:l,title:L,text:Y3(c)}}function Mw(t,e){const n=t.match(/^(\s+)(?:```)/);if(n===null)return e;const s=n[1];return e.split(`
30
+ `)},X.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const qL=GL,YL=_.GroupContext,XL=_.ParticipantContext,L8=function(t){return N3.getParticipants(t)},v6={RootContext:GL,ProgContext:_.ProgContext,GroupContext:_.GroupContext,ParticipantContext:_.ParticipantContext,Participants:function(t){return N3.getParticipants(t)},Errors:$L,ErrorDetails:VL,Depth:function(t){const e=G3;return e.depth(e)(t)}};var c5=(t=>(t[t.MessageContent=0]="MessageContent",t[t.ParticipantName=1]="ParticipantName",t))(c5||{});let bs={};const QL={},M6=t=>{if(t!=null){const e=bs[t]??QL[t];return e!==void 0?e:null}return null},C5=(t,e,n=!1)=>{bs[t]=e,n&&(QL[t]=e)},KL=()=>{bs={}},JL="Helvetica, Verdana, serif",ec="16px",jx="14px";function $x(){return`${ec} ${JL}`}let _6=null;function tc(){if(_6)return _6;try{typeof OffscreenCanvas<"u"?(_6=new OffscreenCanvas(1,1).getContext("2d"),a3.debug("[ZenUML] WidthProviderOnCanvas: using OffscreenCanvas")):typeof document<"u"?(_6=document.createElement("canvas").getContext("2d"),a3.debug("[ZenUML] WidthProviderOnCanvas: using <canvas> element")):a3.debug("[ZenUML] WidthProviderOnCanvas: no canvas available, using character estimate fallback")}catch{a3.debug("[ZenUML] WidthProviderOnCanvas: canvas creation failed, using character estimate fallback")}return _6}function As(t,e){const n=t.trim(),s=`WidthProviderOnCanvas_${n}_${e}`,l=M6(s);if(l!=null)return l;const L=tc();if(!L){const C=Math.ceil(n.length*16*.6);return C5(s,C,!0),C}L.font=$x();const c=Math.round(L.measureText(n).width);return C5(s,c,!0),c}function nc(t,e){const n=t.trim();if(!n)return 0;const s=`measureTextWithFont_${e}_${n}`,l=M6(s);if(l!=null)return l;const L=tc();if(!L){const C=Number.parseFloat(e)||14,d=Math.ceil(n.length*C*.6);return C5(s,d,!0),d}L.font=`${e} ${JL}`;const c=L.measureText(n).width;return C5(s,c,!0),c}function u5(t){return nc(t,jx)}function Vx(t){return nc(t,ec)}function Gx(t,e){const n=`WidthProviderOnBrowser_${t}_${e}`,s=M6(n);if(s!=null)return s;let l=document.querySelector(".textarea-hidden-div");if(!l){const c=document.createElement("div");c.className="textarea-hidden-div ",c.style.fontSize=e===c5.MessageContent?"0.875rem":"1rem",c.style.fontFamily="Helvetica, Verdana, serif",c.style.display="inline",c.style.whiteSpace="nowrap",c.style.visibility="hidden",c.style.position="absolute",c.style.top="0",c.style.left="0",c.style.overflow="hidden",c.style.width="0px",c.style.paddingLeft="0px",c.style.paddingRight="0px",c.style.margin="0px",c.style.border="0px",document.body.appendChild(c),l=c}l.textContent=t;const L=l.scrollWidth;return C5(n,L,!0),L}const Ne=10,y6=100,ic=20,qx=10,R6=15,$1=(R6-1)/2,sc=80,Yx=70,b6=1,Xx=20,Qx=24;var d5=(t=>(t[t.SyncMessage=0]="SyncMessage",t[t.AsyncMessage=1]="AsyncMessage",t[t.CreationMessage=2]="CreationMessage",t[t.ReturnMessage=3]="ReturnMessage",t))(d5||{});class Kx extends J{constructor(){super(...arguments);d2(this,"isBlind",!1);d2(this,"ownableMessages",[]);d2(this,"enterMessage",n=>this._addOwnedMessage(d5.SyncMessage)(n));d2(this,"enterAsyncMessage",n=>this._addOwnedMessage(d5.AsyncMessage)(n));d2(this,"enterCreation",n=>this._addOwnedMessage(d5.CreationMessage)(n));d2(this,"enterReturnAsyncMessage",n=>this._addOwnedMessage(d5.ReturnMessage)(n));d2(this,"enterRet",n=>{n.asyncMessage()||n.returnAsyncMessage()||this._addOwnedMessage(d5.ReturnMessage)(n)});d2(this,"_addOwnedMessage",n=>s=>{if(this.isBlind)return;const l=s.From(),L=s==null?void 0:s.Owner();let c=s==null?void 0:s.SignatureText();if(l===L&&s.Assignment){const C=s.Assignment();C&&(c=`${C.getText()} = ${c}`)}this.ownableMessages.push({from:l,signature:c,type:n,to:L})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function h5(t){const e=X.tree.ParseTreeWalker.DEFAULT,n=new Kx;return e.walk(n,t),n.result()}const E1="_STARTER_";let Jx=class{constructor(e,n,s,l,L,c,C){d2(this,"name");d2(this,"left");d2(this,"label");d2(this,"type");d2(this,"stereotype");d2(this,"color");d2(this,"groupId");this.name=e,this.left=n,this.label=s,this.type=l,this.stereotype=L,this.color=c,this.groupId=C}getDisplayName(){return this.label||this.name}hasIcon(){return this.type!==void 0}};function Ss(t){const e=N3.getParticipants(t),n=Array.from(e.participants.entries()),s=h5(t),l=s.length===0&&n.length===0,L=s.some(C=>!C.from);return(l||L)&&n.unshift([E1,{...yL,name:E1,isStarter:!0}]),n.map((C,d,f)=>{const g=C[1],p=d>0?f[d-1][1].name:"";return new Jx(g.name,p,g.label,g.type,g.stereotype,g.color,g.groupId)})}function Oe(t,e){return{position:t,velocity:e}}function oc(t,e){return Oe(t.position+e.position,t.velocity+e.velocity)}const lc=Math.sqrt(Number.EPSILON);function ew(t,e){const n=t.position-e.position;return n<-lc||Math.abs(n)<=lc&&t.velocity<e.velocity}function tw(){return{delta:1/0,dualLessThan:function(t,e){const n=ew(t,e);return n&&([t,e]=[e,t]),t.velocity<e.velocity&&(this.delta=Math.min(this.delta,(t.position-e.position)/(e.velocity-t.velocity))),n}}}function nw(t,e){const n=Array();for(let s=0;s<t;s++){n.push([]);for(let l=0;l<s;l++)e[l][s]>0&&n[s].push({i:l,length:Oe(e[l][s],0)})}return n}function iw(t,e){const n=tw();let s=Oe(0,0);const l=[];for(let L=0;L<t.length;L++){let c=null;L>0&&(s=oc(s,e[L-1]));for(const C of t[L]){const d=oc(l[C.i].maximum,C.length);n.dualLessThan(s,d)&&(c=C.i,s=d)}l.push({argument:c,maximum:s})}return[n.delta,l]}function sw(t,e,n){let s=t.length-1;for(;s>0;){const l=t[s].argument;l!==null?s=l:(s--,n[s].velocity=0)}}function ow(t,e){for(let n=0;n<t.length;n++)t[n].position+=t[n].velocity*e}function lw(t){const e=[];for(const n of t)e.push(n.maximum.position);return e}function rw(t){const e=t.length,n=nw(e,t),s=[];for(let l=1;l<e;l++)s.push(Oe(0,1));for(;;){const[l,L]=iw(n,s);if(l==1/0)return lw(L);L[e-1].maximum.velocity>0?sw(L,n,s):ow(s,l)}}class rc{constructor(e,n){d2(this,"m",[]);d2(this,"widthProvider");d2(this,"participantModels");d2(this,"ownableMessages");KL(),this.participantModels=Ss(e),this.ownableMessages=h5(e),this.widthProvider=n,this.walkThrough()}orderedParticipantNames(){return this.participantModels.map(e=>e.name)}getPosition(e){if(!e)return 0;if(!this.getParticipantModel(e))return console.warn(`Participant ${e} not found`),0;const s=`getPosition_${e}`,l=M6(s);if(l!=null)return l;const L=this.participantModels.findIndex(d=>d.name===e),C=this.getParticipantGap(this.participantModels[0])+rw(this.m)[L];return C5(s,C),a3.debug(`Position of ${e} is ${C}`),C}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}half(e){const n=this.getParticipantModel(e);return n?this._getParticipantWidth(n)/2:0}left(e){return this.getPosition(e)-this.half(e)}right(e){return this.getPosition(e)+this.half(e)}getWidth(){const e=this.participantModels[this.participantModels.length-1].name,n=this.getPosition(e)+this.half(e);return Math.max(n,200)}distance(e,n){return this.getPosition(n)-this.getPosition(e)}getMessageWidth(e){const n=this.half(e.to);let s=this.widthProvider(e.signature,c5.MessageContent);return e.type===d5.CreationMessage&&(s+=n),s}withMessageGaps(e,n){for(const s of e){s.from||(s.from=E1);const l=n.findIndex(d=>d.name===s.from),L=n.findIndex(d=>d.name===s.to);if(l===-1||L===-1){console.warn(`Participant ${s.from} or ${s.to} not found`);continue}const c=Math.min(l,L),C=Math.max(l,L);try{const d=this.getMessageWidth(s);this.m[c][C]=Math.max(d+qx+R6,this.m[c][C])}catch{console.warn(`Could not set message gap between ${s.from} and ${s.to}`)}}}withParticipantGaps(e){this.m=e.map((n,s)=>e.map((l,L)=>L-s===1?this.getParticipantGap(l):0))}getParticipantGap(e){return this.half(e.left)+this.half(e.name)}getParticipantModel(e){return this.participantModels.find(n=>n.name===e)}_getParticipantWidth(e){const n=`getParticipantWidth_${e.name}`,s=M6(n);if(s!=null)return s;const L=e.hasIcon()?40:0,c=this.widthProvider(e.getDisplayName(),c5.ParticipantName),C=Math.max(c+L,sc)+ic;return C5(n,C),a3.debug(`Width of ${e.name} is ${C}; labelWidth: ${c}`),C}}const A6=t=>!(t!=null&&t.start)||!(t!=null&&t.stop)?"":`${t.start.start}-${t.stop.stop}`;class ac{constructor(e,n){this.context=e,this.runtime=n}layoutBlock(e,n,s,l){return e?new Nc(e,this.runtime).layout(n,s,l):s}}function W9(t){return[t.Origin()||E1,...L8(t).Names()]}function Lc(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let f5=Lc();function aw(t){f5=t}const cc=/[&<>"']/,Lw=new RegExp(cc.source,"g"),Cc=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,cw=new RegExp(Cc.source,"g"),Cw={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},uc=t=>Cw[t];function Y3(t,e){if(e){if(cc.test(t))return t.replace(Lw,uc)}else if(Cc.test(t))return t.replace(cw,uc);return t}const uw=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function dc(t){return t.replace(uw,(e,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const dw=/(^|[^\[])\^/g;function V1(t,e){t=typeof t=="string"?t:t.source,e=e||"";const n={replace:(s,l)=>(l=l.source||l,l=l.replace(dw,"$1"),t=t.replace(s,l),n),getRegex:()=>new RegExp(t,e)};return n}const hw=/[^\w:]/g,fw=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function hc(t,e,n){if(t){let s;try{s=decodeURIComponent(dc(n)).replace(hw,"").toLowerCase()}catch{return null}if(s.indexOf("javascript:")===0||s.indexOf("vbscript:")===0||s.indexOf("data:")===0)return null}e&&!fw.test(n)&&(n=xw(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const De={},gw=/^[^:]+:\/*[^/]*$/,pw=/^([^:]+:)[\s\S]*$/,mw=/^([^:]+:\/*[^/]*)[\s\S]*$/;function xw(t,e){De[" "+t]||(gw.test(t)?De[" "+t]=t+"/":De[" "+t]=Be(t,"/",!0)),t=De[" "+t];const n=t.indexOf(":")===-1;return e.substring(0,2)==="//"?n?e:t.replace(pw,"$1")+e:e.charAt(0)==="/"?n?e:t.replace(mw,"$1")+e:t+e}const Fe={exec:function(){}};function fc(t,e){const n=t.replace(/\|/g,(L,c,C)=>{let d=!1,f=c;for(;--f>=0&&C[f]==="\\";)d=!d;return d?"|":" |"}),s=n.split(/ \|/);let l=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;l<s.length;l++)s[l]=s[l].trim().replace(/\\\|/g,"|");return s}function Be(t,e,n){const s=t.length;if(s===0)return"";let l=0;for(;l<s;){const L=t.charAt(s-l-1);if(L===e&&!n)l++;else if(L!==e&&n)l++;else break}return t.slice(0,s-l)}function ww(t,e){if(t.indexOf(e[1])===-1)return-1;const n=t.length;let s=0,l=0;for(;l<n;l++)if(t[l]==="\\")l++;else if(t[l]===e[0])s++;else if(t[l]===e[1]&&(s--,s<0))return l;return-1}function vw(t){t&&t.sanitize&&!t.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function gc(t,e){if(e<1)return"";let n="";for(;e>1;)e&1&&(n+=t),e>>=1,t+=t;return n+t}function pc(t,e,n,s){const l=e.href,L=e.title?Y3(e.title):null,c=t[1].replace(/\\([\[\]])/g,"$1");if(t[0].charAt(0)!=="!"){s.state.inLink=!0;const C={type:"link",raw:n,href:l,title:L,text:c,tokens:s.inlineTokens(c)};return s.state.inLink=!1,C}return{type:"image",raw:n,href:l,title:L,text:Y3(c)}}function Mw(t,e){const n=t.match(/^(\s+)(?:```)/);if(n===null)return e;const s=n[1];return e.split(`
31
31
  `).map(l=>{const L=l.match(/^\s+/);if(L===null)return l;const[c]=L;return c.length>=s.length?l.slice(s.length):l}).join(`
32
32
  `)}class ks{constructor(e){this.options=e||f5}space(e){const n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(e){const n=this.rules.block.code.exec(e);if(n){const s=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?s:Be(s,`
33
33
  `)}}}fences(e){const n=this.rules.block.fences.exec(e);if(n){const s=n[0],l=Mw(s,n[3]||"");return{type:"code",raw:s,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:l}}}heading(e){const n=this.rules.block.heading.exec(e);if(n){let s=n[2].trim();if(/#$/.test(s)){const l=Be(s,"#");(this.options.pedantic||!l||/ $/.test(l))&&(s=l.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(e){const n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:n[0]}}blockquote(e){const n=this.rules.block.blockquote.exec(e);if(n){const s=n[0].replace(/^ *>[ \t]?/gm,""),l=this.lexer.state.top;this.lexer.state.top=!0;const L=this.lexer.blockTokens(s);return this.lexer.state.top=l,{type:"blockquote",raw:n[0],tokens:L,text:s}}}list(e){let n=this.rules.block.list.exec(e);if(n){let s,l,L,c,C,d,f,g,p,m,v,b,A=n[1].trim();const k=A.length>1,S={type:"list",raw:"",ordered:k,start:k?+A.slice(0,-1):"",loose:!1,items:[]};A=k?`\\d{1,9}\\${A.slice(-1)}`:`\\${A}`,this.options.pedantic&&(A=k?A:"[*+-]");const N=new RegExp(`^( {0,3}${A})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(b=!1,!(!(n=N.exec(e))||this.rules.block.hr.test(e)));){if(s=n[0],e=e.substring(s.length),g=n[2].split(`
@@ -40,7 +40,7 @@
40
40
  `,e=e.substring(m.length+1),g=p.slice(c)}}S.loose||(f?S.loose=!0:/\n *\n *$/.test(s)&&(f=!0)),this.options.gfm&&(l=/^\[[ xX]\] /.exec(v),l&&(L=l[0]!=="[ ] ",v=v.replace(/^\[[ xX]\] +/,""))),S.items.push({type:"list_item",raw:s,task:!!l,checked:L,loose:!1,text:v}),S.raw+=s}S.items[S.items.length-1].raw=s.trimRight(),S.items[S.items.length-1].text=v.trimRight(),S.raw=S.raw.trimRight();const I=S.items.length;for(C=0;C<I;C++)if(this.lexer.state.top=!1,S.items[C].tokens=this.lexer.blockTokens(S.items[C].text,[]),!S.loose){const O=S.items[C].tokens.filter(P=>P.type==="space"),B=O.length>0&&O.some(P=>/\n.*\n/.test(P.raw));S.loose=B}if(S.loose)for(C=0;C<I;C++)S.items[C].loose=!0;return S}}html(e){const n=this.rules.block.html.exec(e);if(n){const s={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};if(this.options.sanitize){const l=this.options.sanitizer?this.options.sanitizer(n[0]):Y3(n[0]);s.type="paragraph",s.text=l,s.tokens=this.lexer.inline(l)}return s}}def(e){const n=this.rules.block.def.exec(e);if(n){const s=n[1].toLowerCase().replace(/\s+/g," "),l=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",L=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:s,raw:n[0],href:l,title:L}}}table(e){const n=this.rules.block.table.exec(e);if(n){const s={type:"table",header:fc(n[1]).map(l=>({text:l})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
41
41
  `):[]};if(s.header.length===s.align.length){s.raw=n[0];let l=s.align.length,L,c,C,d;for(L=0;L<l;L++)/^ *-+: *$/.test(s.align[L])?s.align[L]="right":/^ *:-+: *$/.test(s.align[L])?s.align[L]="center":/^ *:-+ *$/.test(s.align[L])?s.align[L]="left":s.align[L]=null;for(l=s.rows.length,L=0;L<l;L++)s.rows[L]=fc(s.rows[L],s.header.length).map(f=>({text:f}));for(l=s.header.length,c=0;c<l;c++)s.header[c].tokens=this.lexer.inline(s.header[c].text);for(l=s.rows.length,c=0;c<l;c++)for(d=s.rows[c],C=0;C<d.length;C++)d[C].tokens=this.lexer.inline(d[C].text);return s}}}lheading(e){const n=this.rules.block.lheading.exec(e);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(e){const n=this.rules.block.paragraph.exec(e);if(n){const s=n[1].charAt(n[1].length-1)===`
42
42
  `?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:s,tokens:this.lexer.inline(s)}}}text(e){const n=this.rules.block.text.exec(e);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(e){const n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:Y3(n[1])}}tag(e){const n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):Y3(n[0]):n[0]}}link(e){const n=this.rules.inline.link.exec(e);if(n){const s=n[2].trim();if(!this.options.pedantic&&/^</.test(s)){if(!/>$/.test(s))return;const c=Be(s.slice(0,-1),"\\");if((s.length-c.length)%2===0)return}else{const c=ww(n[2],"()");if(c>-1){const d=(n[0].indexOf("!")===0?5:4)+n[1].length+c;n[2]=n[2].substring(0,c),n[0]=n[0].substring(0,d).trim(),n[3]=""}}let l=n[2],L="";if(this.options.pedantic){const c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);c&&(l=c[1],L=c[3])}else L=n[3]?n[3].slice(1,-1):"";return l=l.trim(),/^</.test(l)&&(this.options.pedantic&&!/>$/.test(s)?l=l.slice(1):l=l.slice(1,-1)),pc(n,{href:l&&l.replace(this.rules.inline._escapes,"$1"),title:L&&L.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(e,n){let s;if((s=this.rules.inline.reflink.exec(e))||(s=this.rules.inline.nolink.exec(e))){let l=(s[2]||s[1]).replace(/\s+/g," ");if(l=n[l.toLowerCase()],!l){const L=s[0].charAt(0);return{type:"text",raw:L,text:L}}return pc(s,l,s[0],this.lexer)}}emStrong(e,n,s=""){let l=this.rules.inline.emStrong.lDelim.exec(e);if(!l||l[3]&&s.match(/[\p{L}\p{N}]/u))return;const L=l[1]||l[2]||"";if(!L||L&&(s===""||this.rules.inline.punctuation.exec(s))){const c=l[0].length-1;let C,d,f=c,g=0;const p=l[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(p.lastIndex=0,n=n.slice(-1*e.length+c);(l=p.exec(n))!=null;){if(C=l[1]||l[2]||l[3]||l[4]||l[5]||l[6],!C)continue;if(d=C.length,l[3]||l[4]){f+=d;continue}else if((l[5]||l[6])&&c%3&&!((c+d)%3)){g+=d;continue}if(f-=d,f>0)continue;d=Math.min(d,d+f+g);const m=e.slice(0,c+l.index+(l[0].length-C.length)+d);if(Math.min(c,d)%2){const b=m.slice(1,-1);return{type:"em",raw:m,text:b,tokens:this.lexer.inlineTokens(b)}}const v=m.slice(2,-2);return{type:"strong",raw:m,text:v,tokens:this.lexer.inlineTokens(v)}}}}codespan(e){const n=this.rules.inline.code.exec(e);if(n){let s=n[2].replace(/\n/g," ");const l=/[^ ]/.test(s),L=/^ /.test(s)&&/ $/.test(s);return l&&L&&(s=s.substring(1,s.length-1)),s=Y3(s,!0),{type:"codespan",raw:n[0],text:s}}}br(e){const n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}del(e){const n=this.rules.inline.del.exec(e);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(e,n){const s=this.rules.inline.autolink.exec(e);if(s){let l,L;return s[2]==="@"?(l=Y3(this.options.mangle?n(s[1]):s[1]),L="mailto:"+l):(l=Y3(s[1]),L=l),{type:"link",raw:s[0],text:l,href:L,tokens:[{type:"text",raw:l,text:l}]}}}url(e,n){let s;if(s=this.rules.inline.url.exec(e)){let l,L;if(s[2]==="@")l=Y3(this.options.mangle?n(s[0]):s[0]),L="mailto:"+l;else{let c;do c=s[0],s[0]=this.rules.inline._backpedal.exec(s[0])[0];while(c!==s[0]);l=Y3(s[0]),s[1]==="www."?L="http://"+s[0]:L=s[0]}return{type:"link",raw:s[0],text:l,href:L,tokens:[{type:"text",raw:l,text:l}]}}}inlineText(e,n){const s=this.rules.inline.text.exec(e);if(s){let l;return this.lexer.state.inRawBlock?l=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):Y3(s[0]):s[0]:l=Y3(this.options.smartypants?n(s[0]):s[0]),{type:"text",raw:s[0],text:l}}}}const $2={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Fe,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};$2._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,$2._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,$2.def=V1($2.def).replace("label",$2._label).replace("title",$2._title).getRegex(),$2.bullet=/(?:[*+-]|\d{1,9}[.)])/,$2.listItemStart=V1(/^( *)(bull) */).replace("bull",$2.bullet).getRegex(),$2.list=V1($2.list).replace(/bull/g,$2.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+$2.def.source+")").getRegex(),$2._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",$2._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,$2.html=V1($2.html,"i").replace("comment",$2._comment).replace("tag",$2._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),$2.paragraph=V1($2._paragraph).replace("hr",$2.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$2._tag).getRegex(),$2.blockquote=V1($2.blockquote).replace("paragraph",$2.paragraph).getRegex(),$2.normal={...$2},$2.gfm={...$2.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},$2.gfm.table=V1($2.gfm.table).replace("hr",$2.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$2._tag).getRegex(),$2.gfm.paragraph=V1($2._paragraph).replace("hr",$2.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",$2.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$2._tag).getRegex(),$2.pedantic={...$2.normal,html:V1(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",$2._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Fe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:V1($2.normal._paragraph).replace("hr",$2.hr).replace("heading",` *#{1,6} *[^
43
- ]`).replace("lheading",$2.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const S2={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Fe,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Fe,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};S2._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",S2.punctuation=V1(S2.punctuation).replace(/punctuation/g,S2._punctuation).getRegex(),S2.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,S2.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,S2._comment=V1($2._comment).replace("(?:-->|$)","-->").getRegex(),S2.emStrong.lDelim=V1(S2.emStrong.lDelim).replace(/punct/g,S2._punctuation).getRegex(),S2.emStrong.rDelimAst=V1(S2.emStrong.rDelimAst,"g").replace(/punct/g,S2._punctuation).getRegex(),S2.emStrong.rDelimUnd=V1(S2.emStrong.rDelimUnd,"g").replace(/punct/g,S2._punctuation).getRegex(),S2._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,S2._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,S2._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,S2.autolink=V1(S2.autolink).replace("scheme",S2._scheme).replace("email",S2._email).getRegex(),S2._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,S2.tag=V1(S2.tag).replace("comment",S2._comment).replace("attribute",S2._attribute).getRegex(),S2._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,S2._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,S2._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,S2.link=V1(S2.link).replace("label",S2._label).replace("href",S2._href).replace("title",S2._title).getRegex(),S2.reflink=V1(S2.reflink).replace("label",S2._label).replace("ref",$2._label).getRegex(),S2.nolink=V1(S2.nolink).replace("ref",$2._label).getRegex(),S2.reflinkSearch=V1(S2.reflinkSearch,"g").replace("reflink",S2.reflink).replace("nolink",S2.nolink).getRegex(),S2.normal={...S2},S2.pedantic={...S2.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:V1(/^!?\[(label)\]\((.*?)\)/).replace("label",S2._label).getRegex(),reflink:V1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",S2._label).getRegex()},S2.gfm={...S2.normal,escape:V1(S2.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},S2.gfm.url=V1(S2.gfm.url,"i").replace("email",S2.gfm._extended_email).getRegex(),S2.breaks={...S2.gfm,br:V1(S2.br).replace("{2,}","*").getRegex(),text:V1(S2.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};function _w(t){return t.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function mc(t){let e="",n,s;const l=t.length;for(n=0;n<l;n++)s=t.charCodeAt(n),Math.random()>.5&&(s="x"+s.toString(16)),e+="&#"+s+";";return e}class M0{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||f5,this.options.tokenizer=this.options.tokenizer||new ks,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:$2.normal,inline:S2.normal};this.options.pedantic?(n.block=$2.pedantic,n.inline=S2.pedantic):this.options.gfm&&(n.block=$2.gfm,this.options.breaks?n.inline=S2.breaks:n.inline=S2.gfm),this.tokenizer.rules=n}static get rules(){return{block:$2,inline:S2}}static lex(e,n){return new M0(n).lex(e)}static lexInline(e,n){return new M0(n).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
43
+ ]`).replace("lheading",$2.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const S2={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Fe,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Fe,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};S2._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",S2.punctuation=V1(S2.punctuation).replace(/punctuation/g,S2._punctuation).getRegex(),S2.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,S2.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,S2._comment=V1($2._comment).replace("(?:-->|$)","-->").getRegex(),S2.emStrong.lDelim=V1(S2.emStrong.lDelim).replace(/punct/g,S2._punctuation).getRegex(),S2.emStrong.rDelimAst=V1(S2.emStrong.rDelimAst,"g").replace(/punct/g,S2._punctuation).getRegex(),S2.emStrong.rDelimUnd=V1(S2.emStrong.rDelimUnd,"g").replace(/punct/g,S2._punctuation).getRegex(),S2._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,S2._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,S2._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,S2.autolink=V1(S2.autolink).replace("scheme",S2._scheme).replace("email",S2._email).getRegex(),S2._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,S2.tag=V1(S2.tag).replace("comment",S2._comment).replace("attribute",S2._attribute).getRegex(),S2._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,S2._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,S2._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,S2.link=V1(S2.link).replace("label",S2._label).replace("href",S2._href).replace("title",S2._title).getRegex(),S2.reflink=V1(S2.reflink).replace("label",S2._label).replace("ref",$2._label).getRegex(),S2.nolink=V1(S2.nolink).replace("ref",$2._label).getRegex(),S2.reflinkSearch=V1(S2.reflinkSearch,"g").replace("reflink",S2.reflink).replace("nolink",S2.nolink).getRegex(),S2.normal={...S2},S2.pedantic={...S2.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:V1(/^!?\[(label)\]\((.*?)\)/).replace("label",S2._label).getRegex(),reflink:V1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",S2._label).getRegex()},S2.gfm={...S2.normal,escape:V1(S2.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},S2.gfm.url=V1(S2.gfm.url,"i").replace("email",S2.gfm._extended_email).getRegex(),S2.breaks={...S2.gfm,br:V1(S2.br).replace("{2,}","*").getRegex(),text:V1(S2.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};function _w(t){return t.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function mc(t){let e="",n,s;const l=t.length;for(n=0;n<l;n++)s=t.charCodeAt(n),Math.random()>.5&&(s="x"+s.toString(16)),e+="&#"+s+";";return e}class v0{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||f5,this.options.tokenizer=this.options.tokenizer||new ks,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:$2.normal,inline:S2.normal};this.options.pedantic?(n.block=$2.pedantic,n.inline=S2.pedantic):this.options.gfm&&(n.block=$2.gfm,this.options.breaks?n.inline=S2.breaks:n.inline=S2.gfm),this.tokenizer.rules=n}static get rules(){return{block:$2,inline:S2}}static lex(e,n){return new v0(n).lex(e)}static lexInline(e,n){return new v0(n).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
44
44
  `),this.blockTokens(e,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(e,n=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(C,d,f)=>d+" ".repeat(f.length));let s,l,L,c;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(C=>(s=C.call({lexer:this},e,n))?(e=e.substring(s.raw.length),n.push(s),!0):!1))){if(s=this.tokenizer.space(e)){e=e.substring(s.raw.length),s.raw.length===1&&n.length>0?n[n.length-1].raw+=`
45
45
  `:n.push(s);continue}if(s=this.tokenizer.code(e)){e=e.substring(s.raw.length),l=n[n.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
46
46
  `+s.raw,l.text+=`
@@ -70,15 +70,15 @@ ${e}</blockquote>
70
70
  `}tablerow(e){return`<tr>
71
71
  ${e}</tr>
72
72
  `}tablecell(e,n){const s=n.header?"th":"td";return(n.align?`<${s} align="${n.align}">`:`<${s}>`)+e+`</${s}>
73
- `}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,n,s){if(e=hc(this.options.sanitize,this.options.baseUrl,e),e===null)return s;let l='<a href="'+e+'"';return n&&(l+=' title="'+n+'"'),l+=">"+s+"</a>",l}image(e,n,s){if(e=hc(this.options.sanitize,this.options.baseUrl,e),e===null)return s;let l=`<img src="${e}" alt="${s}"`;return n&&(l+=` title="${n}"`),l+=this.options.xhtml?"/>":">",l}text(e){return e}}class xc{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,n,s){return""+s}image(e,n,s){return""+s}br(){return""}}class wc{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,n){let s=e,l=0;if(this.seen.hasOwnProperty(s)){l=this.seen[e];do l++,s=e+"-"+l;while(this.seen.hasOwnProperty(s))}return n||(this.seen[e]=l,this.seen[s]=0),s}slug(e,n={}){const s=this.serialize(e);return this.getNextSafeSlug(s,n.dryrun)}}class _0{constructor(e){this.options=e||f5,this.options.renderer=this.options.renderer||new Zs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new xc,this.slugger=new wc}static parse(e,n){return new _0(n).parse(e)}static parseInline(e,n){return new _0(n).parseInline(e)}parse(e,n=!0){let s="",l,L,c,C,d,f,g,p,m,v,b,A,k,S,N,I,O,B,P;const Y=e.length;for(l=0;l<Y;l++){if(v=e[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[v.type]&&(P=this.options.extensions.renderers[v.type].call({parser:this},v),P!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(v.type))){s+=P||"";continue}switch(v.type){case"space":continue;case"hr":{s+=this.renderer.hr();continue}case"heading":{s+=this.renderer.heading(this.parseInline(v.tokens),v.depth,dc(this.parseInline(v.tokens,this.textRenderer)),this.slugger);continue}case"code":{s+=this.renderer.code(v.text,v.lang,v.escaped);continue}case"table":{for(p="",g="",C=v.header.length,L=0;L<C;L++)g+=this.renderer.tablecell(this.parseInline(v.header[L].tokens),{header:!0,align:v.align[L]});for(p+=this.renderer.tablerow(g),m="",C=v.rows.length,L=0;L<C;L++){for(f=v.rows[L],g="",d=f.length,c=0;c<d;c++)g+=this.renderer.tablecell(this.parseInline(f[c].tokens),{header:!1,align:v.align[c]});m+=this.renderer.tablerow(g)}s+=this.renderer.table(p,m);continue}case"blockquote":{m=this.parse(v.tokens),s+=this.renderer.blockquote(m);continue}case"list":{for(b=v.ordered,A=v.start,k=v.loose,C=v.items.length,m="",L=0;L<C;L++)N=v.items[L],I=N.checked,O=N.task,S="",N.task&&(B=this.renderer.checkbox(I),k?N.tokens.length>0&&N.tokens[0].type==="paragraph"?(N.tokens[0].text=B+" "+N.tokens[0].text,N.tokens[0].tokens&&N.tokens[0].tokens.length>0&&N.tokens[0].tokens[0].type==="text"&&(N.tokens[0].tokens[0].text=B+" "+N.tokens[0].tokens[0].text)):N.tokens.unshift({type:"text",text:B}):S+=B),S+=this.parse(N.tokens,k),m+=this.renderer.listitem(S,O,I);s+=this.renderer.list(m,b,A);continue}case"html":{s+=this.renderer.html(v.text);continue}case"paragraph":{s+=this.renderer.paragraph(this.parseInline(v.tokens));continue}case"text":{for(m=v.tokens?this.parseInline(v.tokens):v.text;l+1<Y&&e[l+1].type==="text";)v=e[++l],m+=`
73
+ `}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,n,s){if(e=hc(this.options.sanitize,this.options.baseUrl,e),e===null)return s;let l='<a href="'+e+'"';return n&&(l+=' title="'+n+'"'),l+=">"+s+"</a>",l}image(e,n,s){if(e=hc(this.options.sanitize,this.options.baseUrl,e),e===null)return s;let l=`<img src="${e}" alt="${s}"`;return n&&(l+=` title="${n}"`),l+=this.options.xhtml?"/>":">",l}text(e){return e}}class xc{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,n,s){return""+s}image(e,n,s){return""+s}br(){return""}}class wc{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,n){let s=e,l=0;if(this.seen.hasOwnProperty(s)){l=this.seen[e];do l++,s=e+"-"+l;while(this.seen.hasOwnProperty(s))}return n||(this.seen[e]=l,this.seen[s]=0),s}slug(e,n={}){const s=this.serialize(e);return this.getNextSafeSlug(s,n.dryrun)}}class M0{constructor(e){this.options=e||f5,this.options.renderer=this.options.renderer||new Zs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new xc,this.slugger=new wc}static parse(e,n){return new M0(n).parse(e)}static parseInline(e,n){return new M0(n).parseInline(e)}parse(e,n=!0){let s="",l,L,c,C,d,f,g,p,m,v,b,A,k,S,N,I,O,B,P;const Y=e.length;for(l=0;l<Y;l++){if(v=e[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[v.type]&&(P=this.options.extensions.renderers[v.type].call({parser:this},v),P!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(v.type))){s+=P||"";continue}switch(v.type){case"space":continue;case"hr":{s+=this.renderer.hr();continue}case"heading":{s+=this.renderer.heading(this.parseInline(v.tokens),v.depth,dc(this.parseInline(v.tokens,this.textRenderer)),this.slugger);continue}case"code":{s+=this.renderer.code(v.text,v.lang,v.escaped);continue}case"table":{for(p="",g="",C=v.header.length,L=0;L<C;L++)g+=this.renderer.tablecell(this.parseInline(v.header[L].tokens),{header:!0,align:v.align[L]});for(p+=this.renderer.tablerow(g),m="",C=v.rows.length,L=0;L<C;L++){for(f=v.rows[L],g="",d=f.length,c=0;c<d;c++)g+=this.renderer.tablecell(this.parseInline(f[c].tokens),{header:!1,align:v.align[c]});m+=this.renderer.tablerow(g)}s+=this.renderer.table(p,m);continue}case"blockquote":{m=this.parse(v.tokens),s+=this.renderer.blockquote(m);continue}case"list":{for(b=v.ordered,A=v.start,k=v.loose,C=v.items.length,m="",L=0;L<C;L++)N=v.items[L],I=N.checked,O=N.task,S="",N.task&&(B=this.renderer.checkbox(I),k?N.tokens.length>0&&N.tokens[0].type==="paragraph"?(N.tokens[0].text=B+" "+N.tokens[0].text,N.tokens[0].tokens&&N.tokens[0].tokens.length>0&&N.tokens[0].tokens[0].type==="text"&&(N.tokens[0].tokens[0].text=B+" "+N.tokens[0].tokens[0].text)):N.tokens.unshift({type:"text",text:B}):S+=B),S+=this.parse(N.tokens,k),m+=this.renderer.listitem(S,O,I);s+=this.renderer.list(m,b,A);continue}case"html":{s+=this.renderer.html(v.text);continue}case"paragraph":{s+=this.renderer.paragraph(this.parseInline(v.tokens));continue}case"text":{for(m=v.tokens?this.parseInline(v.tokens):v.text;l+1<Y&&e[l+1].type==="text";)v=e[++l],m+=`
74
74
  `+(v.tokens?this.parseInline(v.tokens):v.text);s+=n?this.renderer.paragraph(m):m;continue}default:{const n2='Token with "'+v.type+'" type was not found.';if(this.options.silent){console.error(n2);return}else throw new Error(n2)}}}return s}parseInline(e,n){n=n||this.renderer;let s="",l,L,c;const C=e.length;for(l=0;l<C;l++){if(L=e[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[L.type]&&(c=this.options.extensions.renderers[L.type].call({parser:this},L),c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(L.type))){s+=c||"";continue}switch(L.type){case"escape":{s+=n.text(L.text);break}case"html":{s+=n.html(L.text);break}case"link":{s+=n.link(L.href,L.title,this.parseInline(L.tokens,n));break}case"image":{s+=n.image(L.href,L.title,L.text);break}case"strong":{s+=n.strong(this.parseInline(L.tokens,n));break}case"em":{s+=n.em(this.parseInline(L.tokens,n));break}case"codespan":{s+=n.codespan(L.text);break}case"br":{s+=n.br();break}case"del":{s+=n.del(this.parseInline(L.tokens,n));break}case"text":{s+=n.text(L.text);break}default:{const d='Token with "'+L.type+'" type was not found.';if(this.options.silent){console.error(d);return}else throw new Error(d)}}}return s}}class Ue{constructor(e){this.options=e||f5}preprocess(e){return e}postprocess(e){return e}}d2(Ue,"passThroughHooks",new Set(["preprocess","postprocess"]));function yw(t,e,n){return s=>{if(s.message+=`
75
- Please report this to https://github.com/markedjs/marked.`,t){const l="<p>An error occurred:</p><pre>"+Y3(s.message+"",!0)+"</pre>";if(e)return Promise.resolve(l);if(n){n(null,l);return}return l}if(e)return Promise.reject(s);if(n){n(s);return}throw s}}function vc(t,e){return(n,s,l)=>{typeof s=="function"&&(l=s,s=null);const L={...s};s={...U2.defaults,...L};const c=yw(s.silent,s.async,l);if(typeof n>"u"||n===null)return c(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return c(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(vw(s),s.hooks&&(s.hooks.options=s),l){const C=s.highlight;let d;try{s.hooks&&(n=s.hooks.preprocess(n)),d=t(n,s)}catch(p){return c(p)}const f=function(p){let m;if(!p)try{s.walkTokens&&U2.walkTokens(d,s.walkTokens),m=e(d,s),s.hooks&&(m=s.hooks.postprocess(m))}catch(v){p=v}return s.highlight=C,p?c(p):l(null,m)};if(!C||C.length<3||(delete s.highlight,!d.length))return f();let g=0;U2.walkTokens(d,function(p){p.type==="code"&&(g++,setTimeout(()=>{C(p.text,p.lang,function(m,v){if(m)return f(m);v!=null&&v!==p.text&&(p.text=v,p.escaped=!0),g--,g===0&&f()})},0))}),g===0&&f();return}if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(n):n).then(C=>t(C,s)).then(C=>s.walkTokens?Promise.all(U2.walkTokens(C,s.walkTokens)).then(()=>C):C).then(C=>e(C,s)).then(C=>s.hooks?s.hooks.postprocess(C):C).catch(c);try{s.hooks&&(n=s.hooks.preprocess(n));const C=t(n,s);s.walkTokens&&U2.walkTokens(C,s.walkTokens);let d=e(C,s);return s.hooks&&(d=s.hooks.postprocess(d)),d}catch(C){return c(C)}}}function U2(t,e,n){return vc(M0.lex,_0.parse)(t,e,n)}U2.options=U2.setOptions=function(t){return U2.defaults={...U2.defaults,...t},aw(U2.defaults),U2},U2.getDefaults=Lc,U2.defaults=f5,U2.use=function(...t){const e=U2.defaults.extensions||{renderers:{},childTokens:{}};t.forEach(n=>{const s={...n};if(s.async=U2.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(l=>{if(!l.name)throw new Error("extension name required");if(l.renderer){const L=e.renderers[l.name];L?e.renderers[l.name]=function(...c){let C=l.renderer.apply(this,c);return C===!1&&(C=L.apply(this,c)),C}:e.renderers[l.name]=l.renderer}if(l.tokenizer){if(!l.level||l.level!=="block"&&l.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[l.level]?e[l.level].unshift(l.tokenizer):e[l.level]=[l.tokenizer],l.start&&(l.level==="block"?e.startBlock?e.startBlock.push(l.start):e.startBlock=[l.start]:l.level==="inline"&&(e.startInline?e.startInline.push(l.start):e.startInline=[l.start]))}l.childTokens&&(e.childTokens[l.name]=l.childTokens)}),s.extensions=e),n.renderer){const l=U2.defaults.renderer||new Zs;for(const L in n.renderer){const c=l[L];l[L]=(...C)=>{let d=n.renderer[L].apply(l,C);return d===!1&&(d=c.apply(l,C)),d}}s.renderer=l}if(n.tokenizer){const l=U2.defaults.tokenizer||new ks;for(const L in n.tokenizer){const c=l[L];l[L]=(...C)=>{let d=n.tokenizer[L].apply(l,C);return d===!1&&(d=c.apply(l,C)),d}}s.tokenizer=l}if(n.hooks){const l=U2.defaults.hooks||new Ue;for(const L in n.hooks){const c=l[L];Ue.passThroughHooks.has(L)?l[L]=C=>{if(U2.defaults.async)return Promise.resolve(n.hooks[L].call(l,C)).then(f=>c.call(l,f));const d=n.hooks[L].call(l,C);return c.call(l,d)}:l[L]=(...C)=>{let d=n.hooks[L].apply(l,C);return d===!1&&(d=c.apply(l,C)),d}}s.hooks=l}if(n.walkTokens){const l=U2.defaults.walkTokens;s.walkTokens=function(L){let c=[];return c.push(n.walkTokens.call(this,L)),l&&(c=c.concat(l.call(this,L))),c}}U2.setOptions(s)})},U2.walkTokens=function(t,e){let n=[];for(const s of t)switch(n=n.concat(e.call(U2,s)),s.type){case"table":{for(const l of s.header)n=n.concat(U2.walkTokens(l.tokens,e));for(const l of s.rows)for(const L of l)n=n.concat(U2.walkTokens(L.tokens,e));break}case"list":{n=n.concat(U2.walkTokens(s.items,e));break}default:U2.defaults.extensions&&U2.defaults.extensions.childTokens&&U2.defaults.extensions.childTokens[s.type]?U2.defaults.extensions.childTokens[s.type].forEach(function(l){n=n.concat(U2.walkTokens(s[l],e))}):s.tokens&&(n=n.concat(U2.walkTokens(s.tokens,e)))}return n},U2.parseInline=vc(M0.lexInline,_0.parseInline),U2.Parser=_0,U2.parser=_0.parse,U2.Renderer=Zs,U2.TextRenderer=xc,U2.Lexer=M0,U2.lexer=M0.lex,U2.Tokenizer=ks,U2.Slugger=wc,U2.Hooks=Ue,U2.parse=U2,U2.options,U2.setOptions,U2.use,U2.walkTokens,U2.parseInline,_0.parse,M0.lex;/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */const{entries:Mc,setPrototypeOf:_c,isFrozen:Rw,getPrototypeOf:bw,getOwnPropertyDescriptor:Aw}=Object;let{freeze:l4,seal:V4,create:Ts}=Object,{apply:Es,construct:Is}=typeof Reflect<"u"&&Reflect;l4||(l4=function(e){return e}),V4||(V4=function(e){return e}),Es||(Es=function(e,n){for(var s=arguments.length,l=new Array(s>2?s-2:0),L=2;L<s;L++)l[L-2]=arguments[L];return e.apply(n,l)}),Is||(Is=function(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),l=1;l<n;l++)s[l-1]=arguments[l];return new e(...s)});const He=a4(Array.prototype.forEach),Sw=a4(Array.prototype.lastIndexOf),yc=a4(Array.prototype.pop),S6=a4(Array.prototype.push),kw=a4(Array.prototype.splice),Pe=a4(String.prototype.toLowerCase),zs=a4(String.prototype.toString),Ns=a4(String.prototype.match),k6=a4(String.prototype.replace),Zw=a4(String.prototype.indexOf),Tw=a4(String.prototype.trim),a9=a4(Object.prototype.hasOwnProperty),r4=a4(RegExp.prototype.test),Z6=Ew(TypeError);function a4(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,s=new Array(n>1?n-1:0),l=1;l<n;l++)s[l-1]=arguments[l];return Es(t,e,s)}}function Ew(t){return function(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];return Is(t,n)}}function u1(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe;_c&&_c(t,null);let s=e.length;for(;s--;){let l=e[s];if(typeof l=="string"){const L=n(l);L!==l&&(Rw(e)||(e[s]=L),l=L)}t[l]=!0}return t}function Iw(t){for(let e=0;e<t.length;e++)a9(t,e)||(t[e]=null);return t}function _9(t){const e=Ts(null);for(const[n,s]of Mc(t))a9(t,n)&&(Array.isArray(s)?e[n]=Iw(s):s&&typeof s=="object"&&s.constructor===Object?e[n]=_9(s):e[n]=s);return e}function T6(t,e){for(;t!==null;){const s=Aw(t,e);if(s){if(s.get)return a4(s.get);if(typeof s.value=="function")return a4(s.value)}t=bw(t)}function n(){return null}return n}const Rc=l4(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Os=l4(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ds=l4(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),zw=l4(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Fs=l4(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Nw=l4(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),bc=l4(["#text"]),Ac=l4(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Bs=l4(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Sc=l4(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),We=l4(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ow=V4(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Dw=V4(/<%[\w\W]*|[\w\W]*%>/gm),Fw=V4(/\$\{[\w\W]*/gm),Bw=V4(/^data-[\-\w.\u00B7-\uFFFF]+$/),Uw=V4(/^aria-[\-\w]+$/),kc=V4(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Hw=V4(/^(?:\w+script|data):/i),Pw=V4(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Zc=V4(/^html$/i),Ww=V4(/^[a-z][.\w]*(-[.\w]+)+$/i);var Tc=Object.freeze({__proto__:null,ARIA_ATTR:Uw,ATTR_WHITESPACE:Pw,CUSTOM_ELEMENT:Ww,DATA_ATTR:Bw,DOCTYPE_NAME:Zc,ERB_EXPR:Dw,IS_ALLOWED_URI:kc,IS_SCRIPT_OR_DATA:Hw,MUSTACHE_EXPR:Ow,TMPLIT_EXPR:Fw});const E6={element:1,text:3,progressingInstruction:7,comment:8,document:9},jw=function(){return typeof window>"u"?null:window},$w=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const l="data-tt-policy-suffix";n&&n.hasAttribute(l)&&(s=n.getAttribute(l));const L="dompurify"+(s?"#"+s:"");try{return e.createPolicy(L,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+L+" could not be created."),null}},Ec=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ic(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jw();const e=O2=>Ic(O2);if(e.version="3.3.1",e.removed=[],!t||!t.document||t.document.nodeType!==E6.document||!t.Element)return e.isSupported=!1,e;let{document:n}=t;const s=n,l=s.currentScript,{DocumentFragment:L,HTMLTemplateElement:c,Node:C,Element:d,NodeFilter:f,NamedNodeMap:g=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:m,trustedTypes:v}=t,b=d.prototype,A=T6(b,"cloneNode"),k=T6(b,"remove"),S=T6(b,"nextSibling"),N=T6(b,"childNodes"),I=T6(b,"parentNode");if(typeof c=="function"){const O2=n.createElement("template");O2.content&&O2.content.ownerDocument&&(n=O2.content.ownerDocument)}let O,B="";const{implementation:P,createNodeIterator:Y,createDocumentFragment:n2,getElementsByTagName:l2}=n,{importNode:f2}=s;let c2=Ec();e.isSupported=typeof Mc=="function"&&typeof I=="function"&&P&&P.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:h2,ERB_EXPR:b2,TMPLIT_EXPR:V,DATA_ATTR:W,ARIA_ATTR:T,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:o2}=Tc;let{IS_ALLOWED_URI:g2}=Tc,Z=null;const F=u1({},[...Rc,...Os,...Ds,...Fs,...bc]);let E=null;const U=u1({},[...Ac,...Bs,...Sc,...We]);let K=Object.seal(Ts(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),m2=null,p2=null;const N2=Object.seal(Ts(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let P2=!0,K2=!0,f1=!1,M1=!0,G1=!1,V2=!0,y1=!1,i3=!1,K1=!1,M3=!1,d1=!1,G2=!1,h1=!0,s1=!1;const K3="user-content-";let I1=!0,z1=!1,i1={},Y1=null;const C3=u1({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let C4=null;const Q9=u1({},["audio","video","img","source","image","track"]);let N0=null;const D3=u1({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),m4="http://www.w3.org/1998/Math/MathML",p3="http://www.w3.org/2000/svg",m3="http://www.w3.org/1999/xhtml";let x3=m3,k5=!1,Q=null;const L2=u1({},[m4,p3,m3],zs);let M2=u1({},["mi","mo","mn","ms","mtext"]),D2=u1({},["annotation-xml"]);const g1=u1({},["title","style","font","a","script"]);let e1=null;const X1=["application/xhtml+xml","text/html"],R2="text/html";let _2=null,q2=null;const t1=n.createElement("form"),N1=function(D){return D instanceof RegExp||D instanceof Function},x4=function(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(q2&&q2===D)){if((!D||typeof D!="object")&&(D={}),D=_9(D),e1=X1.indexOf(D.PARSER_MEDIA_TYPE)===-1?R2:D.PARSER_MEDIA_TYPE,_2=e1==="application/xhtml+xml"?zs:Pe,Z=a9(D,"ALLOWED_TAGS")?u1({},D.ALLOWED_TAGS,_2):F,E=a9(D,"ALLOWED_ATTR")?u1({},D.ALLOWED_ATTR,_2):U,Q=a9(D,"ALLOWED_NAMESPACES")?u1({},D.ALLOWED_NAMESPACES,zs):L2,N0=a9(D,"ADD_URI_SAFE_ATTR")?u1(_9(D3),D.ADD_URI_SAFE_ATTR,_2):D3,C4=a9(D,"ADD_DATA_URI_TAGS")?u1(_9(Q9),D.ADD_DATA_URI_TAGS,_2):Q9,Y1=a9(D,"FORBID_CONTENTS")?u1({},D.FORBID_CONTENTS,_2):C3,m2=a9(D,"FORBID_TAGS")?u1({},D.FORBID_TAGS,_2):_9({}),p2=a9(D,"FORBID_ATTR")?u1({},D.FORBID_ATTR,_2):_9({}),i1=a9(D,"USE_PROFILES")?D.USE_PROFILES:!1,P2=D.ALLOW_ARIA_ATTR!==!1,K2=D.ALLOW_DATA_ATTR!==!1,f1=D.ALLOW_UNKNOWN_PROTOCOLS||!1,M1=D.ALLOW_SELF_CLOSE_IN_ATTR!==!1,G1=D.SAFE_FOR_TEMPLATES||!1,V2=D.SAFE_FOR_XML!==!1,y1=D.WHOLE_DOCUMENT||!1,M3=D.RETURN_DOM||!1,d1=D.RETURN_DOM_FRAGMENT||!1,G2=D.RETURN_TRUSTED_TYPE||!1,K1=D.FORCE_BODY||!1,h1=D.SANITIZE_DOM!==!1,s1=D.SANITIZE_NAMED_PROPS||!1,I1=D.KEEP_CONTENT!==!1,z1=D.IN_PLACE||!1,g2=D.ALLOWED_URI_REGEXP||kc,x3=D.NAMESPACE||m3,M2=D.MATHML_TEXT_INTEGRATION_POINTS||M2,D2=D.HTML_INTEGRATION_POINTS||D2,K=D.CUSTOM_ELEMENT_HANDLING||{},D.CUSTOM_ELEMENT_HANDLING&&N1(D.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(K.tagNameCheck=D.CUSTOM_ELEMENT_HANDLING.tagNameCheck),D.CUSTOM_ELEMENT_HANDLING&&N1(D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(K.attributeNameCheck=D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),D.CUSTOM_ELEMENT_HANDLING&&typeof D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(K.allowCustomizedBuiltInElements=D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),G1&&(K2=!1),d1&&(M3=!0),i1&&(Z=u1({},bc),E=[],i1.html===!0&&(u1(Z,Rc),u1(E,Ac)),i1.svg===!0&&(u1(Z,Os),u1(E,Bs),u1(E,We)),i1.svgFilters===!0&&(u1(Z,Ds),u1(E,Bs),u1(E,We)),i1.mathMl===!0&&(u1(Z,Fs),u1(E,Sc),u1(E,We))),D.ADD_TAGS&&(typeof D.ADD_TAGS=="function"?N2.tagCheck=D.ADD_TAGS:(Z===F&&(Z=_9(Z)),u1(Z,D.ADD_TAGS,_2))),D.ADD_ATTR&&(typeof D.ADD_ATTR=="function"?N2.attributeCheck=D.ADD_ATTR:(E===U&&(E=_9(E)),u1(E,D.ADD_ATTR,_2))),D.ADD_URI_SAFE_ATTR&&u1(N0,D.ADD_URI_SAFE_ATTR,_2),D.FORBID_CONTENTS&&(Y1===C3&&(Y1=_9(Y1)),u1(Y1,D.FORBID_CONTENTS,_2)),D.ADD_FORBID_CONTENTS&&(Y1===C3&&(Y1=_9(Y1)),u1(Y1,D.ADD_FORBID_CONTENTS,_2)),I1&&(Z["#text"]=!0),y1&&u1(Z,["html","head","body"]),Z.table&&(u1(Z,["tbody"]),delete m2.tbody),D.TRUSTED_TYPES_POLICY){if(typeof D.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z6('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof D.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z6('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=D.TRUSTED_TYPES_POLICY,B=O.createHTML("")}else O===void 0&&(O=$w(v,l)),O!==null&&typeof B=="string"&&(B=O.createHTML(""));l4&&l4(D),q2=D}},K9=u1({},[...Os,...Ds,...zw]),J9=u1({},[...Fs,...Nw]),b8=function(D){let x2=I(D);(!x2||!x2.tagName)&&(x2={namespaceURI:x3,tagName:"template"});const y2=Pe(D.tagName),b1=Pe(x2.tagName);return Q[D.namespaceURI]?D.namespaceURI===p3?x2.namespaceURI===m3?y2==="svg":x2.namespaceURI===m4?y2==="svg"&&(b1==="annotation-xml"||M2[b1]):!!K9[y2]:D.namespaceURI===m4?x2.namespaceURI===m3?y2==="math":x2.namespaceURI===p3?y2==="math"&&D2[b1]:!!J9[y2]:D.namespaceURI===m3?x2.namespaceURI===p3&&!D2[b1]||x2.namespaceURI===m4&&!M2[b1]?!1:!J9[y2]&&(g1[y2]||!K9[y2]):!!(e1==="application/xhtml+xml"&&Q[D.namespaceURI]):!1},J3=function(D){S6(e.removed,{element:D});try{I(D).removeChild(D)}catch{k(D)}},N4=function(D,x2){try{S6(e.removed,{attribute:x2.getAttributeNode(D),from:x2})}catch{S6(e.removed,{attribute:null,from:x2})}if(x2.removeAttribute(D),D==="is")if(M3||d1)try{J3(x2)}catch{}else try{x2.setAttribute(D,"")}catch{}},Z5=function(D){let x2=null,y2=null;if(K1)D="<remove></remove>"+D;else{const l1=Ns(D,/^[\r\n\t ]+/);y2=l1&&l1[0]}e1==="application/xhtml+xml"&&x3===m3&&(D='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+D+"</body></html>");const b1=O?O.createHTML(D):D;if(x3===m3)try{x2=new m().parseFromString(b1,e1)}catch{}if(!x2||!x2.documentElement){x2=P.createDocument(x3,"template",null);try{x2.documentElement.innerHTML=k5?B:b1}catch{}}const Q1=x2.body||x2.documentElement;return D&&y2&&Q1.insertBefore(n.createTextNode(y2),Q1.childNodes[0]||null),x3===m3?l2.call(x2,y1?"html":"body")[0]:y1?x2.documentElement:Q1},T5=function(D){return Y.call(D.ownerDocument||D,D,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},F3=function(D){return D instanceof p&&(typeof D.nodeName!="string"||typeof D.textContent!="string"||typeof D.removeChild!="function"||!(D.attributes instanceof g)||typeof D.removeAttribute!="function"||typeof D.setAttribute!="function"||typeof D.namespaceURI!="string"||typeof D.insertBefore!="function"||typeof D.hasChildNodes!="function")},u3=function(D){return typeof C=="function"&&D instanceof C};function B1(O2,D,x2){He(O2,y2=>{y2.call(e,D,x2,q2)})}const h9=function(D){let x2=null;if(B1(c2.beforeSanitizeElements,D,null),F3(D))return J3(D),!0;const y2=_2(D.nodeName);if(B1(c2.uponSanitizeElement,D,{tagName:y2,allowedTags:Z}),V2&&D.hasChildNodes()&&!u3(D.firstElementChild)&&r4(/<[/\w!]/g,D.innerHTML)&&r4(/<[/\w!]/g,D.textContent)||D.nodeType===E6.progressingInstruction||V2&&D.nodeType===E6.comment&&r4(/<[/\w]/g,D.data))return J3(D),!0;if(!(N2.tagCheck instanceof Function&&N2.tagCheck(y2))&&(!Z[y2]||m2[y2])){if(!m2[y2]&&E5(y2)&&(K.tagNameCheck instanceof RegExp&&r4(K.tagNameCheck,y2)||K.tagNameCheck instanceof Function&&K.tagNameCheck(y2)))return!1;if(I1&&!Y1[y2]){const b1=I(D)||D.parentNode,Q1=N(D)||D.childNodes;if(Q1&&b1){const l1=Q1.length;for(let Z3=l1-1;Z3>=0;--Z3){const B3=A(Q1[Z3],!0);B3.__removalCount=(D.__removalCount||0)+1,b1.insertBefore(B3,S(D))}}}return J3(D),!0}return D instanceof d&&!b8(D)||(y2==="noscript"||y2==="noembed"||y2==="noframes")&&r4(/<\/no(script|embed|frames)/i,D.innerHTML)?(J3(D),!0):(G1&&D.nodeType===E6.text&&(x2=D.textContent,He([h2,b2,V],b1=>{x2=k6(x2,b1," ")}),D.textContent!==x2&&(S6(e.removed,{element:D.cloneNode()}),D.textContent=x2)),B1(c2.afterSanitizeElements,D,null),!1)},E9=function(D,x2,y2){if(h1&&(x2==="id"||x2==="name")&&(y2 in n||y2 in t1))return!1;if(!(K2&&!p2[x2]&&r4(W,x2))){if(!(P2&&r4(T,x2))){if(!(N2.attributeCheck instanceof Function&&N2.attributeCheck(x2,D))){if(!E[x2]||p2[x2]){if(!(E5(D)&&(K.tagNameCheck instanceof RegExp&&r4(K.tagNameCheck,D)||K.tagNameCheck instanceof Function&&K.tagNameCheck(D))&&(K.attributeNameCheck instanceof RegExp&&r4(K.attributeNameCheck,x2)||K.attributeNameCheck instanceof Function&&K.attributeNameCheck(x2,D))||x2==="is"&&K.allowCustomizedBuiltInElements&&(K.tagNameCheck instanceof RegExp&&r4(K.tagNameCheck,y2)||K.tagNameCheck instanceof Function&&K.tagNameCheck(y2))))return!1}else if(!N0[x2]){if(!r4(g2,k6(y2,$,""))){if(!((x2==="src"||x2==="xlink:href"||x2==="href")&&D!=="script"&&Zw(y2,"data:")===0&&C4[D])){if(!(f1&&!r4(j,k6(y2,$,"")))){if(y2)return!1}}}}}}}return!0},E5=function(D){return D!=="annotation-xml"&&Ns(D,o2)},A8=function(D){B1(c2.beforeSanitizeAttributes,D,null);const{attributes:x2}=D;if(!x2||F3(D))return;const y2={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:E,forceKeepAttr:void 0};let b1=x2.length;for(;b1--;){const Q1=x2[b1],{name:l1,namespaceURI:Z3,value:B3}=Q1,e4=_2(l1),Q4=B3;let C2=l1==="value"?Q4:Tw(Q4);if(y2.attrName=e4,y2.attrValue=C2,y2.keepAttr=!0,y2.forceKeepAttr=void 0,B1(c2.uponSanitizeAttribute,D,y2),C2=y2.attrValue,s1&&(e4==="id"||e4==="name")&&(N4(l1,D),C2=K3+C2),V2&&r4(/((--!?|])>)|<\/(style|title|textarea)/i,C2)){N4(l1,D);continue}if(e4==="attributename"&&Ns(C2,"href")){N4(l1,D);continue}if(y2.forceKeepAttr)continue;if(!y2.keepAttr){N4(l1,D);continue}if(!M1&&r4(/\/>/i,C2)){N4(l1,D);continue}G1&&He([h2,b2,V],L1=>{C2=k6(C2,L1," ")});const Z2=_2(D.nodeName);if(!E9(Z2,e4,C2)){N4(l1,D);continue}if(O&&typeof v=="object"&&typeof v.getAttributeType=="function"&&!Z3)switch(v.getAttributeType(Z2,e4)){case"TrustedHTML":{C2=O.createHTML(C2);break}case"TrustedScriptURL":{C2=O.createScriptURL(C2);break}}if(C2!==Q4)try{Z3?D.setAttributeNS(Z3,l1,C2):D.setAttribute(l1,C2),F3(D)?J3(D):yc(e.removed)}catch{N4(l1,D)}}B1(c2.afterSanitizeAttributes,D,null)},S8=function O2(D){let x2=null;const y2=T5(D);for(B1(c2.beforeSanitizeShadowDOM,D,null);x2=y2.nextNode();)B1(c2.uponSanitizeShadowNode,x2,null),h9(x2),A8(x2),x2.content instanceof L&&O2(x2.content);B1(c2.afterSanitizeShadowDOM,D,null)};return e.sanitize=function(O2){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x2=null,y2=null,b1=null,Q1=null;if(k5=!O2,k5&&(O2="<!-->"),typeof O2!="string"&&!u3(O2))if(typeof O2.toString=="function"){if(O2=O2.toString(),typeof O2!="string")throw Z6("dirty is not a string, aborting")}else throw Z6("toString is not a function");if(!e.isSupported)return O2;if(i3||x4(D),e.removed=[],typeof O2=="string"&&(z1=!1),z1){if(O2.nodeName){const B3=_2(O2.nodeName);if(!Z[B3]||m2[B3])throw Z6("root node is forbidden and cannot be sanitized in-place")}}else if(O2 instanceof C)x2=Z5("<!---->"),y2=x2.ownerDocument.importNode(O2,!0),y2.nodeType===E6.element&&y2.nodeName==="BODY"||y2.nodeName==="HTML"?x2=y2:x2.appendChild(y2);else{if(!M3&&!G1&&!y1&&O2.indexOf("<")===-1)return O&&G2?O.createHTML(O2):O2;if(x2=Z5(O2),!x2)return M3?null:G2?B:""}x2&&K1&&J3(x2.firstChild);const l1=T5(z1?O2:x2);for(;b1=l1.nextNode();)h9(b1),A8(b1),b1.content instanceof L&&S8(b1.content);if(z1)return O2;if(M3){if(d1)for(Q1=n2.call(x2.ownerDocument);x2.firstChild;)Q1.appendChild(x2.firstChild);else Q1=x2;return(E.shadowroot||E.shadowrootmode)&&(Q1=f2.call(s,Q1,!0)),Q1}let Z3=y1?x2.outerHTML:x2.innerHTML;return y1&&Z["!doctype"]&&x2.ownerDocument&&x2.ownerDocument.doctype&&x2.ownerDocument.doctype.name&&r4(Zc,x2.ownerDocument.doctype.name)&&(Z3="<!DOCTYPE "+x2.ownerDocument.doctype.name+`>
75
+ Please report this to https://github.com/markedjs/marked.`,t){const l="<p>An error occurred:</p><pre>"+Y3(s.message+"",!0)+"</pre>";if(e)return Promise.resolve(l);if(n){n(null,l);return}return l}if(e)return Promise.reject(s);if(n){n(s);return}throw s}}function vc(t,e){return(n,s,l)=>{typeof s=="function"&&(l=s,s=null);const L={...s};s={...U2.defaults,...L};const c=yw(s.silent,s.async,l);if(typeof n>"u"||n===null)return c(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return c(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(vw(s),s.hooks&&(s.hooks.options=s),l){const C=s.highlight;let d;try{s.hooks&&(n=s.hooks.preprocess(n)),d=t(n,s)}catch(p){return c(p)}const f=function(p){let m;if(!p)try{s.walkTokens&&U2.walkTokens(d,s.walkTokens),m=e(d,s),s.hooks&&(m=s.hooks.postprocess(m))}catch(v){p=v}return s.highlight=C,p?c(p):l(null,m)};if(!C||C.length<3||(delete s.highlight,!d.length))return f();let g=0;U2.walkTokens(d,function(p){p.type==="code"&&(g++,setTimeout(()=>{C(p.text,p.lang,function(m,v){if(m)return f(m);v!=null&&v!==p.text&&(p.text=v,p.escaped=!0),g--,g===0&&f()})},0))}),g===0&&f();return}if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(n):n).then(C=>t(C,s)).then(C=>s.walkTokens?Promise.all(U2.walkTokens(C,s.walkTokens)).then(()=>C):C).then(C=>e(C,s)).then(C=>s.hooks?s.hooks.postprocess(C):C).catch(c);try{s.hooks&&(n=s.hooks.preprocess(n));const C=t(n,s);s.walkTokens&&U2.walkTokens(C,s.walkTokens);let d=e(C,s);return s.hooks&&(d=s.hooks.postprocess(d)),d}catch(C){return c(C)}}}function U2(t,e,n){return vc(v0.lex,M0.parse)(t,e,n)}U2.options=U2.setOptions=function(t){return U2.defaults={...U2.defaults,...t},aw(U2.defaults),U2},U2.getDefaults=Lc,U2.defaults=f5,U2.use=function(...t){const e=U2.defaults.extensions||{renderers:{},childTokens:{}};t.forEach(n=>{const s={...n};if(s.async=U2.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(l=>{if(!l.name)throw new Error("extension name required");if(l.renderer){const L=e.renderers[l.name];L?e.renderers[l.name]=function(...c){let C=l.renderer.apply(this,c);return C===!1&&(C=L.apply(this,c)),C}:e.renderers[l.name]=l.renderer}if(l.tokenizer){if(!l.level||l.level!=="block"&&l.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[l.level]?e[l.level].unshift(l.tokenizer):e[l.level]=[l.tokenizer],l.start&&(l.level==="block"?e.startBlock?e.startBlock.push(l.start):e.startBlock=[l.start]:l.level==="inline"&&(e.startInline?e.startInline.push(l.start):e.startInline=[l.start]))}l.childTokens&&(e.childTokens[l.name]=l.childTokens)}),s.extensions=e),n.renderer){const l=U2.defaults.renderer||new Zs;for(const L in n.renderer){const c=l[L];l[L]=(...C)=>{let d=n.renderer[L].apply(l,C);return d===!1&&(d=c.apply(l,C)),d}}s.renderer=l}if(n.tokenizer){const l=U2.defaults.tokenizer||new ks;for(const L in n.tokenizer){const c=l[L];l[L]=(...C)=>{let d=n.tokenizer[L].apply(l,C);return d===!1&&(d=c.apply(l,C)),d}}s.tokenizer=l}if(n.hooks){const l=U2.defaults.hooks||new Ue;for(const L in n.hooks){const c=l[L];Ue.passThroughHooks.has(L)?l[L]=C=>{if(U2.defaults.async)return Promise.resolve(n.hooks[L].call(l,C)).then(f=>c.call(l,f));const d=n.hooks[L].call(l,C);return c.call(l,d)}:l[L]=(...C)=>{let d=n.hooks[L].apply(l,C);return d===!1&&(d=c.apply(l,C)),d}}s.hooks=l}if(n.walkTokens){const l=U2.defaults.walkTokens;s.walkTokens=function(L){let c=[];return c.push(n.walkTokens.call(this,L)),l&&(c=c.concat(l.call(this,L))),c}}U2.setOptions(s)})},U2.walkTokens=function(t,e){let n=[];for(const s of t)switch(n=n.concat(e.call(U2,s)),s.type){case"table":{for(const l of s.header)n=n.concat(U2.walkTokens(l.tokens,e));for(const l of s.rows)for(const L of l)n=n.concat(U2.walkTokens(L.tokens,e));break}case"list":{n=n.concat(U2.walkTokens(s.items,e));break}default:U2.defaults.extensions&&U2.defaults.extensions.childTokens&&U2.defaults.extensions.childTokens[s.type]?U2.defaults.extensions.childTokens[s.type].forEach(function(l){n=n.concat(U2.walkTokens(s[l],e))}):s.tokens&&(n=n.concat(U2.walkTokens(s.tokens,e)))}return n},U2.parseInline=vc(v0.lexInline,M0.parseInline),U2.Parser=M0,U2.parser=M0.parse,U2.Renderer=Zs,U2.TextRenderer=xc,U2.Lexer=v0,U2.lexer=v0.lex,U2.Tokenizer=ks,U2.Slugger=wc,U2.Hooks=Ue,U2.parse=U2,U2.options,U2.setOptions,U2.use,U2.walkTokens,U2.parseInline,M0.parse,v0.lex;/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */const{entries:Mc,setPrototypeOf:_c,isFrozen:Rw,getPrototypeOf:bw,getOwnPropertyDescriptor:Aw}=Object;let{freeze:l4,seal:V4,create:Ts}=Object,{apply:Es,construct:Is}=typeof Reflect<"u"&&Reflect;l4||(l4=function(e){return e}),V4||(V4=function(e){return e}),Es||(Es=function(e,n){for(var s=arguments.length,l=new Array(s>2?s-2:0),L=2;L<s;L++)l[L-2]=arguments[L];return e.apply(n,l)}),Is||(Is=function(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),l=1;l<n;l++)s[l-1]=arguments[l];return new e(...s)});const He=a4(Array.prototype.forEach),Sw=a4(Array.prototype.lastIndexOf),yc=a4(Array.prototype.pop),S6=a4(Array.prototype.push),kw=a4(Array.prototype.splice),Pe=a4(String.prototype.toLowerCase),zs=a4(String.prototype.toString),Ns=a4(String.prototype.match),k6=a4(String.prototype.replace),Zw=a4(String.prototype.indexOf),Tw=a4(String.prototype.trim),a9=a4(Object.prototype.hasOwnProperty),r4=a4(RegExp.prototype.test),Z6=Ew(TypeError);function a4(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,s=new Array(n>1?n-1:0),l=1;l<n;l++)s[l-1]=arguments[l];return Es(t,e,s)}}function Ew(t){return function(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];return Is(t,n)}}function u1(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe;_c&&_c(t,null);let s=e.length;for(;s--;){let l=e[s];if(typeof l=="string"){const L=n(l);L!==l&&(Rw(e)||(e[s]=L),l=L)}t[l]=!0}return t}function Iw(t){for(let e=0;e<t.length;e++)a9(t,e)||(t[e]=null);return t}function _9(t){const e=Ts(null);for(const[n,s]of Mc(t))a9(t,n)&&(Array.isArray(s)?e[n]=Iw(s):s&&typeof s=="object"&&s.constructor===Object?e[n]=_9(s):e[n]=s);return e}function T6(t,e){for(;t!==null;){const s=Aw(t,e);if(s){if(s.get)return a4(s.get);if(typeof s.value=="function")return a4(s.value)}t=bw(t)}function n(){return null}return n}const Rc=l4(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Os=l4(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ds=l4(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),zw=l4(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Fs=l4(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Nw=l4(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),bc=l4(["#text"]),Ac=l4(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Bs=l4(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Sc=l4(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),We=l4(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ow=V4(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Dw=V4(/<%[\w\W]*|[\w\W]*%>/gm),Fw=V4(/\$\{[\w\W]*/gm),Bw=V4(/^data-[\-\w.\u00B7-\uFFFF]+$/),Uw=V4(/^aria-[\-\w]+$/),kc=V4(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Hw=V4(/^(?:\w+script|data):/i),Pw=V4(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Zc=V4(/^html$/i),Ww=V4(/^[a-z][.\w]*(-[.\w]+)+$/i);var Tc=Object.freeze({__proto__:null,ARIA_ATTR:Uw,ATTR_WHITESPACE:Pw,CUSTOM_ELEMENT:Ww,DATA_ATTR:Bw,DOCTYPE_NAME:Zc,ERB_EXPR:Dw,IS_ALLOWED_URI:kc,IS_SCRIPT_OR_DATA:Hw,MUSTACHE_EXPR:Ow,TMPLIT_EXPR:Fw});const E6={element:1,text:3,progressingInstruction:7,comment:8,document:9},jw=function(){return typeof window>"u"?null:window},$w=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const l="data-tt-policy-suffix";n&&n.hasAttribute(l)&&(s=n.getAttribute(l));const L="dompurify"+(s?"#"+s:"");try{return e.createPolicy(L,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+L+" could not be created."),null}},Ec=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ic(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jw();const e=O2=>Ic(O2);if(e.version="3.3.1",e.removed=[],!t||!t.document||t.document.nodeType!==E6.document||!t.Element)return e.isSupported=!1,e;let{document:n}=t;const s=n,l=s.currentScript,{DocumentFragment:L,HTMLTemplateElement:c,Node:C,Element:d,NodeFilter:f,NamedNodeMap:g=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:m,trustedTypes:v}=t,b=d.prototype,A=T6(b,"cloneNode"),k=T6(b,"remove"),S=T6(b,"nextSibling"),N=T6(b,"childNodes"),I=T6(b,"parentNode");if(typeof c=="function"){const O2=n.createElement("template");O2.content&&O2.content.ownerDocument&&(n=O2.content.ownerDocument)}let O,B="";const{implementation:P,createNodeIterator:Y,createDocumentFragment:n2,getElementsByTagName:o2}=n,{importNode:f2}=s;let c2=Ec();e.isSupported=typeof Mc=="function"&&typeof I=="function"&&P&&P.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:h2,ERB_EXPR:b2,TMPLIT_EXPR:V,DATA_ATTR:W,ARIA_ATTR:T,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:l2}=Tc;let{IS_ALLOWED_URI:g2}=Tc,Z=null;const F=u1({},[...Rc,...Os,...Ds,...Fs,...bc]);let E=null;const H=u1({},[...Ac,...Bs,...Sc,...We]);let K=Object.seal(Ts(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),m2=null,p2=null;const N2=Object.seal(Ts(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let P2=!0,K2=!0,f1=!1,M1=!0,G1=!1,V2=!0,y1=!1,i3=!1,K1=!1,M3=!1,d1=!1,G2=!1,h1=!0,s1=!1;const K3="user-content-";let I1=!0,z1=!1,i1={},Y1=null;const C3=u1({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let C4=null;const Q9=u1({},["audio","video","img","source","image","track"]);let z0=null;const D3=u1({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),m4="http://www.w3.org/1998/Math/MathML",p3="http://www.w3.org/2000/svg",m3="http://www.w3.org/1999/xhtml";let x3=m3,k5=!1,Q=null;const L2=u1({},[m4,p3,m3],zs);let M2=u1({},["mi","mo","mn","ms","mtext"]),D2=u1({},["annotation-xml"]);const g1=u1({},["title","style","font","a","script"]);let e1=null;const X1=["application/xhtml+xml","text/html"],R2="text/html";let _2=null,q2=null;const t1=n.createElement("form"),N1=function(D){return D instanceof RegExp||D instanceof Function},x4=function(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(q2&&q2===D)){if((!D||typeof D!="object")&&(D={}),D=_9(D),e1=X1.indexOf(D.PARSER_MEDIA_TYPE)===-1?R2:D.PARSER_MEDIA_TYPE,_2=e1==="application/xhtml+xml"?zs:Pe,Z=a9(D,"ALLOWED_TAGS")?u1({},D.ALLOWED_TAGS,_2):F,E=a9(D,"ALLOWED_ATTR")?u1({},D.ALLOWED_ATTR,_2):H,Q=a9(D,"ALLOWED_NAMESPACES")?u1({},D.ALLOWED_NAMESPACES,zs):L2,z0=a9(D,"ADD_URI_SAFE_ATTR")?u1(_9(D3),D.ADD_URI_SAFE_ATTR,_2):D3,C4=a9(D,"ADD_DATA_URI_TAGS")?u1(_9(Q9),D.ADD_DATA_URI_TAGS,_2):Q9,Y1=a9(D,"FORBID_CONTENTS")?u1({},D.FORBID_CONTENTS,_2):C3,m2=a9(D,"FORBID_TAGS")?u1({},D.FORBID_TAGS,_2):_9({}),p2=a9(D,"FORBID_ATTR")?u1({},D.FORBID_ATTR,_2):_9({}),i1=a9(D,"USE_PROFILES")?D.USE_PROFILES:!1,P2=D.ALLOW_ARIA_ATTR!==!1,K2=D.ALLOW_DATA_ATTR!==!1,f1=D.ALLOW_UNKNOWN_PROTOCOLS||!1,M1=D.ALLOW_SELF_CLOSE_IN_ATTR!==!1,G1=D.SAFE_FOR_TEMPLATES||!1,V2=D.SAFE_FOR_XML!==!1,y1=D.WHOLE_DOCUMENT||!1,M3=D.RETURN_DOM||!1,d1=D.RETURN_DOM_FRAGMENT||!1,G2=D.RETURN_TRUSTED_TYPE||!1,K1=D.FORCE_BODY||!1,h1=D.SANITIZE_DOM!==!1,s1=D.SANITIZE_NAMED_PROPS||!1,I1=D.KEEP_CONTENT!==!1,z1=D.IN_PLACE||!1,g2=D.ALLOWED_URI_REGEXP||kc,x3=D.NAMESPACE||m3,M2=D.MATHML_TEXT_INTEGRATION_POINTS||M2,D2=D.HTML_INTEGRATION_POINTS||D2,K=D.CUSTOM_ELEMENT_HANDLING||{},D.CUSTOM_ELEMENT_HANDLING&&N1(D.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(K.tagNameCheck=D.CUSTOM_ELEMENT_HANDLING.tagNameCheck),D.CUSTOM_ELEMENT_HANDLING&&N1(D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(K.attributeNameCheck=D.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),D.CUSTOM_ELEMENT_HANDLING&&typeof D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(K.allowCustomizedBuiltInElements=D.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),G1&&(K2=!1),d1&&(M3=!0),i1&&(Z=u1({},bc),E=[],i1.html===!0&&(u1(Z,Rc),u1(E,Ac)),i1.svg===!0&&(u1(Z,Os),u1(E,Bs),u1(E,We)),i1.svgFilters===!0&&(u1(Z,Ds),u1(E,Bs),u1(E,We)),i1.mathMl===!0&&(u1(Z,Fs),u1(E,Sc),u1(E,We))),D.ADD_TAGS&&(typeof D.ADD_TAGS=="function"?N2.tagCheck=D.ADD_TAGS:(Z===F&&(Z=_9(Z)),u1(Z,D.ADD_TAGS,_2))),D.ADD_ATTR&&(typeof D.ADD_ATTR=="function"?N2.attributeCheck=D.ADD_ATTR:(E===H&&(E=_9(E)),u1(E,D.ADD_ATTR,_2))),D.ADD_URI_SAFE_ATTR&&u1(z0,D.ADD_URI_SAFE_ATTR,_2),D.FORBID_CONTENTS&&(Y1===C3&&(Y1=_9(Y1)),u1(Y1,D.FORBID_CONTENTS,_2)),D.ADD_FORBID_CONTENTS&&(Y1===C3&&(Y1=_9(Y1)),u1(Y1,D.ADD_FORBID_CONTENTS,_2)),I1&&(Z["#text"]=!0),y1&&u1(Z,["html","head","body"]),Z.table&&(u1(Z,["tbody"]),delete m2.tbody),D.TRUSTED_TYPES_POLICY){if(typeof D.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z6('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof D.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z6('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=D.TRUSTED_TYPES_POLICY,B=O.createHTML("")}else O===void 0&&(O=$w(v,l)),O!==null&&typeof B=="string"&&(B=O.createHTML(""));l4&&l4(D),q2=D}},K9=u1({},[...Os,...Ds,...zw]),J9=u1({},[...Fs,...Nw]),b8=function(D){let x2=I(D);(!x2||!x2.tagName)&&(x2={namespaceURI:x3,tagName:"template"});const y2=Pe(D.tagName),b1=Pe(x2.tagName);return Q[D.namespaceURI]?D.namespaceURI===p3?x2.namespaceURI===m3?y2==="svg":x2.namespaceURI===m4?y2==="svg"&&(b1==="annotation-xml"||M2[b1]):!!K9[y2]:D.namespaceURI===m4?x2.namespaceURI===m3?y2==="math":x2.namespaceURI===p3?y2==="math"&&D2[b1]:!!J9[y2]:D.namespaceURI===m3?x2.namespaceURI===p3&&!D2[b1]||x2.namespaceURI===m4&&!M2[b1]?!1:!J9[y2]&&(g1[y2]||!K9[y2]):!!(e1==="application/xhtml+xml"&&Q[D.namespaceURI]):!1},J3=function(D){S6(e.removed,{element:D});try{I(D).removeChild(D)}catch{k(D)}},N4=function(D,x2){try{S6(e.removed,{attribute:x2.getAttributeNode(D),from:x2})}catch{S6(e.removed,{attribute:null,from:x2})}if(x2.removeAttribute(D),D==="is")if(M3||d1)try{J3(x2)}catch{}else try{x2.setAttribute(D,"")}catch{}},Z5=function(D){let x2=null,y2=null;if(K1)D="<remove></remove>"+D;else{const l1=Ns(D,/^[\r\n\t ]+/);y2=l1&&l1[0]}e1==="application/xhtml+xml"&&x3===m3&&(D='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+D+"</body></html>");const b1=O?O.createHTML(D):D;if(x3===m3)try{x2=new m().parseFromString(b1,e1)}catch{}if(!x2||!x2.documentElement){x2=P.createDocument(x3,"template",null);try{x2.documentElement.innerHTML=k5?B:b1}catch{}}const Q1=x2.body||x2.documentElement;return D&&y2&&Q1.insertBefore(n.createTextNode(y2),Q1.childNodes[0]||null),x3===m3?o2.call(x2,y1?"html":"body")[0]:y1?x2.documentElement:Q1},T5=function(D){return Y.call(D.ownerDocument||D,D,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},F3=function(D){return D instanceof p&&(typeof D.nodeName!="string"||typeof D.textContent!="string"||typeof D.removeChild!="function"||!(D.attributes instanceof g)||typeof D.removeAttribute!="function"||typeof D.setAttribute!="function"||typeof D.namespaceURI!="string"||typeof D.insertBefore!="function"||typeof D.hasChildNodes!="function")},u3=function(D){return typeof C=="function"&&D instanceof C};function B1(O2,D,x2){He(O2,y2=>{y2.call(e,D,x2,q2)})}const h9=function(D){let x2=null;if(B1(c2.beforeSanitizeElements,D,null),F3(D))return J3(D),!0;const y2=_2(D.nodeName);if(B1(c2.uponSanitizeElement,D,{tagName:y2,allowedTags:Z}),V2&&D.hasChildNodes()&&!u3(D.firstElementChild)&&r4(/<[/\w!]/g,D.innerHTML)&&r4(/<[/\w!]/g,D.textContent)||D.nodeType===E6.progressingInstruction||V2&&D.nodeType===E6.comment&&r4(/<[/\w]/g,D.data))return J3(D),!0;if(!(N2.tagCheck instanceof Function&&N2.tagCheck(y2))&&(!Z[y2]||m2[y2])){if(!m2[y2]&&E5(y2)&&(K.tagNameCheck instanceof RegExp&&r4(K.tagNameCheck,y2)||K.tagNameCheck instanceof Function&&K.tagNameCheck(y2)))return!1;if(I1&&!Y1[y2]){const b1=I(D)||D.parentNode,Q1=N(D)||D.childNodes;if(Q1&&b1){const l1=Q1.length;for(let Z3=l1-1;Z3>=0;--Z3){const B3=A(Q1[Z3],!0);B3.__removalCount=(D.__removalCount||0)+1,b1.insertBefore(B3,S(D))}}}return J3(D),!0}return D instanceof d&&!b8(D)||(y2==="noscript"||y2==="noembed"||y2==="noframes")&&r4(/<\/no(script|embed|frames)/i,D.innerHTML)?(J3(D),!0):(G1&&D.nodeType===E6.text&&(x2=D.textContent,He([h2,b2,V],b1=>{x2=k6(x2,b1," ")}),D.textContent!==x2&&(S6(e.removed,{element:D.cloneNode()}),D.textContent=x2)),B1(c2.afterSanitizeElements,D,null),!1)},E9=function(D,x2,y2){if(h1&&(x2==="id"||x2==="name")&&(y2 in n||y2 in t1))return!1;if(!(K2&&!p2[x2]&&r4(W,x2))){if(!(P2&&r4(T,x2))){if(!(N2.attributeCheck instanceof Function&&N2.attributeCheck(x2,D))){if(!E[x2]||p2[x2]){if(!(E5(D)&&(K.tagNameCheck instanceof RegExp&&r4(K.tagNameCheck,D)||K.tagNameCheck instanceof Function&&K.tagNameCheck(D))&&(K.attributeNameCheck instanceof RegExp&&r4(K.attributeNameCheck,x2)||K.attributeNameCheck instanceof Function&&K.attributeNameCheck(x2,D))||x2==="is"&&K.allowCustomizedBuiltInElements&&(K.tagNameCheck instanceof RegExp&&r4(K.tagNameCheck,y2)||K.tagNameCheck instanceof Function&&K.tagNameCheck(y2))))return!1}else if(!z0[x2]){if(!r4(g2,k6(y2,$,""))){if(!((x2==="src"||x2==="xlink:href"||x2==="href")&&D!=="script"&&Zw(y2,"data:")===0&&C4[D])){if(!(f1&&!r4(j,k6(y2,$,"")))){if(y2)return!1}}}}}}}return!0},E5=function(D){return D!=="annotation-xml"&&Ns(D,l2)},A8=function(D){B1(c2.beforeSanitizeAttributes,D,null);const{attributes:x2}=D;if(!x2||F3(D))return;const y2={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:E,forceKeepAttr:void 0};let b1=x2.length;for(;b1--;){const Q1=x2[b1],{name:l1,namespaceURI:Z3,value:B3}=Q1,e4=_2(l1),Q4=B3;let C2=l1==="value"?Q4:Tw(Q4);if(y2.attrName=e4,y2.attrValue=C2,y2.keepAttr=!0,y2.forceKeepAttr=void 0,B1(c2.uponSanitizeAttribute,D,y2),C2=y2.attrValue,s1&&(e4==="id"||e4==="name")&&(N4(l1,D),C2=K3+C2),V2&&r4(/((--!?|])>)|<\/(style|title|textarea)/i,C2)){N4(l1,D);continue}if(e4==="attributename"&&Ns(C2,"href")){N4(l1,D);continue}if(y2.forceKeepAttr)continue;if(!y2.keepAttr){N4(l1,D);continue}if(!M1&&r4(/\/>/i,C2)){N4(l1,D);continue}G1&&He([h2,b2,V],L1=>{C2=k6(C2,L1," ")});const Z2=_2(D.nodeName);if(!E9(Z2,e4,C2)){N4(l1,D);continue}if(O&&typeof v=="object"&&typeof v.getAttributeType=="function"&&!Z3)switch(v.getAttributeType(Z2,e4)){case"TrustedHTML":{C2=O.createHTML(C2);break}case"TrustedScriptURL":{C2=O.createScriptURL(C2);break}}if(C2!==Q4)try{Z3?D.setAttributeNS(Z3,l1,C2):D.setAttribute(l1,C2),F3(D)?J3(D):yc(e.removed)}catch{N4(l1,D)}}B1(c2.afterSanitizeAttributes,D,null)},S8=function O2(D){let x2=null;const y2=T5(D);for(B1(c2.beforeSanitizeShadowDOM,D,null);x2=y2.nextNode();)B1(c2.uponSanitizeShadowNode,x2,null),h9(x2),A8(x2),x2.content instanceof L&&O2(x2.content);B1(c2.afterSanitizeShadowDOM,D,null)};return e.sanitize=function(O2){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x2=null,y2=null,b1=null,Q1=null;if(k5=!O2,k5&&(O2="<!-->"),typeof O2!="string"&&!u3(O2))if(typeof O2.toString=="function"){if(O2=O2.toString(),typeof O2!="string")throw Z6("dirty is not a string, aborting")}else throw Z6("toString is not a function");if(!e.isSupported)return O2;if(i3||x4(D),e.removed=[],typeof O2=="string"&&(z1=!1),z1){if(O2.nodeName){const B3=_2(O2.nodeName);if(!Z[B3]||m2[B3])throw Z6("root node is forbidden and cannot be sanitized in-place")}}else if(O2 instanceof C)x2=Z5("<!---->"),y2=x2.ownerDocument.importNode(O2,!0),y2.nodeType===E6.element&&y2.nodeName==="BODY"||y2.nodeName==="HTML"?x2=y2:x2.appendChild(y2);else{if(!M3&&!G1&&!y1&&O2.indexOf("<")===-1)return O&&G2?O.createHTML(O2):O2;if(x2=Z5(O2),!x2)return M3?null:G2?B:""}x2&&K1&&J3(x2.firstChild);const l1=T5(z1?O2:x2);for(;b1=l1.nextNode();)h9(b1),A8(b1),b1.content instanceof L&&S8(b1.content);if(z1)return O2;if(M3){if(d1)for(Q1=n2.call(x2.ownerDocument);x2.firstChild;)Q1.appendChild(x2.firstChild);else Q1=x2;return(E.shadowroot||E.shadowrootmode)&&(Q1=f2.call(s,Q1,!0)),Q1}let Z3=y1?x2.outerHTML:x2.innerHTML;return y1&&Z["!doctype"]&&x2.ownerDocument&&x2.ownerDocument.doctype&&x2.ownerDocument.doctype.name&&r4(Zc,x2.ownerDocument.doctype.name)&&(Z3="<!DOCTYPE "+x2.ownerDocument.doctype.name+`>
76
76
  `+Z3),G1&&He([h2,b2,V],B3=>{Z3=k6(Z3,B3," ")}),O&&G2?O.createHTML(Z3):Z3},e.setConfig=function(){let O2=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};x4(O2),i3=!0},e.clearConfig=function(){q2=null,i3=!1},e.isValidAttribute=function(O2,D,x2){q2||x4({});const y2=_2(O2),b1=_2(D);return E9(y2,b1,x2)},e.addHook=function(O2,D){typeof D=="function"&&S6(c2[O2],D)},e.removeHook=function(O2,D){if(D!==void 0){const x2=Sw(c2[O2],D);return x2===-1?void 0:kw(c2[O2],x2,1)[0]}return yc(c2[O2])},e.removeHooks=function(O2){c2[O2]=[]},e.removeAllHooks=function(){c2=Ec()},e}var zc=Ic();const Vw=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],Gw=["italic","oblique"],qw=["bold","bolder","lighter"],Yw=["underline","overline","line-through"],I6=t=>{const e={},n=[];return t.forEach(s=>{switch(!0){case Vw.includes(s):e.color=s;break;case Gw.includes(s):e.fontStyle=s;break;case qw.includes(s):e.fontWeight=s;break;case Yw.includes(s):e.textDecoration=s;break;default:n.push(s)}}),{textStyle:e,classNames:n}};function Xw(t){const e={"<>":new Set,"()":new Set,"[]":new Set},n=/<([^>]*)>|\(([^)]*)\)|\[([^\]]*)\]|([^<>()[\]\s]+)/g;let s,l;for(;s=n.exec(t);){if(s[4]){l!==void 0&&(l=s.index);break}l=s.index+s[0].length,s[1]&&s[1].split(",").forEach(L=>e["<>"].add(L.trim())),s[2]&&s[2].split(",").forEach(L=>e["()"].add(L.trim())),s[3]&&s[3].split(",").forEach(L=>e["[]"].add(L.trim()))}return[Array.from(e["<>"]),Array.from(e["()"]),Array.from(e["[]"]),t.slice(l)]}class Us{constructor(e){d2(this,"text","");d2(this,"classNames",[]);d2(this,"textStyle",{});d2(this,"commentStyle",{});d2(this,"messageStyle",{});d2(this,"commentClassNames",[]);d2(this,"messageClassNames",[]);const n=e.trim().split(`
77
77
  `),s=n[n.length-1],[l,L,c,C]=Xw(s),{textStyle:d,classNames:f}=I6(l),{textStyle:g,classNames:p}=I6(L),{textStyle:m,classNames:v}=I6(c);this.text=(n.slice(0,n.length-1).join(`
78
78
  `)+`
79
79
  `+C).trim(),this.textStyle={...m,...d,...g},this.classNames=[...v,...f,...p],this.commentStyle={...m,...d},this.messageStyle={...m,...g},this.commentClassNames=[...v,...f],this.messageClassNames=[...v,...p]}}const Qw={gfm:!0,breaks:!0};class Kw{measure(e){if(!e||!e.trim())return 0;const n=new Us(e),s=zc.sanitize((n==null?void 0:n.text)&&U2.parse(n==null?void 0:n.text));return U2.lexer(s,Qw).length?e.trim().split(`
80
- `).length*20:0}}class g5 extends ac{get metrics(){return this.runtime.metrics}measureComment(e=this.context){return!(e!=null&&e.getComment)||!e.getComment()?0:new Kw().measure(e.getComment())}resolveFragmentOrigin(e){try{return(W9(this.context)||[])[0]||e}catch(n){return console.warn("Failed to resolve fragment origin",n),e}}findLeftParticipant(e,n){if(!e)return;const s=W9(e)||[];return this.runtime.participants.find(L=>s.includes(L))||s[0]||n||void 0}measureOccurrence(e,n,s,l=24,L=1){var p,m,v;const c=(v=(m=(p=e==null?void 0:e.braceBlock)==null?void 0:p.call(e))==null?void 0:m.block)==null?void 0:v.call(m);if(!c)return l;const C=this.metrics.statementMarginY-L,d=n-C,g=this.layoutBlock(c,s||this.runtime.originParticipant,d)-d-C;return Math.max(l,g)}isRootLevelStatement(e){return(e==null?void 0:e.parentCtx)===this.runtime.rootBlock}isFirstStatement(e){var l;const n=e==null?void 0:e.parentCtx,s=((l=n==null?void 0:n.stat)==null?void 0:l.call(n))||[];return s.length>0&&s[0]===e}altHasMultipleBranches(e){var L,c;if(typeof(e==null?void 0:e.alt)!="function")return!1;const n=e.alt();if(!n)return!1;const s=((L=n==null?void 0:n.elseIfBlock)==null?void 0:L.call(n))||[],l=!!((c=n==null?void 0:n.elseBlock)!=null&&c.call(n));return s.length>0||l}}class Jw extends g5{constructor(n,s,l){super(n,l);d2(this,"kind","async");this.asyncMessage=s}measure(n,s){var g,p,m,v,b,A,k;const l=this.asyncMessage,L=this.measureComment(l),c=((g=l==null?void 0:l.From)==null?void 0:g.call(l))||((p=l==null?void 0:l.ProvidedFrom)==null?void 0:p.call(l))||((m=l==null?void 0:l.Origin)==null?void 0:m.call(l))||s,C=((v=l==null?void 0:l.Owner)==null?void 0:v.call(l))||((k=(A=(b=l==null?void 0:l.to)==null?void 0:b.call(l))==null?void 0:A.getFormattedText)==null?void 0:k.call(A))||c;return{top:n,height:L+(c===C?44:16),kind:this.kind}}}const ev=40;class tv extends g5{constructor(n,s,l){super(n,l);d2(this,"kind","creation");this.creation=s}measure(n,s){var g,p,m,v,b,A,k,S;const l=((p=(g=this.creation)==null?void 0:g.Owner)==null?void 0:p.call(g))||s,L=this.measureComment(this.creation);l&&this.runtime.updateCreationTop(l,n+L);let c=n+L+ev;const C=(A=(b=(v=(m=this.creation)==null?void 0:m.braceBlock)==null?void 0:v.call(m))==null?void 0:b.block)==null?void 0:A.call(b);if(C){const N=this.findLeftParticipant(this.creation,s)||s;c=this.layoutBlock(C,N,c,this.kind),c+=2}else c+=22;((S=(k=this.creation)==null?void 0:k.Assignment)==null?void 0:S.call(k))&&(a3.info(`creation::assignment::${l}`),c+=12);const f=c-n;return{top:n,height:f,kind:this.kind}}}class nv extends g5{constructor(){super(...arguments);d2(this,"kind","divider")}measure(n){return{top:n,height:40,kind:this.kind}}}class iv extends g5{constructor(){super(...arguments);d2(this,"kind","empty")}measure(n){return{top:n,height:0,kind:this.kind}}}class je extends g5{beginFragment(e,n){const s=this.measureComment(e),l=this.metrics.fragmentHeaderHeight;return{cursor:n+s+l,commentHeight:s,headerHeight:l}}finalizeFragment(e,n){return n+=this.metrics.fragmentPaddingBottom,{top:e,height:n-e}}}class sv extends je{constructor(n,s,l){super(n,l);d2(this,"kind","alt");this.alt=s}measure(n,s){var f,g,p,m,v,b,A,k,S,N,I,O;const l=this.findLeftParticipant(this.alt,s)||s,L=this.measureComment(this.alt);let c=n+1+this.metrics.fragmentHeaderHeight+L;const C=(g=(f=this.alt)==null?void 0:f.ifBlock)==null?void 0:g.call(f);C&&(c+=20,c=this.layoutBlock((p=C.braceBlock())==null?void 0:p.block(),l,c)),(b=(v=(m=this.alt)==null?void 0:m.elseIfBlock)==null?void 0:v.call(m))==null||b.forEach(B=>{var P,Y,n2;c+=20,c+=8,c+=1,c=this.layoutBlock((n2=(Y=(P=B==null?void 0:B.braceBlock)==null?void 0:P.call(B))==null?void 0:Y.block)==null?void 0:n2.call(Y),l,c)});const d=(O=(I=(N=(S=(k=(A=this.alt)==null?void 0:A.elseBlock)==null?void 0:k.call(A))==null?void 0:S.braceBlock)==null?void 0:N.call(S))==null?void 0:I.block)==null?void 0:O.call(I);return d&&(c+=20,c+=8,c+=1,c=this.layoutBlock(d,l,c)),c+=this.metrics.fragmentPaddingBottom+1,{top:n,height:c-n,kind:this.kind}}}class z6 extends je{constructor(e,n,s){super(e,s),this.fragment=n}measure(e,n){var C,d,f,g,p,m,v,b;const s=this.measureComment(this.fragment);let l=e+1+this.metrics.fragmentHeaderHeight+s;!!((g=(f=(d=(C=this.fragment)==null?void 0:C.parExpr)==null?void 0:d.call(C))==null?void 0:f.condition)!=null&&g.call(f))&&(l+=20);const c=(b=(v=(m=(p=this.fragment)==null?void 0:p.braceBlock)==null?void 0:m.call(p))==null?void 0:v.block)==null?void 0:b.call(v);if(c){const A=this.findLeftParticipant(this.fragment,n)||n;l=this.layoutBlock(c,A,l,this.kind)}return l+=this.metrics.fragmentPaddingBottom+1,{top:e,height:l-e,kind:this.kind}}}class ov extends z6{constructor(){super(...arguments);d2(this,"kind","critical")}}class lv extends z6{constructor(){super(...arguments);d2(this,"kind","loop")}}class rv extends z6{constructor(){super(...arguments);d2(this,"kind","opt")}}class av extends z6{constructor(){super(...arguments);d2(this,"kind","par")}}class Lv extends je{constructor(){super(...arguments);d2(this,"kind","ref")}measure(n){var C,d;const s=((d=(C=this.context)==null?void 0:C.ref)==null?void 0:d.call(C))||this.context,l=this.measureComment(s),L=this.metrics.fragmentHeaderHeight,c=l+L+this.metrics.fragmentPaddingBottom;return{top:n,height:c,kind:this.kind}}}class cv extends z6{constructor(){super(...arguments);d2(this,"kind","section")}}class Cv extends je{constructor(n,s,l){super(n,l);d2(this,"kind","tcf");this.tcf=s}measure(n,s){var g,p,m,v,b,A,k,S,N,I,O,B,P,Y;const l=this.findLeftParticipant(this.tcf,s)||s,L=this.measureComment(this.tcf);let c=n+1+this.metrics.fragmentHeaderHeight+L;const C=(A=(b=(v=(m=(p=(g=this.tcf)==null?void 0:g.tryBlock)==null?void 0:p.call(g))==null?void 0:m.braceBlock)==null?void 0:v.call(m))==null?void 0:b.block)==null?void 0:A.call(b);C&&(c=this.layoutBlock(C,l,c)),(((S=(k=this.tcf)==null?void 0:k.catchBlock)==null?void 0:S.call(k))||[]).forEach(n2=>{var f2,c2,h2;c+=20,c+=8,c+=1;const l2=(h2=(c2=(f2=n2==null?void 0:n2.braceBlock)==null?void 0:f2.call(n2))==null?void 0:c2.block)==null?void 0:h2.call(c2);c=this.layoutBlock(l2,l,c)});const f=(Y=(P=(B=(O=(I=(N=this.tcf)==null?void 0:N.finallyBlock)==null?void 0:I.call(N))==null?void 0:O.braceBlock)==null?void 0:B.call(O))==null?void 0:P.block)==null?void 0:Y.call(P);return f&&(c+=20,c+=8,c+=1,c=this.layoutBlock(f,l,c)),c+=this.metrics.fragmentPaddingBottom+1,{top:n,height:c-n,kind:this.kind}}}class uv extends g5{constructor(n,s){var l;super(n,s);d2(this,"kind","return");d2(this,"returnContext");this.returnContext=(l=n==null?void 0:n.ret)==null?void 0:l.call(n)}measure(n){var v,b,A,k,S,N,I,O,B;const s=this.returnContext||this.context,l=this.measureComment(s);let L=n+l;const c=this.returnContext,C=(v=c==null?void 0:c.asyncMessage)==null?void 0:v.call(c),d=((b=C==null?void 0:C.From)==null?void 0:b.call(C))||((A=c==null?void 0:c.From)==null?void 0:A.call(c))||E1,f=((N=(S=(k=C==null?void 0:C.to)==null?void 0:k.call(C))==null?void 0:S.getFormattedText)==null?void 0:N.call(S))||((I=c==null?void 0:c.ReturnTo)==null?void 0:I.call(c))||E1,g=d===f;if(L+=g?20:0,!g){const P=(O=this.context)==null?void 0:O.parentCtx,Y=((B=P==null?void 0:P.stat)==null?void 0:B.call(P))||[];Y[Y.length-1]===this.context||(L+=16)}const m=L-n;return{top:n,height:m,kind:this.kind}}}class dv extends g5{constructor(n,s,l){super(n,l);d2(this,"kind","sync");this.message=s}measure(n,s){var v,b,A,k,S,N,I,O,B,P;const l=this.measureComment(this.message);let L=n+l;const c=((b=(v=this.message).From)==null?void 0:b.call(v))||E1,C=((k=(A=this.message).Owner)==null?void 0:k.call(A))||E1,d=(O=(I=(N=(S=this.message).braceBlock)==null?void 0:N.call(S))==null?void 0:I.block)==null?void 0:O.call(I),f=(P=(B=this.message).Assignment)==null?void 0:P.call(B),g=c===C;if(L+=g?30:16,d){const Y=this.findLeftParticipant(this.message,s)||s;L=this.layoutBlock(d,Y,L,this.kind),L+=2}else L+=22;f&&!g&&(L+=12);const m=L-n;return{top:n,height:m,kind:this.kind}}}const hv=(t,e)=>{var m,v,b,A,k,S,N,I,O,B,P,Y,n2;const n=(m=t.creation)==null?void 0:m.call(t);if(n)return new tv(t,n,e);const s=(v=t.message)==null?void 0:v.call(t);if(s)return new dv(t,s,e);const l=(b=t.asyncMessage)==null?void 0:b.call(t);if(l)return new Jw(t,l,e);if((A=t.ret)!=null&&A.call(t))return new uv(t,e);if((k=t.divider)!=null&&k.call(t))return new nv(t,e);const L=(S=t.loop)==null?void 0:S.call(t);if(L)return new lv(t,L,e);const c=(N=t.opt)==null?void 0:N.call(t);if(c)return new rv(t,c,e);const C=(I=t.par)==null?void 0:I.call(t);if(C)return new av(t,C,e);const d=(O=t.section)==null?void 0:O.call(t);if(d)return new cv(t,d,e);const f=(B=t.critical)==null?void 0:B.call(t);if(f)return new ov(t,f,e);const g=(P=t.tcf)==null?void 0:P.call(t);if(g)return new Cv(t,g,e);const p=(Y=t.alt)==null?void 0:Y.call(t);return p?new sv(t,p,e):(n2=t.ref)!=null&&n2.call(t)?new Lv(t,e):new iv(t,e)};class Nc extends ac{constructor(n,s){var l;super(n,s);d2(this,"statements");this.statements=((l=n==null?void 0:n.stat)==null?void 0:l.call(n))||[]}layout(n,s,l){if(!this.statements.length)return s;const L=this.runtime.metrics;let c=s+L.statementMarginY;return this.statements.forEach((C,d)=>{l==="par"&&d!==0&&(c+=1);const g=hv(C,this.runtime).measure(c,n);this.runtime.recordCoordinate(C,g),c=g.top+g.height+L.statementMarginY}),c}}const fv=4,gv={statementMarginY:(t=>t*fv)(4),fragmentHeaderHeight:25,fragmentPaddingBottom:10};class Oc{constructor(e){d2(this,"statementMap",new Map);d2(this,"creationTops",new Map);d2(this,"totalHeight");var d;const n=((d=e==null?void 0:e.block)==null?void 0:d.call(e))??e,s=Ss(e).map(f=>f.name),l=h5(e),L=l.length===0?E1:l[0].from||E1,c={metrics:gv,rootBlock:n,participants:s,originParticipant:L,recordCoordinate:(f,g)=>{const p=A6(f);this.statementMap.set(p,g)},updateCreationTop:(f,g)=>{const p=g-8;a3.info(`[VerticalCoordinates] updateCreationTop participant="${f}" raw=${g} paddingTop=${p}`),this.creationTops.set(f,p)}},C=new Nc(n,c);this.totalHeight=C.layout(L,56)}getCreationTop(e){return this.creationTops.get(e)}getStatementCoordinate(e){return this.statementMap.get(e)}getStatementCoordinateFor(e){return this.statementMap.get(A6(e))}entries(){return Array.from(this.statementMap.entries())}getTotalHeight(){return this.totalHeight}}const pv=()=>{const t="html";return a3.info(`[VerticalMode] resolved="${t}" (VITE_VERTICAL_MODE="undefined")`),t},mv=()=>{const e=((typeof location<"u"?new URLSearchParams(location.search).get("WIDTH_PROVIDER"):null)||void 0)==="canvas"?"canvas":"browser";return a3.debug(`[ZenUML] WidthProvider: ${e}`),e==="canvas"?As:Gx};var G4=(t=>(t.Static="static",t.Dynamic="dynamic",t))(G4||{});const p5=t3(""),m5=t3(t=>qL(t(p5)));t3(t=>{var n;const e=(n=t(m5))==null?void 0:n.title();if(!(!e||typeof e.content!="function"))return e.content()});const $e=t3(t=>L8(t(m5))),q4=t3(t=>new rc(t(m5),mv())),Hs=t3(pv()),xv=t3(t=>{if(t(Hs)==="legacy")return null;const e=t(m5);return e?new Oc(e):null}),c8=t3("theme-default"),Ps=t3(!1),wv=Za(`${location.hostname}-zenuml-theme-icon-dot`,"1"),Dc=t3(!0),Fc=t3(1),Ve=t3([]),vv=t3(null,(t,e,n)=>{const s=t(Ve);s.includes(n)?e(Ve,s.filter(l=>l!==n)):e(Ve,[...s,n])}),Ws=t3(null),Bc=t3(!1),y9=t3("dynamic"),Uc=Za(`${location.hostname}-zenuml-numbering`,!0),Hc=t3(0),js=t3(null),$s=L6(t=>{a3.debug("Element clicked",t)}),Ge=L6(()=>{}),N6=L6(()=>{}),Pc=L6(()=>{}),Wc=L6(()=>{}),Vs=t3([]),jc=t3(t=>{const e=t(Vs),{participants:n}=t($e);return e.length===Array.from(n).length});function Mv(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const n=document.implementation.createHTMLDocument(),s=n.createElement("base"),l=n.createElement("a");return n.head.appendChild(s),n.body.appendChild(l),e&&(s.href=e),l.href=t,l.href}const _v=(()=>{let t=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function y0(t){const e=[];for(let n=0,s=t.length;n<s;n++)e.push(t[n]);return e}let C8=null;function $c(t={}){return C8||(t.includeStyleProperties?(C8=t.includeStyleProperties,C8):(C8=y0(window.getComputedStyle(document.documentElement)),C8))}function qe(t,e){const s=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return s?parseFloat(s.replace("px","")):0}function yv(t){const e=qe(t,"border-left-width"),n=qe(t,"border-right-width");return t.clientWidth+e+n}function Rv(t){const e=qe(t,"border-top-width"),n=qe(t,"border-bottom-width");return t.clientHeight+e+n}function Vc(t,e={}){const n=e.width||yv(t),s=e.height||Rv(t);return{width:n,height:s}}function bv(){let t,e;try{e=process}catch{}const n=e&&e.env?e.env.devicePixelRatio:null;return n&&(t=parseInt(n,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}const T4=16384;function Av(t){(t.width>T4||t.height>T4)&&(t.width>T4&&t.height>T4?t.width>t.height?(t.height*=T4/t.width,t.width=T4):(t.width*=T4/t.height,t.height=T4):t.width>T4?(t.height*=T4/t.width,t.width=T4):(t.width*=T4/t.height,t.height=T4))}function Sv(t,e={}){return t.toBlob?new Promise(n=>{t.toBlob(n,e.type?e.type:"image/png",e.quality?e.quality:1)}):new Promise(n=>{const s=window.atob(t.toDataURL(e.type?e.type:void 0,e.quality?e.quality:void 0).split(",")[1]),l=s.length,L=new Uint8Array(l);for(let c=0;c<l;c+=1)L[c]=s.charCodeAt(c);n(new Blob([L],{type:e.type?e.type:"image/png"}))})}function Ye(t){return new Promise((e,n)=>{const s=new Image;s.onload=()=>{s.decode().then(()=>{requestAnimationFrame(()=>e(s))})},s.onerror=n,s.crossOrigin="anonymous",s.decoding="async",s.src=t})}async function kv(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function Zv(t,e,n){const s="http://www.w3.org/2000/svg",l=document.createElementNS(s,"svg"),L=document.createElementNS(s,"foreignObject");return l.setAttribute("width",`${e}`),l.setAttribute("height",`${n}`),l.setAttribute("viewBox",`0 0 ${e} ${n}`),L.setAttribute("width","100%"),L.setAttribute("height","100%"),L.setAttribute("x","0"),L.setAttribute("y","0"),L.setAttribute("externalResourcesRequired","true"),l.appendChild(L),L.appendChild(t),kv(l)}const g4=(t,e)=>{if(t instanceof e)return!0;const n=Object.getPrototypeOf(t);return n===null?!1:n.constructor.name===e.name||g4(n,e)};function Tv(t){const e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function Ev(t,e){return $c(e).map(n=>{const s=t.getPropertyValue(n),l=t.getPropertyPriority(n);return`${n}: ${s}${l?" !important":""};`}).join(" ")}function Iv(t,e,n,s){const l=`.${t}:${e}`,L=n.cssText?Tv(n):Ev(n,s);return document.createTextNode(`${l}{${L}}`)}function Gc(t,e,n,s){const l=window.getComputedStyle(t,n),L=l.getPropertyValue("content");if(L===""||L==="none")return;const c=_v();try{e.className=`${e.className} ${c}`}catch{return}const C=document.createElement("style");C.appendChild(Iv(c,n,l,s)),e.appendChild(C)}function zv(t,e,n){Gc(t,e,":before",n),Gc(t,e,":after",n)}const qc="application/font-woff",Yc="image/jpeg",Nv={woff:qc,woff2:qc,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Yc,jpeg:Yc,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Ov(t){const e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function Gs(t){const e=Ov(t).toLowerCase();return Nv[e]||""}function Dv(t){return t.split(/,/)[1]}function qs(t){return t.search(/^(data:)/)!==-1}function Fv(t,e){return`data:${e};base64,${t}`}async function Xc(t,e,n){const s=await fetch(t,e);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const l=await s.blob();return new Promise((L,c)=>{const C=new FileReader;C.onerror=c,C.onloadend=()=>{try{L(n({res:s,result:C.result}))}catch(d){c(d)}},C.readAsDataURL(l)})}const Ys={};function Bv(t,e,n){let s=t.replace(/\?.*/,"");return n&&(s=t),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),e?`[${e}]${s}`:s}async function Xs(t,e,n){const s=Bv(t,e,n.includeQueryParams);if(Ys[s]!=null)return Ys[s];n.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let l;try{const L=await Xc(t,n.fetchRequestInit,({res:c,result:C})=>(e||(e=c.headers.get("Content-Type")||""),Dv(C)));l=Fv(L,e)}catch(L){l=n.imagePlaceholder||"";let c=`Failed to fetch resource: ${t}`;L&&(c=typeof L=="string"?L:L.message),c&&console.warn(c)}return Ys[s]=l,l}async function Uv(t){const e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):Ye(e)}async function Hv(t,e){if(t.currentSrc){const L=document.createElement("canvas"),c=L.getContext("2d");L.width=t.clientWidth,L.height=t.clientHeight,c==null||c.drawImage(t,0,0,L.width,L.height);const C=L.toDataURL();return Ye(C)}const n=t.poster,s=Gs(n),l=await Xs(n,s,e);return Ye(l)}async function Pv(t,e){var n;try{if(!((n=t==null?void 0:t.contentDocument)===null||n===void 0)&&n.body)return await Xe(t.contentDocument.body,e,!0)}catch{}return t.cloneNode(!1)}async function Wv(t,e){return g4(t,HTMLCanvasElement)?Uv(t):g4(t,HTMLVideoElement)?Hv(t,e):g4(t,HTMLIFrameElement)?Pv(t,e):t.cloneNode(Qc(t))}const jv=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",Qc=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function $v(t,e,n){var s,l;if(Qc(e))return e;let L=[];return jv(t)&&t.assignedNodes?L=y0(t.assignedNodes()):g4(t,HTMLIFrameElement)&&(!((s=t.contentDocument)===null||s===void 0)&&s.body)?L=y0(t.contentDocument.body.childNodes):L=y0(((l=t.shadowRoot)!==null&&l!==void 0?l:t).childNodes),L.length===0||g4(t,HTMLVideoElement)||await L.reduce((c,C)=>c.then(()=>Xe(C,n)).then(d=>{d&&e.appendChild(d)}),Promise.resolve()),e}function Vv(t,e,n){const s=e.style;if(!s)return;const l=window.getComputedStyle(t);l.cssText?(s.cssText=l.cssText,s.transformOrigin=l.transformOrigin):$c(n).forEach(L=>{let c=l.getPropertyValue(L);L==="font-size"&&c.endsWith("px")&&(c=`${Math.floor(parseFloat(c.substring(0,c.length-2)))-.1}px`),g4(t,HTMLIFrameElement)&&L==="display"&&c==="inline"&&(c="block"),L==="d"&&e.getAttribute("d")&&(c=`path(${e.getAttribute("d")})`),s.setProperty(L,c,l.getPropertyPriority(L))})}function Gv(t,e){g4(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),g4(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function qv(t,e){if(g4(t,HTMLSelectElement)){const n=e,s=Array.from(n.children).find(l=>t.value===l.getAttribute("value"));s&&s.setAttribute("selected","")}}function Yv(t,e,n){return g4(e,Element)&&(Vv(t,e,n),zv(t,e,n),Gv(t,e),qv(t,e)),e}async function Xv(t,e){const n=t.querySelectorAll?t.querySelectorAll("use"):[];if(n.length===0)return t;const s={};for(let L=0;L<n.length;L++){const C=n[L].getAttribute("xlink:href");if(C){const d=t.querySelector(C),f=document.querySelector(C);!d&&f&&!s[C]&&(s[C]=await Xe(f,e,!0))}}const l=Object.values(s);if(l.length){const L="http://www.w3.org/1999/xhtml",c=document.createElementNS(L,"svg");c.setAttribute("xmlns",L),c.style.position="absolute",c.style.width="0",c.style.height="0",c.style.overflow="hidden",c.style.display="none";const C=document.createElementNS(L,"defs");c.appendChild(C);for(let d=0;d<l.length;d++)C.appendChild(l[d]);t.appendChild(c)}return t}async function Xe(t,e,n){return!n&&e.filter&&!e.filter(t)?null:Promise.resolve(t).then(s=>Wv(s,e)).then(s=>$v(t,s,e)).then(s=>Yv(t,s,e)).then(s=>Xv(s,e))}const Kc=/url\((['"]?)([^'"]+?)\1\)/g,Qv=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Kv=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Jv(t){const e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function eM(t){const e=[];return t.replace(Kc,(n,s,l)=>(e.push(l),n)),e.filter(n=>!qs(n))}async function tM(t,e,n,s,l){try{const L=n?Mv(e,n):e,c=Gs(e);let C;return l||(C=await Xs(L,c,s)),t.replace(Jv(e),`$1${C}$3`)}catch{}return t}function nM(t,{preferredFontFormat:e}){return e?t.replace(Kv,n=>{for(;;){const[s,,l]=Qv.exec(n)||[];if(!l)return"";if(l===e)return`src: ${s};`}}):t}function Jc(t){return t.search(Kc)!==-1}async function eC(t,e,n){if(!Jc(t))return t;const s=nM(t,n);return eM(s).reduce((L,c)=>L.then(C=>tM(C,c,e,n)),Promise.resolve(s))}async function u8(t,e,n){var s;const l=(s=e.style)===null||s===void 0?void 0:s.getPropertyValue(t);if(l){const L=await eC(l,null,n);return e.style.setProperty(t,L,e.style.getPropertyPriority(t)),!0}return!1}async function iM(t,e){await u8("background",t,e)||await u8("background-image",t,e),await u8("mask",t,e)||await u8("-webkit-mask",t,e)||await u8("mask-image",t,e)||await u8("-webkit-mask-image",t,e)}async function sM(t,e){const n=g4(t,HTMLImageElement);if(!(n&&!qs(t.src))&&!(g4(t,SVGImageElement)&&!qs(t.href.baseVal)))return;const s=n?t.src:t.href.baseVal,l=await Xs(s,Gs(s),e);await new Promise((L,c)=>{t.onload=L,t.onerror=e.onImageErrorHandler?(...d)=>{try{L(e.onImageErrorHandler(...d))}catch(f){c(f)}}:c;const C=t;C.decode&&(C.decode=L),C.loading==="lazy"&&(C.loading="eager"),n?(t.srcset="",t.src=l):t.href.baseVal=l})}async function oM(t,e){const s=y0(t.childNodes).map(l=>tC(l,e));await Promise.all(s).then(()=>t)}async function tC(t,e){g4(t,Element)&&(await iM(t,e),await sM(t,e),await oM(t,e))}function lM(t,e){const{style:n}=t;e.backgroundColor&&(n.backgroundColor=e.backgroundColor),e.width&&(n.width=`${e.width}px`),e.height&&(n.height=`${e.height}px`);const s=e.style;return s!=null&&Object.keys(s).forEach(l=>{n[l]=s[l]}),t}const nC={};async function iC(t){let e=nC[t];if(e!=null)return e;const s=await(await fetch(t)).text();return e={url:t,cssText:s},nC[t]=e,e}async function sC(t,e){let n=t.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,L=(n.match(/url\([^)]+\)/g)||[]).map(async c=>{let C=c.replace(s,"$1");return C.startsWith("https://")||(C=new URL(C,t.url).href),Xc(C,e.fetchRequestInit,({result:d})=>(n=n.replace(c,`url(${d})`),[c,d]))});return Promise.all(L).then(()=>n)}function oC(t){if(t==null)return[];const e=[],n=/(\/\*[\s\S]*?\*\/)/gi;let s=t.replace(n,"");const l=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const d=l.exec(s);if(d===null)break;e.push(d[0])}s=s.replace(l,"");const L=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,c="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",C=new RegExp(c,"gi");for(;;){let d=L.exec(s);if(d===null){if(d=C.exec(s),d===null)break;L.lastIndex=C.lastIndex}else C.lastIndex=L.lastIndex;e.push(d[0])}return e}async function rM(t,e){const n=[],s=[];return t.forEach(l=>{if("cssRules"in l)try{y0(l.cssRules||[]).forEach((L,c)=>{if(L.type===CSSRule.IMPORT_RULE){let C=c+1;const d=L.href,f=iC(d).then(g=>sC(g,e)).then(g=>oC(g).forEach(p=>{try{l.insertRule(p,p.startsWith("@import")?C+=1:l.cssRules.length)}catch(m){console.error("Error inserting rule from remote css",{rule:p,error:m})}})).catch(g=>{console.error("Error loading remote css",g.toString())});s.push(f)}})}catch(L){const c=t.find(C=>C.href==null)||document.styleSheets[0];l.href!=null&&s.push(iC(l.href).then(C=>sC(C,e)).then(C=>oC(C).forEach(d=>{c.insertRule(d,c.cssRules.length)})).catch(C=>{console.error("Error loading remote stylesheet",C)})),console.error("Error inlining remote css file",L)}}),Promise.all(s).then(()=>(t.forEach(l=>{if("cssRules"in l)try{y0(l.cssRules||[]).forEach(L=>{n.push(L)})}catch(L){console.error(`Error while reading CSS rules from ${l.href}`,L)}}),n))}function aM(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Jc(e.style.getPropertyValue("src")))}async function LM(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=y0(t.ownerDocument.styleSheets),s=await rM(n,e);return aM(s)}function lC(t){return t.trim().replace(/["']/g,"")}function cM(t){const e=new Set;function n(s){(s.style.fontFamily||getComputedStyle(s).fontFamily).split(",").forEach(L=>{e.add(lC(L))}),Array.from(s.children).forEach(L=>{L instanceof HTMLElement&&n(L)})}return n(t),e}async function CM(t,e){const n=await LM(t,e),s=cM(t);return(await Promise.all(n.filter(L=>s.has(lC(L.style.fontFamily))).map(L=>{const c=L.parentStyleSheet?L.parentStyleSheet.href:null;return eC(L.cssText,c,e)}))).join(`
81
- `)}async function uM(t,e){const n=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await CM(t,e);if(n){const s=document.createElement("style"),l=document.createTextNode(n);s.appendChild(l),t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}}async function Qs(t,e={}){const{width:n,height:s}=Vc(t,e),l=await Xe(t,e,!0);return await uM(l,e),await tC(l,e),lM(l,e),await Zv(l,n,s)}async function Ks(t,e={}){const{width:n,height:s}=Vc(t,e),l=await Qs(t,e),L=await Ye(l),c=document.createElement("canvas"),C=c.getContext("2d"),d=e.pixelRatio||bv(),f=e.canvasWidth||n,g=e.canvasHeight||s;return c.width=f*d,c.height=g*d,e.skipAutoScale||Av(c),c.style.width=`${f}`,c.style.height=`${g}`,e.backgroundColor&&(C.fillStyle=e.backgroundColor,C.fillRect(0,0,c.width,c.height)),C.drawImage(L,0,0,c.width,c.height),c}async function rC(t,e={}){return(await Ks(t,e)).toDataURL()}async function dM(t,e={}){return(await Ks(t,e)).toDataURL("image/jpeg",e.quality||1)}async function hM(t,e={}){const n=await Ks(t,e);return await Sv(n)}function aC(t){var e,n,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(e=0;e<l;e++)t[e]&&(n=aC(t[e]))&&(s&&(s+=" "),s+=n)}else for(n in t)t[n]&&(s&&(s+=" "),s+=n);return s}function fM(){for(var t,e,n=0,s="",l=arguments.length;n<l;n++)(t=arguments[n])&&(e=aC(t))&&(s&&(s+=" "),s+=e);return s}const gM=(t,e)=>{const n=new Array(t.length+e.length);for(let s=0;s<t.length;s++)n[s]=t[s];for(let s=0;s<e.length;s++)n[t.length+s]=e[s];return n},pM=(t,e)=>({classGroupId:t,validator:e}),LC=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),Qe="-",cC=[],mM="arbitrary..",xM=t=>{const e=vM(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return wM(c);const C=c.split(Qe),d=C[0]===""&&C.length>1?1:0;return CC(C,d,e)},getConflictingClassGroupIds:(c,C)=>{if(C){const d=s[c],f=n[c];return d?f?gM(f,d):d:f||cC}return n[c]||cC}}},CC=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const l=t[e],L=n.nextPart.get(l);if(L){const f=CC(t,e+1,L);if(f)return f}const c=n.validators;if(c===null)return;const C=e===0?t.join(Qe):t.slice(e).join(Qe),d=c.length;for(let f=0;f<d;f++){const g=c[f];if(g.validator(C))return g.classGroupId}},wM=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),s=e.slice(0,n);return s?mM+s:void 0})(),vM=t=>{const{theme:e,classGroups:n}=t;return MM(n,e)},MM=(t,e)=>{const n=LC();for(const s in t){const l=t[s];Js(l,n,s,e)}return n},Js=(t,e,n,s)=>{const l=t.length;for(let L=0;L<l;L++){const c=t[L];_M(c,e,n,s)}},_M=(t,e,n,s)=>{if(typeof t=="string"){yM(t,e,n);return}if(typeof t=="function"){RM(t,e,n,s);return}bM(t,e,n,s)},yM=(t,e,n)=>{const s=t===""?e:uC(e,t);s.classGroupId=n},RM=(t,e,n,s)=>{if(AM(t)){Js(t(s),e,n,s);return}e.validators===null&&(e.validators=[]),e.validators.push(pM(n,t))},bM=(t,e,n,s)=>{const l=Object.entries(t),L=l.length;for(let c=0;c<L;c++){const[C,d]=l[c];Js(d,uC(e,C),n,s)}},uC=(t,e)=>{let n=t;const s=e.split(Qe),l=s.length;for(let L=0;L<l;L++){const c=s[L];let C=n.nextPart.get(c);C||(C=LC(),n.nextPart.set(c,C)),n=C}return n},AM=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,SM=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),s=Object.create(null);const l=(L,c)=>{n[L]=c,e++,e>t&&(e=0,s=n,n=Object.create(null))};return{get(L){let c=n[L];if(c!==void 0)return c;if((c=s[L])!==void 0)return l(L,c),c},set(L,c){L in n?n[L]=c:l(L,c)}}},eo="!",dC=":",kM=[],hC=(t,e,n,s,l)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:s,isExternal:l}),ZM=t=>{const{prefix:e,experimentalParseClassName:n}=t;let s=l=>{const L=[];let c=0,C=0,d=0,f;const g=l.length;for(let A=0;A<g;A++){const k=l[A];if(c===0&&C===0){if(k===dC){L.push(l.slice(d,A)),d=A+1;continue}if(k==="/"){f=A;continue}}k==="["?c++:k==="]"?c--:k==="("?C++:k===")"&&C--}const p=L.length===0?l:l.slice(d);let m=p,v=!1;p.endsWith(eo)?(m=p.slice(0,-1),v=!0):p.startsWith(eo)&&(m=p.slice(1),v=!0);const b=f&&f>d?f-d:void 0;return hC(L,v,m,b)};if(e){const l=e+dC,L=s;s=c=>c.startsWith(l)?L(c.slice(l.length)):hC(kM,!1,c,void 0,!0)}if(n){const l=s;s=L=>n({className:L,parseClassName:l})}return s},TM=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,s)=>{e.set(n,1e6+s)}),n=>{const s=[];let l=[];for(let L=0;L<n.length;L++){const c=n[L],C=c[0]==="[",d=e.has(c);C||d?(l.length>0&&(l.sort(),s.push(...l),l=[]),s.push(c)):l.push(c)}return l.length>0&&(l.sort(),s.push(...l)),s}},EM=t=>({cache:SM(t.cacheSize),parseClassName:ZM(t),sortModifiers:TM(t),...xM(t)}),IM=/\s+/,zM=(t,e)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:l,sortModifiers:L}=e,c=[],C=t.trim().split(IM);let d="";for(let f=C.length-1;f>=0;f-=1){const g=C[f],{isExternal:p,modifiers:m,hasImportantModifier:v,baseClassName:b,maybePostfixModifierPosition:A}=n(g);if(p){d=g+(d.length>0?" "+d:d);continue}let k=!!A,S=s(k?b.substring(0,A):b);if(!S){if(!k){d=g+(d.length>0?" "+d:d);continue}if(S=s(b),!S){d=g+(d.length>0?" "+d:d);continue}k=!1}const N=m.length===0?"":m.length===1?m[0]:L(m).join(":"),I=v?N+eo:N,O=I+S;if(c.indexOf(O)>-1)continue;c.push(O);const B=l(S,k);for(let P=0;P<B.length;++P){const Y=B[P];c.push(I+Y)}d=g+(d.length>0?" "+d:d)}return d},NM=(...t)=>{let e=0,n,s,l="";for(;e<t.length;)(n=t[e++])&&(s=fC(n))&&(l&&(l+=" "),l+=s);return l},fC=t=>{if(typeof t=="string")return t;let e,n="";for(let s=0;s<t.length;s++)t[s]&&(e=fC(t[s]))&&(n&&(n+=" "),n+=e);return n},OM=(t,...e)=>{let n,s,l,L;const c=d=>{const f=e.reduce((g,p)=>p(g),t());return n=EM(f),s=n.cache.get,l=n.cache.set,L=C,C(d)},C=d=>{const f=s(d);if(f)return f;const g=zM(d,n);return l(d,g),g};return L=c,(...d)=>L(NM(...d))},DM=[],S3=t=>{const e=n=>n[t]||DM;return e.isThemeGetter=!0,e},gC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,pC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,FM=/^\d+\/\d+$/,BM=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,UM=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,HM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,PM=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,WM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,d8=t=>FM.test(t),C1=t=>!!t&&!Number.isNaN(Number(t)),R0=t=>!!t&&Number.isInteger(Number(t)),to=t=>t.endsWith("%")&&C1(t.slice(0,-1)),j9=t=>BM.test(t),jM=()=>!0,$M=t=>UM.test(t)&&!HM.test(t),mC=()=>!1,VM=t=>PM.test(t),GM=t=>WM.test(t),qM=t=>!E2(t)&&!I2(t),YM=t=>h8(t,_C,mC),E2=t=>gC.test(t),x5=t=>h8(t,yC,$M),no=t=>h8(t,e_,C1),xC=t=>h8(t,vC,mC),XM=t=>h8(t,MC,GM),Ke=t=>h8(t,RC,VM),I2=t=>pC.test(t),O6=t=>f8(t,yC),QM=t=>f8(t,t_),wC=t=>f8(t,vC),KM=t=>f8(t,_C),JM=t=>f8(t,MC),Je=t=>f8(t,RC,!0),h8=(t,e,n)=>{const s=gC.exec(t);return s?s[1]?e(s[1]):n(s[2]):!1},f8=(t,e,n=!1)=>{const s=pC.exec(t);return s?s[1]?e(s[1]):n:!1},vC=t=>t==="position"||t==="percentage",MC=t=>t==="image"||t==="url",_C=t=>t==="length"||t==="size"||t==="bg-size",yC=t=>t==="length",e_=t=>t==="number",t_=t=>t==="family-name",RC=t=>t==="shadow",n_=OM(()=>{const t=S3("color"),e=S3("font"),n=S3("text"),s=S3("font-weight"),l=S3("tracking"),L=S3("leading"),c=S3("breakpoint"),C=S3("container"),d=S3("spacing"),f=S3("radius"),g=S3("shadow"),p=S3("inset-shadow"),m=S3("text-shadow"),v=S3("drop-shadow"),b=S3("blur"),A=S3("perspective"),k=S3("aspect"),S=S3("ease"),N=S3("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...O(),I2,E2],P=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto","contain","none"],n2=()=>[I2,E2,d],l2=()=>[d8,"full","auto",...n2()],f2=()=>[R0,"none","subgrid",I2,E2],c2=()=>["auto",{span:["full",R0,I2,E2]},R0,I2,E2],h2=()=>[R0,"auto",I2,E2],b2=()=>["auto","min","max","fr",I2,E2],V=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...n2()],j=()=>[d8,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...n2()],$=()=>[t,I2,E2],o2=()=>[...O(),wC,xC,{position:[I2,E2]}],g2=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Z=()=>["auto","cover","contain",KM,YM,{size:[I2,E2]}],F=()=>[to,O6,x5],E=()=>["","none","full",f,I2,E2],U=()=>["",C1,O6,x5],K=()=>["solid","dashed","dotted","double"],m2=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],p2=()=>[C1,to,wC,xC],N2=()=>["","none",b,I2,E2],P2=()=>["none",C1,I2,E2],K2=()=>["none",C1,I2,E2],f1=()=>[C1,I2,E2],M1=()=>[d8,"full",...n2()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[j9],breakpoint:[j9],color:[jM],container:[j9],"drop-shadow":[j9],ease:["in","out","in-out"],font:[qM],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[j9],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[j9],shadow:[j9],spacing:["px",C1],text:[j9],"text-shadow":[j9],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",d8,E2,I2,k]}],container:["container"],columns:[{columns:[C1,E2,I2,C]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:B()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:l2()}],"inset-x":[{"inset-x":l2()}],"inset-y":[{"inset-y":l2()}],start:[{start:l2()}],end:[{end:l2()}],top:[{top:l2()}],right:[{right:l2()}],bottom:[{bottom:l2()}],left:[{left:l2()}],visibility:["visible","invisible","collapse"],z:[{z:[R0,"auto",I2,E2]}],basis:[{basis:[d8,"full","auto",C,...n2()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[C1,d8,"auto","initial","none",E2]}],grow:[{grow:["",C1,I2,E2]}],shrink:[{shrink:["",C1,I2,E2]}],order:[{order:[R0,"first","last","none",I2,E2]}],"grid-cols":[{"grid-cols":f2()}],"col-start-end":[{col:c2()}],"col-start":[{"col-start":h2()}],"col-end":[{"col-end":h2()}],"grid-rows":[{"grid-rows":f2()}],"row-start-end":[{row:c2()}],"row-start":[{"row-start":h2()}],"row-end":[{"row-end":h2()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":b2()}],"auto-rows":[{"auto-rows":b2()}],gap:[{gap:n2()}],"gap-x":[{"gap-x":n2()}],"gap-y":[{"gap-y":n2()}],"justify-content":[{justify:[...V(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...V()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":V()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:n2()}],px:[{px:n2()}],py:[{py:n2()}],ps:[{ps:n2()}],pe:[{pe:n2()}],pt:[{pt:n2()}],pr:[{pr:n2()}],pb:[{pb:n2()}],pl:[{pl:n2()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":n2()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":n2()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],w:[{w:[C,"screen",...j()]}],"min-w":[{"min-w":[C,"screen","none",...j()]}],"max-w":[{"max-w":[C,"screen","none","prose",{screen:[c]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,O6,x5]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,I2,no]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",to,E2]}],"font-family":[{font:[QM,E2,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,I2,E2]}],"line-clamp":[{"line-clamp":[C1,"none",I2,no]}],leading:[{leading:[L,...n2()]}],"list-image":[{"list-image":["none",I2,E2]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",I2,E2]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[C1,"from-font","auto",I2,x5]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[C1,"auto",I2,E2]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:n2()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",I2,E2]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",I2,E2]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:o2()}],"bg-repeat":[{bg:g2()}],"bg-size":[{bg:Z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R0,I2,E2],radial:["",I2,E2],conic:[R0,I2,E2]},JM,XM]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:E()}],"rounded-s":[{"rounded-s":E()}],"rounded-e":[{"rounded-e":E()}],"rounded-t":[{"rounded-t":E()}],"rounded-r":[{"rounded-r":E()}],"rounded-b":[{"rounded-b":E()}],"rounded-l":[{"rounded-l":E()}],"rounded-ss":[{"rounded-ss":E()}],"rounded-se":[{"rounded-se":E()}],"rounded-ee":[{"rounded-ee":E()}],"rounded-es":[{"rounded-es":E()}],"rounded-tl":[{"rounded-tl":E()}],"rounded-tr":[{"rounded-tr":E()}],"rounded-br":[{"rounded-br":E()}],"rounded-bl":[{"rounded-bl":E()}],"border-w":[{border:U()}],"border-w-x":[{"border-x":U()}],"border-w-y":[{"border-y":U()}],"border-w-s":[{"border-s":U()}],"border-w-e":[{"border-e":U()}],"border-w-t":[{"border-t":U()}],"border-w-r":[{"border-r":U()}],"border-w-b":[{"border-b":U()}],"border-w-l":[{"border-l":U()}],"divide-x":[{"divide-x":U()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":U()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[C1,I2,E2]}],"outline-w":[{outline:["",C1,O6,x5]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",g,Je,Ke]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",p,Je,Ke]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[C1,x5]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":U()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",m,Je,Ke]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[C1,I2,E2]}],"mix-blend":[{"mix-blend":[...m2(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":m2()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[C1]}],"mask-image-linear-from-pos":[{"mask-linear-from":p2()}],"mask-image-linear-to-pos":[{"mask-linear-to":p2()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":p2()}],"mask-image-t-to-pos":[{"mask-t-to":p2()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":p2()}],"mask-image-r-to-pos":[{"mask-r-to":p2()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":p2()}],"mask-image-b-to-pos":[{"mask-b-to":p2()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":p2()}],"mask-image-l-to-pos":[{"mask-l-to":p2()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":p2()}],"mask-image-x-to-pos":[{"mask-x-to":p2()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":p2()}],"mask-image-y-to-pos":[{"mask-y-to":p2()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[I2,E2]}],"mask-image-radial-from-pos":[{"mask-radial-from":p2()}],"mask-image-radial-to-pos":[{"mask-radial-to":p2()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[C1]}],"mask-image-conic-from-pos":[{"mask-conic-from":p2()}],"mask-image-conic-to-pos":[{"mask-conic-to":p2()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:o2()}],"mask-repeat":[{mask:g2()}],"mask-size":[{mask:Z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",I2,E2]}],filter:[{filter:["","none",I2,E2]}],blur:[{blur:N2()}],brightness:[{brightness:[C1,I2,E2]}],contrast:[{contrast:[C1,I2,E2]}],"drop-shadow":[{"drop-shadow":["","none",v,Je,Ke]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",C1,I2,E2]}],"hue-rotate":[{"hue-rotate":[C1,I2,E2]}],invert:[{invert:["",C1,I2,E2]}],saturate:[{saturate:[C1,I2,E2]}],sepia:[{sepia:["",C1,I2,E2]}],"backdrop-filter":[{"backdrop-filter":["","none",I2,E2]}],"backdrop-blur":[{"backdrop-blur":N2()}],"backdrop-brightness":[{"backdrop-brightness":[C1,I2,E2]}],"backdrop-contrast":[{"backdrop-contrast":[C1,I2,E2]}],"backdrop-grayscale":[{"backdrop-grayscale":["",C1,I2,E2]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C1,I2,E2]}],"backdrop-invert":[{"backdrop-invert":["",C1,I2,E2]}],"backdrop-opacity":[{"backdrop-opacity":[C1,I2,E2]}],"backdrop-saturate":[{"backdrop-saturate":[C1,I2,E2]}],"backdrop-sepia":[{"backdrop-sepia":["",C1,I2,E2]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":n2()}],"border-spacing-x":[{"border-spacing-x":n2()}],"border-spacing-y":[{"border-spacing-y":n2()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",I2,E2]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[C1,"initial",I2,E2]}],ease:[{ease:["linear","initial",S,I2,E2]}],delay:[{delay:[C1,I2,E2]}],animate:[{animate:["none",N,I2,E2]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,I2,E2]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:P2()}],"rotate-x":[{"rotate-x":P2()}],"rotate-y":[{"rotate-y":P2()}],"rotate-z":[{"rotate-z":P2()}],scale:[{scale:K2()}],"scale-x":[{"scale-x":K2()}],"scale-y":[{"scale-y":K2()}],"scale-z":[{"scale-z":K2()}],"scale-3d":["scale-3d"],skew:[{skew:f1()}],"skew-x":[{"skew-x":f1()}],"skew-y":[{"skew-y":f1()}],transform:[{transform:[I2,E2,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:M1()}],"translate-x":[{"translate-x":M1()}],"translate-y":[{"translate-y":M1()}],"translate-z":[{"translate-z":M1()}],"translate-none":["translate-none"],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",I2,E2]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":n2()}],"scroll-mx":[{"scroll-mx":n2()}],"scroll-my":[{"scroll-my":n2()}],"scroll-ms":[{"scroll-ms":n2()}],"scroll-me":[{"scroll-me":n2()}],"scroll-mt":[{"scroll-mt":n2()}],"scroll-mr":[{"scroll-mr":n2()}],"scroll-mb":[{"scroll-mb":n2()}],"scroll-ml":[{"scroll-ml":n2()}],"scroll-p":[{"scroll-p":n2()}],"scroll-px":[{"scroll-px":n2()}],"scroll-py":[{"scroll-py":n2()}],"scroll-ps":[{"scroll-ps":n2()}],"scroll-pe":[{"scroll-pe":n2()}],"scroll-pt":[{"scroll-pt":n2()}],"scroll-pr":[{"scroll-pr":n2()}],"scroll-pb":[{"scroll-pb":n2()}],"scroll-pl":[{"scroll-pl":n2()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",I2,E2]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[C1,O6,x5,no]}],stroke:[{stroke:["none",...$()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function H2(...t){return n_(fM(t))}const i_={close:t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",...t},y.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})),"collapse-expanded":t=>y.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"miter",...t},y.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),y.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("g",{id:"SVGRepo_iconCarrier"},y.createElement("line",{x1:14,y1:10,x2:21,y2:3}),y.createElement("polyline",{points:"20 10 14 10 14 4"}),y.createElement("line",{x1:3,y1:21,x2:10,y2:14}),y.createElement("polyline",{points:"4 14 10 14 10 20"}))),"collapse-unexpanded":t=>y.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...t},y.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),y.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("g",{id:"SVGRepo_iconCarrier"},y.createElement("title",null),y.createElement("g",{id:"Complete"},y.createElement("g",{id:"expand"},y.createElement("g",null,y.createElement("polyline",{"data-name":"Right",fill:"none",id:"Right-2",points:"3 17.3 3 21 6.7 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1}),y.createElement("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,x1:10,x2:3.8,y1:14,y2:20.2}),y.createElement("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,x1:14,x2:20.2,y1:10,y2:3.8}),y.createElement("polyline",{"data-name":"Right",fill:"none",id:"Right-3",points:"21 6.7 21 3 17.3 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1})))))),debug:t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...t},y.createElement("line",{x1:6,y1:3,x2:6,y2:15}),y.createElement("circle",{cx:18,cy:6,r:3}),y.createElement("circle",{cx:6,cy:18,r:3}),y.createElement("path",{d:"M18 9a9 9 0 0 1-9 9"})),"non-selected-cycle":t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 20 20",fill:"none",...t},y.createElement("circle",{cx:10,cy:10,r:10,fill:"#000",fillOpacity:.1})),numbering:t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M21.8864 32.0909V67H17.6591V36.5227H17.4545L8.93182 42.1818V37.8864L17.6591 32.0909H21.8864ZM33.5483 67.2159C32.8826 67.2159 32.3113 66.9775 31.8345 66.5007C31.3577 66.0239 31.1193 65.4527 31.1193 64.7869C31.1193 64.1212 31.3577 63.55 31.8345 63.0732C32.3113 62.5964 32.8826 62.358 33.5483 62.358C34.214 62.358 34.7853 62.5964 35.2621 63.0732C35.7389 63.55 35.9773 64.1212 35.9773 64.7869C35.9773 65.2277 35.8648 65.6326 35.6399 66.0014C35.424 66.3703 35.1316 66.6671 34.7628 66.892C34.4029 67.108 33.9981 67.2159 33.5483 67.2159ZM41.7887 67V64.4432L51.391 53.9318C52.5179 52.7008 53.4459 51.6307 54.1751 50.7216C54.9042 49.803 55.444 48.9413 55.7944 48.1364C56.1542 47.322 56.3342 46.4697 56.3342 45.5795C56.3342 44.5568 56.088 43.6714 55.5955 42.9233C55.1126 42.1752 54.4497 41.5975 53.6069 41.1903C52.7641 40.7831 51.8171 40.5795 50.766 40.5795C49.6486 40.5795 48.6732 40.8116 47.8398 41.2756C47.016 41.7301 46.3768 42.3693 45.9222 43.1932C45.4772 44.017 45.2546 44.983 45.2546 46.0909H41.9023C41.9023 44.3864 42.2953 42.8902 43.0813 41.6023C43.8673 40.3144 44.9374 39.3106 46.2915 38.5909C47.6552 37.8712 49.1845 37.5114 50.8796 37.5114C52.5842 37.5114 54.0946 37.8712 55.4109 38.5909C56.7272 39.3106 57.7594 40.2812 58.5075 41.5028C59.2556 42.7244 59.6296 44.0833 59.6296 45.5795C59.6296 46.6496 59.4355 47.696 59.0472 48.7188C58.6684 49.732 58.0056 50.8636 57.0586 52.1136C56.1211 53.3542 54.819 54.8693 53.1523 56.6591L46.6183 63.6477V63.875H60.141V67H41.7887ZM68.2319 67.2159C67.5662 67.2159 66.9949 66.9775 66.5181 66.5007C66.0413 66.0239 65.8029 65.4527 65.8029 64.7869C65.8029 64.1212 66.0413 63.55 66.5181 63.0732C66.9949 62.5964 67.5662 62.358 68.2319 62.358C68.8976 62.358 69.4689 62.5964 69.9457 63.0732C70.4225 63.55 70.6609 64.1212 70.6609 64.7869C70.6609 65.2277 70.5484 65.6326 70.3235 66.0014C70.1076 66.3703 69.8152 66.6671 69.4464 66.892C69.0865 67.108 68.6817 67.2159 68.2319 67.2159ZM83.7337 67.3182C82.2337 67.3182 80.8965 67.0606 79.7223 66.5455C78.5556 66.0303 77.6276 65.3144 76.9382 64.3977C76.2564 63.4735 75.8852 62.4015 75.8246 61.1818H78.6882C78.7488 61.9318 79.0064 62.5795 79.4609 63.125C79.9155 63.6629 80.5102 64.0795 81.245 64.375C81.9799 64.6705 82.7943 64.8182 83.6882 64.8182C84.6882 64.8182 85.5746 64.6439 86.3473 64.2955C87.12 63.947 87.7261 63.4621 88.1655 62.8409C88.6049 62.2197 88.8246 61.5 88.8246 60.6818C88.8246 59.8258 88.6125 59.072 88.1882 58.4205C87.764 57.7614 87.1428 57.2462 86.3246 56.875C85.5064 56.5038 84.5064 56.3182 83.3246 56.3182H81.4609V53.8182H83.3246C84.2488 53.8182 85.0594 53.6515 85.7564 53.3182C86.4609 52.9848 87.0102 52.5152 87.4041 51.9091C87.8056 51.303 88.0064 50.5909 88.0064 49.7727C88.0064 48.9848 87.8322 48.2992 87.4837 47.7159C87.1352 47.1326 86.6428 46.678 86.0064 46.3523C85.3776 46.0265 84.6352 45.8636 83.7791 45.8636C82.9761 45.8636 82.2185 46.0114 81.5064 46.3068C80.8018 46.5947 80.2261 47.0152 79.7791 47.5682C79.3321 48.1136 79.0897 48.7727 79.0518 49.5455H76.3246C76.37 48.3258 76.7375 47.2576 77.4268 46.3409C78.1162 45.4167 79.0178 44.697 80.1314 44.1818C81.2526 43.6667 82.4837 43.4091 83.8246 43.4091C85.264 43.4091 86.4988 43.7008 87.5291 44.2841C88.5594 44.8598 89.3511 45.6212 89.9041 46.5682C90.4572 47.5152 90.7337 48.5379 90.7337 49.6364C90.7337 50.947 90.389 52.0644 89.6996 52.9886C89.0178 53.9129 88.0897 54.553 86.9155 54.9091V55.0909C88.3852 55.3333 89.5329 55.9583 90.3587 56.9659C91.1844 57.9659 91.5973 59.2045 91.5973 60.6818C91.5973 61.947 91.2526 63.0833 90.5632 64.0909C89.8814 65.0909 88.9496 65.8788 87.7678 66.4545C86.5859 67.0303 85.2412 67.3182 83.7337 67.3182Z",fill:"black"}),y.createElement("path",{d:"M21.8864 32.0909H22.8864V31.0909H21.8864V32.0909ZM21.8864 67V68H22.8864V67H21.8864ZM17.6591 67H16.6591V68H17.6591V67ZM17.6591 36.5227H18.6591V35.5227H17.6591V36.5227ZM17.4545 36.5227V35.5227H17.1528L16.9014 35.6897L17.4545 36.5227ZM8.93182 42.1818H7.93182V44.0462L9.48498 43.0149L8.93182 42.1818ZM8.93182 37.8864L8.37862 37.0533L7.93182 37.35V37.8864H8.93182ZM17.6591 32.0909V31.0909H17.3573L17.1059 31.2579L17.6591 32.0909ZM20.8864 32.0909V67H22.8864V32.0909H20.8864ZM21.8864 66H17.6591V68H21.8864V66ZM18.6591 67V36.5227H16.6591V67H18.6591ZM17.6591 35.5227H17.4545V37.5227H17.6591V35.5227ZM16.9014 35.6897L8.37866 41.3487L9.48498 43.0149L18.0077 37.3558L16.9014 35.6897ZM9.93182 42.1818V37.8864H7.93182V42.1818H9.93182ZM9.48502 38.7194L18.2123 32.924L17.1059 31.2579L8.37862 37.0533L9.48502 38.7194ZM17.6591 33.0909H21.8864V31.0909H17.6591V33.0909ZM31.8345 66.5007L32.5416 65.7936L32.5416 65.7936L31.8345 66.5007ZM31.8345 63.0732L31.1274 62.366L31.8345 63.0732ZM35.2621 63.0732L35.9692 62.366L35.9692 62.366L35.2621 63.0732ZM35.6399 66.0014L34.7861 65.4808L34.7814 65.4885L34.7769 65.4962L35.6399 66.0014ZM34.7628 66.892L35.2773 67.7496L35.2834 67.7458L34.7628 66.892ZM33.5483 66.2159C33.1516 66.2159 32.8336 66.0856 32.5416 65.7936L31.1274 67.2078C31.789 67.8694 32.6135 68.2159 33.5483 68.2159V66.2159ZM32.5416 65.7936C32.2496 65.5016 32.1193 65.1836 32.1193 64.7869H30.1193C30.1193 65.7217 30.4658 66.5462 31.1274 67.2078L32.5416 65.7936ZM32.1193 64.7869C32.1193 64.3902 32.2496 64.0722 32.5416 63.7803L31.1274 62.366C30.4658 63.0277 30.1193 63.8522 30.1193 64.7869H32.1193ZM32.5416 63.7803C32.8336 63.4883 33.1516 63.358 33.5483 63.358V61.358C32.6135 61.358 31.789 61.7044 31.1274 62.366L32.5416 63.7803ZM33.5483 63.358C33.945 63.358 34.263 63.4883 34.555 63.7803L35.9692 62.366C35.3076 61.7044 34.483 61.358 33.5483 61.358V63.358ZM34.555 63.7803C34.8469 64.0722 34.9773 64.3902 34.9773 64.7869H36.9773C36.9773 63.8522 36.6308 63.0277 35.9692 62.366L34.555 63.7803ZM34.9773 64.7869C34.9773 65.048 34.9134 65.2721 34.7861 65.4808L36.4937 66.522C36.8163 65.993 36.9773 65.4075 36.9773 64.7869H34.9773ZM34.7769 65.4962C34.6455 65.7208 34.4714 65.8985 34.2422 66.0382L35.2834 67.7458C35.7919 67.4358 36.2025 67.0198 36.5029 66.5066L34.7769 65.4962ZM34.2483 66.0346C34.0551 66.1505 33.8304 66.2159 33.5483 66.2159V68.2159C34.1658 68.2159 34.7508 68.0654 35.2773 67.7495L34.2483 66.0346ZM41.7887 67H40.7887V68H41.7887V67ZM41.7887 64.4432L41.0504 63.7687L40.7887 64.0552V64.4432H41.7887ZM51.391 53.9318L50.6534 53.2566L50.6527 53.2574L51.391 53.9318ZM54.1751 50.7216L54.9552 51.3473L54.9583 51.3433L54.1751 50.7216ZM55.7944 48.1364L54.8797 47.7322L54.8775 47.7372L55.7944 48.1364ZM55.5955 42.9233L54.7554 43.4657L54.7602 43.4731L55.5955 42.9233ZM53.6069 41.1903L54.0419 40.2899L54.0419 40.2899L53.6069 41.1903ZM47.8398 41.2756L48.3229 42.1512L48.3263 42.1493L47.8398 41.2756ZM45.9222 43.1932L45.0466 42.7101L45.0424 42.7179L45.9222 43.1932ZM45.2546 46.0909V47.0909H46.2546V46.0909H45.2546ZM41.9023 46.0909H40.9023V47.0909H41.9023V46.0909ZM43.0813 41.6023L43.9349 42.1232L43.9349 42.1232L43.0813 41.6023ZM46.2915 38.5909L45.8248 37.7065L45.8222 37.7079L46.2915 38.5909ZM55.4109 38.5909L55.8906 37.7135L55.8906 37.7135L55.4109 38.5909ZM58.5075 41.5028L57.6547 42.0251L58.5075 41.5028ZM59.0472 48.7188L58.1123 48.3638L58.1105 48.3686L59.0472 48.7188ZM57.0586 52.1136L56.2615 51.5098L56.2608 51.5107L57.0586 52.1136ZM53.1523 56.6591L53.8828 57.342L53.8842 57.3406L53.1523 56.6591ZM46.6183 63.6477L45.8878 62.9648L45.6183 63.2531V63.6477H46.6183ZM46.6183 63.875H45.6183V64.875H46.6183V63.875ZM60.141 63.875H61.141V62.875H60.141V63.875ZM60.141 67V68H61.141V67H60.141ZM42.7887 67V64.4432H40.7887V67H42.7887ZM42.527 65.1176L52.1293 54.6063L50.6527 53.2574L41.0504 63.7687L42.527 65.1176ZM52.1286 54.607C53.2645 53.3661 54.208 52.2788 54.9551 51.3473L53.395 50.0959C52.6838 50.9825 51.7713 52.0354 50.6534 53.2566L52.1286 54.607ZM54.9583 51.3433C55.7246 50.3779 56.3168 49.4417 56.7113 48.5355L54.8775 47.7372C54.5712 48.4409 54.0838 49.2281 53.3918 50.0999L54.9583 51.3433ZM56.7091 48.5405C57.1252 47.5988 57.3342 46.6089 57.3342 45.5795H55.3342C55.3342 46.3305 55.1833 47.0451 54.8797 47.7322L56.7091 48.5405ZM57.3342 45.5795C57.3342 44.3899 57.0454 43.3071 56.4308 42.3735L54.7602 43.4731C55.1305 44.0357 55.3342 44.7237 55.3342 45.5795H57.3342ZM56.4357 42.3809C55.8479 41.4705 55.0412 40.7727 54.0419 40.2899L53.1719 42.0908C53.8582 42.4223 54.3772 42.8799 54.7554 43.4657L56.4357 42.3809ZM54.0419 40.2899C53.0476 39.8095 51.9491 39.5795 50.766 39.5795V41.5795C51.6851 41.5795 52.4806 41.7568 53.1719 42.0908L54.0419 40.2899ZM50.766 39.5795C49.5076 39.5795 48.3592 39.8418 47.3534 40.4019L48.3263 42.1493C48.9872 41.7813 49.7895 41.5795 50.766 41.5795V39.5795ZM47.3568 40.4C46.3677 40.9457 45.5924 41.721 45.0467 42.7101L46.7978 43.6763C47.1612 43.0176 47.6643 42.5145 48.3229 42.1511L47.3568 40.4ZM45.0424 42.7179C44.5052 43.7123 44.2546 44.8474 44.2546 46.0909H46.2546C46.2546 45.1185 46.4491 44.3218 46.8021 43.6685L45.0424 42.7179ZM45.2546 45.0909H41.9023V47.0909H45.2546V45.0909ZM42.9023 46.0909C42.9023 44.5457 43.2567 43.2346 43.9349 42.1232L42.2277 41.0813C41.334 42.5457 40.9023 44.227 40.9023 46.0909H42.9023ZM43.9349 42.1232C44.626 40.9909 45.5622 40.111 46.7609 39.4739L45.8222 37.7079C44.3126 38.5102 43.1087 39.6379 42.2277 41.0813L43.9349 42.1232ZM46.7583 39.4753C47.9642 38.8389 49.3307 38.5114 50.8796 38.5114V36.5114C49.0383 36.5114 47.3462 36.9036 45.8248 37.7065L46.7583 39.4753ZM50.8796 38.5114C52.4396 38.5114 53.781 38.8395 54.9311 39.4683L55.8906 37.7135C54.4082 36.903 52.7287 36.5114 50.8796 36.5114V38.5114ZM54.9311 39.4683C56.1017 40.1084 57.0022 40.9596 57.6547 42.0251L59.3602 40.9806C58.5166 39.6029 57.3526 38.5129 55.8906 37.7135L54.9311 39.4683ZM57.6547 42.0251C58.3021 43.0823 58.6296 44.2591 58.6296 45.5795H60.6296C60.6296 43.9076 60.209 42.3665 59.3602 40.9806L57.6547 42.0251ZM58.6296 45.5795C58.6296 46.5256 58.4585 47.4519 58.1123 48.3638L59.9821 49.0737C60.4124 47.9401 60.6296 46.7736 60.6296 45.5795H58.6296ZM58.1105 48.3686C57.7772 49.2602 57.1737 50.3056 56.2615 51.5098L57.8557 52.7175C58.8374 51.4216 59.5596 50.2038 59.9839 49.0689L58.1105 48.3686ZM56.2608 51.5107C55.3521 52.7131 54.0754 54.2005 52.4205 55.9776L53.8842 57.3406C55.5626 55.5382 56.8901 53.9952 57.8564 52.7166L56.2608 51.5107ZM52.4219 55.9761L45.8878 62.9648L47.3487 64.3307L53.8828 57.342L52.4219 55.9761ZM45.6183 63.6477V63.875H47.6183V63.6477H45.6183ZM46.6183 64.875H60.141V62.875H46.6183V64.875ZM59.141 63.875V67H61.141V63.875H59.141ZM60.141 66H41.7887V68H60.141V66ZM66.5181 66.5007L67.2252 65.7936L67.2252 65.7936L66.5181 66.5007ZM66.5181 63.0732L65.811 62.366L66.5181 63.0732ZM69.9457 63.0732L70.6528 62.366L70.6528 62.366L69.9457 63.0732ZM70.3235 66.0014L69.4697 65.4808L69.465 65.4885L69.4605 65.4962L70.3235 66.0014ZM69.4464 66.892L69.9609 67.7496L69.967 67.7458L69.4464 66.892ZM68.2319 66.2159C67.8352 66.2159 67.5172 66.0856 67.2252 65.7936L65.811 67.2078C66.4726 67.8694 67.2971 68.2159 68.2319 68.2159V66.2159ZM67.2252 65.7936C66.9332 65.5016 66.8029 65.1836 66.8029 64.7869H64.8029C64.8029 65.7217 65.1494 66.5462 65.811 67.2078L67.2252 65.7936ZM66.8029 64.7869C66.8029 64.3902 66.9332 64.0722 67.2252 63.7803L65.811 62.366C65.1494 63.0277 64.8029 63.8522 64.8029 64.7869H66.8029ZM67.2252 63.7803C67.5172 63.4883 67.8352 63.358 68.2319 63.358V61.358C67.2971 61.358 66.4726 61.7044 65.811 62.366L67.2252 63.7803ZM68.2319 63.358C68.6286 63.358 68.9466 63.4883 69.2386 63.7803L70.6528 62.366C69.9912 61.7044 69.1666 61.358 68.2319 61.358V63.358ZM69.2386 63.7803C69.5305 64.0722 69.6609 64.3902 69.6609 64.7869H71.6609C71.6609 63.8522 71.3144 63.0277 70.6528 62.366L69.2386 63.7803ZM69.6609 64.7869C69.6609 65.048 69.597 65.2721 69.4697 65.4808L71.1773 66.522C71.4999 65.993 71.6609 65.4075 71.6609 64.7869H69.6609ZM69.4605 65.4962C69.3291 65.7208 69.155 65.8985 68.9258 66.0382L69.967 67.7458C70.4754 67.4358 70.8861 67.0198 71.1865 66.5066L69.4605 65.4962ZM68.9319 66.0346C68.7386 66.1505 68.514 66.2159 68.2319 66.2159V68.2159C68.8494 68.2159 69.4344 68.0654 69.9609 67.7495L68.9319 66.0346ZM79.7223 66.5455L79.3184 67.4602L79.3206 67.4612L79.7223 66.5455ZM76.9382 64.3977L76.1335 64.9914L76.139 64.9988L76.9382 64.3977ZM75.8246 61.1818V60.1818H74.7737L74.8258 61.2314L75.8246 61.1818ZM78.6882 61.1818L79.685 61.1013L79.6107 60.1818H78.6882V61.1818ZM79.4609 63.125L78.6927 63.7652L78.6971 63.7705L79.4609 63.125ZM81.245 64.375L80.872 65.3028L80.872 65.3028L81.245 64.375ZM88.1655 62.8409L87.3491 62.2634L87.3491 62.2634L88.1655 62.8409ZM88.1882 58.4205L87.3473 58.9617L87.3502 58.9661L88.1882 58.4205ZM86.3246 56.875L85.9114 57.7857L85.9114 57.7857L86.3246 56.875ZM81.4609 56.3182H80.4609V57.3182H81.4609V56.3182ZM81.4609 53.8182V52.8182H80.4609V53.8182H81.4609ZM85.7564 53.3182L85.3287 52.4142L85.3249 52.416L85.7564 53.3182ZM87.4041 51.9091L86.5704 51.3568L86.5657 51.3641L87.4041 51.9091ZM87.4837 47.7159L88.3421 47.2031L88.3421 47.2031L87.4837 47.7159ZM86.0064 46.3523L85.5464 47.2402L85.5507 47.2424L86.0064 46.3523ZM81.5064 46.3068L81.8846 47.2325L81.8896 47.2305L81.5064 46.3068ZM79.7791 47.5682L80.5526 48.202L80.5569 48.1968L79.7791 47.5682ZM79.0518 49.5455V50.5455H80.004L80.0506 49.5944L79.0518 49.5455ZM76.3246 49.5455L75.3253 49.5082L75.2866 50.5455H76.3246V49.5455ZM77.4268 46.3409L78.2261 46.942L78.2284 46.9388L77.4268 46.3409ZM80.1314 44.1818L79.7139 43.2731L79.7116 43.2742L80.1314 44.1818ZM87.5291 44.2841L87.0364 45.1543L87.0413 45.157L87.5291 44.2841ZM89.9041 46.5682L89.0406 47.0725L89.0406 47.0725L89.9041 46.5682ZM89.6996 52.9886L88.898 52.3907L88.8948 52.395L89.6996 52.9886ZM86.9155 54.9091L86.6253 53.9521L85.9155 54.1674V54.9091H86.9155ZM86.9155 55.0909H85.9155V55.9395L86.7527 56.0776L86.9155 55.0909ZM90.3587 56.9659L89.5852 57.5998L89.5876 57.6026L90.3587 56.9659ZM90.5632 64.0909L89.7379 63.5262L89.737 63.5276L90.5632 64.0909ZM87.7678 66.4545L88.2057 67.3535L88.2057 67.3535L87.7678 66.4545ZM83.7337 66.3182C82.3487 66.3182 81.152 66.0807 80.124 65.6297L79.3206 67.4612C80.6411 68.0405 82.1186 68.3182 83.7337 68.3182V66.3182ZM80.1262 65.6307C79.0981 65.1767 78.3129 64.5619 77.7374 63.7967L76.139 64.9988C76.9423 66.0669 78.0132 66.8839 79.3184 67.4602L80.1262 65.6307ZM77.7429 63.8041C77.1854 63.0484 76.8748 62.1685 76.8233 61.1322L74.8258 61.2314C74.8955 62.6346 75.3274 63.8986 76.1335 64.9914L77.7429 63.8041ZM75.8246 62.1818H78.6882V60.1818H75.8246V62.1818ZM77.6915 61.2624C77.7676 62.205 78.098 63.0515 78.6927 63.7652L80.2292 62.4848C79.9148 62.1076 79.73 61.6586 79.685 61.1013L77.6915 61.2624ZM78.6971 63.7705C79.2695 64.4478 80.0049 64.9542 80.872 65.3028L81.6181 63.4472C81.0154 63.2049 80.5615 62.878 80.2247 62.4795L78.6971 63.7705ZM80.872 65.3028C81.7397 65.6517 82.6828 65.8182 83.6882 65.8182V63.8182C82.9057 63.8182 82.22 63.6892 81.6181 63.4472L80.872 65.3028ZM83.6882 65.8182C84.8048 65.8182 85.8353 65.6233 86.7584 65.207L85.9362 63.3839C85.3138 63.6645 84.5716 63.8182 83.6882 63.8182V65.8182ZM86.7584 65.207C87.6746 64.7939 88.4282 64.2012 88.9819 63.4184L87.3491 62.2634C87.024 62.723 86.5655 63.1001 85.9362 63.3839L86.7584 65.207ZM88.9819 63.4184C89.5499 62.6154 89.8246 61.6904 89.8246 60.6818H87.8246C87.8246 61.3096 87.6599 61.824 87.3491 62.2634L88.9819 63.4184ZM89.8246 60.6818C89.8246 59.6524 89.5668 58.7049 89.0262 57.8748L87.3502 58.9661C87.6582 59.439 87.8246 59.9992 87.8246 60.6818H89.8246ZM89.0291 57.8792C88.4862 57.0358 87.7048 56.4031 86.7377 55.9643L85.9114 57.7857C86.5807 58.0893 87.0418 58.487 87.3473 58.9617L89.0291 57.8792ZM86.7377 55.9643C85.7557 55.5188 84.606 55.3182 83.3246 55.3182V57.3182C84.4068 57.3182 85.2571 57.4888 85.9114 57.7857L86.7377 55.9643ZM83.3246 55.3182H81.4609V57.3182H83.3246V55.3182ZM82.4609 56.3182V53.8182H80.4609V56.3182H82.4609ZM81.4609 54.8182H83.3246V52.8182H81.4609V54.8182ZM83.3246 54.8182C84.3692 54.8182 85.3323 54.6295 86.1878 54.2203L85.3249 52.416C84.7866 52.6735 84.1284 52.8182 83.3246 52.8182V54.8182ZM86.1841 54.2221C87.0425 53.816 87.7397 53.2277 88.2426 52.4541L86.5657 51.3641C86.2807 51.8026 85.8794 52.1537 85.3287 52.4142L86.1841 54.2221ZM88.2378 52.4614C88.761 51.6715 89.0064 50.7619 89.0064 49.7727H87.0064C87.0064 50.4199 86.8502 50.9345 86.5705 51.3568L88.2378 52.4614ZM89.0064 49.7727C89.0064 48.8335 88.7972 47.9647 88.3421 47.2031L86.6252 48.2288C86.8671 48.6338 87.0064 49.1362 87.0064 49.7727H89.0064ZM88.3421 47.2031C87.8923 46.4501 87.2563 45.8687 86.4621 45.4621L85.5507 47.2424C86.0292 47.4874 86.378 47.8151 86.6252 48.2288L88.3421 47.2031ZM86.4664 45.4644C85.6687 45.0511 84.7622 44.8636 83.7791 44.8636V46.8636C84.5082 46.8636 85.0865 47.0019 85.5464 47.2402L86.4664 45.4644ZM83.7791 44.8636C82.8501 44.8636 81.9618 45.0352 81.1232 45.3832L81.8896 47.2305C82.4752 46.9875 83.102 46.8636 83.7791 46.8636V44.8636ZM81.1281 45.3811C80.2788 45.7281 79.5618 46.2462 79.0014 46.9396L80.5569 48.1968C80.8904 47.7841 81.3249 47.4612 81.8846 47.2325L81.1281 45.3811ZM79.0056 46.9344C78.4096 47.6618 78.1003 48.5316 78.053 49.4965L80.0506 49.5944C80.0791 49.0138 80.2547 48.5655 80.5526 48.202L79.0056 46.9344ZM79.0518 48.5455H76.3246V50.5455H79.0518V48.5455ZM77.3239 49.5827C77.3622 48.5531 77.6674 47.6848 78.2261 46.942L76.6276 45.7399C75.8075 46.8303 75.3778 48.0984 75.3253 49.5082L77.3239 49.5827ZM78.2284 46.9388C78.8119 46.1565 79.5786 45.5393 80.5512 45.0894L79.7116 43.2742C78.4569 43.8546 77.4205 44.6768 76.6253 45.743L78.2284 46.9388ZM80.5489 45.0905C81.5281 44.6406 82.6151 44.4091 83.8246 44.4091V42.4091C82.3522 42.4091 80.9771 42.6927 79.7139 43.2731L80.5489 45.0905ZM83.8246 44.4091C85.1284 44.4091 86.1857 44.6726 87.0364 45.1543L88.0218 43.4139C86.812 42.7289 85.3996 42.4091 83.8246 42.4091V44.4091ZM87.0413 45.157C87.928 45.6525 88.5845 46.2915 89.0406 47.0725L90.7676 46.0639C90.1177 44.9509 89.1908 44.0671 88.0169 43.4111L87.0413 45.157ZM89.0406 47.0725C89.5041 47.8661 89.7337 48.7148 89.7337 49.6364H91.7337C91.7337 48.361 91.4102 47.1642 90.7676 46.0639L89.0406 47.0725ZM89.7337 49.6364C89.7337 50.7623 89.4413 51.6623 88.898 52.3907L90.5011 53.5865C91.3366 52.4664 91.7337 51.1317 91.7337 49.6364H89.7337ZM88.8948 52.395C88.3499 53.1337 87.6084 53.654 86.6253 53.9521L87.2057 55.8661C88.5711 55.452 89.6856 54.6921 90.5043 53.5823L88.8948 52.395ZM85.9155 54.9091V55.0909H87.9155V54.9091H85.9155ZM86.7527 56.0776C88.0194 56.2865 88.9354 56.8069 89.5852 57.5998L91.1321 56.332C90.1304 55.1097 88.751 54.3802 87.0782 54.1042L86.7527 56.0776ZM89.5876 57.6026C90.245 58.3987 90.5973 59.4027 90.5973 60.6818H92.5973C92.5973 59.0063 92.1239 57.5331 91.1298 56.3292L89.5876 57.6026ZM90.5973 60.6818C90.5973 61.7532 90.3092 62.6913 89.7379 63.5262L91.3885 64.6556C92.196 63.4754 92.5973 62.1407 92.5973 60.6818H90.5973ZM89.737 63.5276C89.1615 64.3716 88.3691 65.0492 87.3298 65.5556L88.2057 67.3535C89.5301 66.7083 90.6013 65.8102 91.3894 64.6542L89.737 63.5276ZM87.3298 65.5556C86.3031 66.0557 85.1118 66.3182 83.7337 66.3182V68.3182C85.3707 68.3182 86.8687 68.0049 88.2057 67.3535L87.3298 65.5556Z",fill:"black"})),privacy:t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 214.27 214.27",...t},y.createElement("path",{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}),y.createElement("path",{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"})),"selected-cycle":t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 20 20",fill:"none",...t},y.createElement("circle",{className:"text-base",cx:10,cy:10,r:10,fill:"#4f8cf7",fillOpacity:.2}),y.createElement("path",{d:"M6 10l3 3 5-5",stroke:"#4f8cf7",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),theme:t=>y.createElement("svg",{className:"grayscale h-4 w-4",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{fill:"currentColor",d:"M42.666667 512C42.666667 251.733333 251.733333 42.666667 512 42.666667s469.333333 187.733333 469.333333 422.4c0 72.533333-29.866667 145.066667-81.066666 200.533333-51.2 51.2-123.733333 81.066667-200.533334 81.066667h-85.333333c-12.8 0-25.6 12.8-29.866667 25.6 0 8.533333 4.266667 17.066667 8.533334 21.333333 21.333333 21.333333 29.866667 46.933333 29.866666 76.8 0 64-51.2 110.933333-115.2 115.2C251.733333 981.333333 42.666667 772.266667 42.666667 512z m85.333333 0c0 213.333333 170.666667 384 384 384 17.066667 0 29.866667-12.8 29.866667-29.866667 0-4.266667 0-8.533333-4.266667-12.8l-4.266667-4.266666c-17.066667-21.333333-25.6-46.933333-29.866666-76.8 0-64 51.2-110.933333 115.2-110.933334h85.333333c51.2 0 102.4-21.333333 136.533333-55.466666 38.4-38.4 55.466667-85.333333 55.466667-136.533334 0-187.733333-170.666667-341.333333-384-341.333333s-384 170.666667-384 384z m593.066667 21.333333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-17.066667 0-38.4-8.533333-51.2-21.333334z m-520.533334 0c-21.333333-21.333333-25.6-51.2-17.066666-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666667 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-21.333333 0-38.4-8.533333-51.2-21.333334z m379.733334-187.733333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533333 72.533334 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266666-21.333333 0-38.4-8.533333-51.2-21.333333zM341.333333 345.6c-17.066667-21.333333-25.6-51.2-12.8-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533334 72.533334 0 29.866667-17.066667 55.466667-42.666667 64l-29.866667 4.266666c-17.066667 0-34.133333-8.533333-51.2-21.333333z"})),tip:t=>y.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m0-938.666667C276.352 85.333333 85.333333 276.352 85.333333 512s191.018667 426.666667 426.666667 426.666667 426.666667-191.018667 426.666667-426.666667A426.666667 426.666667 0 0 0 512 85.333333z m0 682.666667a42.666667 42.666667 0 0 1-42.368-42.666667v-255.573333a42.368 42.368 0 1 1 84.693333 0V725.333333A42.410667 42.410667 0 0 1 512 768z m0-426.666667a42.325333 42.325333 0 1 1-0.085333-84.650666A42.325333 42.325333 0 0 1 512 341.333333z m42.325333-42.666666v0z",fill:"currentColor"})),"zoom-in":t=>y.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M945.066667 898.133333l-189.866667-189.866666c55.466667-64 87.466667-149.333333 87.466667-241.066667 0-204.8-168.533333-373.333333-373.333334-373.333333S96 264.533333 96 469.333333 264.533333 842.666667 469.333333 842.666667c91.733333 0 174.933333-34.133333 241.066667-87.466667l189.866667 189.866667c6.4 6.4 14.933333 8.533333 23.466666 8.533333s17.066667-2.133333 23.466667-8.533333c8.533333-12.8 8.533333-34.133333-2.133333-46.933334zM469.333333 778.666667C298.666667 778.666667 160 640 160 469.333333S298.666667 160 469.333333 160 778.666667 298.666667 778.666667 469.333333 640 778.666667 469.333333 778.666667z",fill:"currentColor"}),y.createElement("path",{d:"M597.333333 437.333333h-96V341.333333c0-17.066667-14.933333-32-32-32s-32 14.933333-32 32v96H341.333333c-17.066667 0-32 14.933333-32 32s14.933333 32 32 32h96V597.333333c0 17.066667 14.933333 32 32 32s32-14.933333 32-32v-96H597.333333c17.066667 0 32-14.933333 32-32s-14.933333-32-32-32z",fill:"currentColor"})),"zoom-out":t=>y.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z",fill:"currentColor"}),y.createElement("path",{fill:"currentColor",d:"M921 867L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"})),"alt-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M12 8L20 12L12 16L4 12L12 8Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"critical-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M12 5L19 12L12 19L5 12L12 5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M12 9V13",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M12 15V15.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"loop-fragment":t=>y.createElement("svg",{fill:"currentColor",width:"24px",height:"24px",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M960 101.84l-896.002.002c-35.344 0-64 28.656-64 64v576c0 35.36 28.656 64 64 64h160c20.496 0 32-26.32 32-31.984v-.016c0-5.824-10.88-32.416-32-32.416h-120.96c-21.376 0-38.72-17.344-38.72-38.72V206.002c0-21.391 17.328-38.72 38.72-38.72l818.272-1.007c21.376 0 38.72 17.328 38.72 38.72V702.69c0 21.376-17.344 38.72-38.72 38.72H518.142l75.984-68.912c9.344-8.944 12.369-23.408 3.025-32.336l-5.472-8.064c-9.376-8.945-24.496-8.945-33.84 0L428.111 750.53c-.192.16-.368.224-.528.368l-8.48 8.096c-4.672 4.431-7.008 10.335-6.976 16.223-.032 5.904 2.288 11.777 6.977 16.288l8.48 8.096c.16.16.368.192.528.336L555.84 915.44c9.344 8.944 24.464 8.944 33.84 0l5.472-8.065c9.344-8.944 6.32-23.44-3.025-32.368l-77.135-69.168H960c35.343 0 64-28.64 64-64v-576c0-35.344-28.657-64-64-64z"})),"opt-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("circle",{cx:12,cy:12,r:7,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"3 2",strokeLinecap:"round"})),"ref-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M10 6H18C19.1046 6 20 6.89543 20 8V16C20 17.1046 19.1046 18 18 18H10",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M10 6L6 12L10 18",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"par-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M5 10H19",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M5 14H19",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"section-fragment":t=>y.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.5C2 1.77614 1.77614 2 1.5 2C1.22386 2 1 1.77614 1 1.5C1 1.22386 1.22386 1 1.5 1C1.77614 1 2 1.22386 2 1.5ZM2 5L2 10H13V5H2ZM2 4C1.44772 4 1 4.44772 1 5V10C1 10.5523 1.44772 11 2 11H13C13.5523 11 14 10.5523 14 10V5C14 4.44772 13.5523 4 13 4H2ZM1.5 14C1.77614 14 2 13.7761 2 13.5C2 13.2239 1.77614 13 1.5 13C1.22386 13 1 13.2239 1 13.5C1 13.7761 1.22386 14 1.5 14ZM4 1.5C4 1.77614 3.77614 2 3.5 2C3.22386 2 3 1.77614 3 1.5C3 1.22386 3.22386 1 3.5 1C3.77614 1 4 1.22386 4 1.5ZM3.5 14C3.77614 14 4 13.7761 4 13.5C4 13.2239 3.77614 13 3.5 13C3.22386 13 3 13.2239 3 13.5C3 13.7761 3.22386 14 3.5 14ZM6 1.5C6 1.77614 5.77614 2 5.5 2C5.22386 2 5 1.77614 5 1.5C5 1.22386 5.22386 1 5.5 1C5.77614 1 6 1.22386 6 1.5ZM5.5 14C5.77614 14 6 13.7761 6 13.5C6 13.2239 5.77614 13 5.5 13C5.22386 13 5 13.2239 5 13.5C5 13.7761 5.22386 14 5.5 14ZM8 1.5C8 1.77614 7.77614 2 7.5 2C7.22386 2 7 1.77614 7 1.5C7 1.22386 7.22386 1 7.5 1C7.77614 1 8 1.22386 8 1.5ZM7.5 14C7.77614 14 8 13.7761 8 13.5C8 13.2239 7.77614 13 7.5 13C7.22386 13 7 13.2239 7 13.5C7 13.7761 7.22386 14 7.5 14ZM10 1.5C10 1.77614 9.77614 2 9.5 2C9.22386 2 9 1.77614 9 1.5C9 1.22386 9.22386 1 9.5 1C9.77614 1 10 1.22386 10 1.5ZM9.5 14C9.77614 14 10 13.7761 10 13.5C10 13.2239 9.77614 13 9.5 13C9.22386 13 9 13.2239 9 13.5C9 13.7761 9.22386 14 9.5 14ZM12 1.5C12 1.77614 11.7761 2 11.5 2C11.2239 2 11 1.77614 11 1.5C11 1.22386 11.2239 1 11.5 1C11.7761 1 12 1.22386 12 1.5ZM11.5 14C11.7761 14 12 13.7761 12 13.5C12 13.2239 11.7761 13 11.5 13C11.2239 13 11 13.2239 11 13.5C11 13.7761 11.2239 14 11.5 14ZM14 1.5C14 1.77614 13.7761 2 13.5 2C13.2239 2 13 1.77614 13 1.5C13 1.22386 13.2239 1 13.5 1C13.7761 1 14 1.22386 14 1.5ZM13.5 14C13.7761 14 14 13.7761 14 13.5C14 13.2239 13.7761 13 13.5 13C13.2239 13 13 13.2239 13 13.5C13 13.7761 13.2239 14 13.5 14Z",fill:"currentColor"})),"try-catch-fragment":t=>y.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 76 76",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",baseProfile:"full",enableBackground:"new 0 0 76.00 76.00",xmlSpace:"preserve",...t},y.createElement("path",{fill:"currentColor",fillOpacity:1,strokeWidth:.2,strokeLinejoin:"round",d:"M 26,22.0001L 27,21.9998L 27,27L 26.0001,27.0003C 23.2386,27.0003 21.0001,29.2389 21.0001,32.0003L 21,46.0002C 21,48.7616 23.2386,51.0002 25.9999,51.0002L 27,51.0002L 27,47L 33.75,53.5L 27,60L 27,56L 26,56C 20.4771,56 16,51.5229 16,46L 16,32.0001C 16,26.4773 20.4771,22.0001 26,22.0001 Z M 33,27L 59,27L 59,32L 33,32L 33,27 Z M 36,35L 59,35L 59,40L 36,40L 36,35 Z M 33,43L 59,43L 59,48L 33,48L 33,43 Z "}))},k3=t=>{const e=i_[t.name];return e?M.jsx("span",{className:H2("flex items-center justify-center w-5 h-4",t.className),onClick:t.onClick,children:M.jsx(e,{})}):null},s_=()=>{const[t,e]=y.useState(!1);return y.useEffect(()=>{const n=s=>{s.key==="F1"&&(s.preventDefault(),e(l=>!l))};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[]),t?M.jsxs("div",{className:"text-xs inline-flex items-center font-mono font-medium leading-sm mx-1 px-3 py-1 bg-slate-100 text-slate-500 rounded-sm",children:[M.jsx(k3,{name:"debug",className:"h-3 w-3"}),M.jsxs("span",{className:"inline-block px-2",children:["main",":","a2644218"]})]}):null},bC={tooltip:"_tooltip_5kyas_1",bottom:"_bottom_5kyas_29"},o_=t=>M.jsx("div",{className:t.className,children:M.jsx("div",{className:H2(bC.tooltip,bC.bottom,"privacy whitespace-normal flex items-center"),"data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser.",children:M.jsx(k3,{name:"privacy",className:"fill-current h-6 w-6 m-auto"})})}),l_=t=>{var n;const e=(n=t.context)==null?void 0:n.content();return M.jsx("div",{className:"title text-skin-title text-base font-semibold",children:e})},r_={actor:()=>Promise.resolve().then(()=>ek),boundary:()=>Promise.resolve().then(()=>tk),control:()=>Promise.resolve().then(()=>nk),database:()=>Promise.resolve().then(()=>ik),entity:()=>Promise.resolve().then(()=>sk),cognito:()=>Promise.resolve().then(()=>Pk),elasticbeantalk:()=>Promise.resolve().then(()=>Wk),kinesis:()=>Promise.resolve().then(()=>jk),lightsail:()=>Promise.resolve().then(()=>$k),sagemaker:()=>Promise.resolve().then(()=>Vk)},x=()=>Promise.resolve().then(()=>YO),et={...r_,...{awsiotlora:()=>x().then(t=>({default:t.cloudIcons.awsiotlora})),awsiotgreengrasscomponent:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrasscomponent})),awsiotthingcoffeepot:()=>x().then(t=>({default:t.cloudIcons.awsiotthingcoffeepot})),awsiotlambda:()=>x().then(t=>({default:t.cloudIcons.awsiotlambda})),awsiotthingwindfarm:()=>x().then(t=>({default:t.cloudIcons.awsiotthingwindfarm})),awsiotthingvibrationsensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthingvibrationsensor})),awsiotdevicedefenderjobs:()=>x().then(t=>({default:t.cloudIcons.awsiotdevicedefenderjobs})),awsiotdevicemanagementfleethub:()=>x().then(t=>({default:t.cloudIcons.awsiotdevicemanagementfleethub})),awsiottopic:()=>x().then(t=>({default:t.cloudIcons.awsiottopic})),awsiotcertificate:()=>x().then(t=>({default:t.cloudIcons.awsiotcertificate})),awsiotthingrelay:()=>x().then(t=>({default:t.cloudIcons.awsiotthingrelay})),awsiotanalyticschannel:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticschannel})),awsiotthingcamera:()=>x().then(t=>({default:t.cloudIcons.awsiotthingcamera})),awsiotthingdoorlock:()=>x().then(t=>({default:t.cloudIcons.awsiotthingdoorlock})),awsiotpolicy:()=>x().then(t=>({default:t.cloudIcons.awsiotpolicy})),awsiotthingfreertos:()=>x().then(t=>({default:t.cloudIcons.awsiotthingfreertos})),awsiotsitewiseassetproperties:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewiseassetproperties})),awsiotthingtempvibrationsensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthingtempvibrationsensor})),awsiotthingplc:()=>x().then(t=>({default:t.cloudIcons.awsiotthingplc})),awsiotaction:()=>x().then(t=>({default:t.cloudIcons.awsiotaction})),awsiotalexavoice:()=>x().then(t=>({default:t.cloudIcons.awsiotalexavoice})),awsiotalexaenabled:()=>x().then(t=>({default:t.cloudIcons.awsiotalexaenabled})),awsiotthingutility:()=>x().then(t=>({default:t.cloudIcons.awsiotthingutility})),awsiotactuator:()=>x().then(t=>({default:t.cloudIcons.awsiotactuator})),awsiotthingtempsensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthingtempsensor})),awsiothttpprotocol:()=>x().then(t=>({default:t.cloudIcons.awsiothttpprotocol})),awsiotcoredevicelocation:()=>x().then(t=>({default:t.cloudIcons.awsiotcoredevicelocation})),awsiotalexaskill:()=>x().then(t=>({default:t.cloudIcons.awsiotalexaskill})),awsiotanalyticsnotebook:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticsnotebook})),awsiothardwareboard:()=>x().then(t=>({default:t.cloudIcons.awsiothardwareboard})),awsiotthingcar:()=>x().then(t=>({default:t.cloudIcons.awsiotthingcar})),awsiotthinglightbulb:()=>x().then(t=>({default:t.cloudIcons.awsiotthinglightbulb})),awsiotsitewiseasset:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewiseasset})),awsiotsitewisedatastreams:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewisedatastreams})),awsiotgreengrasscomponentnucleus:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrasscomponentnucleus})),awsiotthinghouse:()=>x().then(t=>({default:t.cloudIcons.awsiotthinghouse})),awsiotoverairupdate:()=>x().then(t=>({default:t.cloudIcons.awsiotoverairupdate})),awsiotthingbank:()=>x().then(t=>({default:t.cloudIcons.awsiotthingbank})),awsiotsensor:()=>x().then(t=>({default:t.cloudIcons.awsiotsensor})),awsiotsitewiseassethierarchy:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewiseassethierarchy})),awsiotgreengrassartifact:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassartifact})),awsiotthingtravel:()=>x().then(t=>({default:t.cloudIcons.awsiotthingtravel})),awsiotmqttprotocol:()=>x().then(t=>({default:t.cloudIcons.awsiotmqttprotocol})),awsiotshadow:()=>x().then(t=>({default:t.cloudIcons.awsiotshadow})),awsiotfiretv:()=>x().then(t=>({default:t.cloudIcons.awsiotfiretv})),awsiotgreengrassconnector:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassconnector})),awsiotgreengrassipc:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassipc})),awsiothttp2protocol:()=>x().then(t=>({default:t.cloudIcons.awsiothttp2protocol})),awsiotfiretvstick:()=>x().then(t=>({default:t.cloudIcons.awsiotfiretvstick})),awsiotcoredeviceadvisor:()=>x().then(t=>({default:t.cloudIcons.awsiotcoredeviceadvisor})),awsiotthingindustrialpc:()=>x().then(t=>({default:t.cloudIcons.awsiotthingindustrialpc})),awsiotdesiredstate:()=>x().then(t=>({default:t.cloudIcons.awsiotdesiredstate})),awsiotecho:()=>x().then(t=>({default:t.cloudIcons.awsiotecho})),awsiotgreengrassrecipe:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassrecipe})),awsiotgreengrasscomponentprivate:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrasscomponentprivate})),awsiotgreengrassstreammanager:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassstreammanager})),awsiotthingmedicalemergency:()=>x().then(t=>({default:t.cloudIcons.awsiotthingmedicalemergency})),awsiotthingthermostat:()=>x().then(t=>({default:t.cloudIcons.awsiotthingthermostat})),awsiotsitewiseassetmodel:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewiseassetmodel})),awsiotthingstacklight:()=>x().then(t=>({default:t.cloudIcons.awsiotthingstacklight})),awsiotthingtemphumiditysensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthingtemphumiditysensor})),awsiotgreengrasscomponentpublic:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrasscomponentpublic})),awsiotsailboat:()=>x().then(t=>({default:t.cloudIcons.awsiotsailboat})),awsiotrule:()=>x().then(t=>({default:t.cloudIcons.awsiotrule})),awsiotthingbicycle:()=>x().then(t=>({default:t.cloudIcons.awsiotthingbicycle})),awsiotreportedstate:()=>x().then(t=>({default:t.cloudIcons.awsiotreportedstate})),awsiotsimulator:()=>x().then(t=>({default:t.cloudIcons.awsiotsimulator})),awsiotthingpoliceemergency:()=>x().then(t=>({default:t.cloudIcons.awsiotthingpoliceemergency})),awsiotanalyticsdatastore:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticsdatastore})),awsiotdevicetester:()=>x().then(t=>({default:t.cloudIcons.awsiotdevicetester})),awsiotanalyticspipeline:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticspipeline})),awsiotthingfactory:()=>x().then(t=>({default:t.cloudIcons.awsiotthingfactory})),awsiotthinghumiditysensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthinghumiditysensor})),awsiotgreengrassprotocol:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassprotocol})),awsiotservo:()=>x().then(t=>({default:t.cloudIcons.awsiotservo})),awsiotanalyticsdataset:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticsdataset})),awsiotgreengrassmachinelearning:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassmachinelearning})),awsiotthinggeneric:()=>x().then(t=>({default:t.cloudIcons.awsiotthinggeneric})),awsiotdevicegateway:()=>x().then(t=>({default:t.cloudIcons.awsiotdevicegateway})),awsiotthingcart:()=>x().then(t=>({default:t.cloudIcons.awsiotthingcart})),amazonrekognitionvideo:()=>x().then(t=>({default:t.cloudIcons.amazonrekognitionvideo})),amazonsagemakermodel:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakermodel})),amazonsagemakeranalyzelending:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakeranalyzelending})),amazonsagemakershadowtesting:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakershadowtesting})),amazondevopsguruinsights:()=>x().then(t=>({default:t.cloudIcons.amazondevopsguruinsights})),amazonsagemakernotebook:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakernotebook})),amazonsagemakercanvas:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakercanvas})),amazonsagemakertrain:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakertrain})),amazonsagemakergeospatialml:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakergeospatialml})),amazonrekognitionimage:()=>x().then(t=>({default:t.cloudIcons.amazonrekognitionimage})),amazonbraketsimulator:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator})),amazonbraketnoisesimulator:()=>x().then(t=>({default:t.cloudIcons.amazonbraketnoisesimulator})),amazonbraketchip:()=>x().then(t=>({default:t.cloudIcons.amazonbraketchip})),amazonbraketsimulator1:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator1})),amazonbraketmanagedsimulator:()=>x().then(t=>({default:t.cloudIcons.amazonbraketmanagedsimulator})),amazonbraketsimulator3:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator3})),amazonbraketchandelier:()=>x().then(t=>({default:t.cloudIcons.amazonbraketchandelier})),amazonbrakettensornetwork:()=>x().then(t=>({default:t.cloudIcons.amazonbrakettensornetwork})),amazonbraketsimulator4:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator4})),amazonbraketqpu:()=>x().then(t=>({default:t.cloudIcons.amazonbraketqpu})),amazonbraketstatevector:()=>x().then(t=>({default:t.cloudIcons.amazonbraketstatevector})),amazonbraketsimulator2:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator2})),amazonopensearchobservability:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchobservability})),amazonredshiftra3:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftra3})),amazonredshiftstreaming:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftstreaming})),amazonemrengine:()=>x().then(t=>({default:t.cloudIcons.amazonemrengine})),amazonredshiftqueryeditor:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftqueryeditor})),redshift:()=>x().then(t=>({default:t.cloudIcons.redshift})),amazonehrhdfscluster:()=>x().then(t=>({default:t.cloudIcons.amazonehrhdfscluster})),amazonmskconnect:()=>x().then(t=>({default:t.cloudIcons.amazonmskconnect})),awsgluedatacatalog:()=>x().then(t=>({default:t.cloudIcons.awsgluedatacatalog})),amazondatzonedataportal:()=>x().then(t=>({default:t.cloudIcons.amazondatzonedataportal})),amazondatzonebusinessdatacatalog:()=>x().then(t=>({default:t.cloudIcons.amazondatzonebusinessdatacatalog})),amazondatzonedataprojects:()=>x().then(t=>({default:t.cloudIcons.amazondatzonedataprojects})),amazonredshiftdensestorage:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftdensestorage})),awsgluedataquality:()=>x().then(t=>({default:t.cloudIcons.awsgluedataquality})),awsgluecrawler:()=>x().then(t=>({default:t.cloudIcons.awsgluecrawler})),amazonquicksightreports:()=>x().then(t=>({default:t.cloudIcons.amazonquicksightreports})),awslakeformationdatalake:()=>x().then(t=>({default:t.cloudIcons.awslakeformationdatalake})),amazonopensearchultrawarm:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchultrawarm})),amazoncloudsearchsearchdocuments:()=>x().then(t=>({default:t.cloudIcons.amazoncloudsearchsearchdocuments})),amazonopensearchingestion:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchingestion})),amazonathenadatasource:()=>x().then(t=>({default:t.cloudIcons.amazonathenadatasource})),amazonopensearchadminnode:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchadminnode})),amazonopensearchdashboards:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchdashboards})),amazonopensearchindex:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchindex})),awsglueray:()=>x().then(t=>({default:t.cloudIcons.awsglueray})),amazonredshiftdatasharing:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftdatasharing})),amazonredshiftautocopy:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftautocopy})),amazonredshiftdensecompute:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftdensecompute})),amazonredshiftml:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftml})),amazonopensearchtraces:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchtraces})),amazonemrcluster:()=>x().then(t=>({default:t.cloudIcons.amazonemrcluster})),amazonopensearchdatanode:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchdatanode})),awsdataexchangeapi:()=>x().then(t=>({default:t.cloudIcons.awsdataexchangeapi})),amazonworkspaces:()=>x().then(t=>({default:t.cloudIcons.amazonworkspaces})),amazonworkspacescore:()=>x().then(t=>({default:t.cloudIcons.amazonworkspacescore})),amazonworkspacesweb:()=>x().then(t=>({default:t.cloudIcons.amazonworkspacesweb})),awsdirservicesimplead:()=>x().then(t=>({default:t.cloudIcons.awsdirservicesimplead})),awswafbadbot:()=>x().then(t=>({default:t.cloudIcons.awswafbadbot})),awsidentityaccesssts:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccesssts})),awsidentityaccessaddon:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessaddon})),amazoninspectoragent:()=>x().then(t=>({default:t.cloudIcons.amazoninspectoragent})),awsidentityaccessdataencryption:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessdataencryption})),awsidentityaccessmfatoken:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessmfatoken})),awsdirserviceadconnector:()=>x().then(t=>({default:t.cloudIcons.awsdirserviceadconnector})),awsidentityaccesspermissions:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccesspermissions})),awswaflabels:()=>x().then(t=>({default:t.cloudIcons.awswaflabels})),awscertmgrca:()=>x().then(t=>({default:t.cloudIcons.awscertmgrca})),awsidentityaccessstsalt:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessstsalt})),awsdirservicemanagedmsad:()=>x().then(t=>({default:t.cloudIcons.awsdirservicemanagedmsad})),awssecurityhubfinding:()=>x().then(t=>({default:t.cloudIcons.awssecurityhubfinding})),awswafrule:()=>x().then(t=>({default:t.cloudIcons.awswafrule})),awsidentityaccessrole:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessrole})),awsidentityaccesslongtermcredential:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccesslongtermcredential})),awsidentityaccesstempcredential:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccesstempcredential})),awswaffilteringrule:()=>x().then(t=>({default:t.cloudIcons.awswaffilteringrule})),awswafbot:()=>x().then(t=>({default:t.cloudIcons.awswafbot})),awsshieldadvanced:()=>x().then(t=>({default:t.cloudIcons.awsshieldadvanced})),awsidentityaccessanalyzer:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessanalyzer})),iam:()=>x().then(t=>({default:t.cloudIcons.iam})),awswafbotcontrol:()=>x().then(t=>({default:t.cloudIcons.awswafbotcontrol})),awsidentityaccessrolesanywhere:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessrolesanywhere})),awsidentityaccessdataencryptionkey:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessdataencryptionkey})),awsnetworkfirewallendpoints:()=>x().then(t=>({default:t.cloudIcons.awsnetworkfirewallendpoints})),awswafmanagedrule:()=>x().then(t=>({default:t.cloudIcons.awswafmanagedrule})),awskeymanagementexternalkeystore:()=>x().then(t=>({default:t.cloudIcons.awskeymanagementexternalkeystore})),amazonblockchain:()=>x().then(t=>({default:t.cloudIcons.amazonblockchain})),amazoneventbridgesaas:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgesaas})),amazoneventbridgeschema:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgeschema})),amazonmqbroker:()=>x().then(t=>({default:t.cloudIcons.amazonmqbroker})),amazoneventbridgeschemaregistry:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgeschemaregistry})),amazoneventbridgedefaultbus:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgedefaultbus})),amazonsnsnotification:()=>x().then(t=>({default:t.cloudIcons.amazonsnsnotification})),amazoneventbridgeevent:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgeevent})),amazonnshttpnotification:()=>x().then(t=>({default:t.cloudIcons.amazonnshttpnotification})),amazoneventbridgepipes:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgepipes})),amazoneventbridgerule:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgerule})),amazonapigatewayendpoint:()=>x().then(t=>({default:t.cloudIcons.amazonapigatewayendpoint})),amazoneventbridgescheduler:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgescheduler})),amazonsqsqueue:()=>x().then(t=>({default:t.cloudIcons.amazonsqsqueue})),sqs:()=>x().then(t=>({default:t.cloudIcons.sqs})),amazonsqsmessage:()=>x().then(t=>({default:t.cloudIcons.amazonsqsmessage})),amazoneventbridgecustomeventbus:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgecustomeventbus})),amazonsnstopic:()=>x().then(t=>({default:t.cloudIcons.amazonsnstopic})),sns:()=>x().then(t=>({default:t.cloudIcons.sns})),awsssmpatchmanager:()=>x().then(t=>({default:t.cloudIcons.awsssmpatchmanager})),awscloudformationtemplate:()=>x().then(t=>({default:t.cloudIcons.awscloudformationtemplate})),awsopsworkslayers:()=>x().then(t=>({default:t.cloudIcons.awsopsworkslayers})),amazoncloudwatchmetricsinsights:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchmetricsinsights})),amazoncloudwatchdataprotection:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchdataprotection})),amazoncloudwatchalarm:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchalarm})),awstrustedadvisorchecksecurity:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorchecksecurity})),awstrustedadvisorcheckperformance:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorcheckperformance})),amazoncloudwatchrule:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchrule})),awsopsworksresources:()=>x().then(t=>({default:t.cloudIcons.awsopsworksresources})),amazoncloudwatcheventtime:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatcheventtime})),awsorgsmanagementaccount:()=>x().then(t=>({default:t.cloudIcons.awsorgsmanagementaccount})),awslicensemanagerlicenseblending:()=>x().then(t=>({default:t.cloudIcons.awslicensemanagerlicenseblending})),amazoncloudwatcheventevent:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatcheventevent})),amazoncloudwatchsynthetics:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchsynthetics})),awsssmstatemanager:()=>x().then(t=>({default:t.cloudIcons.awsssmstatemanager})),awscloudformationstack:()=>x().then(t=>({default:t.cloudIcons.awscloudformationstack})),awsopsworksinstances:()=>x().then(t=>({default:t.cloudIcons.awsopsworksinstances})),awsssmruncommand:()=>x().then(t=>({default:t.cloudIcons.awsssmruncommand})),awsopsworksdeployments:()=>x().then(t=>({default:t.cloudIcons.awsopsworksdeployments})),awsssmautomation:()=>x().then(t=>({default:t.cloudIcons.awsssmautomation})),awsssmchangecalendar:()=>x().then(t=>({default:t.cloudIcons.awsssmchangecalendar})),awsorgsorganizationalunit:()=>x().then(t=>({default:t.cloudIcons.awsorgsorganizationalunit})),awsssmsessionmanager:()=>x().then(t=>({default:t.cloudIcons.awsssmsessionmanager})),awstrustedadvisorcheckcost:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorcheckcost})),awsopsworksstack2:()=>x().then(t=>({default:t.cloudIcons.awsopsworksstack2})),awslicensemanagerapplicationdiscovery:()=>x().then(t=>({default:t.cloudIcons.awslicensemanagerapplicationdiscovery})),awsssmopscenter:()=>x().then(t=>({default:t.cloudIcons.awsssmopscenter})),awsssminventory:()=>x().then(t=>({default:t.cloudIcons.awsssminventory})),awsopsworkspermissions:()=>x().then(t=>({default:t.cloudIcons.awsopsworkspermissions})),awsopsworksapps:()=>x().then(t=>({default:t.cloudIcons.awsopsworksapps})),awscloudformationchangeset:()=>x().then(t=>({default:t.cloudIcons.awscloudformationchangeset})),awsssmdocuments:()=>x().then(t=>({default:t.cloudIcons.awsssmdocuments})),awsssmapplicationmanager:()=>x().then(t=>({default:t.cloudIcons.awsssmapplicationmanager})),awsorgsaccount:()=>x().then(t=>({default:t.cloudIcons.awsorgsaccount})),awscloudtrailcloudtraillake:()=>x().then(t=>({default:t.cloudIcons.awscloudtrailcloudtraillake})),awsssmmaintenancewindows:()=>x().then(t=>({default:t.cloudIcons.awsssmmaintenancewindows})),awssmmincidentmanager:()=>x().then(t=>({default:t.cloudIcons.awssmmincidentmanager})),amazoncloudwatchevidently:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchevidently})),amazoncloudwatchrum:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchrum})),awsssmparameterstore:()=>x().then(t=>({default:t.cloudIcons.awsssmparameterstore})),amazoncloudwatchlogs:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchlogs})),cloudwatch:()=>x().then(t=>({default:t.cloudIcons.cloudwatch})),awsssmchangemanager:()=>x().then(t=>({default:t.cloudIcons.awsssmchangemanager})),awsopsworksmonitoring:()=>x().then(t=>({default:t.cloudIcons.awsopsworksmonitoring})),awsssmcompliance:()=>x().then(t=>({default:t.cloudIcons.awsssmcompliance})),awsssmdistributor:()=>x().then(t=>({default:t.cloudIcons.awsssmdistributor})),amazoncloudwatchobservability:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchobservability})),awstrustedadvisorcheckfault:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorcheckfault})),awstrustedadvisorchecklist:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorchecklist})),amazonroute53routetable:()=>x().then(t=>({default:t.cloudIcons.amazonroute53routetable})),amazoncloudfrontdistribution:()=>x().then(t=>({default:t.cloudIcons.amazoncloudfrontdistribution})),amazonroute53routingcontrols:()=>x().then(t=>({default:t.cloudIcons.amazonroute53routingcontrols})),amazonroute53arc:()=>x().then(t=>({default:t.cloudIcons.amazonroute53arc})),amazonvpctrafficmirroring:()=>x().then(t=>({default:t.cloudIcons.amazonvpctrafficmirroring})),amazonvpcreachabilityanalyzer:()=>x().then(t=>({default:t.cloudIcons.amazonvpcreachabilityanalyzer})),awscloudmapnamespace:()=>x().then(t=>({default:t.cloudIcons.awscloudmapnamespace})),awstransitgatewayattachment:()=>x().then(t=>({default:t.cloudIcons.awstransitgatewayattachment})),amazonvpcigw:()=>x().then(t=>({default:t.cloudIcons.amazonvpcigw})),amazoncloudfrontedgelocation:()=>x().then(t=>({default:t.cloudIcons.amazoncloudfrontedgelocation})),awscloudwansegmentnetwork:()=>x().then(t=>({default:t.cloudIcons.awscloudwansegmentnetwork})),awscloudmapservice:()=>x().then(t=>({default:t.cloudIcons.awscloudmapservice})),awsappmeshvirtualrouter:()=>x().then(t=>({default:t.cloudIcons.awsappmeshvirtualrouter})),amazonvpcendpoints:()=>x().then(t=>({default:t.cloudIcons.amazonvpcendpoints})),amazonvpcvpnconnection:()=>x().then(t=>({default:t.cloudIcons.amazonvpcvpnconnection})),amazoncloudfrontstreaming:()=>x().then(t=>({default:t.cloudIcons.amazoncloudfrontstreaming})),amazonvpcpeering:()=>x().then(t=>({default:t.cloudIcons.amazonvpcpeering})),amazonroute53resolverdnsfirewall:()=>x().then(t=>({default:t.cloudIcons.amazonroute53resolverdnsfirewall})),amazonroute53hostedzone:()=>x().then(t=>({default:t.cloudIcons.amazonroute53hostedzone})),amazonvpcvpngateway:()=>x().then(t=>({default:t.cloudIcons.amazonvpcvpngateway})),amazoncloudfrontfunctions:()=>x().then(t=>({default:t.cloudIcons.amazoncloudfrontfunctions})),cloudfront:()=>x().then(t=>({default:t.cloudIcons.cloudfront})),amazoneaelasticnetworkadapter:()=>x().then(t=>({default:t.cloudIcons.amazoneaelasticnetworkadapter})),awsappmeshvirtualgateway:()=>x().then(t=>({default:t.cloudIcons.awsappmeshvirtualgateway})),amazonroute53resolverlogging:()=>x().then(t=>({default:t.cloudIcons.amazonroute53resolverlogging})),elasticlbclassic:()=>x().then(t=>({default:t.cloudIcons.elasticlbclassic})),amazonroute53resolver:()=>x().then(t=>({default:t.cloudIcons.amazonroute53resolver})),awscloudwancorenetworkedge:()=>x().then(t=>({default:t.cloudIcons.awscloudwancorenetworkedge})),awsappmeshvirtualservice:()=>x().then(t=>({default:t.cloudIcons.awsappmeshvirtualservice})),amazonvpcflowlogs:()=>x().then(t=>({default:t.cloudIcons.amazonvpcflowlogs})),awscloudmapresource:()=>x().then(t=>({default:t.cloudIcons.awscloudmapresource})),awsdirectconnectgateway:()=>x().then(t=>({default:t.cloudIcons.awsdirectconnectgateway})),amazonvpcnetworkaccessanalyzer:()=>x().then(t=>({default:t.cloudIcons.amazonvpcnetworkaccessanalyzer})),elasticlbapp:()=>x().then(t=>({default:t.cloudIcons.elasticlbapp})),amazonvpcvpc:()=>x().then(t=>({default:t.cloudIcons.amazonvpcvpc})),vpc:()=>x().then(t=>({default:t.cloudIcons.vpc})),amazonvpccarriergateway:()=>x().then(t=>({default:t.cloudIcons.amazonvpccarriergateway})),amazoneaelasticnetworkinterface:()=>x().then(t=>({default:t.cloudIcons.amazoneaelasticnetworkinterface})),awscloudwanrouteattachment:()=>x().then(t=>({default:t.cloudIcons.awscloudwanrouteattachment})),amazonroute53readiness:()=>x().then(t=>({default:t.cloudIcons.amazonroute53readiness})),awsappmeshvirtualnode:()=>x().then(t=>({default:t.cloudIcons.awsappmeshvirtualnode})),elasticlbgateway:()=>x().then(t=>({default:t.cloudIcons.elasticlbgateway})),amazonvpcrouter:()=>x().then(t=>({default:t.cloudIcons.amazonvpcrouter})),awsappmeshmesh:()=>x().then(t=>({default:t.cloudIcons.awsappmeshmesh})),amazonvpcnatgateway:()=>x().then(t=>({default:t.cloudIcons.amazonvpcnatgateway})),amazonvpcnetworkacl:()=>x().then(t=>({default:t.cloudIcons.amazonvpcnetworkacl})),amazonvpccustomer:()=>x().then(t=>({default:t.cloudIcons.amazonvpccustomer})),elasticlbnetwork:()=>x().then(t=>({default:t.cloudIcons.elasticlbnetwork})),amazons3replication:()=>x().then(t=>({default:t.cloudIcons.amazons3replication})),amazons3onezone:()=>x().then(t=>({default:t.cloudIcons.amazons3onezone})),awsbackuplegalhold:()=>x().then(t=>({default:t.cloudIcons.awsbackuplegalhold})),awsstoragegateaway:()=>x().then(t=>({default:t.cloudIcons.awsstoragegateaway})),amazonefsstandard:()=>x().then(t=>({default:t.cloudIcons.amazonefsstandard})),efs:()=>x().then(t=>({default:t.cloudIcons.efs})),elasticfilesystem:()=>x().then(t=>({default:t.cloudIcons.elasticfilesystem})),amazons3bucket:()=>x().then(t=>({default:t.cloudIcons.amazons3bucket})),s3:()=>x().then(t=>({default:t.cloudIcons.s3})),awsstoragegateawayfile:()=>x().then(t=>({default:t.cloudIcons.awsstoragegateawayfile})),awsfsxfile:()=>x().then(t=>({default:t.cloudIcons.awsfsxfile})),amazons3glacierinstant:()=>x().then(t=>({default:t.cloudIcons.amazons3glacierinstant})),amazonfilecache:()=>x().then(t=>({default:t.cloudIcons.amazonfilecache})),amazons3standardia:()=>x().then(t=>({default:t.cloudIcons.amazons3standardia})),amazons3generalaccess:()=>x().then(t=>({default:t.cloudIcons.amazons3generalaccess})),amazons3lambda:()=>x().then(t=>({default:t.cloudIcons.amazons3lambda})),amazons3objectlock:()=>x().then(t=>({default:t.cloudIcons.amazons3objectlock})),awsbackupvirtualmachine:()=>x().then(t=>({default:t.cloudIcons.awsbackupvirtualmachine})),amazonec2gp3:()=>x().then(t=>({default:t.cloudIcons.amazonec2gp3})),amazonefsfilesys:()=>x().then(t=>({default:t.cloudIcons.amazonefsfilesys})),awssnowballimportexport:()=>x().then(t=>({default:t.cloudIcons.awssnowballimportexport})),amazons3object:()=>x().then(t=>({default:t.cloudIcons.amazons3object})),awsbackupcache:()=>x().then(t=>({default:t.cloudIcons.awsbackupcache})),amazons3lambdaobject:()=>x().then(t=>({default:t.cloudIcons.amazons3lambdaobject})),awsbackupgateway:()=>x().then(t=>({default:t.cloudIcons.awsbackupgateway})),awsbackuprto:()=>x().then(t=>({default:t.cloudIcons.awsbackuprto})),awsbackupvaultlock:()=>x().then(t=>({default:t.cloudIcons.awsbackupvaultlock})),awsbackupvirtualtape:()=>x().then(t=>({default:t.cloudIcons.awsbackupvirtualtape})),amazonebsdatalifecycle:()=>x().then(t=>({default:t.cloudIcons.amazonebsdatalifecycle})),awsbackupplan:()=>x().then(t=>({default:t.cloudIcons.awsbackupplan})),amazonfilecaches3:()=>x().then(t=>({default:t.cloudIcons.amazonfilecaches3})),awsbackupcloudformation:()=>x().then(t=>({default:t.cloudIcons.awsbackupcloudformation})),awsbackuptapegateway:()=>x().then(t=>({default:t.cloudIcons.awsbackuptapegateway})),awsbackupvmware:()=>x().then(t=>({default:t.cloudIcons.awsbackupvmware})),amazonefsonezoneia:()=>x().then(t=>({default:t.cloudIcons.amazonefsonezoneia})),amazons3replicationtime:()=>x().then(t=>({default:t.cloudIcons.amazons3replicationtime})),awsbackupstorage:()=>x().then(t=>({default:t.cloudIcons.awsbackupstorage})),amazonefsintelligenttiering:()=>x().then(t=>({default:t.cloudIcons.amazonefsintelligenttiering})),amazons3glacierdeep:()=>x().then(t=>({default:t.cloudIcons.amazons3glacierdeep})),amazons3select:()=>x().then(t=>({default:t.cloudIcons.amazons3select})),amazons3outposts:()=>x().then(t=>({default:t.cloudIcons.amazons3outposts})),awsfilegateway:()=>x().then(t=>({default:t.cloudIcons.awsfilegateway})),amazons3glacier:()=>x().then(t=>({default:t.cloudIcons.amazons3glacier})),awsbackupvmmonitor:()=>x().then(t=>({default:t.cloudIcons.awsbackupvmmonitor})),amazons3multiregion:()=>x().then(t=>({default:t.cloudIcons.amazons3multiregion})),awsbackupvault:()=>x().then(t=>({default:t.cloudIcons.awsbackupvault})),awsbackupauditmanager:()=>x().then(t=>({default:t.cloudIcons.awsbackupauditmanager})),amazonfilecachehybridnfs:()=>x().then(t=>({default:t.cloudIcons.amazonfilecachehybridnfs})),amazonefselasticthroughput:()=>x().then(t=>({default:t.cloudIcons.amazonefselasticthroughput})),awsbackupawsbackupfors3:()=>x().then(t=>({default:t.cloudIcons.awsbackupawsbackupfors3})),amazons3standard:()=>x().then(t=>({default:t.cloudIcons.amazons3standard})),amazonefsonezone:()=>x().then(t=>({default:t.cloudIcons.amazonefsonezone})),awsstoragegateawayvolume:()=>x().then(t=>({default:t.cloudIcons.awsstoragegateawayvolume})),awsbackuprestore:()=>x().then(t=>({default:t.cloudIcons.awsbackuprestore})),amazonebsvolumes:()=>x().then(t=>({default:t.cloudIcons.amazonebsvolumes})),amazons3lens:()=>x().then(t=>({default:t.cloudIcons.amazons3lens})),awsbackupcompute:()=>x().then(t=>({default:t.cloudIcons.awsbackupcompute})),amazonvpclogs:()=>x().then(t=>({default:t.cloudIcons.amazonvpclogs})),amazons3batch:()=>x().then(t=>({default:t.cloudIcons.amazons3batch})),amazonefsinfrequent:()=>x().then(t=>({default:t.cloudIcons.amazonefsinfrequent})),amazons3tiering:()=>x().then(t=>({default:t.cloudIcons.amazons3tiering})),awsbackuprpo:()=>x().then(t=>({default:t.cloudIcons.awsbackuprpo})),awsbackupcompliance:()=>x().then(t=>({default:t.cloudIcons.awsbackupcompliance})),amazonebssnapshot:()=>x().then(t=>({default:t.cloudIcons.amazonebssnapshot})),awsbackupdatabase:()=>x().then(t=>({default:t.cloudIcons.awsbackupdatabase})),awsbackupfsx:()=>x().then(t=>({default:t.cloudIcons.awsbackupfsx})),amazons3glacierflex:()=>x().then(t=>({default:t.cloudIcons.amazons3glacierflex})),glacier:()=>x().then(t=>({default:t.cloudIcons.glacier})),s3glacier:()=>x().then(t=>({default:t.cloudIcons.s3glacier})),amazons3bucketobject:()=>x().then(t=>({default:t.cloudIcons.amazons3bucketobject})),amazonebsvolume:()=>x().then(t=>({default:t.cloudIcons.amazonebsvolume})),ebs:()=>x().then(t=>({default:t.cloudIcons.ebs})),amazons3vault:()=>x().then(t=>({default:t.cloudIcons.amazons3vault})),amazoneksoutposts:()=>x().then(t=>({default:t.cloudIcons.amazoneksoutposts})),amazonecscontainer2:()=>x().then(t=>({default:t.cloudIcons.amazonecscontainer2})),amazonecrimage:()=>x().then(t=>({default:t.cloudIcons.amazonecrimage})),amazonecstask:()=>x().then(t=>({default:t.cloudIcons.amazonecstask})),amazonecsservice:()=>x().then(t=>({default:t.cloudIcons.amazonecsservice})),amazonecscontainer1:()=>x().then(t=>({default:t.cloudIcons.amazonecscontainer1})),amazonecrregistry:()=>x().then(t=>({default:t.cloudIcons.amazonecrregistry})),amazonecscontainer3:()=>x().then(t=>({default:t.cloudIcons.amazonecscontainer3})),ecs:()=>x().then(t=>({default:t.cloudIcons.ecs})),amazonecscopilotcli:()=>x().then(t=>({default:t.cloudIcons.amazonecscopilotcli})),amazonecsserviceconnect:()=>x().then(t=>({default:t.cloudIcons.amazonecsserviceconnect})),amazonec2extractor:()=>x().then(t=>({default:t.cloudIcons.amazonec2extractor})),amazonec2ami:()=>x().then(t=>({default:t.cloudIcons.amazonec2ami})),awselasticbeanstalkdeployment:()=>x().then(t=>({default:t.cloudIcons.awselasticbeanstalkdeployment})),awslambdafunction:()=>x().then(t=>({default:t.cloudIcons.awslambdafunction})),lambda:()=>x().then(t=>({default:t.cloudIcons.lambda})),amazonec2instance:()=>x().then(t=>({default:t.cloudIcons.amazonec2instance})),ec2:()=>x().then(t=>({default:t.cloudIcons.ec2})),amazonec2autoscaling:()=>x().then(t=>({default:t.cloudIcons.amazonec2autoscaling})),amazonec2spotinstance:()=>x().then(t=>({default:t.cloudIcons.amazonec2spotinstance})),awselasticbeanstalkapp:()=>x().then(t=>({default:t.cloudIcons.awselasticbeanstalkapp})),amazonec2instancecloudwatch:()=>x().then(t=>({default:t.cloudIcons.amazonec2instancecloudwatch})),amazonec2rescue:()=>x().then(t=>({default:t.cloudIcons.amazonec2rescue})),amazonec2instances:()=>x().then(t=>({default:t.cloudIcons.amazonec2instances})),amazonec2dbinstance:()=>x().then(t=>({default:t.cloudIcons.amazonec2dbinstance})),amazonec2elasticip:()=>x().then(t=>({default:t.cloudIcons.amazonec2elasticip})),amazonrdsoptimizedwrites:()=>x().then(t=>({default:t.cloudIcons.amazonrdsoptimizedwrites})),amazondynamodbtblclass:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbtblclass})),amazonrdsinstancealternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsinstancealternate})),amazondynamodbattributes:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbattributes})),amazonrdsauroramysqlalternative:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroramysqlalternative})),amazondynamodbitem:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbitem})),amazonrdsaurorapgsqlalt:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorapgsqlalt})),amazondynamodbitems:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbitems})),amazonrdsauroraalternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroraalternate})),amazonrdsaurorasqlalt:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorasqlalt})),amazonrdsinstance:()=>x().then(t=>({default:t.cloudIcons.amazonrdsinstance})),rds:()=>x().then(t=>({default:t.cloudIcons.rds})),amazonrdsmultiaz:()=>x().then(t=>({default:t.cloudIcons.amazonrdsmultiaz})),amazondocdbelasticclusters:()=>x().then(t=>({default:t.cloudIcons.amazondocdbelasticclusters})),amazonrdstrustedextpgsql:()=>x().then(t=>({default:t.cloudIcons.amazonrdstrustedextpgsql})),amazonrdsaurorasql:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorasql})),amazondynamodbglobal:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbglobal})),amazonrdsoracle:()=>x().then(t=>({default:t.cloudIcons.amazonrdsoracle})),amazonrdsoraclealternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsoraclealternate})),amazondynamodbstream:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbstream})),amazonrdstrustedpgsql:()=>x().then(t=>({default:t.cloudIcons.amazonrdstrustedpgsql})),amazondax:()=>x().then(t=>({default:t.cloudIcons.amazondax})),amazonelasticache4redis:()=>x().then(t=>({default:t.cloudIcons.amazonelasticache4redis})),elasticache:()=>x().then(t=>({default:t.cloudIcons.elasticache})),amazonrdsproxy:()=>x().then(t=>({default:t.cloudIcons.amazonrdsproxy})),amazondynamodbaccesstable:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbaccesstable})),amazonrdsauroramysql:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroramysql})),amazonrdspiops:()=>x().then(t=>({default:t.cloudIcons.amazonrdspiops})),awsdbmigrationserviceworkflow:()=>x().then(t=>({default:t.cloudIcons.awsdbmigrationserviceworkflow})),amazondynamodbattribute:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbattribute})),amazonrdsbluegreendeploy:()=>x().then(t=>({default:t.cloudIcons.amazonrdsbluegreendeploy})),amazondynamodbtable:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbtable})),dynamodb:()=>x().then(t=>({default:t.cloudIcons.dynamodb})),amazonrdsaurorainstance:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorainstance})),amazonrdsauroradbinstance:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroradbinstance})),amazonelasticache4memcached:()=>x().then(t=>({default:t.cloudIcons.amazonelasticache4memcached})),amazonrdsproxyalternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsproxyalternate})),amazonrdsaurorapgsql:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorapgsql})),amazonrdsauroradbinstancealternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroradbinstancealternate})),amazonelasticachecachenode:()=>x().then(t=>({default:t.cloudIcons.amazonelasticachecachenode})),amazonrdsmultiazcluster:()=>x().then(t=>({default:t.cloudIcons.amazonrdsmultiazcluster})),awstransferfamilyftps:()=>x().then(t=>({default:t.cloudIcons.awstransferfamilyftps})),awstransferfamilysftp:()=>x().then(t=>({default:t.cloudIcons.awstransferfamilysftp})),awsmainframemodruntime:()=>x().then(t=>({default:t.cloudIcons.awsmainframemodruntime})),awstransferfamilyftp:()=>x().then(t=>({default:t.cloudIcons.awstransferfamilyftp})),awsmigrationhubrefactor:()=>x().then(t=>({default:t.cloudIcons.awsmigrationhubrefactor})),awsmainframemoddeveloper:()=>x().then(t=>({default:t.cloudIcons.awsmainframemoddeveloper})),awsdiscoveryagent:()=>x().then(t=>({default:t.cloudIcons.awsdiscoveryagent})),awsmainframemodcompiler:()=>x().then(t=>({default:t.cloudIcons.awsmainframemodcompiler})),awsmigrationhubrefactorapp:()=>x().then(t=>({default:t.cloudIcons.awsmigrationhubrefactorapp})),awsdiscoveryagentlesscollector:()=>x().then(t=>({default:t.cloudIcons.awsdiscoveryagentlesscollector})),awsmainframemodanalyzer:()=>x().then(t=>({default:t.cloudIcons.awsmainframemodanalyzer})),awsdatasyndiscovery:()=>x().then(t=>({default:t.cloudIcons.awsdatasyndiscovery})),awsmigrationhubrefactorservice:()=>x().then(t=>({default:t.cloudIcons.awsmigrationhubrefactorservice})),awsdatasyngagent:()=>x().then(t=>({default:t.cloudIcons.awsdatasyngagent})),awsmainframemodconverter:()=>x().then(t=>({default:t.cloudIcons.awsmainframemodconverter})),awstransferfamilyas2:()=>x().then(t=>({default:t.cloudIcons.awstransferfamilyas2})),awsdiscoverymigrationevaluator:()=>x().then(t=>({default:t.cloudIcons.awsdiscoverymigrationevaluator})),awscloudinterface:()=>x().then(t=>({default:t.cloudIcons.awscloudinterface})),awsmediaconnectgateway:()=>x().then(t=>({default:t.cloudIcons.awsmediaconnectgateway})),awsrobomakercloudextensions:()=>x().then(t=>({default:t.cloudIcons.awsrobomakercloudextensions})),awsrobomakersimulation:()=>x().then(t=>({default:t.cloudIcons.awsrobomakersimulation})),awsrobomakerfleetmanagement:()=>x().then(t=>({default:t.cloudIcons.awsrobomakerfleetmanagement})),awsrobomakerdevenv:()=>x().then(t=>({default:t.cloudIcons.awsrobomakerdevenv})),awsamplifystudio:()=>x().then(t=>({default:t.cloudIcons.awsamplifystudio})),amazonlocationmap:()=>x().then(t=>({default:t.cloudIcons.amazonlocationmap})),amazonlocationplace:()=>x().then(t=>({default:t.cloudIcons.amazonlocationplace})),amazonlocationtrack:()=>x().then(t=>({default:t.cloudIcons.amazonlocationtrack})),amazonlocationgeofence:()=>x().then(t=>({default:t.cloudIcons.amazonlocationgeofence})),amazonlocationroutes:()=>x().then(t=>({default:t.cloudIcons.amazonlocationroutes})),awscloud9:()=>x().then(t=>({default:t.cloudIcons.awscloud9})),amazonemailservice:()=>x().then(t=>({default:t.cloudIcons.amazonemailservice})),amazonpinpointjourney:()=>x().then(t=>({default:t.cloudIcons.amazonpinpointjourney})),azureactivedirectory:()=>x().then(t=>({default:t.cloudIcons.azureactivedirectory})),azurebackup:()=>x().then(t=>({default:t.cloudIcons.azurebackup})),azurecdn:()=>x().then(t=>({default:t.cloudIcons.azurecdn})),azuredatafactory:()=>x().then(t=>({default:t.cloudIcons.azuredatafactory})),azuredevops:()=>x().then(t=>({default:t.cloudIcons.azuredevops})),azurefunction:()=>x().then(t=>({default:t.cloudIcons.azurefunction})),azuresql:()=>x().then(t=>({default:t.cloudIcons.azuresql})),cosmosdb:()=>x().then(t=>({default:t.cloudIcons.cosmosdb})),logicapps:()=>x().then(t=>({default:t.cloudIcons.logicapps})),virtualmachine:()=>x().then(t=>({default:t.cloudIcons.virtualmachine})),bigtable:()=>x().then(t=>({default:t.cloudIcons.bigtable})),bigquery:()=>x().then(t=>({default:t.cloudIcons.bigquery})),cloudcdn:()=>x().then(t=>({default:t.cloudIcons.cloudcdn})),clouddns:()=>x().then(t=>({default:t.cloudIcons.clouddns})),cloudinterconnect:()=>x().then(t=>({default:t.cloudIcons.cloudinterconnect})),cloudloadbalancing:()=>x().then(t=>({default:t.cloudIcons.cloudloadbalancing})),cloudsql:()=>x().then(t=>({default:t.cloudIcons.cloudsql})),cloudstorage:()=>x().then(t=>({default:t.cloudIcons.cloudstorage})),datalab:()=>x().then(t=>({default:t.cloudIcons.datalab})),dataproc:()=>x().then(t=>({default:t.cloudIcons.dataproc})),googleiam:()=>x().then(t=>({default:t.cloudIcons.googleiam})),googlesecurity:()=>x().then(t=>({default:t.cloudIcons.googlesecurity})),googlevpc:()=>x().then(t=>({default:t.cloudIcons.googlevpc})),pubsub:()=>x().then(t=>({default:t.cloudIcons.pubsub})),securityscanner:()=>x().then(t=>({default:t.cloudIcons.securityscanner})),stackdriver:()=>x().then(t=>({default:t.cloudIcons.stackdriver})),visionapi:()=>x().then(t=>({default:t.cloudIcons.visionapi})),client:()=>x().then(t=>({default:t.cloudIcons.client})),server:()=>x().then(t=>({default:t.cloudIcons.server})),browser:()=>x().then(t=>({default:t.cloudIcons.browser})),service:()=>x().then(t=>({default:t.cloudIcons.service})),controller:()=>x().then(t=>({default:t.cloudIcons.controller})),api:()=>x().then(t=>({default:t.cloudIcons.api})),ui:()=>x().then(t=>({default:t.cloudIcons.ui})),mobile:()=>x().then(t=>({default:t.cloudIcons.mobile})),externalsystem:()=>x().then(t=>({default:t.cloudIcons.externalsystem})),application:()=>x().then(t=>({default:t.cloudIcons.application})),loadbalancer:()=>x().then(t=>({default:t.cloudIcons.loadbalancer})),network:()=>x().then(t=>({default:t.cloudIcons.network})),cache:()=>x().then(t=>({default:t.cloudIcons.cache})),webserver:()=>x().then(t=>({default:t.cloudIcons.webserver})),messagequeue:()=>x().then(t=>({default:t.cloudIcons.messagequeue})),scheduler:()=>x().then(t=>({default:t.cloudIcons.scheduler})),gateway:()=>x().then(t=>({default:t.cloudIcons.gateway})),authenticationservice:()=>x().then(t=>({default:t.cloudIcons.authenticationservice})),mailserver:()=>x().then(t=>({default:t.cloudIcons.mailserver})),github:()=>x().then(t=>({default:t.cloudIcons.github})),docker:()=>x().then(t=>({default:t.cloudIcons.docker})),gitlab:()=>x().then(t=>({default:t.cloudIcons.gitlab})),jenkins:()=>x().then(t=>({default:t.cloudIcons.jenkins})),postgresql:()=>x().then(t=>({default:t.cloudIcons.postgresql})),mongodb:()=>x().then(t=>({default:t.cloudIcons.mongodb})),kubernetes:()=>x().then(t=>({default:t.cloudIcons.kubernetes})),apachekafka:()=>x().then(t=>({default:t.cloudIcons.apachekafka})),elasticsearch:()=>x().then(t=>({default:t.cloudIcons.elasticsearch})),auth0:()=>x().then(t=>({default:t.cloudIcons.auth0})),redis:()=>x().then(t=>({default:t.cloudIcons.redis}))}},AC=({iconKey:t,className:e,alt:n})=>{const[s,l]=y.useState(null);return y.useEffect(()=>{(async()=>{if(!t||!et[t]){if(t&&et[t.toLowerCase()]){const c=await et[t.toLowerCase()]();l(c.default);return}return}try{const c=await et[t]();l(c.default)}catch(c){console.error(`Failed to load icon: ${t}`,c)}})()},[t]),s?M.jsx("div",{className:e,"aria-description":n,dangerouslySetInnerHTML:{__html:s}}):M.jsx("div",{className:e})},tt=t=>M.jsx("ul",{role:"list",className:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",children:t.types.map(e=>M.jsxs("li",{className:"col-span-1 flex flex-col shadow-sm rounded-md",children:[M.jsx("div",{className:"h-12 flex items-center justify-center bg-gray-50 text-sm font-medium rounded-t-md",children:M.jsx(AC,{iconKey:e==null?void 0:e.toLowerCase(),className:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full"})}),M.jsx("div",{className:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md",children:M.jsx("div",{className:"px-2 py-2 text-xs",children:M.jsxs("span",{className:"text-gray-900 font-medium hover:text-gray-600",children:["@",e]})})})]},e))}),a_=["Actor","Boundary","Control","Database","Entity"],L_=["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"],c_=["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"],C_=["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"],u_=`// Define a Starter (optional)
80
+ `).length*20:0}}class g5 extends ac{get metrics(){return this.runtime.metrics}measureComment(e=this.context){return!(e!=null&&e.getComment)||!e.getComment()?0:new Kw().measure(e.getComment())}resolveFragmentOrigin(e){try{return(W9(this.context)||[])[0]||e}catch(n){return console.warn("Failed to resolve fragment origin",n),e}}findLeftParticipant(e,n){if(!e)return;const s=W9(e)||[];return this.runtime.participants.find(L=>s.includes(L))||s[0]||n||void 0}measureOccurrence(e,n,s,l=24,L=1){var p,m,v;const c=(v=(m=(p=e==null?void 0:e.braceBlock)==null?void 0:p.call(e))==null?void 0:m.block)==null?void 0:v.call(m);if(!c)return l;const C=this.metrics.statementMarginY-L,d=n-C,g=this.layoutBlock(c,s||this.runtime.originParticipant,d)-d-C;return Math.max(l,g)}isRootLevelStatement(e){return(e==null?void 0:e.parentCtx)===this.runtime.rootBlock}isFirstStatement(e){var l;const n=e==null?void 0:e.parentCtx,s=((l=n==null?void 0:n.stat)==null?void 0:l.call(n))||[];return s.length>0&&s[0]===e}altHasMultipleBranches(e){var L,c;if(typeof(e==null?void 0:e.alt)!="function")return!1;const n=e.alt();if(!n)return!1;const s=((L=n==null?void 0:n.elseIfBlock)==null?void 0:L.call(n))||[],l=!!((c=n==null?void 0:n.elseBlock)!=null&&c.call(n));return s.length>0||l}}class Jw extends g5{constructor(n,s,l){super(n,l);d2(this,"kind","async");this.asyncMessage=s}measure(n,s){var g,p,m,v,b,A,k;const l=this.asyncMessage,L=this.measureComment(l),c=((g=l==null?void 0:l.From)==null?void 0:g.call(l))||((p=l==null?void 0:l.ProvidedFrom)==null?void 0:p.call(l))||((m=l==null?void 0:l.Origin)==null?void 0:m.call(l))||s,C=((v=l==null?void 0:l.Owner)==null?void 0:v.call(l))||((k=(A=(b=l==null?void 0:l.to)==null?void 0:b.call(l))==null?void 0:A.getFormattedText)==null?void 0:k.call(A))||c;return{top:n,height:L+(c===C?44:16),kind:this.kind}}}const ev=40;class tv extends g5{constructor(n,s,l){super(n,l);d2(this,"kind","creation");this.creation=s}measure(n,s){var g,p,m,v,b,A,k,S;const l=((p=(g=this.creation)==null?void 0:g.Owner)==null?void 0:p.call(g))||s,L=this.measureComment(this.creation);l&&this.runtime.updateCreationTop(l,n+L);let c=n+L+ev;const C=(A=(b=(v=(m=this.creation)==null?void 0:m.braceBlock)==null?void 0:v.call(m))==null?void 0:b.block)==null?void 0:A.call(b);if(C){const N=this.findLeftParticipant(this.creation,s)||s;c=this.layoutBlock(C,N,c,this.kind),c+=2}else c+=22;((S=(k=this.creation)==null?void 0:k.Assignment)==null?void 0:S.call(k))&&(a3.info(`creation::assignment::${l}`),c+=12);const f=c-n;return{top:n,height:f,kind:this.kind}}}class nv extends g5{constructor(){super(...arguments);d2(this,"kind","divider")}measure(n){return{top:n,height:40,kind:this.kind}}}class iv extends g5{constructor(){super(...arguments);d2(this,"kind","empty")}measure(n){return{top:n,height:0,kind:this.kind}}}class je extends g5{beginFragment(e,n){const s=this.measureComment(e),l=this.metrics.fragmentHeaderHeight;return{cursor:n+s+l,commentHeight:s,headerHeight:l}}finalizeFragment(e,n){return n+=this.metrics.fragmentPaddingBottom,{top:e,height:n-e}}}class sv extends je{constructor(n,s,l){super(n,l);d2(this,"kind","alt");this.alt=s}measure(n,s){var f,g,p,m,v,b,A,k,S,N,I,O;const l=this.findLeftParticipant(this.alt,s)||s,L=this.measureComment(this.alt);let c=n+1+this.metrics.fragmentHeaderHeight+L;const C=(g=(f=this.alt)==null?void 0:f.ifBlock)==null?void 0:g.call(f);C&&(c+=20,c=this.layoutBlock((p=C.braceBlock())==null?void 0:p.block(),l,c)),(b=(v=(m=this.alt)==null?void 0:m.elseIfBlock)==null?void 0:v.call(m))==null||b.forEach(B=>{var P,Y,n2;c+=20,c+=8,c+=1,c=this.layoutBlock((n2=(Y=(P=B==null?void 0:B.braceBlock)==null?void 0:P.call(B))==null?void 0:Y.block)==null?void 0:n2.call(Y),l,c)});const d=(O=(I=(N=(S=(k=(A=this.alt)==null?void 0:A.elseBlock)==null?void 0:k.call(A))==null?void 0:S.braceBlock)==null?void 0:N.call(S))==null?void 0:I.block)==null?void 0:O.call(I);return d&&(c+=20,c+=8,c+=1,c=this.layoutBlock(d,l,c)),c+=this.metrics.fragmentPaddingBottom+1,{top:n,height:c-n,kind:this.kind}}}class z6 extends je{constructor(e,n,s){super(e,s),this.fragment=n}measure(e,n){var C,d,f,g,p,m,v,b;const s=this.measureComment(this.fragment);let l=e+1+this.metrics.fragmentHeaderHeight+s;!!((g=(f=(d=(C=this.fragment)==null?void 0:C.parExpr)==null?void 0:d.call(C))==null?void 0:f.condition)!=null&&g.call(f))&&(l+=20);const c=(b=(v=(m=(p=this.fragment)==null?void 0:p.braceBlock)==null?void 0:m.call(p))==null?void 0:v.block)==null?void 0:b.call(v);if(c){const A=this.findLeftParticipant(this.fragment,n)||n;l=this.layoutBlock(c,A,l,this.kind)}return l+=this.metrics.fragmentPaddingBottom+1,{top:e,height:l-e,kind:this.kind}}}class ov extends z6{constructor(){super(...arguments);d2(this,"kind","critical")}}class lv extends z6{constructor(){super(...arguments);d2(this,"kind","loop")}}class rv extends z6{constructor(){super(...arguments);d2(this,"kind","opt")}}class av extends z6{constructor(){super(...arguments);d2(this,"kind","par")}}class Lv extends je{constructor(){super(...arguments);d2(this,"kind","ref")}measure(n){var C,d;const s=((d=(C=this.context)==null?void 0:C.ref)==null?void 0:d.call(C))||this.context,l=this.measureComment(s),L=this.metrics.fragmentHeaderHeight,c=l+L+this.metrics.fragmentPaddingBottom;return{top:n,height:c,kind:this.kind}}}class cv extends z6{constructor(){super(...arguments);d2(this,"kind","section")}}class Cv extends je{constructor(n,s,l){super(n,l);d2(this,"kind","tcf");this.tcf=s}measure(n,s){var g,p,m,v,b,A,k,S,N,I,O,B,P,Y;const l=this.findLeftParticipant(this.tcf,s)||s,L=this.measureComment(this.tcf);let c=n+1+this.metrics.fragmentHeaderHeight+L;const C=(A=(b=(v=(m=(p=(g=this.tcf)==null?void 0:g.tryBlock)==null?void 0:p.call(g))==null?void 0:m.braceBlock)==null?void 0:v.call(m))==null?void 0:b.block)==null?void 0:A.call(b);C&&(c=this.layoutBlock(C,l,c)),(((S=(k=this.tcf)==null?void 0:k.catchBlock)==null?void 0:S.call(k))||[]).forEach(n2=>{var f2,c2,h2;c+=20,c+=8,c+=1;const o2=(h2=(c2=(f2=n2==null?void 0:n2.braceBlock)==null?void 0:f2.call(n2))==null?void 0:c2.block)==null?void 0:h2.call(c2);c=this.layoutBlock(o2,l,c)});const f=(Y=(P=(B=(O=(I=(N=this.tcf)==null?void 0:N.finallyBlock)==null?void 0:I.call(N))==null?void 0:O.braceBlock)==null?void 0:B.call(O))==null?void 0:P.block)==null?void 0:Y.call(P);return f&&(c+=20,c+=8,c+=1,c=this.layoutBlock(f,l,c)),c+=this.metrics.fragmentPaddingBottom+1,{top:n,height:c-n,kind:this.kind}}}class uv extends g5{constructor(n,s){var l;super(n,s);d2(this,"kind","return");d2(this,"returnContext");this.returnContext=(l=n==null?void 0:n.ret)==null?void 0:l.call(n)}measure(n){var v,b,A,k,S,N,I,O,B;const s=this.returnContext||this.context,l=this.measureComment(s);let L=n+l;const c=this.returnContext,C=(v=c==null?void 0:c.asyncMessage)==null?void 0:v.call(c),d=((b=C==null?void 0:C.From)==null?void 0:b.call(C))||((A=c==null?void 0:c.From)==null?void 0:A.call(c))||E1,f=((N=(S=(k=C==null?void 0:C.to)==null?void 0:k.call(C))==null?void 0:S.getFormattedText)==null?void 0:N.call(S))||((I=c==null?void 0:c.ReturnTo)==null?void 0:I.call(c))||E1,g=d===f;if(L+=g?20:0,!g){const P=(O=this.context)==null?void 0:O.parentCtx,Y=((B=P==null?void 0:P.stat)==null?void 0:B.call(P))||[];Y[Y.length-1]===this.context||(L+=16)}const m=L-n;return{top:n,height:m,kind:this.kind}}}class dv extends g5{constructor(n,s,l){super(n,l);d2(this,"kind","sync");this.message=s}measure(n,s){var v,b,A,k,S,N,I,O,B,P;const l=this.measureComment(this.message);let L=n+l;const c=((b=(v=this.message).From)==null?void 0:b.call(v))||E1,C=((k=(A=this.message).Owner)==null?void 0:k.call(A))||E1,d=(O=(I=(N=(S=this.message).braceBlock)==null?void 0:N.call(S))==null?void 0:I.block)==null?void 0:O.call(I),f=(P=(B=this.message).Assignment)==null?void 0:P.call(B),g=c===C;if(L+=g?30:16,d){const Y=this.findLeftParticipant(this.message,s)||s;L=this.layoutBlock(d,Y,L,this.kind),L+=2}else L+=22;f&&!g&&(L+=12);const m=L-n;return{top:n,height:m,kind:this.kind}}}const hv=(t,e)=>{var m,v,b,A,k,S,N,I,O,B,P,Y,n2;const n=(m=t.creation)==null?void 0:m.call(t);if(n)return new tv(t,n,e);const s=(v=t.message)==null?void 0:v.call(t);if(s)return new dv(t,s,e);const l=(b=t.asyncMessage)==null?void 0:b.call(t);if(l)return new Jw(t,l,e);if((A=t.ret)!=null&&A.call(t))return new uv(t,e);if((k=t.divider)!=null&&k.call(t))return new nv(t,e);const L=(S=t.loop)==null?void 0:S.call(t);if(L)return new lv(t,L,e);const c=(N=t.opt)==null?void 0:N.call(t);if(c)return new rv(t,c,e);const C=(I=t.par)==null?void 0:I.call(t);if(C)return new av(t,C,e);const d=(O=t.section)==null?void 0:O.call(t);if(d)return new cv(t,d,e);const f=(B=t.critical)==null?void 0:B.call(t);if(f)return new ov(t,f,e);const g=(P=t.tcf)==null?void 0:P.call(t);if(g)return new Cv(t,g,e);const p=(Y=t.alt)==null?void 0:Y.call(t);return p?new sv(t,p,e):(n2=t.ref)!=null&&n2.call(t)?new Lv(t,e):new iv(t,e)};class Nc extends ac{constructor(n,s){var l;super(n,s);d2(this,"statements");this.statements=((l=n==null?void 0:n.stat)==null?void 0:l.call(n))||[]}layout(n,s,l){if(!this.statements.length)return s;const L=this.runtime.metrics;let c=s+L.statementMarginY;return this.statements.forEach((C,d)=>{l==="par"&&d!==0&&(c+=1);const g=hv(C,this.runtime).measure(c,n);this.runtime.recordCoordinate(C,g),c=g.top+g.height+L.statementMarginY}),c}}const fv=4,gv={statementMarginY:(t=>t*fv)(4),fragmentHeaderHeight:25,fragmentPaddingBottom:10};class Oc{constructor(e){d2(this,"statementMap",new Map);d2(this,"creationTops",new Map);d2(this,"totalHeight");var d;const n=((d=e==null?void 0:e.block)==null?void 0:d.call(e))??e,s=Ss(e).map(f=>f.name),l=h5(e),L=l.length===0?E1:l[0].from||E1,c={metrics:gv,rootBlock:n,participants:s,originParticipant:L,recordCoordinate:(f,g)=>{const p=A6(f);this.statementMap.set(p,g)},updateCreationTop:(f,g)=>{const p=g-8;a3.info(`[VerticalCoordinates] updateCreationTop participant="${f}" raw=${g} paddingTop=${p}`),this.creationTops.set(f,p)}},C=new Nc(n,c);this.totalHeight=C.layout(L,56)}getCreationTop(e){return this.creationTops.get(e)}getStatementCoordinate(e){return this.statementMap.get(e)}getStatementCoordinateFor(e){return this.statementMap.get(A6(e))}entries(){return Array.from(this.statementMap.entries())}getTotalHeight(){return this.totalHeight}}const pv=()=>{const t="html";return a3.info(`[VerticalMode] resolved="${t}" (VITE_VERTICAL_MODE="undefined")`),t},mv=()=>{const e=((typeof location<"u"?new URLSearchParams(location.search).get("WIDTH_PROVIDER"):null)||void 0)==="canvas"?"canvas":"browser";return a3.debug(`[ZenUML] WidthProvider: ${e}`),e==="canvas"?As:Gx};var G4=(t=>(t.Static="static",t.Dynamic="dynamic",t))(G4||{});const p5=t3(""),m5=t3(t=>qL(t(p5)));t3(t=>{var n;const e=(n=t(m5))==null?void 0:n.title();if(!(!e||typeof e.content!="function"))return e.content()});const $e=t3(t=>L8(t(m5))),q4=t3(t=>new rc(t(m5),mv())),Hs=t3(pv()),xv=t3(t=>{if(t(Hs)==="legacy")return null;const e=t(m5);return e?new Oc(e):null}),c8=t3("theme-default"),Ps=t3(!1),wv=Za(`${location.hostname}-zenuml-theme-icon-dot`,"1"),Dc=t3(!0),Fc=t3(1),Ve=t3([]),vv=t3(null,(t,e,n)=>{const s=t(Ve);s.includes(n)?e(Ve,s.filter(l=>l!==n)):e(Ve,[...s,n])}),Ws=t3(null),Bc=t3(!1),y9=t3("dynamic"),Uc=Za(`${location.hostname}-zenuml-numbering`,!0),Hc=t3(0),js=t3(null),$s=L6(t=>{a3.debug("Element clicked",t)}),Ge=L6(()=>{}),N6=L6(()=>{}),Pc=L6(()=>{}),Wc=L6(()=>{}),Vs=t3([]),jc=t3(t=>{const e=t(Vs),{participants:n}=t($e);return e.length===Array.from(n).length});function Mv(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const n=document.implementation.createHTMLDocument(),s=n.createElement("base"),l=n.createElement("a");return n.head.appendChild(s),n.body.appendChild(l),e&&(s.href=e),l.href=t,l.href}const _v=(()=>{let t=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function _0(t){const e=[];for(let n=0,s=t.length;n<s;n++)e.push(t[n]);return e}let C8=null;function $c(t={}){return C8||(t.includeStyleProperties?(C8=t.includeStyleProperties,C8):(C8=_0(window.getComputedStyle(document.documentElement)),C8))}function qe(t,e){const s=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return s?parseFloat(s.replace("px","")):0}function yv(t){const e=qe(t,"border-left-width"),n=qe(t,"border-right-width");return t.clientWidth+e+n}function Rv(t){const e=qe(t,"border-top-width"),n=qe(t,"border-bottom-width");return t.clientHeight+e+n}function Vc(t,e={}){const n=e.width||yv(t),s=e.height||Rv(t);return{width:n,height:s}}function bv(){let t,e;try{e=process}catch{}const n=e&&e.env?e.env.devicePixelRatio:null;return n&&(t=parseInt(n,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}const T4=16384;function Av(t){(t.width>T4||t.height>T4)&&(t.width>T4&&t.height>T4?t.width>t.height?(t.height*=T4/t.width,t.width=T4):(t.width*=T4/t.height,t.height=T4):t.width>T4?(t.height*=T4/t.width,t.width=T4):(t.width*=T4/t.height,t.height=T4))}function Sv(t,e={}){return t.toBlob?new Promise(n=>{t.toBlob(n,e.type?e.type:"image/png",e.quality?e.quality:1)}):new Promise(n=>{const s=window.atob(t.toDataURL(e.type?e.type:void 0,e.quality?e.quality:void 0).split(",")[1]),l=s.length,L=new Uint8Array(l);for(let c=0;c<l;c+=1)L[c]=s.charCodeAt(c);n(new Blob([L],{type:e.type?e.type:"image/png"}))})}function Ye(t){return new Promise((e,n)=>{const s=new Image;s.onload=()=>{s.decode().then(()=>{requestAnimationFrame(()=>e(s))})},s.onerror=n,s.crossOrigin="anonymous",s.decoding="async",s.src=t})}async function kv(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function Zv(t,e,n){const s="http://www.w3.org/2000/svg",l=document.createElementNS(s,"svg"),L=document.createElementNS(s,"foreignObject");return l.setAttribute("width",`${e}`),l.setAttribute("height",`${n}`),l.setAttribute("viewBox",`0 0 ${e} ${n}`),L.setAttribute("width","100%"),L.setAttribute("height","100%"),L.setAttribute("x","0"),L.setAttribute("y","0"),L.setAttribute("externalResourcesRequired","true"),l.appendChild(L),L.appendChild(t),kv(l)}const g4=(t,e)=>{if(t instanceof e)return!0;const n=Object.getPrototypeOf(t);return n===null?!1:n.constructor.name===e.name||g4(n,e)};function Tv(t){const e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function Ev(t,e){return $c(e).map(n=>{const s=t.getPropertyValue(n),l=t.getPropertyPriority(n);return`${n}: ${s}${l?" !important":""};`}).join(" ")}function Iv(t,e,n,s){const l=`.${t}:${e}`,L=n.cssText?Tv(n):Ev(n,s);return document.createTextNode(`${l}{${L}}`)}function Gc(t,e,n,s){const l=window.getComputedStyle(t,n),L=l.getPropertyValue("content");if(L===""||L==="none")return;const c=_v();try{e.className=`${e.className} ${c}`}catch{return}const C=document.createElement("style");C.appendChild(Iv(c,n,l,s)),e.appendChild(C)}function zv(t,e,n){Gc(t,e,":before",n),Gc(t,e,":after",n)}const qc="application/font-woff",Yc="image/jpeg",Nv={woff:qc,woff2:qc,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Yc,jpeg:Yc,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Ov(t){const e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function Gs(t){const e=Ov(t).toLowerCase();return Nv[e]||""}function Dv(t){return t.split(/,/)[1]}function qs(t){return t.search(/^(data:)/)!==-1}function Fv(t,e){return`data:${e};base64,${t}`}async function Xc(t,e,n){const s=await fetch(t,e);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const l=await s.blob();return new Promise((L,c)=>{const C=new FileReader;C.onerror=c,C.onloadend=()=>{try{L(n({res:s,result:C.result}))}catch(d){c(d)}},C.readAsDataURL(l)})}const Ys={};function Bv(t,e,n){let s=t.replace(/\?.*/,"");return n&&(s=t),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),e?`[${e}]${s}`:s}async function Xs(t,e,n){const s=Bv(t,e,n.includeQueryParams);if(Ys[s]!=null)return Ys[s];n.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let l;try{const L=await Xc(t,n.fetchRequestInit,({res:c,result:C})=>(e||(e=c.headers.get("Content-Type")||""),Dv(C)));l=Fv(L,e)}catch(L){l=n.imagePlaceholder||"";let c=`Failed to fetch resource: ${t}`;L&&(c=typeof L=="string"?L:L.message),c&&console.warn(c)}return Ys[s]=l,l}async function Uv(t){const e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):Ye(e)}async function Hv(t,e){if(t.currentSrc){const L=document.createElement("canvas"),c=L.getContext("2d");L.width=t.clientWidth,L.height=t.clientHeight,c==null||c.drawImage(t,0,0,L.width,L.height);const C=L.toDataURL();return Ye(C)}const n=t.poster,s=Gs(n),l=await Xs(n,s,e);return Ye(l)}async function Pv(t,e){var n;try{if(!((n=t==null?void 0:t.contentDocument)===null||n===void 0)&&n.body)return await Xe(t.contentDocument.body,e,!0)}catch{}return t.cloneNode(!1)}async function Wv(t,e){return g4(t,HTMLCanvasElement)?Uv(t):g4(t,HTMLVideoElement)?Hv(t,e):g4(t,HTMLIFrameElement)?Pv(t,e):t.cloneNode(Qc(t))}const jv=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",Qc=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function $v(t,e,n){var s,l;if(Qc(e))return e;let L=[];return jv(t)&&t.assignedNodes?L=_0(t.assignedNodes()):g4(t,HTMLIFrameElement)&&(!((s=t.contentDocument)===null||s===void 0)&&s.body)?L=_0(t.contentDocument.body.childNodes):L=_0(((l=t.shadowRoot)!==null&&l!==void 0?l:t).childNodes),L.length===0||g4(t,HTMLVideoElement)||await L.reduce((c,C)=>c.then(()=>Xe(C,n)).then(d=>{d&&e.appendChild(d)}),Promise.resolve()),e}function Vv(t,e,n){const s=e.style;if(!s)return;const l=window.getComputedStyle(t);l.cssText?(s.cssText=l.cssText,s.transformOrigin=l.transformOrigin):$c(n).forEach(L=>{let c=l.getPropertyValue(L);L==="font-size"&&c.endsWith("px")&&(c=`${Math.floor(parseFloat(c.substring(0,c.length-2)))-.1}px`),g4(t,HTMLIFrameElement)&&L==="display"&&c==="inline"&&(c="block"),L==="d"&&e.getAttribute("d")&&(c=`path(${e.getAttribute("d")})`),s.setProperty(L,c,l.getPropertyPriority(L))})}function Gv(t,e){g4(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),g4(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function qv(t,e){if(g4(t,HTMLSelectElement)){const n=e,s=Array.from(n.children).find(l=>t.value===l.getAttribute("value"));s&&s.setAttribute("selected","")}}function Yv(t,e,n){return g4(e,Element)&&(Vv(t,e,n),zv(t,e,n),Gv(t,e),qv(t,e)),e}async function Xv(t,e){const n=t.querySelectorAll?t.querySelectorAll("use"):[];if(n.length===0)return t;const s={};for(let L=0;L<n.length;L++){const C=n[L].getAttribute("xlink:href");if(C){const d=t.querySelector(C),f=document.querySelector(C);!d&&f&&!s[C]&&(s[C]=await Xe(f,e,!0))}}const l=Object.values(s);if(l.length){const L="http://www.w3.org/1999/xhtml",c=document.createElementNS(L,"svg");c.setAttribute("xmlns",L),c.style.position="absolute",c.style.width="0",c.style.height="0",c.style.overflow="hidden",c.style.display="none";const C=document.createElementNS(L,"defs");c.appendChild(C);for(let d=0;d<l.length;d++)C.appendChild(l[d]);t.appendChild(c)}return t}async function Xe(t,e,n){return!n&&e.filter&&!e.filter(t)?null:Promise.resolve(t).then(s=>Wv(s,e)).then(s=>$v(t,s,e)).then(s=>Yv(t,s,e)).then(s=>Xv(s,e))}const Kc=/url\((['"]?)([^'"]+?)\1\)/g,Qv=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Kv=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Jv(t){const e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function eM(t){const e=[];return t.replace(Kc,(n,s,l)=>(e.push(l),n)),e.filter(n=>!qs(n))}async function tM(t,e,n,s,l){try{const L=n?Mv(e,n):e,c=Gs(e);let C;return l||(C=await Xs(L,c,s)),t.replace(Jv(e),`$1${C}$3`)}catch{}return t}function nM(t,{preferredFontFormat:e}){return e?t.replace(Kv,n=>{for(;;){const[s,,l]=Qv.exec(n)||[];if(!l)return"";if(l===e)return`src: ${s};`}}):t}function Jc(t){return t.search(Kc)!==-1}async function eC(t,e,n){if(!Jc(t))return t;const s=nM(t,n);return eM(s).reduce((L,c)=>L.then(C=>tM(C,c,e,n)),Promise.resolve(s))}async function u8(t,e,n){var s;const l=(s=e.style)===null||s===void 0?void 0:s.getPropertyValue(t);if(l){const L=await eC(l,null,n);return e.style.setProperty(t,L,e.style.getPropertyPriority(t)),!0}return!1}async function iM(t,e){await u8("background",t,e)||await u8("background-image",t,e),await u8("mask",t,e)||await u8("-webkit-mask",t,e)||await u8("mask-image",t,e)||await u8("-webkit-mask-image",t,e)}async function sM(t,e){const n=g4(t,HTMLImageElement);if(!(n&&!qs(t.src))&&!(g4(t,SVGImageElement)&&!qs(t.href.baseVal)))return;const s=n?t.src:t.href.baseVal,l=await Xs(s,Gs(s),e);await new Promise((L,c)=>{t.onload=L,t.onerror=e.onImageErrorHandler?(...d)=>{try{L(e.onImageErrorHandler(...d))}catch(f){c(f)}}:c;const C=t;C.decode&&(C.decode=L),C.loading==="lazy"&&(C.loading="eager"),n?(t.srcset="",t.src=l):t.href.baseVal=l})}async function oM(t,e){const s=_0(t.childNodes).map(l=>tC(l,e));await Promise.all(s).then(()=>t)}async function tC(t,e){g4(t,Element)&&(await iM(t,e),await sM(t,e),await oM(t,e))}function lM(t,e){const{style:n}=t;e.backgroundColor&&(n.backgroundColor=e.backgroundColor),e.width&&(n.width=`${e.width}px`),e.height&&(n.height=`${e.height}px`);const s=e.style;return s!=null&&Object.keys(s).forEach(l=>{n[l]=s[l]}),t}const nC={};async function iC(t){let e=nC[t];if(e!=null)return e;const s=await(await fetch(t)).text();return e={url:t,cssText:s},nC[t]=e,e}async function sC(t,e){let n=t.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,L=(n.match(/url\([^)]+\)/g)||[]).map(async c=>{let C=c.replace(s,"$1");return C.startsWith("https://")||(C=new URL(C,t.url).href),Xc(C,e.fetchRequestInit,({result:d})=>(n=n.replace(c,`url(${d})`),[c,d]))});return Promise.all(L).then(()=>n)}function oC(t){if(t==null)return[];const e=[],n=/(\/\*[\s\S]*?\*\/)/gi;let s=t.replace(n,"");const l=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const d=l.exec(s);if(d===null)break;e.push(d[0])}s=s.replace(l,"");const L=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,c="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",C=new RegExp(c,"gi");for(;;){let d=L.exec(s);if(d===null){if(d=C.exec(s),d===null)break;L.lastIndex=C.lastIndex}else C.lastIndex=L.lastIndex;e.push(d[0])}return e}async function rM(t,e){const n=[],s=[];return t.forEach(l=>{if("cssRules"in l)try{_0(l.cssRules||[]).forEach((L,c)=>{if(L.type===CSSRule.IMPORT_RULE){let C=c+1;const d=L.href,f=iC(d).then(g=>sC(g,e)).then(g=>oC(g).forEach(p=>{try{l.insertRule(p,p.startsWith("@import")?C+=1:l.cssRules.length)}catch(m){console.error("Error inserting rule from remote css",{rule:p,error:m})}})).catch(g=>{console.error("Error loading remote css",g.toString())});s.push(f)}})}catch(L){const c=t.find(C=>C.href==null)||document.styleSheets[0];l.href!=null&&s.push(iC(l.href).then(C=>sC(C,e)).then(C=>oC(C).forEach(d=>{c.insertRule(d,c.cssRules.length)})).catch(C=>{console.error("Error loading remote stylesheet",C)})),console.error("Error inlining remote css file",L)}}),Promise.all(s).then(()=>(t.forEach(l=>{if("cssRules"in l)try{_0(l.cssRules||[]).forEach(L=>{n.push(L)})}catch(L){console.error(`Error while reading CSS rules from ${l.href}`,L)}}),n))}function aM(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Jc(e.style.getPropertyValue("src")))}async function LM(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=_0(t.ownerDocument.styleSheets),s=await rM(n,e);return aM(s)}function lC(t){return t.trim().replace(/["']/g,"")}function cM(t){const e=new Set;function n(s){(s.style.fontFamily||getComputedStyle(s).fontFamily).split(",").forEach(L=>{e.add(lC(L))}),Array.from(s.children).forEach(L=>{L instanceof HTMLElement&&n(L)})}return n(t),e}async function CM(t,e){const n=await LM(t,e),s=cM(t);return(await Promise.all(n.filter(L=>s.has(lC(L.style.fontFamily))).map(L=>{const c=L.parentStyleSheet?L.parentStyleSheet.href:null;return eC(L.cssText,c,e)}))).join(`
81
+ `)}async function uM(t,e){const n=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await CM(t,e);if(n){const s=document.createElement("style"),l=document.createTextNode(n);s.appendChild(l),t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}}async function Qs(t,e={}){const{width:n,height:s}=Vc(t,e),l=await Xe(t,e,!0);return await uM(l,e),await tC(l,e),lM(l,e),await Zv(l,n,s)}async function Ks(t,e={}){const{width:n,height:s}=Vc(t,e),l=await Qs(t,e),L=await Ye(l),c=document.createElement("canvas"),C=c.getContext("2d"),d=e.pixelRatio||bv(),f=e.canvasWidth||n,g=e.canvasHeight||s;return c.width=f*d,c.height=g*d,e.skipAutoScale||Av(c),c.style.width=`${f}`,c.style.height=`${g}`,e.backgroundColor&&(C.fillStyle=e.backgroundColor,C.fillRect(0,0,c.width,c.height)),C.drawImage(L,0,0,c.width,c.height),c}async function rC(t,e={}){return(await Ks(t,e)).toDataURL()}async function dM(t,e={}){return(await Ks(t,e)).toDataURL("image/jpeg",e.quality||1)}async function hM(t,e={}){const n=await Ks(t,e);return await Sv(n)}function aC(t){var e,n,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(e=0;e<l;e++)t[e]&&(n=aC(t[e]))&&(s&&(s+=" "),s+=n)}else for(n in t)t[n]&&(s&&(s+=" "),s+=n);return s}function fM(){for(var t,e,n=0,s="",l=arguments.length;n<l;n++)(t=arguments[n])&&(e=aC(t))&&(s&&(s+=" "),s+=e);return s}const gM=(t,e)=>{const n=new Array(t.length+e.length);for(let s=0;s<t.length;s++)n[s]=t[s];for(let s=0;s<e.length;s++)n[t.length+s]=e[s];return n},pM=(t,e)=>({classGroupId:t,validator:e}),LC=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),Qe="-",cC=[],mM="arbitrary..",xM=t=>{const e=vM(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return wM(c);const C=c.split(Qe),d=C[0]===""&&C.length>1?1:0;return CC(C,d,e)},getConflictingClassGroupIds:(c,C)=>{if(C){const d=s[c],f=n[c];return d?f?gM(f,d):d:f||cC}return n[c]||cC}}},CC=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const l=t[e],L=n.nextPart.get(l);if(L){const f=CC(t,e+1,L);if(f)return f}const c=n.validators;if(c===null)return;const C=e===0?t.join(Qe):t.slice(e).join(Qe),d=c.length;for(let f=0;f<d;f++){const g=c[f];if(g.validator(C))return g.classGroupId}},wM=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),s=e.slice(0,n);return s?mM+s:void 0})(),vM=t=>{const{theme:e,classGroups:n}=t;return MM(n,e)},MM=(t,e)=>{const n=LC();for(const s in t){const l=t[s];Js(l,n,s,e)}return n},Js=(t,e,n,s)=>{const l=t.length;for(let L=0;L<l;L++){const c=t[L];_M(c,e,n,s)}},_M=(t,e,n,s)=>{if(typeof t=="string"){yM(t,e,n);return}if(typeof t=="function"){RM(t,e,n,s);return}bM(t,e,n,s)},yM=(t,e,n)=>{const s=t===""?e:uC(e,t);s.classGroupId=n},RM=(t,e,n,s)=>{if(AM(t)){Js(t(s),e,n,s);return}e.validators===null&&(e.validators=[]),e.validators.push(pM(n,t))},bM=(t,e,n,s)=>{const l=Object.entries(t),L=l.length;for(let c=0;c<L;c++){const[C,d]=l[c];Js(d,uC(e,C),n,s)}},uC=(t,e)=>{let n=t;const s=e.split(Qe),l=s.length;for(let L=0;L<l;L++){const c=s[L];let C=n.nextPart.get(c);C||(C=LC(),n.nextPart.set(c,C)),n=C}return n},AM=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,SM=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),s=Object.create(null);const l=(L,c)=>{n[L]=c,e++,e>t&&(e=0,s=n,n=Object.create(null))};return{get(L){let c=n[L];if(c!==void 0)return c;if((c=s[L])!==void 0)return l(L,c),c},set(L,c){L in n?n[L]=c:l(L,c)}}},eo="!",dC=":",kM=[],hC=(t,e,n,s,l)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:s,isExternal:l}),ZM=t=>{const{prefix:e,experimentalParseClassName:n}=t;let s=l=>{const L=[];let c=0,C=0,d=0,f;const g=l.length;for(let A=0;A<g;A++){const k=l[A];if(c===0&&C===0){if(k===dC){L.push(l.slice(d,A)),d=A+1;continue}if(k==="/"){f=A;continue}}k==="["?c++:k==="]"?c--:k==="("?C++:k===")"&&C--}const p=L.length===0?l:l.slice(d);let m=p,v=!1;p.endsWith(eo)?(m=p.slice(0,-1),v=!0):p.startsWith(eo)&&(m=p.slice(1),v=!0);const b=f&&f>d?f-d:void 0;return hC(L,v,m,b)};if(e){const l=e+dC,L=s;s=c=>c.startsWith(l)?L(c.slice(l.length)):hC(kM,!1,c,void 0,!0)}if(n){const l=s;s=L=>n({className:L,parseClassName:l})}return s},TM=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,s)=>{e.set(n,1e6+s)}),n=>{const s=[];let l=[];for(let L=0;L<n.length;L++){const c=n[L],C=c[0]==="[",d=e.has(c);C||d?(l.length>0&&(l.sort(),s.push(...l),l=[]),s.push(c)):l.push(c)}return l.length>0&&(l.sort(),s.push(...l)),s}},EM=t=>({cache:SM(t.cacheSize),parseClassName:ZM(t),sortModifiers:TM(t),...xM(t)}),IM=/\s+/,zM=(t,e)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:l,sortModifiers:L}=e,c=[],C=t.trim().split(IM);let d="";for(let f=C.length-1;f>=0;f-=1){const g=C[f],{isExternal:p,modifiers:m,hasImportantModifier:v,baseClassName:b,maybePostfixModifierPosition:A}=n(g);if(p){d=g+(d.length>0?" "+d:d);continue}let k=!!A,S=s(k?b.substring(0,A):b);if(!S){if(!k){d=g+(d.length>0?" "+d:d);continue}if(S=s(b),!S){d=g+(d.length>0?" "+d:d);continue}k=!1}const N=m.length===0?"":m.length===1?m[0]:L(m).join(":"),I=v?N+eo:N,O=I+S;if(c.indexOf(O)>-1)continue;c.push(O);const B=l(S,k);for(let P=0;P<B.length;++P){const Y=B[P];c.push(I+Y)}d=g+(d.length>0?" "+d:d)}return d},NM=(...t)=>{let e=0,n,s,l="";for(;e<t.length;)(n=t[e++])&&(s=fC(n))&&(l&&(l+=" "),l+=s);return l},fC=t=>{if(typeof t=="string")return t;let e,n="";for(let s=0;s<t.length;s++)t[s]&&(e=fC(t[s]))&&(n&&(n+=" "),n+=e);return n},OM=(t,...e)=>{let n,s,l,L;const c=d=>{const f=e.reduce((g,p)=>p(g),t());return n=EM(f),s=n.cache.get,l=n.cache.set,L=C,C(d)},C=d=>{const f=s(d);if(f)return f;const g=zM(d,n);return l(d,g),g};return L=c,(...d)=>L(NM(...d))},DM=[],S3=t=>{const e=n=>n[t]||DM;return e.isThemeGetter=!0,e},gC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,pC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,FM=/^\d+\/\d+$/,BM=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,UM=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,HM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,PM=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,WM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,d8=t=>FM.test(t),C1=t=>!!t&&!Number.isNaN(Number(t)),y0=t=>!!t&&Number.isInteger(Number(t)),to=t=>t.endsWith("%")&&C1(t.slice(0,-1)),j9=t=>BM.test(t),jM=()=>!0,$M=t=>UM.test(t)&&!HM.test(t),mC=()=>!1,VM=t=>PM.test(t),GM=t=>WM.test(t),qM=t=>!E2(t)&&!I2(t),YM=t=>h8(t,_C,mC),E2=t=>gC.test(t),x5=t=>h8(t,yC,$M),no=t=>h8(t,e_,C1),xC=t=>h8(t,vC,mC),XM=t=>h8(t,MC,GM),Ke=t=>h8(t,RC,VM),I2=t=>pC.test(t),O6=t=>f8(t,yC),QM=t=>f8(t,t_),wC=t=>f8(t,vC),KM=t=>f8(t,_C),JM=t=>f8(t,MC),Je=t=>f8(t,RC,!0),h8=(t,e,n)=>{const s=gC.exec(t);return s?s[1]?e(s[1]):n(s[2]):!1},f8=(t,e,n=!1)=>{const s=pC.exec(t);return s?s[1]?e(s[1]):n:!1},vC=t=>t==="position"||t==="percentage",MC=t=>t==="image"||t==="url",_C=t=>t==="length"||t==="size"||t==="bg-size",yC=t=>t==="length",e_=t=>t==="number",t_=t=>t==="family-name",RC=t=>t==="shadow",n_=OM(()=>{const t=S3("color"),e=S3("font"),n=S3("text"),s=S3("font-weight"),l=S3("tracking"),L=S3("leading"),c=S3("breakpoint"),C=S3("container"),d=S3("spacing"),f=S3("radius"),g=S3("shadow"),p=S3("inset-shadow"),m=S3("text-shadow"),v=S3("drop-shadow"),b=S3("blur"),A=S3("perspective"),k=S3("aspect"),S=S3("ease"),N=S3("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...O(),I2,E2],P=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto","contain","none"],n2=()=>[I2,E2,d],o2=()=>[d8,"full","auto",...n2()],f2=()=>[y0,"none","subgrid",I2,E2],c2=()=>["auto",{span:["full",y0,I2,E2]},y0,I2,E2],h2=()=>[y0,"auto",I2,E2],b2=()=>["auto","min","max","fr",I2,E2],V=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...n2()],j=()=>[d8,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...n2()],$=()=>[t,I2,E2],l2=()=>[...O(),wC,xC,{position:[I2,E2]}],g2=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Z=()=>["auto","cover","contain",KM,YM,{size:[I2,E2]}],F=()=>[to,O6,x5],E=()=>["","none","full",f,I2,E2],H=()=>["",C1,O6,x5],K=()=>["solid","dashed","dotted","double"],m2=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],p2=()=>[C1,to,wC,xC],N2=()=>["","none",b,I2,E2],P2=()=>["none",C1,I2,E2],K2=()=>["none",C1,I2,E2],f1=()=>[C1,I2,E2],M1=()=>[d8,"full",...n2()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[j9],breakpoint:[j9],color:[jM],container:[j9],"drop-shadow":[j9],ease:["in","out","in-out"],font:[qM],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[j9],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[j9],shadow:[j9],spacing:["px",C1],text:[j9],"text-shadow":[j9],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",d8,E2,I2,k]}],container:["container"],columns:[{columns:[C1,E2,I2,C]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:B()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:o2()}],"inset-x":[{"inset-x":o2()}],"inset-y":[{"inset-y":o2()}],start:[{start:o2()}],end:[{end:o2()}],top:[{top:o2()}],right:[{right:o2()}],bottom:[{bottom:o2()}],left:[{left:o2()}],visibility:["visible","invisible","collapse"],z:[{z:[y0,"auto",I2,E2]}],basis:[{basis:[d8,"full","auto",C,...n2()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[C1,d8,"auto","initial","none",E2]}],grow:[{grow:["",C1,I2,E2]}],shrink:[{shrink:["",C1,I2,E2]}],order:[{order:[y0,"first","last","none",I2,E2]}],"grid-cols":[{"grid-cols":f2()}],"col-start-end":[{col:c2()}],"col-start":[{"col-start":h2()}],"col-end":[{"col-end":h2()}],"grid-rows":[{"grid-rows":f2()}],"row-start-end":[{row:c2()}],"row-start":[{"row-start":h2()}],"row-end":[{"row-end":h2()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":b2()}],"auto-rows":[{"auto-rows":b2()}],gap:[{gap:n2()}],"gap-x":[{"gap-x":n2()}],"gap-y":[{"gap-y":n2()}],"justify-content":[{justify:[...V(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...V()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":V()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:n2()}],px:[{px:n2()}],py:[{py:n2()}],ps:[{ps:n2()}],pe:[{pe:n2()}],pt:[{pt:n2()}],pr:[{pr:n2()}],pb:[{pb:n2()}],pl:[{pl:n2()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":n2()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":n2()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],w:[{w:[C,"screen",...j()]}],"min-w":[{"min-w":[C,"screen","none",...j()]}],"max-w":[{"max-w":[C,"screen","none","prose",{screen:[c]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,O6,x5]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,I2,no]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",to,E2]}],"font-family":[{font:[QM,E2,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,I2,E2]}],"line-clamp":[{"line-clamp":[C1,"none",I2,no]}],leading:[{leading:[L,...n2()]}],"list-image":[{"list-image":["none",I2,E2]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",I2,E2]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[C1,"from-font","auto",I2,x5]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[C1,"auto",I2,E2]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:n2()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",I2,E2]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",I2,E2]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:l2()}],"bg-repeat":[{bg:g2()}],"bg-size":[{bg:Z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},y0,I2,E2],radial:["",I2,E2],conic:[y0,I2,E2]},JM,XM]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:E()}],"rounded-s":[{"rounded-s":E()}],"rounded-e":[{"rounded-e":E()}],"rounded-t":[{"rounded-t":E()}],"rounded-r":[{"rounded-r":E()}],"rounded-b":[{"rounded-b":E()}],"rounded-l":[{"rounded-l":E()}],"rounded-ss":[{"rounded-ss":E()}],"rounded-se":[{"rounded-se":E()}],"rounded-ee":[{"rounded-ee":E()}],"rounded-es":[{"rounded-es":E()}],"rounded-tl":[{"rounded-tl":E()}],"rounded-tr":[{"rounded-tr":E()}],"rounded-br":[{"rounded-br":E()}],"rounded-bl":[{"rounded-bl":E()}],"border-w":[{border:H()}],"border-w-x":[{"border-x":H()}],"border-w-y":[{"border-y":H()}],"border-w-s":[{"border-s":H()}],"border-w-e":[{"border-e":H()}],"border-w-t":[{"border-t":H()}],"border-w-r":[{"border-r":H()}],"border-w-b":[{"border-b":H()}],"border-w-l":[{"border-l":H()}],"divide-x":[{"divide-x":H()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":H()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[C1,I2,E2]}],"outline-w":[{outline:["",C1,O6,x5]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",g,Je,Ke]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",p,Je,Ke]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[C1,x5]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",m,Je,Ke]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[C1,I2,E2]}],"mix-blend":[{"mix-blend":[...m2(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":m2()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[C1]}],"mask-image-linear-from-pos":[{"mask-linear-from":p2()}],"mask-image-linear-to-pos":[{"mask-linear-to":p2()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":p2()}],"mask-image-t-to-pos":[{"mask-t-to":p2()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":p2()}],"mask-image-r-to-pos":[{"mask-r-to":p2()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":p2()}],"mask-image-b-to-pos":[{"mask-b-to":p2()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":p2()}],"mask-image-l-to-pos":[{"mask-l-to":p2()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":p2()}],"mask-image-x-to-pos":[{"mask-x-to":p2()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":p2()}],"mask-image-y-to-pos":[{"mask-y-to":p2()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[I2,E2]}],"mask-image-radial-from-pos":[{"mask-radial-from":p2()}],"mask-image-radial-to-pos":[{"mask-radial-to":p2()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[C1]}],"mask-image-conic-from-pos":[{"mask-conic-from":p2()}],"mask-image-conic-to-pos":[{"mask-conic-to":p2()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:l2()}],"mask-repeat":[{mask:g2()}],"mask-size":[{mask:Z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",I2,E2]}],filter:[{filter:["","none",I2,E2]}],blur:[{blur:N2()}],brightness:[{brightness:[C1,I2,E2]}],contrast:[{contrast:[C1,I2,E2]}],"drop-shadow":[{"drop-shadow":["","none",v,Je,Ke]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",C1,I2,E2]}],"hue-rotate":[{"hue-rotate":[C1,I2,E2]}],invert:[{invert:["",C1,I2,E2]}],saturate:[{saturate:[C1,I2,E2]}],sepia:[{sepia:["",C1,I2,E2]}],"backdrop-filter":[{"backdrop-filter":["","none",I2,E2]}],"backdrop-blur":[{"backdrop-blur":N2()}],"backdrop-brightness":[{"backdrop-brightness":[C1,I2,E2]}],"backdrop-contrast":[{"backdrop-contrast":[C1,I2,E2]}],"backdrop-grayscale":[{"backdrop-grayscale":["",C1,I2,E2]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C1,I2,E2]}],"backdrop-invert":[{"backdrop-invert":["",C1,I2,E2]}],"backdrop-opacity":[{"backdrop-opacity":[C1,I2,E2]}],"backdrop-saturate":[{"backdrop-saturate":[C1,I2,E2]}],"backdrop-sepia":[{"backdrop-sepia":["",C1,I2,E2]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":n2()}],"border-spacing-x":[{"border-spacing-x":n2()}],"border-spacing-y":[{"border-spacing-y":n2()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",I2,E2]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[C1,"initial",I2,E2]}],ease:[{ease:["linear","initial",S,I2,E2]}],delay:[{delay:[C1,I2,E2]}],animate:[{animate:["none",N,I2,E2]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,I2,E2]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:P2()}],"rotate-x":[{"rotate-x":P2()}],"rotate-y":[{"rotate-y":P2()}],"rotate-z":[{"rotate-z":P2()}],scale:[{scale:K2()}],"scale-x":[{"scale-x":K2()}],"scale-y":[{"scale-y":K2()}],"scale-z":[{"scale-z":K2()}],"scale-3d":["scale-3d"],skew:[{skew:f1()}],"skew-x":[{"skew-x":f1()}],"skew-y":[{"skew-y":f1()}],transform:[{transform:[I2,E2,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:M1()}],"translate-x":[{"translate-x":M1()}],"translate-y":[{"translate-y":M1()}],"translate-z":[{"translate-z":M1()}],"translate-none":["translate-none"],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",I2,E2]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":n2()}],"scroll-mx":[{"scroll-mx":n2()}],"scroll-my":[{"scroll-my":n2()}],"scroll-ms":[{"scroll-ms":n2()}],"scroll-me":[{"scroll-me":n2()}],"scroll-mt":[{"scroll-mt":n2()}],"scroll-mr":[{"scroll-mr":n2()}],"scroll-mb":[{"scroll-mb":n2()}],"scroll-ml":[{"scroll-ml":n2()}],"scroll-p":[{"scroll-p":n2()}],"scroll-px":[{"scroll-px":n2()}],"scroll-py":[{"scroll-py":n2()}],"scroll-ps":[{"scroll-ps":n2()}],"scroll-pe":[{"scroll-pe":n2()}],"scroll-pt":[{"scroll-pt":n2()}],"scroll-pr":[{"scroll-pr":n2()}],"scroll-pb":[{"scroll-pb":n2()}],"scroll-pl":[{"scroll-pl":n2()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",I2,E2]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[C1,O6,x5,no]}],stroke:[{stroke:["none",...$()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function H2(...t){return n_(fM(t))}const i_={close:t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",...t},y.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})),"collapse-expanded":t=>y.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"miter",...t},y.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),y.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("g",{id:"SVGRepo_iconCarrier"},y.createElement("line",{x1:14,y1:10,x2:21,y2:3}),y.createElement("polyline",{points:"20 10 14 10 14 4"}),y.createElement("line",{x1:3,y1:21,x2:10,y2:14}),y.createElement("polyline",{points:"4 14 10 14 10 20"}))),"collapse-unexpanded":t=>y.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...t},y.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:0}),y.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("g",{id:"SVGRepo_iconCarrier"},y.createElement("title",null),y.createElement("g",{id:"Complete"},y.createElement("g",{id:"expand"},y.createElement("g",null,y.createElement("polyline",{"data-name":"Right",fill:"none",id:"Right-2",points:"3 17.3 3 21 6.7 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1}),y.createElement("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,x1:10,x2:3.8,y1:14,y2:20.2}),y.createElement("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,x1:14,x2:20.2,y1:10,y2:3.8}),y.createElement("polyline",{"data-name":"Right",fill:"none",id:"Right-3",points:"21 6.7 21 3 17.3 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1})))))),debug:t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...t},y.createElement("line",{x1:6,y1:3,x2:6,y2:15}),y.createElement("circle",{cx:18,cy:6,r:3}),y.createElement("circle",{cx:6,cy:18,r:3}),y.createElement("path",{d:"M18 9a9 9 0 0 1-9 9"})),"non-selected-cycle":t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 20 20",fill:"none",...t},y.createElement("circle",{cx:10,cy:10,r:10,fill:"#000",fillOpacity:.1})),numbering:t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M21.8864 32.0909V67H17.6591V36.5227H17.4545L8.93182 42.1818V37.8864L17.6591 32.0909H21.8864ZM33.5483 67.2159C32.8826 67.2159 32.3113 66.9775 31.8345 66.5007C31.3577 66.0239 31.1193 65.4527 31.1193 64.7869C31.1193 64.1212 31.3577 63.55 31.8345 63.0732C32.3113 62.5964 32.8826 62.358 33.5483 62.358C34.214 62.358 34.7853 62.5964 35.2621 63.0732C35.7389 63.55 35.9773 64.1212 35.9773 64.7869C35.9773 65.2277 35.8648 65.6326 35.6399 66.0014C35.424 66.3703 35.1316 66.6671 34.7628 66.892C34.4029 67.108 33.9981 67.2159 33.5483 67.2159ZM41.7887 67V64.4432L51.391 53.9318C52.5179 52.7008 53.4459 51.6307 54.1751 50.7216C54.9042 49.803 55.444 48.9413 55.7944 48.1364C56.1542 47.322 56.3342 46.4697 56.3342 45.5795C56.3342 44.5568 56.088 43.6714 55.5955 42.9233C55.1126 42.1752 54.4497 41.5975 53.6069 41.1903C52.7641 40.7831 51.8171 40.5795 50.766 40.5795C49.6486 40.5795 48.6732 40.8116 47.8398 41.2756C47.016 41.7301 46.3768 42.3693 45.9222 43.1932C45.4772 44.017 45.2546 44.983 45.2546 46.0909H41.9023C41.9023 44.3864 42.2953 42.8902 43.0813 41.6023C43.8673 40.3144 44.9374 39.3106 46.2915 38.5909C47.6552 37.8712 49.1845 37.5114 50.8796 37.5114C52.5842 37.5114 54.0946 37.8712 55.4109 38.5909C56.7272 39.3106 57.7594 40.2812 58.5075 41.5028C59.2556 42.7244 59.6296 44.0833 59.6296 45.5795C59.6296 46.6496 59.4355 47.696 59.0472 48.7188C58.6684 49.732 58.0056 50.8636 57.0586 52.1136C56.1211 53.3542 54.819 54.8693 53.1523 56.6591L46.6183 63.6477V63.875H60.141V67H41.7887ZM68.2319 67.2159C67.5662 67.2159 66.9949 66.9775 66.5181 66.5007C66.0413 66.0239 65.8029 65.4527 65.8029 64.7869C65.8029 64.1212 66.0413 63.55 66.5181 63.0732C66.9949 62.5964 67.5662 62.358 68.2319 62.358C68.8976 62.358 69.4689 62.5964 69.9457 63.0732C70.4225 63.55 70.6609 64.1212 70.6609 64.7869C70.6609 65.2277 70.5484 65.6326 70.3235 66.0014C70.1076 66.3703 69.8152 66.6671 69.4464 66.892C69.0865 67.108 68.6817 67.2159 68.2319 67.2159ZM83.7337 67.3182C82.2337 67.3182 80.8965 67.0606 79.7223 66.5455C78.5556 66.0303 77.6276 65.3144 76.9382 64.3977C76.2564 63.4735 75.8852 62.4015 75.8246 61.1818H78.6882C78.7488 61.9318 79.0064 62.5795 79.4609 63.125C79.9155 63.6629 80.5102 64.0795 81.245 64.375C81.9799 64.6705 82.7943 64.8182 83.6882 64.8182C84.6882 64.8182 85.5746 64.6439 86.3473 64.2955C87.12 63.947 87.7261 63.4621 88.1655 62.8409C88.6049 62.2197 88.8246 61.5 88.8246 60.6818C88.8246 59.8258 88.6125 59.072 88.1882 58.4205C87.764 57.7614 87.1428 57.2462 86.3246 56.875C85.5064 56.5038 84.5064 56.3182 83.3246 56.3182H81.4609V53.8182H83.3246C84.2488 53.8182 85.0594 53.6515 85.7564 53.3182C86.4609 52.9848 87.0102 52.5152 87.4041 51.9091C87.8056 51.303 88.0064 50.5909 88.0064 49.7727C88.0064 48.9848 87.8322 48.2992 87.4837 47.7159C87.1352 47.1326 86.6428 46.678 86.0064 46.3523C85.3776 46.0265 84.6352 45.8636 83.7791 45.8636C82.9761 45.8636 82.2185 46.0114 81.5064 46.3068C80.8018 46.5947 80.2261 47.0152 79.7791 47.5682C79.3321 48.1136 79.0897 48.7727 79.0518 49.5455H76.3246C76.37 48.3258 76.7375 47.2576 77.4268 46.3409C78.1162 45.4167 79.0178 44.697 80.1314 44.1818C81.2526 43.6667 82.4837 43.4091 83.8246 43.4091C85.264 43.4091 86.4988 43.7008 87.5291 44.2841C88.5594 44.8598 89.3511 45.6212 89.9041 46.5682C90.4572 47.5152 90.7337 48.5379 90.7337 49.6364C90.7337 50.947 90.389 52.0644 89.6996 52.9886C89.0178 53.9129 88.0897 54.553 86.9155 54.9091V55.0909C88.3852 55.3333 89.5329 55.9583 90.3587 56.9659C91.1844 57.9659 91.5973 59.2045 91.5973 60.6818C91.5973 61.947 91.2526 63.0833 90.5632 64.0909C89.8814 65.0909 88.9496 65.8788 87.7678 66.4545C86.5859 67.0303 85.2412 67.3182 83.7337 67.3182Z",fill:"black"}),y.createElement("path",{d:"M21.8864 32.0909H22.8864V31.0909H21.8864V32.0909ZM21.8864 67V68H22.8864V67H21.8864ZM17.6591 67H16.6591V68H17.6591V67ZM17.6591 36.5227H18.6591V35.5227H17.6591V36.5227ZM17.4545 36.5227V35.5227H17.1528L16.9014 35.6897L17.4545 36.5227ZM8.93182 42.1818H7.93182V44.0462L9.48498 43.0149L8.93182 42.1818ZM8.93182 37.8864L8.37862 37.0533L7.93182 37.35V37.8864H8.93182ZM17.6591 32.0909V31.0909H17.3573L17.1059 31.2579L17.6591 32.0909ZM20.8864 32.0909V67H22.8864V32.0909H20.8864ZM21.8864 66H17.6591V68H21.8864V66ZM18.6591 67V36.5227H16.6591V67H18.6591ZM17.6591 35.5227H17.4545V37.5227H17.6591V35.5227ZM16.9014 35.6897L8.37866 41.3487L9.48498 43.0149L18.0077 37.3558L16.9014 35.6897ZM9.93182 42.1818V37.8864H7.93182V42.1818H9.93182ZM9.48502 38.7194L18.2123 32.924L17.1059 31.2579L8.37862 37.0533L9.48502 38.7194ZM17.6591 33.0909H21.8864V31.0909H17.6591V33.0909ZM31.8345 66.5007L32.5416 65.7936L32.5416 65.7936L31.8345 66.5007ZM31.8345 63.0732L31.1274 62.366L31.8345 63.0732ZM35.2621 63.0732L35.9692 62.366L35.9692 62.366L35.2621 63.0732ZM35.6399 66.0014L34.7861 65.4808L34.7814 65.4885L34.7769 65.4962L35.6399 66.0014ZM34.7628 66.892L35.2773 67.7496L35.2834 67.7458L34.7628 66.892ZM33.5483 66.2159C33.1516 66.2159 32.8336 66.0856 32.5416 65.7936L31.1274 67.2078C31.789 67.8694 32.6135 68.2159 33.5483 68.2159V66.2159ZM32.5416 65.7936C32.2496 65.5016 32.1193 65.1836 32.1193 64.7869H30.1193C30.1193 65.7217 30.4658 66.5462 31.1274 67.2078L32.5416 65.7936ZM32.1193 64.7869C32.1193 64.3902 32.2496 64.0722 32.5416 63.7803L31.1274 62.366C30.4658 63.0277 30.1193 63.8522 30.1193 64.7869H32.1193ZM32.5416 63.7803C32.8336 63.4883 33.1516 63.358 33.5483 63.358V61.358C32.6135 61.358 31.789 61.7044 31.1274 62.366L32.5416 63.7803ZM33.5483 63.358C33.945 63.358 34.263 63.4883 34.555 63.7803L35.9692 62.366C35.3076 61.7044 34.483 61.358 33.5483 61.358V63.358ZM34.555 63.7803C34.8469 64.0722 34.9773 64.3902 34.9773 64.7869H36.9773C36.9773 63.8522 36.6308 63.0277 35.9692 62.366L34.555 63.7803ZM34.9773 64.7869C34.9773 65.048 34.9134 65.2721 34.7861 65.4808L36.4937 66.522C36.8163 65.993 36.9773 65.4075 36.9773 64.7869H34.9773ZM34.7769 65.4962C34.6455 65.7208 34.4714 65.8985 34.2422 66.0382L35.2834 67.7458C35.7919 67.4358 36.2025 67.0198 36.5029 66.5066L34.7769 65.4962ZM34.2483 66.0346C34.0551 66.1505 33.8304 66.2159 33.5483 66.2159V68.2159C34.1658 68.2159 34.7508 68.0654 35.2773 67.7495L34.2483 66.0346ZM41.7887 67H40.7887V68H41.7887V67ZM41.7887 64.4432L41.0504 63.7687L40.7887 64.0552V64.4432H41.7887ZM51.391 53.9318L50.6534 53.2566L50.6527 53.2574L51.391 53.9318ZM54.1751 50.7216L54.9552 51.3473L54.9583 51.3433L54.1751 50.7216ZM55.7944 48.1364L54.8797 47.7322L54.8775 47.7372L55.7944 48.1364ZM55.5955 42.9233L54.7554 43.4657L54.7602 43.4731L55.5955 42.9233ZM53.6069 41.1903L54.0419 40.2899L54.0419 40.2899L53.6069 41.1903ZM47.8398 41.2756L48.3229 42.1512L48.3263 42.1493L47.8398 41.2756ZM45.9222 43.1932L45.0466 42.7101L45.0424 42.7179L45.9222 43.1932ZM45.2546 46.0909V47.0909H46.2546V46.0909H45.2546ZM41.9023 46.0909H40.9023V47.0909H41.9023V46.0909ZM43.0813 41.6023L43.9349 42.1232L43.9349 42.1232L43.0813 41.6023ZM46.2915 38.5909L45.8248 37.7065L45.8222 37.7079L46.2915 38.5909ZM55.4109 38.5909L55.8906 37.7135L55.8906 37.7135L55.4109 38.5909ZM58.5075 41.5028L57.6547 42.0251L58.5075 41.5028ZM59.0472 48.7188L58.1123 48.3638L58.1105 48.3686L59.0472 48.7188ZM57.0586 52.1136L56.2615 51.5098L56.2608 51.5107L57.0586 52.1136ZM53.1523 56.6591L53.8828 57.342L53.8842 57.3406L53.1523 56.6591ZM46.6183 63.6477L45.8878 62.9648L45.6183 63.2531V63.6477H46.6183ZM46.6183 63.875H45.6183V64.875H46.6183V63.875ZM60.141 63.875H61.141V62.875H60.141V63.875ZM60.141 67V68H61.141V67H60.141ZM42.7887 67V64.4432H40.7887V67H42.7887ZM42.527 65.1176L52.1293 54.6063L50.6527 53.2574L41.0504 63.7687L42.527 65.1176ZM52.1286 54.607C53.2645 53.3661 54.208 52.2788 54.9551 51.3473L53.395 50.0959C52.6838 50.9825 51.7713 52.0354 50.6534 53.2566L52.1286 54.607ZM54.9583 51.3433C55.7246 50.3779 56.3168 49.4417 56.7113 48.5355L54.8775 47.7372C54.5712 48.4409 54.0838 49.2281 53.3918 50.0999L54.9583 51.3433ZM56.7091 48.5405C57.1252 47.5988 57.3342 46.6089 57.3342 45.5795H55.3342C55.3342 46.3305 55.1833 47.0451 54.8797 47.7322L56.7091 48.5405ZM57.3342 45.5795C57.3342 44.3899 57.0454 43.3071 56.4308 42.3735L54.7602 43.4731C55.1305 44.0357 55.3342 44.7237 55.3342 45.5795H57.3342ZM56.4357 42.3809C55.8479 41.4705 55.0412 40.7727 54.0419 40.2899L53.1719 42.0908C53.8582 42.4223 54.3772 42.8799 54.7554 43.4657L56.4357 42.3809ZM54.0419 40.2899C53.0476 39.8095 51.9491 39.5795 50.766 39.5795V41.5795C51.6851 41.5795 52.4806 41.7568 53.1719 42.0908L54.0419 40.2899ZM50.766 39.5795C49.5076 39.5795 48.3592 39.8418 47.3534 40.4019L48.3263 42.1493C48.9872 41.7813 49.7895 41.5795 50.766 41.5795V39.5795ZM47.3568 40.4C46.3677 40.9457 45.5924 41.721 45.0467 42.7101L46.7978 43.6763C47.1612 43.0176 47.6643 42.5145 48.3229 42.1511L47.3568 40.4ZM45.0424 42.7179C44.5052 43.7123 44.2546 44.8474 44.2546 46.0909H46.2546C46.2546 45.1185 46.4491 44.3218 46.8021 43.6685L45.0424 42.7179ZM45.2546 45.0909H41.9023V47.0909H45.2546V45.0909ZM42.9023 46.0909C42.9023 44.5457 43.2567 43.2346 43.9349 42.1232L42.2277 41.0813C41.334 42.5457 40.9023 44.227 40.9023 46.0909H42.9023ZM43.9349 42.1232C44.626 40.9909 45.5622 40.111 46.7609 39.4739L45.8222 37.7079C44.3126 38.5102 43.1087 39.6379 42.2277 41.0813L43.9349 42.1232ZM46.7583 39.4753C47.9642 38.8389 49.3307 38.5114 50.8796 38.5114V36.5114C49.0383 36.5114 47.3462 36.9036 45.8248 37.7065L46.7583 39.4753ZM50.8796 38.5114C52.4396 38.5114 53.781 38.8395 54.9311 39.4683L55.8906 37.7135C54.4082 36.903 52.7287 36.5114 50.8796 36.5114V38.5114ZM54.9311 39.4683C56.1017 40.1084 57.0022 40.9596 57.6547 42.0251L59.3602 40.9806C58.5166 39.6029 57.3526 38.5129 55.8906 37.7135L54.9311 39.4683ZM57.6547 42.0251C58.3021 43.0823 58.6296 44.2591 58.6296 45.5795H60.6296C60.6296 43.9076 60.209 42.3665 59.3602 40.9806L57.6547 42.0251ZM58.6296 45.5795C58.6296 46.5256 58.4585 47.4519 58.1123 48.3638L59.9821 49.0737C60.4124 47.9401 60.6296 46.7736 60.6296 45.5795H58.6296ZM58.1105 48.3686C57.7772 49.2602 57.1737 50.3056 56.2615 51.5098L57.8557 52.7175C58.8374 51.4216 59.5596 50.2038 59.9839 49.0689L58.1105 48.3686ZM56.2608 51.5107C55.3521 52.7131 54.0754 54.2005 52.4205 55.9776L53.8842 57.3406C55.5626 55.5382 56.8901 53.9952 57.8564 52.7166L56.2608 51.5107ZM52.4219 55.9761L45.8878 62.9648L47.3487 64.3307L53.8828 57.342L52.4219 55.9761ZM45.6183 63.6477V63.875H47.6183V63.6477H45.6183ZM46.6183 64.875H60.141V62.875H46.6183V64.875ZM59.141 63.875V67H61.141V63.875H59.141ZM60.141 66H41.7887V68H60.141V66ZM66.5181 66.5007L67.2252 65.7936L67.2252 65.7936L66.5181 66.5007ZM66.5181 63.0732L65.811 62.366L66.5181 63.0732ZM69.9457 63.0732L70.6528 62.366L70.6528 62.366L69.9457 63.0732ZM70.3235 66.0014L69.4697 65.4808L69.465 65.4885L69.4605 65.4962L70.3235 66.0014ZM69.4464 66.892L69.9609 67.7496L69.967 67.7458L69.4464 66.892ZM68.2319 66.2159C67.8352 66.2159 67.5172 66.0856 67.2252 65.7936L65.811 67.2078C66.4726 67.8694 67.2971 68.2159 68.2319 68.2159V66.2159ZM67.2252 65.7936C66.9332 65.5016 66.8029 65.1836 66.8029 64.7869H64.8029C64.8029 65.7217 65.1494 66.5462 65.811 67.2078L67.2252 65.7936ZM66.8029 64.7869C66.8029 64.3902 66.9332 64.0722 67.2252 63.7803L65.811 62.366C65.1494 63.0277 64.8029 63.8522 64.8029 64.7869H66.8029ZM67.2252 63.7803C67.5172 63.4883 67.8352 63.358 68.2319 63.358V61.358C67.2971 61.358 66.4726 61.7044 65.811 62.366L67.2252 63.7803ZM68.2319 63.358C68.6286 63.358 68.9466 63.4883 69.2386 63.7803L70.6528 62.366C69.9912 61.7044 69.1666 61.358 68.2319 61.358V63.358ZM69.2386 63.7803C69.5305 64.0722 69.6609 64.3902 69.6609 64.7869H71.6609C71.6609 63.8522 71.3144 63.0277 70.6528 62.366L69.2386 63.7803ZM69.6609 64.7869C69.6609 65.048 69.597 65.2721 69.4697 65.4808L71.1773 66.522C71.4999 65.993 71.6609 65.4075 71.6609 64.7869H69.6609ZM69.4605 65.4962C69.3291 65.7208 69.155 65.8985 68.9258 66.0382L69.967 67.7458C70.4754 67.4358 70.8861 67.0198 71.1865 66.5066L69.4605 65.4962ZM68.9319 66.0346C68.7386 66.1505 68.514 66.2159 68.2319 66.2159V68.2159C68.8494 68.2159 69.4344 68.0654 69.9609 67.7495L68.9319 66.0346ZM79.7223 66.5455L79.3184 67.4602L79.3206 67.4612L79.7223 66.5455ZM76.9382 64.3977L76.1335 64.9914L76.139 64.9988L76.9382 64.3977ZM75.8246 61.1818V60.1818H74.7737L74.8258 61.2314L75.8246 61.1818ZM78.6882 61.1818L79.685 61.1013L79.6107 60.1818H78.6882V61.1818ZM79.4609 63.125L78.6927 63.7652L78.6971 63.7705L79.4609 63.125ZM81.245 64.375L80.872 65.3028L80.872 65.3028L81.245 64.375ZM88.1655 62.8409L87.3491 62.2634L87.3491 62.2634L88.1655 62.8409ZM88.1882 58.4205L87.3473 58.9617L87.3502 58.9661L88.1882 58.4205ZM86.3246 56.875L85.9114 57.7857L85.9114 57.7857L86.3246 56.875ZM81.4609 56.3182H80.4609V57.3182H81.4609V56.3182ZM81.4609 53.8182V52.8182H80.4609V53.8182H81.4609ZM85.7564 53.3182L85.3287 52.4142L85.3249 52.416L85.7564 53.3182ZM87.4041 51.9091L86.5704 51.3568L86.5657 51.3641L87.4041 51.9091ZM87.4837 47.7159L88.3421 47.2031L88.3421 47.2031L87.4837 47.7159ZM86.0064 46.3523L85.5464 47.2402L85.5507 47.2424L86.0064 46.3523ZM81.5064 46.3068L81.8846 47.2325L81.8896 47.2305L81.5064 46.3068ZM79.7791 47.5682L80.5526 48.202L80.5569 48.1968L79.7791 47.5682ZM79.0518 49.5455V50.5455H80.004L80.0506 49.5944L79.0518 49.5455ZM76.3246 49.5455L75.3253 49.5082L75.2866 50.5455H76.3246V49.5455ZM77.4268 46.3409L78.2261 46.942L78.2284 46.9388L77.4268 46.3409ZM80.1314 44.1818L79.7139 43.2731L79.7116 43.2742L80.1314 44.1818ZM87.5291 44.2841L87.0364 45.1543L87.0413 45.157L87.5291 44.2841ZM89.9041 46.5682L89.0406 47.0725L89.0406 47.0725L89.9041 46.5682ZM89.6996 52.9886L88.898 52.3907L88.8948 52.395L89.6996 52.9886ZM86.9155 54.9091L86.6253 53.9521L85.9155 54.1674V54.9091H86.9155ZM86.9155 55.0909H85.9155V55.9395L86.7527 56.0776L86.9155 55.0909ZM90.3587 56.9659L89.5852 57.5998L89.5876 57.6026L90.3587 56.9659ZM90.5632 64.0909L89.7379 63.5262L89.737 63.5276L90.5632 64.0909ZM87.7678 66.4545L88.2057 67.3535L88.2057 67.3535L87.7678 66.4545ZM83.7337 66.3182C82.3487 66.3182 81.152 66.0807 80.124 65.6297L79.3206 67.4612C80.6411 68.0405 82.1186 68.3182 83.7337 68.3182V66.3182ZM80.1262 65.6307C79.0981 65.1767 78.3129 64.5619 77.7374 63.7967L76.139 64.9988C76.9423 66.0669 78.0132 66.8839 79.3184 67.4602L80.1262 65.6307ZM77.7429 63.8041C77.1854 63.0484 76.8748 62.1685 76.8233 61.1322L74.8258 61.2314C74.8955 62.6346 75.3274 63.8986 76.1335 64.9914L77.7429 63.8041ZM75.8246 62.1818H78.6882V60.1818H75.8246V62.1818ZM77.6915 61.2624C77.7676 62.205 78.098 63.0515 78.6927 63.7652L80.2292 62.4848C79.9148 62.1076 79.73 61.6586 79.685 61.1013L77.6915 61.2624ZM78.6971 63.7705C79.2695 64.4478 80.0049 64.9542 80.872 65.3028L81.6181 63.4472C81.0154 63.2049 80.5615 62.878 80.2247 62.4795L78.6971 63.7705ZM80.872 65.3028C81.7397 65.6517 82.6828 65.8182 83.6882 65.8182V63.8182C82.9057 63.8182 82.22 63.6892 81.6181 63.4472L80.872 65.3028ZM83.6882 65.8182C84.8048 65.8182 85.8353 65.6233 86.7584 65.207L85.9362 63.3839C85.3138 63.6645 84.5716 63.8182 83.6882 63.8182V65.8182ZM86.7584 65.207C87.6746 64.7939 88.4282 64.2012 88.9819 63.4184L87.3491 62.2634C87.024 62.723 86.5655 63.1001 85.9362 63.3839L86.7584 65.207ZM88.9819 63.4184C89.5499 62.6154 89.8246 61.6904 89.8246 60.6818H87.8246C87.8246 61.3096 87.6599 61.824 87.3491 62.2634L88.9819 63.4184ZM89.8246 60.6818C89.8246 59.6524 89.5668 58.7049 89.0262 57.8748L87.3502 58.9661C87.6582 59.439 87.8246 59.9992 87.8246 60.6818H89.8246ZM89.0291 57.8792C88.4862 57.0358 87.7048 56.4031 86.7377 55.9643L85.9114 57.7857C86.5807 58.0893 87.0418 58.487 87.3473 58.9617L89.0291 57.8792ZM86.7377 55.9643C85.7557 55.5188 84.606 55.3182 83.3246 55.3182V57.3182C84.4068 57.3182 85.2571 57.4888 85.9114 57.7857L86.7377 55.9643ZM83.3246 55.3182H81.4609V57.3182H83.3246V55.3182ZM82.4609 56.3182V53.8182H80.4609V56.3182H82.4609ZM81.4609 54.8182H83.3246V52.8182H81.4609V54.8182ZM83.3246 54.8182C84.3692 54.8182 85.3323 54.6295 86.1878 54.2203L85.3249 52.416C84.7866 52.6735 84.1284 52.8182 83.3246 52.8182V54.8182ZM86.1841 54.2221C87.0425 53.816 87.7397 53.2277 88.2426 52.4541L86.5657 51.3641C86.2807 51.8026 85.8794 52.1537 85.3287 52.4142L86.1841 54.2221ZM88.2378 52.4614C88.761 51.6715 89.0064 50.7619 89.0064 49.7727H87.0064C87.0064 50.4199 86.8502 50.9345 86.5705 51.3568L88.2378 52.4614ZM89.0064 49.7727C89.0064 48.8335 88.7972 47.9647 88.3421 47.2031L86.6252 48.2288C86.8671 48.6338 87.0064 49.1362 87.0064 49.7727H89.0064ZM88.3421 47.2031C87.8923 46.4501 87.2563 45.8687 86.4621 45.4621L85.5507 47.2424C86.0292 47.4874 86.378 47.8151 86.6252 48.2288L88.3421 47.2031ZM86.4664 45.4644C85.6687 45.0511 84.7622 44.8636 83.7791 44.8636V46.8636C84.5082 46.8636 85.0865 47.0019 85.5464 47.2402L86.4664 45.4644ZM83.7791 44.8636C82.8501 44.8636 81.9618 45.0352 81.1232 45.3832L81.8896 47.2305C82.4752 46.9875 83.102 46.8636 83.7791 46.8636V44.8636ZM81.1281 45.3811C80.2788 45.7281 79.5618 46.2462 79.0014 46.9396L80.5569 48.1968C80.8904 47.7841 81.3249 47.4612 81.8846 47.2325L81.1281 45.3811ZM79.0056 46.9344C78.4096 47.6618 78.1003 48.5316 78.053 49.4965L80.0506 49.5944C80.0791 49.0138 80.2547 48.5655 80.5526 48.202L79.0056 46.9344ZM79.0518 48.5455H76.3246V50.5455H79.0518V48.5455ZM77.3239 49.5827C77.3622 48.5531 77.6674 47.6848 78.2261 46.942L76.6276 45.7399C75.8075 46.8303 75.3778 48.0984 75.3253 49.5082L77.3239 49.5827ZM78.2284 46.9388C78.8119 46.1565 79.5786 45.5393 80.5512 45.0894L79.7116 43.2742C78.4569 43.8546 77.4205 44.6768 76.6253 45.743L78.2284 46.9388ZM80.5489 45.0905C81.5281 44.6406 82.6151 44.4091 83.8246 44.4091V42.4091C82.3522 42.4091 80.9771 42.6927 79.7139 43.2731L80.5489 45.0905ZM83.8246 44.4091C85.1284 44.4091 86.1857 44.6726 87.0364 45.1543L88.0218 43.4139C86.812 42.7289 85.3996 42.4091 83.8246 42.4091V44.4091ZM87.0413 45.157C87.928 45.6525 88.5845 46.2915 89.0406 47.0725L90.7676 46.0639C90.1177 44.9509 89.1908 44.0671 88.0169 43.4111L87.0413 45.157ZM89.0406 47.0725C89.5041 47.8661 89.7337 48.7148 89.7337 49.6364H91.7337C91.7337 48.361 91.4102 47.1642 90.7676 46.0639L89.0406 47.0725ZM89.7337 49.6364C89.7337 50.7623 89.4413 51.6623 88.898 52.3907L90.5011 53.5865C91.3366 52.4664 91.7337 51.1317 91.7337 49.6364H89.7337ZM88.8948 52.395C88.3499 53.1337 87.6084 53.654 86.6253 53.9521L87.2057 55.8661C88.5711 55.452 89.6856 54.6921 90.5043 53.5823L88.8948 52.395ZM85.9155 54.9091V55.0909H87.9155V54.9091H85.9155ZM86.7527 56.0776C88.0194 56.2865 88.9354 56.8069 89.5852 57.5998L91.1321 56.332C90.1304 55.1097 88.751 54.3802 87.0782 54.1042L86.7527 56.0776ZM89.5876 57.6026C90.245 58.3987 90.5973 59.4027 90.5973 60.6818H92.5973C92.5973 59.0063 92.1239 57.5331 91.1298 56.3292L89.5876 57.6026ZM90.5973 60.6818C90.5973 61.7532 90.3092 62.6913 89.7379 63.5262L91.3885 64.6556C92.196 63.4754 92.5973 62.1407 92.5973 60.6818H90.5973ZM89.737 63.5276C89.1615 64.3716 88.3691 65.0492 87.3298 65.5556L88.2057 67.3535C89.5301 66.7083 90.6013 65.8102 91.3894 64.6542L89.737 63.5276ZM87.3298 65.5556C86.3031 66.0557 85.1118 66.3182 83.7337 66.3182V68.3182C85.3707 68.3182 86.8687 68.0049 88.2057 67.3535L87.3298 65.5556Z",fill:"black"})),privacy:t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 214.27 214.27",...t},y.createElement("path",{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}),y.createElement("path",{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"})),"selected-cycle":t=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 20 20",fill:"none",...t},y.createElement("circle",{className:"text-base",cx:10,cy:10,r:10,fill:"#4f8cf7",fillOpacity:.2}),y.createElement("path",{d:"M6 10l3 3 5-5",stroke:"#4f8cf7",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),theme:t=>y.createElement("svg",{className:"grayscale h-4 w-4",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{fill:"currentColor",d:"M42.666667 512C42.666667 251.733333 251.733333 42.666667 512 42.666667s469.333333 187.733333 469.333333 422.4c0 72.533333-29.866667 145.066667-81.066666 200.533333-51.2 51.2-123.733333 81.066667-200.533334 81.066667h-85.333333c-12.8 0-25.6 12.8-29.866667 25.6 0 8.533333 4.266667 17.066667 8.533334 21.333333 21.333333 21.333333 29.866667 46.933333 29.866666 76.8 0 64-51.2 110.933333-115.2 115.2C251.733333 981.333333 42.666667 772.266667 42.666667 512z m85.333333 0c0 213.333333 170.666667 384 384 384 17.066667 0 29.866667-12.8 29.866667-29.866667 0-4.266667 0-8.533333-4.266667-12.8l-4.266667-4.266666c-17.066667-21.333333-25.6-46.933333-29.866666-76.8 0-64 51.2-110.933333 115.2-110.933334h85.333333c51.2 0 102.4-21.333333 136.533333-55.466666 38.4-38.4 55.466667-85.333333 55.466667-136.533334 0-187.733333-170.666667-341.333333-384-341.333333s-384 170.666667-384 384z m593.066667 21.333333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-17.066667 0-38.4-8.533333-51.2-21.333334z m-520.533334 0c-21.333333-21.333333-25.6-51.2-17.066666-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666667 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-21.333333 0-38.4-8.533333-51.2-21.333334z m379.733334-187.733333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533333 72.533334 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266666-21.333333 0-38.4-8.533333-51.2-21.333333zM341.333333 345.6c-17.066667-21.333333-25.6-51.2-12.8-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533334 72.533334 0 29.866667-17.066667 55.466667-42.666667 64l-29.866667 4.266666c-17.066667 0-34.133333-8.533333-51.2-21.333333z"})),tip:t=>y.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m0-938.666667C276.352 85.333333 85.333333 276.352 85.333333 512s191.018667 426.666667 426.666667 426.666667 426.666667-191.018667 426.666667-426.666667A426.666667 426.666667 0 0 0 512 85.333333z m0 682.666667a42.666667 42.666667 0 0 1-42.368-42.666667v-255.573333a42.368 42.368 0 1 1 84.693333 0V725.333333A42.410667 42.410667 0 0 1 512 768z m0-426.666667a42.325333 42.325333 0 1 1-0.085333-84.650666A42.325333 42.325333 0 0 1 512 341.333333z m42.325333-42.666666v0z",fill:"currentColor"})),"zoom-in":t=>y.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M945.066667 898.133333l-189.866667-189.866666c55.466667-64 87.466667-149.333333 87.466667-241.066667 0-204.8-168.533333-373.333333-373.333334-373.333333S96 264.533333 96 469.333333 264.533333 842.666667 469.333333 842.666667c91.733333 0 174.933333-34.133333 241.066667-87.466667l189.866667 189.866667c6.4 6.4 14.933333 8.533333 23.466666 8.533333s17.066667-2.133333 23.466667-8.533333c8.533333-12.8 8.533333-34.133333-2.133333-46.933334zM469.333333 778.666667C298.666667 778.666667 160 640 160 469.333333S298.666667 160 469.333333 160 778.666667 298.666667 778.666667 469.333333 640 778.666667 469.333333 778.666667z",fill:"currentColor"}),y.createElement("path",{d:"M597.333333 437.333333h-96V341.333333c0-17.066667-14.933333-32-32-32s-32 14.933333-32 32v96H341.333333c-17.066667 0-32 14.933333-32 32s14.933333 32 32 32h96V597.333333c0 17.066667 14.933333 32 32 32s32-14.933333 32-32v-96H597.333333c17.066667 0 32-14.933333 32-32s-14.933333-32-32-32z",fill:"currentColor"})),"zoom-out":t=>y.createElement("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z",fill:"currentColor"}),y.createElement("path",{fill:"currentColor",d:"M921 867L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"})),"alt-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M12 8L20 12L12 16L4 12L12 8Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"critical-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M12 5L19 12L12 19L5 12L12 5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M12 9V13",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M12 15V15.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"loop-fragment":t=>y.createElement("svg",{fill:"currentColor",width:"24px",height:"24px",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M960 101.84l-896.002.002c-35.344 0-64 28.656-64 64v576c0 35.36 28.656 64 64 64h160c20.496 0 32-26.32 32-31.984v-.016c0-5.824-10.88-32.416-32-32.416h-120.96c-21.376 0-38.72-17.344-38.72-38.72V206.002c0-21.391 17.328-38.72 38.72-38.72l818.272-1.007c21.376 0 38.72 17.328 38.72 38.72V702.69c0 21.376-17.344 38.72-38.72 38.72H518.142l75.984-68.912c9.344-8.944 12.369-23.408 3.025-32.336l-5.472-8.064c-9.376-8.945-24.496-8.945-33.84 0L428.111 750.53c-.192.16-.368.224-.528.368l-8.48 8.096c-4.672 4.431-7.008 10.335-6.976 16.223-.032 5.904 2.288 11.777 6.977 16.288l8.48 8.096c.16.16.368.192.528.336L555.84 915.44c9.344 8.944 24.464 8.944 33.84 0l5.472-8.065c9.344-8.944 6.32-23.44-3.025-32.368l-77.135-69.168H960c35.343 0 64-28.64 64-64v-576c0-35.344-28.657-64-64-64z"})),"opt-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("circle",{cx:12,cy:12,r:7,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"3 2",strokeLinecap:"round"})),"ref-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M10 6H18C19.1046 6 20 6.89543 20 8V16C20 17.1046 19.1046 18 18 18H10",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M10 6L6 12L10 18",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"par-fragment":t=>y.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{d:"M5 10H19",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M5 14H19",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),"section-fragment":t=>y.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.5C2 1.77614 1.77614 2 1.5 2C1.22386 2 1 1.77614 1 1.5C1 1.22386 1.22386 1 1.5 1C1.77614 1 2 1.22386 2 1.5ZM2 5L2 10H13V5H2ZM2 4C1.44772 4 1 4.44772 1 5V10C1 10.5523 1.44772 11 2 11H13C13.5523 11 14 10.5523 14 10V5C14 4.44772 13.5523 4 13 4H2ZM1.5 14C1.77614 14 2 13.7761 2 13.5C2 13.2239 1.77614 13 1.5 13C1.22386 13 1 13.2239 1 13.5C1 13.7761 1.22386 14 1.5 14ZM4 1.5C4 1.77614 3.77614 2 3.5 2C3.22386 2 3 1.77614 3 1.5C3 1.22386 3.22386 1 3.5 1C3.77614 1 4 1.22386 4 1.5ZM3.5 14C3.77614 14 4 13.7761 4 13.5C4 13.2239 3.77614 13 3.5 13C3.22386 13 3 13.2239 3 13.5C3 13.7761 3.22386 14 3.5 14ZM6 1.5C6 1.77614 5.77614 2 5.5 2C5.22386 2 5 1.77614 5 1.5C5 1.22386 5.22386 1 5.5 1C5.77614 1 6 1.22386 6 1.5ZM5.5 14C5.77614 14 6 13.7761 6 13.5C6 13.2239 5.77614 13 5.5 13C5.22386 13 5 13.2239 5 13.5C5 13.7761 5.22386 14 5.5 14ZM8 1.5C8 1.77614 7.77614 2 7.5 2C7.22386 2 7 1.77614 7 1.5C7 1.22386 7.22386 1 7.5 1C7.77614 1 8 1.22386 8 1.5ZM7.5 14C7.77614 14 8 13.7761 8 13.5C8 13.2239 7.77614 13 7.5 13C7.22386 13 7 13.2239 7 13.5C7 13.7761 7.22386 14 7.5 14ZM10 1.5C10 1.77614 9.77614 2 9.5 2C9.22386 2 9 1.77614 9 1.5C9 1.22386 9.22386 1 9.5 1C9.77614 1 10 1.22386 10 1.5ZM9.5 14C9.77614 14 10 13.7761 10 13.5C10 13.2239 9.77614 13 9.5 13C9.22386 13 9 13.2239 9 13.5C9 13.7761 9.22386 14 9.5 14ZM12 1.5C12 1.77614 11.7761 2 11.5 2C11.2239 2 11 1.77614 11 1.5C11 1.22386 11.2239 1 11.5 1C11.7761 1 12 1.22386 12 1.5ZM11.5 14C11.7761 14 12 13.7761 12 13.5C12 13.2239 11.7761 13 11.5 13C11.2239 13 11 13.2239 11 13.5C11 13.7761 11.2239 14 11.5 14ZM14 1.5C14 1.77614 13.7761 2 13.5 2C13.2239 2 13 1.77614 13 1.5C13 1.22386 13.2239 1 13.5 1C13.7761 1 14 1.22386 14 1.5ZM13.5 14C13.7761 14 14 13.7761 14 13.5C14 13.2239 13.7761 13 13.5 13C13.2239 13 13 13.2239 13 13.5C13 13.7761 13.2239 14 13.5 14Z",fill:"currentColor"})),"try-catch-fragment":t=>y.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 76 76",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",baseProfile:"full",enableBackground:"new 0 0 76.00 76.00",xmlSpace:"preserve",...t},y.createElement("path",{fill:"currentColor",fillOpacity:1,strokeWidth:.2,strokeLinejoin:"round",d:"M 26,22.0001L 27,21.9998L 27,27L 26.0001,27.0003C 23.2386,27.0003 21.0001,29.2389 21.0001,32.0003L 21,46.0002C 21,48.7616 23.2386,51.0002 25.9999,51.0002L 27,51.0002L 27,47L 33.75,53.5L 27,60L 27,56L 26,56C 20.4771,56 16,51.5229 16,46L 16,32.0001C 16,26.4773 20.4771,22.0001 26,22.0001 Z M 33,27L 59,27L 59,32L 33,32L 33,27 Z M 36,35L 59,35L 59,40L 36,40L 36,35 Z M 33,43L 59,43L 59,48L 33,48L 33,43 Z "}))},k3=t=>{const e=i_[t.name];return e?M.jsx("span",{className:H2("flex items-center justify-center w-5 h-4",t.className),onClick:t.onClick,children:M.jsx(e,{})}):null},s_=()=>{const[t,e]=y.useState(!1);return y.useEffect(()=>{const n=s=>{s.key==="F1"&&(s.preventDefault(),e(l=>!l))};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[]),t?M.jsxs("div",{className:"text-xs inline-flex items-center font-mono font-medium leading-sm mx-1 px-3 py-1 bg-slate-100 text-slate-500 rounded-sm",children:[M.jsx(k3,{name:"debug",className:"h-3 w-3"}),M.jsxs("span",{className:"inline-block px-2",children:["main",":","9010c4b6"]})]}):null},bC={tooltip:"_tooltip_5kyas_1",bottom:"_bottom_5kyas_29"},o_=t=>M.jsx("div",{className:t.className,children:M.jsx("div",{className:H2(bC.tooltip,bC.bottom,"privacy whitespace-normal flex items-center"),"data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser.",children:M.jsx(k3,{name:"privacy",className:"fill-current h-6 w-6 m-auto"})})}),l_=t=>{var n;const e=(n=t.context)==null?void 0:n.content();return M.jsx("div",{className:"title text-skin-title text-base font-semibold",children:e})},r_={actor:()=>Promise.resolve().then(()=>ek),boundary:()=>Promise.resolve().then(()=>tk),control:()=>Promise.resolve().then(()=>nk),database:()=>Promise.resolve().then(()=>ik),entity:()=>Promise.resolve().then(()=>sk),cognito:()=>Promise.resolve().then(()=>Pk),elasticbeantalk:()=>Promise.resolve().then(()=>Wk),kinesis:()=>Promise.resolve().then(()=>jk),lightsail:()=>Promise.resolve().then(()=>$k),sagemaker:()=>Promise.resolve().then(()=>Vk)},x=()=>Promise.resolve().then(()=>YO),et={...r_,...{awsiotlora:()=>x().then(t=>({default:t.cloudIcons.awsiotlora})),awsiotgreengrasscomponent:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrasscomponent})),awsiotthingcoffeepot:()=>x().then(t=>({default:t.cloudIcons.awsiotthingcoffeepot})),awsiotlambda:()=>x().then(t=>({default:t.cloudIcons.awsiotlambda})),awsiotthingwindfarm:()=>x().then(t=>({default:t.cloudIcons.awsiotthingwindfarm})),awsiotthingvibrationsensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthingvibrationsensor})),awsiotdevicedefenderjobs:()=>x().then(t=>({default:t.cloudIcons.awsiotdevicedefenderjobs})),awsiotdevicemanagementfleethub:()=>x().then(t=>({default:t.cloudIcons.awsiotdevicemanagementfleethub})),awsiottopic:()=>x().then(t=>({default:t.cloudIcons.awsiottopic})),awsiotcertificate:()=>x().then(t=>({default:t.cloudIcons.awsiotcertificate})),awsiotthingrelay:()=>x().then(t=>({default:t.cloudIcons.awsiotthingrelay})),awsiotanalyticschannel:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticschannel})),awsiotthingcamera:()=>x().then(t=>({default:t.cloudIcons.awsiotthingcamera})),awsiotthingdoorlock:()=>x().then(t=>({default:t.cloudIcons.awsiotthingdoorlock})),awsiotpolicy:()=>x().then(t=>({default:t.cloudIcons.awsiotpolicy})),awsiotthingfreertos:()=>x().then(t=>({default:t.cloudIcons.awsiotthingfreertos})),awsiotsitewiseassetproperties:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewiseassetproperties})),awsiotthingtempvibrationsensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthingtempvibrationsensor})),awsiotthingplc:()=>x().then(t=>({default:t.cloudIcons.awsiotthingplc})),awsiotaction:()=>x().then(t=>({default:t.cloudIcons.awsiotaction})),awsiotalexavoice:()=>x().then(t=>({default:t.cloudIcons.awsiotalexavoice})),awsiotalexaenabled:()=>x().then(t=>({default:t.cloudIcons.awsiotalexaenabled})),awsiotthingutility:()=>x().then(t=>({default:t.cloudIcons.awsiotthingutility})),awsiotactuator:()=>x().then(t=>({default:t.cloudIcons.awsiotactuator})),awsiotthingtempsensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthingtempsensor})),awsiothttpprotocol:()=>x().then(t=>({default:t.cloudIcons.awsiothttpprotocol})),awsiotcoredevicelocation:()=>x().then(t=>({default:t.cloudIcons.awsiotcoredevicelocation})),awsiotalexaskill:()=>x().then(t=>({default:t.cloudIcons.awsiotalexaskill})),awsiotanalyticsnotebook:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticsnotebook})),awsiothardwareboard:()=>x().then(t=>({default:t.cloudIcons.awsiothardwareboard})),awsiotthingcar:()=>x().then(t=>({default:t.cloudIcons.awsiotthingcar})),awsiotthinglightbulb:()=>x().then(t=>({default:t.cloudIcons.awsiotthinglightbulb})),awsiotsitewiseasset:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewiseasset})),awsiotsitewisedatastreams:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewisedatastreams})),awsiotgreengrasscomponentnucleus:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrasscomponentnucleus})),awsiotthinghouse:()=>x().then(t=>({default:t.cloudIcons.awsiotthinghouse})),awsiotoverairupdate:()=>x().then(t=>({default:t.cloudIcons.awsiotoverairupdate})),awsiotthingbank:()=>x().then(t=>({default:t.cloudIcons.awsiotthingbank})),awsiotsensor:()=>x().then(t=>({default:t.cloudIcons.awsiotsensor})),awsiotsitewiseassethierarchy:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewiseassethierarchy})),awsiotgreengrassartifact:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassartifact})),awsiotthingtravel:()=>x().then(t=>({default:t.cloudIcons.awsiotthingtravel})),awsiotmqttprotocol:()=>x().then(t=>({default:t.cloudIcons.awsiotmqttprotocol})),awsiotshadow:()=>x().then(t=>({default:t.cloudIcons.awsiotshadow})),awsiotfiretv:()=>x().then(t=>({default:t.cloudIcons.awsiotfiretv})),awsiotgreengrassconnector:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassconnector})),awsiotgreengrassipc:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassipc})),awsiothttp2protocol:()=>x().then(t=>({default:t.cloudIcons.awsiothttp2protocol})),awsiotfiretvstick:()=>x().then(t=>({default:t.cloudIcons.awsiotfiretvstick})),awsiotcoredeviceadvisor:()=>x().then(t=>({default:t.cloudIcons.awsiotcoredeviceadvisor})),awsiotthingindustrialpc:()=>x().then(t=>({default:t.cloudIcons.awsiotthingindustrialpc})),awsiotdesiredstate:()=>x().then(t=>({default:t.cloudIcons.awsiotdesiredstate})),awsiotecho:()=>x().then(t=>({default:t.cloudIcons.awsiotecho})),awsiotgreengrassrecipe:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassrecipe})),awsiotgreengrasscomponentprivate:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrasscomponentprivate})),awsiotgreengrassstreammanager:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassstreammanager})),awsiotthingmedicalemergency:()=>x().then(t=>({default:t.cloudIcons.awsiotthingmedicalemergency})),awsiotthingthermostat:()=>x().then(t=>({default:t.cloudIcons.awsiotthingthermostat})),awsiotsitewiseassetmodel:()=>x().then(t=>({default:t.cloudIcons.awsiotsitewiseassetmodel})),awsiotthingstacklight:()=>x().then(t=>({default:t.cloudIcons.awsiotthingstacklight})),awsiotthingtemphumiditysensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthingtemphumiditysensor})),awsiotgreengrasscomponentpublic:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrasscomponentpublic})),awsiotsailboat:()=>x().then(t=>({default:t.cloudIcons.awsiotsailboat})),awsiotrule:()=>x().then(t=>({default:t.cloudIcons.awsiotrule})),awsiotthingbicycle:()=>x().then(t=>({default:t.cloudIcons.awsiotthingbicycle})),awsiotreportedstate:()=>x().then(t=>({default:t.cloudIcons.awsiotreportedstate})),awsiotsimulator:()=>x().then(t=>({default:t.cloudIcons.awsiotsimulator})),awsiotthingpoliceemergency:()=>x().then(t=>({default:t.cloudIcons.awsiotthingpoliceemergency})),awsiotanalyticsdatastore:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticsdatastore})),awsiotdevicetester:()=>x().then(t=>({default:t.cloudIcons.awsiotdevicetester})),awsiotanalyticspipeline:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticspipeline})),awsiotthingfactory:()=>x().then(t=>({default:t.cloudIcons.awsiotthingfactory})),awsiotthinghumiditysensor:()=>x().then(t=>({default:t.cloudIcons.awsiotthinghumiditysensor})),awsiotgreengrassprotocol:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassprotocol})),awsiotservo:()=>x().then(t=>({default:t.cloudIcons.awsiotservo})),awsiotanalyticsdataset:()=>x().then(t=>({default:t.cloudIcons.awsiotanalyticsdataset})),awsiotgreengrassmachinelearning:()=>x().then(t=>({default:t.cloudIcons.awsiotgreengrassmachinelearning})),awsiotthinggeneric:()=>x().then(t=>({default:t.cloudIcons.awsiotthinggeneric})),awsiotdevicegateway:()=>x().then(t=>({default:t.cloudIcons.awsiotdevicegateway})),awsiotthingcart:()=>x().then(t=>({default:t.cloudIcons.awsiotthingcart})),amazonrekognitionvideo:()=>x().then(t=>({default:t.cloudIcons.amazonrekognitionvideo})),amazonsagemakermodel:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakermodel})),amazonsagemakeranalyzelending:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakeranalyzelending})),amazonsagemakershadowtesting:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakershadowtesting})),amazondevopsguruinsights:()=>x().then(t=>({default:t.cloudIcons.amazondevopsguruinsights})),amazonsagemakernotebook:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakernotebook})),amazonsagemakercanvas:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakercanvas})),amazonsagemakertrain:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakertrain})),amazonsagemakergeospatialml:()=>x().then(t=>({default:t.cloudIcons.amazonsagemakergeospatialml})),amazonrekognitionimage:()=>x().then(t=>({default:t.cloudIcons.amazonrekognitionimage})),amazonbraketsimulator:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator})),amazonbraketnoisesimulator:()=>x().then(t=>({default:t.cloudIcons.amazonbraketnoisesimulator})),amazonbraketchip:()=>x().then(t=>({default:t.cloudIcons.amazonbraketchip})),amazonbraketsimulator1:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator1})),amazonbraketmanagedsimulator:()=>x().then(t=>({default:t.cloudIcons.amazonbraketmanagedsimulator})),amazonbraketsimulator3:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator3})),amazonbraketchandelier:()=>x().then(t=>({default:t.cloudIcons.amazonbraketchandelier})),amazonbrakettensornetwork:()=>x().then(t=>({default:t.cloudIcons.amazonbrakettensornetwork})),amazonbraketsimulator4:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator4})),amazonbraketqpu:()=>x().then(t=>({default:t.cloudIcons.amazonbraketqpu})),amazonbraketstatevector:()=>x().then(t=>({default:t.cloudIcons.amazonbraketstatevector})),amazonbraketsimulator2:()=>x().then(t=>({default:t.cloudIcons.amazonbraketsimulator2})),amazonopensearchobservability:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchobservability})),amazonredshiftra3:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftra3})),amazonredshiftstreaming:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftstreaming})),amazonemrengine:()=>x().then(t=>({default:t.cloudIcons.amazonemrengine})),amazonredshiftqueryeditor:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftqueryeditor})),redshift:()=>x().then(t=>({default:t.cloudIcons.redshift})),amazonehrhdfscluster:()=>x().then(t=>({default:t.cloudIcons.amazonehrhdfscluster})),amazonmskconnect:()=>x().then(t=>({default:t.cloudIcons.amazonmskconnect})),awsgluedatacatalog:()=>x().then(t=>({default:t.cloudIcons.awsgluedatacatalog})),amazondatzonedataportal:()=>x().then(t=>({default:t.cloudIcons.amazondatzonedataportal})),amazondatzonebusinessdatacatalog:()=>x().then(t=>({default:t.cloudIcons.amazondatzonebusinessdatacatalog})),amazondatzonedataprojects:()=>x().then(t=>({default:t.cloudIcons.amazondatzonedataprojects})),amazonredshiftdensestorage:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftdensestorage})),awsgluedataquality:()=>x().then(t=>({default:t.cloudIcons.awsgluedataquality})),awsgluecrawler:()=>x().then(t=>({default:t.cloudIcons.awsgluecrawler})),amazonquicksightreports:()=>x().then(t=>({default:t.cloudIcons.amazonquicksightreports})),awslakeformationdatalake:()=>x().then(t=>({default:t.cloudIcons.awslakeformationdatalake})),amazonopensearchultrawarm:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchultrawarm})),amazoncloudsearchsearchdocuments:()=>x().then(t=>({default:t.cloudIcons.amazoncloudsearchsearchdocuments})),amazonopensearchingestion:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchingestion})),amazonathenadatasource:()=>x().then(t=>({default:t.cloudIcons.amazonathenadatasource})),amazonopensearchadminnode:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchadminnode})),amazonopensearchdashboards:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchdashboards})),amazonopensearchindex:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchindex})),awsglueray:()=>x().then(t=>({default:t.cloudIcons.awsglueray})),amazonredshiftdatasharing:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftdatasharing})),amazonredshiftautocopy:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftautocopy})),amazonredshiftdensecompute:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftdensecompute})),amazonredshiftml:()=>x().then(t=>({default:t.cloudIcons.amazonredshiftml})),amazonopensearchtraces:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchtraces})),amazonemrcluster:()=>x().then(t=>({default:t.cloudIcons.amazonemrcluster})),amazonopensearchdatanode:()=>x().then(t=>({default:t.cloudIcons.amazonopensearchdatanode})),awsdataexchangeapi:()=>x().then(t=>({default:t.cloudIcons.awsdataexchangeapi})),amazonworkspaces:()=>x().then(t=>({default:t.cloudIcons.amazonworkspaces})),amazonworkspacescore:()=>x().then(t=>({default:t.cloudIcons.amazonworkspacescore})),amazonworkspacesweb:()=>x().then(t=>({default:t.cloudIcons.amazonworkspacesweb})),awsdirservicesimplead:()=>x().then(t=>({default:t.cloudIcons.awsdirservicesimplead})),awswafbadbot:()=>x().then(t=>({default:t.cloudIcons.awswafbadbot})),awsidentityaccesssts:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccesssts})),awsidentityaccessaddon:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessaddon})),amazoninspectoragent:()=>x().then(t=>({default:t.cloudIcons.amazoninspectoragent})),awsidentityaccessdataencryption:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessdataencryption})),awsidentityaccessmfatoken:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessmfatoken})),awsdirserviceadconnector:()=>x().then(t=>({default:t.cloudIcons.awsdirserviceadconnector})),awsidentityaccesspermissions:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccesspermissions})),awswaflabels:()=>x().then(t=>({default:t.cloudIcons.awswaflabels})),awscertmgrca:()=>x().then(t=>({default:t.cloudIcons.awscertmgrca})),awsidentityaccessstsalt:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessstsalt})),awsdirservicemanagedmsad:()=>x().then(t=>({default:t.cloudIcons.awsdirservicemanagedmsad})),awssecurityhubfinding:()=>x().then(t=>({default:t.cloudIcons.awssecurityhubfinding})),awswafrule:()=>x().then(t=>({default:t.cloudIcons.awswafrule})),awsidentityaccessrole:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessrole})),awsidentityaccesslongtermcredential:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccesslongtermcredential})),awsidentityaccesstempcredential:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccesstempcredential})),awswaffilteringrule:()=>x().then(t=>({default:t.cloudIcons.awswaffilteringrule})),awswafbot:()=>x().then(t=>({default:t.cloudIcons.awswafbot})),awsshieldadvanced:()=>x().then(t=>({default:t.cloudIcons.awsshieldadvanced})),awsidentityaccessanalyzer:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessanalyzer})),iam:()=>x().then(t=>({default:t.cloudIcons.iam})),awswafbotcontrol:()=>x().then(t=>({default:t.cloudIcons.awswafbotcontrol})),awsidentityaccessrolesanywhere:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessrolesanywhere})),awsidentityaccessdataencryptionkey:()=>x().then(t=>({default:t.cloudIcons.awsidentityaccessdataencryptionkey})),awsnetworkfirewallendpoints:()=>x().then(t=>({default:t.cloudIcons.awsnetworkfirewallendpoints})),awswafmanagedrule:()=>x().then(t=>({default:t.cloudIcons.awswafmanagedrule})),awskeymanagementexternalkeystore:()=>x().then(t=>({default:t.cloudIcons.awskeymanagementexternalkeystore})),amazonblockchain:()=>x().then(t=>({default:t.cloudIcons.amazonblockchain})),amazoneventbridgesaas:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgesaas})),amazoneventbridgeschema:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgeschema})),amazonmqbroker:()=>x().then(t=>({default:t.cloudIcons.amazonmqbroker})),amazoneventbridgeschemaregistry:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgeschemaregistry})),amazoneventbridgedefaultbus:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgedefaultbus})),amazonsnsnotification:()=>x().then(t=>({default:t.cloudIcons.amazonsnsnotification})),amazoneventbridgeevent:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgeevent})),amazonnshttpnotification:()=>x().then(t=>({default:t.cloudIcons.amazonnshttpnotification})),amazoneventbridgepipes:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgepipes})),amazoneventbridgerule:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgerule})),amazonapigatewayendpoint:()=>x().then(t=>({default:t.cloudIcons.amazonapigatewayendpoint})),amazoneventbridgescheduler:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgescheduler})),amazonsqsqueue:()=>x().then(t=>({default:t.cloudIcons.amazonsqsqueue})),sqs:()=>x().then(t=>({default:t.cloudIcons.sqs})),amazonsqsmessage:()=>x().then(t=>({default:t.cloudIcons.amazonsqsmessage})),amazoneventbridgecustomeventbus:()=>x().then(t=>({default:t.cloudIcons.amazoneventbridgecustomeventbus})),amazonsnstopic:()=>x().then(t=>({default:t.cloudIcons.amazonsnstopic})),sns:()=>x().then(t=>({default:t.cloudIcons.sns})),awsssmpatchmanager:()=>x().then(t=>({default:t.cloudIcons.awsssmpatchmanager})),awscloudformationtemplate:()=>x().then(t=>({default:t.cloudIcons.awscloudformationtemplate})),awsopsworkslayers:()=>x().then(t=>({default:t.cloudIcons.awsopsworkslayers})),amazoncloudwatchmetricsinsights:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchmetricsinsights})),amazoncloudwatchdataprotection:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchdataprotection})),amazoncloudwatchalarm:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchalarm})),awstrustedadvisorchecksecurity:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorchecksecurity})),awstrustedadvisorcheckperformance:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorcheckperformance})),amazoncloudwatchrule:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchrule})),awsopsworksresources:()=>x().then(t=>({default:t.cloudIcons.awsopsworksresources})),amazoncloudwatcheventtime:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatcheventtime})),awsorgsmanagementaccount:()=>x().then(t=>({default:t.cloudIcons.awsorgsmanagementaccount})),awslicensemanagerlicenseblending:()=>x().then(t=>({default:t.cloudIcons.awslicensemanagerlicenseblending})),amazoncloudwatcheventevent:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatcheventevent})),amazoncloudwatchsynthetics:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchsynthetics})),awsssmstatemanager:()=>x().then(t=>({default:t.cloudIcons.awsssmstatemanager})),awscloudformationstack:()=>x().then(t=>({default:t.cloudIcons.awscloudformationstack})),awsopsworksinstances:()=>x().then(t=>({default:t.cloudIcons.awsopsworksinstances})),awsssmruncommand:()=>x().then(t=>({default:t.cloudIcons.awsssmruncommand})),awsopsworksdeployments:()=>x().then(t=>({default:t.cloudIcons.awsopsworksdeployments})),awsssmautomation:()=>x().then(t=>({default:t.cloudIcons.awsssmautomation})),awsssmchangecalendar:()=>x().then(t=>({default:t.cloudIcons.awsssmchangecalendar})),awsorgsorganizationalunit:()=>x().then(t=>({default:t.cloudIcons.awsorgsorganizationalunit})),awsssmsessionmanager:()=>x().then(t=>({default:t.cloudIcons.awsssmsessionmanager})),awstrustedadvisorcheckcost:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorcheckcost})),awsopsworksstack2:()=>x().then(t=>({default:t.cloudIcons.awsopsworksstack2})),awslicensemanagerapplicationdiscovery:()=>x().then(t=>({default:t.cloudIcons.awslicensemanagerapplicationdiscovery})),awsssmopscenter:()=>x().then(t=>({default:t.cloudIcons.awsssmopscenter})),awsssminventory:()=>x().then(t=>({default:t.cloudIcons.awsssminventory})),awsopsworkspermissions:()=>x().then(t=>({default:t.cloudIcons.awsopsworkspermissions})),awsopsworksapps:()=>x().then(t=>({default:t.cloudIcons.awsopsworksapps})),awscloudformationchangeset:()=>x().then(t=>({default:t.cloudIcons.awscloudformationchangeset})),awsssmdocuments:()=>x().then(t=>({default:t.cloudIcons.awsssmdocuments})),awsssmapplicationmanager:()=>x().then(t=>({default:t.cloudIcons.awsssmapplicationmanager})),awsorgsaccount:()=>x().then(t=>({default:t.cloudIcons.awsorgsaccount})),awscloudtrailcloudtraillake:()=>x().then(t=>({default:t.cloudIcons.awscloudtrailcloudtraillake})),awsssmmaintenancewindows:()=>x().then(t=>({default:t.cloudIcons.awsssmmaintenancewindows})),awssmmincidentmanager:()=>x().then(t=>({default:t.cloudIcons.awssmmincidentmanager})),amazoncloudwatchevidently:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchevidently})),amazoncloudwatchrum:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchrum})),awsssmparameterstore:()=>x().then(t=>({default:t.cloudIcons.awsssmparameterstore})),amazoncloudwatchlogs:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchlogs})),cloudwatch:()=>x().then(t=>({default:t.cloudIcons.cloudwatch})),awsssmchangemanager:()=>x().then(t=>({default:t.cloudIcons.awsssmchangemanager})),awsopsworksmonitoring:()=>x().then(t=>({default:t.cloudIcons.awsopsworksmonitoring})),awsssmcompliance:()=>x().then(t=>({default:t.cloudIcons.awsssmcompliance})),awsssmdistributor:()=>x().then(t=>({default:t.cloudIcons.awsssmdistributor})),amazoncloudwatchobservability:()=>x().then(t=>({default:t.cloudIcons.amazoncloudwatchobservability})),awstrustedadvisorcheckfault:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorcheckfault})),awstrustedadvisorchecklist:()=>x().then(t=>({default:t.cloudIcons.awstrustedadvisorchecklist})),amazonroute53routetable:()=>x().then(t=>({default:t.cloudIcons.amazonroute53routetable})),amazoncloudfrontdistribution:()=>x().then(t=>({default:t.cloudIcons.amazoncloudfrontdistribution})),amazonroute53routingcontrols:()=>x().then(t=>({default:t.cloudIcons.amazonroute53routingcontrols})),amazonroute53arc:()=>x().then(t=>({default:t.cloudIcons.amazonroute53arc})),amazonvpctrafficmirroring:()=>x().then(t=>({default:t.cloudIcons.amazonvpctrafficmirroring})),amazonvpcreachabilityanalyzer:()=>x().then(t=>({default:t.cloudIcons.amazonvpcreachabilityanalyzer})),awscloudmapnamespace:()=>x().then(t=>({default:t.cloudIcons.awscloudmapnamespace})),awstransitgatewayattachment:()=>x().then(t=>({default:t.cloudIcons.awstransitgatewayattachment})),amazonvpcigw:()=>x().then(t=>({default:t.cloudIcons.amazonvpcigw})),amazoncloudfrontedgelocation:()=>x().then(t=>({default:t.cloudIcons.amazoncloudfrontedgelocation})),awscloudwansegmentnetwork:()=>x().then(t=>({default:t.cloudIcons.awscloudwansegmentnetwork})),awscloudmapservice:()=>x().then(t=>({default:t.cloudIcons.awscloudmapservice})),awsappmeshvirtualrouter:()=>x().then(t=>({default:t.cloudIcons.awsappmeshvirtualrouter})),amazonvpcendpoints:()=>x().then(t=>({default:t.cloudIcons.amazonvpcendpoints})),amazonvpcvpnconnection:()=>x().then(t=>({default:t.cloudIcons.amazonvpcvpnconnection})),amazoncloudfrontstreaming:()=>x().then(t=>({default:t.cloudIcons.amazoncloudfrontstreaming})),amazonvpcpeering:()=>x().then(t=>({default:t.cloudIcons.amazonvpcpeering})),amazonroute53resolverdnsfirewall:()=>x().then(t=>({default:t.cloudIcons.amazonroute53resolverdnsfirewall})),amazonroute53hostedzone:()=>x().then(t=>({default:t.cloudIcons.amazonroute53hostedzone})),amazonvpcvpngateway:()=>x().then(t=>({default:t.cloudIcons.amazonvpcvpngateway})),amazoncloudfrontfunctions:()=>x().then(t=>({default:t.cloudIcons.amazoncloudfrontfunctions})),cloudfront:()=>x().then(t=>({default:t.cloudIcons.cloudfront})),amazoneaelasticnetworkadapter:()=>x().then(t=>({default:t.cloudIcons.amazoneaelasticnetworkadapter})),awsappmeshvirtualgateway:()=>x().then(t=>({default:t.cloudIcons.awsappmeshvirtualgateway})),amazonroute53resolverlogging:()=>x().then(t=>({default:t.cloudIcons.amazonroute53resolverlogging})),elasticlbclassic:()=>x().then(t=>({default:t.cloudIcons.elasticlbclassic})),amazonroute53resolver:()=>x().then(t=>({default:t.cloudIcons.amazonroute53resolver})),awscloudwancorenetworkedge:()=>x().then(t=>({default:t.cloudIcons.awscloudwancorenetworkedge})),awsappmeshvirtualservice:()=>x().then(t=>({default:t.cloudIcons.awsappmeshvirtualservice})),amazonvpcflowlogs:()=>x().then(t=>({default:t.cloudIcons.amazonvpcflowlogs})),awscloudmapresource:()=>x().then(t=>({default:t.cloudIcons.awscloudmapresource})),awsdirectconnectgateway:()=>x().then(t=>({default:t.cloudIcons.awsdirectconnectgateway})),amazonvpcnetworkaccessanalyzer:()=>x().then(t=>({default:t.cloudIcons.amazonvpcnetworkaccessanalyzer})),elasticlbapp:()=>x().then(t=>({default:t.cloudIcons.elasticlbapp})),amazonvpcvpc:()=>x().then(t=>({default:t.cloudIcons.amazonvpcvpc})),vpc:()=>x().then(t=>({default:t.cloudIcons.vpc})),amazonvpccarriergateway:()=>x().then(t=>({default:t.cloudIcons.amazonvpccarriergateway})),amazoneaelasticnetworkinterface:()=>x().then(t=>({default:t.cloudIcons.amazoneaelasticnetworkinterface})),awscloudwanrouteattachment:()=>x().then(t=>({default:t.cloudIcons.awscloudwanrouteattachment})),amazonroute53readiness:()=>x().then(t=>({default:t.cloudIcons.amazonroute53readiness})),awsappmeshvirtualnode:()=>x().then(t=>({default:t.cloudIcons.awsappmeshvirtualnode})),elasticlbgateway:()=>x().then(t=>({default:t.cloudIcons.elasticlbgateway})),amazonvpcrouter:()=>x().then(t=>({default:t.cloudIcons.amazonvpcrouter})),awsappmeshmesh:()=>x().then(t=>({default:t.cloudIcons.awsappmeshmesh})),amazonvpcnatgateway:()=>x().then(t=>({default:t.cloudIcons.amazonvpcnatgateway})),amazonvpcnetworkacl:()=>x().then(t=>({default:t.cloudIcons.amazonvpcnetworkacl})),amazonvpccustomer:()=>x().then(t=>({default:t.cloudIcons.amazonvpccustomer})),elasticlbnetwork:()=>x().then(t=>({default:t.cloudIcons.elasticlbnetwork})),amazons3replication:()=>x().then(t=>({default:t.cloudIcons.amazons3replication})),amazons3onezone:()=>x().then(t=>({default:t.cloudIcons.amazons3onezone})),awsbackuplegalhold:()=>x().then(t=>({default:t.cloudIcons.awsbackuplegalhold})),awsstoragegateaway:()=>x().then(t=>({default:t.cloudIcons.awsstoragegateaway})),amazonefsstandard:()=>x().then(t=>({default:t.cloudIcons.amazonefsstandard})),efs:()=>x().then(t=>({default:t.cloudIcons.efs})),elasticfilesystem:()=>x().then(t=>({default:t.cloudIcons.elasticfilesystem})),amazons3bucket:()=>x().then(t=>({default:t.cloudIcons.amazons3bucket})),s3:()=>x().then(t=>({default:t.cloudIcons.s3})),awsstoragegateawayfile:()=>x().then(t=>({default:t.cloudIcons.awsstoragegateawayfile})),awsfsxfile:()=>x().then(t=>({default:t.cloudIcons.awsfsxfile})),amazons3glacierinstant:()=>x().then(t=>({default:t.cloudIcons.amazons3glacierinstant})),amazonfilecache:()=>x().then(t=>({default:t.cloudIcons.amazonfilecache})),amazons3standardia:()=>x().then(t=>({default:t.cloudIcons.amazons3standardia})),amazons3generalaccess:()=>x().then(t=>({default:t.cloudIcons.amazons3generalaccess})),amazons3lambda:()=>x().then(t=>({default:t.cloudIcons.amazons3lambda})),amazons3objectlock:()=>x().then(t=>({default:t.cloudIcons.amazons3objectlock})),awsbackupvirtualmachine:()=>x().then(t=>({default:t.cloudIcons.awsbackupvirtualmachine})),amazonec2gp3:()=>x().then(t=>({default:t.cloudIcons.amazonec2gp3})),amazonefsfilesys:()=>x().then(t=>({default:t.cloudIcons.amazonefsfilesys})),awssnowballimportexport:()=>x().then(t=>({default:t.cloudIcons.awssnowballimportexport})),amazons3object:()=>x().then(t=>({default:t.cloudIcons.amazons3object})),awsbackupcache:()=>x().then(t=>({default:t.cloudIcons.awsbackupcache})),amazons3lambdaobject:()=>x().then(t=>({default:t.cloudIcons.amazons3lambdaobject})),awsbackupgateway:()=>x().then(t=>({default:t.cloudIcons.awsbackupgateway})),awsbackuprto:()=>x().then(t=>({default:t.cloudIcons.awsbackuprto})),awsbackupvaultlock:()=>x().then(t=>({default:t.cloudIcons.awsbackupvaultlock})),awsbackupvirtualtape:()=>x().then(t=>({default:t.cloudIcons.awsbackupvirtualtape})),amazonebsdatalifecycle:()=>x().then(t=>({default:t.cloudIcons.amazonebsdatalifecycle})),awsbackupplan:()=>x().then(t=>({default:t.cloudIcons.awsbackupplan})),amazonfilecaches3:()=>x().then(t=>({default:t.cloudIcons.amazonfilecaches3})),awsbackupcloudformation:()=>x().then(t=>({default:t.cloudIcons.awsbackupcloudformation})),awsbackuptapegateway:()=>x().then(t=>({default:t.cloudIcons.awsbackuptapegateway})),awsbackupvmware:()=>x().then(t=>({default:t.cloudIcons.awsbackupvmware})),amazonefsonezoneia:()=>x().then(t=>({default:t.cloudIcons.amazonefsonezoneia})),amazons3replicationtime:()=>x().then(t=>({default:t.cloudIcons.amazons3replicationtime})),awsbackupstorage:()=>x().then(t=>({default:t.cloudIcons.awsbackupstorage})),amazonefsintelligenttiering:()=>x().then(t=>({default:t.cloudIcons.amazonefsintelligenttiering})),amazons3glacierdeep:()=>x().then(t=>({default:t.cloudIcons.amazons3glacierdeep})),amazons3select:()=>x().then(t=>({default:t.cloudIcons.amazons3select})),amazons3outposts:()=>x().then(t=>({default:t.cloudIcons.amazons3outposts})),awsfilegateway:()=>x().then(t=>({default:t.cloudIcons.awsfilegateway})),amazons3glacier:()=>x().then(t=>({default:t.cloudIcons.amazons3glacier})),awsbackupvmmonitor:()=>x().then(t=>({default:t.cloudIcons.awsbackupvmmonitor})),amazons3multiregion:()=>x().then(t=>({default:t.cloudIcons.amazons3multiregion})),awsbackupvault:()=>x().then(t=>({default:t.cloudIcons.awsbackupvault})),awsbackupauditmanager:()=>x().then(t=>({default:t.cloudIcons.awsbackupauditmanager})),amazonfilecachehybridnfs:()=>x().then(t=>({default:t.cloudIcons.amazonfilecachehybridnfs})),amazonefselasticthroughput:()=>x().then(t=>({default:t.cloudIcons.amazonefselasticthroughput})),awsbackupawsbackupfors3:()=>x().then(t=>({default:t.cloudIcons.awsbackupawsbackupfors3})),amazons3standard:()=>x().then(t=>({default:t.cloudIcons.amazons3standard})),amazonefsonezone:()=>x().then(t=>({default:t.cloudIcons.amazonefsonezone})),awsstoragegateawayvolume:()=>x().then(t=>({default:t.cloudIcons.awsstoragegateawayvolume})),awsbackuprestore:()=>x().then(t=>({default:t.cloudIcons.awsbackuprestore})),amazonebsvolumes:()=>x().then(t=>({default:t.cloudIcons.amazonebsvolumes})),amazons3lens:()=>x().then(t=>({default:t.cloudIcons.amazons3lens})),awsbackupcompute:()=>x().then(t=>({default:t.cloudIcons.awsbackupcompute})),amazonvpclogs:()=>x().then(t=>({default:t.cloudIcons.amazonvpclogs})),amazons3batch:()=>x().then(t=>({default:t.cloudIcons.amazons3batch})),amazonefsinfrequent:()=>x().then(t=>({default:t.cloudIcons.amazonefsinfrequent})),amazons3tiering:()=>x().then(t=>({default:t.cloudIcons.amazons3tiering})),awsbackuprpo:()=>x().then(t=>({default:t.cloudIcons.awsbackuprpo})),awsbackupcompliance:()=>x().then(t=>({default:t.cloudIcons.awsbackupcompliance})),amazonebssnapshot:()=>x().then(t=>({default:t.cloudIcons.amazonebssnapshot})),awsbackupdatabase:()=>x().then(t=>({default:t.cloudIcons.awsbackupdatabase})),awsbackupfsx:()=>x().then(t=>({default:t.cloudIcons.awsbackupfsx})),amazons3glacierflex:()=>x().then(t=>({default:t.cloudIcons.amazons3glacierflex})),glacier:()=>x().then(t=>({default:t.cloudIcons.glacier})),s3glacier:()=>x().then(t=>({default:t.cloudIcons.s3glacier})),amazons3bucketobject:()=>x().then(t=>({default:t.cloudIcons.amazons3bucketobject})),amazonebsvolume:()=>x().then(t=>({default:t.cloudIcons.amazonebsvolume})),ebs:()=>x().then(t=>({default:t.cloudIcons.ebs})),amazons3vault:()=>x().then(t=>({default:t.cloudIcons.amazons3vault})),amazoneksoutposts:()=>x().then(t=>({default:t.cloudIcons.amazoneksoutposts})),amazonecscontainer2:()=>x().then(t=>({default:t.cloudIcons.amazonecscontainer2})),amazonecrimage:()=>x().then(t=>({default:t.cloudIcons.amazonecrimage})),amazonecstask:()=>x().then(t=>({default:t.cloudIcons.amazonecstask})),amazonecsservice:()=>x().then(t=>({default:t.cloudIcons.amazonecsservice})),amazonecscontainer1:()=>x().then(t=>({default:t.cloudIcons.amazonecscontainer1})),amazonecrregistry:()=>x().then(t=>({default:t.cloudIcons.amazonecrregistry})),amazonecscontainer3:()=>x().then(t=>({default:t.cloudIcons.amazonecscontainer3})),ecs:()=>x().then(t=>({default:t.cloudIcons.ecs})),amazonecscopilotcli:()=>x().then(t=>({default:t.cloudIcons.amazonecscopilotcli})),amazonecsserviceconnect:()=>x().then(t=>({default:t.cloudIcons.amazonecsserviceconnect})),amazonec2extractor:()=>x().then(t=>({default:t.cloudIcons.amazonec2extractor})),amazonec2ami:()=>x().then(t=>({default:t.cloudIcons.amazonec2ami})),awselasticbeanstalkdeployment:()=>x().then(t=>({default:t.cloudIcons.awselasticbeanstalkdeployment})),awslambdafunction:()=>x().then(t=>({default:t.cloudIcons.awslambdafunction})),lambda:()=>x().then(t=>({default:t.cloudIcons.lambda})),amazonec2instance:()=>x().then(t=>({default:t.cloudIcons.amazonec2instance})),ec2:()=>x().then(t=>({default:t.cloudIcons.ec2})),amazonec2autoscaling:()=>x().then(t=>({default:t.cloudIcons.amazonec2autoscaling})),amazonec2spotinstance:()=>x().then(t=>({default:t.cloudIcons.amazonec2spotinstance})),awselasticbeanstalkapp:()=>x().then(t=>({default:t.cloudIcons.awselasticbeanstalkapp})),amazonec2instancecloudwatch:()=>x().then(t=>({default:t.cloudIcons.amazonec2instancecloudwatch})),amazonec2rescue:()=>x().then(t=>({default:t.cloudIcons.amazonec2rescue})),amazonec2instances:()=>x().then(t=>({default:t.cloudIcons.amazonec2instances})),amazonec2dbinstance:()=>x().then(t=>({default:t.cloudIcons.amazonec2dbinstance})),amazonec2elasticip:()=>x().then(t=>({default:t.cloudIcons.amazonec2elasticip})),amazonrdsoptimizedwrites:()=>x().then(t=>({default:t.cloudIcons.amazonrdsoptimizedwrites})),amazondynamodbtblclass:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbtblclass})),amazonrdsinstancealternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsinstancealternate})),amazondynamodbattributes:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbattributes})),amazonrdsauroramysqlalternative:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroramysqlalternative})),amazondynamodbitem:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbitem})),amazonrdsaurorapgsqlalt:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorapgsqlalt})),amazondynamodbitems:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbitems})),amazonrdsauroraalternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroraalternate})),amazonrdsaurorasqlalt:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorasqlalt})),amazonrdsinstance:()=>x().then(t=>({default:t.cloudIcons.amazonrdsinstance})),rds:()=>x().then(t=>({default:t.cloudIcons.rds})),amazonrdsmultiaz:()=>x().then(t=>({default:t.cloudIcons.amazonrdsmultiaz})),amazondocdbelasticclusters:()=>x().then(t=>({default:t.cloudIcons.amazondocdbelasticclusters})),amazonrdstrustedextpgsql:()=>x().then(t=>({default:t.cloudIcons.amazonrdstrustedextpgsql})),amazonrdsaurorasql:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorasql})),amazondynamodbglobal:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbglobal})),amazonrdsoracle:()=>x().then(t=>({default:t.cloudIcons.amazonrdsoracle})),amazonrdsoraclealternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsoraclealternate})),amazondynamodbstream:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbstream})),amazonrdstrustedpgsql:()=>x().then(t=>({default:t.cloudIcons.amazonrdstrustedpgsql})),amazondax:()=>x().then(t=>({default:t.cloudIcons.amazondax})),amazonelasticache4redis:()=>x().then(t=>({default:t.cloudIcons.amazonelasticache4redis})),elasticache:()=>x().then(t=>({default:t.cloudIcons.elasticache})),amazonrdsproxy:()=>x().then(t=>({default:t.cloudIcons.amazonrdsproxy})),amazondynamodbaccesstable:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbaccesstable})),amazonrdsauroramysql:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroramysql})),amazonrdspiops:()=>x().then(t=>({default:t.cloudIcons.amazonrdspiops})),awsdbmigrationserviceworkflow:()=>x().then(t=>({default:t.cloudIcons.awsdbmigrationserviceworkflow})),amazondynamodbattribute:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbattribute})),amazonrdsbluegreendeploy:()=>x().then(t=>({default:t.cloudIcons.amazonrdsbluegreendeploy})),amazondynamodbtable:()=>x().then(t=>({default:t.cloudIcons.amazondynamodbtable})),dynamodb:()=>x().then(t=>({default:t.cloudIcons.dynamodb})),amazonrdsaurorainstance:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorainstance})),amazonrdsauroradbinstance:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroradbinstance})),amazonelasticache4memcached:()=>x().then(t=>({default:t.cloudIcons.amazonelasticache4memcached})),amazonrdsproxyalternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsproxyalternate})),amazonrdsaurorapgsql:()=>x().then(t=>({default:t.cloudIcons.amazonrdsaurorapgsql})),amazonrdsauroradbinstancealternate:()=>x().then(t=>({default:t.cloudIcons.amazonrdsauroradbinstancealternate})),amazonelasticachecachenode:()=>x().then(t=>({default:t.cloudIcons.amazonelasticachecachenode})),amazonrdsmultiazcluster:()=>x().then(t=>({default:t.cloudIcons.amazonrdsmultiazcluster})),awstransferfamilyftps:()=>x().then(t=>({default:t.cloudIcons.awstransferfamilyftps})),awstransferfamilysftp:()=>x().then(t=>({default:t.cloudIcons.awstransferfamilysftp})),awsmainframemodruntime:()=>x().then(t=>({default:t.cloudIcons.awsmainframemodruntime})),awstransferfamilyftp:()=>x().then(t=>({default:t.cloudIcons.awstransferfamilyftp})),awsmigrationhubrefactor:()=>x().then(t=>({default:t.cloudIcons.awsmigrationhubrefactor})),awsmainframemoddeveloper:()=>x().then(t=>({default:t.cloudIcons.awsmainframemoddeveloper})),awsdiscoveryagent:()=>x().then(t=>({default:t.cloudIcons.awsdiscoveryagent})),awsmainframemodcompiler:()=>x().then(t=>({default:t.cloudIcons.awsmainframemodcompiler})),awsmigrationhubrefactorapp:()=>x().then(t=>({default:t.cloudIcons.awsmigrationhubrefactorapp})),awsdiscoveryagentlesscollector:()=>x().then(t=>({default:t.cloudIcons.awsdiscoveryagentlesscollector})),awsmainframemodanalyzer:()=>x().then(t=>({default:t.cloudIcons.awsmainframemodanalyzer})),awsdatasyndiscovery:()=>x().then(t=>({default:t.cloudIcons.awsdatasyndiscovery})),awsmigrationhubrefactorservice:()=>x().then(t=>({default:t.cloudIcons.awsmigrationhubrefactorservice})),awsdatasyngagent:()=>x().then(t=>({default:t.cloudIcons.awsdatasyngagent})),awsmainframemodconverter:()=>x().then(t=>({default:t.cloudIcons.awsmainframemodconverter})),awstransferfamilyas2:()=>x().then(t=>({default:t.cloudIcons.awstransferfamilyas2})),awsdiscoverymigrationevaluator:()=>x().then(t=>({default:t.cloudIcons.awsdiscoverymigrationevaluator})),awscloudinterface:()=>x().then(t=>({default:t.cloudIcons.awscloudinterface})),awsmediaconnectgateway:()=>x().then(t=>({default:t.cloudIcons.awsmediaconnectgateway})),awsrobomakercloudextensions:()=>x().then(t=>({default:t.cloudIcons.awsrobomakercloudextensions})),awsrobomakersimulation:()=>x().then(t=>({default:t.cloudIcons.awsrobomakersimulation})),awsrobomakerfleetmanagement:()=>x().then(t=>({default:t.cloudIcons.awsrobomakerfleetmanagement})),awsrobomakerdevenv:()=>x().then(t=>({default:t.cloudIcons.awsrobomakerdevenv})),awsamplifystudio:()=>x().then(t=>({default:t.cloudIcons.awsamplifystudio})),amazonlocationmap:()=>x().then(t=>({default:t.cloudIcons.amazonlocationmap})),amazonlocationplace:()=>x().then(t=>({default:t.cloudIcons.amazonlocationplace})),amazonlocationtrack:()=>x().then(t=>({default:t.cloudIcons.amazonlocationtrack})),amazonlocationgeofence:()=>x().then(t=>({default:t.cloudIcons.amazonlocationgeofence})),amazonlocationroutes:()=>x().then(t=>({default:t.cloudIcons.amazonlocationroutes})),awscloud9:()=>x().then(t=>({default:t.cloudIcons.awscloud9})),amazonemailservice:()=>x().then(t=>({default:t.cloudIcons.amazonemailservice})),amazonpinpointjourney:()=>x().then(t=>({default:t.cloudIcons.amazonpinpointjourney})),azureactivedirectory:()=>x().then(t=>({default:t.cloudIcons.azureactivedirectory})),azurebackup:()=>x().then(t=>({default:t.cloudIcons.azurebackup})),azurecdn:()=>x().then(t=>({default:t.cloudIcons.azurecdn})),azuredatafactory:()=>x().then(t=>({default:t.cloudIcons.azuredatafactory})),azuredevops:()=>x().then(t=>({default:t.cloudIcons.azuredevops})),azurefunction:()=>x().then(t=>({default:t.cloudIcons.azurefunction})),azuresql:()=>x().then(t=>({default:t.cloudIcons.azuresql})),cosmosdb:()=>x().then(t=>({default:t.cloudIcons.cosmosdb})),logicapps:()=>x().then(t=>({default:t.cloudIcons.logicapps})),virtualmachine:()=>x().then(t=>({default:t.cloudIcons.virtualmachine})),bigtable:()=>x().then(t=>({default:t.cloudIcons.bigtable})),bigquery:()=>x().then(t=>({default:t.cloudIcons.bigquery})),cloudcdn:()=>x().then(t=>({default:t.cloudIcons.cloudcdn})),clouddns:()=>x().then(t=>({default:t.cloudIcons.clouddns})),cloudinterconnect:()=>x().then(t=>({default:t.cloudIcons.cloudinterconnect})),cloudloadbalancing:()=>x().then(t=>({default:t.cloudIcons.cloudloadbalancing})),cloudsql:()=>x().then(t=>({default:t.cloudIcons.cloudsql})),cloudstorage:()=>x().then(t=>({default:t.cloudIcons.cloudstorage})),datalab:()=>x().then(t=>({default:t.cloudIcons.datalab})),dataproc:()=>x().then(t=>({default:t.cloudIcons.dataproc})),googleiam:()=>x().then(t=>({default:t.cloudIcons.googleiam})),googlesecurity:()=>x().then(t=>({default:t.cloudIcons.googlesecurity})),googlevpc:()=>x().then(t=>({default:t.cloudIcons.googlevpc})),pubsub:()=>x().then(t=>({default:t.cloudIcons.pubsub})),securityscanner:()=>x().then(t=>({default:t.cloudIcons.securityscanner})),stackdriver:()=>x().then(t=>({default:t.cloudIcons.stackdriver})),visionapi:()=>x().then(t=>({default:t.cloudIcons.visionapi})),client:()=>x().then(t=>({default:t.cloudIcons.client})),server:()=>x().then(t=>({default:t.cloudIcons.server})),browser:()=>x().then(t=>({default:t.cloudIcons.browser})),service:()=>x().then(t=>({default:t.cloudIcons.service})),controller:()=>x().then(t=>({default:t.cloudIcons.controller})),api:()=>x().then(t=>({default:t.cloudIcons.api})),ui:()=>x().then(t=>({default:t.cloudIcons.ui})),mobile:()=>x().then(t=>({default:t.cloudIcons.mobile})),externalsystem:()=>x().then(t=>({default:t.cloudIcons.externalsystem})),application:()=>x().then(t=>({default:t.cloudIcons.application})),loadbalancer:()=>x().then(t=>({default:t.cloudIcons.loadbalancer})),network:()=>x().then(t=>({default:t.cloudIcons.network})),cache:()=>x().then(t=>({default:t.cloudIcons.cache})),webserver:()=>x().then(t=>({default:t.cloudIcons.webserver})),messagequeue:()=>x().then(t=>({default:t.cloudIcons.messagequeue})),scheduler:()=>x().then(t=>({default:t.cloudIcons.scheduler})),gateway:()=>x().then(t=>({default:t.cloudIcons.gateway})),authenticationservice:()=>x().then(t=>({default:t.cloudIcons.authenticationservice})),mailserver:()=>x().then(t=>({default:t.cloudIcons.mailserver})),github:()=>x().then(t=>({default:t.cloudIcons.github})),docker:()=>x().then(t=>({default:t.cloudIcons.docker})),gitlab:()=>x().then(t=>({default:t.cloudIcons.gitlab})),jenkins:()=>x().then(t=>({default:t.cloudIcons.jenkins})),postgresql:()=>x().then(t=>({default:t.cloudIcons.postgresql})),mongodb:()=>x().then(t=>({default:t.cloudIcons.mongodb})),kubernetes:()=>x().then(t=>({default:t.cloudIcons.kubernetes})),apachekafka:()=>x().then(t=>({default:t.cloudIcons.apachekafka})),elasticsearch:()=>x().then(t=>({default:t.cloudIcons.elasticsearch})),auth0:()=>x().then(t=>({default:t.cloudIcons.auth0})),redis:()=>x().then(t=>({default:t.cloudIcons.redis}))}},AC=({iconKey:t,className:e,alt:n})=>{const[s,l]=y.useState(null);return y.useEffect(()=>{(async()=>{if(!t||!et[t]){if(t&&et[t.toLowerCase()]){const c=await et[t.toLowerCase()]();l(c.default);return}return}try{const c=await et[t]();l(c.default)}catch(c){console.error(`Failed to load icon: ${t}`,c)}})()},[t]),s?M.jsx("div",{className:e,"aria-description":n,dangerouslySetInnerHTML:{__html:s}}):M.jsx("div",{className:e})},tt=t=>M.jsx("ul",{role:"list",className:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8",children:t.types.map(e=>M.jsxs("li",{className:"col-span-1 flex flex-col shadow-sm rounded-md",children:[M.jsx("div",{className:"h-12 flex items-center justify-center bg-gray-50 text-sm font-medium rounded-t-md",children:M.jsx(AC,{iconKey:e==null?void 0:e.toLowerCase(),className:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full"})}),M.jsx("div",{className:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md",children:M.jsx("div",{className:"px-2 py-2 text-xs",children:M.jsxs("span",{className:"text-gray-900 font-medium hover:text-gray-600",children:["@",e]})})})]},e))}),a_=["Actor","Boundary","Control","Database","Entity"],L_=["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"],c_=["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"],C_=["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"],u_=`// Define a Starter (optional)
82
82
  @Starter(A)
83
83
 
84
84
  // Show icons
@@ -135,7 +135,7 @@ A.method() {
135
135
  }
136
136
  A.method() {
137
137
  @return A->B: message
138
- }`,g_=()=>{const t=Q5(Bc),e=()=>{t(!1)};return M.jsxs("div",{className:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block",children:[M.jsx("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity","aria-hidden":"true"}),M.jsx("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true",children:"​"}),M.jsx("div",{className:"z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2",children:M.jsxs("div",{children:[M.jsxs("div",{className:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",children:[M.jsx("h3",{className:"text-xl leading-6 font-medium text-gray-900 inline-block",children:"ZenUML Tips"}),M.jsxs("button",{type:"button",onClick:e,className:"float-right bg-white rounded-md inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500",children:[M.jsx("span",{className:"sr-only",children:"Close menu"}),M.jsx(k3,{name:"close",className:"h-6 w-6 outline-none"})]})]}),M.jsx("div",{children:M.jsx("div",{className:"relative bg-white pb-32 mt-4 overflow-hidden",children:M.jsx("div",{className:"relative",children:M.jsxs("div",{className:"lg:mx-auto lg:max-w-11/12 lg:px-8",children:[M.jsxs("div",{className:"grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1",children:[M.jsxs("div",{children:[M.jsxs("div",{className:"px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Declare Participants"}),M.jsx("pre",{className:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg",children:M.jsx("code",{children:u_})})]}),M.jsxs("div",{className:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Divider"}),M.jsx("pre",{className:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg",children:M.jsx("code",{children:d_})})]})]}),M.jsxs("div",{className:"px-4 w-full mx-auto lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Fragments"}),M.jsx("pre",{className:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg",children:M.jsx("code",{children:h_})})]}),M.jsxs("div",{className:"px-4 w-full mx-auto lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Messages"}),M.jsx("pre",{className:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg",children:M.jsx("code",{children:f_})})]})]}),M.jsxs("div",{className:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Builtin Icons"}),M.jsxs("p",{className:"text-sm text-gray-500",children:["Use",M.jsx("span",{className:"rounded inline-block bg-gray-50 text-gray-600",children:M.jsx("code",{className:"text-xs",children:"@Actor TheParticipant"})}),"to define the type of the participant."]}),M.jsx(tt,{types:a_}),M.jsx("hr",{className:"mt-4"}),M.jsx(tt,{types:L_}),M.jsx("hr",{className:"mt-4"}),M.jsx(tt,{types:c_}),M.jsx("hr",{className:"mt-4"}),M.jsx(tt,{types:C_})]})]})})})})]})})]})},SC=typeof document<"u"?k2.useLayoutEffect:()=>{};var io;const p_=(io=k2.useInsertionEffect)!==null&&io!==void 0?io:SC;function m_(t){const e=y.useRef(null);return p_(()=>{e.current=t},[t]),y.useCallback((...n)=>{const s=e.current;return s==null?void 0:s(...n)},[])}const b0=t=>{var e;return(e=t==null?void 0:t.ownerDocument)!==null&&e!==void 0?e:document},w5=t=>t&&"window"in t&&t.window===t?t:b0(t).defaultView||window;function x_(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function w_(t){return x_(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let v_=!1;function so(){return v_}function kC(t,e){if(!so())return e&&t?t.contains(e):!1;if(!t||!e)return!1;let n=e;for(;n!==null;){if(n===t)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:w_(n)?n=n.host:n=n.parentNode}return!1}const oo=(t=document)=>{var e;if(!so())return t.activeElement;let n=t.activeElement;for(;n&&"shadowRoot"in n&&(!((e=n.shadowRoot)===null||e===void 0)&&e.activeElement);)n=n.shadowRoot.activeElement;return n};function ZC(t){return so()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}function M_(t){var e;if(typeof window>"u"||window.navigator==null)return!1;let n=(e=window.navigator.userAgentData)===null||e===void 0?void 0:e.brands;return Array.isArray(n)&&n.some(s=>t.test(s.brand))||t.test(window.navigator.userAgent)}function __(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function TC(t){let e=null;return()=>(e==null&&(e=t()),e)}const y_=TC(function(){return __(/^Mac/i)}),R_=TC(function(){return M_(/Android/i)});function EC(){let t=y.useRef(new Map),e=y.useCallback((l,L,c,C)=>{let d=C!=null&&C.once?(...f)=>{t.current.delete(c),c(...f)}:c;t.current.set(c,{type:L,eventTarget:l,fn:d,options:C}),l.addEventListener(L,d,C)},[]),n=y.useCallback((l,L,c,C)=>{var d;let f=((d=t.current.get(c))===null||d===void 0?void 0:d.fn)||c;l.removeEventListener(L,f,C),t.current.delete(c)},[]),s=y.useCallback(()=>{t.current.forEach((l,L)=>{n(l.eventTarget,l.type,L,l.options)})},[n]);return y.useEffect(()=>s,[s]),{addGlobalListener:e,removeGlobalListener:n,removeAllGlobalListeners:s}}function b_(t){return t.pointerType===""&&t.isTrusted?!0:R_()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}var lo={exports:{}},X3={};/**
138
+ }`,g_=()=>{const t=Q5(Bc),e=()=>{t(!1)};return M.jsxs("div",{className:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block",children:[M.jsx("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity","aria-hidden":"true"}),M.jsx("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true",children:"​"}),M.jsx("div",{className:"z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2",children:M.jsxs("div",{children:[M.jsxs("div",{className:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",children:[M.jsx("h3",{className:"text-xl leading-6 font-medium text-gray-900 inline-block",children:"ZenUML Tips"}),M.jsxs("button",{type:"button",onClick:e,className:"float-right bg-white rounded-md inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500",children:[M.jsx("span",{className:"sr-only",children:"Close menu"}),M.jsx(k3,{name:"close",className:"h-6 w-6 outline-none"})]})]}),M.jsx("div",{children:M.jsx("div",{className:"relative bg-white pb-32 mt-4 overflow-hidden",children:M.jsx("div",{className:"relative",children:M.jsxs("div",{className:"lg:mx-auto lg:max-w-11/12 lg:px-8",children:[M.jsxs("div",{className:"grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1",children:[M.jsxs("div",{children:[M.jsxs("div",{className:"px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Declare Participants"}),M.jsx("pre",{className:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg",children:M.jsx("code",{children:u_})})]}),M.jsxs("div",{className:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Divider"}),M.jsx("pre",{className:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg",children:M.jsx("code",{children:d_})})]})]}),M.jsxs("div",{className:"px-4 w-full mx-auto lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Fragments"}),M.jsx("pre",{className:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg",children:M.jsx("code",{children:h_})})]}),M.jsxs("div",{className:"px-4 w-full mx-auto lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-4 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Messages"}),M.jsx("pre",{className:"text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg",children:M.jsx("code",{children:f_})})]})]}),M.jsxs("div",{className:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0",children:[M.jsx("h2",{className:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900",children:"Builtin Icons"}),M.jsxs("p",{className:"text-sm text-gray-500",children:["Use",M.jsx("span",{className:"rounded inline-block bg-gray-50 text-gray-600",children:M.jsx("code",{className:"text-xs",children:"@Actor TheParticipant"})}),"to define the type of the participant."]}),M.jsx(tt,{types:a_}),M.jsx("hr",{className:"mt-4"}),M.jsx(tt,{types:L_}),M.jsx("hr",{className:"mt-4"}),M.jsx(tt,{types:c_}),M.jsx("hr",{className:"mt-4"}),M.jsx(tt,{types:C_})]})]})})})})]})})]})},SC=typeof document<"u"?k2.useLayoutEffect:()=>{};var io;const p_=(io=k2.useInsertionEffect)!==null&&io!==void 0?io:SC;function m_(t){const e=y.useRef(null);return p_(()=>{e.current=t},[t]),y.useCallback((...n)=>{const s=e.current;return s==null?void 0:s(...n)},[])}const R0=t=>{var e;return(e=t==null?void 0:t.ownerDocument)!==null&&e!==void 0?e:document},w5=t=>t&&"window"in t&&t.window===t?t:R0(t).defaultView||window;function x_(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function w_(t){return x_(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let v_=!1;function so(){return v_}function kC(t,e){if(!so())return e&&t?t.contains(e):!1;if(!t||!e)return!1;let n=e;for(;n!==null;){if(n===t)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:w_(n)?n=n.host:n=n.parentNode}return!1}const oo=(t=document)=>{var e;if(!so())return t.activeElement;let n=t.activeElement;for(;n&&"shadowRoot"in n&&(!((e=n.shadowRoot)===null||e===void 0)&&e.activeElement);)n=n.shadowRoot.activeElement;return n};function ZC(t){return so()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}function M_(t){var e;if(typeof window>"u"||window.navigator==null)return!1;let n=(e=window.navigator.userAgentData)===null||e===void 0?void 0:e.brands;return Array.isArray(n)&&n.some(s=>t.test(s.brand))||t.test(window.navigator.userAgent)}function __(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function TC(t){let e=null;return()=>(e==null&&(e=t()),e)}const y_=TC(function(){return __(/^Mac/i)}),R_=TC(function(){return M_(/Android/i)});function EC(){let t=y.useRef(new Map),e=y.useCallback((l,L,c,C)=>{let d=C!=null&&C.once?(...f)=>{t.current.delete(c),c(...f)}:c;t.current.set(c,{type:L,eventTarget:l,fn:d,options:C}),l.addEventListener(L,d,C)},[]),n=y.useCallback((l,L,c,C)=>{var d;let f=((d=t.current.get(c))===null||d===void 0?void 0:d.fn)||c;l.removeEventListener(L,f,C),t.current.delete(c)},[]),s=y.useCallback(()=>{t.current.forEach((l,L)=>{n(l.eventTarget,l.type,L,l.options)})},[n]);return y.useEffect(()=>s,[s]),{addGlobalListener:e,removeGlobalListener:n,removeAllGlobalListeners:s}}function b_(t){return t.pointerType===""&&t.isTrusted?!0:R_()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}var lo={exports:{}},X3={};/**
139
139
  * @license React
140
140
  * react-dom.production.js
141
141
  *
@@ -143,10 +143,10 @@ A.method() {
143
143
  *
144
144
  * This source code is licensed under the MIT license found in the
145
145
  * LICENSE file in the root directory of this source tree.
146
- */var IC;function A_(){if(IC)return X3;IC=1;var t=oe();function e(d){var f="https://react.dev/errors/"+d;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)f+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+d+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var s={d:{f:n,r:function(){throw Error(e(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},l=Symbol.for("react.portal");function L(d,f,g){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:p==null?null:""+p,children:d,containerInfo:f,implementation:g}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function C(d,f){if(d==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return X3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,X3.createPortal=function(d,f){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(e(299));return L(d,f,null,g)},X3.flushSync=function(d){var f=c.T,g=s.p;try{if(c.T=null,s.p=2,d)return d()}finally{c.T=f,s.p=g,s.d.f()}},X3.preconnect=function(d,f){typeof d=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,s.d.C(d,f))},X3.prefetchDNS=function(d){typeof d=="string"&&s.d.D(d)},X3.preinit=function(d,f){if(typeof d=="string"&&f&&typeof f.as=="string"){var g=f.as,p=C(g,f.crossOrigin),m=typeof f.integrity=="string"?f.integrity:void 0,v=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;g==="style"?s.d.S(d,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:p,integrity:m,fetchPriority:v}):g==="script"&&s.d.X(d,{crossOrigin:p,integrity:m,fetchPriority:v,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},X3.preinitModule=function(d,f){if(typeof d=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var g=C(f.as,f.crossOrigin);s.d.M(d,{crossOrigin:g,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&s.d.M(d)},X3.preload=function(d,f){if(typeof d=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var g=f.as,p=C(g,f.crossOrigin);s.d.L(d,g,{crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},X3.preloadModule=function(d,f){if(typeof d=="string")if(f){var g=C(f.as,f.crossOrigin);s.d.m(d,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:g,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else s.d.m(d)},X3.requestFormReset=function(d){s.d.r(d)},X3.unstable_batchedUpdates=function(d,f){return d(f)},X3.useFormState=function(d,f,g){return c.H.useFormState(d,f,g)},X3.useFormStatus=function(){return c.H.useHostTransitionStatus()},X3.version="19.2.3",X3}var zC;function NC(){if(zC)return lo.exports;zC=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),lo.exports=A_(),lo.exports}var nt=NC();function OC(t){let e=t;return e.nativeEvent=t,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function S_(t,e){Object.defineProperty(t,"target",{value:e}),Object.defineProperty(t,"currentTarget",{value:e})}function DC(t){let e=y.useRef({isFocused:!1,observer:null});SC(()=>{const s=e.current;return()=>{s.observer&&(s.observer.disconnect(),s.observer=null)}},[]);let n=m_(s=>{t==null||t(s)});return y.useCallback(s=>{if(s.target instanceof HTMLButtonElement||s.target instanceof HTMLInputElement||s.target instanceof HTMLTextAreaElement||s.target instanceof HTMLSelectElement){e.current.isFocused=!0;let l=s.target,L=c=>{if(e.current.isFocused=!1,l.disabled){let C=OC(c);n(C)}e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)};l.addEventListener("focusout",L,{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&l.disabled){var c;(c=e.current.observer)===null||c===void 0||c.disconnect();let C=l===document.activeElement?null:document.activeElement;l.dispatchEvent(new FocusEvent("blur",{relatedTarget:C})),l.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:C}))}}),e.current.observer.observe(l,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let k_=!1,D6=null,ro=new Set,F6=new Map,v5=!1,ao=!1;const Z_={Tab:!0,Escape:!0};function Lo(t,e){for(let n of ro)n(t,e)}function T_(t){return!(t.metaKey||!y_()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function it(t){v5=!0,T_(t)&&(D6="keyboard",Lo("keyboard",t))}function g8(t){D6="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(v5=!0,Lo("pointer",t))}function FC(t){b_(t)&&(v5=!0,D6="virtual")}function BC(t){t.target===window||t.target===document||k_||!t.isTrusted||(!v5&&!ao&&(D6="virtual",Lo("virtual",t)),v5=!1,ao=!1)}function UC(){v5=!1,ao=!0}function co(t){if(typeof window>"u"||typeof document>"u"||F6.get(w5(t)))return;const e=w5(t),n=b0(t);let s=e.HTMLElement.prototype.focus;e.HTMLElement.prototype.focus=function(){v5=!0,s.apply(this,arguments)},n.addEventListener("keydown",it,!0),n.addEventListener("keyup",it,!0),n.addEventListener("click",FC,!0),e.addEventListener("focus",BC,!0),e.addEventListener("blur",UC,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",g8,!0),n.addEventListener("pointermove",g8,!0),n.addEventListener("pointerup",g8,!0)),e.addEventListener("beforeunload",()=>{HC(t)},{once:!0}),F6.set(e,{focus:s})}const HC=(t,e)=>{const n=w5(t),s=b0(t);e&&s.removeEventListener("DOMContentLoaded",e),F6.has(n)&&(n.HTMLElement.prototype.focus=F6.get(n).focus,s.removeEventListener("keydown",it,!0),s.removeEventListener("keyup",it,!0),s.removeEventListener("click",FC,!0),n.removeEventListener("focus",BC,!0),n.removeEventListener("blur",UC,!1),typeof PointerEvent<"u"&&(s.removeEventListener("pointerdown",g8,!0),s.removeEventListener("pointermove",g8,!0),s.removeEventListener("pointerup",g8,!0)),F6.delete(n))};function E_(t){const e=b0(t);let n;return e.readyState!=="loading"?co(t):(n=()=>{co(t)},e.addEventListener("DOMContentLoaded",n)),()=>HC(t,n)}typeof document<"u"&&E_();function PC(){return D6!=="pointer"}const I_=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function z_(t,e,n){let s=b0(n==null?void 0:n.target);const l=typeof window<"u"?w5(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,L=typeof window<"u"?w5(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,c=typeof window<"u"?w5(n==null?void 0:n.target).HTMLElement:HTMLElement,C=typeof window<"u"?w5(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return t=t||s.activeElement instanceof l&&!I_.has(s.activeElement.type)||s.activeElement instanceof L||s.activeElement instanceof c&&s.activeElement.isContentEditable,!(t&&e==="keyboard"&&n instanceof C&&!Z_[n.key])}function N_(t,e,n){co(),y.useEffect(()=>{let s=(l,L)=>{z_(!!(n!=null&&n.isTextInput),l,L)&&t(PC())};return ro.add(s),()=>{ro.delete(s)}},e)}function O_(t){let{isDisabled:e,onFocus:n,onBlur:s,onFocusChange:l}=t;const L=y.useCallback(d=>{if(d.target===d.currentTarget)return s&&s(d),l&&l(!1),!0},[s,l]),c=DC(L),C=y.useCallback(d=>{const f=b0(d.target),g=f?oo(f):oo();d.target===d.currentTarget&&g===ZC(d.nativeEvent)&&(n&&n(d),l&&l(!0),c(d))},[l,n,c]);return{focusProps:{onFocus:!e&&(n||l||s)?C:void 0,onBlur:!e&&(s||l)?L:void 0}}}function D_(t){let{isDisabled:e,onBlurWithin:n,onFocusWithin:s,onFocusWithinChange:l}=t,L=y.useRef({isFocusWithin:!1}),{addGlobalListener:c,removeAllGlobalListeners:C}=EC(),d=y.useCallback(p=>{p.currentTarget.contains(p.target)&&L.current.isFocusWithin&&!p.currentTarget.contains(p.relatedTarget)&&(L.current.isFocusWithin=!1,C(),n&&n(p),l&&l(!1))},[n,l,L,C]),f=DC(d),g=y.useCallback(p=>{if(!p.currentTarget.contains(p.target))return;const m=b0(p.target),v=oo(m);if(!L.current.isFocusWithin&&v===ZC(p.nativeEvent)){s&&s(p),l&&l(!0),L.current.isFocusWithin=!0,f(p);let b=p.currentTarget;c(m,"focus",A=>{if(L.current.isFocusWithin&&!kC(b,A.target)){let k=new m.defaultView.FocusEvent("blur",{relatedTarget:A.target});S_(k,b);let S=OC(k);d(S)}},{capture:!0})}},[s,l,f,c,d]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:g,onBlur:d}}}let Co=!1,st=0;function F_(){Co=!0,setTimeout(()=>{Co=!1},50)}function WC(t){t.pointerType==="touch"&&F_()}function B_(){if(!(typeof document>"u"))return st===0&&typeof PointerEvent<"u"&&document.addEventListener("pointerup",WC),st++,()=>{st--,!(st>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",WC)}}function jC(t){let{onHoverStart:e,onHoverChange:n,onHoverEnd:s,isDisabled:l}=t,[L,c]=y.useState(!1),C=y.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;y.useEffect(B_,[]);let{addGlobalListener:d,removeAllGlobalListeners:f}=EC(),{hoverProps:g,triggerHoverEnd:p}=y.useMemo(()=>{let m=(A,k)=>{if(C.pointerType=k,l||k==="touch"||C.isHovered||!A.currentTarget.contains(A.target))return;C.isHovered=!0;let S=A.currentTarget;C.target=S,d(b0(A.target),"pointerover",N=>{C.isHovered&&C.target&&!kC(C.target,N.target)&&v(N,N.pointerType)},{capture:!0}),e&&e({type:"hoverstart",target:S,pointerType:k}),n&&n(!0),c(!0)},v=(A,k)=>{let S=C.target;C.pointerType="",C.target=null,!(k==="touch"||!C.isHovered||!S)&&(C.isHovered=!1,f(),s&&s({type:"hoverend",target:S,pointerType:k}),n&&n(!1),c(!1))},b={};return typeof PointerEvent<"u"&&(b.onPointerEnter=A=>{Co&&A.pointerType==="mouse"||m(A,A.pointerType)},b.onPointerLeave=A=>{!l&&A.currentTarget.contains(A.target)&&v(A,A.pointerType)}),{hoverProps:b,triggerHoverEnd:v}},[e,n,s,l,C,d,f]);return y.useEffect(()=>{l&&p({currentTarget:C.target},C.pointerType)},[l]),{hoverProps:g,isHovered:L}}function $C(t={}){let{autoFocus:e=!1,isTextInput:n,within:s}=t,l=y.useRef({isFocused:!1,isFocusVisible:e||PC()}),[L,c]=y.useState(!1),[C,d]=y.useState(()=>l.current.isFocused&&l.current.isFocusVisible),f=y.useCallback(()=>d(l.current.isFocused&&l.current.isFocusVisible),[]),g=y.useCallback(v=>{l.current.isFocused=v,c(v),f()},[f]);N_(v=>{l.current.isFocusVisible=v,f()},[],{isTextInput:n});let{focusProps:p}=O_({isDisabled:s,onFocusChange:g}),{focusWithinProps:m}=D_({isDisabled:!s,onFocusWithinChange:g});return{isFocused:L,isFocusVisible:C,focusProps:s?m:p}}var U_=Object.defineProperty,H_=(t,e,n)=>e in t?U_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,uo=(t,e,n)=>(H_(t,typeof e!="symbol"?e+"":e,n),n);let P_=class{constructor(){uo(this,"current",this.detect()),uo(this,"handoffState","pending"),uo(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},R9=new P_;function B6(t){var e;return R9.isServer?null:t==null?document:(e=t==null?void 0:t.ownerDocument)!=null?e:document}function ho(t){var e,n;return R9.isServer?null:t==null?document:(n=(e=t==null?void 0:t.getRootNode)==null?void 0:e.call(t))!=null?n:document}function VC(t){var e,n;return(n=(e=ho(t))==null?void 0:e.activeElement)!=null?n:null}function ot(t){return VC(t)===t}function lt(t){typeof queueMicrotask=="function"?queueMicrotask(t):Promise.resolve().then(t).catch(e=>setTimeout(()=>{throw e}))}function $9(){let t=[],e={addEventListener(n,s,l,L){return n.addEventListener(s,l,L),e.add(()=>n.removeEventListener(s,l,L))},requestAnimationFrame(...n){let s=requestAnimationFrame(...n);return e.add(()=>cancelAnimationFrame(s))},nextFrame(...n){return e.requestAnimationFrame(()=>e.requestAnimationFrame(...n))},setTimeout(...n){let s=setTimeout(...n);return e.add(()=>clearTimeout(s))},microTask(...n){let s={current:!0};return lt(()=>{s.current&&n[0]()}),e.add(()=>{s.current=!1})},style(n,s,l){let L=n.style.getPropertyValue(s);return Object.assign(n.style,{[s]:l}),this.add(()=>{Object.assign(n.style,{[s]:L})})},group(n){let s=$9();return n(s),this.add(()=>s.dispose())},add(n){return t.includes(n)||t.push(n),()=>{let s=t.indexOf(n);if(s>=0)for(let l of t.splice(s,1))l()}},dispose(){for(let n of t.splice(0))n()}};return e}function U6(){let[t]=y.useState($9);return y.useEffect(()=>()=>t.dispose(),[t]),t}let O3=(t,e)=>{R9.isServer?y.useEffect(t,e):y.useLayoutEffect(t,e)};function V9(t){let e=y.useRef(t);return O3(()=>{e.current=t},[t]),e}let v1=function(t){let e=V9(t);return k2.useCallback((...n)=>e.current(...n),[e])};function G9(t){return y.useMemo(()=>t,Object.values(t))}let W_=y.createContext(void 0);function rt(){return y.useContext(W_)}function fo(...t){return Array.from(new Set(t.flatMap(e=>typeof e=="string"?e.split(" "):[]))).filter(Boolean).join(" ")}function b9(t,e,...n){if(t in e){let l=e[t];return typeof l=="function"?l(...n):l}let s=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(l=>`"${l}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(s,b9),s}var at=(t=>(t[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t))(at||{}),A0=(t=>(t[t.Unmount=0]="Unmount",t[t.Hidden=1]="Hidden",t))(A0||{});function Q3(){let t=$_();return y.useCallback(e=>j_({mergeRefs:t,...e}),[t])}function j_({ourProps:t,theirProps:e,slot:n,defaultTag:s,features:l,visible:L=!0,name:c,mergeRefs:C}){C=C??V_;let d=GC(e,t);if(L)return Lt(d,n,s,c,C);let f=l??0;if(f&2){let{static:g=!1,...p}=d;if(g)return Lt(p,n,s,c,C)}if(f&1){let{unmount:g=!0,...p}=d;return b9(g?0:1,{0(){return null},1(){return Lt({...p,hidden:!0,style:{display:"none"}},n,s,c,C)}})}return Lt(d,n,s,c,C)}function Lt(t,e={},n,s,l){let{as:L=n,children:c,refName:C="ref",...d}=go(t,["unmount","static"]),f=t.ref!==void 0?{[C]:t.ref}:{},g=typeof c=="function"?c(e):c;"className"in d&&d.className&&typeof d.className=="function"&&(d.className=d.className(e)),d["aria-labelledby"]&&d["aria-labelledby"]===d.id&&(d["aria-labelledby"]=void 0);let p={};if(e){let m=!1,v=[];for(let[b,A]of Object.entries(e))typeof A=="boolean"&&(m=!0),A===!0&&v.push(b.replace(/([A-Z])/g,k=>`-${k.toLowerCase()}`));if(m){p["data-headlessui-state"]=v.join(" ");for(let b of v)p[`data-${b}`]=""}}if(H6(L)&&(Object.keys(S0(d)).length>0||Object.keys(S0(p)).length>0))if(!y.isValidElement(g)||Array.isArray(g)&&g.length>1||q_(g)){if(Object.keys(S0(d)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${s} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(S0(d)).concat(Object.keys(S0(p))).map(m=>` - ${m}`).join(`
146
+ */var IC;function A_(){if(IC)return X3;IC=1;var t=oe();function e(d){var f="https://react.dev/errors/"+d;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)f+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+d+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var s={d:{f:n,r:function(){throw Error(e(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},l=Symbol.for("react.portal");function L(d,f,g){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:p==null?null:""+p,children:d,containerInfo:f,implementation:g}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function C(d,f){if(d==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return X3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,X3.createPortal=function(d,f){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(e(299));return L(d,f,null,g)},X3.flushSync=function(d){var f=c.T,g=s.p;try{if(c.T=null,s.p=2,d)return d()}finally{c.T=f,s.p=g,s.d.f()}},X3.preconnect=function(d,f){typeof d=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,s.d.C(d,f))},X3.prefetchDNS=function(d){typeof d=="string"&&s.d.D(d)},X3.preinit=function(d,f){if(typeof d=="string"&&f&&typeof f.as=="string"){var g=f.as,p=C(g,f.crossOrigin),m=typeof f.integrity=="string"?f.integrity:void 0,v=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;g==="style"?s.d.S(d,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:p,integrity:m,fetchPriority:v}):g==="script"&&s.d.X(d,{crossOrigin:p,integrity:m,fetchPriority:v,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},X3.preinitModule=function(d,f){if(typeof d=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var g=C(f.as,f.crossOrigin);s.d.M(d,{crossOrigin:g,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&s.d.M(d)},X3.preload=function(d,f){if(typeof d=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var g=f.as,p=C(g,f.crossOrigin);s.d.L(d,g,{crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},X3.preloadModule=function(d,f){if(typeof d=="string")if(f){var g=C(f.as,f.crossOrigin);s.d.m(d,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:g,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else s.d.m(d)},X3.requestFormReset=function(d){s.d.r(d)},X3.unstable_batchedUpdates=function(d,f){return d(f)},X3.useFormState=function(d,f,g){return c.H.useFormState(d,f,g)},X3.useFormStatus=function(){return c.H.useHostTransitionStatus()},X3.version="19.2.3",X3}var zC;function NC(){if(zC)return lo.exports;zC=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),lo.exports=A_(),lo.exports}var nt=NC();function OC(t){let e=t;return e.nativeEvent=t,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function S_(t,e){Object.defineProperty(t,"target",{value:e}),Object.defineProperty(t,"currentTarget",{value:e})}function DC(t){let e=y.useRef({isFocused:!1,observer:null});SC(()=>{const s=e.current;return()=>{s.observer&&(s.observer.disconnect(),s.observer=null)}},[]);let n=m_(s=>{t==null||t(s)});return y.useCallback(s=>{if(s.target instanceof HTMLButtonElement||s.target instanceof HTMLInputElement||s.target instanceof HTMLTextAreaElement||s.target instanceof HTMLSelectElement){e.current.isFocused=!0;let l=s.target,L=c=>{if(e.current.isFocused=!1,l.disabled){let C=OC(c);n(C)}e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)};l.addEventListener("focusout",L,{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&l.disabled){var c;(c=e.current.observer)===null||c===void 0||c.disconnect();let C=l===document.activeElement?null:document.activeElement;l.dispatchEvent(new FocusEvent("blur",{relatedTarget:C})),l.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:C}))}}),e.current.observer.observe(l,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let k_=!1,D6=null,ro=new Set,F6=new Map,v5=!1,ao=!1;const Z_={Tab:!0,Escape:!0};function Lo(t,e){for(let n of ro)n(t,e)}function T_(t){return!(t.metaKey||!y_()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function it(t){v5=!0,T_(t)&&(D6="keyboard",Lo("keyboard",t))}function g8(t){D6="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(v5=!0,Lo("pointer",t))}function FC(t){b_(t)&&(v5=!0,D6="virtual")}function BC(t){t.target===window||t.target===document||k_||!t.isTrusted||(!v5&&!ao&&(D6="virtual",Lo("virtual",t)),v5=!1,ao=!1)}function UC(){v5=!1,ao=!0}function co(t){if(typeof window>"u"||typeof document>"u"||F6.get(w5(t)))return;const e=w5(t),n=R0(t);let s=e.HTMLElement.prototype.focus;e.HTMLElement.prototype.focus=function(){v5=!0,s.apply(this,arguments)},n.addEventListener("keydown",it,!0),n.addEventListener("keyup",it,!0),n.addEventListener("click",FC,!0),e.addEventListener("focus",BC,!0),e.addEventListener("blur",UC,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",g8,!0),n.addEventListener("pointermove",g8,!0),n.addEventListener("pointerup",g8,!0)),e.addEventListener("beforeunload",()=>{HC(t)},{once:!0}),F6.set(e,{focus:s})}const HC=(t,e)=>{const n=w5(t),s=R0(t);e&&s.removeEventListener("DOMContentLoaded",e),F6.has(n)&&(n.HTMLElement.prototype.focus=F6.get(n).focus,s.removeEventListener("keydown",it,!0),s.removeEventListener("keyup",it,!0),s.removeEventListener("click",FC,!0),n.removeEventListener("focus",BC,!0),n.removeEventListener("blur",UC,!1),typeof PointerEvent<"u"&&(s.removeEventListener("pointerdown",g8,!0),s.removeEventListener("pointermove",g8,!0),s.removeEventListener("pointerup",g8,!0)),F6.delete(n))};function E_(t){const e=R0(t);let n;return e.readyState!=="loading"?co(t):(n=()=>{co(t)},e.addEventListener("DOMContentLoaded",n)),()=>HC(t,n)}typeof document<"u"&&E_();function PC(){return D6!=="pointer"}const I_=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function z_(t,e,n){let s=R0(n==null?void 0:n.target);const l=typeof window<"u"?w5(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,L=typeof window<"u"?w5(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,c=typeof window<"u"?w5(n==null?void 0:n.target).HTMLElement:HTMLElement,C=typeof window<"u"?w5(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return t=t||s.activeElement instanceof l&&!I_.has(s.activeElement.type)||s.activeElement instanceof L||s.activeElement instanceof c&&s.activeElement.isContentEditable,!(t&&e==="keyboard"&&n instanceof C&&!Z_[n.key])}function N_(t,e,n){co(),y.useEffect(()=>{let s=(l,L)=>{z_(!!(n!=null&&n.isTextInput),l,L)&&t(PC())};return ro.add(s),()=>{ro.delete(s)}},e)}function O_(t){let{isDisabled:e,onFocus:n,onBlur:s,onFocusChange:l}=t;const L=y.useCallback(d=>{if(d.target===d.currentTarget)return s&&s(d),l&&l(!1),!0},[s,l]),c=DC(L),C=y.useCallback(d=>{const f=R0(d.target),g=f?oo(f):oo();d.target===d.currentTarget&&g===ZC(d.nativeEvent)&&(n&&n(d),l&&l(!0),c(d))},[l,n,c]);return{focusProps:{onFocus:!e&&(n||l||s)?C:void 0,onBlur:!e&&(s||l)?L:void 0}}}function D_(t){let{isDisabled:e,onBlurWithin:n,onFocusWithin:s,onFocusWithinChange:l}=t,L=y.useRef({isFocusWithin:!1}),{addGlobalListener:c,removeAllGlobalListeners:C}=EC(),d=y.useCallback(p=>{p.currentTarget.contains(p.target)&&L.current.isFocusWithin&&!p.currentTarget.contains(p.relatedTarget)&&(L.current.isFocusWithin=!1,C(),n&&n(p),l&&l(!1))},[n,l,L,C]),f=DC(d),g=y.useCallback(p=>{if(!p.currentTarget.contains(p.target))return;const m=R0(p.target),v=oo(m);if(!L.current.isFocusWithin&&v===ZC(p.nativeEvent)){s&&s(p),l&&l(!0),L.current.isFocusWithin=!0,f(p);let b=p.currentTarget;c(m,"focus",A=>{if(L.current.isFocusWithin&&!kC(b,A.target)){let k=new m.defaultView.FocusEvent("blur",{relatedTarget:A.target});S_(k,b);let S=OC(k);d(S)}},{capture:!0})}},[s,l,f,c,d]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:g,onBlur:d}}}let Co=!1,st=0;function F_(){Co=!0,setTimeout(()=>{Co=!1},50)}function WC(t){t.pointerType==="touch"&&F_()}function B_(){if(!(typeof document>"u"))return st===0&&typeof PointerEvent<"u"&&document.addEventListener("pointerup",WC),st++,()=>{st--,!(st>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",WC)}}function jC(t){let{onHoverStart:e,onHoverChange:n,onHoverEnd:s,isDisabled:l}=t,[L,c]=y.useState(!1),C=y.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;y.useEffect(B_,[]);let{addGlobalListener:d,removeAllGlobalListeners:f}=EC(),{hoverProps:g,triggerHoverEnd:p}=y.useMemo(()=>{let m=(A,k)=>{if(C.pointerType=k,l||k==="touch"||C.isHovered||!A.currentTarget.contains(A.target))return;C.isHovered=!0;let S=A.currentTarget;C.target=S,d(R0(A.target),"pointerover",N=>{C.isHovered&&C.target&&!kC(C.target,N.target)&&v(N,N.pointerType)},{capture:!0}),e&&e({type:"hoverstart",target:S,pointerType:k}),n&&n(!0),c(!0)},v=(A,k)=>{let S=C.target;C.pointerType="",C.target=null,!(k==="touch"||!C.isHovered||!S)&&(C.isHovered=!1,f(),s&&s({type:"hoverend",target:S,pointerType:k}),n&&n(!1),c(!1))},b={};return typeof PointerEvent<"u"&&(b.onPointerEnter=A=>{Co&&A.pointerType==="mouse"||m(A,A.pointerType)},b.onPointerLeave=A=>{!l&&A.currentTarget.contains(A.target)&&v(A,A.pointerType)}),{hoverProps:b,triggerHoverEnd:v}},[e,n,s,l,C,d,f]);return y.useEffect(()=>{l&&p({currentTarget:C.target},C.pointerType)},[l]),{hoverProps:g,isHovered:L}}function $C(t={}){let{autoFocus:e=!1,isTextInput:n,within:s}=t,l=y.useRef({isFocused:!1,isFocusVisible:e||PC()}),[L,c]=y.useState(!1),[C,d]=y.useState(()=>l.current.isFocused&&l.current.isFocusVisible),f=y.useCallback(()=>d(l.current.isFocused&&l.current.isFocusVisible),[]),g=y.useCallback(v=>{l.current.isFocused=v,c(v),f()},[f]);N_(v=>{l.current.isFocusVisible=v,f()},[],{isTextInput:n});let{focusProps:p}=O_({isDisabled:s,onFocusChange:g}),{focusWithinProps:m}=D_({isDisabled:!s,onFocusWithinChange:g});return{isFocused:L,isFocusVisible:C,focusProps:s?m:p}}var U_=Object.defineProperty,H_=(t,e,n)=>e in t?U_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,uo=(t,e,n)=>(H_(t,typeof e!="symbol"?e+"":e,n),n);let P_=class{constructor(){uo(this,"current",this.detect()),uo(this,"handoffState","pending"),uo(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},R9=new P_;function B6(t){var e;return R9.isServer?null:t==null?document:(e=t==null?void 0:t.ownerDocument)!=null?e:document}function ho(t){var e,n;return R9.isServer?null:t==null?document:(n=(e=t==null?void 0:t.getRootNode)==null?void 0:e.call(t))!=null?n:document}function VC(t){var e,n;return(n=(e=ho(t))==null?void 0:e.activeElement)!=null?n:null}function ot(t){return VC(t)===t}function lt(t){typeof queueMicrotask=="function"?queueMicrotask(t):Promise.resolve().then(t).catch(e=>setTimeout(()=>{throw e}))}function $9(){let t=[],e={addEventListener(n,s,l,L){return n.addEventListener(s,l,L),e.add(()=>n.removeEventListener(s,l,L))},requestAnimationFrame(...n){let s=requestAnimationFrame(...n);return e.add(()=>cancelAnimationFrame(s))},nextFrame(...n){return e.requestAnimationFrame(()=>e.requestAnimationFrame(...n))},setTimeout(...n){let s=setTimeout(...n);return e.add(()=>clearTimeout(s))},microTask(...n){let s={current:!0};return lt(()=>{s.current&&n[0]()}),e.add(()=>{s.current=!1})},style(n,s,l){let L=n.style.getPropertyValue(s);return Object.assign(n.style,{[s]:l}),this.add(()=>{Object.assign(n.style,{[s]:L})})},group(n){let s=$9();return n(s),this.add(()=>s.dispose())},add(n){return t.includes(n)||t.push(n),()=>{let s=t.indexOf(n);if(s>=0)for(let l of t.splice(s,1))l()}},dispose(){for(let n of t.splice(0))n()}};return e}function U6(){let[t]=y.useState($9);return y.useEffect(()=>()=>t.dispose(),[t]),t}let O3=(t,e)=>{R9.isServer?y.useEffect(t,e):y.useLayoutEffect(t,e)};function V9(t){let e=y.useRef(t);return O3(()=>{e.current=t},[t]),e}let v1=function(t){let e=V9(t);return k2.useCallback((...n)=>e.current(...n),[e])};function G9(t){return y.useMemo(()=>t,Object.values(t))}let W_=y.createContext(void 0);function rt(){return y.useContext(W_)}function fo(...t){return Array.from(new Set(t.flatMap(e=>typeof e=="string"?e.split(" "):[]))).filter(Boolean).join(" ")}function b9(t,e,...n){if(t in e){let l=e[t];return typeof l=="function"?l(...n):l}let s=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(l=>`"${l}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(s,b9),s}var at=(t=>(t[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t))(at||{}),b0=(t=>(t[t.Unmount=0]="Unmount",t[t.Hidden=1]="Hidden",t))(b0||{});function Q3(){let t=$_();return y.useCallback(e=>j_({mergeRefs:t,...e}),[t])}function j_({ourProps:t,theirProps:e,slot:n,defaultTag:s,features:l,visible:L=!0,name:c,mergeRefs:C}){C=C??V_;let d=GC(e,t);if(L)return Lt(d,n,s,c,C);let f=l??0;if(f&2){let{static:g=!1,...p}=d;if(g)return Lt(p,n,s,c,C)}if(f&1){let{unmount:g=!0,...p}=d;return b9(g?0:1,{0(){return null},1(){return Lt({...p,hidden:!0,style:{display:"none"}},n,s,c,C)}})}return Lt(d,n,s,c,C)}function Lt(t,e={},n,s,l){let{as:L=n,children:c,refName:C="ref",...d}=go(t,["unmount","static"]),f=t.ref!==void 0?{[C]:t.ref}:{},g=typeof c=="function"?c(e):c;"className"in d&&d.className&&typeof d.className=="function"&&(d.className=d.className(e)),d["aria-labelledby"]&&d["aria-labelledby"]===d.id&&(d["aria-labelledby"]=void 0);let p={};if(e){let m=!1,v=[];for(let[b,A]of Object.entries(e))typeof A=="boolean"&&(m=!0),A===!0&&v.push(b.replace(/([A-Z])/g,k=>`-${k.toLowerCase()}`));if(m){p["data-headlessui-state"]=v.join(" ");for(let b of v)p[`data-${b}`]=""}}if(H6(L)&&(Object.keys(A0(d)).length>0||Object.keys(A0(p)).length>0))if(!y.isValidElement(g)||Array.isArray(g)&&g.length>1||q_(g)){if(Object.keys(A0(d)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${s} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(A0(d)).concat(Object.keys(A0(p))).map(m=>` - ${m}`).join(`
147
147
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(m=>` - ${m}`).join(`
148
148
  `)].join(`
149
- `))}else{let m=g.props,v=m==null?void 0:m.className,b=typeof v=="function"?(...S)=>fo(v(...S),d.className):fo(v,d.className),A=b?{className:b}:{},k=GC(g.props,S0(go(d,["ref"])));for(let S in p)S in k&&delete p[S];return y.cloneElement(g,Object.assign({},k,p,f,{ref:l(G_(g),f.ref)},A))}return y.createElement(L,Object.assign({},go(d,["ref"]),!H6(L)&&f,!H6(L)&&p),g)}function $_(){let t=y.useRef([]),e=y.useCallback(n=>{for(let s of t.current)s!=null&&(typeof s=="function"?s(n):s.current=n)},[]);return(...n)=>{if(!n.every(s=>s==null))return t.current=n,e}}function V_(...t){return t.every(e=>e==null)?void 0:e=>{for(let n of t)n!=null&&(typeof n=="function"?n(e):n.current=e)}}function GC(...t){if(t.length===0)return{};if(t.length===1)return t[0];let e={},n={};for(let s of t)for(let l in s)l.startsWith("on")&&typeof s[l]=="function"?(n[l]!=null||(n[l]=[]),n[l].push(s[l])):e[l]=s[l];if(e.disabled||e["aria-disabled"])for(let s in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(s)&&(n[s]=[l=>{var L;return(L=l==null?void 0:l.preventDefault)==null?void 0:L.call(l)}]);for(let s in n)Object.assign(e,{[s](l,...L){let c=n[s];for(let C of c){if((l instanceof Event||(l==null?void 0:l.nativeEvent)instanceof Event)&&l.defaultPrevented)return;C(l,...L)}}});return e}function qC(...t){if(t.length===0)return{};if(t.length===1)return t[0];let e={},n={};for(let s of t)for(let l in s)l.startsWith("on")&&typeof s[l]=="function"?(n[l]!=null||(n[l]=[]),n[l].push(s[l])):e[l]=s[l];for(let s in n)Object.assign(e,{[s](...l){let L=n[s];for(let c of L)c==null||c(...l)}});return e}function E3(t){var e;return Object.assign(y.forwardRef(t),{displayName:(e=t.displayName)!=null?e:t.name})}function S0(t){let e=Object.assign({},t);for(let n in e)e[n]===void 0&&delete e[n];return e}function go(t,e=[]){let n=Object.assign({},t);for(let s of e)s in n&&delete n[s];return n}function G_(t){return k2.version.split(".")[0]>="19"?t.props.ref:t.ref}function H6(t){return t===y.Fragment||t===Symbol.for("react.fragment")}function q_(t){return H6(t.type)}function Y_(t,e,n){let[s,l]=y.useState(n),L=t!==void 0,c=y.useRef(L),C=y.useRef(!1),d=y.useRef(!1);return L&&!c.current&&!C.current?(C.current=!0,c.current=L,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!L&&c.current&&!d.current&&(d.current=!0,c.current=L,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[L?t:s,v1(f=>(L||nt.flushSync(()=>l(f)),e==null?void 0:e(f)))]}function X_(t){let[e]=y.useState(t);return e}function YC(t={},e=null,n=[]){for(let[s,l]of Object.entries(t))QC(n,XC(e,s),l);return n}function XC(t,e){return t?t+"["+e+"]":e}function QC(t,e,n){if(Array.isArray(n))for(let[s,l]of n.entries())QC(t,XC(e,s.toString()),l);else n instanceof Date?t.push([e,n.toISOString()]):typeof n=="boolean"?t.push([e,n?"1":"0"]):typeof n=="string"?t.push([e,n]):typeof n=="number"?t.push([e,`${n}`]):n==null?t.push([e,""]):K_(n)&&!y.isValidElement(n)&&YC(n,e,t)}function Q_(t){var e,n;let s=(e=t==null?void 0:t.form)!=null?e:t.closest("form");if(s){for(let l of s.elements)if(l!==t&&(l.tagName==="INPUT"&&l.type==="submit"||l.tagName==="BUTTON"&&l.type==="submit"||l.nodeName==="INPUT"&&l.type==="image")){l.click();return}(n=s.requestSubmit)==null||n.call(s)}}function K_(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}let J_="span";var p8=(t=>(t[t.None=1]="None",t[t.Focusable=2]="Focusable",t[t.Hidden=4]="Hidden",t))(p8||{});function ey(t,e){var n;let{features:s=1,...l}=t,L={ref:e,"aria-hidden":(s&2)===2?!0:(n=l["aria-hidden"])!=null?n:void 0,hidden:(s&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(s&4)===4&&(s&2)!==2&&{display:"none"}}};return Q3()({ourProps:L,theirProps:l,slot:{},defaultTag:J_,name:"Hidden"})}let P6=E3(ey),ty=y.createContext(null);function ny({children:t}){let e=y.useContext(ty);if(!e)return k2.createElement(k2.Fragment,null,t);let{target:n}=e;return n?nt.createPortal(k2.createElement(k2.Fragment,null,t),n):null}function iy({data:t,form:e,disabled:n,onReset:s,overrides:l}){let[L,c]=y.useState(null),C=U6();return y.useEffect(()=>{if(s&&L)return C.addEventListener(L,"reset",s)},[L,e,s]),k2.createElement(ny,null,k2.createElement(sy,{setForm:c,formId:e}),YC(t).map(([d,f])=>k2.createElement(P6,{features:p8.Hidden,...S0({key:d,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:e,disabled:n,name:d,value:f,...l})})))}function sy({setForm:t,formId:e}){return y.useEffect(()=>{if(e){let n=document.getElementById(e);n&&t(n)}},[t,e]),e?null:k2.createElement(P6,{features:p8.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let s=n.closest("form");s&&t(s)}})}let oy=y.createContext(void 0);function KC(){return y.useContext(oy)}function ly(t){return typeof t!="object"||t===null?!1:"nodeType"in t}function q9(t){return ly(t)&&"tagName"in t}function A9(t){return q9(t)&&"accessKey"in t}function k0(t){return q9(t)&&"tabIndex"in t}function ry(t){return q9(t)&&"style"in t}function ay(t){return A9(t)&&t.nodeName==="IFRAME"}function JC(t){return A9(t)&&t.nodeName==="INPUT"}function eu(t){return A9(t)&&t.nodeName==="LABEL"}function Ly(t){return A9(t)&&t.nodeName==="FIELDSET"}function tu(t){return A9(t)&&t.nodeName==="LEGEND"}function cy(t){return q9(t)?t.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}function nu(t){let e=t.parentElement,n=null;for(;e&&!Ly(e);)tu(e)&&(n=e),e=e.parentElement;let s=(e==null?void 0:e.getAttribute("disabled"))==="";return s&&Cy(n)?!1:s}function Cy(t){if(!t)return!1;let e=t.previousElementSibling;for(;e!==null;){if(tu(e))return!1;e=e.previousElementSibling}return!0}let iu=Symbol();function uy(t,e=!0){return Object.assign(t,{[iu]:e})}function p4(...t){let e=y.useRef(t);y.useEffect(()=>{e.current=t},[t]);let n=v1(s=>{for(let l of e.current)l!=null&&(typeof l=="function"?l(s):l.current=s)});return t.every(s=>s==null||(s==null?void 0:s[iu]))?void 0:n}let ct=y.createContext(null);ct.displayName="DescriptionContext";function su(){let t=y.useContext(ct);if(t===null){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,su),e}return t}function dy(){var t,e;return(e=(t=y.useContext(ct))==null?void 0:t.value)!=null?e:void 0}function po(){let[t,e]=y.useState([]);return[t.length>0?t.join(" "):void 0,y.useMemo(()=>function(n){let s=v1(L=>(e(c=>[...c,L]),()=>e(c=>{let C=c.slice(),d=C.indexOf(L);return d!==-1&&C.splice(d,1),C}))),l=y.useMemo(()=>({register:s,slot:n.slot,name:n.name,props:n.props,value:n.value}),[s,n.slot,n.name,n.props,n.value]);return k2.createElement(ct.Provider,{value:l},n.children)},[e])]}let hy="p";function fy(t,e){let n=y.useId(),s=rt(),{id:l=`headlessui-description-${n}`,...L}=t,c=su(),C=p4(e);O3(()=>c.register(l),[l,c.register]);let d=G9({...c.slot,disabled:s||!1}),f={ref:C,...c.props,id:l};return Q3()({ourProps:f,theirProps:L,slot:d,defaultTag:hy,name:c.name||"Description"})}let gy=E3(fy),ou=Object.assign(gy,{});var Z0=(t=>(t.Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t))(Z0||{});let Ct=y.createContext(null);Ct.displayName="LabelContext";function lu(){let t=y.useContext(Ct);if(t===null){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,lu),e}return t}function ru(t){var e,n,s;let l=(n=(e=y.useContext(Ct))==null?void 0:e.value)!=null?n:void 0;return((s=void 0)!=null?s:0)>0?[l,...t].filter(Boolean).join(" "):l}function au({inherit:t=!1}={}){let e=ru(),[n,s]=y.useState([]),l=t?[e,...n].filter(Boolean):n;return[l.length>0?l.join(" "):void 0,y.useMemo(()=>function(L){let c=v1(d=>(s(f=>[...f,d]),()=>s(f=>{let g=f.slice(),p=g.indexOf(d);return p!==-1&&g.splice(p,1),g}))),C=y.useMemo(()=>({register:c,slot:L.slot,name:L.name,props:L.props,value:L.value}),[c,L.slot,L.name,L.props,L.value]);return k2.createElement(Ct.Provider,{value:C},L.children)},[s])]}let py="label";function my(t,e){var n;let s=y.useId(),l=lu(),L=KC(),c=rt(),{id:C=`headlessui-label-${s}`,htmlFor:d=L??((n=l.props)==null?void 0:n.htmlFor),passive:f=!1,...g}=t,p=p4(e);O3(()=>l.register(C),[C,l.register]);let m=v1(A=>{let k=A.currentTarget;if(!(A.target!==A.currentTarget&&cy(A.target))&&(eu(k)&&A.preventDefault(),l.props&&"onClick"in l.props&&typeof l.props.onClick=="function"&&l.props.onClick(A),eu(k))){let S=document.getElementById(k.htmlFor);if(S){let N=S.getAttribute("disabled");if(N==="true"||N==="")return;let I=S.getAttribute("aria-disabled");if(I==="true"||I==="")return;(JC(S)&&(S.type==="file"||S.type==="radio"||S.type==="checkbox")||S.role==="radio"||S.role==="checkbox"||S.role==="switch")&&S.click(),S.focus({preventScroll:!0})}}}),v=G9({...l.slot,disabled:c||!1}),b={ref:p,...l.props,id:C,htmlFor:d,onClick:m};return f&&("onClick"in b&&(delete b.htmlFor,delete b.onClick),"onClick"in g&&delete g.onClick),Q3()({ourProps:b,theirProps:g,slot:v,defaultTag:d?py:"div",name:l.name||"Label"})}let xy=E3(my),mo=Object.assign(xy,{}),wy=y.createContext(()=>{});function vy({value:t,children:e}){return k2.createElement(wy.Provider,{value:t},e)}function My(t,e){return t!==null&&e!==null&&typeof t=="object"&&typeof e=="object"&&"id"in t&&"id"in e?t.id===e.id:t===e}function _y(t=My){return y.useCallback((e,n)=>{if(typeof t=="string"){let s=t;return(e==null?void 0:e[s])===(n==null?void 0:n[s])}return t(e,n)},[t])}let Lu=class extends Map{constructor(e){super(),this.factory=e}get(e){let n=super.get(e);return n===void 0&&(n=this.factory(e),this.set(e,n)),n}};var yy=Object.defineProperty,Ry=(t,e,n)=>e in t?yy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,by=(t,e,n)=>(Ry(t,e+"",n),n),cu=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Y4=(t,e,n)=>(cu(t,e,"read from private field"),n?n.call(t):e.get(t)),xo=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Cu=(t,e,n,s)=>(cu(t,e,"write to private field"),e.set(t,n),n),S9,W6,j6;let Ay=class{constructor(e){xo(this,S9,{}),xo(this,W6,new Lu(()=>new Set)),xo(this,j6,new Set),by(this,"disposables",$9()),Cu(this,S9,e),R9.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return Y4(this,S9)}subscribe(e,n){if(R9.isServer)return()=>{};let s={selector:e,callback:n,current:e(Y4(this,S9))};return Y4(this,j6).add(s),this.disposables.add(()=>{Y4(this,j6).delete(s)})}on(e,n){return R9.isServer?()=>{}:(Y4(this,W6).get(e).add(n),this.disposables.add(()=>{Y4(this,W6).get(e).delete(n)}))}send(e){let n=this.reduce(Y4(this,S9),e);if(n!==Y4(this,S9)){Cu(this,S9,n);for(let s of Y4(this,j6)){let l=s.selector(Y4(this,S9));uu(s.current,l)||(s.current=l,s.callback(l))}for(let s of Y4(this,W6).get(e.type))s(Y4(this,S9),e)}}};S9=new WeakMap,W6=new WeakMap,j6=new WeakMap;function uu(t,e){return Object.is(t,e)?!0:typeof t!="object"||t===null||typeof e!="object"||e===null?!1:Array.isArray(t)&&Array.isArray(e)?t.length!==e.length?!1:wo(t[Symbol.iterator](),e[Symbol.iterator]()):t instanceof Map&&e instanceof Map||t instanceof Set&&e instanceof Set?t.size!==e.size?!1:wo(t.entries(),e.entries()):du(t)&&du(e)?wo(Object.entries(t)[Symbol.iterator](),Object.entries(e)[Symbol.iterator]()):!1}function wo(t,e){do{let n=t.next(),s=e.next();if(n.done&&s.done)return!0;if(n.done||s.done||!Object.is(n.value,s.value))return!1}while(!0)}function du(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}var Sy=Object.defineProperty,ky=(t,e,n)=>e in t?Sy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,hu=(t,e,n)=>(ky(t,typeof e!="symbol"?e+"":e,n),n),Zy=(t=>(t[t.Push=0]="Push",t[t.Pop=1]="Pop",t))(Zy||{});let Ty={0(t,e){let n=e.id,s=t.stack,l=t.stack.indexOf(n);if(l!==-1){let L=t.stack.slice();return L.splice(l,1),L.push(n),s=L,{...t,stack:s}}return{...t,stack:[...t.stack,n]}},1(t,e){let n=e.id,s=t.stack.indexOf(n);if(s===-1)return t;let l=t.stack.slice();return l.splice(s,1),{...t,stack:l}}},Ey=class Vp extends Ay{constructor(){super(...arguments),hu(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),hu(this,"selectors",{isTop:(e,n)=>e.stack[e.stack.length-1]===n,inStack:(e,n)=>e.stack.includes(n)})}static new(){return new Vp({stack:[]})}reduce(e,n){return b9(n.type,Ty,e,n)}};const fu=new Lu(()=>Ey.new());var vo={exports:{}},Mo={};/**
149
+ `))}else{let m=g.props,v=m==null?void 0:m.className,b=typeof v=="function"?(...S)=>fo(v(...S),d.className):fo(v,d.className),A=b?{className:b}:{},k=GC(g.props,A0(go(d,["ref"])));for(let S in p)S in k&&delete p[S];return y.cloneElement(g,Object.assign({},k,p,f,{ref:l(G_(g),f.ref)},A))}return y.createElement(L,Object.assign({},go(d,["ref"]),!H6(L)&&f,!H6(L)&&p),g)}function $_(){let t=y.useRef([]),e=y.useCallback(n=>{for(let s of t.current)s!=null&&(typeof s=="function"?s(n):s.current=n)},[]);return(...n)=>{if(!n.every(s=>s==null))return t.current=n,e}}function V_(...t){return t.every(e=>e==null)?void 0:e=>{for(let n of t)n!=null&&(typeof n=="function"?n(e):n.current=e)}}function GC(...t){if(t.length===0)return{};if(t.length===1)return t[0];let e={},n={};for(let s of t)for(let l in s)l.startsWith("on")&&typeof s[l]=="function"?(n[l]!=null||(n[l]=[]),n[l].push(s[l])):e[l]=s[l];if(e.disabled||e["aria-disabled"])for(let s in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(s)&&(n[s]=[l=>{var L;return(L=l==null?void 0:l.preventDefault)==null?void 0:L.call(l)}]);for(let s in n)Object.assign(e,{[s](l,...L){let c=n[s];for(let C of c){if((l instanceof Event||(l==null?void 0:l.nativeEvent)instanceof Event)&&l.defaultPrevented)return;C(l,...L)}}});return e}function qC(...t){if(t.length===0)return{};if(t.length===1)return t[0];let e={},n={};for(let s of t)for(let l in s)l.startsWith("on")&&typeof s[l]=="function"?(n[l]!=null||(n[l]=[]),n[l].push(s[l])):e[l]=s[l];for(let s in n)Object.assign(e,{[s](...l){let L=n[s];for(let c of L)c==null||c(...l)}});return e}function E3(t){var e;return Object.assign(y.forwardRef(t),{displayName:(e=t.displayName)!=null?e:t.name})}function A0(t){let e=Object.assign({},t);for(let n in e)e[n]===void 0&&delete e[n];return e}function go(t,e=[]){let n=Object.assign({},t);for(let s of e)s in n&&delete n[s];return n}function G_(t){return k2.version.split(".")[0]>="19"?t.props.ref:t.ref}function H6(t){return t===y.Fragment||t===Symbol.for("react.fragment")}function q_(t){return H6(t.type)}function Y_(t,e,n){let[s,l]=y.useState(n),L=t!==void 0,c=y.useRef(L),C=y.useRef(!1),d=y.useRef(!1);return L&&!c.current&&!C.current?(C.current=!0,c.current=L,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!L&&c.current&&!d.current&&(d.current=!0,c.current=L,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[L?t:s,v1(f=>(L||nt.flushSync(()=>l(f)),e==null?void 0:e(f)))]}function X_(t){let[e]=y.useState(t);return e}function YC(t={},e=null,n=[]){for(let[s,l]of Object.entries(t))QC(n,XC(e,s),l);return n}function XC(t,e){return t?t+"["+e+"]":e}function QC(t,e,n){if(Array.isArray(n))for(let[s,l]of n.entries())QC(t,XC(e,s.toString()),l);else n instanceof Date?t.push([e,n.toISOString()]):typeof n=="boolean"?t.push([e,n?"1":"0"]):typeof n=="string"?t.push([e,n]):typeof n=="number"?t.push([e,`${n}`]):n==null?t.push([e,""]):K_(n)&&!y.isValidElement(n)&&YC(n,e,t)}function Q_(t){var e,n;let s=(e=t==null?void 0:t.form)!=null?e:t.closest("form");if(s){for(let l of s.elements)if(l!==t&&(l.tagName==="INPUT"&&l.type==="submit"||l.tagName==="BUTTON"&&l.type==="submit"||l.nodeName==="INPUT"&&l.type==="image")){l.click();return}(n=s.requestSubmit)==null||n.call(s)}}function K_(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}let J_="span";var p8=(t=>(t[t.None=1]="None",t[t.Focusable=2]="Focusable",t[t.Hidden=4]="Hidden",t))(p8||{});function ey(t,e){var n;let{features:s=1,...l}=t,L={ref:e,"aria-hidden":(s&2)===2?!0:(n=l["aria-hidden"])!=null?n:void 0,hidden:(s&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(s&4)===4&&(s&2)!==2&&{display:"none"}}};return Q3()({ourProps:L,theirProps:l,slot:{},defaultTag:J_,name:"Hidden"})}let P6=E3(ey),ty=y.createContext(null);function ny({children:t}){let e=y.useContext(ty);if(!e)return k2.createElement(k2.Fragment,null,t);let{target:n}=e;return n?nt.createPortal(k2.createElement(k2.Fragment,null,t),n):null}function iy({data:t,form:e,disabled:n,onReset:s,overrides:l}){let[L,c]=y.useState(null),C=U6();return y.useEffect(()=>{if(s&&L)return C.addEventListener(L,"reset",s)},[L,e,s]),k2.createElement(ny,null,k2.createElement(sy,{setForm:c,formId:e}),YC(t).map(([d,f])=>k2.createElement(P6,{features:p8.Hidden,...A0({key:d,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:e,disabled:n,name:d,value:f,...l})})))}function sy({setForm:t,formId:e}){return y.useEffect(()=>{if(e){let n=document.getElementById(e);n&&t(n)}},[t,e]),e?null:k2.createElement(P6,{features:p8.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let s=n.closest("form");s&&t(s)}})}let oy=y.createContext(void 0);function KC(){return y.useContext(oy)}function ly(t){return typeof t!="object"||t===null?!1:"nodeType"in t}function q9(t){return ly(t)&&"tagName"in t}function A9(t){return q9(t)&&"accessKey"in t}function S0(t){return q9(t)&&"tabIndex"in t}function ry(t){return q9(t)&&"style"in t}function ay(t){return A9(t)&&t.nodeName==="IFRAME"}function JC(t){return A9(t)&&t.nodeName==="INPUT"}function eu(t){return A9(t)&&t.nodeName==="LABEL"}function Ly(t){return A9(t)&&t.nodeName==="FIELDSET"}function tu(t){return A9(t)&&t.nodeName==="LEGEND"}function cy(t){return q9(t)?t.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}function nu(t){let e=t.parentElement,n=null;for(;e&&!Ly(e);)tu(e)&&(n=e),e=e.parentElement;let s=(e==null?void 0:e.getAttribute("disabled"))==="";return s&&Cy(n)?!1:s}function Cy(t){if(!t)return!1;let e=t.previousElementSibling;for(;e!==null;){if(tu(e))return!1;e=e.previousElementSibling}return!0}let iu=Symbol();function uy(t,e=!0){return Object.assign(t,{[iu]:e})}function p4(...t){let e=y.useRef(t);y.useEffect(()=>{e.current=t},[t]);let n=v1(s=>{for(let l of e.current)l!=null&&(typeof l=="function"?l(s):l.current=s)});return t.every(s=>s==null||(s==null?void 0:s[iu]))?void 0:n}let ct=y.createContext(null);ct.displayName="DescriptionContext";function su(){let t=y.useContext(ct);if(t===null){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,su),e}return t}function dy(){var t,e;return(e=(t=y.useContext(ct))==null?void 0:t.value)!=null?e:void 0}function po(){let[t,e]=y.useState([]);return[t.length>0?t.join(" "):void 0,y.useMemo(()=>function(n){let s=v1(L=>(e(c=>[...c,L]),()=>e(c=>{let C=c.slice(),d=C.indexOf(L);return d!==-1&&C.splice(d,1),C}))),l=y.useMemo(()=>({register:s,slot:n.slot,name:n.name,props:n.props,value:n.value}),[s,n.slot,n.name,n.props,n.value]);return k2.createElement(ct.Provider,{value:l},n.children)},[e])]}let hy="p";function fy(t,e){let n=y.useId(),s=rt(),{id:l=`headlessui-description-${n}`,...L}=t,c=su(),C=p4(e);O3(()=>c.register(l),[l,c.register]);let d=G9({...c.slot,disabled:s||!1}),f={ref:C,...c.props,id:l};return Q3()({ourProps:f,theirProps:L,slot:d,defaultTag:hy,name:c.name||"Description"})}let gy=E3(fy),ou=Object.assign(gy,{});var k0=(t=>(t.Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t))(k0||{});let Ct=y.createContext(null);Ct.displayName="LabelContext";function lu(){let t=y.useContext(Ct);if(t===null){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,lu),e}return t}function ru(t){var e,n,s;let l=(n=(e=y.useContext(Ct))==null?void 0:e.value)!=null?n:void 0;return((s=void 0)!=null?s:0)>0?[l,...t].filter(Boolean).join(" "):l}function au({inherit:t=!1}={}){let e=ru(),[n,s]=y.useState([]),l=t?[e,...n].filter(Boolean):n;return[l.length>0?l.join(" "):void 0,y.useMemo(()=>function(L){let c=v1(d=>(s(f=>[...f,d]),()=>s(f=>{let g=f.slice(),p=g.indexOf(d);return p!==-1&&g.splice(p,1),g}))),C=y.useMemo(()=>({register:c,slot:L.slot,name:L.name,props:L.props,value:L.value}),[c,L.slot,L.name,L.props,L.value]);return k2.createElement(Ct.Provider,{value:C},L.children)},[s])]}let py="label";function my(t,e){var n;let s=y.useId(),l=lu(),L=KC(),c=rt(),{id:C=`headlessui-label-${s}`,htmlFor:d=L??((n=l.props)==null?void 0:n.htmlFor),passive:f=!1,...g}=t,p=p4(e);O3(()=>l.register(C),[C,l.register]);let m=v1(A=>{let k=A.currentTarget;if(!(A.target!==A.currentTarget&&cy(A.target))&&(eu(k)&&A.preventDefault(),l.props&&"onClick"in l.props&&typeof l.props.onClick=="function"&&l.props.onClick(A),eu(k))){let S=document.getElementById(k.htmlFor);if(S){let N=S.getAttribute("disabled");if(N==="true"||N==="")return;let I=S.getAttribute("aria-disabled");if(I==="true"||I==="")return;(JC(S)&&(S.type==="file"||S.type==="radio"||S.type==="checkbox")||S.role==="radio"||S.role==="checkbox"||S.role==="switch")&&S.click(),S.focus({preventScroll:!0})}}}),v=G9({...l.slot,disabled:c||!1}),b={ref:p,...l.props,id:C,htmlFor:d,onClick:m};return f&&("onClick"in b&&(delete b.htmlFor,delete b.onClick),"onClick"in g&&delete g.onClick),Q3()({ourProps:b,theirProps:g,slot:v,defaultTag:d?py:"div",name:l.name||"Label"})}let xy=E3(my),mo=Object.assign(xy,{}),wy=y.createContext(()=>{});function vy({value:t,children:e}){return k2.createElement(wy.Provider,{value:t},e)}function My(t,e){return t!==null&&e!==null&&typeof t=="object"&&typeof e=="object"&&"id"in t&&"id"in e?t.id===e.id:t===e}function _y(t=My){return y.useCallback((e,n)=>{if(typeof t=="string"){let s=t;return(e==null?void 0:e[s])===(n==null?void 0:n[s])}return t(e,n)},[t])}let Lu=class extends Map{constructor(e){super(),this.factory=e}get(e){let n=super.get(e);return n===void 0&&(n=this.factory(e),this.set(e,n)),n}};var yy=Object.defineProperty,Ry=(t,e,n)=>e in t?yy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,by=(t,e,n)=>(Ry(t,e+"",n),n),cu=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Y4=(t,e,n)=>(cu(t,e,"read from private field"),n?n.call(t):e.get(t)),xo=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Cu=(t,e,n,s)=>(cu(t,e,"write to private field"),e.set(t,n),n),S9,W6,j6;let Ay=class{constructor(e){xo(this,S9,{}),xo(this,W6,new Lu(()=>new Set)),xo(this,j6,new Set),by(this,"disposables",$9()),Cu(this,S9,e),R9.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return Y4(this,S9)}subscribe(e,n){if(R9.isServer)return()=>{};let s={selector:e,callback:n,current:e(Y4(this,S9))};return Y4(this,j6).add(s),this.disposables.add(()=>{Y4(this,j6).delete(s)})}on(e,n){return R9.isServer?()=>{}:(Y4(this,W6).get(e).add(n),this.disposables.add(()=>{Y4(this,W6).get(e).delete(n)}))}send(e){let n=this.reduce(Y4(this,S9),e);if(n!==Y4(this,S9)){Cu(this,S9,n);for(let s of Y4(this,j6)){let l=s.selector(Y4(this,S9));uu(s.current,l)||(s.current=l,s.callback(l))}for(let s of Y4(this,W6).get(e.type))s(Y4(this,S9),e)}}};S9=new WeakMap,W6=new WeakMap,j6=new WeakMap;function uu(t,e){return Object.is(t,e)?!0:typeof t!="object"||t===null||typeof e!="object"||e===null?!1:Array.isArray(t)&&Array.isArray(e)?t.length!==e.length?!1:wo(t[Symbol.iterator](),e[Symbol.iterator]()):t instanceof Map&&e instanceof Map||t instanceof Set&&e instanceof Set?t.size!==e.size?!1:wo(t.entries(),e.entries()):du(t)&&du(e)?wo(Object.entries(t)[Symbol.iterator](),Object.entries(e)[Symbol.iterator]()):!1}function wo(t,e){do{let n=t.next(),s=e.next();if(n.done&&s.done)return!0;if(n.done||s.done||!Object.is(n.value,s.value))return!1}while(!0)}function du(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}var Sy=Object.defineProperty,ky=(t,e,n)=>e in t?Sy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,hu=(t,e,n)=>(ky(t,typeof e!="symbol"?e+"":e,n),n),Zy=(t=>(t[t.Push=0]="Push",t[t.Pop=1]="Pop",t))(Zy||{});let Ty={0(t,e){let n=e.id,s=t.stack,l=t.stack.indexOf(n);if(l!==-1){let L=t.stack.slice();return L.splice(l,1),L.push(n),s=L,{...t,stack:s}}return{...t,stack:[...t.stack,n]}},1(t,e){let n=e.id,s=t.stack.indexOf(n);if(s===-1)return t;let l=t.stack.slice();return l.splice(s,1),{...t,stack:l}}},Ey=class Vp extends Ay{constructor(){super(...arguments),hu(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),hu(this,"selectors",{isTop:(e,n)=>e.stack[e.stack.length-1]===n,inStack:(e,n)=>e.stack.includes(n)})}static new(){return new Vp({stack:[]})}reduce(e,n){return b9(n.type,Ty,e,n)}};const fu=new Lu(()=>Ey.new());var vo={exports:{}},Mo={};/**
150
150
  * @license React
151
151
  * use-sync-external-store-with-selector.production.js
152
152
  *
@@ -154,8 +154,8 @@ A.method() {
154
154
  *
155
155
  * This source code is licensed under the MIT license found in the
156
156
  * LICENSE file in the root directory of this source tree.
157
- */var gu;function Iy(){if(gu)return Mo;gu=1;var t=oe();function e(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var n=typeof Object.is=="function"?Object.is:e,s=t.useSyncExternalStore,l=t.useRef,L=t.useEffect,c=t.useMemo,C=t.useDebugValue;return Mo.useSyncExternalStoreWithSelector=function(d,f,g,p,m){var v=l(null);if(v.current===null){var b={hasValue:!1,value:null};v.current=b}else b=v.current;v=c(function(){function k(B){if(!S){if(S=!0,N=B,B=p(B),m!==void 0&&b.hasValue){var P=b.value;if(m(P,B))return I=P}return I=B}if(P=I,n(N,B))return P;var Y=p(B);return m!==void 0&&m(P,Y)?(N=B,P):(N=B,I=Y)}var S=!1,N,I,O=g===void 0?null:g;return[function(){return k(f())},O===null?void 0:function(){return k(O())}]},[f,g,p,m]);var A=s(d,v[0],v[1]);return L(function(){b.hasValue=!0,b.value=A},[A]),C(A),A},Mo}var pu;function zy(){return pu||(pu=1,vo.exports=Iy()),vo.exports}var Ny=zy();function mu(t,e,n=uu){return Ny.useSyncExternalStoreWithSelector(v1(s=>t.subscribe(Oy,s)),v1(()=>t.state),v1(()=>t.state),v1(e),n)}function Oy(t){return t}function $6(t,e){let n=y.useId(),s=fu.get(e),[l,L]=mu(s,y.useCallback(c=>[s.selectors.isTop(c,n),s.selectors.inStack(c,n)],[s,n]));return O3(()=>{if(t)return s.actions.push(n),()=>s.actions.pop(n)},[s,t,n]),t?L?l:!0:!1}let _o=new Map,V6=new Map;function xu(t){var e;let n=(e=V6.get(t))!=null?e:0;return V6.set(t,n+1),n!==0?()=>wu(t):(_o.set(t,{"aria-hidden":t.getAttribute("aria-hidden"),inert:t.inert}),t.setAttribute("aria-hidden","true"),t.inert=!0,()=>wu(t))}function wu(t){var e;let n=(e=V6.get(t))!=null?e:1;if(n===1?V6.delete(t):V6.set(t,n-1),n!==1)return;let s=_o.get(t);s&&(s["aria-hidden"]===null?t.removeAttribute("aria-hidden"):t.setAttribute("aria-hidden",s["aria-hidden"]),t.inert=s.inert,_o.delete(t))}function Dy(t,{allowed:e,disallowed:n}={}){let s=$6(t,"inert-others");O3(()=>{var l,L;if(!s)return;let c=$9();for(let d of(l=n==null?void 0:n())!=null?l:[])d&&c.add(xu(d));let C=(L=e==null?void 0:e())!=null?L:[];for(let d of C){if(!d)continue;let f=B6(d);if(!f)continue;let g=d.parentElement;for(;g&&g!==f.body;){for(let p of g.children)C.some(m=>p.contains(m))||c.add(xu(p));g=g.parentElement}}return c.dispose},[s,e,n])}function Fy(t,e,n){let s=V9(l=>{let L=l.getBoundingClientRect();L.x===0&&L.y===0&&L.width===0&&L.height===0&&n()});y.useEffect(()=>{if(!t)return;let l=e===null?null:A9(e)?e:e.current;if(!l)return;let L=$9();if(typeof ResizeObserver<"u"){let c=new ResizeObserver(()=>s.current(l));c.observe(l),L.add(()=>c.disconnect())}if(typeof IntersectionObserver<"u"){let c=new IntersectionObserver(()=>s.current(l));c.observe(l),L.add(()=>c.disconnect())}return()=>L.dispose()},[e,s,t])}let ut=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(t=>`${t}:not([tabindex='-1'])`).join(","),By=["[data-autofocus]"].map(t=>`${t}:not([tabindex='-1'])`).join(",");var E4=(t=>(t[t.First=1]="First",t[t.Previous=2]="Previous",t[t.Next=4]="Next",t[t.Last=8]="Last",t[t.WrapAround=16]="WrapAround",t[t.NoScroll=32]="NoScroll",t[t.AutoFocus=64]="AutoFocus",t))(E4||{}),G6=(t=>(t[t.Error=0]="Error",t[t.Overflow=1]="Overflow",t[t.Success=2]="Success",t[t.Underflow=3]="Underflow",t))(G6||{}),Uy=(t=>(t[t.Previous=-1]="Previous",t[t.Next=1]="Next",t))(Uy||{});function Hy(t=document.body){return t==null?[]:Array.from(t.querySelectorAll(ut)).sort((e,n)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function Py(t=document.body){return t==null?[]:Array.from(t.querySelectorAll(By)).sort((e,n)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var vu=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(vu||{});function Wy(t,e=0){var n;return t===((n=B6(t))==null?void 0:n.body)?!1:b9(e,{0(){return t.matches(ut)},1(){let s=t;for(;s!==null;){if(s.matches(ut))return!0;s=s.parentElement}return!1}})}var jy=(t=>(t[t.Keyboard=0]="Keyboard",t[t.Mouse=1]="Mouse",t))(jy||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",t=>{t.metaKey||t.altKey||t.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",t=>{t.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:t.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Y9(t){t==null||t.focus({preventScroll:!0})}let $y=["textarea","input"].join(",");function Vy(t){var e,n;return(n=(e=t==null?void 0:t.matches)==null?void 0:e.call(t,$y))!=null?n:!1}function Mu(t,e=n=>n){return t.slice().sort((n,s)=>{let l=e(n),L=e(s);if(l===null||L===null)return 0;let c=l.compareDocumentPosition(L);return c&Node.DOCUMENT_POSITION_FOLLOWING?-1:c&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function M5(t,e,{sorted:n=!0,relativeTo:s=null,skipElements:l=[]}={}){let L=Array.isArray(t)?t.length>0?ho(t[0]):document:ho(t),c=Array.isArray(t)?n?Mu(t):t:e&64?Py(t):Hy(t);l.length>0&&c.length>1&&(c=c.filter(v=>!l.some(b=>b!=null&&"current"in b?(b==null?void 0:b.current)===v:b===v))),s=s??(L==null?void 0:L.activeElement);let C=(()=>{if(e&5)return 1;if(e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(e&1)return 0;if(e&2)return Math.max(0,c.indexOf(s))-1;if(e&4)return Math.max(0,c.indexOf(s))+1;if(e&8)return c.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=e&32?{preventScroll:!0}:{},g=0,p=c.length,m;do{if(g>=p||g+p<=0)return 0;let v=d+g;if(e&16)v=(v+p)%p;else{if(v<0)return 3;if(v>=p)return 1}m=c[v],m==null||m.focus(f),g+=C}while(m!==VC(m));return e&6&&Vy(m)&&m.select(),2}function _u(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Gy(){return/Android/gi.test(window.navigator.userAgent)}function yu(){return _u()||Gy()}function dt(t,e,n,s){let l=V9(n);y.useEffect(()=>{if(!t)return;function L(c){l.current(c)}return document.addEventListener(e,L,s),()=>document.removeEventListener(e,L,s)},[t,e,s])}function Ru(t,e,n,s){let l=V9(n);y.useEffect(()=>{if(!t)return;function L(c){l.current(c)}return window.addEventListener(e,L,s),()=>window.removeEventListener(e,L,s)},[t,e,s])}const bu=30;function qy(t,e,n){let s=V9(n),l=y.useCallback(function(C,d){if(C.defaultPrevented)return;let f=d(C);if(f===null||!f.getRootNode().contains(f)||!f.isConnected)return;let g=(function p(m){return typeof m=="function"?p(m()):Array.isArray(m)||m instanceof Set?m:[m]})(e);for(let p of g)if(p!==null&&(p.contains(f)||C.composed&&C.composedPath().includes(p)))return;return!Wy(f,vu.Loose)&&f.tabIndex!==-1&&C.preventDefault(),s.current(C,f)},[s,e]),L=y.useRef(null);dt(t,"pointerdown",C=>{var d,f;yu()||(L.current=((f=(d=C.composedPath)==null?void 0:d.call(C))==null?void 0:f[0])||C.target)},!0),dt(t,"pointerup",C=>{if(yu()||!L.current)return;let d=L.current;return L.current=null,l(C,()=>d)},!0);let c=y.useRef({x:0,y:0});dt(t,"touchstart",C=>{c.current.x=C.touches[0].clientX,c.current.y=C.touches[0].clientY},!0),dt(t,"touchend",C=>{let d={x:C.changedTouches[0].clientX,y:C.changedTouches[0].clientY};if(!(Math.abs(d.x-c.current.x)>=bu||Math.abs(d.y-c.current.y)>=bu))return l(C,()=>k0(C.target)?C.target:null)},!0),Ru(t,"blur",C=>l(C,()=>ay(window.document.activeElement)?window.document.activeElement:null),!0)}function yo(...t){return y.useMemo(()=>B6(...t),[...t])}function Au(t,e,n,s){let l=V9(n);y.useEffect(()=>{t=t??window;function L(c){l.current(c)}return t.addEventListener(e,L,s),()=>t.removeEventListener(e,L,s)},[t,e,s])}function Yy(t){return y.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getSnapshot)}function Xy(t,e){let n=t(),s=new Set;return{getSnapshot(){return n},subscribe(l){return s.add(l),()=>s.delete(l)},dispatch(l,...L){let c=e[l].call(n,...L);c&&(n=c,s.forEach(C=>C()))}}}function Qy(){let t;return{before({doc:e}){var n;let s=e.documentElement,l=(n=e.defaultView)!=null?n:window;t=Math.max(0,l.innerWidth-s.clientWidth)},after({doc:e,d:n}){let s=e.documentElement,l=Math.max(0,s.clientWidth-s.offsetWidth),L=Math.max(0,t-l);n.style(s,"paddingRight",`${L}px`)}}}function Ky(){return _u()?{before({doc:t,d:e,meta:n}){function s(l){for(let L of n().containers)for(let c of L())if(c.contains(l))return!0;return!1}e.microTask(()=>{var l;if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let C=$9();C.style(t.documentElement,"scrollBehavior","auto"),e.add(()=>e.microTask(()=>C.dispose()))}let L=(l=window.scrollY)!=null?l:window.pageYOffset,c=null;e.addEventListener(t,"click",C=>{if(k0(C.target))try{let d=C.target.closest("a");if(!d)return;let{hash:f}=new URL(d.href),g=t.querySelector(f);k0(g)&&!s(g)&&(c=g)}catch{}},!0),e.group(C=>{e.addEventListener(t,"touchstart",d=>{if(C.dispose(),k0(d.target)&&ry(d.target))if(s(d.target)){let f=d.target;for(;f.parentElement&&s(f.parentElement);)f=f.parentElement;C.style(f,"overscrollBehavior","contain")}else C.style(d.target,"touchAction","none")})}),e.addEventListener(t,"touchmove",C=>{if(k0(C.target)){if(JC(C.target))return;if(s(C.target)){let d=C.target;for(;d.parentElement&&d.dataset.headlessuiPortal!==""&&!(d.scrollHeight>d.clientHeight||d.scrollWidth>d.clientWidth);)d=d.parentElement;d.dataset.headlessuiPortal===""&&C.preventDefault()}else C.preventDefault()}},{passive:!1}),e.add(()=>{var C;let d=(C=window.scrollY)!=null?C:window.pageYOffset;L!==d&&window.scrollTo(0,L),c&&c.isConnected&&(c.scrollIntoView({block:"nearest"}),c=null)})})}}:{}}function Jy(){return{before({doc:t,d:e}){e.style(t.documentElement,"overflow","hidden")}}}function Su(t){let e={};for(let n of t)Object.assign(e,n(e));return e}let _5=Xy(()=>new Map,{PUSH(t,e){var n;let s=(n=this.get(t))!=null?n:{doc:t,count:0,d:$9(),meta:new Set,computedMeta:{}};return s.count++,s.meta.add(e),s.computedMeta=Su(s.meta),this.set(t,s),this},POP(t,e){let n=this.get(t);return n&&(n.count--,n.meta.delete(e),n.computedMeta=Su(n.meta)),this},SCROLL_PREVENT(t){let e={doc:t.doc,d:t.d,meta(){return t.computedMeta}},n=[Ky(),Qy(),Jy()];n.forEach(({before:s})=>s==null?void 0:s(e)),n.forEach(({after:s})=>s==null?void 0:s(e))},SCROLL_ALLOW({d:t}){t.dispose()},TEARDOWN({doc:t}){this.delete(t)}});_5.subscribe(()=>{let t=_5.getSnapshot(),e=new Map;for(let[n]of t)e.set(n,n.documentElement.style.overflow);for(let n of t.values()){let s=e.get(n.doc)==="hidden",l=n.count!==0;(l&&!s||!l&&s)&&_5.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&_5.dispatch("TEARDOWN",n)}});function eR(t,e,n=()=>({containers:[]})){let s=Yy(_5),l=e?s.get(e):void 0,L=l?l.count>0:!1;return O3(()=>{if(!(!e||!t))return _5.dispatch("PUSH",e,n),()=>_5.dispatch("POP",e,n)},[t,e]),L}function tR(t,e,n=()=>[document.body]){let s=$6(t,"scroll-lock");eR(s,e,l=>{var L;return{containers:[...(L=l.containers)!=null?L:[],n]}})}function nR(t=0){let[e,n]=y.useState(t),s=y.useCallback(d=>n(d),[]),l=y.useCallback(d=>n(f=>f|d),[]),L=y.useCallback(d=>(e&d)===d,[e]),c=y.useCallback(d=>n(f=>f&~d),[]),C=y.useCallback(d=>n(f=>f^d),[]);return{flags:e,setFlag:s,addFlag:l,hasFlag:L,removeFlag:c,toggleFlag:C}}var ku,Zu;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((ku=process==null?void 0:process.env)==null?void 0:ku.NODE_ENV)==="test"&&typeof((Zu=Element==null?void 0:Element.prototype)==null?void 0:Zu.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
158
- `)),[]});var iR=(t=>(t[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t))(iR||{});function sR(t){let e={};for(let n in t)t[n]===!0&&(e[`data-${n}`]="");return e}function oR(t,e,n,s){let[l,L]=y.useState(n),{hasFlag:c,addFlag:C,removeFlag:d}=nR(t&&l?3:0),f=y.useRef(!1),g=y.useRef(!1),p=U6();return O3(()=>{var m;if(t){if(n&&L(!0),!e){n&&C(3);return}return(m=s==null?void 0:s.start)==null||m.call(s,n),lR(e,{inFlight:f,prepare(){g.current?g.current=!1:g.current=f.current,f.current=!0,!g.current&&(n?(C(3),d(4)):(C(4),d(2)))},run(){g.current?n?(d(3),C(4)):(d(4),C(3)):n?d(1):C(1)},done(){var v;g.current&&LR(e)||(f.current=!1,d(7),n||L(!1),(v=s==null?void 0:s.end)==null||v.call(s,n))}})}},[t,n,e,p]),t?[l,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function lR(t,{prepare:e,run:n,done:s,inFlight:l}){let L=$9();return aR(t,{prepare:e,inFlight:l}),L.nextFrame(()=>{n(),L.requestAnimationFrame(()=>{L.add(rR(t,s))})}),L.dispose}function rR(t,e){var n,s;let l=$9();if(!t)return l.dispose;let L=!1;l.add(()=>{L=!0});let c=(s=(n=t.getAnimations)==null?void 0:n.call(t).filter(C=>C instanceof CSSTransition))!=null?s:[];return c.length===0?(e(),l.dispose):(Promise.allSettled(c.map(C=>C.finished)).then(()=>{L||e()}),l.dispose)}function aR(t,{inFlight:e,prepare:n}){if(e!=null&&e.current){n();return}let s=t.style.transition;t.style.transition="none",n(),t.offsetHeight,t.style.transition=s}function LR(t){var e,n;return((n=(e=t.getAnimations)==null?void 0:e.call(t))!=null?n:[]).some(s=>s instanceof CSSTransition&&s.playState!=="finished")}function Ro(t,e){let n=y.useRef([]),s=v1(t);y.useEffect(()=>{let l=[...n.current];for(let[L,c]of e.entries())if(n.current[L]!==c){let C=s(e,l);return n.current=e,C}},[s,...e])}function ht(){return typeof window<"u"}function m8(t){return Tu(t)?(t.nodeName||"").toLowerCase():"#document"}function I4(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function X9(t){var e;return(e=(Tu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Tu(t){return ht()?t instanceof Node||t instanceof I4(t).Node:!1}function L4(t){return ht()?t instanceof Element||t instanceof I4(t).Element:!1}function k9(t){return ht()?t instanceof HTMLElement||t instanceof I4(t).HTMLElement:!1}function Eu(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof I4(t).ShadowRoot}const cR=new Set(["inline","contents"]);function q6(t){const{overflow:e,overflowX:n,overflowY:s,display:l}=L9(t);return/auto|scroll|overlay|hidden|clip/.test(e+s+n)&&!cR.has(l)}const CR=new Set(["table","td","th"]);function uR(t){return CR.has(m8(t))}const dR=[":popover-open",":modal"];function ft(t){return dR.some(e=>{try{return t.matches(e)}catch{return!1}})}const hR=["transform","translate","scale","rotate","perspective"],fR=["transform","translate","scale","rotate","perspective","filter"],gR=["paint","layout","strict","content"];function bo(t){const e=Ao(),n=L4(t)?L9(t):t;return hR.some(s=>n[s]?n[s]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||fR.some(s=>(n.willChange||"").includes(s))||gR.some(s=>(n.contain||"").includes(s))}function pR(t){let e=T0(t);for(;k9(e)&&!x8(e);){if(bo(e))return e;if(ft(e))return null;e=T0(e)}return null}function Ao(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const mR=new Set(["html","body","#document"]);function x8(t){return mR.has(m8(t))}function L9(t){return I4(t).getComputedStyle(t)}function gt(t){return L4(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function T0(t){if(m8(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Eu(t)&&t.host||X9(t);return Eu(e)?e.host:e}function Iu(t){const e=T0(t);return x8(e)?t.ownerDocument?t.ownerDocument.body:t.body:k9(e)&&q6(e)?e:Iu(e)}function zu(t,e,n){var s;e===void 0&&(e=[]);const l=Iu(t),L=l===((s=t.ownerDocument)==null?void 0:s.body),c=I4(l);return L?(So(c),e.concat(c,c.visualViewport||[],q6(l)?l:[],[])):e.concat(l,zu(l,[]))}function So(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}const Nu=Math.min,Y6=Math.max,pt=Math.round,Z9=t=>({x:t,y:t});function Ou(t){return t.split("-")[0]}function xR(t){return t.split("-")[1]}function wR(t){return t==="x"?"y":"x"}function vR(t){return t==="y"?"height":"width"}const MR=new Set(["top","bottom"]);function Du(t){return MR.has(Ou(t))?"y":"x"}function _R(t){return wR(Du(t))}function Fu(t){const{x:e,y:n,width:s,height:l}=t;return{width:s,height:l,top:n,left:e,right:e+s,bottom:n+l,x:e,y:n}}function Bu(t,e,n){let{reference:s,floating:l}=t;const L=Du(e),c=_R(e),C=vR(c),d=Ou(e),f=L==="y",g=s.x+s.width/2-l.width/2,p=s.y+s.height/2-l.height/2,m=s[C]/2-l[C]/2;let v;switch(d){case"top":v={x:g,y:s.y-l.height};break;case"bottom":v={x:g,y:s.y+s.height};break;case"right":v={x:s.x+s.width,y:p};break;case"left":v={x:s.x-l.width,y:p};break;default:v={x:s.x,y:s.y}}switch(xR(e)){case"start":v[c]-=m*(n&&f?-1:1);break;case"end":v[c]+=m*(n&&f?-1:1);break}return v}const yR=async(t,e,n)=>{const{placement:s="bottom",strategy:l="absolute",middleware:L=[],platform:c}=n,C=L.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let f=await c.getElementRects({reference:t,floating:e,strategy:l}),{x:g,y:p}=Bu(f,s,d),m=s,v={},b=0;for(let A=0;A<C.length;A++){const{name:k,fn:S}=C[A],{x:N,y:I,data:O,reset:B}=await S({x:g,y:p,initialPlacement:s,placement:m,strategy:l,middlewareData:v,rects:f,platform:c,elements:{reference:t,floating:e}});g=N??g,p=I??p,v={...v,[k]:{...v[k],...O}},B&&b<=50&&(b++,typeof B=="object"&&(B.placement&&(m=B.placement),B.rects&&(f=B.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:l}):B.rects),{x:g,y:p}=Bu(f,m,d)),A=-1)}return{x:g,y:p,placement:m,strategy:l,middlewareData:v}};function Uu(t){const e=L9(t);let n=parseFloat(e.width)||0,s=parseFloat(e.height)||0;const l=k9(t),L=l?t.offsetWidth:n,c=l?t.offsetHeight:s,C=pt(n)!==L||pt(s)!==c;return C&&(n=L,s=c),{width:n,height:s,$:C}}function Hu(t){return L4(t)?t:t.contextElement}function w8(t){const e=Hu(t);if(!k9(e))return Z9(1);const n=e.getBoundingClientRect(),{width:s,height:l,$:L}=Uu(e);let c=(L?pt(n.width):n.width)/s,C=(L?pt(n.height):n.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!C||!Number.isFinite(C))&&(C=1),{x:c,y:C}}const RR=Z9(0);function Pu(t){const e=I4(t);return!Ao()||!e.visualViewport?RR:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function bR(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==I4(t)?!1:e}function X6(t,e,n,s){e===void 0&&(e=!1),n===void 0&&(n=!1);const l=t.getBoundingClientRect(),L=Hu(t);let c=Z9(1);e&&(s?L4(s)&&(c=w8(s)):c=w8(t));const C=bR(L,n,s)?Pu(L):Z9(0);let d=(l.left+C.x)/c.x,f=(l.top+C.y)/c.y,g=l.width/c.x,p=l.height/c.y;if(L){const m=I4(L),v=s&&L4(s)?I4(s):s;let b=m,A=So(b);for(;A&&s&&v!==b;){const k=w8(A),S=A.getBoundingClientRect(),N=L9(A),I=S.left+(A.clientLeft+parseFloat(N.paddingLeft))*k.x,O=S.top+(A.clientTop+parseFloat(N.paddingTop))*k.y;d*=k.x,f*=k.y,g*=k.x,p*=k.y,d+=I,f+=O,b=I4(A),A=So(b)}}return Fu({width:g,height:p,x:d,y:f})}function mt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:X6(X9(t)).left+n}function Wu(t,e){const n=t.getBoundingClientRect(),s=n.left+e.scrollLeft-mt(t,n),l=n.top+e.scrollTop;return{x:s,y:l}}function AR(t){let{elements:e,rect:n,offsetParent:s,strategy:l}=t;const L=l==="fixed",c=X9(s),C=e?ft(e.floating):!1;if(s===c||C&&L)return n;let d={scrollLeft:0,scrollTop:0},f=Z9(1);const g=Z9(0),p=k9(s);if((p||!p&&!L)&&((m8(s)!=="body"||q6(c))&&(d=gt(s)),k9(s))){const v=X6(s);f=w8(s),g.x=v.x+s.clientLeft,g.y=v.y+s.clientTop}const m=c&&!p&&!L?Wu(c,d):Z9(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-d.scrollLeft*f.x+g.x+m.x,y:n.y*f.y-d.scrollTop*f.y+g.y+m.y}}function SR(t){return Array.from(t.getClientRects())}function kR(t){const e=X9(t),n=gt(t),s=t.ownerDocument.body,l=Y6(e.scrollWidth,e.clientWidth,s.scrollWidth,s.clientWidth),L=Y6(e.scrollHeight,e.clientHeight,s.scrollHeight,s.clientHeight);let c=-n.scrollLeft+mt(t);const C=-n.scrollTop;return L9(s).direction==="rtl"&&(c+=Y6(e.clientWidth,s.clientWidth)-l),{width:l,height:L,x:c,y:C}}const ju=25;function ZR(t,e){const n=I4(t),s=X9(t),l=n.visualViewport;let L=s.clientWidth,c=s.clientHeight,C=0,d=0;if(l){L=l.width,c=l.height;const g=Ao();(!g||g&&e==="fixed")&&(C=l.offsetLeft,d=l.offsetTop)}const f=mt(s);if(f<=0){const g=s.ownerDocument,p=g.body,m=getComputedStyle(p),v=g.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,b=Math.abs(s.clientWidth-p.clientWidth-v);b<=ju&&(L-=b)}else f<=ju&&(L+=f);return{width:L,height:c,x:C,y:d}}const TR=new Set(["absolute","fixed"]);function ER(t,e){const n=X6(t,!0,e==="fixed"),s=n.top+t.clientTop,l=n.left+t.clientLeft,L=k9(t)?w8(t):Z9(1),c=t.clientWidth*L.x,C=t.clientHeight*L.y,d=l*L.x,f=s*L.y;return{width:c,height:C,x:d,y:f}}function $u(t,e,n){let s;if(e==="viewport")s=ZR(t,n);else if(e==="document")s=kR(X9(t));else if(L4(e))s=ER(e,n);else{const l=Pu(t);s={x:e.x-l.x,y:e.y-l.y,width:e.width,height:e.height}}return Fu(s)}function Vu(t,e){const n=T0(t);return n===e||!L4(n)||x8(n)?!1:L9(n).position==="fixed"||Vu(n,e)}function IR(t,e){const n=e.get(t);if(n)return n;let s=zu(t,[]).filter(C=>L4(C)&&m8(C)!=="body"),l=null;const L=L9(t).position==="fixed";let c=L?T0(t):t;for(;L4(c)&&!x8(c);){const C=L9(c),d=bo(c);!d&&C.position==="fixed"&&(l=null),(L?!d&&!l:!d&&C.position==="static"&&!!l&&TR.has(l.position)||q6(c)&&!d&&Vu(t,c))?s=s.filter(g=>g!==c):l=C,c=T0(c)}return e.set(t,s),s}function zR(t){let{element:e,boundary:n,rootBoundary:s,strategy:l}=t;const c=[...n==="clippingAncestors"?ft(e)?[]:IR(e,this._c):[].concat(n),s],C=c[0],d=c.reduce((f,g)=>{const p=$u(e,g,l);return f.top=Y6(p.top,f.top),f.right=Nu(p.right,f.right),f.bottom=Nu(p.bottom,f.bottom),f.left=Y6(p.left,f.left),f},$u(e,C,l));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function NR(t){const{width:e,height:n}=Uu(t);return{width:e,height:n}}function OR(t,e,n){const s=k9(e),l=X9(e),L=n==="fixed",c=X6(t,!0,L,e);let C={scrollLeft:0,scrollTop:0};const d=Z9(0);function f(){d.x=mt(l)}if(s||!s&&!L)if((m8(e)!=="body"||q6(l))&&(C=gt(e)),s){const v=X6(e,!0,L,e);d.x=v.x+e.clientLeft,d.y=v.y+e.clientTop}else l&&f();L&&!s&&l&&f();const g=l&&!s&&!L?Wu(l,C):Z9(0),p=c.left+C.scrollLeft-d.x-g.x,m=c.top+C.scrollTop-d.y-g.y;return{x:p,y:m,width:c.width,height:c.height}}function ko(t){return L9(t).position==="static"}function Gu(t,e){if(!k9(t)||L9(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return X9(t)===n&&(n=n.ownerDocument.body),n}function qu(t,e){const n=I4(t);if(ft(t))return n;if(!k9(t)){let l=T0(t);for(;l&&!x8(l);){if(L4(l)&&!ko(l))return l;l=T0(l)}return n}let s=Gu(t,e);for(;s&&uR(s)&&ko(s);)s=Gu(s,e);return s&&x8(s)&&ko(s)&&!bo(s)?n:s||pR(t)||n}const DR=async function(t){const e=this.getOffsetParent||qu,n=this.getDimensions,s=await n(t.floating);return{reference:OR(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function FR(t){return L9(t).direction==="rtl"}const BR={convertOffsetParentRelativeRectToViewportRelativeRect:AR,getDocumentElement:X9,getClippingRect:zR,getOffsetParent:qu,getElementRects:DR,getClientRects:SR,getDimensions:NR,getScale:w8,isElement:L4,isRTL:FR},UR=(t,e,n)=>{const s=new Map,l={platform:BR,...n},L={...l.platform,_c:s};return yR(t,e,{...l,platform:L})};var HR=typeof document<"u",PR=function(){},xt=HR?y.useLayoutEffect:PR;function wt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,s,l;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(s=n;s--!==0;)if(!wt(t[s],e[s]))return!1;return!0}if(l=Object.keys(t),n=l.length,n!==Object.keys(e).length)return!1;for(s=n;s--!==0;)if(!{}.hasOwnProperty.call(e,l[s]))return!1;for(s=n;s--!==0;){const L=l[s];if(!(L==="_owner"&&t.$$typeof)&&!wt(t[L],e[L]))return!1}return!0}return t!==t&&e!==e}function Yu(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Xu(t,e){const n=Yu(t);return Math.round(e*n)/n}function Zo(t){const e=y.useRef(t);return xt(()=>{e.current=t}),e}function WR(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:s=[],platform:l,elements:{reference:L,floating:c}={},transform:C=!0,whileElementsMounted:d,open:f}=t,[g,p]=y.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,v]=y.useState(s);wt(m,s)||v(s);const[b,A]=y.useState(null),[k,S]=y.useState(null),N=y.useCallback($=>{$!==P.current&&(P.current=$,A($))},[]),I=y.useCallback($=>{$!==Y.current&&(Y.current=$,S($))},[]),O=L||b,B=c||k,P=y.useRef(null),Y=y.useRef(null),n2=y.useRef(g),l2=d!=null,f2=Zo(d),c2=Zo(l),h2=Zo(f),b2=y.useCallback(()=>{if(!P.current||!Y.current)return;const $={placement:e,strategy:n,middleware:m};c2.current&&($.platform=c2.current),UR(P.current,Y.current,$).then(o2=>{const g2={...o2,isPositioned:h2.current!==!1};V.current&&!wt(n2.current,g2)&&(n2.current=g2,nt.flushSync(()=>{p(g2)}))})},[m,e,n,c2,h2]);xt(()=>{f===!1&&n2.current.isPositioned&&(n2.current.isPositioned=!1,p($=>({...$,isPositioned:!1})))},[f]);const V=y.useRef(!1);xt(()=>(V.current=!0,()=>{V.current=!1}),[]),xt(()=>{if(O&&(P.current=O),B&&(Y.current=B),O&&B){if(f2.current)return f2.current(O,B,b2);b2()}},[O,B,b2,f2,l2]);const W=y.useMemo(()=>({reference:P,floating:Y,setReference:N,setFloating:I}),[N,I]),T=y.useMemo(()=>({reference:O,floating:B}),[O,B]),j=y.useMemo(()=>{const $={position:n,left:0,top:0};if(!T.floating)return $;const o2=Xu(T.floating,g.x),g2=Xu(T.floating,g.y);return C?{...$,transform:"translate("+o2+"px, "+g2+"px)",...Yu(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:o2,top:g2}},[n,C,T.floating,g.x,g.y]);return y.useMemo(()=>({...g,update:b2,refs:W,elements:T,floatingStyles:j}),[g,b2,W,T,j])}let vt=y.createContext(null);vt.displayName="OpenClosedContext";var c9=(t=>(t[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t))(c9||{});function Mt(){return y.useContext(vt)}function jR({value:t,children:e}){return k2.createElement(vt.Provider,{value:t},e)}function $R({children:t}){return k2.createElement(vt.Provider,{value:null},t)}function VR(t){function e(){document.readyState!=="loading"&&(t(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let E0=[];VR(()=>{function t(e){if(!k0(e.target)||e.target===document.body||E0[0]===e.target)return;let n=e.target;n=n.closest(ut),E0.unshift(n??e.target),E0=E0.filter(s=>s!=null&&s.isConnected),E0.splice(10)}window.addEventListener("click",t,{capture:!0}),window.addEventListener("mousedown",t,{capture:!0}),window.addEventListener("focus",t,{capture:!0}),document.body.addEventListener("click",t,{capture:!0}),document.body.addEventListener("mousedown",t,{capture:!0}),document.body.addEventListener("focus",t,{capture:!0})});function Qu(t){let e=v1(t),n=y.useRef(!1);y.useEffect(()=>(n.current=!1,()=>{n.current=!0,lt(()=>{n.current&&e()})}),[e])}let Ku=y.createContext(!1);function GR(){return y.useContext(Ku)}function Ju(t){return k2.createElement(Ku.Provider,{value:t.force},t.children)}function qR(t){let e=GR(),n=y.useContext(td),[s,l]=y.useState(()=>{var L;if(!e&&n!==null)return(L=n.current)!=null?L:null;if(R9.isServer)return null;let c=t==null?void 0:t.getElementById("headlessui-portal-root");if(c)return c;if(t===null)return null;let C=t.createElement("div");return C.setAttribute("id","headlessui-portal-root"),t.body.appendChild(C)});return y.useEffect(()=>{s!==null&&(t!=null&&t.body.contains(s)||t==null||t.body.appendChild(s))},[s,t]),y.useEffect(()=>{e||n!==null&&l(n.current)},[n,l,e]),s}let ed=y.Fragment,YR=E3(function(t,e){let{ownerDocument:n=null,...s}=t,l=y.useRef(null),L=p4(uy(m=>{l.current=m}),e),c=yo(l.current),C=n??c,d=qR(C),f=y.useContext(To),g=U6(),p=Q3();return Qu(()=>{var m;d&&d.childNodes.length<=0&&((m=d.parentElement)==null||m.removeChild(d))}),d?nt.createPortal(k2.createElement("div",{"data-headlessui-portal":"",ref:m=>{g.dispose(),f&&m&&g.add(f.register(m))}},p({ourProps:{ref:L},theirProps:s,slot:{},defaultTag:ed,name:"Portal"})),d):null});function XR(t,e){let n=p4(e),{enabled:s=!0,ownerDocument:l,...L}=t,c=Q3();return s?k2.createElement(YR,{...L,ownerDocument:l,ref:n}):c({ourProps:{ref:n},theirProps:L,slot:{},defaultTag:ed,name:"Portal"})}let QR=y.Fragment,td=y.createContext(null);function KR(t,e){let{target:n,...s}=t,l={ref:p4(e)},L=Q3();return k2.createElement(td.Provider,{value:n},L({ourProps:l,theirProps:s,defaultTag:QR,name:"Popover.Group"}))}let To=y.createContext(null);function JR(){let t=y.useContext(To),e=y.useRef([]),n=v1(L=>(e.current.push(L),t&&t.register(L),()=>s(L))),s=v1(L=>{let c=e.current.indexOf(L);c!==-1&&e.current.splice(c,1),t&&t.unregister(L)}),l=y.useMemo(()=>({register:n,unregister:s,portals:e}),[n,s,e]);return[e,y.useMemo(()=>function({children:L}){return k2.createElement(To.Provider,{value:l},L)},[l])]}let eb=E3(XR),nd=E3(KR),tb=Object.assign(eb,{Group:nd});function nb(t,e=typeof document<"u"?document.defaultView:null,n){let s=$6(t,"escape");Au(e,"keydown",l=>{s&&(l.defaultPrevented||l.key===Z0.Escape&&n(l))})}function ib(){var t;let[e]=y.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,s]=y.useState((t=e==null?void 0:e.matches)!=null?t:!1);return O3(()=>{if(!e)return;function l(L){s(L.matches)}return e.addEventListener("change",l),()=>e.removeEventListener("change",l)},[e]),n}function sb({defaultContainers:t=[],portals:e,mainTreeNode:n}={}){let s=v1(()=>{var l,L;let c=B6(n),C=[];for(let d of t)d!==null&&(q9(d)?C.push(d):"current"in d&&q9(d.current)&&C.push(d.current));if(e!=null&&e.current)for(let d of e.current)C.push(d);for(let d of(l=c==null?void 0:c.querySelectorAll("html > *, body > *"))!=null?l:[])d!==document.body&&d!==document.head&&q9(d)&&d.id!=="headlessui-portal-root"&&(n&&(d.contains(n)||d.contains((L=n==null?void 0:n.getRootNode())==null?void 0:L.host))||C.some(f=>d.contains(f))||C.push(d));return C});return{resolveContainers:s,contains:v1(l=>s().some(L=>L.contains(l)))}}let id=y.createContext(null);function sd({children:t,node:e}){let[n,s]=y.useState(null),l=od(e??n);return k2.createElement(id.Provider,{value:l},t,l===null&&k2.createElement(P6,{features:p8.Hidden,ref:L=>{var c,C;if(L){for(let d of(C=(c=B6(L))==null?void 0:c.querySelectorAll("html > *, body > *"))!=null?C:[])if(d!==document.body&&d!==document.head&&q9(d)&&d!=null&&d.contains(L)){s(d);break}}}}))}function od(t=null){var e;return(e=y.useContext(id))!=null?e:t}function ob(){let t=typeof document>"u";return"useSyncExternalStore"in le?(e=>e.useSyncExternalStore)(le)(()=>()=>{},()=>!1,()=>!t):!1}function _t(){let t=ob(),[e,n]=y.useState(R9.isHandoffComplete);return e&&R9.isHandoffComplete===!1&&n(!1),y.useEffect(()=>{e!==!0&&n(!0)},[e]),y.useEffect(()=>R9.handoff(),[]),t?!1:e}function Eo(){let t=y.useRef(!1);return O3(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var Q6=(t=>(t[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t))(Q6||{});function lb(){let t=y.useRef(0);return Ru(!0,"keydown",e=>{e.key==="Tab"&&(t.current=e.shiftKey?1:0)},!0),t}function ld(t){if(!t)return new Set;if(typeof t=="function")return new Set(t());let e=new Set;for(let n of t.current)q9(n.current)&&e.add(n.current);return e}let rb="div";var y5=(t=>(t[t.None=0]="None",t[t.InitialFocus=1]="InitialFocus",t[t.TabLock=2]="TabLock",t[t.FocusLock=4]="FocusLock",t[t.RestoreFocus=8]="RestoreFocus",t[t.AutoFocus=16]="AutoFocus",t))(y5||{});function ab(t,e){let n=y.useRef(null),s=p4(n,e),{initialFocus:l,initialFocusFallback:L,containers:c,features:C=15,...d}=t;_t()||(C=0);let f=yo(n.current);ub(C,{ownerDocument:f});let g=db(C,{ownerDocument:f,container:n,initialFocus:l,initialFocusFallback:L});hb(C,{ownerDocument:f,container:n,containers:c,previousActiveElement:g});let p=lb(),m=v1(N=>{if(!A9(n.current))return;let I=n.current;(O=>O())(()=>{b9(p.current,{[Q6.Forwards]:()=>{M5(I,E4.First,{skipElements:[N.relatedTarget,L]})},[Q6.Backwards]:()=>{M5(I,E4.Last,{skipElements:[N.relatedTarget,L]})}})})}),v=$6(!!(C&2),"focus-trap#tab-lock"),b=U6(),A=y.useRef(!1),k={ref:s,onKeyDown(N){N.key=="Tab"&&(A.current=!0,b.requestAnimationFrame(()=>{A.current=!1}))},onBlur(N){if(!(C&4))return;let I=ld(c);A9(n.current)&&I.add(n.current);let O=N.relatedTarget;k0(O)&&O.dataset.headlessuiFocusGuard!=="true"&&(rd(I,O)||(A.current?M5(n.current,b9(p.current,{[Q6.Forwards]:()=>E4.Next,[Q6.Backwards]:()=>E4.Previous})|E4.WrapAround,{relativeTo:N.target}):k0(N.target)&&Y9(N.target)))}},S=Q3();return k2.createElement(k2.Fragment,null,v&&k2.createElement(P6,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:p8.Focusable}),S({ourProps:k,theirProps:d,defaultTag:rb,name:"FocusTrap"}),v&&k2.createElement(P6,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:p8.Focusable}))}let Lb=E3(ab),cb=Object.assign(Lb,{features:y5});function Cb(t=!0){let e=y.useRef(E0.slice());return Ro(([n],[s])=>{s===!0&&n===!1&&lt(()=>{e.current.splice(0)}),s===!1&&n===!0&&(e.current=E0.slice())},[t,E0,e]),v1(()=>{var n;return(n=e.current.find(s=>s!=null&&s.isConnected))!=null?n:null})}function ub(t,{ownerDocument:e}){let n=!!(t&8),s=Cb(n);Ro(()=>{n||ot(e==null?void 0:e.body)&&Y9(s())},[n]),Qu(()=>{n&&Y9(s())})}function db(t,{ownerDocument:e,container:n,initialFocus:s,initialFocusFallback:l}){let L=y.useRef(null),c=$6(!!(t&1),"focus-trap#initial-focus"),C=Eo();return Ro(()=>{if(t===0)return;if(!c){l!=null&&l.current&&Y9(l.current);return}let d=n.current;d&&lt(()=>{if(!C.current)return;let f=e==null?void 0:e.activeElement;if(s!=null&&s.current){if((s==null?void 0:s.current)===f){L.current=f;return}}else if(d.contains(f)){L.current=f;return}if(s!=null&&s.current)Y9(s.current);else{if(t&16){if(M5(d,E4.First|E4.AutoFocus)!==G6.Error)return}else if(M5(d,E4.First)!==G6.Error)return;if(l!=null&&l.current&&(Y9(l.current),(e==null?void 0:e.activeElement)===l.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}L.current=e==null?void 0:e.activeElement})},[l,c,t]),L}function hb(t,{ownerDocument:e,container:n,containers:s,previousActiveElement:l}){let L=Eo(),c=!!(t&4);Au(e==null?void 0:e.defaultView,"focus",C=>{if(!c||!L.current)return;let d=ld(s);A9(n.current)&&d.add(n.current);let f=l.current;if(!f)return;let g=C.target;A9(g)?rd(d,g)?(l.current=g,Y9(g)):(C.preventDefault(),C.stopPropagation(),Y9(f)):Y9(l.current)},!0)}function rd(t,e){for(let n of t)if(n.contains(e))return!0;return!1}function ad(t){var e;return!!(t.enter||t.enterFrom||t.enterTo||t.leave||t.leaveFrom||t.leaveTo)||!H6((e=t.as)!=null?e:cd)||k2.Children.count(t.children)===1}let yt=y.createContext(null);yt.displayName="TransitionContext";var fb=(t=>(t.Visible="visible",t.Hidden="hidden",t))(fb||{});function gb(){let t=y.useContext(yt);if(t===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return t}function pb(){let t=y.useContext(Rt);if(t===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return t}let Rt=y.createContext(null);Rt.displayName="NestingContext";function bt(t){return"children"in t?bt(t.children):t.current.filter(({el:e})=>e.current!==null).filter(({state:e})=>e==="visible").length>0}function Ld(t,e){let n=V9(t),s=y.useRef([]),l=Eo(),L=U6(),c=v1((v,b=A0.Hidden)=>{let A=s.current.findIndex(({el:k})=>k===v);A!==-1&&(b9(b,{[A0.Unmount](){s.current.splice(A,1)},[A0.Hidden](){s.current[A].state="hidden"}}),L.microTask(()=>{var k;!bt(s)&&l.current&&((k=n.current)==null||k.call(n))}))}),C=v1(v=>{let b=s.current.find(({el:A})=>A===v);return b?b.state!=="visible"&&(b.state="visible"):s.current.push({el:v,state:"visible"}),()=>c(v,A0.Unmount)}),d=y.useRef([]),f=y.useRef(Promise.resolve()),g=y.useRef({enter:[],leave:[]}),p=v1((v,b,A)=>{d.current.splice(0),e&&(e.chains.current[b]=e.chains.current[b].filter(([k])=>k!==v)),e==null||e.chains.current[b].push([v,new Promise(k=>{d.current.push(k)})]),e==null||e.chains.current[b].push([v,new Promise(k=>{Promise.all(g.current[b].map(([S,N])=>N)).then(()=>k())})]),b==="enter"?f.current=f.current.then(()=>e==null?void 0:e.wait.current).then(()=>A(b)):A(b)}),m=v1((v,b,A)=>{Promise.all(g.current[b].splice(0).map(([k,S])=>S)).then(()=>{var k;(k=d.current.shift())==null||k()}).then(()=>A(b))});return y.useMemo(()=>({children:s,register:C,unregister:c,onStart:p,onStop:m,wait:f,chains:g}),[C,c,s,p,m,g,f])}let cd=y.Fragment,Cd=at.RenderStrategy;function mb(t,e){var n,s;let{transition:l=!0,beforeEnter:L,afterEnter:c,beforeLeave:C,afterLeave:d,enter:f,enterFrom:g,enterTo:p,entered:m,leave:v,leaveFrom:b,leaveTo:A,...k}=t,[S,N]=y.useState(null),I=y.useRef(null),O=ad(t),B=p4(...O?[I,e,N]:e===null?[]:[e]),P=(n=k.unmount)==null||n?A0.Unmount:A0.Hidden,{show:Y,appear:n2,initial:l2}=gb(),[f2,c2]=y.useState(Y?"visible":"hidden"),h2=pb(),{register:b2,unregister:V}=h2;O3(()=>b2(I),[b2,I]),O3(()=>{if(P===A0.Hidden&&I.current){if(Y&&f2!=="visible"){c2("visible");return}return b9(f2,{hidden:()=>V(I),visible:()=>b2(I)})}},[f2,I,b2,V,Y,P]);let W=_t();O3(()=>{if(O&&W&&f2==="visible"&&I.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[I,f2,W,O]);let T=l2&&!n2,j=n2&&Y&&l2,$=y.useRef(!1),o2=Ld(()=>{$.current||(c2("hidden"),V(I))},h2),g2=v1(p2=>{$.current=!0;let N2=p2?"enter":"leave";o2.onStart(I,N2,P2=>{P2==="enter"?L==null||L():P2==="leave"&&(C==null||C())})}),Z=v1(p2=>{let N2=p2?"enter":"leave";$.current=!1,o2.onStop(I,N2,P2=>{P2==="enter"?c==null||c():P2==="leave"&&(d==null||d())}),N2==="leave"&&!bt(o2)&&(c2("hidden"),V(I))});y.useEffect(()=>{O&&l||(g2(Y),Z(Y))},[Y,O,l]);let F=!(!l||!O||!W||T),[,E]=oR(F,S,Y,{start:g2,end:Z}),U=S0({ref:B,className:((s=fo(k.className,j&&f,j&&g,E.enter&&f,E.enter&&E.closed&&g,E.enter&&!E.closed&&p,E.leave&&v,E.leave&&!E.closed&&b,E.leave&&E.closed&&A,!E.transition&&Y&&m))==null?void 0:s.trim())||void 0,...sR(E)}),K=0;f2==="visible"&&(K|=c9.Open),f2==="hidden"&&(K|=c9.Closed),Y&&f2==="hidden"&&(K|=c9.Opening),!Y&&f2==="visible"&&(K|=c9.Closing);let m2=Q3();return k2.createElement(Rt.Provider,{value:o2},k2.createElement(jR,{value:K},m2({ourProps:U,theirProps:k,defaultTag:cd,features:Cd,visible:f2==="visible",name:"Transition.Child"})))}function xb(t,e){let{show:n,appear:s=!1,unmount:l=!0,...L}=t,c=y.useRef(null),C=ad(t),d=p4(...C?[c,e]:e===null?[]:[e]);_t();let f=Mt();if(n===void 0&&f!==null&&(n=(f&c9.Open)===c9.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[g,p]=y.useState(n?"visible":"hidden"),m=Ld(()=>{n||p("hidden")}),[v,b]=y.useState(!0),A=y.useRef([n]);O3(()=>{v!==!1&&A.current[A.current.length-1]!==n&&(A.current.push(n),b(!1))},[A,n]);let k=y.useMemo(()=>({show:n,appear:s,initial:v}),[n,s,v]);O3(()=>{n?p("visible"):!bt(m)&&c.current!==null&&p("hidden")},[n,m]);let S={unmount:l},N=v1(()=>{var B;v&&b(!1),(B=t.beforeEnter)==null||B.call(t)}),I=v1(()=>{var B;v&&b(!1),(B=t.beforeLeave)==null||B.call(t)}),O=Q3();return k2.createElement(Rt.Provider,{value:m},k2.createElement(yt.Provider,{value:k},O({ourProps:{...S,as:y.Fragment,children:k2.createElement(ud,{ref:d,...S,...L,beforeEnter:N,beforeLeave:I})},theirProps:{},defaultTag:y.Fragment,features:Cd,visible:g==="visible",name:"Transition"})))}function wb(t,e){let n=y.useContext(yt)!==null,s=Mt()!==null;return k2.createElement(k2.Fragment,null,!n&&s?k2.createElement(Io,{ref:e,...t}):k2.createElement(ud,{ref:e,...t}))}let Io=E3(xb),ud=E3(mb),K6=E3(wb),dd=Object.assign(Io,{Child:K6,Root:Io});var vb=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(vb||{}),Mb=(t=>(t[t.SetTitleId=0]="SetTitleId",t))(Mb||{});let _b={0(t,e){return t.titleId===e.id?t:{...t,titleId:e.id}}},zo=y.createContext(null);zo.displayName="DialogContext";function At(t){let e=y.useContext(zo);if(e===null){let n=new Error(`<${t} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,At),n}return e}function yb(t,e){return b9(e.type,_b,t,e)}let hd=E3(function(t,e){let n=y.useId(),{id:s=`headlessui-dialog-${n}`,open:l,onClose:L,initialFocus:c,role:C="dialog",autoFocus:d=!0,__demoMode:f=!1,unmount:g=!1,...p}=t,m=y.useRef(!1);C=(function(){return C==="dialog"||C==="alertdialog"?C:(m.current||(m.current=!0,console.warn(`Invalid role [${C}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")})();let v=Mt();l===void 0&&v!==null&&(l=(v&c9.Open)===c9.Open);let b=y.useRef(null),A=p4(b,e),k=yo(b.current),S=l?0:1,[N,I]=y.useReducer(yb,{titleId:null,descriptionId:null,panelRef:y.createRef()}),O=v1(()=>L(!1)),B=v1(E=>I({type:0,id:E})),P=_t()?S===0:!1,[Y,n2]=JR(),l2={get current(){var E;return(E=N.panelRef.current)!=null?E:b.current}},f2=od(),{resolveContainers:c2}=sb({mainTreeNode:f2,portals:Y,defaultContainers:[l2]}),h2=v!==null?(v&c9.Closing)===c9.Closing:!1;Dy(f||h2?!1:P,{allowed:v1(()=>{var E,U;return[(U=(E=b.current)==null?void 0:E.closest("[data-headlessui-portal]"))!=null?U:null]}),disallowed:v1(()=>{var E;return[(E=f2==null?void 0:f2.closest("body > *:not(#headlessui-portal-root)"))!=null?E:null]})});let b2=fu.get(null);O3(()=>{if(P)return b2.actions.push(s),()=>b2.actions.pop(s)},[b2,s,P]);let V=mu(b2,y.useCallback(E=>b2.selectors.isTop(E,s),[b2,s]));qy(V,c2,E=>{E.preventDefault(),O()}),nb(V,k==null?void 0:k.defaultView,E=>{E.preventDefault(),E.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),O()}),tR(f||h2?!1:P,k,c2),Fy(P,b,O);let[W,T]=po(),j=y.useMemo(()=>[{dialogState:S,close:O,setTitleId:B,unmount:g},N],[S,O,B,g,N]),$=G9({open:S===0}),o2={ref:A,id:s,role:C,tabIndex:-1,"aria-modal":f?void 0:S===0?!0:void 0,"aria-labelledby":N.titleId,"aria-describedby":W,unmount:g},g2=!ib(),Z=y5.None;P&&!f&&(Z|=y5.RestoreFocus,Z|=y5.TabLock,d&&(Z|=y5.AutoFocus),g2&&(Z|=y5.InitialFocus));let F=Q3();return k2.createElement($R,null,k2.createElement(Ju,{force:!0},k2.createElement(tb,null,k2.createElement(zo.Provider,{value:j},k2.createElement(nd,{target:b},k2.createElement(Ju,{force:!1},k2.createElement(T,{slot:$},k2.createElement(n2,null,k2.createElement(cb,{initialFocus:c,initialFocusFallback:b,containers:c2,features:Z},k2.createElement(vy,{value:O},F({ourProps:o2,theirProps:p,slot:$,defaultTag:Rb,features:bb,visible:S===0,name:"Dialog"})))))))))))}),Rb="div",bb=at.RenderStrategy|at.Static;function Ab(t,e){let{transition:n=!1,open:s,...l}=t,L=Mt(),c=t.hasOwnProperty("open")||L!==null,C=t.hasOwnProperty("onClose");if(!c&&!C)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!c)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!C)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!L&&typeof t.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${t.open}`);if(typeof t.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${t.onClose}`);return(s!==void 0||n)&&!l.static?k2.createElement(sd,null,k2.createElement(dd,{show:s,transition:n,unmount:l.unmount},k2.createElement(hd,{ref:e,...l}))):k2.createElement(sd,null,k2.createElement(hd,{ref:e,open:s,...l}))}let Sb="div";function kb(t,e){let n=y.useId(),{id:s=`headlessui-dialog-panel-${n}`,transition:l=!1,...L}=t,[{dialogState:c,unmount:C},d]=At("Dialog.Panel"),f=p4(e,d.panelRef),g=G9({open:c===0}),p=v1(k=>{k.stopPropagation()}),m={ref:f,id:s,onClick:p},v=l?K6:y.Fragment,b=l?{unmount:C}:{},A=Q3();return k2.createElement(v,{...b},A({ourProps:m,theirProps:L,slot:g,defaultTag:Sb,name:"Dialog.Panel"}))}let Zb="div";function Tb(t,e){let{transition:n=!1,...s}=t,[{dialogState:l,unmount:L}]=At("Dialog.Backdrop"),c=G9({open:l===0}),C={ref:e,"aria-hidden":!0},d=n?K6:y.Fragment,f=n?{unmount:L}:{},g=Q3();return k2.createElement(d,{...f},g({ourProps:C,theirProps:s,slot:c,defaultTag:Zb,name:"Dialog.Backdrop"}))}let Eb="h2";function Ib(t,e){let n=y.useId(),{id:s=`headlessui-dialog-title-${n}`,...l}=t,[{dialogState:L,setTitleId:c}]=At("Dialog.Title"),C=p4(e);y.useEffect(()=>(c(s),()=>c(null)),[s,c]);let d=G9({open:L===0}),f={ref:C,id:s};return Q3()({ourProps:f,theirProps:l,slot:d,defaultTag:Eb,name:"Dialog.Title"})}let zb=E3(Ab),fd=E3(kb);E3(Tb);let gd=E3(Ib),Nb=Object.assign(zb,{Panel:fd,Title:gd,Description:ou});var Ob=(t=>(t[t.RegisterOption=0]="RegisterOption",t[t.UnregisterOption=1]="UnregisterOption",t))(Ob||{});let Db={0(t,e){let n=[...t.options,{id:e.id,element:e.element,propsRef:e.propsRef}];return{...t,options:Mu(n,s=>s.element.current)}},1(t,e){let n=t.options.slice(),s=t.options.findIndex(l=>l.id===e.id);return s===-1?t:(n.splice(s,1),{...t,options:n})}},No=y.createContext(null);No.displayName="RadioGroupDataContext";function Oo(t){let e=y.useContext(No);if(e===null){let n=new Error(`<${t} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Oo),n}return e}let Do=y.createContext(null);Do.displayName="RadioGroupActionsContext";function Fo(t){let e=y.useContext(Do);if(e===null){let n=new Error(`<${t} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Fo),n}return e}function Fb(t,e){return b9(e.type,Db,t,e)}let Bb="div";function Ub(t,e){let n=y.useId(),s=rt(),{id:l=`headlessui-radiogroup-${n}`,value:L,form:c,name:C,onChange:d,by:f,disabled:g=s||!1,defaultValue:p,tabIndex:m=0,...v}=t,b=_y(f),[A,k]=y.useReducer(Fb,{options:[]}),S=A.options,[N,I]=au(),[O,B]=po(),P=y.useRef(null),Y=p4(P,e),n2=X_(p),[l2,f2]=Y_(L,d,n2),c2=y.useMemo(()=>S.find(F=>!F.propsRef.current.disabled),[S]),h2=y.useMemo(()=>S.some(F=>b(F.propsRef.current.value,l2)),[S,l2]),b2=v1(F=>{var E;if(g||b(F,l2))return!1;let U=(E=S.find(K=>b(K.propsRef.current.value,F)))==null?void 0:E.propsRef.current;return U!=null&&U.disabled?!1:(f2==null||f2(F),!0)}),V=v1(F=>{if(!P.current)return;let E=S.filter(U=>U.propsRef.current.disabled===!1).map(U=>U.element.current);switch(F.key){case Z0.Enter:Q_(F.currentTarget);break;case Z0.ArrowLeft:case Z0.ArrowUp:if(F.preventDefault(),F.stopPropagation(),M5(E,E4.Previous|E4.WrapAround)===G6.Success){let U=S.find(K=>ot(K.element.current));U&&b2(U.propsRef.current.value)}break;case Z0.ArrowRight:case Z0.ArrowDown:if(F.preventDefault(),F.stopPropagation(),M5(E,E4.Next|E4.WrapAround)===G6.Success){let U=S.find(K=>ot(K.element.current));U&&b2(U.propsRef.current.value)}break;case Z0.Space:{F.preventDefault(),F.stopPropagation();let U=S.find(K=>ot(K.element.current));U&&b2(U.propsRef.current.value)}break}}),W=v1(F=>(k({type:0,...F}),()=>k({type:1,id:F.id}))),T=y.useMemo(()=>({value:l2,firstOption:c2,containsCheckedOption:h2,disabled:g,compare:b,tabIndex:m,...A}),[l2,c2,h2,g,b,m,A]),j=y.useMemo(()=>({registerOption:W,change:b2}),[W,b2]),$={ref:Y,id:l,role:"radiogroup","aria-labelledby":N,"aria-describedby":O,onKeyDown:V},o2=G9({value:l2}),g2=y.useCallback(()=>{if(n2!==void 0)return b2(n2)},[b2,n2]),Z=Q3();return k2.createElement(B,{name:"RadioGroup.Description"},k2.createElement(I,{name:"RadioGroup.Label"},k2.createElement(Do.Provider,{value:j},k2.createElement(No.Provider,{value:T},C!=null&&k2.createElement(iy,{disabled:g,data:{[C]:l2||"on"},overrides:{type:"radio",checked:l2!=null},form:c,onReset:g2}),Z({ourProps:$,theirProps:v,slot:o2,defaultTag:Bb,name:"RadioGroup"})))))}let Hb="div";function Pb(t,e){var n;let s=Oo("RadioGroup.Option"),l=Fo("RadioGroup.Option"),L=y.useId(),{id:c=`headlessui-radiogroup-option-${L}`,value:C,disabled:d=s.disabled||!1,autoFocus:f=!1,...g}=t,p=y.useRef(null),m=p4(p,e),[v,b]=au(),[A,k]=po(),S=V9({value:C,disabled:d});O3(()=>l.registerOption({id:c,element:p,propsRef:S}),[c,l,p,S]);let N=v1(h2=>{var b2;if(nu(h2.currentTarget))return h2.preventDefault();l.change(C)&&((b2=p.current)==null||b2.focus())}),I=((n=s.firstOption)==null?void 0:n.id)===c,{isFocusVisible:O,focusProps:B}=$C({autoFocus:f}),{isHovered:P,hoverProps:Y}=jC({isDisabled:d}),n2=s.compare(s.value,C),l2=qC({ref:m,id:c,role:"radio","aria-checked":n2?"true":"false","aria-labelledby":v,"aria-describedby":A,"aria-disabled":d?!0:void 0,tabIndex:d?-1:n2||!s.containsCheckedOption&&I?s.tabIndex:-1,onClick:d?void 0:N,autoFocus:f},B,Y),f2=G9({checked:n2,disabled:d,active:O,hover:P,focus:O,autofocus:f}),c2=Q3();return k2.createElement(k,{name:"RadioGroup.Description"},k2.createElement(b,{name:"RadioGroup.Label"},c2({ourProps:l2,theirProps:g,slot:f2,defaultTag:Hb,name:"RadioGroup.Option"})))}let Wb="span";function jb(t,e){var n;let s=Oo("Radio"),l=Fo("Radio"),L=y.useId(),c=KC(),C=rt(),{id:d=c||`headlessui-radio-${L}`,value:f,disabled:g=s.disabled||C||!1,autoFocus:p=!1,...m}=t,v=y.useRef(null),b=p4(v,e),A=ru(),k=dy(),S=V9({value:f,disabled:g});O3(()=>l.registerOption({id:d,element:v,propsRef:S}),[d,l,v,S]);let N=v1(c2=>{var h2;if(nu(c2.currentTarget))return c2.preventDefault();l.change(f)&&((h2=v.current)==null||h2.focus())}),{isFocusVisible:I,focusProps:O}=$C({autoFocus:p}),{isHovered:B,hoverProps:P}=jC({isDisabled:g}),Y=((n=s.firstOption)==null?void 0:n.id)===d,n2=s.compare(s.value,f),l2=qC({ref:b,id:d,role:"radio","aria-checked":n2?"true":"false","aria-labelledby":A,"aria-describedby":k,"aria-disabled":g?!0:void 0,tabIndex:g?-1:n2||!s.containsCheckedOption&&Y?s.tabIndex:-1,autoFocus:p,onClick:g?void 0:N},O,P),f2=G9({checked:n2,disabled:g,hover:B,focus:I,autofocus:p});return Q3()({ourProps:l2,theirProps:m,slot:f2,defaultTag:Wb,name:"Radio"})}let $b=E3(Ub),Vb=E3(Pb),pd=E3(jb),Gb=mo,qb=ou,Yb=Object.assign($b,{Option:Vb,Radio:pd,Label:Gb,Description:qb});class Xb{constructor(){d2(this,"events",{})}on(e,n){this.events[e]||(this.events[e]=new Set),a3.debug(`Event ${e} ${n} added`),a3.debug(this.events),this.events[e].add(n)}off(e,n){var s;a3.debug(`Event ${e} ${n} removed`),a3.debug(this.events),(s=this.events[e])==null||s.delete(n)}emit(e,n){const s=this.events[e];s&&s.forEach(l=>l(n))}}const J6=new Xb;function Qb(t,e,n,s){const l={label:JSON.stringify(e),action:n,category:s};t.get(Wc)("eventEmit",{event:"trackEvent",data:l}),J6.emit("trackEvent",l)}const md=[{name:"Legacy",id:"theme-default",icon:`<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
157
+ */var gu;function Iy(){if(gu)return Mo;gu=1;var t=oe();function e(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var n=typeof Object.is=="function"?Object.is:e,s=t.useSyncExternalStore,l=t.useRef,L=t.useEffect,c=t.useMemo,C=t.useDebugValue;return Mo.useSyncExternalStoreWithSelector=function(d,f,g,p,m){var v=l(null);if(v.current===null){var b={hasValue:!1,value:null};v.current=b}else b=v.current;v=c(function(){function k(B){if(!S){if(S=!0,N=B,B=p(B),m!==void 0&&b.hasValue){var P=b.value;if(m(P,B))return I=P}return I=B}if(P=I,n(N,B))return P;var Y=p(B);return m!==void 0&&m(P,Y)?(N=B,P):(N=B,I=Y)}var S=!1,N,I,O=g===void 0?null:g;return[function(){return k(f())},O===null?void 0:function(){return k(O())}]},[f,g,p,m]);var A=s(d,v[0],v[1]);return L(function(){b.hasValue=!0,b.value=A},[A]),C(A),A},Mo}var pu;function zy(){return pu||(pu=1,vo.exports=Iy()),vo.exports}var Ny=zy();function mu(t,e,n=uu){return Ny.useSyncExternalStoreWithSelector(v1(s=>t.subscribe(Oy,s)),v1(()=>t.state),v1(()=>t.state),v1(e),n)}function Oy(t){return t}function $6(t,e){let n=y.useId(),s=fu.get(e),[l,L]=mu(s,y.useCallback(c=>[s.selectors.isTop(c,n),s.selectors.inStack(c,n)],[s,n]));return O3(()=>{if(t)return s.actions.push(n),()=>s.actions.pop(n)},[s,t,n]),t?L?l:!0:!1}let _o=new Map,V6=new Map;function xu(t){var e;let n=(e=V6.get(t))!=null?e:0;return V6.set(t,n+1),n!==0?()=>wu(t):(_o.set(t,{"aria-hidden":t.getAttribute("aria-hidden"),inert:t.inert}),t.setAttribute("aria-hidden","true"),t.inert=!0,()=>wu(t))}function wu(t){var e;let n=(e=V6.get(t))!=null?e:1;if(n===1?V6.delete(t):V6.set(t,n-1),n!==1)return;let s=_o.get(t);s&&(s["aria-hidden"]===null?t.removeAttribute("aria-hidden"):t.setAttribute("aria-hidden",s["aria-hidden"]),t.inert=s.inert,_o.delete(t))}function Dy(t,{allowed:e,disallowed:n}={}){let s=$6(t,"inert-others");O3(()=>{var l,L;if(!s)return;let c=$9();for(let d of(l=n==null?void 0:n())!=null?l:[])d&&c.add(xu(d));let C=(L=e==null?void 0:e())!=null?L:[];for(let d of C){if(!d)continue;let f=B6(d);if(!f)continue;let g=d.parentElement;for(;g&&g!==f.body;){for(let p of g.children)C.some(m=>p.contains(m))||c.add(xu(p));g=g.parentElement}}return c.dispose},[s,e,n])}function Fy(t,e,n){let s=V9(l=>{let L=l.getBoundingClientRect();L.x===0&&L.y===0&&L.width===0&&L.height===0&&n()});y.useEffect(()=>{if(!t)return;let l=e===null?null:A9(e)?e:e.current;if(!l)return;let L=$9();if(typeof ResizeObserver<"u"){let c=new ResizeObserver(()=>s.current(l));c.observe(l),L.add(()=>c.disconnect())}if(typeof IntersectionObserver<"u"){let c=new IntersectionObserver(()=>s.current(l));c.observe(l),L.add(()=>c.disconnect())}return()=>L.dispose()},[e,s,t])}let ut=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(t=>`${t}:not([tabindex='-1'])`).join(","),By=["[data-autofocus]"].map(t=>`${t}:not([tabindex='-1'])`).join(",");var E4=(t=>(t[t.First=1]="First",t[t.Previous=2]="Previous",t[t.Next=4]="Next",t[t.Last=8]="Last",t[t.WrapAround=16]="WrapAround",t[t.NoScroll=32]="NoScroll",t[t.AutoFocus=64]="AutoFocus",t))(E4||{}),G6=(t=>(t[t.Error=0]="Error",t[t.Overflow=1]="Overflow",t[t.Success=2]="Success",t[t.Underflow=3]="Underflow",t))(G6||{}),Uy=(t=>(t[t.Previous=-1]="Previous",t[t.Next=1]="Next",t))(Uy||{});function Hy(t=document.body){return t==null?[]:Array.from(t.querySelectorAll(ut)).sort((e,n)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function Py(t=document.body){return t==null?[]:Array.from(t.querySelectorAll(By)).sort((e,n)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var vu=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(vu||{});function Wy(t,e=0){var n;return t===((n=B6(t))==null?void 0:n.body)?!1:b9(e,{0(){return t.matches(ut)},1(){let s=t;for(;s!==null;){if(s.matches(ut))return!0;s=s.parentElement}return!1}})}var jy=(t=>(t[t.Keyboard=0]="Keyboard",t[t.Mouse=1]="Mouse",t))(jy||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",t=>{t.metaKey||t.altKey||t.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",t=>{t.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:t.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Y9(t){t==null||t.focus({preventScroll:!0})}let $y=["textarea","input"].join(",");function Vy(t){var e,n;return(n=(e=t==null?void 0:t.matches)==null?void 0:e.call(t,$y))!=null?n:!1}function Mu(t,e=n=>n){return t.slice().sort((n,s)=>{let l=e(n),L=e(s);if(l===null||L===null)return 0;let c=l.compareDocumentPosition(L);return c&Node.DOCUMENT_POSITION_FOLLOWING?-1:c&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function M5(t,e,{sorted:n=!0,relativeTo:s=null,skipElements:l=[]}={}){let L=Array.isArray(t)?t.length>0?ho(t[0]):document:ho(t),c=Array.isArray(t)?n?Mu(t):t:e&64?Py(t):Hy(t);l.length>0&&c.length>1&&(c=c.filter(v=>!l.some(b=>b!=null&&"current"in b?(b==null?void 0:b.current)===v:b===v))),s=s??(L==null?void 0:L.activeElement);let C=(()=>{if(e&5)return 1;if(e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(e&1)return 0;if(e&2)return Math.max(0,c.indexOf(s))-1;if(e&4)return Math.max(0,c.indexOf(s))+1;if(e&8)return c.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=e&32?{preventScroll:!0}:{},g=0,p=c.length,m;do{if(g>=p||g+p<=0)return 0;let v=d+g;if(e&16)v=(v+p)%p;else{if(v<0)return 3;if(v>=p)return 1}m=c[v],m==null||m.focus(f),g+=C}while(m!==VC(m));return e&6&&Vy(m)&&m.select(),2}function _u(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Gy(){return/Android/gi.test(window.navigator.userAgent)}function yu(){return _u()||Gy()}function dt(t,e,n,s){let l=V9(n);y.useEffect(()=>{if(!t)return;function L(c){l.current(c)}return document.addEventListener(e,L,s),()=>document.removeEventListener(e,L,s)},[t,e,s])}function Ru(t,e,n,s){let l=V9(n);y.useEffect(()=>{if(!t)return;function L(c){l.current(c)}return window.addEventListener(e,L,s),()=>window.removeEventListener(e,L,s)},[t,e,s])}const bu=30;function qy(t,e,n){let s=V9(n),l=y.useCallback(function(C,d){if(C.defaultPrevented)return;let f=d(C);if(f===null||!f.getRootNode().contains(f)||!f.isConnected)return;let g=(function p(m){return typeof m=="function"?p(m()):Array.isArray(m)||m instanceof Set?m:[m]})(e);for(let p of g)if(p!==null&&(p.contains(f)||C.composed&&C.composedPath().includes(p)))return;return!Wy(f,vu.Loose)&&f.tabIndex!==-1&&C.preventDefault(),s.current(C,f)},[s,e]),L=y.useRef(null);dt(t,"pointerdown",C=>{var d,f;yu()||(L.current=((f=(d=C.composedPath)==null?void 0:d.call(C))==null?void 0:f[0])||C.target)},!0),dt(t,"pointerup",C=>{if(yu()||!L.current)return;let d=L.current;return L.current=null,l(C,()=>d)},!0);let c=y.useRef({x:0,y:0});dt(t,"touchstart",C=>{c.current.x=C.touches[0].clientX,c.current.y=C.touches[0].clientY},!0),dt(t,"touchend",C=>{let d={x:C.changedTouches[0].clientX,y:C.changedTouches[0].clientY};if(!(Math.abs(d.x-c.current.x)>=bu||Math.abs(d.y-c.current.y)>=bu))return l(C,()=>S0(C.target)?C.target:null)},!0),Ru(t,"blur",C=>l(C,()=>ay(window.document.activeElement)?window.document.activeElement:null),!0)}function yo(...t){return y.useMemo(()=>B6(...t),[...t])}function Au(t,e,n,s){let l=V9(n);y.useEffect(()=>{t=t??window;function L(c){l.current(c)}return t.addEventListener(e,L,s),()=>t.removeEventListener(e,L,s)},[t,e,s])}function Yy(t){return y.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getSnapshot)}function Xy(t,e){let n=t(),s=new Set;return{getSnapshot(){return n},subscribe(l){return s.add(l),()=>s.delete(l)},dispatch(l,...L){let c=e[l].call(n,...L);c&&(n=c,s.forEach(C=>C()))}}}function Qy(){let t;return{before({doc:e}){var n;let s=e.documentElement,l=(n=e.defaultView)!=null?n:window;t=Math.max(0,l.innerWidth-s.clientWidth)},after({doc:e,d:n}){let s=e.documentElement,l=Math.max(0,s.clientWidth-s.offsetWidth),L=Math.max(0,t-l);n.style(s,"paddingRight",`${L}px`)}}}function Ky(){return _u()?{before({doc:t,d:e,meta:n}){function s(l){for(let L of n().containers)for(let c of L())if(c.contains(l))return!0;return!1}e.microTask(()=>{var l;if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let C=$9();C.style(t.documentElement,"scrollBehavior","auto"),e.add(()=>e.microTask(()=>C.dispose()))}let L=(l=window.scrollY)!=null?l:window.pageYOffset,c=null;e.addEventListener(t,"click",C=>{if(S0(C.target))try{let d=C.target.closest("a");if(!d)return;let{hash:f}=new URL(d.href),g=t.querySelector(f);S0(g)&&!s(g)&&(c=g)}catch{}},!0),e.group(C=>{e.addEventListener(t,"touchstart",d=>{if(C.dispose(),S0(d.target)&&ry(d.target))if(s(d.target)){let f=d.target;for(;f.parentElement&&s(f.parentElement);)f=f.parentElement;C.style(f,"overscrollBehavior","contain")}else C.style(d.target,"touchAction","none")})}),e.addEventListener(t,"touchmove",C=>{if(S0(C.target)){if(JC(C.target))return;if(s(C.target)){let d=C.target;for(;d.parentElement&&d.dataset.headlessuiPortal!==""&&!(d.scrollHeight>d.clientHeight||d.scrollWidth>d.clientWidth);)d=d.parentElement;d.dataset.headlessuiPortal===""&&C.preventDefault()}else C.preventDefault()}},{passive:!1}),e.add(()=>{var C;let d=(C=window.scrollY)!=null?C:window.pageYOffset;L!==d&&window.scrollTo(0,L),c&&c.isConnected&&(c.scrollIntoView({block:"nearest"}),c=null)})})}}:{}}function Jy(){return{before({doc:t,d:e}){e.style(t.documentElement,"overflow","hidden")}}}function Su(t){let e={};for(let n of t)Object.assign(e,n(e));return e}let _5=Xy(()=>new Map,{PUSH(t,e){var n;let s=(n=this.get(t))!=null?n:{doc:t,count:0,d:$9(),meta:new Set,computedMeta:{}};return s.count++,s.meta.add(e),s.computedMeta=Su(s.meta),this.set(t,s),this},POP(t,e){let n=this.get(t);return n&&(n.count--,n.meta.delete(e),n.computedMeta=Su(n.meta)),this},SCROLL_PREVENT(t){let e={doc:t.doc,d:t.d,meta(){return t.computedMeta}},n=[Ky(),Qy(),Jy()];n.forEach(({before:s})=>s==null?void 0:s(e)),n.forEach(({after:s})=>s==null?void 0:s(e))},SCROLL_ALLOW({d:t}){t.dispose()},TEARDOWN({doc:t}){this.delete(t)}});_5.subscribe(()=>{let t=_5.getSnapshot(),e=new Map;for(let[n]of t)e.set(n,n.documentElement.style.overflow);for(let n of t.values()){let s=e.get(n.doc)==="hidden",l=n.count!==0;(l&&!s||!l&&s)&&_5.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&_5.dispatch("TEARDOWN",n)}});function eR(t,e,n=()=>({containers:[]})){let s=Yy(_5),l=e?s.get(e):void 0,L=l?l.count>0:!1;return O3(()=>{if(!(!e||!t))return _5.dispatch("PUSH",e,n),()=>_5.dispatch("POP",e,n)},[t,e]),L}function tR(t,e,n=()=>[document.body]){let s=$6(t,"scroll-lock");eR(s,e,l=>{var L;return{containers:[...(L=l.containers)!=null?L:[],n]}})}function nR(t=0){let[e,n]=y.useState(t),s=y.useCallback(d=>n(d),[]),l=y.useCallback(d=>n(f=>f|d),[]),L=y.useCallback(d=>(e&d)===d,[e]),c=y.useCallback(d=>n(f=>f&~d),[]),C=y.useCallback(d=>n(f=>f^d),[]);return{flags:e,setFlag:s,addFlag:l,hasFlag:L,removeFlag:c,toggleFlag:C}}var ku,Zu;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((ku=process==null?void 0:process.env)==null?void 0:ku.NODE_ENV)==="test"&&typeof((Zu=Element==null?void 0:Element.prototype)==null?void 0:Zu.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
158
+ `)),[]});var iR=(t=>(t[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t))(iR||{});function sR(t){let e={};for(let n in t)t[n]===!0&&(e[`data-${n}`]="");return e}function oR(t,e,n,s){let[l,L]=y.useState(n),{hasFlag:c,addFlag:C,removeFlag:d}=nR(t&&l?3:0),f=y.useRef(!1),g=y.useRef(!1),p=U6();return O3(()=>{var m;if(t){if(n&&L(!0),!e){n&&C(3);return}return(m=s==null?void 0:s.start)==null||m.call(s,n),lR(e,{inFlight:f,prepare(){g.current?g.current=!1:g.current=f.current,f.current=!0,!g.current&&(n?(C(3),d(4)):(C(4),d(2)))},run(){g.current?n?(d(3),C(4)):(d(4),C(3)):n?d(1):C(1)},done(){var v;g.current&&LR(e)||(f.current=!1,d(7),n||L(!1),(v=s==null?void 0:s.end)==null||v.call(s,n))}})}},[t,n,e,p]),t?[l,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function lR(t,{prepare:e,run:n,done:s,inFlight:l}){let L=$9();return aR(t,{prepare:e,inFlight:l}),L.nextFrame(()=>{n(),L.requestAnimationFrame(()=>{L.add(rR(t,s))})}),L.dispose}function rR(t,e){var n,s;let l=$9();if(!t)return l.dispose;let L=!1;l.add(()=>{L=!0});let c=(s=(n=t.getAnimations)==null?void 0:n.call(t).filter(C=>C instanceof CSSTransition))!=null?s:[];return c.length===0?(e(),l.dispose):(Promise.allSettled(c.map(C=>C.finished)).then(()=>{L||e()}),l.dispose)}function aR(t,{inFlight:e,prepare:n}){if(e!=null&&e.current){n();return}let s=t.style.transition;t.style.transition="none",n(),t.offsetHeight,t.style.transition=s}function LR(t){var e,n;return((n=(e=t.getAnimations)==null?void 0:e.call(t))!=null?n:[]).some(s=>s instanceof CSSTransition&&s.playState!=="finished")}function Ro(t,e){let n=y.useRef([]),s=v1(t);y.useEffect(()=>{let l=[...n.current];for(let[L,c]of e.entries())if(n.current[L]!==c){let C=s(e,l);return n.current=e,C}},[s,...e])}function ht(){return typeof window<"u"}function m8(t){return Tu(t)?(t.nodeName||"").toLowerCase():"#document"}function I4(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function X9(t){var e;return(e=(Tu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Tu(t){return ht()?t instanceof Node||t instanceof I4(t).Node:!1}function L4(t){return ht()?t instanceof Element||t instanceof I4(t).Element:!1}function k9(t){return ht()?t instanceof HTMLElement||t instanceof I4(t).HTMLElement:!1}function Eu(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof I4(t).ShadowRoot}const cR=new Set(["inline","contents"]);function q6(t){const{overflow:e,overflowX:n,overflowY:s,display:l}=L9(t);return/auto|scroll|overlay|hidden|clip/.test(e+s+n)&&!cR.has(l)}const CR=new Set(["table","td","th"]);function uR(t){return CR.has(m8(t))}const dR=[":popover-open",":modal"];function ft(t){return dR.some(e=>{try{return t.matches(e)}catch{return!1}})}const hR=["transform","translate","scale","rotate","perspective"],fR=["transform","translate","scale","rotate","perspective","filter"],gR=["paint","layout","strict","content"];function bo(t){const e=Ao(),n=L4(t)?L9(t):t;return hR.some(s=>n[s]?n[s]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||fR.some(s=>(n.willChange||"").includes(s))||gR.some(s=>(n.contain||"").includes(s))}function pR(t){let e=Z0(t);for(;k9(e)&&!x8(e);){if(bo(e))return e;if(ft(e))return null;e=Z0(e)}return null}function Ao(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const mR=new Set(["html","body","#document"]);function x8(t){return mR.has(m8(t))}function L9(t){return I4(t).getComputedStyle(t)}function gt(t){return L4(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z0(t){if(m8(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Eu(t)&&t.host||X9(t);return Eu(e)?e.host:e}function Iu(t){const e=Z0(t);return x8(e)?t.ownerDocument?t.ownerDocument.body:t.body:k9(e)&&q6(e)?e:Iu(e)}function zu(t,e,n){var s;e===void 0&&(e=[]);const l=Iu(t),L=l===((s=t.ownerDocument)==null?void 0:s.body),c=I4(l);return L?(So(c),e.concat(c,c.visualViewport||[],q6(l)?l:[],[])):e.concat(l,zu(l,[]))}function So(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}const Nu=Math.min,Y6=Math.max,pt=Math.round,Z9=t=>({x:t,y:t});function Ou(t){return t.split("-")[0]}function xR(t){return t.split("-")[1]}function wR(t){return t==="x"?"y":"x"}function vR(t){return t==="y"?"height":"width"}const MR=new Set(["top","bottom"]);function Du(t){return MR.has(Ou(t))?"y":"x"}function _R(t){return wR(Du(t))}function Fu(t){const{x:e,y:n,width:s,height:l}=t;return{width:s,height:l,top:n,left:e,right:e+s,bottom:n+l,x:e,y:n}}function Bu(t,e,n){let{reference:s,floating:l}=t;const L=Du(e),c=_R(e),C=vR(c),d=Ou(e),f=L==="y",g=s.x+s.width/2-l.width/2,p=s.y+s.height/2-l.height/2,m=s[C]/2-l[C]/2;let v;switch(d){case"top":v={x:g,y:s.y-l.height};break;case"bottom":v={x:g,y:s.y+s.height};break;case"right":v={x:s.x+s.width,y:p};break;case"left":v={x:s.x-l.width,y:p};break;default:v={x:s.x,y:s.y}}switch(xR(e)){case"start":v[c]-=m*(n&&f?-1:1);break;case"end":v[c]+=m*(n&&f?-1:1);break}return v}const yR=async(t,e,n)=>{const{placement:s="bottom",strategy:l="absolute",middleware:L=[],platform:c}=n,C=L.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let f=await c.getElementRects({reference:t,floating:e,strategy:l}),{x:g,y:p}=Bu(f,s,d),m=s,v={},b=0;for(let A=0;A<C.length;A++){const{name:k,fn:S}=C[A],{x:N,y:I,data:O,reset:B}=await S({x:g,y:p,initialPlacement:s,placement:m,strategy:l,middlewareData:v,rects:f,platform:c,elements:{reference:t,floating:e}});g=N??g,p=I??p,v={...v,[k]:{...v[k],...O}},B&&b<=50&&(b++,typeof B=="object"&&(B.placement&&(m=B.placement),B.rects&&(f=B.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:l}):B.rects),{x:g,y:p}=Bu(f,m,d)),A=-1)}return{x:g,y:p,placement:m,strategy:l,middlewareData:v}};function Uu(t){const e=L9(t);let n=parseFloat(e.width)||0,s=parseFloat(e.height)||0;const l=k9(t),L=l?t.offsetWidth:n,c=l?t.offsetHeight:s,C=pt(n)!==L||pt(s)!==c;return C&&(n=L,s=c),{width:n,height:s,$:C}}function Hu(t){return L4(t)?t:t.contextElement}function w8(t){const e=Hu(t);if(!k9(e))return Z9(1);const n=e.getBoundingClientRect(),{width:s,height:l,$:L}=Uu(e);let c=(L?pt(n.width):n.width)/s,C=(L?pt(n.height):n.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!C||!Number.isFinite(C))&&(C=1),{x:c,y:C}}const RR=Z9(0);function Pu(t){const e=I4(t);return!Ao()||!e.visualViewport?RR:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function bR(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==I4(t)?!1:e}function X6(t,e,n,s){e===void 0&&(e=!1),n===void 0&&(n=!1);const l=t.getBoundingClientRect(),L=Hu(t);let c=Z9(1);e&&(s?L4(s)&&(c=w8(s)):c=w8(t));const C=bR(L,n,s)?Pu(L):Z9(0);let d=(l.left+C.x)/c.x,f=(l.top+C.y)/c.y,g=l.width/c.x,p=l.height/c.y;if(L){const m=I4(L),v=s&&L4(s)?I4(s):s;let b=m,A=So(b);for(;A&&s&&v!==b;){const k=w8(A),S=A.getBoundingClientRect(),N=L9(A),I=S.left+(A.clientLeft+parseFloat(N.paddingLeft))*k.x,O=S.top+(A.clientTop+parseFloat(N.paddingTop))*k.y;d*=k.x,f*=k.y,g*=k.x,p*=k.y,d+=I,f+=O,b=I4(A),A=So(b)}}return Fu({width:g,height:p,x:d,y:f})}function mt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:X6(X9(t)).left+n}function Wu(t,e){const n=t.getBoundingClientRect(),s=n.left+e.scrollLeft-mt(t,n),l=n.top+e.scrollTop;return{x:s,y:l}}function AR(t){let{elements:e,rect:n,offsetParent:s,strategy:l}=t;const L=l==="fixed",c=X9(s),C=e?ft(e.floating):!1;if(s===c||C&&L)return n;let d={scrollLeft:0,scrollTop:0},f=Z9(1);const g=Z9(0),p=k9(s);if((p||!p&&!L)&&((m8(s)!=="body"||q6(c))&&(d=gt(s)),k9(s))){const v=X6(s);f=w8(s),g.x=v.x+s.clientLeft,g.y=v.y+s.clientTop}const m=c&&!p&&!L?Wu(c,d):Z9(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-d.scrollLeft*f.x+g.x+m.x,y:n.y*f.y-d.scrollTop*f.y+g.y+m.y}}function SR(t){return Array.from(t.getClientRects())}function kR(t){const e=X9(t),n=gt(t),s=t.ownerDocument.body,l=Y6(e.scrollWidth,e.clientWidth,s.scrollWidth,s.clientWidth),L=Y6(e.scrollHeight,e.clientHeight,s.scrollHeight,s.clientHeight);let c=-n.scrollLeft+mt(t);const C=-n.scrollTop;return L9(s).direction==="rtl"&&(c+=Y6(e.clientWidth,s.clientWidth)-l),{width:l,height:L,x:c,y:C}}const ju=25;function ZR(t,e){const n=I4(t),s=X9(t),l=n.visualViewport;let L=s.clientWidth,c=s.clientHeight,C=0,d=0;if(l){L=l.width,c=l.height;const g=Ao();(!g||g&&e==="fixed")&&(C=l.offsetLeft,d=l.offsetTop)}const f=mt(s);if(f<=0){const g=s.ownerDocument,p=g.body,m=getComputedStyle(p),v=g.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,b=Math.abs(s.clientWidth-p.clientWidth-v);b<=ju&&(L-=b)}else f<=ju&&(L+=f);return{width:L,height:c,x:C,y:d}}const TR=new Set(["absolute","fixed"]);function ER(t,e){const n=X6(t,!0,e==="fixed"),s=n.top+t.clientTop,l=n.left+t.clientLeft,L=k9(t)?w8(t):Z9(1),c=t.clientWidth*L.x,C=t.clientHeight*L.y,d=l*L.x,f=s*L.y;return{width:c,height:C,x:d,y:f}}function $u(t,e,n){let s;if(e==="viewport")s=ZR(t,n);else if(e==="document")s=kR(X9(t));else if(L4(e))s=ER(e,n);else{const l=Pu(t);s={x:e.x-l.x,y:e.y-l.y,width:e.width,height:e.height}}return Fu(s)}function Vu(t,e){const n=Z0(t);return n===e||!L4(n)||x8(n)?!1:L9(n).position==="fixed"||Vu(n,e)}function IR(t,e){const n=e.get(t);if(n)return n;let s=zu(t,[]).filter(C=>L4(C)&&m8(C)!=="body"),l=null;const L=L9(t).position==="fixed";let c=L?Z0(t):t;for(;L4(c)&&!x8(c);){const C=L9(c),d=bo(c);!d&&C.position==="fixed"&&(l=null),(L?!d&&!l:!d&&C.position==="static"&&!!l&&TR.has(l.position)||q6(c)&&!d&&Vu(t,c))?s=s.filter(g=>g!==c):l=C,c=Z0(c)}return e.set(t,s),s}function zR(t){let{element:e,boundary:n,rootBoundary:s,strategy:l}=t;const c=[...n==="clippingAncestors"?ft(e)?[]:IR(e,this._c):[].concat(n),s],C=c[0],d=c.reduce((f,g)=>{const p=$u(e,g,l);return f.top=Y6(p.top,f.top),f.right=Nu(p.right,f.right),f.bottom=Nu(p.bottom,f.bottom),f.left=Y6(p.left,f.left),f},$u(e,C,l));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function NR(t){const{width:e,height:n}=Uu(t);return{width:e,height:n}}function OR(t,e,n){const s=k9(e),l=X9(e),L=n==="fixed",c=X6(t,!0,L,e);let C={scrollLeft:0,scrollTop:0};const d=Z9(0);function f(){d.x=mt(l)}if(s||!s&&!L)if((m8(e)!=="body"||q6(l))&&(C=gt(e)),s){const v=X6(e,!0,L,e);d.x=v.x+e.clientLeft,d.y=v.y+e.clientTop}else l&&f();L&&!s&&l&&f();const g=l&&!s&&!L?Wu(l,C):Z9(0),p=c.left+C.scrollLeft-d.x-g.x,m=c.top+C.scrollTop-d.y-g.y;return{x:p,y:m,width:c.width,height:c.height}}function ko(t){return L9(t).position==="static"}function Gu(t,e){if(!k9(t)||L9(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return X9(t)===n&&(n=n.ownerDocument.body),n}function qu(t,e){const n=I4(t);if(ft(t))return n;if(!k9(t)){let l=Z0(t);for(;l&&!x8(l);){if(L4(l)&&!ko(l))return l;l=Z0(l)}return n}let s=Gu(t,e);for(;s&&uR(s)&&ko(s);)s=Gu(s,e);return s&&x8(s)&&ko(s)&&!bo(s)?n:s||pR(t)||n}const DR=async function(t){const e=this.getOffsetParent||qu,n=this.getDimensions,s=await n(t.floating);return{reference:OR(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function FR(t){return L9(t).direction==="rtl"}const BR={convertOffsetParentRelativeRectToViewportRelativeRect:AR,getDocumentElement:X9,getClippingRect:zR,getOffsetParent:qu,getElementRects:DR,getClientRects:SR,getDimensions:NR,getScale:w8,isElement:L4,isRTL:FR},UR=(t,e,n)=>{const s=new Map,l={platform:BR,...n},L={...l.platform,_c:s};return yR(t,e,{...l,platform:L})};var HR=typeof document<"u",PR=function(){},xt=HR?y.useLayoutEffect:PR;function wt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,s,l;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(s=n;s--!==0;)if(!wt(t[s],e[s]))return!1;return!0}if(l=Object.keys(t),n=l.length,n!==Object.keys(e).length)return!1;for(s=n;s--!==0;)if(!{}.hasOwnProperty.call(e,l[s]))return!1;for(s=n;s--!==0;){const L=l[s];if(!(L==="_owner"&&t.$$typeof)&&!wt(t[L],e[L]))return!1}return!0}return t!==t&&e!==e}function Yu(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Xu(t,e){const n=Yu(t);return Math.round(e*n)/n}function Zo(t){const e=y.useRef(t);return xt(()=>{e.current=t}),e}function WR(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:s=[],platform:l,elements:{reference:L,floating:c}={},transform:C=!0,whileElementsMounted:d,open:f}=t,[g,p]=y.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,v]=y.useState(s);wt(m,s)||v(s);const[b,A]=y.useState(null),[k,S]=y.useState(null),N=y.useCallback($=>{$!==P.current&&(P.current=$,A($))},[]),I=y.useCallback($=>{$!==Y.current&&(Y.current=$,S($))},[]),O=L||b,B=c||k,P=y.useRef(null),Y=y.useRef(null),n2=y.useRef(g),o2=d!=null,f2=Zo(d),c2=Zo(l),h2=Zo(f),b2=y.useCallback(()=>{if(!P.current||!Y.current)return;const $={placement:e,strategy:n,middleware:m};c2.current&&($.platform=c2.current),UR(P.current,Y.current,$).then(l2=>{const g2={...l2,isPositioned:h2.current!==!1};V.current&&!wt(n2.current,g2)&&(n2.current=g2,nt.flushSync(()=>{p(g2)}))})},[m,e,n,c2,h2]);xt(()=>{f===!1&&n2.current.isPositioned&&(n2.current.isPositioned=!1,p($=>({...$,isPositioned:!1})))},[f]);const V=y.useRef(!1);xt(()=>(V.current=!0,()=>{V.current=!1}),[]),xt(()=>{if(O&&(P.current=O),B&&(Y.current=B),O&&B){if(f2.current)return f2.current(O,B,b2);b2()}},[O,B,b2,f2,o2]);const W=y.useMemo(()=>({reference:P,floating:Y,setReference:N,setFloating:I}),[N,I]),T=y.useMemo(()=>({reference:O,floating:B}),[O,B]),j=y.useMemo(()=>{const $={position:n,left:0,top:0};if(!T.floating)return $;const l2=Xu(T.floating,g.x),g2=Xu(T.floating,g.y);return C?{...$,transform:"translate("+l2+"px, "+g2+"px)",...Yu(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:l2,top:g2}},[n,C,T.floating,g.x,g.y]);return y.useMemo(()=>({...g,update:b2,refs:W,elements:T,floatingStyles:j}),[g,b2,W,T,j])}let vt=y.createContext(null);vt.displayName="OpenClosedContext";var c9=(t=>(t[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t))(c9||{});function Mt(){return y.useContext(vt)}function jR({value:t,children:e}){return k2.createElement(vt.Provider,{value:t},e)}function $R({children:t}){return k2.createElement(vt.Provider,{value:null},t)}function VR(t){function e(){document.readyState!=="loading"&&(t(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let T0=[];VR(()=>{function t(e){if(!S0(e.target)||e.target===document.body||T0[0]===e.target)return;let n=e.target;n=n.closest(ut),T0.unshift(n??e.target),T0=T0.filter(s=>s!=null&&s.isConnected),T0.splice(10)}window.addEventListener("click",t,{capture:!0}),window.addEventListener("mousedown",t,{capture:!0}),window.addEventListener("focus",t,{capture:!0}),document.body.addEventListener("click",t,{capture:!0}),document.body.addEventListener("mousedown",t,{capture:!0}),document.body.addEventListener("focus",t,{capture:!0})});function Qu(t){let e=v1(t),n=y.useRef(!1);y.useEffect(()=>(n.current=!1,()=>{n.current=!0,lt(()=>{n.current&&e()})}),[e])}let Ku=y.createContext(!1);function GR(){return y.useContext(Ku)}function Ju(t){return k2.createElement(Ku.Provider,{value:t.force},t.children)}function qR(t){let e=GR(),n=y.useContext(td),[s,l]=y.useState(()=>{var L;if(!e&&n!==null)return(L=n.current)!=null?L:null;if(R9.isServer)return null;let c=t==null?void 0:t.getElementById("headlessui-portal-root");if(c)return c;if(t===null)return null;let C=t.createElement("div");return C.setAttribute("id","headlessui-portal-root"),t.body.appendChild(C)});return y.useEffect(()=>{s!==null&&(t!=null&&t.body.contains(s)||t==null||t.body.appendChild(s))},[s,t]),y.useEffect(()=>{e||n!==null&&l(n.current)},[n,l,e]),s}let ed=y.Fragment,YR=E3(function(t,e){let{ownerDocument:n=null,...s}=t,l=y.useRef(null),L=p4(uy(m=>{l.current=m}),e),c=yo(l.current),C=n??c,d=qR(C),f=y.useContext(To),g=U6(),p=Q3();return Qu(()=>{var m;d&&d.childNodes.length<=0&&((m=d.parentElement)==null||m.removeChild(d))}),d?nt.createPortal(k2.createElement("div",{"data-headlessui-portal":"",ref:m=>{g.dispose(),f&&m&&g.add(f.register(m))}},p({ourProps:{ref:L},theirProps:s,slot:{},defaultTag:ed,name:"Portal"})),d):null});function XR(t,e){let n=p4(e),{enabled:s=!0,ownerDocument:l,...L}=t,c=Q3();return s?k2.createElement(YR,{...L,ownerDocument:l,ref:n}):c({ourProps:{ref:n},theirProps:L,slot:{},defaultTag:ed,name:"Portal"})}let QR=y.Fragment,td=y.createContext(null);function KR(t,e){let{target:n,...s}=t,l={ref:p4(e)},L=Q3();return k2.createElement(td.Provider,{value:n},L({ourProps:l,theirProps:s,defaultTag:QR,name:"Popover.Group"}))}let To=y.createContext(null);function JR(){let t=y.useContext(To),e=y.useRef([]),n=v1(L=>(e.current.push(L),t&&t.register(L),()=>s(L))),s=v1(L=>{let c=e.current.indexOf(L);c!==-1&&e.current.splice(c,1),t&&t.unregister(L)}),l=y.useMemo(()=>({register:n,unregister:s,portals:e}),[n,s,e]);return[e,y.useMemo(()=>function({children:L}){return k2.createElement(To.Provider,{value:l},L)},[l])]}let eb=E3(XR),nd=E3(KR),tb=Object.assign(eb,{Group:nd});function nb(t,e=typeof document<"u"?document.defaultView:null,n){let s=$6(t,"escape");Au(e,"keydown",l=>{s&&(l.defaultPrevented||l.key===k0.Escape&&n(l))})}function ib(){var t;let[e]=y.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,s]=y.useState((t=e==null?void 0:e.matches)!=null?t:!1);return O3(()=>{if(!e)return;function l(L){s(L.matches)}return e.addEventListener("change",l),()=>e.removeEventListener("change",l)},[e]),n}function sb({defaultContainers:t=[],portals:e,mainTreeNode:n}={}){let s=v1(()=>{var l,L;let c=B6(n),C=[];for(let d of t)d!==null&&(q9(d)?C.push(d):"current"in d&&q9(d.current)&&C.push(d.current));if(e!=null&&e.current)for(let d of e.current)C.push(d);for(let d of(l=c==null?void 0:c.querySelectorAll("html > *, body > *"))!=null?l:[])d!==document.body&&d!==document.head&&q9(d)&&d.id!=="headlessui-portal-root"&&(n&&(d.contains(n)||d.contains((L=n==null?void 0:n.getRootNode())==null?void 0:L.host))||C.some(f=>d.contains(f))||C.push(d));return C});return{resolveContainers:s,contains:v1(l=>s().some(L=>L.contains(l)))}}let id=y.createContext(null);function sd({children:t,node:e}){let[n,s]=y.useState(null),l=od(e??n);return k2.createElement(id.Provider,{value:l},t,l===null&&k2.createElement(P6,{features:p8.Hidden,ref:L=>{var c,C;if(L){for(let d of(C=(c=B6(L))==null?void 0:c.querySelectorAll("html > *, body > *"))!=null?C:[])if(d!==document.body&&d!==document.head&&q9(d)&&d!=null&&d.contains(L)){s(d);break}}}}))}function od(t=null){var e;return(e=y.useContext(id))!=null?e:t}function ob(){let t=typeof document>"u";return"useSyncExternalStore"in le?(e=>e.useSyncExternalStore)(le)(()=>()=>{},()=>!1,()=>!t):!1}function _t(){let t=ob(),[e,n]=y.useState(R9.isHandoffComplete);return e&&R9.isHandoffComplete===!1&&n(!1),y.useEffect(()=>{e!==!0&&n(!0)},[e]),y.useEffect(()=>R9.handoff(),[]),t?!1:e}function Eo(){let t=y.useRef(!1);return O3(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var Q6=(t=>(t[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t))(Q6||{});function lb(){let t=y.useRef(0);return Ru(!0,"keydown",e=>{e.key==="Tab"&&(t.current=e.shiftKey?1:0)},!0),t}function ld(t){if(!t)return new Set;if(typeof t=="function")return new Set(t());let e=new Set;for(let n of t.current)q9(n.current)&&e.add(n.current);return e}let rb="div";var y5=(t=>(t[t.None=0]="None",t[t.InitialFocus=1]="InitialFocus",t[t.TabLock=2]="TabLock",t[t.FocusLock=4]="FocusLock",t[t.RestoreFocus=8]="RestoreFocus",t[t.AutoFocus=16]="AutoFocus",t))(y5||{});function ab(t,e){let n=y.useRef(null),s=p4(n,e),{initialFocus:l,initialFocusFallback:L,containers:c,features:C=15,...d}=t;_t()||(C=0);let f=yo(n.current);ub(C,{ownerDocument:f});let g=db(C,{ownerDocument:f,container:n,initialFocus:l,initialFocusFallback:L});hb(C,{ownerDocument:f,container:n,containers:c,previousActiveElement:g});let p=lb(),m=v1(N=>{if(!A9(n.current))return;let I=n.current;(O=>O())(()=>{b9(p.current,{[Q6.Forwards]:()=>{M5(I,E4.First,{skipElements:[N.relatedTarget,L]})},[Q6.Backwards]:()=>{M5(I,E4.Last,{skipElements:[N.relatedTarget,L]})}})})}),v=$6(!!(C&2),"focus-trap#tab-lock"),b=U6(),A=y.useRef(!1),k={ref:s,onKeyDown(N){N.key=="Tab"&&(A.current=!0,b.requestAnimationFrame(()=>{A.current=!1}))},onBlur(N){if(!(C&4))return;let I=ld(c);A9(n.current)&&I.add(n.current);let O=N.relatedTarget;S0(O)&&O.dataset.headlessuiFocusGuard!=="true"&&(rd(I,O)||(A.current?M5(n.current,b9(p.current,{[Q6.Forwards]:()=>E4.Next,[Q6.Backwards]:()=>E4.Previous})|E4.WrapAround,{relativeTo:N.target}):S0(N.target)&&Y9(N.target)))}},S=Q3();return k2.createElement(k2.Fragment,null,v&&k2.createElement(P6,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:p8.Focusable}),S({ourProps:k,theirProps:d,defaultTag:rb,name:"FocusTrap"}),v&&k2.createElement(P6,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:p8.Focusable}))}let Lb=E3(ab),cb=Object.assign(Lb,{features:y5});function Cb(t=!0){let e=y.useRef(T0.slice());return Ro(([n],[s])=>{s===!0&&n===!1&&lt(()=>{e.current.splice(0)}),s===!1&&n===!0&&(e.current=T0.slice())},[t,T0,e]),v1(()=>{var n;return(n=e.current.find(s=>s!=null&&s.isConnected))!=null?n:null})}function ub(t,{ownerDocument:e}){let n=!!(t&8),s=Cb(n);Ro(()=>{n||ot(e==null?void 0:e.body)&&Y9(s())},[n]),Qu(()=>{n&&Y9(s())})}function db(t,{ownerDocument:e,container:n,initialFocus:s,initialFocusFallback:l}){let L=y.useRef(null),c=$6(!!(t&1),"focus-trap#initial-focus"),C=Eo();return Ro(()=>{if(t===0)return;if(!c){l!=null&&l.current&&Y9(l.current);return}let d=n.current;d&&lt(()=>{if(!C.current)return;let f=e==null?void 0:e.activeElement;if(s!=null&&s.current){if((s==null?void 0:s.current)===f){L.current=f;return}}else if(d.contains(f)){L.current=f;return}if(s!=null&&s.current)Y9(s.current);else{if(t&16){if(M5(d,E4.First|E4.AutoFocus)!==G6.Error)return}else if(M5(d,E4.First)!==G6.Error)return;if(l!=null&&l.current&&(Y9(l.current),(e==null?void 0:e.activeElement)===l.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}L.current=e==null?void 0:e.activeElement})},[l,c,t]),L}function hb(t,{ownerDocument:e,container:n,containers:s,previousActiveElement:l}){let L=Eo(),c=!!(t&4);Au(e==null?void 0:e.defaultView,"focus",C=>{if(!c||!L.current)return;let d=ld(s);A9(n.current)&&d.add(n.current);let f=l.current;if(!f)return;let g=C.target;A9(g)?rd(d,g)?(l.current=g,Y9(g)):(C.preventDefault(),C.stopPropagation(),Y9(f)):Y9(l.current)},!0)}function rd(t,e){for(let n of t)if(n.contains(e))return!0;return!1}function ad(t){var e;return!!(t.enter||t.enterFrom||t.enterTo||t.leave||t.leaveFrom||t.leaveTo)||!H6((e=t.as)!=null?e:cd)||k2.Children.count(t.children)===1}let yt=y.createContext(null);yt.displayName="TransitionContext";var fb=(t=>(t.Visible="visible",t.Hidden="hidden",t))(fb||{});function gb(){let t=y.useContext(yt);if(t===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return t}function pb(){let t=y.useContext(Rt);if(t===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return t}let Rt=y.createContext(null);Rt.displayName="NestingContext";function bt(t){return"children"in t?bt(t.children):t.current.filter(({el:e})=>e.current!==null).filter(({state:e})=>e==="visible").length>0}function Ld(t,e){let n=V9(t),s=y.useRef([]),l=Eo(),L=U6(),c=v1((v,b=b0.Hidden)=>{let A=s.current.findIndex(({el:k})=>k===v);A!==-1&&(b9(b,{[b0.Unmount](){s.current.splice(A,1)},[b0.Hidden](){s.current[A].state="hidden"}}),L.microTask(()=>{var k;!bt(s)&&l.current&&((k=n.current)==null||k.call(n))}))}),C=v1(v=>{let b=s.current.find(({el:A})=>A===v);return b?b.state!=="visible"&&(b.state="visible"):s.current.push({el:v,state:"visible"}),()=>c(v,b0.Unmount)}),d=y.useRef([]),f=y.useRef(Promise.resolve()),g=y.useRef({enter:[],leave:[]}),p=v1((v,b,A)=>{d.current.splice(0),e&&(e.chains.current[b]=e.chains.current[b].filter(([k])=>k!==v)),e==null||e.chains.current[b].push([v,new Promise(k=>{d.current.push(k)})]),e==null||e.chains.current[b].push([v,new Promise(k=>{Promise.all(g.current[b].map(([S,N])=>N)).then(()=>k())})]),b==="enter"?f.current=f.current.then(()=>e==null?void 0:e.wait.current).then(()=>A(b)):A(b)}),m=v1((v,b,A)=>{Promise.all(g.current[b].splice(0).map(([k,S])=>S)).then(()=>{var k;(k=d.current.shift())==null||k()}).then(()=>A(b))});return y.useMemo(()=>({children:s,register:C,unregister:c,onStart:p,onStop:m,wait:f,chains:g}),[C,c,s,p,m,g,f])}let cd=y.Fragment,Cd=at.RenderStrategy;function mb(t,e){var n,s;let{transition:l=!0,beforeEnter:L,afterEnter:c,beforeLeave:C,afterLeave:d,enter:f,enterFrom:g,enterTo:p,entered:m,leave:v,leaveFrom:b,leaveTo:A,...k}=t,[S,N]=y.useState(null),I=y.useRef(null),O=ad(t),B=p4(...O?[I,e,N]:e===null?[]:[e]),P=(n=k.unmount)==null||n?b0.Unmount:b0.Hidden,{show:Y,appear:n2,initial:o2}=gb(),[f2,c2]=y.useState(Y?"visible":"hidden"),h2=pb(),{register:b2,unregister:V}=h2;O3(()=>b2(I),[b2,I]),O3(()=>{if(P===b0.Hidden&&I.current){if(Y&&f2!=="visible"){c2("visible");return}return b9(f2,{hidden:()=>V(I),visible:()=>b2(I)})}},[f2,I,b2,V,Y,P]);let W=_t();O3(()=>{if(O&&W&&f2==="visible"&&I.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[I,f2,W,O]);let T=o2&&!n2,j=n2&&Y&&o2,$=y.useRef(!1),l2=Ld(()=>{$.current||(c2("hidden"),V(I))},h2),g2=v1(p2=>{$.current=!0;let N2=p2?"enter":"leave";l2.onStart(I,N2,P2=>{P2==="enter"?L==null||L():P2==="leave"&&(C==null||C())})}),Z=v1(p2=>{let N2=p2?"enter":"leave";$.current=!1,l2.onStop(I,N2,P2=>{P2==="enter"?c==null||c():P2==="leave"&&(d==null||d())}),N2==="leave"&&!bt(l2)&&(c2("hidden"),V(I))});y.useEffect(()=>{O&&l||(g2(Y),Z(Y))},[Y,O,l]);let F=!(!l||!O||!W||T),[,E]=oR(F,S,Y,{start:g2,end:Z}),H=A0({ref:B,className:((s=fo(k.className,j&&f,j&&g,E.enter&&f,E.enter&&E.closed&&g,E.enter&&!E.closed&&p,E.leave&&v,E.leave&&!E.closed&&b,E.leave&&E.closed&&A,!E.transition&&Y&&m))==null?void 0:s.trim())||void 0,...sR(E)}),K=0;f2==="visible"&&(K|=c9.Open),f2==="hidden"&&(K|=c9.Closed),Y&&f2==="hidden"&&(K|=c9.Opening),!Y&&f2==="visible"&&(K|=c9.Closing);let m2=Q3();return k2.createElement(Rt.Provider,{value:l2},k2.createElement(jR,{value:K},m2({ourProps:H,theirProps:k,defaultTag:cd,features:Cd,visible:f2==="visible",name:"Transition.Child"})))}function xb(t,e){let{show:n,appear:s=!1,unmount:l=!0,...L}=t,c=y.useRef(null),C=ad(t),d=p4(...C?[c,e]:e===null?[]:[e]);_t();let f=Mt();if(n===void 0&&f!==null&&(n=(f&c9.Open)===c9.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[g,p]=y.useState(n?"visible":"hidden"),m=Ld(()=>{n||p("hidden")}),[v,b]=y.useState(!0),A=y.useRef([n]);O3(()=>{v!==!1&&A.current[A.current.length-1]!==n&&(A.current.push(n),b(!1))},[A,n]);let k=y.useMemo(()=>({show:n,appear:s,initial:v}),[n,s,v]);O3(()=>{n?p("visible"):!bt(m)&&c.current!==null&&p("hidden")},[n,m]);let S={unmount:l},N=v1(()=>{var B;v&&b(!1),(B=t.beforeEnter)==null||B.call(t)}),I=v1(()=>{var B;v&&b(!1),(B=t.beforeLeave)==null||B.call(t)}),O=Q3();return k2.createElement(Rt.Provider,{value:m},k2.createElement(yt.Provider,{value:k},O({ourProps:{...S,as:y.Fragment,children:k2.createElement(ud,{ref:d,...S,...L,beforeEnter:N,beforeLeave:I})},theirProps:{},defaultTag:y.Fragment,features:Cd,visible:g==="visible",name:"Transition"})))}function wb(t,e){let n=y.useContext(yt)!==null,s=Mt()!==null;return k2.createElement(k2.Fragment,null,!n&&s?k2.createElement(Io,{ref:e,...t}):k2.createElement(ud,{ref:e,...t}))}let Io=E3(xb),ud=E3(mb),K6=E3(wb),dd=Object.assign(Io,{Child:K6,Root:Io});var vb=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(vb||{}),Mb=(t=>(t[t.SetTitleId=0]="SetTitleId",t))(Mb||{});let _b={0(t,e){return t.titleId===e.id?t:{...t,titleId:e.id}}},zo=y.createContext(null);zo.displayName="DialogContext";function At(t){let e=y.useContext(zo);if(e===null){let n=new Error(`<${t} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,At),n}return e}function yb(t,e){return b9(e.type,_b,t,e)}let hd=E3(function(t,e){let n=y.useId(),{id:s=`headlessui-dialog-${n}`,open:l,onClose:L,initialFocus:c,role:C="dialog",autoFocus:d=!0,__demoMode:f=!1,unmount:g=!1,...p}=t,m=y.useRef(!1);C=(function(){return C==="dialog"||C==="alertdialog"?C:(m.current||(m.current=!0,console.warn(`Invalid role [${C}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")})();let v=Mt();l===void 0&&v!==null&&(l=(v&c9.Open)===c9.Open);let b=y.useRef(null),A=p4(b,e),k=yo(b.current),S=l?0:1,[N,I]=y.useReducer(yb,{titleId:null,descriptionId:null,panelRef:y.createRef()}),O=v1(()=>L(!1)),B=v1(E=>I({type:0,id:E})),P=_t()?S===0:!1,[Y,n2]=JR(),o2={get current(){var E;return(E=N.panelRef.current)!=null?E:b.current}},f2=od(),{resolveContainers:c2}=sb({mainTreeNode:f2,portals:Y,defaultContainers:[o2]}),h2=v!==null?(v&c9.Closing)===c9.Closing:!1;Dy(f||h2?!1:P,{allowed:v1(()=>{var E,H;return[(H=(E=b.current)==null?void 0:E.closest("[data-headlessui-portal]"))!=null?H:null]}),disallowed:v1(()=>{var E;return[(E=f2==null?void 0:f2.closest("body > *:not(#headlessui-portal-root)"))!=null?E:null]})});let b2=fu.get(null);O3(()=>{if(P)return b2.actions.push(s),()=>b2.actions.pop(s)},[b2,s,P]);let V=mu(b2,y.useCallback(E=>b2.selectors.isTop(E,s),[b2,s]));qy(V,c2,E=>{E.preventDefault(),O()}),nb(V,k==null?void 0:k.defaultView,E=>{E.preventDefault(),E.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),O()}),tR(f||h2?!1:P,k,c2),Fy(P,b,O);let[W,T]=po(),j=y.useMemo(()=>[{dialogState:S,close:O,setTitleId:B,unmount:g},N],[S,O,B,g,N]),$=G9({open:S===0}),l2={ref:A,id:s,role:C,tabIndex:-1,"aria-modal":f?void 0:S===0?!0:void 0,"aria-labelledby":N.titleId,"aria-describedby":W,unmount:g},g2=!ib(),Z=y5.None;P&&!f&&(Z|=y5.RestoreFocus,Z|=y5.TabLock,d&&(Z|=y5.AutoFocus),g2&&(Z|=y5.InitialFocus));let F=Q3();return k2.createElement($R,null,k2.createElement(Ju,{force:!0},k2.createElement(tb,null,k2.createElement(zo.Provider,{value:j},k2.createElement(nd,{target:b},k2.createElement(Ju,{force:!1},k2.createElement(T,{slot:$},k2.createElement(n2,null,k2.createElement(cb,{initialFocus:c,initialFocusFallback:b,containers:c2,features:Z},k2.createElement(vy,{value:O},F({ourProps:l2,theirProps:p,slot:$,defaultTag:Rb,features:bb,visible:S===0,name:"Dialog"})))))))))))}),Rb="div",bb=at.RenderStrategy|at.Static;function Ab(t,e){let{transition:n=!1,open:s,...l}=t,L=Mt(),c=t.hasOwnProperty("open")||L!==null,C=t.hasOwnProperty("onClose");if(!c&&!C)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!c)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!C)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!L&&typeof t.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${t.open}`);if(typeof t.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${t.onClose}`);return(s!==void 0||n)&&!l.static?k2.createElement(sd,null,k2.createElement(dd,{show:s,transition:n,unmount:l.unmount},k2.createElement(hd,{ref:e,...l}))):k2.createElement(sd,null,k2.createElement(hd,{ref:e,open:s,...l}))}let Sb="div";function kb(t,e){let n=y.useId(),{id:s=`headlessui-dialog-panel-${n}`,transition:l=!1,...L}=t,[{dialogState:c,unmount:C},d]=At("Dialog.Panel"),f=p4(e,d.panelRef),g=G9({open:c===0}),p=v1(k=>{k.stopPropagation()}),m={ref:f,id:s,onClick:p},v=l?K6:y.Fragment,b=l?{unmount:C}:{},A=Q3();return k2.createElement(v,{...b},A({ourProps:m,theirProps:L,slot:g,defaultTag:Sb,name:"Dialog.Panel"}))}let Zb="div";function Tb(t,e){let{transition:n=!1,...s}=t,[{dialogState:l,unmount:L}]=At("Dialog.Backdrop"),c=G9({open:l===0}),C={ref:e,"aria-hidden":!0},d=n?K6:y.Fragment,f=n?{unmount:L}:{},g=Q3();return k2.createElement(d,{...f},g({ourProps:C,theirProps:s,slot:c,defaultTag:Zb,name:"Dialog.Backdrop"}))}let Eb="h2";function Ib(t,e){let n=y.useId(),{id:s=`headlessui-dialog-title-${n}`,...l}=t,[{dialogState:L,setTitleId:c}]=At("Dialog.Title"),C=p4(e);y.useEffect(()=>(c(s),()=>c(null)),[s,c]);let d=G9({open:L===0}),f={ref:C,id:s};return Q3()({ourProps:f,theirProps:l,slot:d,defaultTag:Eb,name:"Dialog.Title"})}let zb=E3(Ab),fd=E3(kb);E3(Tb);let gd=E3(Ib),Nb=Object.assign(zb,{Panel:fd,Title:gd,Description:ou});var Ob=(t=>(t[t.RegisterOption=0]="RegisterOption",t[t.UnregisterOption=1]="UnregisterOption",t))(Ob||{});let Db={0(t,e){let n=[...t.options,{id:e.id,element:e.element,propsRef:e.propsRef}];return{...t,options:Mu(n,s=>s.element.current)}},1(t,e){let n=t.options.slice(),s=t.options.findIndex(l=>l.id===e.id);return s===-1?t:(n.splice(s,1),{...t,options:n})}},No=y.createContext(null);No.displayName="RadioGroupDataContext";function Oo(t){let e=y.useContext(No);if(e===null){let n=new Error(`<${t} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Oo),n}return e}let Do=y.createContext(null);Do.displayName="RadioGroupActionsContext";function Fo(t){let e=y.useContext(Do);if(e===null){let n=new Error(`<${t} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Fo),n}return e}function Fb(t,e){return b9(e.type,Db,t,e)}let Bb="div";function Ub(t,e){let n=y.useId(),s=rt(),{id:l=`headlessui-radiogroup-${n}`,value:L,form:c,name:C,onChange:d,by:f,disabled:g=s||!1,defaultValue:p,tabIndex:m=0,...v}=t,b=_y(f),[A,k]=y.useReducer(Fb,{options:[]}),S=A.options,[N,I]=au(),[O,B]=po(),P=y.useRef(null),Y=p4(P,e),n2=X_(p),[o2,f2]=Y_(L,d,n2),c2=y.useMemo(()=>S.find(F=>!F.propsRef.current.disabled),[S]),h2=y.useMemo(()=>S.some(F=>b(F.propsRef.current.value,o2)),[S,o2]),b2=v1(F=>{var E;if(g||b(F,o2))return!1;let H=(E=S.find(K=>b(K.propsRef.current.value,F)))==null?void 0:E.propsRef.current;return H!=null&&H.disabled?!1:(f2==null||f2(F),!0)}),V=v1(F=>{if(!P.current)return;let E=S.filter(H=>H.propsRef.current.disabled===!1).map(H=>H.element.current);switch(F.key){case k0.Enter:Q_(F.currentTarget);break;case k0.ArrowLeft:case k0.ArrowUp:if(F.preventDefault(),F.stopPropagation(),M5(E,E4.Previous|E4.WrapAround)===G6.Success){let H=S.find(K=>ot(K.element.current));H&&b2(H.propsRef.current.value)}break;case k0.ArrowRight:case k0.ArrowDown:if(F.preventDefault(),F.stopPropagation(),M5(E,E4.Next|E4.WrapAround)===G6.Success){let H=S.find(K=>ot(K.element.current));H&&b2(H.propsRef.current.value)}break;case k0.Space:{F.preventDefault(),F.stopPropagation();let H=S.find(K=>ot(K.element.current));H&&b2(H.propsRef.current.value)}break}}),W=v1(F=>(k({type:0,...F}),()=>k({type:1,id:F.id}))),T=y.useMemo(()=>({value:o2,firstOption:c2,containsCheckedOption:h2,disabled:g,compare:b,tabIndex:m,...A}),[o2,c2,h2,g,b,m,A]),j=y.useMemo(()=>({registerOption:W,change:b2}),[W,b2]),$={ref:Y,id:l,role:"radiogroup","aria-labelledby":N,"aria-describedby":O,onKeyDown:V},l2=G9({value:o2}),g2=y.useCallback(()=>{if(n2!==void 0)return b2(n2)},[b2,n2]),Z=Q3();return k2.createElement(B,{name:"RadioGroup.Description"},k2.createElement(I,{name:"RadioGroup.Label"},k2.createElement(Do.Provider,{value:j},k2.createElement(No.Provider,{value:T},C!=null&&k2.createElement(iy,{disabled:g,data:{[C]:o2||"on"},overrides:{type:"radio",checked:o2!=null},form:c,onReset:g2}),Z({ourProps:$,theirProps:v,slot:l2,defaultTag:Bb,name:"RadioGroup"})))))}let Hb="div";function Pb(t,e){var n;let s=Oo("RadioGroup.Option"),l=Fo("RadioGroup.Option"),L=y.useId(),{id:c=`headlessui-radiogroup-option-${L}`,value:C,disabled:d=s.disabled||!1,autoFocus:f=!1,...g}=t,p=y.useRef(null),m=p4(p,e),[v,b]=au(),[A,k]=po(),S=V9({value:C,disabled:d});O3(()=>l.registerOption({id:c,element:p,propsRef:S}),[c,l,p,S]);let N=v1(h2=>{var b2;if(nu(h2.currentTarget))return h2.preventDefault();l.change(C)&&((b2=p.current)==null||b2.focus())}),I=((n=s.firstOption)==null?void 0:n.id)===c,{isFocusVisible:O,focusProps:B}=$C({autoFocus:f}),{isHovered:P,hoverProps:Y}=jC({isDisabled:d}),n2=s.compare(s.value,C),o2=qC({ref:m,id:c,role:"radio","aria-checked":n2?"true":"false","aria-labelledby":v,"aria-describedby":A,"aria-disabled":d?!0:void 0,tabIndex:d?-1:n2||!s.containsCheckedOption&&I?s.tabIndex:-1,onClick:d?void 0:N,autoFocus:f},B,Y),f2=G9({checked:n2,disabled:d,active:O,hover:P,focus:O,autofocus:f}),c2=Q3();return k2.createElement(k,{name:"RadioGroup.Description"},k2.createElement(b,{name:"RadioGroup.Label"},c2({ourProps:o2,theirProps:g,slot:f2,defaultTag:Hb,name:"RadioGroup.Option"})))}let Wb="span";function jb(t,e){var n;let s=Oo("Radio"),l=Fo("Radio"),L=y.useId(),c=KC(),C=rt(),{id:d=c||`headlessui-radio-${L}`,value:f,disabled:g=s.disabled||C||!1,autoFocus:p=!1,...m}=t,v=y.useRef(null),b=p4(v,e),A=ru(),k=dy(),S=V9({value:f,disabled:g});O3(()=>l.registerOption({id:d,element:v,propsRef:S}),[d,l,v,S]);let N=v1(c2=>{var h2;if(nu(c2.currentTarget))return c2.preventDefault();l.change(f)&&((h2=v.current)==null||h2.focus())}),{isFocusVisible:I,focusProps:O}=$C({autoFocus:p}),{isHovered:B,hoverProps:P}=jC({isDisabled:g}),Y=((n=s.firstOption)==null?void 0:n.id)===d,n2=s.compare(s.value,f),o2=qC({ref:b,id:d,role:"radio","aria-checked":n2?"true":"false","aria-labelledby":A,"aria-describedby":k,"aria-disabled":g?!0:void 0,tabIndex:g?-1:n2||!s.containsCheckedOption&&Y?s.tabIndex:-1,autoFocus:p,onClick:g?void 0:N},O,P),f2=G9({checked:n2,disabled:g,hover:B,focus:I,autofocus:p});return Q3()({ourProps:o2,theirProps:m,slot:f2,defaultTag:Wb,name:"Radio"})}let $b=E3(Ub),Vb=E3(Pb),pd=E3(jb),Gb=mo,qb=ou,Yb=Object.assign($b,{Option:Vb,Radio:pd,Label:Gb,Description:qb});class Xb{constructor(){d2(this,"events",{})}on(e,n){this.events[e]||(this.events[e]=new Set),a3.debug(`Event ${e} ${n} added`),a3.debug(this.events),this.events[e].add(n)}off(e,n){var s;a3.debug(`Event ${e} ${n} removed`),a3.debug(this.events),(s=this.events[e])==null||s.delete(n)}emit(e,n){const s=this.events[e];s&&s.forEach(l=>l(n))}}const J6=new Xb;function Qb(t,e,n,s){const l={label:JSON.stringify(e),action:n,category:s};t.get(Wc)("eventEmit",{event:"trackEvent",data:l}),J6.emit("trackEvent",l)}const md=[{name:"Legacy",id:"theme-default",icon:`<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
159
159
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" fill="white"/>
160
160
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" stroke="#E6E7EB"/>
161
161
  <rect x="4" y="6" width="16" height="6" fill="#F2F4F7"/>
@@ -215,18 +215,18 @@ A.method() {
215
215
  <line x1="13" y1="16.75" x2="31" y2="16.75" stroke="#34D399" stroke-width="0.5"/>
216
216
  <line x1="13" y1="30.75" x2="51" y2="30.75" stroke="#34D399" stroke-width="0.5"/>
217
217
  </svg>
218
- `}],Kb=()=>{const[t,e]=y.useState(!1),[n=md[0].id,s]=r9(c8),[l,L]=r9(Ps),[c,C]=r9(wv),d=v=>{Qb({theme:n,enableScopedTheming:l},v,"sequence")},f=()=>{e(!0),C(""),d("theme-open-modal")},g=()=>{e(!1),d("theme-close-modal")},p=v=>{s(v),d("theme-select")},m=v=>{L(v),d("theme-enable-scoped")};return M.jsxs(M.Fragment,{children:[M.jsxs("button",{type:"button",className:"flex items-center relative",onClick:f,children:[M.jsx(k3,{name:"theme"}),c&&M.jsx("span",{className:"dot absolute top-0 right-0 w-1 h-1 rounded-full bg-red-500"})]}),M.jsx(dd,{show:t,children:M.jsxs(Nb,{className:"relative z-10",onClick:g,onClose:g,children:[M.jsx(K6,{enter:"duration-300 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"duration-200 ease-in",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:M.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-25"})}),M.jsx("div",{className:"fixed inset-0 overflow-y-auto",children:M.jsx("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:M.jsx(K6,{enter:"duration-300 ease-out",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"duration-200 ease-in",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:M.jsxs(fd,{className:"w-full max-w-md transform overflow-hidden rounded-2xl bg-white py-6 text-left align-middle shadow-xl transition-all",children:[M.jsxs("div",{className:"px-6 w-[450px]",children:[M.jsx(gd,{as:"h3",className:"text-lg font-semibold leading-6 text-gray-900",children:"Theme"}),M.jsx("p",{className:"text-gray-500 text-sm",children:"Customize your UI theme"}),M.jsx("div",{className:"mt-4 ml-[-0.5rem] px-2 max-h-72 overflow-y-auto pb-4",children:M.jsxs(Yb,{value:n,onChange:p,children:[M.jsx(mo,{className:"sr-only",children:"Server size"}),M.jsx("div",{className:"space-y-2",children:md.map(v=>M.jsx(pd,{value:v.id,children:M.jsxs("div",{className:(H2(n===v.id?"border-2 text-gray-900 border-primary":"border-2 border-transparent"),"relative flex items-center cursor-pointer rounded-lg px-4 py-3 shadow-md"),children:[M.jsxs("div",{className:"flex w-full items-center text-sm text-gray-900",children:[n===v.id?M.jsx(k3,{name:"selected-cycle",className:"h-5 w-5 fill-none"}):M.jsx(k3,{name:"non-selected-cycle",className:"h-5 w-5"}),M.jsx(mo,{as:"p",className:H2((n===v.id,"text-gray-900"),"font-medium ml-2"),children:v.name})]}),M.jsx("span",{className:"inline-block w-20 border rounded-md overflow-hidden",dangerouslySetInnerHTML:{__html:v.icon}})]})},v.id))})]})})]}),M.jsxs("div",{className:"pt-6 px-6 border-t flex items-center gap-2",children:[M.jsx("input",{type:"checkbox",id:"scopeTheming",checked:l,onChange:v=>m(v.target.checked)}),M.jsx("label",{htmlFor:"scopeTheming",className:"select-none",children:"Apply to this diagram only"})]})]})})})})]})})]})},Jb=X.tree.ParseTreeWalker.DEFAULT;class v8 extends J{constructor(n){super();d2(this,"_orderedParticipants");d2(this,"frameRoot",null);d2(this,"parents",[]);this._orderedParticipants=n}getLocalParticipants(n){return[n.Origin()||E1,...L8(n).ImplicitArray().map(s=>s.name)]}getLeft(n){const s=W9(n);return this._orderedParticipants.find(l=>s.includes(l))||""}getRight(n){return this._orderedParticipants.slice().reverse().find(s=>W9(n).includes(s))||""}enterFragment(n,s){var L;const l={type:s,left:this.getLeft(n),right:this.getRight(n),children:[]};this.frameRoot||(this.frameRoot=l),this.parents.length>0&&((L=this.parents[this.parents.length-1].children)==null||L.push(l)),this.parents.push(l)}exitFragment(){this.parents.pop()}enterTcf(n){this.enterFragment(n,"tcf")}enterOpt(n){this.enterFragment(n,"opt")}enterPar(n){this.enterFragment(n,"par")}enterAlt(n){this.enterFragment(n,"alt")}enterLoop(n){this.enterFragment(n,"loop")}enterSection(n){this.enterFragment(n,"section")}enterCritical(n){this.enterFragment(n,"critical")}enterRef(n){this.enterFragment(n,"ref")}exitTcf(){this.exitFragment()}exitOpt(){this.exitFragment()}exitPar(){this.exitFragment()}exitAlt(){this.exitFragment()}exitLoop(){this.exitFragment()}exitSection(){this.exitFragment()}exitCritical(){this.exitFragment()}exitRef(){this.exitFragment()}getFrame(n){return n.children.map(s=>{Jb.walk(this,s)}),this.frameRoot}}function Bo(t,e){if(!t.children||t.children.length===0)return 1;let n=0;for(const s of t.children)e==="LEFT"&&s.left!==t.left||e==="RIGHT"&&s.right!==t.right||(n=Math.max(n,Bo(s,e)));return n+1}function M8(t){return t?{type:t.type,left:Ne*Bo(t,"LEFT"),right:Ne*Bo(t,"RIGHT")}:{left:0,right:0}}function xd(t,e){const n=e.orderedParticipantNames(),s=W9(t),l=n.find(p=>s.includes(p))||"",L=n.slice().reverse().find(p=>s.includes(p))||"",C=new v8(n).getFrame(t),d=M8(C),f=eA(t,L,e),g=e.distance(l,L)+e.half(l)+e.half(L);return Math.max(g,y6)+d.left+d.right+f}function eA(t,e,n){const l=h5(t).filter(L=>L.from===L.to).map(L=>n.getMessageWidth(L)-n.distance(L.from||E1,e)-n.half(e));return Math.max.apply(null,[0,...l])}function tA(){const[t,e]=y.useState(0),[n,s]=y.useState(0),l=()=>{e(document.documentElement.scrollTop),s(document.documentElement.scrollLeft)};return y.useEffect(()=>{l();const L=new AbortController;return document.addEventListener("scroll",l,{signal:L.signal}),()=>{L.abort()}},[]),[t,n]}const Uo=10,nA=1,wd=20;function iA(){let t=document.getElementById("zenuml-intersection-detector-container"),e=Array.from(document.getElementsByClassName("zenuml-intersection-detector"));return t&&e.length===Uo?{detectorContainer:t,detectors:e}:(t=document.createElement("div"),t.id="zenuml-intersection-detector-container",Object.assign(t.style,{position:"absolute",top:"0",left:"0",opacity:"0",pointerEvents:"none"}),e=new Array(Uo).fill(0).map(()=>{const n=document.createElement("div");return n.className="zenuml-intersection-detector",Object.assign(n.style,{position:"absolute",top:"0",left:"0",width:"100%"}),t==null||t.appendChild(n),n}),document.body.appendChild(t),{detectorContainer:t,detectors:e})}function sA(){const[t,e]=y.useState(0),n=y.useRef(null);return y.useEffect(()=>{const{detectorContainer:s,detectors:l}=iA(),L=document.documentElement.scrollHeight-wd,c=document.documentElement.scrollWidth-wd;s.style.height=L+"px",s.style.width=c+"px";const C=Math.ceil(document.documentElement.scrollHeight/Uo),d=[...Array(C+1).keys()].map(f=>f/C).filter(f=>f>=0&&f<=1);return l.forEach((f,g)=>{f.style.top=g*C+"px",f.style.height=C+"px"}),n.current=new IntersectionObserver(([f])=>{(f.intersectionRect.top-f.boundingClientRect.top>nA||f.target===l[0])&&e(f.intersectionRect.top)},{threshold:d}),l.forEach(f=>{n.current&&n.current.observe(f)}),()=>{var f;(f=n.current)==null||f.disconnect()}},[]),t}const e7={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},vd=Object.create(null);for(const t in e7)Object.hasOwn(e7,t)&&(vd[e7[t]]=t);const c4={to:{},get:{}};c4.get=function(t){const e=t.slice(0,3).toLowerCase();let n,s;switch(e){case"hsl":{n=c4.get.hsl(t),s="hsl";break}case"hwb":{n=c4.get.hwb(t),s="hwb";break}default:{n=c4.get.rgb(t),s="rgb";break}}return n?{model:s,value:n}:null},c4.get.rgb=function(t){if(!t)return null;const e=/^#([a-f\d]{3,4})$/i,n=/^#([a-f\d]{6})([a-f\d]{2})?$/i,s=/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i,l=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i,L=/^(\w+)$/;let c=[0,0,0,1],C,d,f;if(C=t.match(n)){for(f=C[2],C=C[1],d=0;d<3;d++){const g=d*2;c[d]=Number.parseInt(C.slice(g,g+2),16)}f&&(c[3]=Number.parseInt(f,16)/255)}else if(C=t.match(e)){for(C=C[1],f=C[3],d=0;d<3;d++)c[d]=Number.parseInt(C[d]+C[d],16);f&&(c[3]=Number.parseInt(f+f,16)/255)}else if(C=t.match(s)){for(d=0;d<3;d++)c[d]=Number.parseFloat(C[d+1]);C[4]&&(c[3]=C[5]?Number.parseFloat(C[4])*.01:Number.parseFloat(C[4]))}else if(C=t.match(l)){for(d=0;d<3;d++)c[d]=Math.round(Number.parseFloat(C[d+1])*2.55);C[4]&&(c[3]=C[5]?Number.parseFloat(C[4])*.01:Number.parseFloat(C[4]))}else return(C=t.toLowerCase().match(L))?C[1]==="transparent"?[0,0,0,0]:Object.hasOwn(e7,C[1])?(c=e7[C[1]].slice(),c[3]=1,c):null:null;for(d=0;d<3;d++)c[d]=I0(c[d],0,255);return c[3]=I0(c[3],0,1),c},c4.get.hsl=function(t){if(!t)return null;const e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,n=t.match(e);if(n){const s=Number.parseFloat(n[4]),l=(Number.parseFloat(n[1])%360+360)%360,L=I0(Number.parseFloat(n[2]),0,100),c=I0(Number.parseFloat(n[3]),0,100),C=I0(Number.isNaN(s)?1:s,0,1);return[l,L,c,C]}return null},c4.get.hwb=function(t){if(!t)return null;const e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,n=t.match(e);if(n){const s=Number.parseFloat(n[4]),l=(Number.parseFloat(n[1])%360+360)%360,L=I0(Number.parseFloat(n[2]),0,100),c=I0(Number.parseFloat(n[3]),0,100),C=I0(Number.isNaN(s)?1:s,0,1);return[l,L,c,C]}return null},c4.to.hex=function(...t){return"#"+St(t[0])+St(t[1])+St(t[2])+(t[3]<1?St(Math.round(t[3]*255)):"")},c4.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},c4.to.rgb.percent=function(...t){const e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),s=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+s+"%)":"rgba("+e+"%, "+n+"%, "+s+"%, "+t[3]+")"},c4.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},c4.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},c4.to.keyword=function(...t){return vd[t.slice(0,3)]};function I0(t,e,n){return Math.min(Math.max(e,t),n)}function St(t){const e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}function oA(t){const e=c4.get.rgb(t)||[0,0,0],[n,s,l]=e;return(n*299+s*587+l*114)/1e3}function lA(t){const e=c4.get.rgb(t)||[0,0,0],[n,s,l]=e;return`rgb(${n}, ${s}, ${l})`}function rA(t){let e=0,n=t;for(;n;)e+=n.offsetTop,n=n.offsetParent;return e}const t7=/[!@#$%^&*()+-,.?''":{}|<>/\s]/,_8=t=>{let e=t.replace(/\s+/g," ");return t7.test(e)&&(e=e.replace(/"/g,""),e=`"${e}"`,t7.lastIndex=0),e},Md=t=>t.replace(/\s+/g," "),Ho=({text:t,isEditable:e=!0,className:n="",onSave:s,title:l="Double-click to edit"})=>{const[L,c]=y.useState(!1),[C,d]=y.useState(!1),f=y.useRef(""),g=y.useRef(null),p=y.useRef(!1),m=B=>{if(!e)return;B.preventDefault(),B.stopPropagation(),p.current=!1;const P=B.target,Y="clientX"in B?{x:B.clientX,y:B.clientY}:null;P&&(f.current=P.innerText??""),c(!0),setTimeout(()=>{var l2;const n2=B.target;if(n2&&(n2.focus(),Y)){const f2=window.getSelection();if(!f2)return;let c2=(l2=document.caretRangeFromPoint)==null?void 0:l2.call(document,Y.x,Y.y);if(!c2&&document.caretPositionFromPoint){const h2=document.caretPositionFromPoint(Y.x,Y.y);h2&&(c2=document.createRange(),c2.setStart(h2.offsetNode,h2.offset))}c2&&(c2.collapse(!0),f2.removeAllRanges(),f2.addRange(c2))}},0)},v=B=>{L||!e||m(B)},b=()=>{!L&&e&&d(!0)},A=()=>{d(!1)},k=()=>{var P,Y;const B=((Y=(P=g.current)==null?void 0:P.innerText)==null?void 0:Y.trim())??"";s(B)},S=()=>{L&&(p.current||(c(!1),d(!1),k()))},N=B=>{if(e&&L){if(B.key==="Escape"){B.preventDefault(),B.stopPropagation(),p.current=!0;const P=B.target;P&&(P.innerText=f.current),c(!1),d(!1);return}B.key==="Enter"&&(B.preventDefault(),B.stopPropagation())}},I=B=>{e&&L&&(B.key==="Enter"||B.key==="Tab")&&(c(!1),d(!1),k())},O=()=>{const B=[n,"editable-span-base"];return L?B.push("editable-span-editing"):C?B.push("editable-span-hover"):e&&B.push("cursor-pointer"),B.filter(Boolean).join(" ")};return M.jsx("span",{ref:g,title:e?l:void 0,className:O(),contentEditable:L&&e,suppressContentEditableWarning:!0,onDoubleClick:v,onMouseEnter:b,onMouseLeave:A,onBlur:S,onKeyUp:I,onKeyDown:N,children:t})},aA=["Missing Constructor","ZenUML"],LA=t=>{const e=X2(y9),[n,s]=r9(p5),l=X2(N6),L=e===G4.Dynamic&&aA.indexOf(t.labelText)===-1,c=e===G4.Dynamic,C=t.assignee?`${t.assignee}:${t.labelText}`:t.labelText,d=m=>{let v=m;return v.includes(" ")&&(v=v.replace(/\s+/g," ")),t7.test(v)&&(v=v.replace(/"/g,""),v=`"${v}"`,t7.lastIndex=0),v},f=m=>{const v=m.flatMap(({positions:A,text:k})=>A.map(S=>({position:S,text:d(k)}))).sort((A,k)=>k.position[0]-A.position[0]);if(v.length===0)return;let b=n;for(const{position:A,text:k}of v){const[S,N]=A;b=b.slice(0,S)+k+b.slice(N)}s(b),l(b)},g=(m,v)=>b=>{b===""||b===v||f([{positions:m,text:b}])},p=m=>v=>{if(v===""||v===m)return;let b=t.assignee??"",A=v;const k=v.indexOf(":");if(k>=0){const S=v.slice(0,k).trim(),N=v.slice(k+1).trim();S&&(b=S),N?A=N:A=t.labelText}f([{positions:t.assigneePositions??[],text:b},{positions:t.labelPositions??[],text:A}])};return M.jsx("div",{className:"flex items-center justify-center",children:M.jsx(Ho,{text:C,isEditable:t.assignee?c:L,className:H2("name leading-4 right px-1"),onSave:t.assignee?p(C):g(t.labelPositions??[],t.labelText),title:"Double-click to edit"})})},cA=10,CA=!!localStorage.getItem("zenumlDebug"),uA=t=>{var N;const e=y.useRef(null),n=X2(y9),s=X2($e),l=X2(js),L=X2(Hc),c=X2(Ve),C=Q5(vv),d=sA(),[f]=tA(),g=t.entity.name===E1,p=Array.from(s.GetPositions(t.entity.name)??[]).sort((I,O)=>O[0]-I[0]),m=Array.from(s.GetAssigneePositions(t.entity.name)??[]).sort((I,O)=>O[0]-I[0]),v=()=>{const I=t.offsetTop2||0;let O=d+f;d>cA&&L!==!1&&(O+=L);const B=(l==null?void 0:l.clientHeight)||0,P=l?rA(l):0;return O<I+P?0:Math.min(O-P,B-Yx-50)-I},b=n===G4.Static||L===!1?0:v(),A=t.entity.color?lA(t.entity.color):void 0,k=y.useMemo(()=>{if(!t.entity.color)return;const I=e.current&&window.getComputedStyle(e.current).getPropertyValue("background-color");if(I)return oA(I)>128?"#000":"#fff"},[t.entity.color]),S=g?"actor":(N=t.entity.type)==null?void 0:N.toLowerCase();return M.jsxs("div",{className:H2("participant bg-skin-participant shadow-participant border-skin-participant text-skin-participant rounded text-base leading-4 flex flex-col justify-center z-10 h-10 top-8",{selected:c.includes(t.entity.name)}),ref:e,style:{backgroundColor:g?void 0:A,color:g?void 0:k,transform:`translateY(${b}px)`},onClick:()=>C(t.entity.name),"data-participant-id":t.entity.name,children:[CA&&M.jsx("div",{className:"absolute left-[-12px] top-1/2 -translate-y-1/2 w-8 h-[2px] bg-amber-700",children:M.jsx("div",{className:"w-full h-full bg-black"})}),M.jsxs("div",{className:"flex items-center justify-center",children:[S&&M.jsx(AC,{iconKey:S,className:"h-6 w-6 mr-1 flex-shrink-0 [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${t.entity.name}`}),!g&&M.jsxs("div",{className:"h-5 group flex flex-col justify-center",children:[t.entity.stereotype&&M.jsxs("label",{className:"interface leading-4",children:["«",t.entity.stereotype,"»"]}),M.jsx(LA,{labelText:t.entity.assignee?t.entity.name.split(":")[1]:t.entity.label||t.entity.name,labelPositions:p,assignee:t.entity.assignee,assigneePositions:m})]})]})]})},C9=(t,e)=>{if(!e)return console.warn("[@zenuml/core] centerOf: entity is undefined"),0;try{return t.getPosition(e)||0}catch(n){return console.error(n),0}},dA=(t,e,n)=>!e||!n?0:C9(t,n)-C9(t,e),kt=t=>{var v;const e=y.useRef(null),n=X2(q4),s=X2(xv),l=X2(Hs),L=X2(js),c=X2(Fc),C=Q5(Vs),d=20,[f,g]=y.useState(d),p=C9(n,t.entity.name)-(t.groupLeft||0),m=y.useCallback(()=>{var S;const b=t.entity.name.replace(/[^A-Za-z0-9_-]/g,"\\$&"),A=L==null?void 0:L.querySelector(`[data-to="${b}"]`),k=(A==null?void 0:A.offsetParent)!=null;if(A&&A.getAttribute("data-type")==="creation"&&k){const N=((S=e.current)==null?void 0:S.getBoundingClientRect().y)||0,I=A.getBoundingClientRect().y;g((I-N)/(c||1))}else g(d)},[L,t.entity.name,c]);return y.useEffect(()=>{const b=()=>{if(!s)return!1;const A=s.getCreationTop(t.entity.name),k=A!=null?Math.max(d,A):d;return A!=null&&a3.info(`[LifeLine] creation participant="${t.entity.name}" creationTop=${A} resolvedTop=${k}`),g(k),!0};if(l==="html")b();else{const A=()=>setTimeout(m,0);return setTimeout(m,0),J6.on("participant_set_top",A),()=>J6.off("participant_set_top",A)}t.entity.name!==E1&&setTimeout(()=>{C(A=>A.includes(t.entity.name)?A:[...A,t.entity.name])},0)},[t.entity.name,s,l,C,m]),M.jsxs("div",{id:t.entity.name,"entity-type":(v=t.entity.type)==null?void 0:v.toLowerCase(),className:H2("lifeline absolute flex flex-col h-full",{"transform -translate-x-1/2":t.renderParticipants},t.className),style:{paddingTop:f+"px",left:p+"px",translate:0},ref:e,children:[t.renderParticipants&&M.jsx(uA,{entity:t.entity,offsetTop2:f}),t.renderLifeLine&&M.jsx("div",{className:"line w0 mx-auto flex-grow w-px bg-[linear-gradient(to_bottom,transparent_50%,var(--color-border-base)_50%)] bg-[length:1px_10px]"})]})},_d=2,hA=t=>{var c,C;const e=X2(q4),n=L8(t.context).Array();if(n.length<=0)return null;const s=e.left(n[0].name)+_d,l=e.right(n[n.length-1].name)-_d,L=(C=(c=t.context)==null?void 0:c.name())==null?void 0:C.getFormattedText();return M.jsxs("div",{className:H2("lifeline-group-container absolute flex flex-col flex-grow h-full",{"outline-dashed outline-skin-primary":t.renderLifeLine}),style:{left:`${s}px`,width:`${l-s}px`},children:[t.renderParticipants&&L&&M.jsx("div",{className:"z-10 absolute flex items-center justify-center w-full bg-skin-frame",children:M.jsx("span",{className:"font-semibold text-skin-lifeline-group-name",children:L})}),M.jsx("div",{className:"lifeline-group relative flex-grow",children:n.map(d=>M.jsx(kt,{entity:d,groupLeft:s,renderLifeLine:t.renderLifeLine,renderParticipants:t.renderParticipants},d.name))})]})},Po=t=>{var L;const e=X2(y9),n=X2(q4),s=X2($e),l=y.useMemo(()=>{const c=n.orderedParticipantNames();return c.length===0?null:c[0]===E1?{...yL,name:E1,explicit:!1,isStarter:!0}:null},[n]);return M.jsx("div",{className:"life-line-layer lifeline-layer z-30 absolute h-full flex flex-col top-0 pt-2","data-participant-names":"participantNames",style:{minWidth:e===G4.Dynamic?"200px":"auto",width:`calc(100% - ${t.leftGap}px)`,pointerEvents:t.renderParticipants?"none":"all"},children:M.jsxs("div",{className:"z-lifeline-container relative grow",children:[l&&!(l!=null&&l.explicit)&&M.jsx(kt,{entity:l,className:"starter",renderParticipants:t.renderParticipants,renderLifeLine:t.renderLifeLine}),(((L=t.context)==null?void 0:L.children)||[]).filter(c=>c instanceof YL||c instanceof XL).map((c,C)=>M.jsxs(y.Fragment,{children:[c instanceof YL&&M.jsx(hA,{context:c,renderParticipants:t.renderParticipants,renderLifeLine:t.renderLifeLine},C),c instanceof XL&&M.jsx(kt,{entity:L8(c).First(),renderParticipants:t.renderParticipants,renderLifeLine:t.renderLifeLine},C)]},C)),s.ImplicitArray().map(c=>M.jsx(kt,{entity:c,renderParticipants:t.renderParticipants,renderLifeLine:t.renderLifeLine},c.name))]})})},fA=t=>{const e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",section:"FragmentSection",critical:"FragmentCritical",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},n=Object.keys(e).find(s=>t[s]()!==null)||"";return e[n]},Zt=t=>t&&t.stat()?t.stat().filter(e=>fA(e)!=="Divider").length:0,gA=(t,e)=>{if(t){const n=t.split(".");return n[n.length-1]=Number(n[n.length-1])+e,n.join(".")}else return String(e)};class n7{constructor(e,n){this.position=e,this.layers=n}centerToEdge(e){return e.rightEdgeOfRightWall()-this.centerOfRightWall()}centerToCenter(e){return e.centerOfRightWall()-this.centerOfRightWall()}edgeOffset(e){const n=e.position<this.position,s=n?e.rightEdgeOfRightWall():this.rightEdgeOfRightWall(),L=(n?this.leftEdgeOfRightWall():e.leftEdgeOfRightWall())-s-b6;return n?L*-1:L}centerOfRightWall(){return this.layers<=1?this.position:this.position+$1*(this.layers-1)}rightEdgeOfRightWall(){return this.position+$1*this.layers}leftEdgeOfRightWall(){return this.layers===0?this.position:this.centerOfRightWall()-$1}}const pA=(t,e)=>t==null?void 0:t.getAncestors(n=>(l=>{const L=l instanceof _.MessageContext,c=l instanceof _.CreationContext;return L||c})(n)?n.Owner()===e:!1).length,mA=(t,e)=>{const n=t.get(q4).orderedParticipantNames(),s=W9(e);return n.find(l=>s.includes(l))},Wo=(t,e)=>{const n=t.get(q4).orderedParticipantNames(),l=new v8(n).getFrame(e);return M8(l)},xA=(t,e,n)=>{const s=t.get(q4),l=mA(t,e)||"",L=s.half(l);if(l===n||!n)return a3.debug(`left participant: ${l} ${L}`),Wo(t,e).left+L;const c=pA(e,n),C=new n7(C9(s,n),c);return new n7(C9(s,l),0).centerToCenter(C)+Wo(t,e).left+L},z0=(t,e)=>{const n=ni(),[s,l]=y.useState(!1),L=()=>{l(S=>!S)};y.useEffect(()=>{l(!1)},[t]);const c=n.get(q4),C=c.orderedParticipantNames(),d=W9(t),f=C.find(S=>d.includes(S))||"",p=new v8(C).getFrame(t),m=M8(p),v=xA(n,t,e),b=c.half(f),A=Wo(n,t).left+b,k={transform:"translateX("+(v+1)*-1+"px)",width:xd(t,c)+"px",minWidth:y6+"px"};return{collapsed:s,toggleCollapse:L,offsetX:v,paddingLeft:A,fragmentStyle:k,border:m,halfLeftParticipant:b,leftParticipant:f}};var jo,yd;function wA(){if(yd)return jo;yd=1;function t(Q){return Q instanceof Map?Q.clear=Q.delete=Q.set=function(){throw new Error("map is read-only")}:Q instanceof Set&&(Q.add=Q.clear=Q.delete=function(){throw new Error("set is read-only")}),Object.freeze(Q),Object.getOwnPropertyNames(Q).forEach(function(L2){var M2=Q[L2];typeof M2=="object"&&!Object.isFrozen(M2)&&t(M2)}),Q}var e=t,n=t;e.default=n;class s{constructor(L2){L2.data===void 0&&(L2.data={}),this.data=L2.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function l(Q){return Q.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function L(Q,...L2){const M2=Object.create(null);for(const D2 in Q)M2[D2]=Q[D2];return L2.forEach(function(D2){for(const g1 in D2)M2[g1]=D2[g1]}),M2}const c="</span>",C=Q=>!!Q.kind;class d{constructor(L2,M2){this.buffer="",this.classPrefix=M2.classPrefix,L2.walk(this)}addText(L2){this.buffer+=l(L2)}openNode(L2){if(!C(L2))return;let M2=L2.kind;L2.sublanguage||(M2=`${this.classPrefix}${M2}`),this.span(M2)}closeNode(L2){C(L2)&&(this.buffer+=c)}value(){return this.buffer}span(L2){this.buffer+=`<span class="${L2}">`}}class f{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(L2){this.top.children.push(L2)}openNode(L2){const M2={kind:L2,children:[]};this.add(M2),this.stack.push(M2)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(L2){return this.constructor._walk(L2,this.rootNode)}static _walk(L2,M2){return typeof M2=="string"?L2.addText(M2):M2.children&&(L2.openNode(M2),M2.children.forEach(D2=>this._walk(L2,D2)),L2.closeNode(M2)),L2}static _collapse(L2){typeof L2!="string"&&L2.children&&(L2.children.every(M2=>typeof M2=="string")?L2.children=[L2.children.join("")]:L2.children.forEach(M2=>{f._collapse(M2)}))}}class g extends f{constructor(L2){super(),this.options=L2}addKeyword(L2,M2){L2!==""&&(this.openNode(M2),this.addText(L2),this.closeNode())}addText(L2){L2!==""&&this.add(L2)}addSublanguage(L2,M2){const D2=L2.root;D2.kind=M2,D2.sublanguage=!0,this.add(D2)}toHTML(){return new d(this,this.options).value()}finalize(){return!0}}function p(Q){return new RegExp(Q.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function m(Q){return Q?typeof Q=="string"?Q:Q.source:null}function v(...Q){return Q.map(M2=>m(M2)).join("")}function b(...Q){return"("+Q.map(M2=>m(M2)).join("|")+")"}function A(Q){return new RegExp(Q.toString()+"|").exec("").length-1}function k(Q,L2){const M2=Q&&Q.exec(L2);return M2&&M2.index===0}const S=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function N(Q,L2="|"){let M2=0;return Q.map(D2=>{M2+=1;const g1=M2;let e1=m(D2),X1="";for(;e1.length>0;){const R2=S.exec(e1);if(!R2){X1+=e1;break}X1+=e1.substring(0,R2.index),e1=e1.substring(R2.index+R2[0].length),R2[0][0]==="\\"&&R2[1]?X1+="\\"+String(Number(R2[1])+g1):(X1+=R2[0],R2[0]==="("&&M2++)}return X1}).map(D2=>`(${D2})`).join(L2)}const I=/\b\B/,O="[a-zA-Z]\\w*",B="[a-zA-Z_]\\w*",P="\\b\\d+(\\.\\d+)?",Y="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",n2="\\b(0b[01]+)",l2="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",f2=(Q={})=>{const L2=/^#![ ]*\//;return Q.binary&&(Q.begin=v(L2,/.*\b/,Q.binary,/\b.*/)),L({className:"meta",begin:L2,end:/$/,relevance:0,"on:begin":(M2,D2)=>{M2.index!==0&&D2.ignoreMatch()}},Q)},c2={begin:"\\\\[\\s\\S]",relevance:0},h2={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[c2]},b2={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[c2]},V={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},W=function(Q,L2,M2={}){const D2=L({className:"comment",begin:Q,end:L2,contains:[]},M2);return D2.contains.push(V),D2.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),D2},T=W("//","$"),j=W("/\\*","\\*/"),$=W("#","$"),o2={className:"number",begin:P,relevance:0},g2={className:"number",begin:Y,relevance:0},Z={className:"number",begin:n2,relevance:0},F={className:"number",begin:P+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},E={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[c2,{begin:/\[/,end:/\]/,relevance:0,contains:[c2]}]}]},U={className:"title",begin:O,relevance:0},K={className:"title",begin:B,relevance:0},m2={begin:"\\.\\s*"+B,relevance:0};var N2=Object.freeze({__proto__:null,MATCH_NOTHING_RE:I,IDENT_RE:O,UNDERSCORE_IDENT_RE:B,NUMBER_RE:P,C_NUMBER_RE:Y,BINARY_NUMBER_RE:n2,RE_STARTERS_RE:l2,SHEBANG:f2,BACKSLASH_ESCAPE:c2,APOS_STRING_MODE:h2,QUOTE_STRING_MODE:b2,PHRASAL_WORDS_MODE:V,COMMENT:W,C_LINE_COMMENT_MODE:T,C_BLOCK_COMMENT_MODE:j,HASH_COMMENT_MODE:$,NUMBER_MODE:o2,C_NUMBER_MODE:g2,BINARY_NUMBER_MODE:Z,CSS_NUMBER_MODE:F,REGEXP_MODE:E,TITLE_MODE:U,UNDERSCORE_TITLE_MODE:K,METHOD_GUARD:m2,END_SAME_AS_BEGIN:function(Q){return Object.assign(Q,{"on:begin":(L2,M2)=>{M2.data._beginMatch=L2[1]},"on:end":(L2,M2)=>{M2.data._beginMatch!==L2[1]&&M2.ignoreMatch()}})}});function P2(Q,L2){Q.input[Q.index-1]==="."&&L2.ignoreMatch()}function K2(Q,L2){L2&&Q.beginKeywords&&(Q.begin="\\b("+Q.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Q.__beforeBegin=P2,Q.keywords=Q.keywords||Q.beginKeywords,delete Q.beginKeywords,Q.relevance===void 0&&(Q.relevance=0))}function f1(Q,L2){Array.isArray(Q.illegal)&&(Q.illegal=b(...Q.illegal))}function M1(Q,L2){if(Q.match){if(Q.begin||Q.end)throw new Error("begin & end are not supported with match");Q.begin=Q.match,delete Q.match}}function G1(Q,L2){Q.relevance===void 0&&(Q.relevance=1)}const V2=["of","and","for","in","not","or","if","then","parent","list","value"],y1="keyword";function i3(Q,L2,M2=y1){const D2={};return typeof Q=="string"?g1(M2,Q.split(" ")):Array.isArray(Q)?g1(M2,Q):Object.keys(Q).forEach(function(e1){Object.assign(D2,i3(Q[e1],L2,e1))}),D2;function g1(e1,X1){L2&&(X1=X1.map(R2=>R2.toLowerCase())),X1.forEach(function(R2){const _2=R2.split("|");D2[_2[0]]=[e1,K1(_2[0],_2[1])]})}}function K1(Q,L2){return L2?Number(L2):M3(Q)?0:1}function M3(Q){return V2.includes(Q.toLowerCase())}function d1(Q,{plugins:L2}){function M2(R2,_2){return new RegExp(m(R2),"m"+(Q.case_insensitive?"i":"")+(_2?"g":""))}class D2{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(_2,q2){q2.position=this.position++,this.matchIndexes[this.matchAt]=q2,this.regexes.push([q2,_2]),this.matchAt+=A(_2)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const _2=this.regexes.map(q2=>q2[1]);this.matcherRe=M2(N(_2),!0),this.lastIndex=0}exec(_2){this.matcherRe.lastIndex=this.lastIndex;const q2=this.matcherRe.exec(_2);if(!q2)return null;const t1=q2.findIndex((x4,K9)=>K9>0&&x4!==void 0),N1=this.matchIndexes[t1];return q2.splice(0,t1),Object.assign(q2,N1)}}class g1{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(_2){if(this.multiRegexes[_2])return this.multiRegexes[_2];const q2=new D2;return this.rules.slice(_2).forEach(([t1,N1])=>q2.addRule(t1,N1)),q2.compile(),this.multiRegexes[_2]=q2,q2}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(_2,q2){this.rules.push([_2,q2]),q2.type==="begin"&&this.count++}exec(_2){const q2=this.getMatcher(this.regexIndex);q2.lastIndex=this.lastIndex;let t1=q2.exec(_2);if(this.resumingScanAtSamePosition()&&!(t1&&t1.index===this.lastIndex)){const N1=this.getMatcher(0);N1.lastIndex=this.lastIndex+1,t1=N1.exec(_2)}return t1&&(this.regexIndex+=t1.position+1,this.regexIndex===this.count&&this.considerAll()),t1}}function e1(R2){const _2=new g1;return R2.contains.forEach(q2=>_2.addRule(q2.begin,{rule:q2,type:"begin"})),R2.terminatorEnd&&_2.addRule(R2.terminatorEnd,{type:"end"}),R2.illegal&&_2.addRule(R2.illegal,{type:"illegal"}),_2}function X1(R2,_2){const q2=R2;if(R2.isCompiled)return q2;[M1].forEach(N1=>N1(R2,_2)),Q.compilerExtensions.forEach(N1=>N1(R2,_2)),R2.__beforeBegin=null,[K2,f1,G1].forEach(N1=>N1(R2,_2)),R2.isCompiled=!0;let t1=null;if(typeof R2.keywords=="object"&&(t1=R2.keywords.$pattern,delete R2.keywords.$pattern),R2.keywords&&(R2.keywords=i3(R2.keywords,Q.case_insensitive)),R2.lexemes&&t1)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return t1=t1||R2.lexemes||/\w+/,q2.keywordPatternRe=M2(t1,!0),_2&&(R2.begin||(R2.begin=/\B|\b/),q2.beginRe=M2(R2.begin),R2.endSameAsBegin&&(R2.end=R2.begin),!R2.end&&!R2.endsWithParent&&(R2.end=/\B|\b/),R2.end&&(q2.endRe=M2(R2.end)),q2.terminatorEnd=m(R2.end)||"",R2.endsWithParent&&_2.terminatorEnd&&(q2.terminatorEnd+=(R2.end?"|":"")+_2.terminatorEnd)),R2.illegal&&(q2.illegalRe=M2(R2.illegal)),R2.contains||(R2.contains=[]),R2.contains=[].concat(...R2.contains.map(function(N1){return h1(N1==="self"?R2:N1)})),R2.contains.forEach(function(N1){X1(N1,q2)}),R2.starts&&X1(R2.starts,_2),q2.matcher=e1(q2),q2}if(Q.compilerExtensions||(Q.compilerExtensions=[]),Q.contains&&Q.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Q.classNameAliases=L(Q.classNameAliases||{}),X1(Q)}function G2(Q){return Q?Q.endsWithParent||G2(Q.starts):!1}function h1(Q){return Q.variants&&!Q.cachedVariants&&(Q.cachedVariants=Q.variants.map(function(L2){return L(Q,{variants:null},L2)})),Q.cachedVariants?Q.cachedVariants:G2(Q)?L(Q,{starts:Q.starts?L(Q.starts):null}):Object.isFrozen(Q)?L(Q):Q}var s1="10.7.3";function K3(Q){return!!(Q||Q==="")}function I1(Q){const L2={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Q.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,l(this.code);let D2={};return this.autoDetect?(D2=Q.highlightAuto(this.code),this.detectedLanguage=D2.language):(D2=Q.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),D2.value},autoDetect(){return!this.language||K3(this.autodetect)},ignoreIllegals(){return!0}},render(D2){return D2("pre",{},[D2("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:L2,VuePlugin:{install(D2){D2.component("highlightjs",L2)}}}}const z1={"after:highlightElement":({el:Q,result:L2,text:M2})=>{const D2=Y1(Q);if(!D2.length)return;const g1=document.createElement("div");g1.innerHTML=L2.value,L2.value=C3(D2,Y1(g1),M2)}};function i1(Q){return Q.nodeName.toLowerCase()}function Y1(Q){const L2=[];return(function M2(D2,g1){for(let e1=D2.firstChild;e1;e1=e1.nextSibling)e1.nodeType===3?g1+=e1.nodeValue.length:e1.nodeType===1&&(L2.push({event:"start",offset:g1,node:e1}),g1=M2(e1,g1),i1(e1).match(/br|hr|img|input/)||L2.push({event:"stop",offset:g1,node:e1}));return g1})(Q,0),L2}function C3(Q,L2,M2){let D2=0,g1="";const e1=[];function X1(){return!Q.length||!L2.length?Q.length?Q:L2:Q[0].offset!==L2[0].offset?Q[0].offset<L2[0].offset?Q:L2:L2[0].event==="start"?Q:L2}function R2(t1){function N1(x4){return" "+x4.nodeName+'="'+l(x4.value)+'"'}g1+="<"+i1(t1)+[].map.call(t1.attributes,N1).join("")+">"}function _2(t1){g1+="</"+i1(t1)+">"}function q2(t1){(t1.event==="start"?R2:_2)(t1.node)}for(;Q.length||L2.length;){let t1=X1();if(g1+=l(M2.substring(D2,t1[0].offset)),D2=t1[0].offset,t1===Q){e1.reverse().forEach(_2);do q2(t1.splice(0,1)[0]),t1=X1();while(t1===Q&&t1.length&&t1[0].offset===D2);e1.reverse().forEach(R2)}else t1[0].event==="start"?e1.push(t1[0].node):e1.pop(),q2(t1.splice(0,1)[0])}return g1+l(M2.substr(D2))}const C4={},Q9=Q=>{console.error(Q)},N0=(Q,...L2)=>{console.log(`WARN: ${Q}`,...L2)},D3=(Q,L2)=>{C4[`${Q}/${L2}`]||(console.log(`Deprecated as of ${Q}. ${L2}`),C4[`${Q}/${L2}`]=!0)},m4=l,p3=L,m3=Symbol("nomatch");var k5=function(Q){const L2=Object.create(null),M2=Object.create(null),D2=[];let g1=!0;const e1=/(^(<[^>]+>|\t|)+|\n)/gm,X1="Could not find the language '{}', did you forget to load/include a language module?",R2={disableAutodetect:!0,name:"Plain text",contains:[]};let _2={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:g};function q2(C2){return _2.noHighlightRe.test(C2)}function t1(C2){let Z2=C2.className+" ";Z2+=C2.parentNode?C2.parentNode.className:"";const L1=_2.languageDetectRe.exec(Z2);if(L1){const U1=y2(L1[1]);return U1||(N0(X1.replace("{}",L1[1])),N0("Falling back to no-highlight mode for this block.",C2)),U1?L1[1]:"no-highlight"}return Z2.split(/\s+/).find(U1=>q2(U1)||y2(U1))}function N1(C2,Z2,L1,U1){let l3="",K4="";typeof Z2=="object"?(l3=C2,L1=Z2.ignoreIllegals,K4=Z2.language,U1=void 0):(D3("10.7.0","highlight(lang, code, ...args) has been deprecated."),D3("10.7.0",`Please use highlight(code, options) instead.
219
- https://github.com/highlightjs/highlight.js/issues/2277`),K4=C2,l3=Z2);const _3={code:l3,language:K4};B3("before:highlight",_3);const r3=_3.result?_3.result:x4(_3.language,_3.code,L1,U1);return r3.code=_3.code,B3("after:highlight",r3),r3}function x4(C2,Z2,L1,U1){function l3(B2,W2){const Q2=e0.case_insensitive?W2[0].toLowerCase():W2[0];return Object.prototype.hasOwnProperty.call(B2.keywords,Q2)&&B2.keywords[Q2]}function K4(){if(!c1.keywords){d3.addText(h3);return}let B2=0;c1.keywordPatternRe.lastIndex=0;let W2=c1.keywordPatternRe.exec(h3),Q2="";for(;W2;){Q2+=h3.substring(B2,W2.index);const k1=l3(c1,W2);if(k1){const[I3,f9]=k1;if(d3.addText(Q2),Q2="",I5+=f9,I3.startsWith("_"))Q2+=W2[0];else{const O0=e0.classNameAliases[I3]||I3;d3.addKeyword(W2[0],O0)}}else Q2+=W2[0];B2=c1.keywordPatternRe.lastIndex,W2=c1.keywordPatternRe.exec(h3)}Q2+=h3.substr(B2),d3.addText(Q2)}function _3(){if(h3==="")return;let B2=null;if(typeof c1.subLanguage=="string"){if(!L2[c1.subLanguage]){d3.addText(h3);return}B2=x4(c1.subLanguage,h3,!0,d7[c1.subLanguage]),d7[c1.subLanguage]=B2.top}else B2=J9(h3,c1.subLanguage.length?c1.subLanguage:null);c1.relevance>0&&(I5+=B2.relevance),d3.addSublanguage(B2.emitter,B2.language)}function r3(){c1.subLanguage!=null?_3():K4(),h3=""}function O4(B2){return B2.className&&d3.openNode(e0.classNameAliases[B2.className]||B2.className),c1=Object.create(B2,{parent:{value:c1}}),c1}function I9(B2,W2,Q2){let k1=k(B2.endRe,Q2);if(k1){if(B2["on:end"]){const I3=new s(B2);B2["on:end"](W2,I3),I3.isMatchIgnored&&(k1=!1)}if(k1){for(;B2.endsParent&&B2.parent;)B2=B2.parent;return B2}}if(B2.endsWithParent)return I9(B2.parent,W2,Q2)}function C7(B2){return c1.matcher.regexIndex===0?(h3+=B2[0],1):(h7=!0,0)}function Ft(B2){const W2=B2[0],Q2=B2.rule,k1=new s(Q2),I3=[Q2.__beforeBegin,Q2["on:begin"]];for(const f9 of I3)if(f9&&(f9(B2,k1),k1.isMatchIgnored))return C7(W2);return Q2&&Q2.endSameAsBegin&&(Q2.endRe=p(W2)),Q2.skip?h3+=W2:(Q2.excludeBegin&&(h3+=W2),r3(),!Q2.returnBegin&&!Q2.excludeBegin&&(h3=W2)),O4(Q2),Q2.returnBegin?0:W2.length}function k8(B2){const W2=B2[0],Q2=Z2.substr(B2.index),k1=I9(c1,B2,Q2);if(!k1)return m3;const I3=c1;I3.skip?h3+=W2:(I3.returnEnd||I3.excludeEnd||(h3+=W2),r3(),I3.excludeEnd&&(h3=W2));do c1.className&&d3.closeNode(),!c1.skip&&!c1.subLanguage&&(I5+=c1.relevance),c1=c1.parent;while(c1!==k1.parent);return k1.starts&&(k1.endSameAsBegin&&(k1.starts.endRe=k1.endRe),O4(k1.starts)),I3.returnEnd?0:W2.length}function dl(){const B2=[];for(let W2=c1;W2!==e0;W2=W2.parent)W2.className&&B2.unshift(W2.className);B2.forEach(W2=>d3.openNode(W2))}let U3={};function Z8(B2,W2){const Q2=W2&&W2[0];if(h3+=B2,Q2==null)return r3(),0;if(U3.type==="begin"&&W2.type==="end"&&U3.index===W2.index&&Q2===""){if(h3+=Z2.slice(W2.index,W2.index+1),!g1){const k1=new Error("0 width match regex");throw k1.languageName=C2,k1.badRule=U3.rule,k1}return 1}if(U3=W2,W2.type==="begin")return Ft(W2);if(W2.type==="illegal"&&!L1){const k1=new Error('Illegal lexeme "'+Q2+'" for mode "'+(c1.className||"<unnamed>")+'"');throw k1.mode=c1,k1}else if(W2.type==="end"){const k1=k8(W2);if(k1!==m3)return k1}if(W2.type==="illegal"&&Q2==="")return 1;if(z5>1e5&&z5>W2.index*3)throw new Error("potential infinite loop, way more iterations than matches");return h3+=Q2,Q2.length}const e0=y2(C2);if(!e0)throw Q9(X1.replace("{}",C2)),new Error('Unknown language: "'+C2+'"');const u7=d1(e0,{plugins:D2});let z9="",c1=U1||u7;const d7={},d3=new _2.__emitter(_2);dl();let h3="",I5=0,t0=0,z5=0,h7=!1;try{for(c1.matcher.considerAll();;){z5++,h7?h7=!1:c1.matcher.considerAll(),c1.matcher.lastIndex=t0;const B2=c1.matcher.exec(Z2);if(!B2)break;const W2=Z2.substring(t0,B2.index),Q2=Z8(W2,B2);t0=B2.index+Q2}return Z8(Z2.substr(t0)),d3.closeAllNodes(),d3.finalize(),z9=d3.toHTML(),{relevance:Math.floor(I5),value:z9,language:C2,illegal:!1,emitter:d3,top:c1}}catch(B2){if(B2.message&&B2.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:B2.message,context:Z2.slice(t0-100,t0+100),mode:B2.mode},sofar:z9,relevance:0,value:m4(Z2),emitter:d3};if(g1)return{illegal:!1,relevance:0,value:m4(Z2),emitter:d3,language:C2,top:c1,errorRaised:B2};throw B2}}function K9(C2){const Z2={relevance:0,emitter:new _2.__emitter(_2),value:m4(C2),illegal:!1,top:R2};return Z2.emitter.addText(C2),Z2}function J9(C2,Z2){Z2=Z2||_2.languages||Object.keys(L2);const L1=K9(C2),U1=Z2.filter(y2).filter(Q1).map(O4=>x4(O4,C2,!1));U1.unshift(L1);const l3=U1.sort((O4,I9)=>{if(O4.relevance!==I9.relevance)return I9.relevance-O4.relevance;if(O4.language&&I9.language){if(y2(O4.language).supersetOf===I9.language)return 1;if(y2(I9.language).supersetOf===O4.language)return-1}return 0}),[K4,_3]=l3,r3=K4;return r3.second_best=_3,r3}function b8(C2){return _2.tabReplace||_2.useBR?C2.replace(e1,Z2=>Z2===`
218
+ `}],Kb=()=>{const[t,e]=y.useState(!1),[n=md[0].id,s]=r9(c8),[l,L]=r9(Ps),[c,C]=r9(wv),d=v=>{Qb({theme:n,enableScopedTheming:l},v,"sequence")},f=()=>{e(!0),C(""),d("theme-open-modal")},g=()=>{e(!1),d("theme-close-modal")},p=v=>{s(v),d("theme-select")},m=v=>{L(v),d("theme-enable-scoped")};return M.jsxs(M.Fragment,{children:[M.jsxs("button",{type:"button",className:"flex items-center relative",onClick:f,children:[M.jsx(k3,{name:"theme"}),c&&M.jsx("span",{className:"dot absolute top-0 right-0 w-1 h-1 rounded-full bg-red-500"})]}),M.jsx(dd,{show:t,children:M.jsxs(Nb,{className:"relative z-10",onClick:g,onClose:g,children:[M.jsx(K6,{enter:"duration-300 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"duration-200 ease-in",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:M.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-25"})}),M.jsx("div",{className:"fixed inset-0 overflow-y-auto",children:M.jsx("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:M.jsx(K6,{enter:"duration-300 ease-out",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"duration-200 ease-in",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:M.jsxs(fd,{className:"w-full max-w-md transform overflow-hidden rounded-2xl bg-white py-6 text-left align-middle shadow-xl transition-all",children:[M.jsxs("div",{className:"px-6 w-[450px]",children:[M.jsx(gd,{as:"h3",className:"text-lg font-semibold leading-6 text-gray-900",children:"Theme"}),M.jsx("p",{className:"text-gray-500 text-sm",children:"Customize your UI theme"}),M.jsx("div",{className:"mt-4 ml-[-0.5rem] px-2 max-h-72 overflow-y-auto pb-4",children:M.jsxs(Yb,{value:n,onChange:p,children:[M.jsx(mo,{className:"sr-only",children:"Server size"}),M.jsx("div",{className:"space-y-2",children:md.map(v=>M.jsx(pd,{value:v.id,children:M.jsxs("div",{className:(H2(n===v.id?"border-2 text-gray-900 border-primary":"border-2 border-transparent"),"relative flex items-center cursor-pointer rounded-lg px-4 py-3 shadow-md"),children:[M.jsxs("div",{className:"flex w-full items-center text-sm text-gray-900",children:[n===v.id?M.jsx(k3,{name:"selected-cycle",className:"h-5 w-5 fill-none"}):M.jsx(k3,{name:"non-selected-cycle",className:"h-5 w-5"}),M.jsx(mo,{as:"p",className:H2((n===v.id,"text-gray-900"),"font-medium ml-2"),children:v.name})]}),M.jsx("span",{className:"inline-block w-20 border rounded-md overflow-hidden",dangerouslySetInnerHTML:{__html:v.icon}})]})},v.id))})]})})]}),M.jsxs("div",{className:"pt-6 px-6 border-t flex items-center gap-2",children:[M.jsx("input",{type:"checkbox",id:"scopeTheming",checked:l,onChange:v=>m(v.target.checked)}),M.jsx("label",{htmlFor:"scopeTheming",className:"select-none",children:"Apply to this diagram only"})]})]})})})})]})})]})},Jb=X.tree.ParseTreeWalker.DEFAULT;class v8 extends J{constructor(n){super();d2(this,"_orderedParticipants");d2(this,"frameRoot",null);d2(this,"parents",[]);this._orderedParticipants=n}getLocalParticipants(n){return[n.Origin()||E1,...L8(n).ImplicitArray().map(s=>s.name)]}getLeft(n){const s=W9(n);return this._orderedParticipants.find(l=>s.includes(l))||""}getRight(n){return this._orderedParticipants.slice().reverse().find(s=>W9(n).includes(s))||""}enterFragment(n,s){var L;const l={type:s,left:this.getLeft(n),right:this.getRight(n),children:[]};this.frameRoot||(this.frameRoot=l),this.parents.length>0&&((L=this.parents[this.parents.length-1].children)==null||L.push(l)),this.parents.push(l)}exitFragment(){this.parents.pop()}enterTcf(n){this.enterFragment(n,"tcf")}enterOpt(n){this.enterFragment(n,"opt")}enterPar(n){this.enterFragment(n,"par")}enterAlt(n){this.enterFragment(n,"alt")}enterLoop(n){this.enterFragment(n,"loop")}enterSection(n){this.enterFragment(n,"section")}enterCritical(n){this.enterFragment(n,"critical")}enterRef(n){this.enterFragment(n,"ref")}exitTcf(){this.exitFragment()}exitOpt(){this.exitFragment()}exitPar(){this.exitFragment()}exitAlt(){this.exitFragment()}exitLoop(){this.exitFragment()}exitSection(){this.exitFragment()}exitCritical(){this.exitFragment()}exitRef(){this.exitFragment()}getFrame(n){return n.children.map(s=>{Jb.walk(this,s)}),this.frameRoot}}function Bo(t,e){if(!t.children||t.children.length===0)return 1;let n=0;for(const s of t.children)e==="LEFT"&&s.left!==t.left||e==="RIGHT"&&s.right!==t.right||(n=Math.max(n,Bo(s,e)));return n+1}function M8(t){return t?{type:t.type,left:Ne*Bo(t,"LEFT"),right:Ne*Bo(t,"RIGHT")}:{left:0,right:0}}function xd(t,e){const n=e.orderedParticipantNames(),s=W9(t),l=n.find(p=>s.includes(p))||"",L=n.slice().reverse().find(p=>s.includes(p))||"",C=new v8(n).getFrame(t),d=M8(C),f=eA(t,L,e),g=e.distance(l,L)+e.half(l)+e.half(L);return Math.max(g,y6)+d.left+d.right+f}function eA(t,e,n){const l=h5(t).filter(L=>L.from===L.to).map(L=>n.getMessageWidth(L)-n.distance(L.from||E1,e)-n.half(e));return Math.max.apply(null,[0,...l])}function tA(){const[t,e]=y.useState(0),[n,s]=y.useState(0),l=()=>{e(document.documentElement.scrollTop),s(document.documentElement.scrollLeft)};return y.useEffect(()=>{l();const L=new AbortController;return document.addEventListener("scroll",l,{signal:L.signal}),()=>{L.abort()}},[]),[t,n]}const Uo=10,nA=1,wd=20;function iA(){let t=document.getElementById("zenuml-intersection-detector-container"),e=Array.from(document.getElementsByClassName("zenuml-intersection-detector"));return t&&e.length===Uo?{detectorContainer:t,detectors:e}:(t=document.createElement("div"),t.id="zenuml-intersection-detector-container",Object.assign(t.style,{position:"absolute",top:"0",left:"0",opacity:"0",pointerEvents:"none"}),e=new Array(Uo).fill(0).map(()=>{const n=document.createElement("div");return n.className="zenuml-intersection-detector",Object.assign(n.style,{position:"absolute",top:"0",left:"0",width:"100%"}),t==null||t.appendChild(n),n}),document.body.appendChild(t),{detectorContainer:t,detectors:e})}function sA(){const[t,e]=y.useState(0),n=y.useRef(null);return y.useEffect(()=>{const{detectorContainer:s,detectors:l}=iA(),L=document.documentElement.scrollHeight-wd,c=document.documentElement.scrollWidth-wd;s.style.height=L+"px",s.style.width=c+"px";const C=Math.ceil(document.documentElement.scrollHeight/Uo),d=[...Array(C+1).keys()].map(f=>f/C).filter(f=>f>=0&&f<=1);return l.forEach((f,g)=>{f.style.top=g*C+"px",f.style.height=C+"px"}),n.current=new IntersectionObserver(([f])=>{(f.intersectionRect.top-f.boundingClientRect.top>nA||f.target===l[0])&&e(f.intersectionRect.top)},{threshold:d}),l.forEach(f=>{n.current&&n.current.observe(f)}),()=>{var f;(f=n.current)==null||f.disconnect()}},[]),t}const e7={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},vd=Object.create(null);for(const t in e7)Object.hasOwn(e7,t)&&(vd[e7[t]]=t);const c4={to:{},get:{}};c4.get=function(t){const e=t.slice(0,3).toLowerCase();let n,s;switch(e){case"hsl":{n=c4.get.hsl(t),s="hsl";break}case"hwb":{n=c4.get.hwb(t),s="hwb";break}default:{n=c4.get.rgb(t),s="rgb";break}}return n?{model:s,value:n}:null},c4.get.rgb=function(t){if(!t)return null;const e=/^#([a-f\d]{3,4})$/i,n=/^#([a-f\d]{6})([a-f\d]{2})?$/i,s=/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i,l=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i,L=/^(\w+)$/;let c=[0,0,0,1],C,d,f;if(C=t.match(n)){for(f=C[2],C=C[1],d=0;d<3;d++){const g=d*2;c[d]=Number.parseInt(C.slice(g,g+2),16)}f&&(c[3]=Number.parseInt(f,16)/255)}else if(C=t.match(e)){for(C=C[1],f=C[3],d=0;d<3;d++)c[d]=Number.parseInt(C[d]+C[d],16);f&&(c[3]=Number.parseInt(f+f,16)/255)}else if(C=t.match(s)){for(d=0;d<3;d++)c[d]=Number.parseFloat(C[d+1]);C[4]&&(c[3]=C[5]?Number.parseFloat(C[4])*.01:Number.parseFloat(C[4]))}else if(C=t.match(l)){for(d=0;d<3;d++)c[d]=Math.round(Number.parseFloat(C[d+1])*2.55);C[4]&&(c[3]=C[5]?Number.parseFloat(C[4])*.01:Number.parseFloat(C[4]))}else return(C=t.toLowerCase().match(L))?C[1]==="transparent"?[0,0,0,0]:Object.hasOwn(e7,C[1])?(c=e7[C[1]].slice(),c[3]=1,c):null:null;for(d=0;d<3;d++)c[d]=E0(c[d],0,255);return c[3]=E0(c[3],0,1),c},c4.get.hsl=function(t){if(!t)return null;const e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,n=t.match(e);if(n){const s=Number.parseFloat(n[4]),l=(Number.parseFloat(n[1])%360+360)%360,L=E0(Number.parseFloat(n[2]),0,100),c=E0(Number.parseFloat(n[3]),0,100),C=E0(Number.isNaN(s)?1:s,0,1);return[l,L,c,C]}return null},c4.get.hwb=function(t){if(!t)return null;const e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,n=t.match(e);if(n){const s=Number.parseFloat(n[4]),l=(Number.parseFloat(n[1])%360+360)%360,L=E0(Number.parseFloat(n[2]),0,100),c=E0(Number.parseFloat(n[3]),0,100),C=E0(Number.isNaN(s)?1:s,0,1);return[l,L,c,C]}return null},c4.to.hex=function(...t){return"#"+St(t[0])+St(t[1])+St(t[2])+(t[3]<1?St(Math.round(t[3]*255)):"")},c4.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},c4.to.rgb.percent=function(...t){const e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),s=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+s+"%)":"rgba("+e+"%, "+n+"%, "+s+"%, "+t[3]+")"},c4.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},c4.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},c4.to.keyword=function(...t){return vd[t.slice(0,3)]};function E0(t,e,n){return Math.min(Math.max(e,t),n)}function St(t){const e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}function oA(t){const e=c4.get.rgb(t)||[0,0,0],[n,s,l]=e;return(n*299+s*587+l*114)/1e3}function lA(t){const e=c4.get.rgb(t)||[0,0,0],[n,s,l]=e;return`rgb(${n}, ${s}, ${l})`}function rA(t){let e=0,n=t;for(;n;)e+=n.offsetTop,n=n.offsetParent;return e}const t7=/[!@#$%^&*()+-,.?''":{}|<>/\s]/,_8=t=>{let e=t.replace(/\s+/g," ");return t7.test(e)&&(e=e.replace(/"/g,""),e=`"${e}"`,t7.lastIndex=0),e},Md=t=>t.replace(/\s+/g," "),Ho=({text:t,isEditable:e=!0,className:n="",onSave:s,title:l="Double-click to edit"})=>{const[L,c]=y.useState(!1),[C,d]=y.useState(!1),f=y.useRef(""),g=y.useRef(null),p=y.useRef(!1),m=B=>{if(!e)return;B.preventDefault(),B.stopPropagation(),p.current=!1;const P=B.target,Y="clientX"in B?{x:B.clientX,y:B.clientY}:null;P&&(f.current=P.innerText??""),c(!0),setTimeout(()=>{var o2;const n2=B.target;if(n2&&(n2.focus(),Y)){const f2=window.getSelection();if(!f2)return;let c2=(o2=document.caretRangeFromPoint)==null?void 0:o2.call(document,Y.x,Y.y);if(!c2&&document.caretPositionFromPoint){const h2=document.caretPositionFromPoint(Y.x,Y.y);h2&&(c2=document.createRange(),c2.setStart(h2.offsetNode,h2.offset))}c2&&(c2.collapse(!0),f2.removeAllRanges(),f2.addRange(c2))}},0)},v=B=>{L||!e||m(B)},b=()=>{!L&&e&&d(!0)},A=()=>{d(!1)},k=()=>{var P,Y;const B=((Y=(P=g.current)==null?void 0:P.innerText)==null?void 0:Y.trim())??"";s(B)},S=()=>{L&&(p.current||(c(!1),d(!1),k()))},N=B=>{if(e&&L){if(B.key==="Escape"){B.preventDefault(),B.stopPropagation(),p.current=!0;const P=B.target;P&&(P.innerText=f.current),c(!1),d(!1);return}B.key==="Enter"&&(B.preventDefault(),B.stopPropagation())}},I=B=>{e&&L&&(B.key==="Enter"||B.key==="Tab")&&(c(!1),d(!1),k())},O=()=>{const B=[n,"editable-span-base"];return L?B.push("editable-span-editing"):C?B.push("editable-span-hover"):e&&B.push("cursor-pointer"),B.filter(Boolean).join(" ")};return M.jsx("span",{ref:g,title:e?l:void 0,className:O(),contentEditable:L&&e,suppressContentEditableWarning:!0,onDoubleClick:v,onMouseEnter:b,onMouseLeave:A,onBlur:S,onKeyUp:I,onKeyDown:N,children:t})},aA=["Missing Constructor","ZenUML"],LA=t=>{const e=X2(y9),[n,s]=r9(p5),l=X2(N6),L=e===G4.Dynamic&&aA.indexOf(t.labelText)===-1,c=e===G4.Dynamic,C=t.assignee?`${t.assignee}:${t.labelText}`:t.labelText,d=m=>{let v=m;return v.includes(" ")&&(v=v.replace(/\s+/g," ")),t7.test(v)&&(v=v.replace(/"/g,""),v=`"${v}"`,t7.lastIndex=0),v},f=m=>{const v=m.flatMap(({positions:A,text:k})=>A.map(S=>({position:S,text:d(k)}))).sort((A,k)=>k.position[0]-A.position[0]);if(v.length===0)return;let b=n;for(const{position:A,text:k}of v){const[S,N]=A;b=b.slice(0,S)+k+b.slice(N)}s(b),l(b)},g=(m,v)=>b=>{b===""||b===v||f([{positions:m,text:b}])},p=m=>v=>{if(v===""||v===m)return;let b=t.assignee??"",A=v;const k=v.indexOf(":");if(k>=0){const S=v.slice(0,k).trim(),N=v.slice(k+1).trim();S&&(b=S),N?A=N:A=t.labelText}f([{positions:t.assigneePositions??[],text:b},{positions:t.labelPositions??[],text:A}])};return M.jsx("div",{className:"flex items-center justify-center",children:M.jsx(Ho,{text:C,isEditable:t.assignee?c:L,className:H2("name leading-4 right px-1"),onSave:t.assignee?p(C):g(t.labelPositions??[],t.labelText),title:"Double-click to edit"})})},cA=10,CA=!!localStorage.getItem("zenumlDebug"),uA=t=>{var N;const e=y.useRef(null),n=X2(y9),s=X2($e),l=X2(js),L=X2(Hc),c=X2(Ve),C=Q5(vv),d=sA(),[f]=tA(),g=t.entity.name===E1,p=Array.from(s.GetPositions(t.entity.name)??[]).sort((I,O)=>O[0]-I[0]),m=Array.from(s.GetAssigneePositions(t.entity.name)??[]).sort((I,O)=>O[0]-I[0]),v=()=>{const I=t.offsetTop2||0;let O=d+f;d>cA&&L!==!1&&(O+=L);const B=(l==null?void 0:l.clientHeight)||0,P=l?rA(l):0;return O<I+P?0:Math.min(O-P,B-Yx-50)-I},b=n===G4.Static||L===!1?0:v(),A=t.entity.color?lA(t.entity.color):void 0,k=y.useMemo(()=>{if(!t.entity.color)return;const I=e.current&&window.getComputedStyle(e.current).getPropertyValue("background-color");if(I)return oA(I)>128?"#000":"#fff"},[t.entity.color]),S=g?"actor":(N=t.entity.type)==null?void 0:N.toLowerCase();return M.jsxs("div",{className:H2("participant bg-skin-participant shadow-participant border-skin-participant text-skin-participant rounded text-base leading-4 flex flex-col justify-center z-10 h-10 top-8",{selected:c.includes(t.entity.name)}),ref:e,style:{backgroundColor:g?void 0:A,color:g?void 0:k,transform:`translateY(${b}px)`},onClick:()=>C(t.entity.name),"data-participant-id":t.entity.name,children:[CA&&M.jsx("div",{className:"absolute left-[-12px] top-1/2 -translate-y-1/2 w-8 h-[2px] bg-amber-700",children:M.jsx("div",{className:"w-full h-full bg-black"})}),M.jsxs("div",{className:"flex items-center justify-center",children:[S&&M.jsx(AC,{iconKey:S,className:"h-6 w-6 mr-1 flex-shrink-0 [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${t.entity.name}`}),!g&&M.jsxs("div",{className:"h-5 group flex flex-col justify-center",children:[t.entity.stereotype&&M.jsxs("label",{className:"interface leading-4",children:["«",t.entity.stereotype,"»"]}),M.jsx(LA,{labelText:t.entity.assignee?t.entity.name.split(":")[1]:t.entity.label||t.entity.name,labelPositions:p,assignee:t.entity.assignee,assigneePositions:m})]})]})]})},C9=(t,e)=>{if(!e)return console.warn("[@zenuml/core] centerOf: entity is undefined"),0;try{return t.getPosition(e)||0}catch(n){return console.error(n),0}},dA=(t,e,n)=>!e||!n?0:C9(t,n)-C9(t,e),kt=t=>{var v;const e=y.useRef(null),n=X2(q4),s=X2(xv),l=X2(Hs),L=X2(js),c=X2(Fc),C=Q5(Vs),d=20,[f,g]=y.useState(d),p=C9(n,t.entity.name)-(t.groupLeft||0),m=y.useCallback(()=>{var S;const b=t.entity.name.replace(/[^A-Za-z0-9_-]/g,"\\$&"),A=L==null?void 0:L.querySelector(`[data-to="${b}"]`),k=(A==null?void 0:A.offsetParent)!=null;if(A&&A.getAttribute("data-type")==="creation"&&k){const N=((S=e.current)==null?void 0:S.getBoundingClientRect().y)||0,I=A.getBoundingClientRect().y;g((I-N)/(c||1))}else g(d)},[L,t.entity.name,c]);return y.useEffect(()=>{const b=()=>{if(!s)return!1;const A=s.getCreationTop(t.entity.name),k=A!=null?Math.max(d,A):d;return A!=null&&a3.info(`[LifeLine] creation participant="${t.entity.name}" creationTop=${A} resolvedTop=${k}`),g(k),!0};if(l==="html")b();else{const A=()=>setTimeout(m,0);return setTimeout(m,0),J6.on("participant_set_top",A),()=>J6.off("participant_set_top",A)}t.entity.name!==E1&&setTimeout(()=>{C(A=>A.includes(t.entity.name)?A:[...A,t.entity.name])},0)},[t.entity.name,s,l,C,m]),M.jsxs("div",{id:t.entity.name,"entity-type":(v=t.entity.type)==null?void 0:v.toLowerCase(),className:H2("lifeline absolute flex flex-col h-full",{"transform -translate-x-1/2":t.renderParticipants},t.className),style:{paddingTop:f+"px",left:p+"px",translate:0},ref:e,children:[t.renderParticipants&&M.jsx(uA,{entity:t.entity,offsetTop2:f}),t.renderLifeLine&&M.jsx("div",{className:"line w0 mx-auto flex-grow w-px bg-[linear-gradient(to_bottom,transparent_50%,var(--color-border-base)_50%)] bg-[length:1px_10px]"})]})},_d=2,hA=t=>{var c,C;const e=X2(q4),n=L8(t.context).Array();if(n.length<=0)return null;const s=e.left(n[0].name)+_d,l=e.right(n[n.length-1].name)-_d,L=(C=(c=t.context)==null?void 0:c.name())==null?void 0:C.getFormattedText();return M.jsxs("div",{className:H2("lifeline-group-container absolute flex flex-col flex-grow h-full",{"outline-dashed outline-skin-primary":t.renderLifeLine}),style:{left:`${s}px`,width:`${l-s}px`},children:[t.renderParticipants&&L&&M.jsx("div",{className:"z-10 absolute flex items-center justify-center w-full bg-skin-frame",children:M.jsx("span",{className:"font-semibold text-skin-lifeline-group-name",children:L})}),M.jsx("div",{className:"lifeline-group relative flex-grow",children:n.map(d=>M.jsx(kt,{entity:d,groupLeft:s,renderLifeLine:t.renderLifeLine,renderParticipants:t.renderParticipants},d.name))})]})},Po=t=>{var L;const e=X2(y9),n=X2(q4),s=X2($e),l=y.useMemo(()=>{const c=n.orderedParticipantNames();return c.length===0?null:c[0]===E1?{...yL,name:E1,explicit:!1,isStarter:!0}:null},[n]);return M.jsx("div",{className:"life-line-layer lifeline-layer z-30 absolute h-full flex flex-col top-0 pt-2","data-participant-names":"participantNames",style:{minWidth:e===G4.Dynamic?"200px":"auto",width:`calc(100% - ${t.leftGap}px)`,pointerEvents:t.renderParticipants?"none":"all"},children:M.jsxs("div",{className:"z-lifeline-container relative grow",children:[l&&!(l!=null&&l.explicit)&&M.jsx(kt,{entity:l,className:"starter",renderParticipants:t.renderParticipants,renderLifeLine:t.renderLifeLine}),(((L=t.context)==null?void 0:L.children)||[]).filter(c=>c instanceof YL||c instanceof XL).map((c,C)=>M.jsxs(y.Fragment,{children:[c instanceof YL&&M.jsx(hA,{context:c,renderParticipants:t.renderParticipants,renderLifeLine:t.renderLifeLine},C),c instanceof XL&&M.jsx(kt,{entity:L8(c).First(),renderParticipants:t.renderParticipants,renderLifeLine:t.renderLifeLine},C)]},C)),s.ImplicitArray().map(c=>M.jsx(kt,{entity:c,renderParticipants:t.renderParticipants,renderLifeLine:t.renderLifeLine},c.name))]})})},fA=t=>{const e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",section:"FragmentSection",critical:"FragmentCritical",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},n=Object.keys(e).find(s=>t[s]()!==null)||"";return e[n]},Zt=t=>t&&t.stat()?t.stat().filter(e=>fA(e)!=="Divider").length:0,gA=(t,e)=>{if(t){const n=t.split(".");return n[n.length-1]=Number(n[n.length-1])+e,n.join(".")}else return String(e)};class n7{constructor(e,n){this.position=e,this.layers=n}centerToEdge(e){return e.rightEdgeOfRightWall()-this.centerOfRightWall()}centerToCenter(e){return e.centerOfRightWall()-this.centerOfRightWall()}edgeOffset(e){const n=e.position<this.position,s=n?e.rightEdgeOfRightWall():this.rightEdgeOfRightWall(),L=(n?this.leftEdgeOfRightWall():e.leftEdgeOfRightWall())-s-b6;return n?L*-1:L}centerOfRightWall(){return this.layers<=1?this.position:this.position+$1*(this.layers-1)}rightEdgeOfRightWall(){return this.position+$1*this.layers}leftEdgeOfRightWall(){return this.layers===0?this.position:this.centerOfRightWall()-$1}}const pA=(t,e)=>t==null?void 0:t.getAncestors(n=>(l=>{const L=l instanceof _.MessageContext,c=l instanceof _.CreationContext;return L||c})(n)?n.Owner()===e:!1).length,mA=(t,e)=>{const n=t.get(q4).orderedParticipantNames(),s=W9(e);return n.find(l=>s.includes(l))},Wo=(t,e)=>{const n=t.get(q4).orderedParticipantNames(),l=new v8(n).getFrame(e);return M8(l)},xA=(t,e,n)=>{const s=t.get(q4),l=mA(t,e)||"",L=s.half(l);if(l===n||!n)return a3.debug(`left participant: ${l} ${L}`),Wo(t,e).left+L;const c=pA(e,n),C=new n7(C9(s,n),c);return new n7(C9(s,l),0).centerToCenter(C)+Wo(t,e).left+L},I0=(t,e)=>{const n=ni(),[s,l]=y.useState(!1),L=()=>{l(S=>!S)};y.useEffect(()=>{l(!1)},[t]);const c=n.get(q4),C=c.orderedParticipantNames(),d=W9(t),f=C.find(S=>d.includes(S))||"",p=new v8(C).getFrame(t),m=M8(p),v=xA(n,t,e),b=c.half(f),A=Wo(n,t).left+b,k={transform:"translateX("+(v+1)*-1+"px)",width:xd(t,c)+"px",minWidth:y6+"px"};return{collapsed:s,toggleCollapse:L,offsetX:v,paddingLeft:A,fragmentStyle:k,border:m,halfLeftParticipant:b,leftParticipant:f}};var jo,yd;function wA(){if(yd)return jo;yd=1;function t(Q){return Q instanceof Map?Q.clear=Q.delete=Q.set=function(){throw new Error("map is read-only")}:Q instanceof Set&&(Q.add=Q.clear=Q.delete=function(){throw new Error("set is read-only")}),Object.freeze(Q),Object.getOwnPropertyNames(Q).forEach(function(L2){var M2=Q[L2];typeof M2=="object"&&!Object.isFrozen(M2)&&t(M2)}),Q}var e=t,n=t;e.default=n;class s{constructor(L2){L2.data===void 0&&(L2.data={}),this.data=L2.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function l(Q){return Q.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function L(Q,...L2){const M2=Object.create(null);for(const D2 in Q)M2[D2]=Q[D2];return L2.forEach(function(D2){for(const g1 in D2)M2[g1]=D2[g1]}),M2}const c="</span>",C=Q=>!!Q.kind;class d{constructor(L2,M2){this.buffer="",this.classPrefix=M2.classPrefix,L2.walk(this)}addText(L2){this.buffer+=l(L2)}openNode(L2){if(!C(L2))return;let M2=L2.kind;L2.sublanguage||(M2=`${this.classPrefix}${M2}`),this.span(M2)}closeNode(L2){C(L2)&&(this.buffer+=c)}value(){return this.buffer}span(L2){this.buffer+=`<span class="${L2}">`}}class f{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(L2){this.top.children.push(L2)}openNode(L2){const M2={kind:L2,children:[]};this.add(M2),this.stack.push(M2)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(L2){return this.constructor._walk(L2,this.rootNode)}static _walk(L2,M2){return typeof M2=="string"?L2.addText(M2):M2.children&&(L2.openNode(M2),M2.children.forEach(D2=>this._walk(L2,D2)),L2.closeNode(M2)),L2}static _collapse(L2){typeof L2!="string"&&L2.children&&(L2.children.every(M2=>typeof M2=="string")?L2.children=[L2.children.join("")]:L2.children.forEach(M2=>{f._collapse(M2)}))}}class g extends f{constructor(L2){super(),this.options=L2}addKeyword(L2,M2){L2!==""&&(this.openNode(M2),this.addText(L2),this.closeNode())}addText(L2){L2!==""&&this.add(L2)}addSublanguage(L2,M2){const D2=L2.root;D2.kind=M2,D2.sublanguage=!0,this.add(D2)}toHTML(){return new d(this,this.options).value()}finalize(){return!0}}function p(Q){return new RegExp(Q.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function m(Q){return Q?typeof Q=="string"?Q:Q.source:null}function v(...Q){return Q.map(M2=>m(M2)).join("")}function b(...Q){return"("+Q.map(M2=>m(M2)).join("|")+")"}function A(Q){return new RegExp(Q.toString()+"|").exec("").length-1}function k(Q,L2){const M2=Q&&Q.exec(L2);return M2&&M2.index===0}const S=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function N(Q,L2="|"){let M2=0;return Q.map(D2=>{M2+=1;const g1=M2;let e1=m(D2),X1="";for(;e1.length>0;){const R2=S.exec(e1);if(!R2){X1+=e1;break}X1+=e1.substring(0,R2.index),e1=e1.substring(R2.index+R2[0].length),R2[0][0]==="\\"&&R2[1]?X1+="\\"+String(Number(R2[1])+g1):(X1+=R2[0],R2[0]==="("&&M2++)}return X1}).map(D2=>`(${D2})`).join(L2)}const I=/\b\B/,O="[a-zA-Z]\\w*",B="[a-zA-Z_]\\w*",P="\\b\\d+(\\.\\d+)?",Y="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",n2="\\b(0b[01]+)",o2="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",f2=(Q={})=>{const L2=/^#![ ]*\//;return Q.binary&&(Q.begin=v(L2,/.*\b/,Q.binary,/\b.*/)),L({className:"meta",begin:L2,end:/$/,relevance:0,"on:begin":(M2,D2)=>{M2.index!==0&&D2.ignoreMatch()}},Q)},c2={begin:"\\\\[\\s\\S]",relevance:0},h2={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[c2]},b2={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[c2]},V={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},W=function(Q,L2,M2={}){const D2=L({className:"comment",begin:Q,end:L2,contains:[]},M2);return D2.contains.push(V),D2.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),D2},T=W("//","$"),j=W("/\\*","\\*/"),$=W("#","$"),l2={className:"number",begin:P,relevance:0},g2={className:"number",begin:Y,relevance:0},Z={className:"number",begin:n2,relevance:0},F={className:"number",begin:P+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},E={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[c2,{begin:/\[/,end:/\]/,relevance:0,contains:[c2]}]}]},H={className:"title",begin:O,relevance:0},K={className:"title",begin:B,relevance:0},m2={begin:"\\.\\s*"+B,relevance:0};var N2=Object.freeze({__proto__:null,MATCH_NOTHING_RE:I,IDENT_RE:O,UNDERSCORE_IDENT_RE:B,NUMBER_RE:P,C_NUMBER_RE:Y,BINARY_NUMBER_RE:n2,RE_STARTERS_RE:o2,SHEBANG:f2,BACKSLASH_ESCAPE:c2,APOS_STRING_MODE:h2,QUOTE_STRING_MODE:b2,PHRASAL_WORDS_MODE:V,COMMENT:W,C_LINE_COMMENT_MODE:T,C_BLOCK_COMMENT_MODE:j,HASH_COMMENT_MODE:$,NUMBER_MODE:l2,C_NUMBER_MODE:g2,BINARY_NUMBER_MODE:Z,CSS_NUMBER_MODE:F,REGEXP_MODE:E,TITLE_MODE:H,UNDERSCORE_TITLE_MODE:K,METHOD_GUARD:m2,END_SAME_AS_BEGIN:function(Q){return Object.assign(Q,{"on:begin":(L2,M2)=>{M2.data._beginMatch=L2[1]},"on:end":(L2,M2)=>{M2.data._beginMatch!==L2[1]&&M2.ignoreMatch()}})}});function P2(Q,L2){Q.input[Q.index-1]==="."&&L2.ignoreMatch()}function K2(Q,L2){L2&&Q.beginKeywords&&(Q.begin="\\b("+Q.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Q.__beforeBegin=P2,Q.keywords=Q.keywords||Q.beginKeywords,delete Q.beginKeywords,Q.relevance===void 0&&(Q.relevance=0))}function f1(Q,L2){Array.isArray(Q.illegal)&&(Q.illegal=b(...Q.illegal))}function M1(Q,L2){if(Q.match){if(Q.begin||Q.end)throw new Error("begin & end are not supported with match");Q.begin=Q.match,delete Q.match}}function G1(Q,L2){Q.relevance===void 0&&(Q.relevance=1)}const V2=["of","and","for","in","not","or","if","then","parent","list","value"],y1="keyword";function i3(Q,L2,M2=y1){const D2={};return typeof Q=="string"?g1(M2,Q.split(" ")):Array.isArray(Q)?g1(M2,Q):Object.keys(Q).forEach(function(e1){Object.assign(D2,i3(Q[e1],L2,e1))}),D2;function g1(e1,X1){L2&&(X1=X1.map(R2=>R2.toLowerCase())),X1.forEach(function(R2){const _2=R2.split("|");D2[_2[0]]=[e1,K1(_2[0],_2[1])]})}}function K1(Q,L2){return L2?Number(L2):M3(Q)?0:1}function M3(Q){return V2.includes(Q.toLowerCase())}function d1(Q,{plugins:L2}){function M2(R2,_2){return new RegExp(m(R2),"m"+(Q.case_insensitive?"i":"")+(_2?"g":""))}class D2{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(_2,q2){q2.position=this.position++,this.matchIndexes[this.matchAt]=q2,this.regexes.push([q2,_2]),this.matchAt+=A(_2)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const _2=this.regexes.map(q2=>q2[1]);this.matcherRe=M2(N(_2),!0),this.lastIndex=0}exec(_2){this.matcherRe.lastIndex=this.lastIndex;const q2=this.matcherRe.exec(_2);if(!q2)return null;const t1=q2.findIndex((x4,K9)=>K9>0&&x4!==void 0),N1=this.matchIndexes[t1];return q2.splice(0,t1),Object.assign(q2,N1)}}class g1{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(_2){if(this.multiRegexes[_2])return this.multiRegexes[_2];const q2=new D2;return this.rules.slice(_2).forEach(([t1,N1])=>q2.addRule(t1,N1)),q2.compile(),this.multiRegexes[_2]=q2,q2}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(_2,q2){this.rules.push([_2,q2]),q2.type==="begin"&&this.count++}exec(_2){const q2=this.getMatcher(this.regexIndex);q2.lastIndex=this.lastIndex;let t1=q2.exec(_2);if(this.resumingScanAtSamePosition()&&!(t1&&t1.index===this.lastIndex)){const N1=this.getMatcher(0);N1.lastIndex=this.lastIndex+1,t1=N1.exec(_2)}return t1&&(this.regexIndex+=t1.position+1,this.regexIndex===this.count&&this.considerAll()),t1}}function e1(R2){const _2=new g1;return R2.contains.forEach(q2=>_2.addRule(q2.begin,{rule:q2,type:"begin"})),R2.terminatorEnd&&_2.addRule(R2.terminatorEnd,{type:"end"}),R2.illegal&&_2.addRule(R2.illegal,{type:"illegal"}),_2}function X1(R2,_2){const q2=R2;if(R2.isCompiled)return q2;[M1].forEach(N1=>N1(R2,_2)),Q.compilerExtensions.forEach(N1=>N1(R2,_2)),R2.__beforeBegin=null,[K2,f1,G1].forEach(N1=>N1(R2,_2)),R2.isCompiled=!0;let t1=null;if(typeof R2.keywords=="object"&&(t1=R2.keywords.$pattern,delete R2.keywords.$pattern),R2.keywords&&(R2.keywords=i3(R2.keywords,Q.case_insensitive)),R2.lexemes&&t1)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return t1=t1||R2.lexemes||/\w+/,q2.keywordPatternRe=M2(t1,!0),_2&&(R2.begin||(R2.begin=/\B|\b/),q2.beginRe=M2(R2.begin),R2.endSameAsBegin&&(R2.end=R2.begin),!R2.end&&!R2.endsWithParent&&(R2.end=/\B|\b/),R2.end&&(q2.endRe=M2(R2.end)),q2.terminatorEnd=m(R2.end)||"",R2.endsWithParent&&_2.terminatorEnd&&(q2.terminatorEnd+=(R2.end?"|":"")+_2.terminatorEnd)),R2.illegal&&(q2.illegalRe=M2(R2.illegal)),R2.contains||(R2.contains=[]),R2.contains=[].concat(...R2.contains.map(function(N1){return h1(N1==="self"?R2:N1)})),R2.contains.forEach(function(N1){X1(N1,q2)}),R2.starts&&X1(R2.starts,_2),q2.matcher=e1(q2),q2}if(Q.compilerExtensions||(Q.compilerExtensions=[]),Q.contains&&Q.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Q.classNameAliases=L(Q.classNameAliases||{}),X1(Q)}function G2(Q){return Q?Q.endsWithParent||G2(Q.starts):!1}function h1(Q){return Q.variants&&!Q.cachedVariants&&(Q.cachedVariants=Q.variants.map(function(L2){return L(Q,{variants:null},L2)})),Q.cachedVariants?Q.cachedVariants:G2(Q)?L(Q,{starts:Q.starts?L(Q.starts):null}):Object.isFrozen(Q)?L(Q):Q}var s1="10.7.3";function K3(Q){return!!(Q||Q==="")}function I1(Q){const L2={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Q.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,l(this.code);let D2={};return this.autoDetect?(D2=Q.highlightAuto(this.code),this.detectedLanguage=D2.language):(D2=Q.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),D2.value},autoDetect(){return!this.language||K3(this.autodetect)},ignoreIllegals(){return!0}},render(D2){return D2("pre",{},[D2("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:L2,VuePlugin:{install(D2){D2.component("highlightjs",L2)}}}}const z1={"after:highlightElement":({el:Q,result:L2,text:M2})=>{const D2=Y1(Q);if(!D2.length)return;const g1=document.createElement("div");g1.innerHTML=L2.value,L2.value=C3(D2,Y1(g1),M2)}};function i1(Q){return Q.nodeName.toLowerCase()}function Y1(Q){const L2=[];return(function M2(D2,g1){for(let e1=D2.firstChild;e1;e1=e1.nextSibling)e1.nodeType===3?g1+=e1.nodeValue.length:e1.nodeType===1&&(L2.push({event:"start",offset:g1,node:e1}),g1=M2(e1,g1),i1(e1).match(/br|hr|img|input/)||L2.push({event:"stop",offset:g1,node:e1}));return g1})(Q,0),L2}function C3(Q,L2,M2){let D2=0,g1="";const e1=[];function X1(){return!Q.length||!L2.length?Q.length?Q:L2:Q[0].offset!==L2[0].offset?Q[0].offset<L2[0].offset?Q:L2:L2[0].event==="start"?Q:L2}function R2(t1){function N1(x4){return" "+x4.nodeName+'="'+l(x4.value)+'"'}g1+="<"+i1(t1)+[].map.call(t1.attributes,N1).join("")+">"}function _2(t1){g1+="</"+i1(t1)+">"}function q2(t1){(t1.event==="start"?R2:_2)(t1.node)}for(;Q.length||L2.length;){let t1=X1();if(g1+=l(M2.substring(D2,t1[0].offset)),D2=t1[0].offset,t1===Q){e1.reverse().forEach(_2);do q2(t1.splice(0,1)[0]),t1=X1();while(t1===Q&&t1.length&&t1[0].offset===D2);e1.reverse().forEach(R2)}else t1[0].event==="start"?e1.push(t1[0].node):e1.pop(),q2(t1.splice(0,1)[0])}return g1+l(M2.substr(D2))}const C4={},Q9=Q=>{console.error(Q)},z0=(Q,...L2)=>{console.log(`WARN: ${Q}`,...L2)},D3=(Q,L2)=>{C4[`${Q}/${L2}`]||(console.log(`Deprecated as of ${Q}. ${L2}`),C4[`${Q}/${L2}`]=!0)},m4=l,p3=L,m3=Symbol("nomatch");var k5=function(Q){const L2=Object.create(null),M2=Object.create(null),D2=[];let g1=!0;const e1=/(^(<[^>]+>|\t|)+|\n)/gm,X1="Could not find the language '{}', did you forget to load/include a language module?",R2={disableAutodetect:!0,name:"Plain text",contains:[]};let _2={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:g};function q2(C2){return _2.noHighlightRe.test(C2)}function t1(C2){let Z2=C2.className+" ";Z2+=C2.parentNode?C2.parentNode.className:"";const L1=_2.languageDetectRe.exec(Z2);if(L1){const U1=y2(L1[1]);return U1||(z0(X1.replace("{}",L1[1])),z0("Falling back to no-highlight mode for this block.",C2)),U1?L1[1]:"no-highlight"}return Z2.split(/\s+/).find(U1=>q2(U1)||y2(U1))}function N1(C2,Z2,L1,U1){let l3="",K4="";typeof Z2=="object"?(l3=C2,L1=Z2.ignoreIllegals,K4=Z2.language,U1=void 0):(D3("10.7.0","highlight(lang, code, ...args) has been deprecated."),D3("10.7.0",`Please use highlight(code, options) instead.
219
+ https://github.com/highlightjs/highlight.js/issues/2277`),K4=C2,l3=Z2);const _3={code:l3,language:K4};B3("before:highlight",_3);const r3=_3.result?_3.result:x4(_3.language,_3.code,L1,U1);return r3.code=_3.code,B3("after:highlight",r3),r3}function x4(C2,Z2,L1,U1){function l3(B2,W2){const Q2=e0.case_insensitive?W2[0].toLowerCase():W2[0];return Object.prototype.hasOwnProperty.call(B2.keywords,Q2)&&B2.keywords[Q2]}function K4(){if(!c1.keywords){d3.addText(h3);return}let B2=0;c1.keywordPatternRe.lastIndex=0;let W2=c1.keywordPatternRe.exec(h3),Q2="";for(;W2;){Q2+=h3.substring(B2,W2.index);const k1=l3(c1,W2);if(k1){const[I3,f9]=k1;if(d3.addText(Q2),Q2="",I5+=f9,I3.startsWith("_"))Q2+=W2[0];else{const N0=e0.classNameAliases[I3]||I3;d3.addKeyword(W2[0],N0)}}else Q2+=W2[0];B2=c1.keywordPatternRe.lastIndex,W2=c1.keywordPatternRe.exec(h3)}Q2+=h3.substr(B2),d3.addText(Q2)}function _3(){if(h3==="")return;let B2=null;if(typeof c1.subLanguage=="string"){if(!L2[c1.subLanguage]){d3.addText(h3);return}B2=x4(c1.subLanguage,h3,!0,d7[c1.subLanguage]),d7[c1.subLanguage]=B2.top}else B2=J9(h3,c1.subLanguage.length?c1.subLanguage:null);c1.relevance>0&&(I5+=B2.relevance),d3.addSublanguage(B2.emitter,B2.language)}function r3(){c1.subLanguage!=null?_3():K4(),h3=""}function O4(B2){return B2.className&&d3.openNode(e0.classNameAliases[B2.className]||B2.className),c1=Object.create(B2,{parent:{value:c1}}),c1}function I9(B2,W2,Q2){let k1=k(B2.endRe,Q2);if(k1){if(B2["on:end"]){const I3=new s(B2);B2["on:end"](W2,I3),I3.isMatchIgnored&&(k1=!1)}if(k1){for(;B2.endsParent&&B2.parent;)B2=B2.parent;return B2}}if(B2.endsWithParent)return I9(B2.parent,W2,Q2)}function C7(B2){return c1.matcher.regexIndex===0?(h3+=B2[0],1):(h7=!0,0)}function Ft(B2){const W2=B2[0],Q2=B2.rule,k1=new s(Q2),I3=[Q2.__beforeBegin,Q2["on:begin"]];for(const f9 of I3)if(f9&&(f9(B2,k1),k1.isMatchIgnored))return C7(W2);return Q2&&Q2.endSameAsBegin&&(Q2.endRe=p(W2)),Q2.skip?h3+=W2:(Q2.excludeBegin&&(h3+=W2),r3(),!Q2.returnBegin&&!Q2.excludeBegin&&(h3=W2)),O4(Q2),Q2.returnBegin?0:W2.length}function k8(B2){const W2=B2[0],Q2=Z2.substr(B2.index),k1=I9(c1,B2,Q2);if(!k1)return m3;const I3=c1;I3.skip?h3+=W2:(I3.returnEnd||I3.excludeEnd||(h3+=W2),r3(),I3.excludeEnd&&(h3=W2));do c1.className&&d3.closeNode(),!c1.skip&&!c1.subLanguage&&(I5+=c1.relevance),c1=c1.parent;while(c1!==k1.parent);return k1.starts&&(k1.endSameAsBegin&&(k1.starts.endRe=k1.endRe),O4(k1.starts)),I3.returnEnd?0:W2.length}function dl(){const B2=[];for(let W2=c1;W2!==e0;W2=W2.parent)W2.className&&B2.unshift(W2.className);B2.forEach(W2=>d3.openNode(W2))}let U3={};function Z8(B2,W2){const Q2=W2&&W2[0];if(h3+=B2,Q2==null)return r3(),0;if(U3.type==="begin"&&W2.type==="end"&&U3.index===W2.index&&Q2===""){if(h3+=Z2.slice(W2.index,W2.index+1),!g1){const k1=new Error("0 width match regex");throw k1.languageName=C2,k1.badRule=U3.rule,k1}return 1}if(U3=W2,W2.type==="begin")return Ft(W2);if(W2.type==="illegal"&&!L1){const k1=new Error('Illegal lexeme "'+Q2+'" for mode "'+(c1.className||"<unnamed>")+'"');throw k1.mode=c1,k1}else if(W2.type==="end"){const k1=k8(W2);if(k1!==m3)return k1}if(W2.type==="illegal"&&Q2==="")return 1;if(z5>1e5&&z5>W2.index*3)throw new Error("potential infinite loop, way more iterations than matches");return h3+=Q2,Q2.length}const e0=y2(C2);if(!e0)throw Q9(X1.replace("{}",C2)),new Error('Unknown language: "'+C2+'"');const u7=d1(e0,{plugins:D2});let z9="",c1=U1||u7;const d7={},d3=new _2.__emitter(_2);dl();let h3="",I5=0,t0=0,z5=0,h7=!1;try{for(c1.matcher.considerAll();;){z5++,h7?h7=!1:c1.matcher.considerAll(),c1.matcher.lastIndex=t0;const B2=c1.matcher.exec(Z2);if(!B2)break;const W2=Z2.substring(t0,B2.index),Q2=Z8(W2,B2);t0=B2.index+Q2}return Z8(Z2.substr(t0)),d3.closeAllNodes(),d3.finalize(),z9=d3.toHTML(),{relevance:Math.floor(I5),value:z9,language:C2,illegal:!1,emitter:d3,top:c1}}catch(B2){if(B2.message&&B2.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:B2.message,context:Z2.slice(t0-100,t0+100),mode:B2.mode},sofar:z9,relevance:0,value:m4(Z2),emitter:d3};if(g1)return{illegal:!1,relevance:0,value:m4(Z2),emitter:d3,language:C2,top:c1,errorRaised:B2};throw B2}}function K9(C2){const Z2={relevance:0,emitter:new _2.__emitter(_2),value:m4(C2),illegal:!1,top:R2};return Z2.emitter.addText(C2),Z2}function J9(C2,Z2){Z2=Z2||_2.languages||Object.keys(L2);const L1=K9(C2),U1=Z2.filter(y2).filter(Q1).map(O4=>x4(O4,C2,!1));U1.unshift(L1);const l3=U1.sort((O4,I9)=>{if(O4.relevance!==I9.relevance)return I9.relevance-O4.relevance;if(O4.language&&I9.language){if(y2(O4.language).supersetOf===I9.language)return 1;if(y2(I9.language).supersetOf===O4.language)return-1}return 0}),[K4,_3]=l3,r3=K4;return r3.second_best=_3,r3}function b8(C2){return _2.tabReplace||_2.useBR?C2.replace(e1,Z2=>Z2===`
220
220
  `?_2.useBR?"<br>":Z2:_2.tabReplace?Z2.replace(/\t/g,_2.tabReplace):Z2):C2}function J3(C2,Z2,L1){const U1=Z2?M2[Z2]:L1;C2.classList.add("hljs"),U1&&C2.classList.add(U1)}const N4={"before:highlightElement":({el:C2})=>{_2.useBR&&(C2.innerHTML=C2.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
221
- `))},"after:highlightElement":({result:C2})=>{_2.useBR&&(C2.value=C2.value.replace(/\n/g,"<br>"))}},Z5=/^(<[^>]+>|\t)+/gm,T5={"after:highlightElement":({result:C2})=>{_2.tabReplace&&(C2.value=C2.value.replace(Z5,Z2=>Z2.replace(/\t/g,_2.tabReplace)))}};function F3(C2){let Z2=null;const L1=t1(C2);if(q2(L1))return;B3("before:highlightElement",{el:C2,language:L1}),Z2=C2;const U1=Z2.textContent,l3=L1?N1(U1,{language:L1,ignoreIllegals:!0}):J9(U1);B3("after:highlightElement",{el:C2,result:l3,text:U1}),C2.innerHTML=l3.value,J3(C2,L1,l3.language),C2.result={language:l3.language,re:l3.relevance,relavance:l3.relevance},l3.second_best&&(C2.second_best={language:l3.second_best.language,re:l3.second_best.relevance,relavance:l3.second_best.relevance})}function u3(C2){C2.useBR&&(D3("10.3.0","'useBR' will be removed entirely in v11.0"),D3("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),_2=p3(_2,C2)}const B1=()=>{if(B1.called)return;B1.called=!0,D3("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(F3)};function h9(){D3("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),E9=!0}let E9=!1;function E5(){if(document.readyState==="loading"){E9=!0;return}document.querySelectorAll("pre code").forEach(F3)}function A8(){E9&&E5()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",A8,!1);function S8(C2,Z2){let L1=null;try{L1=Z2(Q)}catch(U1){if(Q9("Language definition for '{}' could not be registered.".replace("{}",C2)),g1)Q9(U1);else throw U1;L1=R2}L1.name||(L1.name=C2),L2[C2]=L1,L1.rawDefinition=Z2.bind(null,Q),L1.aliases&&b1(L1.aliases,{languageName:C2})}function O2(C2){delete L2[C2];for(const Z2 of Object.keys(M2))M2[Z2]===C2&&delete M2[Z2]}function D(){return Object.keys(L2)}function x2(C2){D3("10.4.0","requireLanguage will be removed entirely in v11."),D3("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Z2=y2(C2);if(Z2)return Z2;throw new Error("The '{}' language is required, but not loaded.".replace("{}",C2))}function y2(C2){return C2=(C2||"").toLowerCase(),L2[C2]||L2[M2[C2]]}function b1(C2,{languageName:Z2}){typeof C2=="string"&&(C2=[C2]),C2.forEach(L1=>{M2[L1.toLowerCase()]=Z2})}function Q1(C2){const Z2=y2(C2);return Z2&&!Z2.disableAutodetect}function l1(C2){C2["before:highlightBlock"]&&!C2["before:highlightElement"]&&(C2["before:highlightElement"]=Z2=>{C2["before:highlightBlock"](Object.assign({block:Z2.el},Z2))}),C2["after:highlightBlock"]&&!C2["after:highlightElement"]&&(C2["after:highlightElement"]=Z2=>{C2["after:highlightBlock"](Object.assign({block:Z2.el},Z2))})}function Z3(C2){l1(C2),D2.push(C2)}function B3(C2,Z2){const L1=C2;D2.forEach(function(U1){U1[L1]&&U1[L1](Z2)})}function e4(C2){return D3("10.2.0","fixMarkup will be removed entirely in v11.0"),D3("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),b8(C2)}function Q4(C2){return D3("10.7.0","highlightBlock will be removed entirely in v12.0"),D3("10.7.0","Please use highlightElement now."),F3(C2)}Object.assign(Q,{highlight:N1,highlightAuto:J9,highlightAll:E5,fixMarkup:e4,highlightElement:F3,highlightBlock:Q4,configure:u3,initHighlighting:B1,initHighlightingOnLoad:h9,registerLanguage:S8,unregisterLanguage:O2,listLanguages:D,getLanguage:y2,registerAliases:b1,requireLanguage:x2,autoDetection:Q1,inherit:p3,addPlugin:Z3,vuePlugin:I1(Q).VuePlugin}),Q.debugMode=function(){g1=!1},Q.safeMode=function(){g1=!0},Q.versionString=s1;for(const C2 in N2)typeof N2[C2]=="object"&&e(N2[C2]);return Object.assign(Q,N2),Q.addPlugin(N4),Q.addPlugin(z1),Q.addPlugin(T5),Q}({});return jo=k5,jo}var vA=wA();const R5=j4(vA);var $o,Rd;function MA(){if(Rd)return $o;Rd=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return $o=t,$o}var _A=MA();const yA=j4(_A);var Vo,bd;function RA(){if(bd)return Vo;bd=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],l=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],L=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","module","global"],C=[].concat(L,c,s,l);function d(m){return m?typeof m=="string"?m:m.source:null}function f(m){return g("(?=",m,")")}function g(...m){return m.map(b=>d(b)).join("")}function p(m){const v=(T,{after:j})=>{const $="</"+T[0].slice(1);return T.input.indexOf($,j)!==-1},b=t,A={begin:"<>",end:"</>"},k={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(T,j)=>{const $=T[0].length+T.index,o2=T.input[$];if(o2==="<"){j.ignoreMatch();return}o2===">"&&(v(T,{after:$})||j.ignoreMatch())}},S={$pattern:t,keyword:e,literal:n,built_in:C},N="[0-9](_?[0-9])*",I=`\\.(${N})`,O="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",B={className:"number",variants:[{begin:`(\\b(${O})((${I})|\\.)?|(${I}))[eE][+-]?(${N})\\b`},{begin:`\\b(${O})\\b((${I})\\b|\\.)?|(${I})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},P={className:"subst",begin:"\\$\\{",end:"\\}",keywords:S,contains:[]},Y={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,P],subLanguage:"xml"}},n2={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,P],subLanguage:"css"}},l2={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,P]},c2={className:"comment",variants:[m.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:b+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]},h2=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,Y,n2,l2,B,m.REGEXP_MODE];P.contains=h2.concat({begin:/\{/,end:/\}/,keywords:S,contains:["self"].concat(h2)});const b2=[].concat(c2,P.contains),V=b2.concat([{begin:/\(/,end:/\)/,keywords:S,contains:["self"].concat(b2)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:V};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:S,exports:{PARAMS_CONTAINS:V},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,Y,n2,l2,c2,B,{begin:g(/[{,\n]\s*/,f(g(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,b+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:b+f("\\s*:"),relevance:0}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[c2,m.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+m.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:V}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:A.begin,end:A.end},{begin:k.begin,"on:begin":k.isTrulyOpeningTag,end:k.end}],subLanguage:"xml",contains:[{begin:k.begin,end:k.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:S,contains:["self",m.inherit(m.TITLE_MODE,{begin:b}),W],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[W,m.inherit(m.TITLE_MODE,{begin:b})]},{variants:[{begin:"\\."+b},{begin:"\\$"+b}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},m.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:b}),"self",W]},{begin:"(get|set)\\s+(?="+b+"\\()",end:/\{/,keywords:"get set",contains:[m.inherit(m.TITLE_MODE,{begin:b}),{begin:/\(\)/},W]},{begin:/\$[(.]/}]}}return Vo=p,Vo}var bA=RA();const AA=j4(bA);var Go,Ad;function SA(){if(Ad)return Go;Ad=1;function t(s){return s?typeof s=="string"?s:s.source:null}function e(...s){return s.map(L=>t(L)).join("")}function n(s){const l={},L={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[l]}]};Object.assign(l,{className:"variable",variants:[{begin:e(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},L]});const c={className:"subst",begin:/\$\(/,end:/\)/,contains:[s.BACKSLASH_ESCAPE]},C={begin:/<<-?\s*(?=\w+)/,starts:{contains:[s.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},d={className:"string",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE,l,c]};c.contains.push(d);const f={className:"",begin:/\\"/},g={className:"string",begin:/'/,end:/'/},p={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},s.NUMBER_MODE,l]},m=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],v=s.SHEBANG({binary:`(${m.join("|")})`,relevance:10}),b={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[s.inherit(s.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[v,s.SHEBANG(),b,p,s.HASH_COMMENT_MODE,C,d,f,g,l]}}return Go=n,Go}var kA=SA();const ZA=j4(kA);var qo,Sd;function TA(){if(Sd)return qo;Sd=1;function t(e){var n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",l={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},L={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},c={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,L]},C=e.inherit(c,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),d="[0-9]{4}(-[0-9][0-9]){0,2}",f="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",g="(\\.[0-9]*)?",p="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",m={className:"number",begin:"\\b"+d+f+g+p+"\\b"},v={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},b={begin:/\{/,end:/\}/,contains:[v],illegal:"\\n",relevance:0},A={begin:"\\[",end:"\\]",contains:[v],illegal:"\\n",relevance:0},k=[l,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},m,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,A,c],S=[...k];return S.pop(),S.push(C),v.contains=S,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:k}}return qo=t,qo}var EA=TA();const IA=j4(EA);R5.registerLanguage("plaintext",yA),R5.registerLanguage("javascript",AA),R5.registerLanguage("bash",ZA),R5.registerLanguage("yaml",IA);const zA={codespan(t){const n=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(t);return(n==null?void 0:n.length)===3?`
221
+ `))},"after:highlightElement":({result:C2})=>{_2.useBR&&(C2.value=C2.value.replace(/\n/g,"<br>"))}},Z5=/^(<[^>]+>|\t)+/gm,T5={"after:highlightElement":({result:C2})=>{_2.tabReplace&&(C2.value=C2.value.replace(Z5,Z2=>Z2.replace(/\t/g,_2.tabReplace)))}};function F3(C2){let Z2=null;const L1=t1(C2);if(q2(L1))return;B3("before:highlightElement",{el:C2,language:L1}),Z2=C2;const U1=Z2.textContent,l3=L1?N1(U1,{language:L1,ignoreIllegals:!0}):J9(U1);B3("after:highlightElement",{el:C2,result:l3,text:U1}),C2.innerHTML=l3.value,J3(C2,L1,l3.language),C2.result={language:l3.language,re:l3.relevance,relavance:l3.relevance},l3.second_best&&(C2.second_best={language:l3.second_best.language,re:l3.second_best.relevance,relavance:l3.second_best.relevance})}function u3(C2){C2.useBR&&(D3("10.3.0","'useBR' will be removed entirely in v11.0"),D3("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),_2=p3(_2,C2)}const B1=()=>{if(B1.called)return;B1.called=!0,D3("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(F3)};function h9(){D3("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),E9=!0}let E9=!1;function E5(){if(document.readyState==="loading"){E9=!0;return}document.querySelectorAll("pre code").forEach(F3)}function A8(){E9&&E5()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",A8,!1);function S8(C2,Z2){let L1=null;try{L1=Z2(Q)}catch(U1){if(Q9("Language definition for '{}' could not be registered.".replace("{}",C2)),g1)Q9(U1);else throw U1;L1=R2}L1.name||(L1.name=C2),L2[C2]=L1,L1.rawDefinition=Z2.bind(null,Q),L1.aliases&&b1(L1.aliases,{languageName:C2})}function O2(C2){delete L2[C2];for(const Z2 of Object.keys(M2))M2[Z2]===C2&&delete M2[Z2]}function D(){return Object.keys(L2)}function x2(C2){D3("10.4.0","requireLanguage will be removed entirely in v11."),D3("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Z2=y2(C2);if(Z2)return Z2;throw new Error("The '{}' language is required, but not loaded.".replace("{}",C2))}function y2(C2){return C2=(C2||"").toLowerCase(),L2[C2]||L2[M2[C2]]}function b1(C2,{languageName:Z2}){typeof C2=="string"&&(C2=[C2]),C2.forEach(L1=>{M2[L1.toLowerCase()]=Z2})}function Q1(C2){const Z2=y2(C2);return Z2&&!Z2.disableAutodetect}function l1(C2){C2["before:highlightBlock"]&&!C2["before:highlightElement"]&&(C2["before:highlightElement"]=Z2=>{C2["before:highlightBlock"](Object.assign({block:Z2.el},Z2))}),C2["after:highlightBlock"]&&!C2["after:highlightElement"]&&(C2["after:highlightElement"]=Z2=>{C2["after:highlightBlock"](Object.assign({block:Z2.el},Z2))})}function Z3(C2){l1(C2),D2.push(C2)}function B3(C2,Z2){const L1=C2;D2.forEach(function(U1){U1[L1]&&U1[L1](Z2)})}function e4(C2){return D3("10.2.0","fixMarkup will be removed entirely in v11.0"),D3("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),b8(C2)}function Q4(C2){return D3("10.7.0","highlightBlock will be removed entirely in v12.0"),D3("10.7.0","Please use highlightElement now."),F3(C2)}Object.assign(Q,{highlight:N1,highlightAuto:J9,highlightAll:E5,fixMarkup:e4,highlightElement:F3,highlightBlock:Q4,configure:u3,initHighlighting:B1,initHighlightingOnLoad:h9,registerLanguage:S8,unregisterLanguage:O2,listLanguages:D,getLanguage:y2,registerAliases:b1,requireLanguage:x2,autoDetection:Q1,inherit:p3,addPlugin:Z3,vuePlugin:I1(Q).VuePlugin}),Q.debugMode=function(){g1=!1},Q.safeMode=function(){g1=!0},Q.versionString=s1;for(const C2 in N2)typeof N2[C2]=="object"&&e(N2[C2]);return Object.assign(Q,N2),Q.addPlugin(N4),Q.addPlugin(z1),Q.addPlugin(T5),Q}({});return jo=k5,jo}var vA=wA();const R5=j4(vA);var $o,Rd;function MA(){if(Rd)return $o;Rd=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return $o=t,$o}var _A=MA();const yA=j4(_A);var Vo,bd;function RA(){if(bd)return Vo;bd=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],l=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],L=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","module","global"],C=[].concat(L,c,s,l);function d(m){return m?typeof m=="string"?m:m.source:null}function f(m){return g("(?=",m,")")}function g(...m){return m.map(b=>d(b)).join("")}function p(m){const v=(T,{after:j})=>{const $="</"+T[0].slice(1);return T.input.indexOf($,j)!==-1},b=t,A={begin:"<>",end:"</>"},k={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(T,j)=>{const $=T[0].length+T.index,l2=T.input[$];if(l2==="<"){j.ignoreMatch();return}l2===">"&&(v(T,{after:$})||j.ignoreMatch())}},S={$pattern:t,keyword:e,literal:n,built_in:C},N="[0-9](_?[0-9])*",I=`\\.(${N})`,O="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",B={className:"number",variants:[{begin:`(\\b(${O})((${I})|\\.)?|(${I}))[eE][+-]?(${N})\\b`},{begin:`\\b(${O})\\b((${I})\\b|\\.)?|(${I})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},P={className:"subst",begin:"\\$\\{",end:"\\}",keywords:S,contains:[]},Y={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,P],subLanguage:"xml"}},n2={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,P],subLanguage:"css"}},o2={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,P]},c2={className:"comment",variants:[m.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:b+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]},h2=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,Y,n2,o2,B,m.REGEXP_MODE];P.contains=h2.concat({begin:/\{/,end:/\}/,keywords:S,contains:["self"].concat(h2)});const b2=[].concat(c2,P.contains),V=b2.concat([{begin:/\(/,end:/\)/,keywords:S,contains:["self"].concat(b2)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:V};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:S,exports:{PARAMS_CONTAINS:V},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,Y,n2,o2,c2,B,{begin:g(/[{,\n]\s*/,f(g(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,b+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:b+f("\\s*:"),relevance:0}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[c2,m.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+m.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:V}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:A.begin,end:A.end},{begin:k.begin,"on:begin":k.isTrulyOpeningTag,end:k.end}],subLanguage:"xml",contains:[{begin:k.begin,end:k.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:S,contains:["self",m.inherit(m.TITLE_MODE,{begin:b}),W],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[W,m.inherit(m.TITLE_MODE,{begin:b})]},{variants:[{begin:"\\."+b},{begin:"\\$"+b}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},m.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:b}),"self",W]},{begin:"(get|set)\\s+(?="+b+"\\()",end:/\{/,keywords:"get set",contains:[m.inherit(m.TITLE_MODE,{begin:b}),{begin:/\(\)/},W]},{begin:/\$[(.]/}]}}return Vo=p,Vo}var bA=RA();const AA=j4(bA);var Go,Ad;function SA(){if(Ad)return Go;Ad=1;function t(s){return s?typeof s=="string"?s:s.source:null}function e(...s){return s.map(L=>t(L)).join("")}function n(s){const l={},L={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[l]}]};Object.assign(l,{className:"variable",variants:[{begin:e(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},L]});const c={className:"subst",begin:/\$\(/,end:/\)/,contains:[s.BACKSLASH_ESCAPE]},C={begin:/<<-?\s*(?=\w+)/,starts:{contains:[s.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},d={className:"string",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE,l,c]};c.contains.push(d);const f={className:"",begin:/\\"/},g={className:"string",begin:/'/,end:/'/},p={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},s.NUMBER_MODE,l]},m=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],v=s.SHEBANG({binary:`(${m.join("|")})`,relevance:10}),b={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[s.inherit(s.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[v,s.SHEBANG(),b,p,s.HASH_COMMENT_MODE,C,d,f,g,l]}}return Go=n,Go}var kA=SA();const ZA=j4(kA);var qo,Sd;function TA(){if(Sd)return qo;Sd=1;function t(e){var n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",l={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},L={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},c={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,L]},C=e.inherit(c,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),d="[0-9]{4}(-[0-9][0-9]){0,2}",f="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",g="(\\.[0-9]*)?",p="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",m={className:"number",begin:"\\b"+d+f+g+p+"\\b"},v={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},b={begin:/\{/,end:/\}/,contains:[v],illegal:"\\n",relevance:0},A={begin:"\\[",end:"\\]",contains:[v],illegal:"\\n",relevance:0},k=[l,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},m,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,A,c],S=[...k];return S.pop(),S.push(C),v.contains=S,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:k}}return qo=t,qo}var EA=TA();const IA=j4(EA);R5.registerLanguage("plaintext",yA),R5.registerLanguage("javascript",AA),R5.registerLanguage("bash",ZA),R5.registerLanguage("yaml",IA);const zA={codespan(t){const n=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(t);return(n==null?void 0:n.length)===3?`
222
222
  <code class="rest-api">
223
223
  <span class="http-method-${n[1].toLowerCase()}">${n[1]}</span>
224
224
  <span class="http-path">${n[2]}</span>
225
225
  </code>
226
- `:`<code>${t}</code>`}};U2.setOptions({highlight:function(t,e){if(!e)return R5.highlightAuto(t).value;const n=R5.getLanguage(e)?e:"plaintext";return R5.highlight(n,t).value},breaks:!0}),U2.use({renderer:zA});const X4=t=>{var n,s,l,L;const e=zc.sanitize(((n=t.commentObj)==null?void 0:n.text)&&U2.parse((s=t.commentObj)==null?void 0:s.text)||t.comment&&U2.parse(t.comment));return M.jsx("div",{className:H2("comments text-skin-comment min-w-[100px] flex text-left opacity-50 hover:opacity-100",t.className),children:M.jsx("div",{dangerouslySetInnerHTML:{__html:e},className:H2((l=t.commentObj)==null?void 0:l.commentClassNames),style:(L=t.commentObj)==null?void 0:L.commentStyle})})},u9=t=>X2(Uc)?M.jsx("div",{className:"absolute text-xs right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 font-thin",children:t.number}):null,b5=t=>M.jsxs("div",{className:H2("collapsible-header flex w-full justify-between",t.className),style:t.style,children:[M.jsx("label",{className:"mb-0",children:t.label}),t.collapsed?M.jsx(k3,{name:"collapse-unexpanded",className:"w-4 h-4 cursor-pointer",onClick:t.onClick}):M.jsx(k3,{name:"collapse-expanded",className:H2("w-4 h-4 collapse-button cursor-pointer hidden group-[.fragment]:group-hover:inline-block",t.collapsed&&"inline-block"),onClick:t.onClick})]}),NA=/\b(\w+)\s*==\s*(\w+)\b/g,y8=t=>{var d;const e=X2(y9),[n,s]=r9(p5),l=X2(N6),L=((d=t.condition)==null?void 0:d.getFormattedText())??"",c=e===G4.Dynamic,C=f=>{var b,A,k,S;if(f===""||f===L)return;let g=f;t7.test(g)&&!NA.test(g)&&(g=g.replace(/"/g,""),g=`"${g}"`);const[p,m]=[(A=(b=t.condition)==null?void 0:b.start)==null?void 0:A.start,(S=(k=t.condition)==null?void 0:k.stop)==null?void 0:S.stop];if(p===-1||m===-1){console.warn("labelPosition is not set");return}const v=n.slice(0,p)+g+n.slice(m+1);s(v),l(v)};return M.jsxs(M.Fragment,{children:[M.jsx("label",{children:"["}),M.jsx(Ho,{text:L,isEditable:c,className:"bg-skin-frame opacity-65 condition",onSave:C,title:"Double-click to edit"}),M.jsx("label",{children:"]"})]})},OA=t=>{var g,p,m,v,b;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=z0(t.context,t.origin),C=t.context.loop(),d=(g=C==null?void 0:C.braceBlock())==null?void 0:g.block(),f=(p=C==null?void 0:C.parExpr())==null?void 0:p.condition();return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-loop loop border-skin-fragment rounded",style:l,children:[((m=t.commentObj)==null?void 0:m.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header text-skin-fragment-header bg-skin-fragment-header leading-4 relative rounded-t",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"loop-fragment"}),M.jsx(b5,{label:"Loop",collapsed:e,onClick:n,style:(v=t.commentObj)==null?void 0:v.messageStyle,className:H2((b=t.commentObj)==null?void 0:b.messageClassNames)})]})})]}),M.jsx("div",{className:H2({hidden:e}),children:M.jsxs("div",{className:"segment",children:[M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:f})}),M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:d,number:`${t.number}.1`,incremental:!0})]})})]})})},DA=t=>{var b,A,k,S,N,I,O,B,P,Y,n2;const e=t.context.alt(),n=e==null?void 0:e.ifBlock(),s=e==null?void 0:e.elseIfBlock(),l=(A=(b=e==null?void 0:e.elseBlock())==null?void 0:b.braceBlock())==null?void 0:A.block(),L=(S=(k=e==null?void 0:e.ifBlock())==null?void 0:k.braceBlock())==null?void 0:S.block(),c=y.useMemo(()=>{const l2=[Zt(L)];return e!=null&&e.elseIfBlock()&&e.elseIfBlock().forEach(f2=>{l2.push(l2[l2.length-1]+Zt(d(f2)))}),l2},[e,L]);function C(l2){var f2;return(f2=l2==null?void 0:l2.parExpr())==null?void 0:f2.condition()}function d(l2){var f2;return(f2=l2==null?void 0:l2.braceBlock())==null?void 0:f2.block()}const{collapsed:f,toggleCollapse:g,paddingLeft:p,fragmentStyle:m,leftParticipant:v}=z0(t.context,t.origin);return M.jsxs("div",{"data-origin":t.origin,"data-left-participant":t.origin,"data-frame-padding-left":(I=(N=t.commentObj)==null?void 0:N.messageStyle)==null?void 0:I.paddingLeft,"data-frame-padding-right":(B=(O=t.commentObj)==null?void 0:O.messageStyle)==null?void 0:B.paddingRight,className:H2("group fragment fragment-alt alt border-skin-fragment rounded",t.className),style:m,children:[((P=t.commentObj)==null?void 0:P.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"alt-fragment"}),M.jsx(b5,{label:"Alt",collapsed:f,onClick:g,style:(Y=t.commentObj)==null?void 0:Y.messageStyle,className:H2((n2=t.commentObj)==null?void 0:n2.messageClassNames)})]})})]}),M.jsxs("div",{className:f?"hidden":"block",children:[M.jsxs("div",{className:"segment",children:[M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:C(n)})}),L&&M.jsx(z4,{origin:v,style:{paddingLeft:`${p}px`},context:L,number:`${t.number}.1`,incremental:!0})]}),s.map((l2,f2)=>M.jsx(y.Fragment,{children:M.jsxs("div",{className:"segment border-t border-solid mt-2",children:[M.jsxs("div",{className:"text-skin-fragment",children:[M.jsx("label",{className:"else-if hidden",children:"else if"}),M.jsx(y8,{condition:C(l2)})]},f2+1e3),M.jsx(z4,{origin:v,style:{paddingLeft:`${p}px`},context:d(l2),number:`${t.number}.${c[f2]+1}`,incremental:!0},f2+2e3)]},f2+500)},f2)),l&&M.jsx(M.Fragment,{children:M.jsxs("div",{className:"segment border-t border-solid mt-2",children:[M.jsx("div",{className:"text-skin-fragment",children:M.jsx("label",{className:"p-1",children:"[else]"})}),M.jsx(z4,{origin:v,style:{paddingLeft:`${p}px`},context:l,number:`${t.number}.${c[c.length-1]+1}`,incremental:!0})]})})]})]})},FA=t=>{var f,g,p,m;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=z0(t.context,t.origin),C=t.context.par(),d=(f=C==null?void 0:C.parExpr())==null?void 0:f.condition();return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-par par border-skin-fragment rounded",style:l,children:[((g=t.commentObj)==null?void 0:g.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"par-fragment"}),M.jsx(b5,{label:"Par",collapsed:e,onClick:n,style:(p=t.commentObj)==null?void 0:p.messageStyle,className:H2((m=t.commentObj)==null?void 0:m.messageClassNames)})]})})]}),M.jsx("div",{className:H2({hidden:e}),children:M.jsxs("div",{className:"segment",children:[d&&M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:d})}),!!C.braceBlock()&&M.jsx(z4,{origin:c,className:"[&>.statement-container:not(:first-child)]:border-t",style:{paddingLeft:`${s}px`},context:C.braceBlock().block(),number:`${t.number}.1`,incremental:!0})]})})]})})},BA=t=>{var f,g,p,m,v;const e=t.context.opt(),n=(f=e==null?void 0:e.parExpr())==null?void 0:f.condition(),{collapsed:s,toggleCollapse:l,paddingLeft:L,fragmentStyle:c,border:C,leftParticipant:d}=z0(t.context,t.origin);return M.jsxs("div",{"data-origin":origin,"data-left-participant":d,"data-frame-padding-left":C.left,"data-frame-padding-right":C.right,className:H2("group fragment opt border-skin-fragment rounded",t.className),style:c,children:[((g=t.commentObj)==null?void 0:g.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"opt-fragment"}),M.jsx(b5,{label:"Opt",collapsed:s,onClick:l,style:(p=t.commentObj)==null?void 0:p.textStyle,className:H2((m=t.commentObj)==null?void 0:m.classNames)})]})})]}),M.jsx("div",{className:H2({hidden:s}),children:M.jsxs("div",{className:"segment",children:[n&&M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:n})}),M.jsx(z4,{origin:d,style:{paddingLeft:`${L}px`},context:(v=e==null?void 0:e.braceBlock())==null?void 0:v.block(),number:`${t.number}.1`,incremental:!0})]})})]})},UA=t=>t.charAt(0).toUpperCase()+t.slice(1),HA=t=>{var m,v,b,A;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=z0(t.context,t.origin),C=t.context.section(),d=C==null?void 0:C.braceBlock(),f=(m=C==null?void 0:C.atom())==null?void 0:m.getFormattedText(),g=d==null?void 0:d.block(),p=f??UA("section");return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-section section border-skin-fragment rounded",style:l,children:[((v=t.commentObj)==null?void 0:v.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"section-fragment"}),M.jsx(b5,{label:p,collapsed:e,onClick:n,style:(b=t.commentObj)==null?void 0:b.messageStyle,className:H2((A=t.commentObj)==null?void 0:A.messageClassNames)})]})})]}),M.jsx("div",{className:e?"hidden":"",children:M.jsxs("div",{className:"segment",children:[M.jsx("div",{className:"text-skin-fragment flex"}),g&&M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:g,number:t.number})]})})]})})},PA=t=>{var p,m,v,b;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=z0(t.context,t.origin),C=t.context.critical(),d=C==null?void 0:C.braceBlock(),f=(p=C==null?void 0:C.parExpr())==null?void 0:p.condition(),g=d==null?void 0:d.block();return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-critical critical border-skin-fragment rounded",style:l,children:[((m=t.commentObj)==null?void 0:m.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"critical-fragment"}),M.jsx(b5,{label:"Critical",collapsed:e,onClick:n,style:(v=t.commentObj)==null?void 0:v.messageStyle,className:H2((b=t.commentObj)==null?void 0:b.messageClassNames)})]})})]}),M.jsx("div",{className:e?"hidden":"",children:M.jsxs("div",{className:"segment",children:[f&&M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:f})}),g&&M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:g,number:`${t.number}.1`,incremental:!0})]})})]})})},WA=t=>{var v,b,A,k,S,N,I;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=z0(t.context,t.origin),C=O=>{var B,P;return(P=(B=O==null?void 0:O.invocation())==null?void 0:B.parameters())==null?void 0:P.getFormattedText()},d=O=>{var B;return(B=O==null?void 0:O.braceBlock())==null?void 0:B.block()},f=t.context.tcf(),g=(b=(v=f==null?void 0:f.tryBlock())==null?void 0:v.braceBlock())==null?void 0:b.block(),p=(k=(A=f==null?void 0:f.finallyBlock())==null?void 0:A.braceBlock())==null?void 0:k.block(),m=y.useMemo(()=>{const O=[Zt(g)];return f!=null&&f.catchBlock()&&f.catchBlock().forEach(B=>{O.push(O[O.length-1]+Zt(d(B)))}),O},[f,g]);return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":t.origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-tcf tcf border-skin-fragment rounded",style:l,children:[((S=t.commentObj)==null?void 0:S.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"try-catch-fragment"}),M.jsx(b5,{label:"Try",collapsed:e,onClick:n,style:(N=t.commentObj)==null?void 0:N.messageStyle,className:H2((I=t.commentObj)==null?void 0:I.messageClassNames)})]})})]}),M.jsxs("div",{className:e?"hidden":"",children:[M.jsx("div",{className:"segment",children:g&&M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:g,number:`${t.number}.1`,incremental:!0})}),f.catchBlock().map((O,B)=>M.jsxs("div",{className:"segment border-t border-solid mt-2",children:[M.jsxs("div",{className:"header inline-block bg-skin-frame opacity-65",children:[M.jsx("label",{className:"keyword catch p-1",children:"catch"}),M.jsx("label",{className:"exception p-1",children:C(O)})]},B+1e3),M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:d(O),number:`${t.number}.${m[B]+1}`,incremental:!0},B+2e3)]},B+500)),p&&M.jsxs("div",{className:"segment border-t border-solid mt-2",children:[M.jsx("div",{className:"header flex text-skin-fragment finally",children:M.jsx("label",{className:"keyword finally bg-skin-frame opacity-65 px-1 inline-block",children:"finally"})}),M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:p,number:`${t.number}.${m[m.length-1]+1}`,incremental:!0})]})]})]})})},Tt=({text:t,position:e,normalizeText:n,className:s,title:l="Double-click to edit"})=>{const L=X2(y9),[c,C]=r9(p5),d=X2(N6),f=L!==G4.Static,g=WL(t??""),p=m=>{if(m===""||m===t)return;const v=(n==null?void 0:n(m))??m,[b,A]=e;if(b===-1||A===-1){console.warn("labelPosition is not set");return}const k=c.slice(0,b)+v+c.slice(A+1);C(k),d(k)};return M.jsx(Ho,{text:g,isEditable:f,className:H2(s),onSave:p,title:l})},R8=t=>M.jsx(Tt,{text:t.labelText,position:t.labelPosition,normalizeText:t.normalizeText,className:H2("px-1 right",t.className)}),jA=t=>{var d,f,g;const{paddingLeft:e,fragmentStyle:n,border:s,leftParticipant:l}=z0(t.context,t.origin),L=t.context.ref().Content(),c=L==null?void 0:L.getFormattedText(),C=[L==null?void 0:L.start.start,L==null?void 0:L.stop.stop];return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":l,"data-left-participant":l,"data-frame-padding-left":s.left,"data-frame-padding-right":s.right,className:"group fragment fragment-ref bg-skin-frame border-skin-fragment relative rounded min-w-[140px] w-max py-4 px-2 flex justify-center items-center flex-col",style:{...n,paddingLeft:`${e}px`},children:[M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t absolute top-0 left-0",children:[M.jsx(u9,{number:t.number}),((d=t.commentObj)==null?void 0:d.text)&&M.jsx(X4,{className:"absolute -top-4 left-0",comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"text-skin-fragment relative w-9 h-8 -top-[1px] -left-[1px]",children:[M.jsx("div",{className:"polygon-border absolute inset-0"}),M.jsx("div",{className:"polygon-content bg-skin-frame text-skin-fragment-header absolute inset-[1px] flex flex-col items-center justify-center",children:M.jsx("span",{className:`flex items-center justify-center font-semibold ${((f=t.commentObj)==null?void 0:f.messageClassNames)||""}`,style:(g=t.commentObj)==null?void 0:g.messageStyle,children:"Ref"})})]})]}),M.jsx(R8,{className:"text-skin-title mt-3 mb-2",labelText:c,labelPosition:C,normalizeText:_8})]})})},$A="M1 1.25 L6.15 4.5 L1 7.75 Z",VA="M1 1.25 L6.15 4.5 L1 7.75",GA="M6 1.25 L0.85 4.5 L6 7.75 Z",qA="M6 1.25 L0.85 4.5 L6 7.75",YA=({type:t="",textStyle:e,className:n,style:s,number:l,rtl:L,onClick:c,messageRef:C,children:d})=>{const f=t==="creation"||t==="return",g=t==="sync",p=L?g?GA:qA:g?$A:VA;return M.jsxs("div",{className:H2("message leading-none border-b-2 border-transparent flex items-end relative",n),style:s,onClick:c,ref:C,children:[M.jsx("svg",{className:"absolute left-0 w-full text-skin-message-arrow pointer-events-none",height:"2",preserveAspectRatio:"none",style:{overflow:"visible",bottom:"-2px"},children:M.jsx("line",{x1:L?"100%":"0",y1:"1",x2:L?"0":"100%",y2:"1",stroke:"currentColor",strokeWidth:"2",strokeDasharray:f?"6,4":void 0,shapeRendering:"crispEdges"})}),M.jsx("svg",{className:H2("absolute text-skin-message-arrow pointer-events-none",L?"left-0":"right-0"),width:"7",height:"10",viewBox:"0 0 7 9",style:{overflow:"visible",bottom:"-6px"},children:M.jsx("path",{d:p,stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",fill:g?"currentColor":"none"})}),M.jsx("div",{className:"name group text-center flex-grow relative",style:{[L?"paddingLeft":"paddingRight"]:"7px"},children:M.jsx("div",{className:"inline-block static min-h-[1em]",children:M.jsx("div",{style:e,children:d})})}),M.jsx(u9,{number:l})]})},i7=t=>{const{context:e,rtl:n,type:s="",textStyle:l,className:L,style:c,number:C,children:d}=t,f=X2(y9),g=X2(Ge),p=y.useRef(null),m=f!==G4.Static,v=()=>{!m||!p.current||g(e,p.current)};return M.jsx(YA,{type:s,textStyle:l,className:H2({"cursor-pointer":m},L),style:c,number:C,rtl:n,onClick:v,messageRef:p,children:d})},XA=t=>M.jsxs("div",{className:"occurrence-collapsible-header w-auto",children:[M.jsxs("svg",{width:"20px",height:"20px",className:H2("collapse-button cursor-pointer",{hidden:t.collapsed,expanded:!t.collapsed}),onClick:t.onClick,viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"miter",children:[M.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),M.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsxs("g",{id:"SVGRepo_iconCarrier",children:[M.jsx("line",{x1:"13",y1:"2",x2:"13",y2:"10"}),M.jsx("polyline",{points:"9 7 13 11 17 7"}),M.jsx("line",{x1:"13",y1:"23",x2:"13",y2:"15"}),M.jsx("polyline",{points:"9 19 13 15 17 19"})]})]}),M.jsxs("svg",{width:"20px",height:"20px",className:H2("cursor-pointer",{hidden:!t.collapsed}),onClick:t.onClick,viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"miter",children:[M.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),M.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsxs("g",{id:"SVGRepo_iconCarrier",children:[M.jsx("line",{x1:"13",y1:"1",x2:"13",y2:"9"}),M.jsx("polyline",{points:"9 5 13 1 17 5"}),M.jsx("line",{x1:"13",y1:"13",x2:"13",y2:"13"}),M.jsx("line",{x1:"13",y1:"24",x2:"13",y2:"17"}),M.jsx("polyline",{points:"9 20 13 24 17 20"})]})]})]}),QA=({assignee:t,type:e,assigneePosition:n,typePosition:s,normalizeText:l,className:L})=>M.jsxs("span",{className:H2("assignment-return-label",L),children:[M.jsx(Tt,{text:t,position:n,normalizeText:l,className:"right",title:"Double-click to edit assignee"}),e&&M.jsxs(M.Fragment,{children:[M.jsx("span",{className:"text-skin-message",children:":"}),M.jsx(Tt,{text:e,position:s,className:"right",title:"Double-click to edit type"})]})]}),kd=t=>{var g,p;const e=X2(q4),[n,s]=y.useState(!1),l=localStorage.getItem("zenumlDebug"),L=()=>{try{return C9(e,t.participant)}catch(m){return console.error(m),0}},c=()=>{var A;const m=t.context.braceBlock();if(!m)return!1;const v=((A=m.block())==null?void 0:A.stat())||[],b=v.length;return b>1?!0:b===1&&v[0].ret()==null},C=()=>{s(!n),J6.emit("participant_set_top")};y.useEffect(()=>{s(!1)},[t.context]);const d=y.useMemo(()=>{var b;if(typeof((b=t.context)==null?void 0:b.Assignment)!="function")return null;const m=t.context.Assignment();return!m||!(m.assignee||"")?null:{assignee:m.assignee,type:m.type,assigneePosition:m.assigneePosition,typePosition:m.typePosition}},[t.context]),f=t.number?`${t.number}.${((p=(g=t.context)==null?void 0:g.Statements())==null?void 0:p.length)+1}`:void 0;return M.jsxs("div",{className:H2("occurrence min-h-6 shadow-occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full w-[15px] mt-[-2px] pl-[6px]",{"right-to-left left-[-14px]":t.rtl},t.className),"data-el-type":"occurrence","data-belongs-to":t.participant,"data-x-offset":0,"data-debug-center-of":L(),children:[l&&M.jsxs(M.Fragment,{children:[M.jsx("div",{className:"absolute w-full left-0 bg-amber-700 h-3 -top-1 flex justify-center items-center",children:M.jsx("div",{className:"w-px h-full bg-black"})}),M.jsx("div",{className:"absolute w-full left-0 bg-amber-700 h-3 -bottom-1 flex justify-center items-center",children:M.jsx("div",{className:"w-px h-full bg-black"})})]}),c()&&M.jsx(XA,{collapsed:n,onClick:C}),t.context.braceBlock()&&M.jsx(z4,{origin:t.participant,context:t.context.braceBlock().block(),number:t.number,collapsed:n}),d&&!t.isSelf&&M.jsx("div",{className:H2("statement-container my-4"),children:M.jsx("div",{className:H2("interaction return relative right-to-left text-left text-sm text-skin-message"),children:M.jsx(i7,{className:H2("return transform -translate-y-full pointer-events-auto",t.messageClassNames),context:t.context,rtl:!t.rtl,type:"return",number:f,textStyle:t.textStyle,style:t.interactionWidth!==void 0?{width:`${t.interactionWidth}px`,transform:t.rtl?"translateX(7px)":"translateX(calc(-100% - 7px))"}:void 0,children:M.jsx(QA,{assignee:d.assignee,type:d.type,assigneePosition:d.assigneePosition,typePosition:d.typePosition,normalizeText:_8})})})})]})};class s7{constructor(e,n,s,l){d2(this,"start");d2(this,"stop");this.start={line:e,col:n},this.stop={line:s,col:l}}static from(e){const n=e.start,s=e.stop;return new s7(n.line,n.column,s.line,s.column+s.text.length)}}const KA=(t,e)=>{var n,s;return e===E1&&t instanceof _.MessageContext&&((n=t.Owner)==null?void 0:n.call(t))===void 0&&((s=t.From)==null?void 0:s.call(t))===void 0},Yo=(t,e)=>t==null?void 0:t.getAncestors(n=>{var l;return(L=>{const c=L instanceof _.MessageContext,C=L instanceof _.CreationContext;return c||C})(n)?((l=n.Owner)==null?void 0:l.call(n))===e||KA(n,e):!1}).length,JA=(t,e)=>{var s;if(!(t instanceof _.StatContext))return 0;const n=(s=t==null?void 0:t.children)==null?void 0:s[0];return n?Yo(n,e):0},Et=({context:t,origin:e,source:n,target:s})=>{const l=X2(q4),L=n===s,c=Yo(t,e),C=Yo(t,n),d=JA(t,s),f=new n7(C9(l,e),c),g=new n7(C9(l,n),C),p=new n7(C9(l,s),d),m=Math.abs(g.edgeOffset(p)),v=dA(l,n,s)<0,b=f.centerToEdge(v?p:g);return{isSelf:L,originLayers:c,sourceLayers:C,targetLayers:d,anchor2Origin:f,anchor2Source:g,anchor2Target:p,interactionWidth:m,rightToLeft:v,translateX:b}},eS=({labelText:t,labelPosition:e,normalizeText:n,className:s})=>X2(y9)!==G4.Static?t?M.jsxs(M.Fragment,{children:[M.jsx("span",{children:"«"}),M.jsx(Tt,{text:t,position:e,normalizeText:n,className:H2("right",s)}),M.jsx("span",{children:"»"})]}):M.jsx(M.Fragment,{children:"«create»"}):M.jsx(M.Fragment,{children:`«${t||"create"}»`}),tS=t=>{var N,I,O,B;const e=y.useRef(null),n=X2(Ws),s=X2($s),[l,L]=y.useState(0),c=(N=t.context)==null?void 0:N.creation(),C=c==null?void 0:c.Owner(),d=c==null?void 0:c.isCurrent(n),f=(I=c==null?void 0:c.creationBody())==null?void 0:I.parameters(),[g,p]=[f==null?void 0:f.start.start,f==null?void 0:f.stop.stop],{translateX:m,interactionWidth:v,rightToLeft:b}=Et({context:t.context,origin:t.origin,source:t.origin,target:c==null?void 0:c.Owner()}),A=(O=t.commentObj)==null?void 0:O.messageStyle,k=(B=t.commentObj)==null?void 0:B.messageClassNames,S=l/2-$1-b6;return y.useEffect(()=>{const P=document.querySelector(`[data-participant-id="${C}"]`);if(!P){console.warn(`Could not find participant element for ${C}`),L(0);return}L(P.getBoundingClientRect().width),a3.debug(`Found participant element for ${C}, width: ${l}px`),J6.emit("participant_set_top"),a3.debug(`Init or update message container for ${C}`)},[C,l]),M.jsxs("div",{"data-origin":t.origin,className:H2("interaction creation sync",{"right-to-left":b,highlight:d},t.className),onClick:()=>s(s7.from(t.context)),"data-signature":c==null?void 0:c.SignatureText(),style:{transform:"translateX("+m+"px)",width:v+"px"},children:[t.comment&&M.jsx(X4,{commentObj:t.commentObj}),M.jsx("div",{ref:e,"data-type":"creation",className:H2("message-container pointer-events-none flex items-center h-10 relative",{"flex-row-reverse":b}),"data-to":C,children:M.jsx(i7,{className:H2("invocation transform -translate-y-[calc(50%-1px)] pointer-events-auto",k),context:c,rtl:b,type:"creation",number:t.number,textStyle:A,style:{width:`calc(100% - ${S}px)`},children:M.jsx(eS,{labelText:c==null?void 0:c.ParametersText(),labelPosition:[g,p],normalizeText:_8})})}),M.jsx(kd,{context:c,className:"pointer-events-auto",participant:C,number:t.number,textStyle:A,messageClassNames:k,rtl:b,interactionWidth:v})]})},Zd=t=>{const{fill:e,rtl:n}=t;return M.jsx("svg",{className:"stroke-2",height:"10",width:"7",viewBox:"0 0 7 9",children:M.jsx("g",{transform:n?"scale(-1, 1) translate(-7, 0)":void 0,children:M.jsx("path",{d:e?"M1 1.25 L6.15 4.5 L1 7.75 Z":"M1 1.25 L6.15 4.5 L1 7.75",stroke:"currentColor",strokeLinecap:"round",fill:e?"currentColor":"none"})})})},nS=t=>{var c,C,d;const e=y.useRef(null),n=X2(Ge),s=((C=(c=t.context)==null?void 0:c.Assignment())==null?void 0:C.getText())||"",l=y.useMemo(()=>{var g;const f=(g=t.context)==null?void 0:g.messageBody().func();return f?[f.start.start,f.stop.stop]:[-1,-1]},[t.context]),L=()=>{n(t.context,e.current)};return M.jsxs("div",{ref:e,className:"self-invocation message leading-none self flex items-start flex-col border-none",onClick:L,children:[M.jsxs("label",{className:"name text-left group px-px relative min-h-[1em] w-full",children:[M.jsx(u9,{number:t.number}),M.jsxs("div",{className:"label",style:t.textStyle,children:[s&&M.jsxs("span",{children:[M.jsx("span",{className:"assignee px-1",children:s}),M.jsx("span",{children:"="})]}),M.jsx(R8,{className:t.classNames,labelText:(d=t.context)==null?void 0:d.SignatureText(),labelPosition:l,normalizeText:_8})]})]}),M.jsxs("svg",{className:"arrow text-skin-message-arrow",width:"30",height:"24",children:[M.jsx("path",{className:"stroke-current stroke-2 fill-none",d:"M0,2 L26,2 Q28,2 28,4 L28,13 Q28,15 26,15 L14,15"}),M.jsx("g",{transform:"translate(7, 10)",children:M.jsx(Zd,{fill:!0,rtl:!0})})]})]})},iS=t=>{var I,O,B,P,Y,n2,l2;const e=X2(Ws),n=(I=t.commentObj)==null?void 0:I.messageStyle,s=(O=t.commentObj)==null?void 0:O.messageClassNames,l=(B=t.context)==null?void 0:B.message(),L=l==null?void 0:l.SignatureText(),c=l==null?void 0:l.isCurrent(e),C=(l==null?void 0:l.From())||E1,d=((Y=(P=t.context)==null?void 0:P.message())==null?void 0:Y.Owner())||E1,f=C===d,g=(n2=l==null?void 0:l.messageBody().func())==null?void 0:n2.signature()[0],[p,m]=[g==null?void 0:g.start.start,g==null?void 0:g.stop.stop],{translateX:v,interactionWidth:b,originLayers:A,sourceLayers:k,targetLayers:S,rightToLeft:N}=Et({context:t.context,origin:t.origin,source:C,target:d});return M.jsxs("div",{className:H2("interaction sync inline-block",{highlight:c,self:f,"right-to-left":N},t.className),onClick:f2=>f2.stopPropagation(),"data-to":d,"data-origin":t.origin,"data-source":C,"data-target":d,"data-origin-layers":A,"data-source-layers":k,"data-target-layers":S,"data-type":"interaction","data-signature":L,style:{width:f?void 0:b+"px",transform:"translateX("+v+"px)"},children:[((l2=t.commentObj)==null?void 0:l2.text)&&M.jsx(X4,{commentObj:t.commentObj}),f?M.jsx(nS,{classNames:s,textStyle:n,context:l,number:t.number}):M.jsx(i7,{className:H2(s),textStyle:n,context:l,rtl:N,number:t.number,type:"sync",children:M.jsx(R8,{labelText:L,labelPosition:[p,m],normalizeText:_8})}),M.jsx(kd,{context:l,participant:d,rtl:N,number:t.number,textStyle:n,messageClassNames:s,isSelf:f,interactionWidth:f?void 0:b})]})},sS=t=>{var c;const e=(c=t.context)==null?void 0:c.content(),n=()=>e?[e.start.start,e.stop.stop]:[-1,-1],s=y.useRef(null),l=X2(Ge),L=()=>{l(t.context,s.current)};return M.jsxs("div",{ref:s,className:"message self flex items-start flex-col !border-none",onClick:L,children:[M.jsxs("label",{className:"name group px-px min-h-[1em]",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"label",style:t.textStyle,children:M.jsx(R8,{className:t.classNames,labelText:e==null?void 0:e.getFormattedText(),labelPosition:n(),normalizeText:Md})})]}),M.jsxs("svg",{className:"arrow text-skin-message-arrow",width:"30",height:"24",children:[M.jsx("path",{className:"stroke-current stroke-2 fill-none",d:"M0,2 L26,2 Q28,2 28,4 L28,13 Q28,15 26,15 L1,15"}),M.jsx("g",{transform:"translate(0, 10)",children:M.jsx(Zd,{fill:!1,rtl:!0})})]})]})};function Xo(t){return t==null}const oS=t=>{var N,I,O,B,P;const e=X2(Ws),n=X2($s),s=(N=t.context)==null?void 0:N.asyncMessage(),l=(I=s==null?void 0:s.content())==null?void 0:I.getFormattedText(),c=(s==null?void 0:s.ProvidedFrom())||t.origin,C=(O=s==null?void 0:s.to())==null?void 0:O.getFormattedText(),d=c===C,f=s==null?void 0:s.content(),[g,p]=[f==null?void 0:f.start.start,f==null?void 0:f.stop.stop],{translateX:m,interactionWidth:v,rightToLeft:b}=Et({context:t.context,origin:t.origin,source:c,target:C}),A=(B=t.commentObj)==null?void 0:B.messageClassNames,k=(P=t.commentObj)==null?void 0:P.messageStyle,S=()=>{const Y=s.start.start,n2=s.stop.stop+1;return Xo(e)||Xo(Y)||Xo(n2)?!1:e>=Y&&e<=n2};return M.jsxs("div",{"data-origin":origin,"data-to":C,"data-source":c,"data-target":C,className:H2("interaction async",{"left-to-right":!b,"right-to-left":b,highlight:S(),"self-invocation":d},t.className),onClick:()=>n(s7.from(t.context)),"data-signature":l,style:{width:v+"px",transform:"translateX("+m+"px)"},children:[t.comment&&M.jsx(X4,{commentObj:t.commentObj}),d?M.jsx(sS,{classNames:H2(A),textStyle:k,context:s,number:t.number}):M.jsx(i7,{className:H2(A),textStyle:k,context:s,rtl:b,type:"async",number:t.number,children:M.jsx(R8,{labelText:l,labelPosition:[g,p],normalizeText:Md})})]})},lS=t=>{X2($e);const e=X2(q4),n=y.useMemo(()=>e.getWidth(),[e]),s=C9(e,t.origin),l=t.context.divider().Note(),L=y.useMemo(()=>{if(l.trim().indexOf("[")===0&&l.indexOf("]")!==-1){const d=l.indexOf("["),f=l.indexOf("]"),[g,p]=[l.slice(d+1,f),l.slice(f+1)];return{style:I6(g.split(",").map(m=>m.trim())),note:p}}return{style:I6([]),note:l}},[l]),c=L.note.replace(/^=+\s*|\s*=+$/g,"").trim(),C=y.useCallback(d=>{if(!d)return;const f=d.parentElement,g=f==null?void 0:f.parentElement;if(!g)return;const p=parseFloat(getComputedStyle(g).paddingLeft)||0;d.style.transform=`translateX(-${p}px)`},[]);return M.jsxs("div",{ref:C,className:H2("divider",t.className),"data-origin":t.origin,style:{width:n+"px",transform:"translateX("+-1*s+"px)",display:"flex",alignItems:"center",height:40,gap:0},children:[M.jsx("div",{className:"left",style:{flex:1,height:1,backgroundColor:"#aaaa33"}}),M.jsx("div",{style:{...L.style.textStyle,backgroundColor:"#fff5ad",border:"1px solid #aaaa33",borderRadius:2,boxSizing:"border-box",height:28,padding:"0 8px",fontSize:14,lineHeight:"26px",color:"#333",whiteSpace:"nowrap"},className:H2("name",L.style.classNames),children:c}),M.jsx("div",{className:"right",style:{flex:1,height:1,backgroundColor:"#aaaa33"}})]})},rS=t=>{var A,k,S;const e=X2($s),n=(A=t.context)==null?void 0:A.ret(),s=(n==null?void 0:n.asyncMessage())||(n==null?void 0:n.returnAsyncMessage()),l=n==null?void 0:n.Signature(),L=(n==null?void 0:n.From())||E1,c=(n==null?void 0:n.ReturnTo())||E1,C=(s==null?void 0:s.content())||(n==null?void 0:n.expr());let d=-1,f=-1;if(C instanceof _.AtomExprContext){const N=C.atom();[d,f]=[N==null?void 0:N.start.start,N==null?void 0:N.stop.stop]}else C instanceof _.ContentContext&&([d,f]=[C.start.start,C.stop.stop]);const{translateX:g,interactionWidth:p,rightToLeft:m,isSelf:v}=Et({context:t.context,origin:t.origin,source:L,target:c}),b=N=>{N.stopPropagation(),e(s7.from(t.context))};return M.jsxs("div",{onClick:b,"data-type":"return","data-signature":l,"data-origin":origin,"data-to":c,"data-source":L,"data-target":c,className:H2("interaction return relative",{"right-to-left":m,highlight:!1},t.className),style:{width:p+"px",transform:"translateX("+g+"px)"},children:[t.comment&&M.jsx(X4,{commentObj:t.commentObj}),v&&M.jsxs("div",{className:"flex items-center",children:[M.jsxs("svg",{className:"w-3 h-3 flex-shrink-0 fill-current m-1",viewBox:"0 0 512 512",children:[M.jsx("path",{className:"cls-1",d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}),M.jsx("path",{className:"cls-1",d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"})]}),M.jsx("span",{className:"name",children:l})]}),!v&&M.jsx(i7,{className:H2((k=t.commentObj)==null?void 0:k.messageClassNames),textStyle:(S=t.commentObj)==null?void 0:S.messageStyle,context:C,rtl:m,type:"return",number:t.number,children:M.jsx(R8,{labelText:l,labelPosition:[d,f],normalizeText:_8})})]})},aS=t=>{const e=t.context.getComment()||"",n=new Us(e),s={className:H2("text-left text-sm text-skin-message",{hidden:t.collapsed&&!t.context.ret()}),context:t.context,origin:t.origin,comment:e,commentObj:n,number:t.number};switch(!0){case!!t.context.loop():return M.jsx(OA,{...s});case!!t.context.alt():return M.jsx(DA,{...s});case!!t.context.par():return M.jsx(FA,{...s});case!!t.context.opt():return M.jsx(BA,{...s});case!!t.context.section():return M.jsx(HA,{...s});case!!t.context.critical():return M.jsx(PA,{...s});case!!t.context.tcf():return M.jsx(WA,{...s});case!!t.context.ref():return M.jsx(jA,{...s});case!!t.context.creation():return M.jsx(tS,{...s});case!!t.context.message():return M.jsx(iS,{...s});case!!t.context.asyncMessage():return M.jsx(oS,{...s});case!!t.context.divider():return M.jsx(lS,{...s});case!!t.context.ret():return M.jsx(rS,{...s,className:"text-left text-sm text-skin-message"})}},z4=t=>{var s;const e=((s=t.context)==null?void 0:s.stat())||[],n=l=>t.number?t.incremental?gA(t.number,l):`${t.number}.${l+1}`:String(l+1);return M.jsx("div",{className:H2("block",t.className),style:t.style,"data-origin":t.origin,children:e.map((l,L)=>M.jsx("div",{className:H2("statement-container my-4 flex flex-col"),"data-origin":t.origin,"data-statement-key":A6(l),children:M.jsx(aS,{origin:t.origin||"",context:l,collapsed:!!t.collapsed,number:n(L)})},L))})};var LS=typeof document<"u",cS=function(){},Qo=LS?y.useLayoutEffect:cS;const CS={...le}.useInsertionEffect||(t=>t());function uS(t){const e=y.useRef(()=>{});return CS(()=>{e.current=t}),y.useCallback(function(){for(var n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];return e.current==null?void 0:e.current(...s)},[])}const dS={...le};let Td=!1,hS=0;const Ed=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+hS++;function fS(){const[t,e]=y.useState(()=>Td?Ed():void 0);return Qo(()=>{t==null&&e(Ed())},[]),y.useEffect(()=>{Td=!0},[]),t}const gS=dS.useId||fS;function pS(){const t=new Map;return{emit(e,n){var s;(s=t.get(e))==null||s.forEach(l=>l(n))},on(e,n){t.has(e)||t.set(e,new Set),t.get(e).add(n)},off(e,n){var s;(s=t.get(e))==null||s.delete(n)}}}const mS=y.createContext(null),xS=y.createContext(null),wS=()=>{var t;return((t=y.useContext(mS))==null?void 0:t.id)||null},vS=()=>y.useContext(xS);function MS(t){const{open:e=!1,onOpenChange:n,elements:s}=t,l=gS(),L=y.useRef({}),[c]=y.useState(()=>pS()),C=wS()!=null,[d,f]=y.useState(s.reference),g=uS((v,b,A)=>{L.current.openEvent=v?b:void 0,c.emit("openchange",{open:v,event:b,reason:A,nested:C}),n==null||n(v,b,A)}),p=y.useMemo(()=>({setPositionReference:f}),[]),m=y.useMemo(()=>({reference:d||s.reference||null,floating:s.floating||null,domReference:s.reference}),[d,s.reference,s.floating]);return y.useMemo(()=>({dataRef:L,open:e,onOpenChange:g,elements:m,events:c,floatingId:l,refs:p}),[e,g,m,c,l,p])}function _S(t){t===void 0&&(t={});const{nodeId:e}=t,n=MS({...t,elements:{reference:null,floating:null,...t.elements}}),s=t.rootContext||n,l=s.elements,[L,c]=y.useState(null),[C,d]=y.useState(null),g=(l==null?void 0:l.domReference)||L,p=y.useRef(null),m=vS();Qo(()=>{g&&(p.current=g)},[g]);const v=WR({...t,elements:{...l,...C&&{reference:C}}}),b=y.useCallback(I=>{const O=L4(I)?{getBoundingClientRect:()=>I.getBoundingClientRect(),getClientRects:()=>I.getClientRects(),contextElement:I}:I;d(O),v.refs.setReference(O)},[v.refs]),A=y.useCallback(I=>{(L4(I)||I===null)&&(p.current=I,c(I)),(L4(v.refs.reference.current)||v.refs.reference.current===null||I!==null&&!L4(I))&&v.refs.setReference(I)},[v.refs]),k=y.useMemo(()=>({...v.refs,setReference:A,setPositionReference:b,domReference:p}),[v.refs,A,b]),S=y.useMemo(()=>({...v.elements,domReference:g}),[v.elements,g]),N=y.useMemo(()=>({...v,...s,refs:k,elements:S,nodeId:e}),[v,k,S,e,s]);return Qo(()=>{s.dataRef.current.floatingContext=N;const I=m==null?void 0:m.nodesRef.current.find(O=>O.id===e);I&&(I.context=N)}),y.useMemo(()=>({...v,context:N,refs:k,elements:S}),[v,k,S,N])}function yS(t){const e=y.useRef(t);return y.useEffect(()=>{e.current=t},[t]),e}function RS(t,e,n){const s=yS(e);y.useEffect(()=>{function l(L){s.current(L)}return document.addEventListener(t,l,n),()=>document.removeEventListener(t,l,n)},[t,n,s])}const bS=(t,e)=>{RS("click",n=>{t&&(t.contains(n.target)||e(n))},{capture:!0})},AS=[{name:"bold",content:"B",class:"font-bold"},{name:"italic",content:"I",class:"italic"},{name:"underline",content:"U",class:"underline"},{name:"strikethrough",content:"S",class:"line-through"}],SS=()=>{const[t,e]=r9(p5),n=X2(N6),s=Q5(Ge),[l,L]=y.useState(!1),[c,C]=y.useState([]),[d,f]=y.useState(""),g=A=>{e(A),n(A)},p=y.useRef({start:0,lineHead:0,prevLine:"",leadingSpaces:"",prevLineIsComment:!1,hasStyleBrackets:!1}),{refs:m,floatingStyles:v}=_S({open:l,onOpenChange:L}),b=A=>{var S;if(L(!1),!d)return;const k=p.current;if(k.prevLineIsComment){let N="";if(k.hasStyleBrackets){let I;c.includes(A)?I=c.filter(O=>O!==A):I=[...c,A],N=`${k.leadingSpaces}// [${I.filter(Boolean).join(", ")}] ${k.prevLine.slice(k.prevLine.indexOf("]")+1).trimStart()}`}else N=`${k.leadingSpaces}// [${A}] ${k.prevLine.slice((((S=k.prevLine.match(/\/\/*/))==null?void 0:S.index)||-2)+2).trimStart()}`;N.endsWith(`
226
+ `:`<code>${t}</code>`}};U2.setOptions({highlight:function(t,e){if(!e)return R5.highlightAuto(t).value;const n=R5.getLanguage(e)?e:"plaintext";return R5.highlight(n,t).value},breaks:!0}),U2.use({renderer:zA});const X4=t=>{var n,s,l,L;const e=zc.sanitize(((n=t.commentObj)==null?void 0:n.text)&&U2.parse((s=t.commentObj)==null?void 0:s.text)||t.comment&&U2.parse(t.comment));return M.jsx("div",{className:H2("comments text-skin-comment min-w-[100px] flex text-left opacity-50 hover:opacity-100",t.className),children:M.jsx("div",{dangerouslySetInnerHTML:{__html:e},className:H2((l=t.commentObj)==null?void 0:l.commentClassNames),style:(L=t.commentObj)==null?void 0:L.commentStyle})})},u9=t=>X2(Uc)?M.jsx("div",{className:"absolute text-xs right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 font-thin",children:t.number}):null,b5=t=>M.jsxs("div",{className:H2("collapsible-header flex w-full justify-between",t.className),style:t.style,children:[M.jsx("label",{className:"mb-0",children:t.label}),t.collapsed?M.jsx(k3,{name:"collapse-unexpanded",className:"w-4 h-4 cursor-pointer",onClick:t.onClick}):M.jsx(k3,{name:"collapse-expanded",className:H2("w-4 h-4 collapse-button cursor-pointer hidden group-[.fragment]:group-hover:inline-block",t.collapsed&&"inline-block"),onClick:t.onClick})]}),NA=/\b(\w+)\s*==\s*(\w+)\b/g,y8=t=>{var d;const e=X2(y9),[n,s]=r9(p5),l=X2(N6),L=((d=t.condition)==null?void 0:d.getFormattedText())??"",c=e===G4.Dynamic,C=f=>{var b,A,k,S;if(f===""||f===L)return;let g=f;t7.test(g)&&!NA.test(g)&&(g=g.replace(/"/g,""),g=`"${g}"`);const[p,m]=[(A=(b=t.condition)==null?void 0:b.start)==null?void 0:A.start,(S=(k=t.condition)==null?void 0:k.stop)==null?void 0:S.stop];if(p===-1||m===-1){console.warn("labelPosition is not set");return}const v=n.slice(0,p)+g+n.slice(m+1);s(v),l(v)};return M.jsxs(M.Fragment,{children:[M.jsx("label",{children:"["}),M.jsx(Ho,{text:L,isEditable:c,className:"bg-skin-frame opacity-65 condition",onSave:C,title:"Double-click to edit"}),M.jsx("label",{children:"]"})]})},OA=t=>{var g,p,m,v,b;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=I0(t.context,t.origin),C=t.context.loop(),d=(g=C==null?void 0:C.braceBlock())==null?void 0:g.block(),f=(p=C==null?void 0:C.parExpr())==null?void 0:p.condition();return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-loop loop border-skin-fragment rounded",style:l,children:[((m=t.commentObj)==null?void 0:m.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header text-skin-fragment-header bg-skin-fragment-header leading-4 relative rounded-t",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"loop-fragment"}),M.jsx(b5,{label:"Loop",collapsed:e,onClick:n,style:(v=t.commentObj)==null?void 0:v.messageStyle,className:H2((b=t.commentObj)==null?void 0:b.messageClassNames)})]})})]}),M.jsx("div",{className:H2({hidden:e}),children:M.jsxs("div",{className:"segment",children:[M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:f})}),M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:d,number:`${t.number}.1`,incremental:!0})]})})]})})},DA=t=>{var b,A,k,S,N,I,O,B,P,Y,n2;const e=t.context.alt(),n=e==null?void 0:e.ifBlock(),s=e==null?void 0:e.elseIfBlock(),l=(A=(b=e==null?void 0:e.elseBlock())==null?void 0:b.braceBlock())==null?void 0:A.block(),L=(S=(k=e==null?void 0:e.ifBlock())==null?void 0:k.braceBlock())==null?void 0:S.block(),c=y.useMemo(()=>{const o2=[Zt(L)];return e!=null&&e.elseIfBlock()&&e.elseIfBlock().forEach(f2=>{o2.push(o2[o2.length-1]+Zt(d(f2)))}),o2},[e,L]);function C(o2){var f2;return(f2=o2==null?void 0:o2.parExpr())==null?void 0:f2.condition()}function d(o2){var f2;return(f2=o2==null?void 0:o2.braceBlock())==null?void 0:f2.block()}const{collapsed:f,toggleCollapse:g,paddingLeft:p,fragmentStyle:m,leftParticipant:v}=I0(t.context,t.origin);return M.jsxs("div",{"data-origin":t.origin,"data-left-participant":t.origin,"data-frame-padding-left":(I=(N=t.commentObj)==null?void 0:N.messageStyle)==null?void 0:I.paddingLeft,"data-frame-padding-right":(B=(O=t.commentObj)==null?void 0:O.messageStyle)==null?void 0:B.paddingRight,className:H2("group fragment fragment-alt alt border-skin-fragment rounded",t.className),style:m,children:[((P=t.commentObj)==null?void 0:P.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"alt-fragment"}),M.jsx(b5,{label:"Alt",collapsed:f,onClick:g,style:(Y=t.commentObj)==null?void 0:Y.messageStyle,className:H2((n2=t.commentObj)==null?void 0:n2.messageClassNames)})]})})]}),M.jsxs("div",{className:f?"hidden":"block",children:[M.jsxs("div",{className:"segment",children:[M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:C(n)})}),L&&M.jsx(z4,{origin:v,style:{paddingLeft:`${p}px`},context:L,number:`${t.number}.1`,incremental:!0})]}),s.map((o2,f2)=>M.jsx(y.Fragment,{children:M.jsxs("div",{className:"segment border-t border-solid mt-2",children:[M.jsxs("div",{className:"text-skin-fragment",children:[M.jsx("label",{className:"else-if hidden",children:"else if"}),M.jsx(y8,{condition:C(o2)})]},f2+1e3),M.jsx(z4,{origin:v,style:{paddingLeft:`${p}px`},context:d(o2),number:`${t.number}.${c[f2]+1}`,incremental:!0},f2+2e3)]},f2+500)},f2)),l&&M.jsx(M.Fragment,{children:M.jsxs("div",{className:"segment border-t border-solid mt-2",children:[M.jsx("div",{className:"text-skin-fragment",children:M.jsx("label",{className:"p-1",children:"[else]"})}),M.jsx(z4,{origin:v,style:{paddingLeft:`${p}px`},context:l,number:`${t.number}.${c[c.length-1]+1}`,incremental:!0})]})})]})]})},FA=t=>{var f,g,p,m;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=I0(t.context,t.origin),C=t.context.par(),d=(f=C==null?void 0:C.parExpr())==null?void 0:f.condition();return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-par par border-skin-fragment rounded",style:l,children:[((g=t.commentObj)==null?void 0:g.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"par-fragment"}),M.jsx(b5,{label:"Par",collapsed:e,onClick:n,style:(p=t.commentObj)==null?void 0:p.messageStyle,className:H2((m=t.commentObj)==null?void 0:m.messageClassNames)})]})})]}),M.jsx("div",{className:H2({hidden:e}),children:M.jsxs("div",{className:"segment",children:[d&&M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:d})}),!!C.braceBlock()&&M.jsx(z4,{origin:c,className:"[&>.statement-container:not(:first-child)]:border-t",style:{paddingLeft:`${s}px`},context:C.braceBlock().block(),number:`${t.number}.1`,incremental:!0})]})})]})})},BA=t=>{var f,g,p,m,v;const e=t.context.opt(),n=(f=e==null?void 0:e.parExpr())==null?void 0:f.condition(),{collapsed:s,toggleCollapse:l,paddingLeft:L,fragmentStyle:c,border:C,leftParticipant:d}=I0(t.context,t.origin);return M.jsxs("div",{"data-origin":origin,"data-left-participant":d,"data-frame-padding-left":C.left,"data-frame-padding-right":C.right,className:H2("group fragment opt border-skin-fragment rounded",t.className),style:c,children:[((g=t.commentObj)==null?void 0:g.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"opt-fragment"}),M.jsx(b5,{label:"Opt",collapsed:s,onClick:l,style:(p=t.commentObj)==null?void 0:p.textStyle,className:H2((m=t.commentObj)==null?void 0:m.classNames)})]})})]}),M.jsx("div",{className:H2({hidden:s}),children:M.jsxs("div",{className:"segment",children:[n&&M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:n})}),M.jsx(z4,{origin:d,style:{paddingLeft:`${L}px`},context:(v=e==null?void 0:e.braceBlock())==null?void 0:v.block(),number:`${t.number}.1`,incremental:!0})]})})]})},UA=t=>t.charAt(0).toUpperCase()+t.slice(1),HA=t=>{var m,v,b,A;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=I0(t.context,t.origin),C=t.context.section(),d=C==null?void 0:C.braceBlock(),f=(m=C==null?void 0:C.atom())==null?void 0:m.getFormattedText(),g=d==null?void 0:d.block(),p=f??UA("section");return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-section section border-skin-fragment rounded",style:l,children:[((v=t.commentObj)==null?void 0:v.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"section-fragment"}),M.jsx(b5,{label:p,collapsed:e,onClick:n,style:(b=t.commentObj)==null?void 0:b.messageStyle,className:H2((A=t.commentObj)==null?void 0:A.messageClassNames)})]})})]}),M.jsx("div",{className:e?"hidden":"",children:M.jsxs("div",{className:"segment",children:[M.jsx("div",{className:"text-skin-fragment flex"}),g&&M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:g,number:t.number})]})})]})})},PA=t=>{var p,m,v,b;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=I0(t.context,t.origin),C=t.context.critical(),d=C==null?void 0:C.braceBlock(),f=(p=C==null?void 0:C.parExpr())==null?void 0:p.condition(),g=d==null?void 0:d.block();return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-critical critical border-skin-fragment rounded",style:l,children:[((m=t.commentObj)==null?void 0:m.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"critical-fragment"}),M.jsx(b5,{label:"Critical",collapsed:e,onClick:n,style:(v=t.commentObj)==null?void 0:v.messageStyle,className:H2((b=t.commentObj)==null?void 0:b.messageClassNames)})]})})]}),M.jsx("div",{className:e?"hidden":"",children:M.jsxs("div",{className:"segment",children:[f&&M.jsx("div",{className:"text-skin-fragment",children:M.jsx(y8,{condition:f})}),g&&M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:g,number:`${t.number}.1`,incremental:!0})]})})]})})},WA=t=>{var v,b,A,k,S,N,I;const{collapsed:e,toggleCollapse:n,paddingLeft:s,fragmentStyle:l,border:L,leftParticipant:c}=I0(t.context,t.origin),C=O=>{var B,P;return(P=(B=O==null?void 0:O.invocation())==null?void 0:B.parameters())==null?void 0:P.getFormattedText()},d=O=>{var B;return(B=O==null?void 0:O.braceBlock())==null?void 0:B.block()},f=t.context.tcf(),g=(b=(v=f==null?void 0:f.tryBlock())==null?void 0:v.braceBlock())==null?void 0:b.block(),p=(k=(A=f==null?void 0:f.finallyBlock())==null?void 0:A.braceBlock())==null?void 0:k.block(),m=y.useMemo(()=>{const O=[Zt(g)];return f!=null&&f.catchBlock()&&f.catchBlock().forEach(B=>{O.push(O[O.length-1]+Zt(d(B)))}),O},[f,g]);return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":t.origin,"data-left-participant":c,"data-frame-padding-left":L.left,"data-frame-padding-right":L.right,className:"group fragment fragment-tcf tcf border-skin-fragment rounded",style:l,children:[((S=t.commentObj)==null?void 0:S.text)&&M.jsx(X4,{comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t relative",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"name font-semibold p-1 border-b",children:M.jsxs("label",{className:"p-0 flex items-center gap-0.5",children:[M.jsx(k3,{name:"try-catch-fragment"}),M.jsx(b5,{label:"Try",collapsed:e,onClick:n,style:(N=t.commentObj)==null?void 0:N.messageStyle,className:H2((I=t.commentObj)==null?void 0:I.messageClassNames)})]})})]}),M.jsxs("div",{className:e?"hidden":"",children:[M.jsx("div",{className:"segment",children:g&&M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:g,number:`${t.number}.1`,incremental:!0})}),f.catchBlock().map((O,B)=>M.jsxs("div",{className:"segment border-t border-solid mt-2",children:[M.jsxs("div",{className:"header inline-block bg-skin-frame opacity-65",children:[M.jsx("label",{className:"keyword catch p-1",children:"catch"}),M.jsx("label",{className:"exception p-1",children:C(O)})]},B+1e3),M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:d(O),number:`${t.number}.${m[B]+1}`,incremental:!0},B+2e3)]},B+500)),p&&M.jsxs("div",{className:"segment border-t border-solid mt-2",children:[M.jsx("div",{className:"header flex text-skin-fragment finally",children:M.jsx("label",{className:"keyword finally bg-skin-frame opacity-65 px-1 inline-block",children:"finally"})}),M.jsx(z4,{origin:c,style:{paddingLeft:`${s}px`},context:p,number:`${t.number}.${m[m.length-1]+1}`,incremental:!0})]})]})]})})},Tt=({text:t,position:e,normalizeText:n,className:s,title:l="Double-click to edit"})=>{const L=X2(y9),[c,C]=r9(p5),d=X2(N6),f=L!==G4.Static,g=WL(t??""),p=m=>{if(m===""||m===t)return;const v=(n==null?void 0:n(m))??m,[b,A]=e;if(b===-1||A===-1){console.warn("labelPosition is not set");return}const k=c.slice(0,b)+v+c.slice(A+1);C(k),d(k)};return M.jsx(Ho,{text:g,isEditable:f,className:H2(s),onSave:p,title:l})},R8=t=>M.jsx(Tt,{text:t.labelText,position:t.labelPosition,normalizeText:t.normalizeText,className:H2("px-1 right",t.className)}),jA=t=>{var d,f,g;const{paddingLeft:e,fragmentStyle:n,border:s,leftParticipant:l}=I0(t.context,t.origin),L=t.context.ref().Content(),c=L==null?void 0:L.getFormattedText(),C=[L==null?void 0:L.start.start,L==null?void 0:L.stop.stop];return M.jsx("div",{className:t.className,children:M.jsxs("div",{"data-origin":l,"data-left-participant":l,"data-frame-padding-left":s.left,"data-frame-padding-right":s.right,className:"group fragment fragment-ref bg-skin-frame border-skin-fragment relative rounded min-w-[140px] w-max py-4 px-2 flex justify-center items-center flex-col",style:{...n,paddingLeft:`${e}px`},children:[M.jsxs("div",{className:"header bg-skin-fragment-header text-skin-fragment-header leading-4 rounded-t absolute top-0 left-0",children:[M.jsx(u9,{number:t.number}),((d=t.commentObj)==null?void 0:d.text)&&M.jsx(X4,{className:"absolute -top-4 left-0",comment:t.comment,commentObj:t.commentObj}),M.jsxs("div",{className:"text-skin-fragment relative w-9 h-8 -top-[1px] -left-[1px]",children:[M.jsx("div",{className:"polygon-border absolute inset-0"}),M.jsx("div",{className:"polygon-content bg-skin-frame text-skin-fragment-header absolute inset-[1px] flex flex-col items-center justify-center",children:M.jsx("span",{className:`flex items-center justify-center font-semibold ${((f=t.commentObj)==null?void 0:f.messageClassNames)||""}`,style:(g=t.commentObj)==null?void 0:g.messageStyle,children:"Ref"})})]})]}),M.jsx(R8,{className:"text-skin-title mt-3 mb-2",labelText:c,labelPosition:C,normalizeText:_8})]})})},$A="M1 1.25 L6.15 4.5 L1 7.75 Z",VA="M1 1.25 L6.15 4.5 L1 7.75",GA="M6 1.25 L0.85 4.5 L6 7.75 Z",qA="M6 1.25 L0.85 4.5 L6 7.75",YA=({type:t="",textStyle:e,className:n,style:s,number:l,rtl:L,onClick:c,messageRef:C,children:d})=>{const f=t==="creation"||t==="return",g=t==="sync",p=L?g?GA:qA:g?$A:VA;return M.jsxs("div",{className:H2("message leading-none border-b-2 border-transparent flex items-end relative",n),style:s,onClick:c,ref:C,children:[M.jsx("svg",{className:"absolute left-0 w-full text-skin-message-arrow pointer-events-none",height:"2",preserveAspectRatio:"none",style:{overflow:"visible",bottom:"-2px"},children:M.jsx("line",{x1:L?"100%":"0",y1:"1",x2:L?"0":"100%",y2:"1",stroke:"currentColor",strokeWidth:"2",strokeDasharray:f?"6,4":void 0,shapeRendering:"crispEdges"})}),M.jsx("svg",{className:H2("absolute text-skin-message-arrow pointer-events-none",L?"left-0":"right-0"),width:"7",height:"10",viewBox:"0 0 7 9",style:{overflow:"visible",bottom:"-6px"},children:M.jsx("path",{d:p,stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",fill:g?"currentColor":"none"})}),M.jsx("div",{className:"name group text-center flex-grow relative",style:{[L?"paddingLeft":"paddingRight"]:"7px"},children:M.jsx("div",{className:"inline-block static min-h-[1em]",children:M.jsx("div",{style:e,children:d})})}),M.jsx(u9,{number:l})]})},i7=t=>{const{context:e,rtl:n,type:s="",textStyle:l,className:L,style:c,number:C,children:d}=t,f=X2(y9),g=X2(Ge),p=y.useRef(null),m=f!==G4.Static,v=()=>{!m||!p.current||g(e,p.current)};return M.jsx(YA,{type:s,textStyle:l,className:H2({"cursor-pointer":m},L),style:c,number:C,rtl:n,onClick:v,messageRef:p,children:d})},XA=t=>M.jsxs("div",{className:"occurrence-collapsible-header w-auto",children:[M.jsxs("svg",{width:"20px",height:"20px",className:H2("collapse-button cursor-pointer",{hidden:t.collapsed,expanded:!t.collapsed}),onClick:t.onClick,viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"miter",children:[M.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),M.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsxs("g",{id:"SVGRepo_iconCarrier",children:[M.jsx("line",{x1:"13",y1:"2",x2:"13",y2:"10"}),M.jsx("polyline",{points:"9 7 13 11 17 7"}),M.jsx("line",{x1:"13",y1:"23",x2:"13",y2:"15"}),M.jsx("polyline",{points:"9 19 13 15 17 19"})]})]}),M.jsxs("svg",{width:"20px",height:"20px",className:H2("cursor-pointer",{hidden:!t.collapsed}),onClick:t.onClick,viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"miter",children:[M.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),M.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),M.jsxs("g",{id:"SVGRepo_iconCarrier",children:[M.jsx("line",{x1:"13",y1:"1",x2:"13",y2:"9"}),M.jsx("polyline",{points:"9 5 13 1 17 5"}),M.jsx("line",{x1:"13",y1:"13",x2:"13",y2:"13"}),M.jsx("line",{x1:"13",y1:"24",x2:"13",y2:"17"}),M.jsx("polyline",{points:"9 20 13 24 17 20"})]})]})]}),QA=({assignee:t,type:e,assigneePosition:n,typePosition:s,normalizeText:l,className:L})=>M.jsxs("span",{className:H2("assignment-return-label",L),children:[M.jsx(Tt,{text:t,position:n,normalizeText:l,className:"right",title:"Double-click to edit assignee"}),e&&M.jsxs(M.Fragment,{children:[M.jsx("span",{className:"text-skin-message",children:":"}),M.jsx(Tt,{text:e,position:s,className:"right",title:"Double-click to edit type"})]})]}),kd=t=>{var g,p;const e=X2(q4),[n,s]=y.useState(!1),l=localStorage.getItem("zenumlDebug"),L=()=>{try{return C9(e,t.participant)}catch(m){return console.error(m),0}},c=()=>{var A;const m=t.context.braceBlock();if(!m)return!1;const v=((A=m.block())==null?void 0:A.stat())||[],b=v.length;return b>1?!0:b===1&&v[0].ret()==null},C=()=>{s(!n),J6.emit("participant_set_top")};y.useEffect(()=>{s(!1)},[t.context]);const d=y.useMemo(()=>{var b;if(typeof((b=t.context)==null?void 0:b.Assignment)!="function")return null;const m=t.context.Assignment();return!m||!(m.assignee||"")?null:{assignee:m.assignee,type:m.type,assigneePosition:m.assigneePosition,typePosition:m.typePosition}},[t.context]),f=t.number?`${t.number}.${((p=(g=t.context)==null?void 0:g.Statements())==null?void 0:p.length)+1}`:void 0;return M.jsxs("div",{className:H2("occurrence min-h-6 shadow-occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full w-[15px] mt-[-2px] pl-[6px]",{"right-to-left left-[-14px]":t.rtl},t.className),"data-el-type":"occurrence","data-belongs-to":t.participant,"data-x-offset":0,"data-debug-center-of":L(),children:[l&&M.jsxs(M.Fragment,{children:[M.jsx("div",{className:"absolute w-full left-0 bg-amber-700 h-3 -top-1 flex justify-center items-center",children:M.jsx("div",{className:"w-px h-full bg-black"})}),M.jsx("div",{className:"absolute w-full left-0 bg-amber-700 h-3 -bottom-1 flex justify-center items-center",children:M.jsx("div",{className:"w-px h-full bg-black"})})]}),c()&&M.jsx(XA,{collapsed:n,onClick:C}),t.context.braceBlock()&&M.jsx(z4,{origin:t.participant,context:t.context.braceBlock().block(),number:t.number,collapsed:n}),d&&!t.isSelf&&M.jsx("div",{className:H2("statement-container my-4"),children:M.jsx("div",{className:H2("interaction return relative right-to-left text-left text-sm text-skin-message"),children:M.jsx(i7,{className:H2("return transform -translate-y-full pointer-events-auto",t.messageClassNames),context:t.context,rtl:!t.rtl,type:"return",number:f,textStyle:t.textStyle,style:t.interactionWidth!==void 0?{width:`${t.interactionWidth}px`,transform:t.rtl?"translateX(7px)":"translateX(calc(-100% - 7px))"}:void 0,children:M.jsx(QA,{assignee:d.assignee,type:d.type,assigneePosition:d.assigneePosition,typePosition:d.typePosition,normalizeText:_8})})})})]})};class s7{constructor(e,n,s,l){d2(this,"start");d2(this,"stop");this.start={line:e,col:n},this.stop={line:s,col:l}}static from(e){const n=e.start,s=e.stop;return new s7(n.line,n.column,s.line,s.column+s.text.length)}}const KA=(t,e)=>{var n,s;return e===E1&&t instanceof _.MessageContext&&((n=t.Owner)==null?void 0:n.call(t))===void 0&&((s=t.From)==null?void 0:s.call(t))===void 0},Yo=(t,e)=>t==null?void 0:t.getAncestors(n=>{var l;return(L=>{const c=L instanceof _.MessageContext,C=L instanceof _.CreationContext;return c||C})(n)?((l=n.Owner)==null?void 0:l.call(n))===e||KA(n,e):!1}).length,JA=(t,e)=>{var s;if(!(t instanceof _.StatContext))return 0;const n=(s=t==null?void 0:t.children)==null?void 0:s[0];return n?Yo(n,e):0},Et=({context:t,origin:e,source:n,target:s})=>{const l=X2(q4),L=n===s,c=Yo(t,e),C=Yo(t,n),d=JA(t,s),f=new n7(C9(l,e),c),g=new n7(C9(l,n),C),p=new n7(C9(l,s),d),m=Math.abs(g.edgeOffset(p)),v=dA(l,n,s)<0,b=f.centerToEdge(v?p:g);return{isSelf:L,originLayers:c,sourceLayers:C,targetLayers:d,anchor2Origin:f,anchor2Source:g,anchor2Target:p,interactionWidth:m,rightToLeft:v,translateX:b}},eS=({labelText:t,labelPosition:e,normalizeText:n,className:s})=>X2(y9)!==G4.Static?t?M.jsxs(M.Fragment,{children:[M.jsx("span",{children:"«"}),M.jsx(Tt,{text:t,position:e,normalizeText:n,className:H2("right",s)}),M.jsx("span",{children:"»"})]}):M.jsx(M.Fragment,{children:"«create»"}):M.jsx(M.Fragment,{children:`«${t||"create"}»`}),tS=t=>{var N,I,O,B;const e=y.useRef(null),n=X2(Ws),s=X2($s),[l,L]=y.useState(0),c=(N=t.context)==null?void 0:N.creation(),C=c==null?void 0:c.Owner(),d=c==null?void 0:c.isCurrent(n),f=(I=c==null?void 0:c.creationBody())==null?void 0:I.parameters(),[g,p]=[f==null?void 0:f.start.start,f==null?void 0:f.stop.stop],{translateX:m,interactionWidth:v,rightToLeft:b}=Et({context:t.context,origin:t.origin,source:t.origin,target:c==null?void 0:c.Owner()}),A=(O=t.commentObj)==null?void 0:O.messageStyle,k=(B=t.commentObj)==null?void 0:B.messageClassNames,S=l/2-$1-b6;return y.useEffect(()=>{const P=document.querySelector(`[data-participant-id="${C}"]`);if(!P){console.warn(`Could not find participant element for ${C}`),L(0);return}L(P.getBoundingClientRect().width),a3.debug(`Found participant element for ${C}, width: ${l}px`),J6.emit("participant_set_top"),a3.debug(`Init or update message container for ${C}`)},[C,l]),M.jsxs("div",{"data-origin":t.origin,className:H2("interaction creation sync",{"right-to-left":b,highlight:d},t.className),onClick:()=>s(s7.from(t.context)),"data-signature":c==null?void 0:c.SignatureText(),style:{transform:"translateX("+m+"px)",width:v+"px"},children:[t.comment&&M.jsx(X4,{commentObj:t.commentObj}),M.jsx("div",{ref:e,"data-type":"creation",className:H2("message-container pointer-events-none flex items-center h-10 relative",{"flex-row-reverse":b}),"data-to":C,children:M.jsx(i7,{className:H2("invocation transform -translate-y-[calc(50%-1px)] pointer-events-auto",k),context:c,rtl:b,type:"creation",number:t.number,textStyle:A,style:{width:`calc(100% - ${S}px)`},children:M.jsx(eS,{labelText:c==null?void 0:c.ParametersText(),labelPosition:[g,p],normalizeText:_8})})}),M.jsx(kd,{context:c,className:"pointer-events-auto",participant:C,number:t.number,textStyle:A,messageClassNames:k,rtl:b,interactionWidth:v})]})},Zd=t=>{const{fill:e,rtl:n}=t;return M.jsx("svg",{className:"stroke-2",height:"10",width:"7",viewBox:"0 0 7 9",children:M.jsx("g",{transform:n?"scale(-1, 1) translate(-7, 0)":void 0,children:M.jsx("path",{d:e?"M1 1.25 L6.15 4.5 L1 7.75 Z":"M1 1.25 L6.15 4.5 L1 7.75",stroke:"currentColor",strokeLinecap:"round",fill:e?"currentColor":"none"})})})},nS=t=>{var c,C,d;const e=y.useRef(null),n=X2(Ge),s=((C=(c=t.context)==null?void 0:c.Assignment())==null?void 0:C.getText())||"",l=y.useMemo(()=>{var g;const f=(g=t.context)==null?void 0:g.messageBody().func();return f?[f.start.start,f.stop.stop]:[-1,-1]},[t.context]),L=()=>{n(t.context,e.current)};return M.jsxs("div",{ref:e,className:"self-invocation message leading-none self flex items-start flex-col border-none",onClick:L,children:[M.jsxs("label",{className:"name text-left group px-px relative min-h-[1em] w-full",children:[M.jsx(u9,{number:t.number}),M.jsxs("div",{className:"label",style:t.textStyle,children:[s&&M.jsxs("span",{children:[M.jsx("span",{className:"assignee px-1",children:s}),M.jsx("span",{children:"="})]}),M.jsx(R8,{className:t.classNames,labelText:(d=t.context)==null?void 0:d.SignatureText(),labelPosition:l,normalizeText:_8})]})]}),M.jsxs("svg",{className:"arrow text-skin-message-arrow",width:"30",height:"24",children:[M.jsx("path",{className:"stroke-current stroke-2 fill-none",d:"M0,2 L26,2 Q28,2 28,4 L28,13 Q28,15 26,15 L14,15"}),M.jsx("g",{transform:"translate(7, 10)",children:M.jsx(Zd,{fill:!0,rtl:!0})})]})]})},iS=t=>{var I,O,B,P,Y,n2,o2;const e=X2(Ws),n=(I=t.commentObj)==null?void 0:I.messageStyle,s=(O=t.commentObj)==null?void 0:O.messageClassNames,l=(B=t.context)==null?void 0:B.message(),L=l==null?void 0:l.SignatureText(),c=l==null?void 0:l.isCurrent(e),C=(l==null?void 0:l.From())||E1,d=((Y=(P=t.context)==null?void 0:P.message())==null?void 0:Y.Owner())||E1,f=C===d,g=(n2=l==null?void 0:l.messageBody().func())==null?void 0:n2.signature()[0],[p,m]=[g==null?void 0:g.start.start,g==null?void 0:g.stop.stop],{translateX:v,interactionWidth:b,originLayers:A,sourceLayers:k,targetLayers:S,rightToLeft:N}=Et({context:t.context,origin:t.origin,source:C,target:d});return M.jsxs("div",{className:H2("interaction sync inline-block",{highlight:c,self:f,"right-to-left":N},t.className),onClick:f2=>f2.stopPropagation(),"data-to":d,"data-origin":t.origin,"data-source":C,"data-target":d,"data-origin-layers":A,"data-source-layers":k,"data-target-layers":S,"data-type":"interaction","data-signature":L,style:{width:f?void 0:b+"px",transform:"translateX("+v+"px)"},children:[((o2=t.commentObj)==null?void 0:o2.text)&&M.jsx(X4,{commentObj:t.commentObj}),f?M.jsx(nS,{classNames:s,textStyle:n,context:l,number:t.number}):M.jsx(i7,{className:H2(s),textStyle:n,context:l,rtl:N,number:t.number,type:"sync",children:M.jsx(R8,{labelText:L,labelPosition:[p,m],normalizeText:_8})}),M.jsx(kd,{context:l,participant:d,rtl:N,number:t.number,textStyle:n,messageClassNames:s,isSelf:f,interactionWidth:f?void 0:b})]})},sS=t=>{var c;const e=(c=t.context)==null?void 0:c.content(),n=()=>e?[e.start.start,e.stop.stop]:[-1,-1],s=y.useRef(null),l=X2(Ge),L=()=>{l(t.context,s.current)};return M.jsxs("div",{ref:s,className:"message self flex items-start flex-col !border-none",onClick:L,children:[M.jsxs("label",{className:"name group px-px min-h-[1em]",children:[M.jsx(u9,{number:t.number}),M.jsx("div",{className:"label",style:t.textStyle,children:M.jsx(R8,{className:t.classNames,labelText:e==null?void 0:e.getFormattedText(),labelPosition:n(),normalizeText:Md})})]}),M.jsxs("svg",{className:"arrow text-skin-message-arrow",width:"30",height:"24",children:[M.jsx("path",{className:"stroke-current stroke-2 fill-none",d:"M0,2 L26,2 Q28,2 28,4 L28,13 Q28,15 26,15 L1,15"}),M.jsx("g",{transform:"translate(0, 10)",children:M.jsx(Zd,{fill:!1,rtl:!0})})]})]})};function Xo(t){return t==null}const oS=t=>{var N,I,O,B,P;const e=X2(Ws),n=X2($s),s=(N=t.context)==null?void 0:N.asyncMessage(),l=(I=s==null?void 0:s.content())==null?void 0:I.getFormattedText(),c=(s==null?void 0:s.ProvidedFrom())||t.origin,C=(O=s==null?void 0:s.to())==null?void 0:O.getFormattedText(),d=c===C,f=s==null?void 0:s.content(),[g,p]=[f==null?void 0:f.start.start,f==null?void 0:f.stop.stop],{translateX:m,interactionWidth:v,rightToLeft:b}=Et({context:t.context,origin:t.origin,source:c,target:C}),A=(B=t.commentObj)==null?void 0:B.messageClassNames,k=(P=t.commentObj)==null?void 0:P.messageStyle,S=()=>{const Y=s.start.start,n2=s.stop.stop+1;return Xo(e)||Xo(Y)||Xo(n2)?!1:e>=Y&&e<=n2};return M.jsxs("div",{"data-origin":origin,"data-to":C,"data-source":c,"data-target":C,className:H2("interaction async",{"left-to-right":!b,"right-to-left":b,highlight:S(),"self-invocation":d},t.className),onClick:()=>n(s7.from(t.context)),"data-signature":l,style:{width:v+"px",transform:"translateX("+m+"px)"},children:[t.comment&&M.jsx(X4,{commentObj:t.commentObj}),d?M.jsx(sS,{classNames:H2(A),textStyle:k,context:s,number:t.number}):M.jsx(i7,{className:H2(A),textStyle:k,context:s,rtl:b,type:"async",number:t.number,children:M.jsx(R8,{labelText:l,labelPosition:[g,p],normalizeText:Md})})]})},lS=t=>{X2($e);const e=X2(q4),n=y.useMemo(()=>e.getWidth(),[e]),s=C9(e,t.origin),l=t.context.divider().Note(),L=y.useMemo(()=>{if(l.trim().indexOf("[")===0&&l.indexOf("]")!==-1){const d=l.indexOf("["),f=l.indexOf("]"),[g,p]=[l.slice(d+1,f),l.slice(f+1)];return{style:I6(g.split(",").map(m=>m.trim())),note:p}}return{style:I6([]),note:l}},[l]),c=L.note.replace(/^=+\s*|\s*=+$/g,"").trim(),C=y.useCallback(d=>{if(!d)return;const f=d.parentElement,g=f==null?void 0:f.parentElement;if(!g)return;const p=parseFloat(getComputedStyle(g).paddingLeft)||0;d.style.transform=`translateX(-${p}px)`},[]);return M.jsxs("div",{ref:C,className:H2("divider",t.className),"data-origin":t.origin,style:{width:n+"px",transform:"translateX("+-1*s+"px)",display:"flex",alignItems:"center",height:40,gap:0},children:[M.jsx("div",{className:"left",style:{flex:1,height:1,backgroundColor:"#aaaa33"}}),M.jsx("div",{style:{...L.style.textStyle,backgroundColor:"#fff5ad",border:"1px solid #aaaa33",borderRadius:2,boxSizing:"border-box",height:28,padding:"0 8px",fontSize:14,lineHeight:"26px",color:"#333",whiteSpace:"nowrap"},className:H2("name",L.style.classNames),children:c}),M.jsx("div",{className:"right",style:{flex:1,height:1,backgroundColor:"#aaaa33"}})]})},rS=t=>{var A,k,S;const e=X2($s),n=(A=t.context)==null?void 0:A.ret(),s=(n==null?void 0:n.asyncMessage())||(n==null?void 0:n.returnAsyncMessage()),l=n==null?void 0:n.Signature(),L=(n==null?void 0:n.From())||E1,c=(n==null?void 0:n.ReturnTo())||E1,C=(s==null?void 0:s.content())||(n==null?void 0:n.expr());let d=-1,f=-1;if(C instanceof _.AtomExprContext){const N=C.atom();[d,f]=[N==null?void 0:N.start.start,N==null?void 0:N.stop.stop]}else C instanceof _.ContentContext&&([d,f]=[C.start.start,C.stop.stop]);const{translateX:g,interactionWidth:p,rightToLeft:m,isSelf:v}=Et({context:t.context,origin:t.origin,source:L,target:c}),b=N=>{N.stopPropagation(),e(s7.from(t.context))};return M.jsxs("div",{onClick:b,"data-type":"return","data-signature":l,"data-origin":origin,"data-to":c,"data-source":L,"data-target":c,className:H2("interaction return relative",{"right-to-left":m,highlight:!1},t.className),style:{width:p+"px",transform:"translateX("+g+"px)"},children:[t.comment&&M.jsx(X4,{commentObj:t.commentObj}),v&&M.jsxs("div",{className:"flex items-center",children:[M.jsxs("svg",{className:"w-3 h-3 flex-shrink-0 fill-current m-1",viewBox:"0 0 512 512",children:[M.jsx("path",{className:"cls-1",d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}),M.jsx("path",{className:"cls-1",d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"})]}),M.jsx("span",{className:"name",children:l})]}),!v&&M.jsx(i7,{className:H2((k=t.commentObj)==null?void 0:k.messageClassNames),textStyle:(S=t.commentObj)==null?void 0:S.messageStyle,context:C,rtl:m,type:"return",number:t.number,children:M.jsx(R8,{labelText:l,labelPosition:[d,f],normalizeText:_8})})]})},aS=t=>{const e=t.context.getComment()||"",n=new Us(e),s={className:H2("text-left text-sm text-skin-message",{hidden:t.collapsed&&!t.context.ret()}),context:t.context,origin:t.origin,comment:e,commentObj:n,number:t.number};switch(!0){case!!t.context.loop():return M.jsx(OA,{...s});case!!t.context.alt():return M.jsx(DA,{...s});case!!t.context.par():return M.jsx(FA,{...s});case!!t.context.opt():return M.jsx(BA,{...s});case!!t.context.section():return M.jsx(HA,{...s});case!!t.context.critical():return M.jsx(PA,{...s});case!!t.context.tcf():return M.jsx(WA,{...s});case!!t.context.ref():return M.jsx(jA,{...s});case!!t.context.creation():return M.jsx(tS,{...s});case!!t.context.message():return M.jsx(iS,{...s});case!!t.context.asyncMessage():return M.jsx(oS,{...s});case!!t.context.divider():return M.jsx(lS,{...s});case!!t.context.ret():return M.jsx(rS,{...s,className:"text-left text-sm text-skin-message"})}},z4=t=>{var s;const e=((s=t.context)==null?void 0:s.stat())||[],n=l=>t.number?t.incremental?gA(t.number,l):`${t.number}.${l+1}`:String(l+1);return M.jsx("div",{className:H2("block",t.className),style:t.style,"data-origin":t.origin,children:e.map((l,L)=>M.jsx("div",{className:H2("statement-container my-4 flex flex-col"),"data-origin":t.origin,"data-statement-key":A6(l),children:M.jsx(aS,{origin:t.origin||"",context:l,collapsed:!!t.collapsed,number:n(L)})},L))})};var LS=typeof document<"u",cS=function(){},Qo=LS?y.useLayoutEffect:cS;const CS={...le}.useInsertionEffect||(t=>t());function uS(t){const e=y.useRef(()=>{});return CS(()=>{e.current=t}),y.useCallback(function(){for(var n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];return e.current==null?void 0:e.current(...s)},[])}const dS={...le};let Td=!1,hS=0;const Ed=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+hS++;function fS(){const[t,e]=y.useState(()=>Td?Ed():void 0);return Qo(()=>{t==null&&e(Ed())},[]),y.useEffect(()=>{Td=!0},[]),t}const gS=dS.useId||fS;function pS(){const t=new Map;return{emit(e,n){var s;(s=t.get(e))==null||s.forEach(l=>l(n))},on(e,n){t.has(e)||t.set(e,new Set),t.get(e).add(n)},off(e,n){var s;(s=t.get(e))==null||s.delete(n)}}}const mS=y.createContext(null),xS=y.createContext(null),wS=()=>{var t;return((t=y.useContext(mS))==null?void 0:t.id)||null},vS=()=>y.useContext(xS);function MS(t){const{open:e=!1,onOpenChange:n,elements:s}=t,l=gS(),L=y.useRef({}),[c]=y.useState(()=>pS()),C=wS()!=null,[d,f]=y.useState(s.reference),g=uS((v,b,A)=>{L.current.openEvent=v?b:void 0,c.emit("openchange",{open:v,event:b,reason:A,nested:C}),n==null||n(v,b,A)}),p=y.useMemo(()=>({setPositionReference:f}),[]),m=y.useMemo(()=>({reference:d||s.reference||null,floating:s.floating||null,domReference:s.reference}),[d,s.reference,s.floating]);return y.useMemo(()=>({dataRef:L,open:e,onOpenChange:g,elements:m,events:c,floatingId:l,refs:p}),[e,g,m,c,l,p])}function _S(t){t===void 0&&(t={});const{nodeId:e}=t,n=MS({...t,elements:{reference:null,floating:null,...t.elements}}),s=t.rootContext||n,l=s.elements,[L,c]=y.useState(null),[C,d]=y.useState(null),g=(l==null?void 0:l.domReference)||L,p=y.useRef(null),m=vS();Qo(()=>{g&&(p.current=g)},[g]);const v=WR({...t,elements:{...l,...C&&{reference:C}}}),b=y.useCallback(I=>{const O=L4(I)?{getBoundingClientRect:()=>I.getBoundingClientRect(),getClientRects:()=>I.getClientRects(),contextElement:I}:I;d(O),v.refs.setReference(O)},[v.refs]),A=y.useCallback(I=>{(L4(I)||I===null)&&(p.current=I,c(I)),(L4(v.refs.reference.current)||v.refs.reference.current===null||I!==null&&!L4(I))&&v.refs.setReference(I)},[v.refs]),k=y.useMemo(()=>({...v.refs,setReference:A,setPositionReference:b,domReference:p}),[v.refs,A,b]),S=y.useMemo(()=>({...v.elements,domReference:g}),[v.elements,g]),N=y.useMemo(()=>({...v,...s,refs:k,elements:S,nodeId:e}),[v,k,S,e,s]);return Qo(()=>{s.dataRef.current.floatingContext=N;const I=m==null?void 0:m.nodesRef.current.find(O=>O.id===e);I&&(I.context=N)}),y.useMemo(()=>({...v,context:N,refs:k,elements:S}),[v,k,S,N])}function yS(t){const e=y.useRef(t);return y.useEffect(()=>{e.current=t},[t]),e}function RS(t,e,n){const s=yS(e);y.useEffect(()=>{function l(L){s.current(L)}return document.addEventListener(t,l,n),()=>document.removeEventListener(t,l,n)},[t,n,s])}const bS=(t,e)=>{RS("click",n=>{t&&(t.contains(n.target)||e(n))},{capture:!0})},AS=[{name:"bold",content:"B",class:"font-bold"},{name:"italic",content:"I",class:"italic"},{name:"underline",content:"U",class:"underline"},{name:"strikethrough",content:"S",class:"line-through"}],SS=()=>{const[t,e]=r9(p5),n=X2(N6),s=Q5(Ge),[l,L]=y.useState(!1),[c,C]=y.useState([]),[d,f]=y.useState(""),g=A=>{e(A),n(A)},p=y.useRef({start:0,lineHead:0,prevLine:"",leadingSpaces:"",prevLineIsComment:!1,hasStyleBrackets:!1}),{refs:m,floatingStyles:v}=_S({open:l,onOpenChange:L}),b=A=>{var S;if(L(!1),!d)return;const k=p.current;if(k.prevLineIsComment){let N="";if(k.hasStyleBrackets){let I;c.includes(A)?I=c.filter(O=>O!==A):I=[...c,A],N=`${k.leadingSpaces}// [${I.filter(Boolean).join(", ")}] ${k.prevLine.slice(k.prevLine.indexOf("]")+1).trimStart()}`}else N=`${k.leadingSpaces}// [${A}] ${k.prevLine.slice((((S=k.prevLine.match(/\/\/*/))==null?void 0:S.index)||-2)+2).trimStart()}`;N.endsWith(`
227
227
  `)||(N+=`
228
228
  `),g(t.slice(0,jL(t,k.start))+N+t.slice(k.lineHead))}else g(t.slice(0,k.lineHead)+`${k.leadingSpaces}// [${A}]
229
- `+t.slice(k.lineHead))};return bS(m.floating.current,()=>{L(!1)}),y.useEffect(()=>{s((A,k)=>{setTimeout(()=>{var N;const S=p.current;if(S.start=A.start.start,S.lineHead=Rs(t,S.start),S.prevLine=Px(t,S.start),S.leadingSpaces=((N=t.slice(S.lineHead).match(/^\s*/))==null?void 0:N[0])||"",S.prevLineIsComment=S.prevLine.trim().startsWith("//"),S.prevLineIsComment){const I=S.prevLine.trimStart().slice(2).trimStart(),O=I.indexOf("["),B=I.indexOf("]");S.hasStyleBrackets=!!(O===0&&B),S.hasStyleBrackets?C(I.slice(O+1,B).split(",").map(P=>P.trim())):C([])}m.setReference(k),f(A),L(!0)},0)})},[t,m,s]),M.jsx("div",{id:"style-panel",ref:m.setFloating,style:v,children:l&&M.jsx("div",{className:"flex bg-white shadow-md z-10 rounded-md p-1",children:AS.map(A=>M.jsx("div",{onClick:()=>b(A.class),children:M.jsx("div",{className:H2("w-6 mx-1 py-1 rounded-md text-black text-center cursor-pointer hover:bg-gray-200",[A.class,{"bg-gray-100":c.includes(A.class)}]),children:A.content})},A.name))})})},Id=a3.child({name:"MessageLayer"}),zd=t=>{const e=X2(m5),n=X2(q4),s=y.useMemo(()=>{const C=h5(e);return C.length===0?E1:C[0].from||E1},[e]),l=C9(n,s)+1,[L,c]=y.useState(!1);return L&&Id.debug("MessageLayer updated"),y.useEffect(()=>{c(!0),Id.debug("MessageLayer mounted")},[]),M.jsxs("div",{className:"message-layer relative z-30 pt-14 pb-10",style:t.style,children:[M.jsx(z4,{context:t.context,style:{paddingLeft:`${l}px`},origin:s}),M.jsx(SS,{})]})},Nd=t=>{const e=X2(c8),n=X2(y9),s=X2(m5),l=X2(q4),L=Q5(js),c=y.useRef(null);y.useEffect(()=>{L(c.current)}),y.useImperativeHandle(t.ref,()=>c.current);const C=y.useMemo(()=>{const f=l.orderedParticipantNames(),p=new v8(f).getFrame(s);return p?M8(p).left:0},[l,s]),d=y.useMemo(()=>xd(s,l)-C,[s,l,C]);return M.jsx("div",{className:H2("zenuml sequence-diagram relative box-border text-left overflow-visible px-2.5",e,t.className),style:t.style,ref:c,children:M.jsx("div",{style:{paddingLeft:`${C}px`},className:"relative z-container",children:n===G4.Dynamic?M.jsxs(M.Fragment,{children:[M.jsx(Po,{leftGap:C,context:s==null?void 0:s.head(),renderLifeLine:!0}),M.jsx(zd,{context:s==null?void 0:s.block(),style:{width:`${d}px`}}),M.jsx(Po,{leftGap:C,context:s==null?void 0:s.head(),renderParticipants:!0})]}):M.jsxs(M.Fragment,{children:[M.jsx(Po,{leftGap:C,context:s==null?void 0:s.head(),renderParticipants:!0,renderLifeLine:!0}),M.jsx(zd,{context:s==null?void 0:s.block(),style:{width:`${d}px`}})]})})})},It={backgroundColor:"white",filter:t=>{var e;return!((e=t==null?void 0:t.classList)!=null&&e.contains("hide-export"))}},kS=({ref:t,children:e})=>{const n=y.useRef(null),s=y.useRef(null),l=X2(m5),[L,c]=r9(Bc),[C,d]=r9(Fc),[f,g]=r9(c8),[p,m]=r9(Uc),v=X2(Dc),b=X2(y9),A=l==null?void 0:l.title(),k=()=>{c(!0)},S=async()=>{if(n.current)return rC(n.current,It)},N=async()=>{if(n.current)return Qs(n.current,It)},I=async()=>{if(n.current)return hM(n.current,It)},O=async()=>{if(n.current)return dM(n.current,It)},B=()=>{const l2=Math.min(1,C+.1);d(l2)},P=()=>{d(C-.1)},Y=l2=>{const f2="zenuml-style",c2=document.createElement("style");c2.id=f2,document.head.append(c2),c2.textContent=l2},n2=l2=>{const f2=new URL(l2).hostname;if(f2==="https://github.com"||f2==="https://githubusercontent.com"){fetch(l2.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then(b2=>b2.text()).then(b2=>{Y(b2)});return}const c2="zenuml-remote-css",h2=document.createElement("link");h2.id=c2,h2.rel="stylesheet",document.head.append(h2),h2.href=l2};return y.useImperativeHandle(t,()=>({toPng:S,toSvg:N,toBlob:I,toJpeg:O,zoomIn:B,zoomOut:P,setTheme:g,setRemoteCss:n2})),M.jsxs("div",{ref:n,className:H2("p-1 bg-skin-canvas inline-block",f),children:[M.jsx(s_,{}),M.jsxs("div",{className:"frame text-skin-base bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded",children:[M.jsxs("div",{ref:s,children:[M.jsxs("div",{className:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t",children:[M.jsx("div",{className:"left hide-export",children:e}),M.jsxs("div",{className:"right flex-grow flex justify-between",children:[M.jsx(l_,{context:A}),M.jsx(o_,{className:"hide-export flex items-center"})]})]}),L&&M.jsx("div",{className:"fixed z-40 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:M.jsx(g_,{})}),M.jsx(Nd,{className:"origin-top-left",style:{transform:`scale(${C})`}})]}),M.jsx("div",{className:"footer rounded text-skin-control bg-skin-title px-4 py-1 flex justify-between items-center gap-3",children:b===G4.Dynamic&&M.jsxs(M.Fragment,{children:[M.jsxs("div",{className:"flex items-center gap-3 color-base",children:[M.jsx("button",{className:"bottom-1 flex items-center left-1 hide-export",onClick:k,children:M.jsx(k3,{name:"tip",className:"filter grayscale w-4 h-4"})}),v&&M.jsx(Kb,{}),M.jsxs("div",{className:"flex items-center",children:[M.jsx("input",{type:"checkbox",id:"order-display",className:"mr-1",checked:!!p,onChange:()=>m(!p)}),M.jsx("label",{htmlFor:"order-display",title:"Numbering the diagram",className:"select-none",children:M.jsx(k3,{name:"numbering",className:"w-6 h-6"})})]})]}),M.jsxs("div",{className:"zoom-controls flex hide-export gap-1",children:[M.jsx("button",{className:"zoom-in",onClick:B,children:M.jsx(k3,{name:"zoom-in",className:"w-4 h-4"})}),M.jsxs("label",{className:"w-12 block text-center",children:[Number(C*100).toFixed(0),"%"]}),M.jsx("button",{className:"zoom-out",onClick:P,children:M.jsx(k3,{name:"zoom-out",className:"w-4 h-4"})})]}),M.jsx("a",{target:"_blank",href:"https://zenuml.com",className:"brand text-xs hover:underline",children:"ZenUML.com"})]})})]})]})};class ZS extends y.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,n){console.error("[ZenUML] Rendering error:",e,n.componentStack)}render(){var e;return this.state.hasError?M.jsxs("div",{style:{padding:16,color:"#c00",fontFamily:"monospace",fontSize:13},children:[M.jsx("strong",{children:"ZenUML rendering error"}),M.jsx("pre",{style:{whiteSpace:"pre-wrap",marginTop:8},children:(e=this.state.error)==null?void 0:e.message})]}):this.props.children}}const TS="3.47.0";function ES(t){const e=Math.floor(t/1e3),n=Math.floor(t%1e3),s=Math.floor((t%1e3-n)*1e3);return e+"s "+n+"ms "+s+"μs"}const IS=(t,e)=>{const s=Od()-e;return a3.debug(t+" cost: "+ES(s)),s},Od=()=>performance.now();var Ko={exports:{}},o7={},Jo={exports:{}},el={};/**
229
+ `+t.slice(k.lineHead))};return bS(m.floating.current,()=>{L(!1)}),y.useEffect(()=>{s((A,k)=>{setTimeout(()=>{var N;const S=p.current;if(S.start=A.start.start,S.lineHead=Rs(t,S.start),S.prevLine=Px(t,S.start),S.leadingSpaces=((N=t.slice(S.lineHead).match(/^\s*/))==null?void 0:N[0])||"",S.prevLineIsComment=S.prevLine.trim().startsWith("//"),S.prevLineIsComment){const I=S.prevLine.trimStart().slice(2).trimStart(),O=I.indexOf("["),B=I.indexOf("]");S.hasStyleBrackets=!!(O===0&&B),S.hasStyleBrackets?C(I.slice(O+1,B).split(",").map(P=>P.trim())):C([])}m.setReference(k),f(A),L(!0)},0)})},[t,m,s]),M.jsx("div",{id:"style-panel",ref:m.setFloating,style:v,children:l&&M.jsx("div",{className:"flex bg-white shadow-md z-10 rounded-md p-1",children:AS.map(A=>M.jsx("div",{onClick:()=>b(A.class),children:M.jsx("div",{className:H2("w-6 mx-1 py-1 rounded-md text-black text-center cursor-pointer hover:bg-gray-200",[A.class,{"bg-gray-100":c.includes(A.class)}]),children:A.content})},A.name))})})},Id=a3.child({name:"MessageLayer"}),zd=t=>{const e=X2(m5),n=X2(q4),s=y.useMemo(()=>{const C=h5(e);return C.length===0?E1:C[0].from||E1},[e]),l=C9(n,s)+1,[L,c]=y.useState(!1);return L&&Id.debug("MessageLayer updated"),y.useEffect(()=>{c(!0),Id.debug("MessageLayer mounted")},[]),M.jsxs("div",{className:"message-layer relative z-30 pt-14 pb-10",style:t.style,children:[M.jsx(z4,{context:t.context,style:{paddingLeft:`${l}px`},origin:s}),M.jsx(SS,{})]})},Nd=t=>{const e=X2(c8),n=X2(y9),s=X2(m5),l=X2(q4),L=Q5(js),c=y.useRef(null);y.useEffect(()=>{L(c.current)}),y.useImperativeHandle(t.ref,()=>c.current);const C=y.useMemo(()=>{const f=l.orderedParticipantNames(),p=new v8(f).getFrame(s);return p?M8(p).left:0},[l,s]),d=y.useMemo(()=>xd(s,l)-C,[s,l,C]);return M.jsx("div",{className:H2("zenuml sequence-diagram relative box-border text-left overflow-visible px-2.5",e,t.className),style:t.style,ref:c,children:M.jsx("div",{style:{paddingLeft:`${C}px`},className:"relative z-container",children:n===G4.Dynamic?M.jsxs(M.Fragment,{children:[M.jsx(Po,{leftGap:C,context:s==null?void 0:s.head(),renderLifeLine:!0}),M.jsx(zd,{context:s==null?void 0:s.block(),style:{width:`${d}px`}}),M.jsx(Po,{leftGap:C,context:s==null?void 0:s.head(),renderParticipants:!0})]}):M.jsxs(M.Fragment,{children:[M.jsx(Po,{leftGap:C,context:s==null?void 0:s.head(),renderParticipants:!0,renderLifeLine:!0}),M.jsx(zd,{context:s==null?void 0:s.block(),style:{width:`${d}px`}})]})})})},It={backgroundColor:"white",filter:t=>{var e;return!((e=t==null?void 0:t.classList)!=null&&e.contains("hide-export"))}},kS=({ref:t,children:e})=>{const n=y.useRef(null),s=y.useRef(null),l=X2(m5),[L,c]=r9(Bc),[C,d]=r9(Fc),[f,g]=r9(c8),[p,m]=r9(Uc),v=X2(Dc),b=X2(y9),A=l==null?void 0:l.title(),k=()=>{c(!0)},S=async()=>{if(n.current)return rC(n.current,It)},N=async()=>{if(n.current)return Qs(n.current,It)},I=async()=>{if(n.current)return hM(n.current,It)},O=async()=>{if(n.current)return dM(n.current,It)},B=()=>{const o2=Math.min(1,C+.1);d(o2)},P=()=>{d(C-.1)},Y=o2=>{const f2="zenuml-style",c2=document.createElement("style");c2.id=f2,document.head.append(c2),c2.textContent=o2},n2=o2=>{const f2=new URL(o2).hostname;if(f2==="https://github.com"||f2==="https://githubusercontent.com"){fetch(o2.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then(b2=>b2.text()).then(b2=>{Y(b2)});return}const c2="zenuml-remote-css",h2=document.createElement("link");h2.id=c2,h2.rel="stylesheet",document.head.append(h2),h2.href=o2};return y.useImperativeHandle(t,()=>({toPng:S,toSvg:N,toBlob:I,toJpeg:O,zoomIn:B,zoomOut:P,setTheme:g,setRemoteCss:n2})),M.jsxs("div",{ref:n,className:H2("p-1 bg-skin-canvas inline-block",f),children:[M.jsx(s_,{}),M.jsxs("div",{className:"frame text-skin-base bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded",children:[M.jsxs("div",{ref:s,children:[M.jsxs("div",{className:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t",children:[M.jsx("div",{className:"left hide-export",children:e}),M.jsxs("div",{className:"right flex-grow flex justify-between",children:[M.jsx(l_,{context:A}),M.jsx(o_,{className:"hide-export flex items-center"})]})]}),L&&M.jsx("div",{className:"fixed z-40 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:M.jsx(g_,{})}),M.jsx(Nd,{className:"origin-top-left",style:{transform:`scale(${C})`}})]}),M.jsx("div",{className:"footer rounded text-skin-control bg-skin-title px-4 py-1 flex justify-between items-center gap-3",children:b===G4.Dynamic&&M.jsxs(M.Fragment,{children:[M.jsxs("div",{className:"flex items-center gap-3 color-base",children:[M.jsx("button",{className:"bottom-1 flex items-center left-1 hide-export",onClick:k,children:M.jsx(k3,{name:"tip",className:"filter grayscale w-4 h-4"})}),v&&M.jsx(Kb,{}),M.jsxs("div",{className:"flex items-center",children:[M.jsx("input",{type:"checkbox",id:"order-display",className:"mr-1",checked:!!p,onChange:()=>m(!p)}),M.jsx("label",{htmlFor:"order-display",title:"Numbering the diagram",className:"select-none",children:M.jsx(k3,{name:"numbering",className:"w-6 h-6"})})]})]}),M.jsxs("div",{className:"zoom-controls flex hide-export gap-1",children:[M.jsx("button",{className:"zoom-in",onClick:B,children:M.jsx(k3,{name:"zoom-in",className:"w-4 h-4"})}),M.jsxs("label",{className:"w-12 block text-center",children:[Number(C*100).toFixed(0),"%"]}),M.jsx("button",{className:"zoom-out",onClick:P,children:M.jsx(k3,{name:"zoom-out",className:"w-4 h-4"})})]}),M.jsx("a",{target:"_blank",href:"https://zenuml.com",className:"brand text-xs hover:underline",children:"ZenUML.com"})]})})]})]})};class ZS extends y.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,n){console.error("[ZenUML] Rendering error:",e,n.componentStack)}render(){var e;return this.state.hasError?M.jsxs("div",{style:{padding:16,color:"#c00",fontFamily:"monospace",fontSize:13},children:[M.jsx("strong",{children:"ZenUML rendering error"}),M.jsx("pre",{style:{whiteSpace:"pre-wrap",marginTop:8},children:(e=this.state.error)==null?void 0:e.message})]}):this.props.children}}const TS="3.47.1";function ES(t){const e=Math.floor(t/1e3),n=Math.floor(t%1e3),s=Math.floor((t%1e3-n)*1e3);return e+"s "+n+"ms "+s+"μs"}const IS=(t,e)=>{const s=Od()-e;return a3.debug(t+" cost: "+ES(s)),s},Od=()=>performance.now();var Ko={exports:{}},o7={},Jo={exports:{}},el={};/**
230
230
  * @license React
231
231
  * scheduler.production.js
232
232
  *
@@ -234,7 +234,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),K4=C2,l3=Z2);const _3=
234
234
  *
235
235
  * This source code is licensed under the MIT license found in the
236
236
  * LICENSE file in the root directory of this source tree.
237
- */var Dd;function zS(){return Dd||(Dd=1,(function(t){function e(T,j){var $=T.length;T.push(j);e:for(;0<$;){var o2=$-1>>>1,g2=T[o2];if(0<l(g2,j))T[o2]=j,T[$]=g2,$=o2;else break e}}function n(T){return T.length===0?null:T[0]}function s(T){if(T.length===0)return null;var j=T[0],$=T.pop();if($!==j){T[0]=$;e:for(var o2=0,g2=T.length,Z=g2>>>1;o2<Z;){var F=2*(o2+1)-1,E=T[F],U=F+1,K=T[U];if(0>l(E,$))U<g2&&0>l(K,E)?(T[o2]=K,T[U]=$,o2=U):(T[o2]=E,T[F]=$,o2=F);else if(U<g2&&0>l(K,$))T[o2]=K,T[U]=$,o2=U;else break e}}return j}function l(T,j){var $=T.sortIndex-j.sortIndex;return $!==0?$:T.id-j.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var L=performance;t.unstable_now=function(){return L.now()}}else{var c=Date,C=c.now();t.unstable_now=function(){return c.now()-C}}var d=[],f=[],g=1,p=null,m=3,v=!1,b=!1,A=!1,k=!1,S=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function O(T){for(var j=n(f);j!==null;){if(j.callback===null)s(f);else if(j.startTime<=T)s(f),j.sortIndex=j.expirationTime,e(d,j);else break;j=n(f)}}function B(T){if(A=!1,O(T),!b)if(n(d)!==null)b=!0,P||(P=!0,h2());else{var j=n(f);j!==null&&W(B,j.startTime-T)}}var P=!1,Y=-1,n2=5,l2=-1;function f2(){return k?!0:!(t.unstable_now()-l2<n2)}function c2(){if(k=!1,P){var T=t.unstable_now();l2=T;var j=!0;try{e:{b=!1,A&&(A=!1,N(Y),Y=-1),v=!0;var $=m;try{t:{for(O(T),p=n(d);p!==null&&!(p.expirationTime>T&&f2());){var o2=p.callback;if(typeof o2=="function"){p.callback=null,m=p.priorityLevel;var g2=o2(p.expirationTime<=T);if(T=t.unstable_now(),typeof g2=="function"){p.callback=g2,O(T),j=!0;break t}p===n(d)&&s(d),O(T)}else s(d);p=n(d)}if(p!==null)j=!0;else{var Z=n(f);Z!==null&&W(B,Z.startTime-T),j=!1}}break e}finally{p=null,m=$,v=!1}j=void 0}}finally{j?h2():P=!1}}}var h2;if(typeof I=="function")h2=function(){I(c2)};else if(typeof MessageChannel<"u"){var b2=new MessageChannel,V=b2.port2;b2.port1.onmessage=c2,h2=function(){V.postMessage(null)}}else h2=function(){S(c2,0)};function W(T,j){Y=S(function(){T(t.unstable_now())},j)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(T){T.callback=null},t.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):n2=0<T?Math.floor(1e3/T):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_next=function(T){switch(m){case 1:case 2:case 3:var j=3;break;default:j=m}var $=m;m=j;try{return T()}finally{m=$}},t.unstable_requestPaint=function(){k=!0},t.unstable_runWithPriority=function(T,j){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var $=m;m=T;try{return j()}finally{m=$}},t.unstable_scheduleCallback=function(T,j,$){var o2=t.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?o2+$:o2):$=o2,T){case 1:var g2=-1;break;case 2:g2=250;break;case 5:g2=1073741823;break;case 4:g2=1e4;break;default:g2=5e3}return g2=$+g2,T={id:g++,callback:j,priorityLevel:T,startTime:$,expirationTime:g2,sortIndex:-1},$>o2?(T.sortIndex=$,e(f,T),n(d)===null&&T===n(f)&&(A?(N(Y),Y=-1):A=!0,W(B,$-o2))):(T.sortIndex=g2,e(d,T),b||v||(b=!0,P||(P=!0,h2()))),T},t.unstable_shouldYield=f2,t.unstable_wrapCallback=function(T){var j=m;return function(){var $=m;m=j;try{return T.apply(this,arguments)}finally{m=$}}}})(el)),el}var Fd;function NS(){return Fd||(Fd=1,Jo.exports=zS()),Jo.exports}/**
237
+ */var Dd;function zS(){return Dd||(Dd=1,(function(t){function e(T,j){var $=T.length;T.push(j);e:for(;0<$;){var l2=$-1>>>1,g2=T[l2];if(0<l(g2,j))T[l2]=j,T[$]=g2,$=l2;else break e}}function n(T){return T.length===0?null:T[0]}function s(T){if(T.length===0)return null;var j=T[0],$=T.pop();if($!==j){T[0]=$;e:for(var l2=0,g2=T.length,Z=g2>>>1;l2<Z;){var F=2*(l2+1)-1,E=T[F],H=F+1,K=T[H];if(0>l(E,$))H<g2&&0>l(K,E)?(T[l2]=K,T[H]=$,l2=H):(T[l2]=E,T[F]=$,l2=F);else if(H<g2&&0>l(K,$))T[l2]=K,T[H]=$,l2=H;else break e}}return j}function l(T,j){var $=T.sortIndex-j.sortIndex;return $!==0?$:T.id-j.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var L=performance;t.unstable_now=function(){return L.now()}}else{var c=Date,C=c.now();t.unstable_now=function(){return c.now()-C}}var d=[],f=[],g=1,p=null,m=3,v=!1,b=!1,A=!1,k=!1,S=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function O(T){for(var j=n(f);j!==null;){if(j.callback===null)s(f);else if(j.startTime<=T)s(f),j.sortIndex=j.expirationTime,e(d,j);else break;j=n(f)}}function B(T){if(A=!1,O(T),!b)if(n(d)!==null)b=!0,P||(P=!0,h2());else{var j=n(f);j!==null&&W(B,j.startTime-T)}}var P=!1,Y=-1,n2=5,o2=-1;function f2(){return k?!0:!(t.unstable_now()-o2<n2)}function c2(){if(k=!1,P){var T=t.unstable_now();o2=T;var j=!0;try{e:{b=!1,A&&(A=!1,N(Y),Y=-1),v=!0;var $=m;try{t:{for(O(T),p=n(d);p!==null&&!(p.expirationTime>T&&f2());){var l2=p.callback;if(typeof l2=="function"){p.callback=null,m=p.priorityLevel;var g2=l2(p.expirationTime<=T);if(T=t.unstable_now(),typeof g2=="function"){p.callback=g2,O(T),j=!0;break t}p===n(d)&&s(d),O(T)}else s(d);p=n(d)}if(p!==null)j=!0;else{var Z=n(f);Z!==null&&W(B,Z.startTime-T),j=!1}}break e}finally{p=null,m=$,v=!1}j=void 0}}finally{j?h2():P=!1}}}var h2;if(typeof I=="function")h2=function(){I(c2)};else if(typeof MessageChannel<"u"){var b2=new MessageChannel,V=b2.port2;b2.port1.onmessage=c2,h2=function(){V.postMessage(null)}}else h2=function(){S(c2,0)};function W(T,j){Y=S(function(){T(t.unstable_now())},j)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(T){T.callback=null},t.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):n2=0<T?Math.floor(1e3/T):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_next=function(T){switch(m){case 1:case 2:case 3:var j=3;break;default:j=m}var $=m;m=j;try{return T()}finally{m=$}},t.unstable_requestPaint=function(){k=!0},t.unstable_runWithPriority=function(T,j){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var $=m;m=T;try{return j()}finally{m=$}},t.unstable_scheduleCallback=function(T,j,$){var l2=t.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?l2+$:l2):$=l2,T){case 1:var g2=-1;break;case 2:g2=250;break;case 5:g2=1073741823;break;case 4:g2=1e4;break;default:g2=5e3}return g2=$+g2,T={id:g++,callback:j,priorityLevel:T,startTime:$,expirationTime:g2,sortIndex:-1},$>l2?(T.sortIndex=$,e(f,T),n(d)===null&&T===n(f)&&(A?(N(Y),Y=-1):A=!0,W(B,$-l2))):(T.sortIndex=g2,e(d,T),b||v||(b=!0,P||(P=!0,h2()))),T},t.unstable_shouldYield=f2,t.unstable_wrapCallback=function(T){var j=m;return function(){var $=m;m=j;try{return T.apply(this,arguments)}finally{m=$}}}})(el)),el}var Fd;function NS(){return Fd||(Fd=1,Jo.exports=zS()),Jo.exports}/**
238
238
  * @license React
239
239
  * react-dom-client.production.js
240
240
  *
@@ -242,17 +242,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`),K4=C2,l3=Z2);const _3=
242
242
  *
243
243
  * This source code is licensed under the MIT license found in the
244
244
  * LICENSE file in the root directory of this source tree.
245
- */var Bd;function OS(){if(Bd)return o7;Bd=1;var t=NS(),e=oe(),n=NC();function s(i){var o="https://react.dev/errors/"+i;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)o+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function L(i){var o=i,r=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,(o.flags&4098)!==0&&(r=o.return),i=o.return;while(i)}return o.tag===3?r:null}function c(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function C(i){if(i.tag===31){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function d(i){if(L(i)!==i)throw Error(s(188))}function f(i){var o=i.alternate;if(!o){if(o=L(i),o===null)throw Error(s(188));return o!==i?null:i}for(var r=i,a=o;;){var u=r.return;if(u===null)break;var h=u.alternate;if(h===null){if(a=u.return,a!==null){r=a;continue}break}if(u.child===h.child){for(h=u.child;h;){if(h===r)return d(u),i;if(h===a)return d(u),o;h=h.sibling}throw Error(s(188))}if(r.return!==a.return)r=u,a=h;else{for(var w=!1,R=u.child;R;){if(R===r){w=!0,r=u,a=h;break}if(R===a){w=!0,a=u,r=h;break}R=R.sibling}if(!w){for(R=h.child;R;){if(R===r){w=!0,r=h,a=u;break}if(R===a){w=!0,a=h,r=u;break}R=R.sibling}if(!w)throw Error(s(189))}}if(r.alternate!==a)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?i:o}function g(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i;for(i=i.child;i!==null;){if(o=g(i),o!==null)return o;i=i.sibling}return null}var p=Object.assign,m=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),I=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),n2=Symbol.for("react.lazy"),l2=Symbol.for("react.activity"),f2=Symbol.for("react.memo_cache_sentinel"),c2=Symbol.iterator;function h2(i){return i===null||typeof i!="object"?null:(i=c2&&i[c2]||i["@@iterator"],typeof i=="function"?i:null)}var b2=Symbol.for("react.client.reference");function V(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===b2?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case A:return"Fragment";case S:return"Profiler";case k:return"StrictMode";case B:return"Suspense";case P:return"SuspenseList";case l2:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case b:return"Portal";case I:return i.displayName||"Context";case N:return(i._context.displayName||"Context")+".Consumer";case O:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case Y:return o=i.displayName||null,o!==null?o:V(i.type)||"Memo";case n2:o=i._payload,i=i._init;try{return V(i(o))}catch{}}return null}var W=Array.isArray,T=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},o2=[],g2=-1;function Z(i){return{current:i}}function F(i){0>g2||(i.current=o2[g2],o2[g2]=null,g2--)}function E(i,o){g2++,o2[g2]=i.current,i.current=o}var U=Z(null),K=Z(null),m2=Z(null),p2=Z(null);function N2(i,o){switch(E(m2,o),E(K,i),E(U,null),o.nodeType){case 9:case 11:i=(i=o.documentElement)&&(i=i.namespaceURI)?fp(i):0;break;default:if(i=o.tagName,o=o.namespaceURI)o=fp(o),i=gp(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}F(U),E(U,i)}function P2(){F(U),F(K),F(m2)}function K2(i){i.memoizedState!==null&&E(p2,i);var o=U.current,r=gp(o,i.type);o!==r&&(E(K,i),E(U,r))}function f1(i){K.current===i&&(F(U),F(K)),p2.current===i&&(F(p2),K7._currentValue=$)}var M1,G1;function V2(i){if(M1===void 0)try{throw Error()}catch(r){var o=r.stack.trim().match(/\n( *(at )?)/);M1=o&&o[1]||"",G1=-1<r.stack.indexOf(`
245
+ */var Bd;function OS(){if(Bd)return o7;Bd=1;var t=NS(),e=oe(),n=NC();function s(i){var o="https://react.dev/errors/"+i;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)o+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function L(i){var o=i,r=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,(o.flags&4098)!==0&&(r=o.return),i=o.return;while(i)}return o.tag===3?r:null}function c(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function C(i){if(i.tag===31){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function d(i){if(L(i)!==i)throw Error(s(188))}function f(i){var o=i.alternate;if(!o){if(o=L(i),o===null)throw Error(s(188));return o!==i?null:i}for(var r=i,a=o;;){var u=r.return;if(u===null)break;var h=u.alternate;if(h===null){if(a=u.return,a!==null){r=a;continue}break}if(u.child===h.child){for(h=u.child;h;){if(h===r)return d(u),i;if(h===a)return d(u),o;h=h.sibling}throw Error(s(188))}if(r.return!==a.return)r=u,a=h;else{for(var w=!1,R=u.child;R;){if(R===r){w=!0,r=u,a=h;break}if(R===a){w=!0,a=u,r=h;break}R=R.sibling}if(!w){for(R=h.child;R;){if(R===r){w=!0,r=h,a=u;break}if(R===a){w=!0,a=h,r=u;break}R=R.sibling}if(!w)throw Error(s(189))}}if(r.alternate!==a)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?i:o}function g(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i;for(i=i.child;i!==null;){if(o=g(i),o!==null)return o;i=i.sibling}return null}var p=Object.assign,m=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),I=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),n2=Symbol.for("react.lazy"),o2=Symbol.for("react.activity"),f2=Symbol.for("react.memo_cache_sentinel"),c2=Symbol.iterator;function h2(i){return i===null||typeof i!="object"?null:(i=c2&&i[c2]||i["@@iterator"],typeof i=="function"?i:null)}var b2=Symbol.for("react.client.reference");function V(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===b2?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case A:return"Fragment";case S:return"Profiler";case k:return"StrictMode";case B:return"Suspense";case P:return"SuspenseList";case o2:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case b:return"Portal";case I:return i.displayName||"Context";case N:return(i._context.displayName||"Context")+".Consumer";case O:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case Y:return o=i.displayName||null,o!==null?o:V(i.type)||"Memo";case n2:o=i._payload,i=i._init;try{return V(i(o))}catch{}}return null}var W=Array.isArray,T=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},l2=[],g2=-1;function Z(i){return{current:i}}function F(i){0>g2||(i.current=l2[g2],l2[g2]=null,g2--)}function E(i,o){g2++,l2[g2]=i.current,i.current=o}var H=Z(null),K=Z(null),m2=Z(null),p2=Z(null);function N2(i,o){switch(E(m2,o),E(K,i),E(H,null),o.nodeType){case 9:case 11:i=(i=o.documentElement)&&(i=i.namespaceURI)?fp(i):0;break;default:if(i=o.tagName,o=o.namespaceURI)o=fp(o),i=gp(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}F(H),E(H,i)}function P2(){F(H),F(K),F(m2)}function K2(i){i.memoizedState!==null&&E(p2,i);var o=H.current,r=gp(o,i.type);o!==r&&(E(K,i),E(H,r))}function f1(i){K.current===i&&(F(H),F(K)),p2.current===i&&(F(p2),K7._currentValue=$)}var M1,G1;function V2(i){if(M1===void 0)try{throw Error()}catch(r){var o=r.stack.trim().match(/\n( *(at )?)/);M1=o&&o[1]||"",G1=-1<r.stack.indexOf(`
246
246
  at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
247
247
  `+M1+i+G1}var y1=!1;function i3(i,o){if(!i||y1)return"";y1=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(o){var u2=function(){throw Error()};if(Object.defineProperty(u2.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u2,[])}catch(s2){var i2=s2}Reflect.construct(i,[],u2)}else{try{u2.call()}catch(s2){i2=s2}i.call(u2.prototype)}}else{try{throw Error()}catch(s2){i2=s2}(u2=i())&&typeof u2.catch=="function"&&u2.catch(function(){})}}catch(s2){if(s2&&i2&&typeof s2.stack=="string")return[s2.stack,i2.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=a.DetermineComponentFrameRoot(),w=h[0],R=h[1];if(w&&R){var z=w.split(`
248
248
  `),t2=R.split(`
249
249
  `);for(u=a=0;a<z.length&&!z[a].includes("DetermineComponentFrameRoot");)a++;for(;u<t2.length&&!t2[u].includes("DetermineComponentFrameRoot");)u++;if(a===z.length||u===t2.length)for(a=z.length-1,u=t2.length-1;1<=a&&0<=u&&z[a]!==t2[u];)u--;for(;1<=a&&0<=u;a--,u--)if(z[a]!==t2[u]){if(a!==1||u!==1)do if(a--,u--,0>u||z[a]!==t2[u]){var r2=`
250
250
  `+z[a].replace(" at new "," at ");return i.displayName&&r2.includes("<anonymous>")&&(r2=r2.replace("<anonymous>",i.displayName)),r2}while(1<=a&&0<=u);break}}}finally{y1=!1,Error.prepareStackTrace=r}return(r=i?i.displayName||i.name:"")?V2(r):""}function K1(i,o){switch(i.tag){case 26:case 27:case 5:return V2(i.type);case 16:return V2("Lazy");case 13:return i.child!==o&&o!==null?V2("Suspense Fallback"):V2("Suspense");case 19:return V2("SuspenseList");case 0:case 15:return i3(i.type,!1);case 11:return i3(i.type.render,!1);case 1:return i3(i.type,!0);case 31:return V2("Activity");default:return""}}function M3(i){try{var o="",r=null;do o+=K1(i,r),r=i,i=i.return;while(i);return o}catch(a){return`
251
251
  Error generating stack: `+a.message+`
252
- `+a.stack}}var d1=Object.prototype.hasOwnProperty,G2=t.unstable_scheduleCallback,h1=t.unstable_cancelCallback,s1=t.unstable_shouldYield,K3=t.unstable_requestPaint,I1=t.unstable_now,z1=t.unstable_getCurrentPriorityLevel,i1=t.unstable_ImmediatePriority,Y1=t.unstable_UserBlockingPriority,C3=t.unstable_NormalPriority,C4=t.unstable_LowPriority,Q9=t.unstable_IdlePriority,N0=t.log,D3=t.unstable_setDisableYieldValue,m4=null,p3=null;function m3(i){if(typeof N0=="function"&&D3(i),p3&&typeof p3.setStrictMode=="function")try{p3.setStrictMode(m4,i)}catch{}}var x3=Math.clz32?Math.clz32:L2,k5=Math.log,Q=Math.LN2;function L2(i){return i>>>=0,i===0?32:31-(k5(i)/Q|0)|0}var M2=256,D2=262144,g1=4194304;function e1(i){var o=i&42;if(o!==0)return o;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function X1(i,o,r){var a=i.pendingLanes;if(a===0)return 0;var u=0,h=i.suspendedLanes,w=i.pingedLanes;i=i.warmLanes;var R=a&134217727;return R!==0?(a=R&~h,a!==0?u=e1(a):(w&=R,w!==0?u=e1(w):r||(r=R&~i,r!==0&&(u=e1(r))))):(R=a&~h,R!==0?u=e1(R):w!==0?u=e1(w):r||(r=a&~i,r!==0&&(u=e1(r)))),u===0?0:o!==0&&o!==u&&(o&h)===0&&(h=u&-u,r=o&-o,h>=r||h===32&&(r&4194048)!==0)?o:u}function R2(i,o){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&o)===0}function _2(i,o){switch(i){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function q2(){var i=g1;return g1<<=1,(g1&62914560)===0&&(g1=4194304),i}function t1(i){for(var o=[],r=0;31>r;r++)o.push(i);return o}function N1(i,o){i.pendingLanes|=o,o!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function x4(i,o,r,a,u,h){var w=i.pendingLanes;i.pendingLanes=r,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=r,i.entangledLanes&=r,i.errorRecoveryDisabledLanes&=r,i.shellSuspendCounter=0;var R=i.entanglements,z=i.expirationTimes,t2=i.hiddenUpdates;for(r=w&~r;0<r;){var r2=31-x3(r),u2=1<<r2;R[r2]=0,z[r2]=-1;var i2=t2[r2];if(i2!==null)for(t2[r2]=null,r2=0;r2<i2.length;r2++){var s2=i2[r2];s2!==null&&(s2.lane&=-536870913)}r&=~u2}a!==0&&K9(i,a,0),h!==0&&u===0&&i.tag!==0&&(i.suspendedLanes|=h&~(w&~o))}function K9(i,o,r){i.pendingLanes|=o,i.suspendedLanes&=~o;var a=31-x3(o);i.entangledLanes|=o,i.entanglements[a]=i.entanglements[a]|1073741824|r&261930}function J9(i,o){var r=i.entangledLanes|=o;for(i=i.entanglements;r;){var a=31-x3(r),u=1<<a;u&o|i[a]&o&&(i[a]|=o),r&=~u}}function b8(i,o){var r=o&-o;return r=(r&42)!==0?1:J3(r),(r&(i.suspendedLanes|o))!==0?0:r}function J3(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function N4(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function Z5(){var i=j.p;return i!==0?i:(i=window.event,i===void 0?32:Bp(i.type))}function T5(i,o){var r=j.p;try{return j.p=i,o()}finally{j.p=r}}var F3=Math.random().toString(36).slice(2),u3="__reactFiber$"+F3,B1="__reactProps$"+F3,h9="__reactContainer$"+F3,E9="__reactEvents$"+F3,E5="__reactListeners$"+F3,A8="__reactHandles$"+F3,S8="__reactResources$"+F3,O2="__reactMarker$"+F3;function D(i){delete i[u3],delete i[B1],delete i[E9],delete i[E5],delete i[A8]}function x2(i){var o=i[u3];if(o)return o;for(var r=i.parentNode;r;){if(o=r[h9]||r[u3]){if(r=o.alternate,o.child!==null||r!==null&&r.child!==null)for(i=_p(i);i!==null;){if(r=i[u3])return r;i=_p(i)}return o}i=r,r=i.parentNode}return null}function y2(i){if(i=i[u3]||i[h9]){var o=i.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return i}return null}function b1(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i.stateNode;throw Error(s(33))}function Q1(i){var o=i[S8];return o||(o=i[S8]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function l1(i){i[O2]=!0}var Z3=new Set,B3={};function e4(i,o){Q4(i,o),Q4(i+"Capture",o)}function Q4(i,o){for(B3[i]=o,i=0;i<o.length;i++)Z3.add(o[i])}var C2=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Z2={},L1={};function U1(i){return d1.call(L1,i)?!0:d1.call(Z2,i)?!1:C2.test(i)?L1[i]=!0:(Z2[i]=!0,!1)}function l3(i,o,r){if(U1(o))if(r===null)i.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":i.removeAttribute(o);return;case"boolean":var a=o.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){i.removeAttribute(o);return}}i.setAttribute(o,""+r)}}function K4(i,o,r){if(r===null)i.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(o);return}i.setAttribute(o,""+r)}}function _3(i,o,r,a){if(a===null)i.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(r);return}i.setAttributeNS(o,r,""+a)}}function r3(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function O4(i){var o=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function I9(i,o,r){var a=Object.getOwnPropertyDescriptor(i.constructor.prototype,o);if(!i.hasOwnProperty(o)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,h=a.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return u.call(this)},set:function(w){r=""+w,h.call(this,w)}}),Object.defineProperty(i,o,{enumerable:a.enumerable}),{getValue:function(){return r},setValue:function(w){r=""+w},stopTracking:function(){i._valueTracker=null,delete i[o]}}}}function C7(i){if(!i._valueTracker){var o=O4(i)?"checked":"value";i._valueTracker=I9(i,o,""+i[o])}}function Ft(i){if(!i)return!1;var o=i._valueTracker;if(!o)return!0;var r=o.getValue(),a="";return i&&(a=O4(i)?i.checked?"true":"false":i.value),i=a,i!==r?(o.setValue(i),!0):!1}function k8(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var dl=/[\n"\\]/g;function U3(i){return i.replace(dl,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function Z8(i,o,r,a,u,h,w,R){i.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?i.type=w:i.removeAttribute("type"),o!=null?w==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=""+r3(o)):i.value!==""+r3(o)&&(i.value=""+r3(o)):w!=="submit"&&w!=="reset"||i.removeAttribute("value"),o!=null?u7(i,w,r3(o)):r!=null?u7(i,w,r3(r)):a!=null&&i.removeAttribute("value"),u==null&&h!=null&&(i.defaultChecked=!!h),u!=null&&(i.checked=u&&typeof u!="function"&&typeof u!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?i.name=""+r3(R):i.removeAttribute("name")}function e0(i,o,r,a,u,h,w,R){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(i.type=h),o!=null||r!=null){if(!(h!=="submit"&&h!=="reset"||o!=null)){C7(i);return}r=r!=null?""+r3(r):"",o=o!=null?""+r3(o):r,R||o===i.value||(i.value=o),i.defaultValue=o}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,i.checked=R?i.checked:!!a,i.defaultChecked=!!a,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(i.name=w),C7(i)}function u7(i,o,r){o==="number"&&k8(i.ownerDocument)===i||i.defaultValue===""+r||(i.defaultValue=""+r)}function z9(i,o,r,a){if(i=i.options,o){o={};for(var u=0;u<r.length;u++)o["$"+r[u]]=!0;for(r=0;r<i.length;r++)u=o.hasOwnProperty("$"+i[r].value),i[r].selected!==u&&(i[r].selected=u),u&&a&&(i[r].defaultSelected=!0)}else{for(r=""+r3(r),o=null,u=0;u<i.length;u++){if(i[u].value===r){i[u].selected=!0,a&&(i[u].defaultSelected=!0);return}o!==null||i[u].disabled||(o=i[u])}o!==null&&(o.selected=!0)}}function c1(i,o,r){if(o!=null&&(o=""+r3(o),o!==i.value&&(i.value=o),r==null)){i.defaultValue!==o&&(i.defaultValue=o);return}i.defaultValue=r!=null?""+r3(r):""}function d7(i,o,r,a){if(o==null){if(a!=null){if(r!=null)throw Error(s(92));if(W(a)){if(1<a.length)throw Error(s(93));a=a[0]}r=a}r==null&&(r=""),o=r}r=r3(o),i.defaultValue=r,a=i.textContent,a===r&&a!==""&&a!==null&&(i.value=a),C7(i)}function d3(i,o){if(o){var r=i.firstChild;if(r&&r===i.lastChild&&r.nodeType===3){r.nodeValue=o;return}}i.textContent=o}var h3=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function I5(i,o,r){var a=o.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?a?i.setProperty(o,""):o==="float"?i.cssFloat="":i[o]="":a?i.setProperty(o,r):typeof r!="number"||r===0||h3.has(o)?o==="float"?i.cssFloat=r:i[o]=(""+r).trim():i[o]=r+"px"}function t0(i,o,r){if(o!=null&&typeof o!="object")throw Error(s(62));if(i=i.style,r!=null){for(var a in r)!r.hasOwnProperty(a)||o!=null&&o.hasOwnProperty(a)||(a.indexOf("--")===0?i.setProperty(a,""):a==="float"?i.cssFloat="":i[a]="");for(var u in o)a=o[u],o.hasOwnProperty(u)&&r[u]!==a&&I5(i,u,a)}else for(var h in o)o.hasOwnProperty(h)&&I5(i,h,o[h])}function z5(i){if(i.indexOf("-")===-1)return!1;switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var h7=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),B2=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function W2(i){return B2.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function Q2(){}var k1=null;function I3(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var f9=null,O0=null;function dh(i){var o=y2(i);if(o&&(i=o.stateNode)){var r=i[B1]||null;e:switch(i=o.stateNode,o.type){case"input":if(Z8(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),o=r.name,r.type==="radio"&&o!=null){for(r=i;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+U3(""+o)+'"][type="radio"]'),o=0;o<r.length;o++){var a=r[o];if(a!==i&&a.form===i.form){var u=a[B1]||null;if(!u)throw Error(s(90));Z8(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(o=0;o<r.length;o++)a=r[o],a.form===i.form&&Ft(a)}break e;case"textarea":c1(i,r.value,r.defaultValue);break e;case"select":o=r.value,o!=null&&z9(i,!!r.multiple,o,!1)}}}var hl=!1;function hh(i,o,r){if(hl)return i(o,r);hl=!0;try{var a=i(o);return a}finally{if(hl=!1,(f9!==null||O0!==null)&&(bn(),f9&&(o=f9,i=O0,O0=f9=null,dh(o),i)))for(o=0;o<i.length;o++)dh(i[o])}}function f7(i,o){var r=i.stateNode;if(r===null)return null;var a=r[B1]||null;if(a===null)return null;r=a[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(i=i.type,a=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!a;break e;default:i=!1}if(i)return null;if(r&&typeof r!="function")throw Error(s(231,o,typeof r));return r}var n0=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fl=!1;if(n0)try{var g7={};Object.defineProperty(g7,"passive",{get:function(){fl=!0}}),window.addEventListener("test",g7,g7),window.removeEventListener("test",g7,g7)}catch{fl=!1}var D0=null,gl=null,Bt=null;function fh(){if(Bt)return Bt;var i,o=gl,r=o.length,a,u="value"in D0?D0.value:D0.textContent,h=u.length;for(i=0;i<r&&o[i]===u[i];i++);var w=r-i;for(a=1;a<=w&&o[r-a]===u[h-a];a++);return Bt=u.slice(i,1<a?1-a:void 0)}function Ut(i){var o=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&o===13&&(i=13)):i=o,i===10&&(i=13),32<=i||i===13?i:0}function Ht(){return!0}function gh(){return!1}function w4(i){function o(r,a,u,h,w){this._reactName=r,this._targetInst=u,this.type=a,this.nativeEvent=h,this.target=w,this.currentTarget=null;for(var R in i)i.hasOwnProperty(R)&&(r=i[R],this[R]=r?r(h):h[R]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Ht:gh,this.isPropagationStopped=gh,this}return p(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Ht)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Ht)},persist:function(){},isPersistent:Ht}),o}var N5={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pt=w4(N5),p7=p({},N5,{view:0,detail:0}),XO=w4(p7),pl,ml,m7,Wt=p({},p7,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wl,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==m7&&(m7&&i.type==="mousemove"?(pl=i.screenX-m7.screenX,ml=i.screenY-m7.screenY):ml=pl=0,m7=i),pl)},movementY:function(i){return"movementY"in i?i.movementY:ml}}),ph=w4(Wt),QO=p({},Wt,{dataTransfer:0}),KO=w4(QO),JO=p({},p7,{relatedTarget:0}),xl=w4(JO),eD=p({},N5,{animationName:0,elapsedTime:0,pseudoElement:0}),tD=w4(eD),nD=p({},N5,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),iD=w4(nD),sD=p({},N5,{data:0}),mh=w4(sD),oD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lD={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rD={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function aD(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=rD[i])?!!o[i]:!1}function wl(){return aD}var LD=p({},p7,{key:function(i){if(i.key){var o=oD[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=Ut(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?lD[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wl,charCode:function(i){return i.type==="keypress"?Ut(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Ut(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),cD=w4(LD),CD=p({},Wt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xh=w4(CD),uD=p({},p7,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wl}),dD=w4(uD),hD=p({},N5,{propertyName:0,elapsedTime:0,pseudoElement:0}),fD=w4(hD),gD=p({},Wt,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),pD=w4(gD),mD=p({},N5,{newState:0,oldState:0}),xD=w4(mD),wD=[9,13,27,32],vl=n0&&"CompositionEvent"in window,x7=null;n0&&"documentMode"in document&&(x7=document.documentMode);var vD=n0&&"TextEvent"in window&&!x7,wh=n0&&(!vl||x7&&8<x7&&11>=x7),vh=" ",Mh=!1;function _h(i,o){switch(i){case"keyup":return wD.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yh(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var T8=!1;function MD(i,o){switch(i){case"compositionend":return yh(o);case"keypress":return o.which!==32?null:(Mh=!0,vh);case"textInput":return i=o.data,i===vh&&Mh?null:i;default:return null}}function _D(i,o){if(T8)return i==="compositionend"||!vl&&_h(i,o)?(i=fh(),Bt=gl=D0=null,T8=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return wh&&o.locale!=="ko"?null:o.data;default:return null}}var yD={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Rh(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!yD[i.type]:o==="textarea"}function bh(i,o,r,a){f9?O0?O0.push(a):O0=[a]:f9=a,o=In(o,"onChange"),0<o.length&&(r=new Pt("onChange","change",null,r,a),i.push({event:r,listeners:o}))}var w7=null,v7=null;function RD(i){Lp(i,0)}function jt(i){var o=b1(i);if(Ft(o))return i}function Ah(i,o){if(i==="change")return o}var Sh=!1;if(n0){var Ml;if(n0){var _l="oninput"in document;if(!_l){var kh=document.createElement("div");kh.setAttribute("oninput","return;"),_l=typeof kh.oninput=="function"}Ml=_l}else Ml=!1;Sh=Ml&&(!document.documentMode||9<document.documentMode)}function Zh(){w7&&(w7.detachEvent("onpropertychange",Th),v7=w7=null)}function Th(i){if(i.propertyName==="value"&&jt(v7)){var o=[];bh(o,v7,i,I3(i)),hh(RD,o)}}function bD(i,o,r){i==="focusin"?(Zh(),w7=o,v7=r,w7.attachEvent("onpropertychange",Th)):i==="focusout"&&Zh()}function AD(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return jt(v7)}function SD(i,o){if(i==="click")return jt(o)}function kD(i,o){if(i==="input"||i==="change")return jt(o)}function ZD(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var D4=typeof Object.is=="function"?Object.is:ZD;function M7(i,o){if(D4(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var r=Object.keys(i),a=Object.keys(o);if(r.length!==a.length)return!1;for(a=0;a<r.length;a++){var u=r[a];if(!d1.call(o,u)||!D4(i[u],o[u]))return!1}return!0}function Eh(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function Ih(i,o){var r=Eh(i);i=0;for(var a;r;){if(r.nodeType===3){if(a=i+r.textContent.length,i<=o&&a>=o)return{node:r,offset:o-i};i=a}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Eh(r)}}function zh(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?zh(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function Nh(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var o=k8(i.document);o instanceof i.HTMLIFrameElement;){try{var r=typeof o.contentWindow.location.href=="string"}catch{r=!1}if(r)i=o.contentWindow;else break;o=k8(i.document)}return o}function yl(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}var TD=n0&&"documentMode"in document&&11>=document.documentMode,E8=null,Rl=null,_7=null,bl=!1;function Oh(i,o,r){var a=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;bl||E8==null||E8!==k8(a)||(a=E8,"selectionStart"in a&&yl(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),_7&&M7(_7,a)||(_7=a,a=In(Rl,"onSelect"),0<a.length&&(o=new Pt("onSelect","select",null,o,r),i.push({event:o,listeners:a}),o.target=E8)))}function O5(i,o){var r={};return r[i.toLowerCase()]=o.toLowerCase(),r["Webkit"+i]="webkit"+o,r["Moz"+i]="moz"+o,r}var I8={animationend:O5("Animation","AnimationEnd"),animationiteration:O5("Animation","AnimationIteration"),animationstart:O5("Animation","AnimationStart"),transitionrun:O5("Transition","TransitionRun"),transitionstart:O5("Transition","TransitionStart"),transitioncancel:O5("Transition","TransitionCancel"),transitionend:O5("Transition","TransitionEnd")},Al={},Dh={};n0&&(Dh=document.createElement("div").style,"AnimationEvent"in window||(delete I8.animationend.animation,delete I8.animationiteration.animation,delete I8.animationstart.animation),"TransitionEvent"in window||delete I8.transitionend.transition);function D5(i){if(Al[i])return Al[i];if(!I8[i])return i;var o=I8[i],r;for(r in o)if(o.hasOwnProperty(r)&&r in Dh)return Al[i]=o[r];return i}var Fh=D5("animationend"),Bh=D5("animationiteration"),Uh=D5("animationstart"),ED=D5("transitionrun"),ID=D5("transitionstart"),zD=D5("transitioncancel"),Hh=D5("transitionend"),Ph=new Map,Sl="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Sl.push("scrollEnd");function g9(i,o){Ph.set(i,o),e4(o,[i])}var $t=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},J4=[],z8=0,kl=0;function Vt(){for(var i=z8,o=kl=z8=0;o<i;){var r=J4[o];J4[o++]=null;var a=J4[o];J4[o++]=null;var u=J4[o];J4[o++]=null;var h=J4[o];if(J4[o++]=null,a!==null&&u!==null){var w=a.pending;w===null?u.next=u:(u.next=w.next,w.next=u),a.pending=u}h!==0&&Wh(r,u,h)}}function Gt(i,o,r,a){J4[z8++]=i,J4[z8++]=o,J4[z8++]=r,J4[z8++]=a,kl|=a,i.lanes|=a,i=i.alternate,i!==null&&(i.lanes|=a)}function Zl(i,o,r,a){return Gt(i,o,r,a),qt(i)}function F5(i,o){return Gt(i,null,null,o),qt(i)}function Wh(i,o,r){i.lanes|=r;var a=i.alternate;a!==null&&(a.lanes|=r);for(var u=!1,h=i.return;h!==null;)h.childLanes|=r,a=h.alternate,a!==null&&(a.childLanes|=r),h.tag===22&&(i=h.stateNode,i===null||i._visibility&1||(u=!0)),i=h,h=h.return;return i.tag===3?(h=i.stateNode,u&&o!==null&&(u=31-x3(r),i=h.hiddenUpdates,a=i[u],a===null?i[u]=[o]:a.push(o),o.lane=r|536870912),h):null}function qt(i){if(50<$7)throw $7=0,Br=null,Error(s(185));for(var o=i.return;o!==null;)i=o,o=i.return;return i.tag===3?i.stateNode:null}var N8={};function ND(i,o,r,a){this.tag=i,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function F4(i,o,r,a){return new ND(i,o,r,a)}function Tl(i){return i=i.prototype,!(!i||!i.isReactComponent)}function i0(i,o){var r=i.alternate;return r===null?(r=F4(i.tag,o,i.key,i.mode),r.elementType=i.elementType,r.type=i.type,r.stateNode=i.stateNode,r.alternate=i,i.alternate=r):(r.pendingProps=o,r.type=i.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=i.flags&65011712,r.childLanes=i.childLanes,r.lanes=i.lanes,r.child=i.child,r.memoizedProps=i.memoizedProps,r.memoizedState=i.memoizedState,r.updateQueue=i.updateQueue,o=i.dependencies,r.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},r.sibling=i.sibling,r.index=i.index,r.ref=i.ref,r.refCleanup=i.refCleanup,r}function jh(i,o){i.flags&=65011714;var r=i.alternate;return r===null?(i.childLanes=0,i.lanes=o,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=r.childLanes,i.lanes=r.lanes,i.child=r.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=r.memoizedProps,i.memoizedState=r.memoizedState,i.updateQueue=r.updateQueue,i.type=r.type,o=r.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),i}function Yt(i,o,r,a,u,h){var w=0;if(a=i,typeof i=="function")Tl(i)&&(w=1);else if(typeof i=="string")w=UF(i,r,U.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case l2:return i=F4(31,r,o,u),i.elementType=l2,i.lanes=h,i;case A:return B5(r.children,u,h,o);case k:w=8,u|=24;break;case S:return i=F4(12,r,o,u|2),i.elementType=S,i.lanes=h,i;case B:return i=F4(13,r,o,u),i.elementType=B,i.lanes=h,i;case P:return i=F4(19,r,o,u),i.elementType=P,i.lanes=h,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case I:w=10;break e;case N:w=9;break e;case O:w=11;break e;case Y:w=14;break e;case n2:w=16,a=null;break e}w=29,r=Error(s(130,i===null?"null":typeof i,"")),a=null}return o=F4(w,r,o,u),o.elementType=i,o.type=a,o.lanes=h,o}function B5(i,o,r,a){return i=F4(7,i,a,o),i.lanes=r,i}function El(i,o,r){return i=F4(6,i,null,o),i.lanes=r,i}function $h(i){var o=F4(18,null,null,0);return o.stateNode=i,o}function Il(i,o,r){return o=F4(4,i.children!==null?i.children:[],i.key,o),o.lanes=r,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}var Vh=new WeakMap;function e9(i,o){if(typeof i=="object"&&i!==null){var r=Vh.get(i);return r!==void 0?r:(o={value:i,source:o,stack:M3(o)},Vh.set(i,o),o)}return{value:i,source:o,stack:M3(o)}}var O8=[],D8=0,Xt=null,y7=0,t9=[],n9=0,F0=null,N9=1,O9="";function s0(i,o){O8[D8++]=y7,O8[D8++]=Xt,Xt=i,y7=o}function Gh(i,o,r){t9[n9++]=N9,t9[n9++]=O9,t9[n9++]=F0,F0=i;var a=N9;i=O9;var u=32-x3(a)-1;a&=~(1<<u),r+=1;var h=32-x3(o)+u;if(30<h){var w=u-u%5;h=(a&(1<<w)-1).toString(32),a>>=w,u-=w,N9=1<<32-x3(o)+u|r<<u|a,O9=h+i}else N9=1<<h|r<<u|a,O9=i}function zl(i){i.return!==null&&(s0(i,1),Gh(i,1,0))}function Nl(i){for(;i===Xt;)Xt=O8[--D8],O8[D8]=null,y7=O8[--D8],O8[D8]=null;for(;i===F0;)F0=t9[--n9],t9[n9]=null,O9=t9[--n9],t9[n9]=null,N9=t9[--n9],t9[n9]=null}function qh(i,o){t9[n9++]=N9,t9[n9++]=O9,t9[n9++]=F0,N9=o.id,O9=o.overflow,F0=i}var H3=null,J1=null,_1=!1,B0=null,i9=!1,Ol=Error(s(519));function U0(i){var o=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw R7(e9(o,i)),Ol}function Yh(i){var o=i.stateNode,r=i.type,a=i.memoizedProps;switch(o[u3]=i,o[B1]=a,r){case"dialog":m1("cancel",o),m1("close",o);break;case"iframe":case"object":case"embed":m1("load",o);break;case"video":case"audio":for(r=0;r<G7.length;r++)m1(G7[r],o);break;case"source":m1("error",o);break;case"img":case"image":case"link":m1("error",o),m1("load",o);break;case"details":m1("toggle",o);break;case"input":m1("invalid",o),e0(o,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":m1("invalid",o);break;case"textarea":m1("invalid",o),d7(o,a.value,a.defaultValue,a.children)}r=a.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||o.textContent===""+r||a.suppressHydrationWarning===!0||dp(o.textContent,r)?(a.popover!=null&&(m1("beforetoggle",o),m1("toggle",o)),a.onScroll!=null&&m1("scroll",o),a.onScrollEnd!=null&&m1("scrollend",o),a.onClick!=null&&(o.onclick=Q2),o=!0):o=!1,o||U0(i,!0)}function Xh(i){for(H3=i.return;H3;)switch(H3.tag){case 5:case 31:case 13:i9=!1;return;case 27:case 3:i9=!0;return;default:H3=H3.return}}function F8(i){if(i!==H3)return!1;if(!_1)return Xh(i),_1=!0,!1;var o=i.tag,r;if((r=o!==3&&o!==27)&&((r=o===5)&&(r=i.type,r=!(r!=="form"&&r!=="button")||ea(i.type,i.memoizedProps)),r=!r),r&&J1&&U0(i),Xh(i),o===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(317));J1=Mp(i)}else if(o===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(317));J1=Mp(i)}else o===27?(o=J1,e5(i.type)?(i=oa,oa=null,J1=i):J1=o):J1=H3?o9(i.stateNode.nextSibling):null;return!0}function U5(){J1=H3=null,_1=!1}function Dl(){var i=B0;return i!==null&&(y4===null?y4=i:y4.push.apply(y4,i),B0=null),i}function R7(i){B0===null?B0=[i]:B0.push(i)}var Fl=Z(null),H5=null,o0=null;function H0(i,o,r){E(Fl,o._currentValue),o._currentValue=r}function l0(i){i._currentValue=Fl.current,F(Fl)}function Bl(i,o,r){for(;i!==null;){var a=i.alternate;if((i.childLanes&o)!==o?(i.childLanes|=o,a!==null&&(a.childLanes|=o)):a!==null&&(a.childLanes&o)!==o&&(a.childLanes|=o),i===r)break;i=i.return}}function Ul(i,o,r,a){var u=i.child;for(u!==null&&(u.return=i);u!==null;){var h=u.dependencies;if(h!==null){var w=u.child;h=h.firstContext;e:for(;h!==null;){var R=h;h=u;for(var z=0;z<o.length;z++)if(R.context===o[z]){h.lanes|=r,R=h.alternate,R!==null&&(R.lanes|=r),Bl(h.return,r,i),a||(w=null);break e}h=R.next}}else if(u.tag===18){if(w=u.return,w===null)throw Error(s(341));w.lanes|=r,h=w.alternate,h!==null&&(h.lanes|=r),Bl(w,r,i),w=null}else w=u.child;if(w!==null)w.return=u;else for(w=u;w!==null;){if(w===i){w=null;break}if(u=w.sibling,u!==null){u.return=w.return,w=u;break}w=w.return}u=w}}function B8(i,o,r,a){i=null;for(var u=o,h=!1;u!==null;){if(!h){if((u.flags&524288)!==0)h=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var w=u.alternate;if(w===null)throw Error(s(387));if(w=w.memoizedProps,w!==null){var R=u.type;D4(u.pendingProps.value,w.value)||(i!==null?i.push(R):i=[R])}}else if(u===p2.current){if(w=u.alternate,w===null)throw Error(s(387));w.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(i!==null?i.push(K7):i=[K7])}u=u.return}i!==null&&Ul(o,i,r,a),o.flags|=262144}function Qt(i){for(i=i.firstContext;i!==null;){if(!D4(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function P5(i){H5=i,o0=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function P3(i){return Qh(H5,i)}function Kt(i,o){return H5===null&&P5(i),Qh(i,o)}function Qh(i,o){var r=o._currentValue;if(o={context:o,memoizedValue:r,next:null},o0===null){if(i===null)throw Error(s(308));o0=o,i.dependencies={lanes:0,firstContext:o},i.flags|=524288}else o0=o0.next=o;return r}var OD=typeof AbortController<"u"?AbortController:function(){var i=[],o=this.signal={aborted:!1,addEventListener:function(r,a){i.push(a)}};this.abort=function(){o.aborted=!0,i.forEach(function(r){return r()})}},DD=t.unstable_scheduleCallback,FD=t.unstable_NormalPriority,y3={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hl(){return{controller:new OD,data:new Map,refCount:0}}function b7(i){i.refCount--,i.refCount===0&&DD(FD,function(){i.controller.abort()})}var A7=null,Pl=0,U8=0,H8=null;function BD(i,o){if(A7===null){var r=A7=[];Pl=0,U8=$r(),H8={status:"pending",value:void 0,then:function(a){r.push(a)}}}return Pl++,o.then(Kh,Kh),o}function Kh(){if(--Pl===0&&A7!==null){H8!==null&&(H8.status="fulfilled");var i=A7;A7=null,U8=0,H8=null;for(var o=0;o<i.length;o++)(0,i[o])()}}function UD(i,o){var r=[],a={status:"pending",value:null,reason:null,then:function(u){r.push(u)}};return i.then(function(){a.status="fulfilled",a.value=o;for(var u=0;u<r.length;u++)(0,r[u])(o)},function(u){for(a.status="rejected",a.reason=u,u=0;u<r.length;u++)(0,r[u])(void 0)}),a}var Jh=T.S;T.S=function(i,o){Dg=I1(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&BD(i,o),Jh!==null&&Jh(i,o)};var W5=Z(null);function Wl(){var i=W5.current;return i!==null?i:q1.pooledCache}function Jt(i,o){o===null?E(W5,W5.current):E(W5,o.pool)}function ef(){var i=Wl();return i===null?null:{parent:y3._currentValue,pool:i}}var P8=Error(s(460)),jl=Error(s(474)),en=Error(s(542)),tn={then:function(){}};function tf(i){return i=i.status,i==="fulfilled"||i==="rejected"}function nf(i,o,r){switch(r=i[r],r===void 0?i.push(o):r!==o&&(o.then(Q2,Q2),o=r),o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,of(i),i;default:if(typeof o.status=="string")o.then(Q2,Q2);else{if(i=q1,i!==null&&100<i.shellSuspendCounter)throw Error(s(482));i=o,i.status="pending",i.then(function(a){if(o.status==="pending"){var u=o;u.status="fulfilled",u.value=a}},function(a){if(o.status==="pending"){var u=o;u.status="rejected",u.reason=a}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,of(i),i}throw $5=o,P8}}function j5(i){try{var o=i._init;return o(i._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?($5=r,P8):r}}var $5=null;function sf(){if($5===null)throw Error(s(459));var i=$5;return $5=null,i}function of(i){if(i===P8||i===en)throw Error(s(483))}var W8=null,S7=0;function nn(i){var o=S7;return S7+=1,W8===null&&(W8=[]),nf(W8,i,o)}function k7(i,o){o=o.props.ref,i.ref=o!==void 0?o:null}function sn(i,o){throw o.$$typeof===m?Error(s(525)):(i=Object.prototype.toString.call(o),Error(s(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i)))}function lf(i){function o(G,H){if(i){var e2=G.deletions;e2===null?(G.deletions=[H],G.flags|=16):e2.push(H)}}function r(G,H){if(!i)return null;for(;H!==null;)o(G,H),H=H.sibling;return null}function a(G){for(var H=new Map;G!==null;)G.key!==null?H.set(G.key,G):H.set(G.index,G),G=G.sibling;return H}function u(G,H){return G=i0(G,H),G.index=0,G.sibling=null,G}function h(G,H,e2){return G.index=e2,i?(e2=G.alternate,e2!==null?(e2=e2.index,e2<H?(G.flags|=67108866,H):e2):(G.flags|=67108866,H)):(G.flags|=1048576,H)}function w(G){return i&&G.alternate===null&&(G.flags|=67108866),G}function R(G,H,e2,a2){return H===null||H.tag!==6?(H=El(e2,G.mode,a2),H.return=G,H):(H=u(H,e2),H.return=G,H)}function z(G,H,e2,a2){var j2=e2.type;return j2===A?r2(G,H,e2.props.children,a2,e2.key):H!==null&&(H.elementType===j2||typeof j2=="object"&&j2!==null&&j2.$$typeof===n2&&j5(j2)===H.type)?(H=u(H,e2.props),k7(H,e2),H.return=G,H):(H=Yt(e2.type,e2.key,e2.props,null,G.mode,a2),k7(H,e2),H.return=G,H)}function t2(G,H,e2,a2){return H===null||H.tag!==4||H.stateNode.containerInfo!==e2.containerInfo||H.stateNode.implementation!==e2.implementation?(H=Il(e2,G.mode,a2),H.return=G,H):(H=u(H,e2.children||[]),H.return=G,H)}function r2(G,H,e2,a2,j2){return H===null||H.tag!==7?(H=B5(e2,G.mode,a2,j2),H.return=G,H):(H=u(H,e2),H.return=G,H)}function u2(G,H,e2){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=El(""+H,G.mode,e2),H.return=G,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case v:return e2=Yt(H.type,H.key,H.props,null,G.mode,e2),k7(e2,H),e2.return=G,e2;case b:return H=Il(H,G.mode,e2),H.return=G,H;case n2:return H=j5(H),u2(G,H,e2)}if(W(H)||h2(H))return H=B5(H,G.mode,e2,null),H.return=G,H;if(typeof H.then=="function")return u2(G,nn(H),e2);if(H.$$typeof===I)return u2(G,Kt(G,H),e2);sn(G,H)}return null}function i2(G,H,e2,a2){var j2=H!==null?H.key:null;if(typeof e2=="string"&&e2!==""||typeof e2=="number"||typeof e2=="bigint")return j2!==null?null:R(G,H,""+e2,a2);if(typeof e2=="object"&&e2!==null){switch(e2.$$typeof){case v:return e2.key===j2?z(G,H,e2,a2):null;case b:return e2.key===j2?t2(G,H,e2,a2):null;case n2:return e2=j5(e2),i2(G,H,e2,a2)}if(W(e2)||h2(e2))return j2!==null?null:r2(G,H,e2,a2,null);if(typeof e2.then=="function")return i2(G,H,nn(e2),a2);if(e2.$$typeof===I)return i2(G,H,Kt(G,e2),a2);sn(G,e2)}return null}function s2(G,H,e2,a2,j2){if(typeof a2=="string"&&a2!==""||typeof a2=="number"||typeof a2=="bigint")return G=G.get(e2)||null,R(H,G,""+a2,j2);if(typeof a2=="object"&&a2!==null){switch(a2.$$typeof){case v:return G=G.get(a2.key===null?e2:a2.key)||null,z(H,G,a2,j2);case b:return G=G.get(a2.key===null?e2:a2.key)||null,t2(H,G,a2,j2);case n2:return a2=j5(a2),s2(G,H,e2,a2,j2)}if(W(a2)||h2(a2))return G=G.get(e2)||null,r2(H,G,a2,j2,null);if(typeof a2.then=="function")return s2(G,H,e2,nn(a2),j2);if(a2.$$typeof===I)return s2(G,H,e2,Kt(H,a2),j2);sn(H,a2)}return null}function T2(G,H,e2,a2){for(var j2=null,Z1=null,F2=H,r1=H=0,w1=null;F2!==null&&r1<e2.length;r1++){F2.index>r1?(w1=F2,F2=null):w1=F2.sibling;var T1=i2(G,F2,e2[r1],a2);if(T1===null){F2===null&&(F2=w1);break}i&&F2&&T1.alternate===null&&o(G,F2),H=h(T1,H,r1),Z1===null?j2=T1:Z1.sibling=T1,Z1=T1,F2=w1}if(r1===e2.length)return r(G,F2),_1&&s0(G,r1),j2;if(F2===null){for(;r1<e2.length;r1++)F2=u2(G,e2[r1],a2),F2!==null&&(H=h(F2,H,r1),Z1===null?j2=F2:Z1.sibling=F2,Z1=F2);return _1&&s0(G,r1),j2}for(F2=a(F2);r1<e2.length;r1++)w1=s2(F2,G,r1,e2[r1],a2),w1!==null&&(i&&w1.alternate!==null&&F2.delete(w1.key===null?r1:w1.key),H=h(w1,H,r1),Z1===null?j2=w1:Z1.sibling=w1,Z1=w1);return i&&F2.forEach(function(o5){return o(G,o5)}),_1&&s0(G,r1),j2}function Y2(G,H,e2,a2){if(e2==null)throw Error(s(151));for(var j2=null,Z1=null,F2=H,r1=H=0,w1=null,T1=e2.next();F2!==null&&!T1.done;r1++,T1=e2.next()){F2.index>r1?(w1=F2,F2=null):w1=F2.sibling;var o5=i2(G,F2,T1.value,a2);if(o5===null){F2===null&&(F2=w1);break}i&&F2&&o5.alternate===null&&o(G,F2),H=h(o5,H,r1),Z1===null?j2=o5:Z1.sibling=o5,Z1=o5,F2=w1}if(T1.done)return r(G,F2),_1&&s0(G,r1),j2;if(F2===null){for(;!T1.done;r1++,T1=e2.next())T1=u2(G,T1.value,a2),T1!==null&&(H=h(T1,H,r1),Z1===null?j2=T1:Z1.sibling=T1,Z1=T1);return _1&&s0(G,r1),j2}for(F2=a(F2);!T1.done;r1++,T1=e2.next())T1=s2(F2,G,r1,T1.value,a2),T1!==null&&(i&&T1.alternate!==null&&F2.delete(T1.key===null?r1:T1.key),H=h(T1,H,r1),Z1===null?j2=T1:Z1.sibling=T1,Z1=T1);return i&&F2.forEach(function(QF){return o(G,QF)}),_1&&s0(G,r1),j2}function W1(G,H,e2,a2){if(typeof e2=="object"&&e2!==null&&e2.type===A&&e2.key===null&&(e2=e2.props.children),typeof e2=="object"&&e2!==null){switch(e2.$$typeof){case v:e:{for(var j2=e2.key;H!==null;){if(H.key===j2){if(j2=e2.type,j2===A){if(H.tag===7){r(G,H.sibling),a2=u(H,e2.props.children),a2.return=G,G=a2;break e}}else if(H.elementType===j2||typeof j2=="object"&&j2!==null&&j2.$$typeof===n2&&j5(j2)===H.type){r(G,H.sibling),a2=u(H,e2.props),k7(a2,e2),a2.return=G,G=a2;break e}r(G,H);break}else o(G,H);H=H.sibling}e2.type===A?(a2=B5(e2.props.children,G.mode,a2,e2.key),a2.return=G,G=a2):(a2=Yt(e2.type,e2.key,e2.props,null,G.mode,a2),k7(a2,e2),a2.return=G,G=a2)}return w(G);case b:e:{for(j2=e2.key;H!==null;){if(H.key===j2)if(H.tag===4&&H.stateNode.containerInfo===e2.containerInfo&&H.stateNode.implementation===e2.implementation){r(G,H.sibling),a2=u(H,e2.children||[]),a2.return=G,G=a2;break e}else{r(G,H);break}else o(G,H);H=H.sibling}a2=Il(e2,G.mode,a2),a2.return=G,G=a2}return w(G);case n2:return e2=j5(e2),W1(G,H,e2,a2)}if(W(e2))return T2(G,H,e2,a2);if(h2(e2)){if(j2=h2(e2),typeof j2!="function")throw Error(s(150));return e2=j2.call(e2),Y2(G,H,e2,a2)}if(typeof e2.then=="function")return W1(G,H,nn(e2),a2);if(e2.$$typeof===I)return W1(G,H,Kt(G,e2),a2);sn(G,e2)}return typeof e2=="string"&&e2!==""||typeof e2=="number"||typeof e2=="bigint"?(e2=""+e2,H!==null&&H.tag===6?(r(G,H.sibling),a2=u(H,e2),a2.return=G,G=a2):(r(G,H),a2=El(e2,G.mode,a2),a2.return=G,G=a2),w(G)):r(G,H)}return function(G,H,e2,a2){try{S7=0;var j2=W1(G,H,e2,a2);return W8=null,j2}catch(F2){if(F2===P8||F2===en)throw F2;var Z1=F4(29,F2,null,G.mode);return Z1.lanes=a2,Z1.return=G,Z1}finally{}}}var V5=lf(!0),rf=lf(!1),P0=!1;function $l(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vl(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function W0(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function j0(i,o,r){var a=i.updateQueue;if(a===null)return null;if(a=a.shared,(O1&2)!==0){var u=a.pending;return u===null?o.next=o:(o.next=u.next,u.next=o),a.pending=o,o=qt(i),Wh(i,null,r),o}return Gt(i,a,o,r),qt(i)}function Z7(i,o,r){if(o=o.updateQueue,o!==null&&(o=o.shared,(r&4194048)!==0)){var a=o.lanes;a&=i.pendingLanes,r|=a,o.lanes=r,J9(i,r)}}function Gl(i,o){var r=i.updateQueue,a=i.alternate;if(a!==null&&(a=a.updateQueue,r===a)){var u=null,h=null;if(r=r.firstBaseUpdate,r!==null){do{var w={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};h===null?u=h=w:h=h.next=w,r=r.next}while(r!==null);h===null?u=h=o:h=h.next=o}else u=h=o;r={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:h,shared:a.shared,callbacks:a.callbacks},i.updateQueue=r;return}i=r.lastBaseUpdate,i===null?r.firstBaseUpdate=o:i.next=o,r.lastBaseUpdate=o}var ql=!1;function T7(){if(ql){var i=H8;if(i!==null)throw i}}function E7(i,o,r,a){ql=!1;var u=i.updateQueue;P0=!1;var h=u.firstBaseUpdate,w=u.lastBaseUpdate,R=u.shared.pending;if(R!==null){u.shared.pending=null;var z=R,t2=z.next;z.next=null,w===null?h=t2:w.next=t2,w=z;var r2=i.alternate;r2!==null&&(r2=r2.updateQueue,R=r2.lastBaseUpdate,R!==w&&(R===null?r2.firstBaseUpdate=t2:R.next=t2,r2.lastBaseUpdate=z))}if(h!==null){var u2=u.baseState;w=0,r2=t2=z=null,R=h;do{var i2=R.lane&-536870913,s2=i2!==R.lane;if(s2?(x1&i2)===i2:(a&i2)===i2){i2!==0&&i2===U8&&(ql=!0),r2!==null&&(r2=r2.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var T2=i,Y2=R;i2=o;var W1=r;switch(Y2.tag){case 1:if(T2=Y2.payload,typeof T2=="function"){u2=T2.call(W1,u2,i2);break e}u2=T2;break e;case 3:T2.flags=T2.flags&-65537|128;case 0:if(T2=Y2.payload,i2=typeof T2=="function"?T2.call(W1,u2,i2):T2,i2==null)break e;u2=p({},u2,i2);break e;case 2:P0=!0}}i2=R.callback,i2!==null&&(i.flags|=64,s2&&(i.flags|=8192),s2=u.callbacks,s2===null?u.callbacks=[i2]:s2.push(i2))}else s2={lane:i2,tag:R.tag,payload:R.payload,callback:R.callback,next:null},r2===null?(t2=r2=s2,z=u2):r2=r2.next=s2,w|=i2;if(R=R.next,R===null){if(R=u.shared.pending,R===null)break;s2=R,R=s2.next,s2.next=null,u.lastBaseUpdate=s2,u.shared.pending=null}}while(!0);r2===null&&(z=u2),u.baseState=z,u.firstBaseUpdate=t2,u.lastBaseUpdate=r2,h===null&&(u.shared.lanes=0),Y0|=w,i.lanes=w,i.memoizedState=u2}}function af(i,o){if(typeof i!="function")throw Error(s(191,i));i.call(o)}function Lf(i,o){var r=i.callbacks;if(r!==null)for(i.callbacks=null,i=0;i<r.length;i++)af(r[i],o)}var j8=Z(null),on=Z(0);function cf(i,o){i=f0,E(on,i),E(j8,o),f0=i|o.baseLanes}function Yl(){E(on,f0),E(j8,j8.current)}function Xl(){f0=on.current,F(j8),F(on)}var B4=Z(null),s9=null;function $0(i){var o=i.alternate;E(w3,w3.current&1),E(B4,i),s9===null&&(o===null||j8.current!==null||o.memoizedState!==null)&&(s9=i)}function Ql(i){E(w3,w3.current),E(B4,i),s9===null&&(s9=i)}function Cf(i){i.tag===22?(E(w3,w3.current),E(B4,i),s9===null&&(s9=i)):V0()}function V0(){E(w3,w3.current),E(B4,B4.current)}function U4(i){F(B4),s9===i&&(s9=null),F(w3)}var w3=Z(0);function ln(i){for(var o=i;o!==null;){if(o.tag===13){var r=o.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||ia(r)||sa(r)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var r0=0,o1=null,H1=null,R3=null,rn=!1,$8=!1,G5=!1,an=0,I7=0,V8=null,HD=0;function f3(){throw Error(s(321))}function Kl(i,o){if(o===null)return!1;for(var r=0;r<o.length&&r<i.length;r++)if(!D4(i[r],o[r]))return!1;return!0}function Jl(i,o,r,a,u,h){return r0=h,o1=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,T.H=i===null||i.memoizedState===null?qf:hr,G5=!1,h=r(a,u),G5=!1,$8&&(h=df(o,r,a,u)),uf(i),h}function uf(i){T.H=O7;var o=H1!==null&&H1.next!==null;if(r0=0,R3=H1=o1=null,rn=!1,I7=0,V8=null,o)throw Error(s(300));i===null||b3||(i=i.dependencies,i!==null&&Qt(i)&&(b3=!0))}function df(i,o,r,a){o1=i;var u=0;do{if($8&&(V8=null),I7=0,$8=!1,25<=u)throw Error(s(301));if(u+=1,R3=H1=null,i.updateQueue!=null){var h=i.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}T.H=Yf,h=o(r,a)}while($8);return h}function PD(){var i=T.H,o=i.useState()[0];return o=typeof o.then=="function"?z7(o):o,i=i.useState()[0],(H1!==null?H1.memoizedState:null)!==i&&(o1.flags|=1024),o}function er(){var i=an!==0;return an=0,i}function tr(i,o,r){o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~r}function nr(i){if(rn){for(i=i.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}rn=!1}r0=0,R3=H1=o1=null,$8=!1,I7=an=0,V8=null}function u4(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return R3===null?o1.memoizedState=R3=i:R3=R3.next=i,R3}function v3(){if(H1===null){var i=o1.alternate;i=i!==null?i.memoizedState:null}else i=H1.next;var o=R3===null?o1.memoizedState:R3.next;if(o!==null)R3=o,H1=i;else{if(i===null)throw o1.alternate===null?Error(s(467)):Error(s(310));H1=i,i={memoizedState:H1.memoizedState,baseState:H1.baseState,baseQueue:H1.baseQueue,queue:H1.queue,next:null},R3===null?o1.memoizedState=R3=i:R3=R3.next=i}return R3}function Ln(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function z7(i){var o=I7;return I7+=1,V8===null&&(V8=[]),i=nf(V8,i,o),o=o1,(R3===null?o.memoizedState:R3.next)===null&&(o=o.alternate,T.H=o===null||o.memoizedState===null?qf:hr),i}function cn(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return z7(i);if(i.$$typeof===I)return P3(i)}throw Error(s(438,String(i)))}function ir(i){var o=null,r=o1.updateQueue;if(r!==null&&(o=r.memoCache),o==null){var a=o1.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(o={data:a.data.map(function(u){return u.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),r===null&&(r=Ln(),o1.updateQueue=r),r.memoCache=o,r=o.data[o.index],r===void 0)for(r=o.data[o.index]=Array(i),a=0;a<i;a++)r[a]=f2;return o.index++,r}function a0(i,o){return typeof o=="function"?o(i):o}function Cn(i){var o=v3();return sr(o,H1,i)}function sr(i,o,r){var a=i.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=r;var u=i.baseQueue,h=a.pending;if(h!==null){if(u!==null){var w=u.next;u.next=h.next,h.next=w}o.baseQueue=u=h,a.pending=null}if(h=i.baseState,u===null)i.memoizedState=h;else{o=u.next;var R=w=null,z=null,t2=o,r2=!1;do{var u2=t2.lane&-536870913;if(u2!==t2.lane?(x1&u2)===u2:(r0&u2)===u2){var i2=t2.revertLane;if(i2===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:t2.action,hasEagerState:t2.hasEagerState,eagerState:t2.eagerState,next:null}),u2===U8&&(r2=!0);else if((r0&i2)===i2){t2=t2.next,i2===U8&&(r2=!0);continue}else u2={lane:0,revertLane:t2.revertLane,gesture:null,action:t2.action,hasEagerState:t2.hasEagerState,eagerState:t2.eagerState,next:null},z===null?(R=z=u2,w=h):z=z.next=u2,o1.lanes|=i2,Y0|=i2;u2=t2.action,G5&&r(h,u2),h=t2.hasEagerState?t2.eagerState:r(h,u2)}else i2={lane:u2,revertLane:t2.revertLane,gesture:t2.gesture,action:t2.action,hasEagerState:t2.hasEagerState,eagerState:t2.eagerState,next:null},z===null?(R=z=i2,w=h):z=z.next=i2,o1.lanes|=u2,Y0|=u2;t2=t2.next}while(t2!==null&&t2!==o);if(z===null?w=h:z.next=R,!D4(h,i.memoizedState)&&(b3=!0,r2&&(r=H8,r!==null)))throw r;i.memoizedState=h,i.baseState=w,i.baseQueue=z,a.lastRenderedState=h}return u===null&&(a.lanes=0),[i.memoizedState,a.dispatch]}function or(i){var o=v3(),r=o.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=i;var a=r.dispatch,u=r.pending,h=o.memoizedState;if(u!==null){r.pending=null;var w=u=u.next;do h=i(h,w.action),w=w.next;while(w!==u);D4(h,o.memoizedState)||(b3=!0),o.memoizedState=h,o.baseQueue===null&&(o.baseState=h),r.lastRenderedState=h}return[h,a]}function hf(i,o,r){var a=o1,u=v3(),h=_1;if(h){if(r===void 0)throw Error(s(407));r=r()}else r=o();var w=!D4((H1||u).memoizedState,r);if(w&&(u.memoizedState=r,b3=!0),u=u.queue,ar(pf.bind(null,a,u,i),[i]),u.getSnapshot!==o||w||R3!==null&&R3.memoizedState.tag&1){if(a.flags|=2048,G8(9,{destroy:void 0},gf.bind(null,a,u,r,o),null),q1===null)throw Error(s(349));h||(r0&127)!==0||ff(a,o,r)}return r}function ff(i,o,r){i.flags|=16384,i={getSnapshot:o,value:r},o=o1.updateQueue,o===null?(o=Ln(),o1.updateQueue=o,o.stores=[i]):(r=o.stores,r===null?o.stores=[i]:r.push(i))}function gf(i,o,r,a){o.value=r,o.getSnapshot=a,mf(o)&&xf(i)}function pf(i,o,r){return r(function(){mf(o)&&xf(i)})}function mf(i){var o=i.getSnapshot;i=i.value;try{var r=o();return!D4(i,r)}catch{return!0}}function xf(i){var o=F5(i,2);o!==null&&R4(o,i,2)}function lr(i){var o=u4();if(typeof i=="function"){var r=i;if(i=r(),G5){m3(!0);try{r()}finally{m3(!1)}}}return o.memoizedState=o.baseState=i,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a0,lastRenderedState:i},o}function wf(i,o,r,a){return i.baseState=r,sr(i,H1,typeof a=="function"?a:a0)}function WD(i,o,r,a,u){if(hn(i))throw Error(s(485));if(i=o.action,i!==null){var h={payload:u,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){h.listeners.push(w)}};T.T!==null?r(!0):h.isTransition=!1,a(h),r=o.pending,r===null?(h.next=o.pending=h,vf(o,h)):(h.next=r.next,o.pending=r.next=h)}}function vf(i,o){var r=o.action,a=o.payload,u=i.state;if(o.isTransition){var h=T.T,w={};T.T=w;try{var R=r(u,a),z=T.S;z!==null&&z(w,R),Mf(i,o,R)}catch(t2){rr(i,o,t2)}finally{h!==null&&w.types!==null&&(h.types=w.types),T.T=h}}else try{h=r(u,a),Mf(i,o,h)}catch(t2){rr(i,o,t2)}}function Mf(i,o,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(a){_f(i,o,a)},function(a){return rr(i,o,a)}):_f(i,o,r)}function _f(i,o,r){o.status="fulfilled",o.value=r,yf(o),i.state=r,o=i.pending,o!==null&&(r=o.next,r===o?i.pending=null:(r=r.next,o.next=r,vf(i,r)))}function rr(i,o,r){var a=i.pending;if(i.pending=null,a!==null){a=a.next;do o.status="rejected",o.reason=r,yf(o),o=o.next;while(o!==a)}i.action=null}function yf(i){i=i.listeners;for(var o=0;o<i.length;o++)(0,i[o])()}function Rf(i,o){return o}function bf(i,o){if(_1){var r=q1.formState;if(r!==null){e:{var a=o1;if(_1){if(J1){t:{for(var u=J1,h=i9;u.nodeType!==8;){if(!h){u=null;break t}if(u=o9(u.nextSibling),u===null){u=null;break t}}h=u.data,u=h==="F!"||h==="F"?u:null}if(u){J1=o9(u.nextSibling),a=u.data==="F!";break e}}U0(a)}a=!1}a&&(o=r[0])}}return r=u4(),r.memoizedState=r.baseState=o,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rf,lastRenderedState:o},r.queue=a,r=$f.bind(null,o1,a),a.dispatch=r,a=lr(!1),h=dr.bind(null,o1,!1,a.queue),a=u4(),u={state:o,dispatch:null,action:i,pending:null},a.queue=u,r=WD.bind(null,o1,u,h,r),u.dispatch=r,a.memoizedState=i,[o,r,!1]}function Af(i){var o=v3();return Sf(o,H1,i)}function Sf(i,o,r){if(o=sr(i,o,Rf)[0],i=Cn(a0)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var a=z7(o)}catch(w){throw w===P8?en:w}else a=o;o=v3();var u=o.queue,h=u.dispatch;return r!==o.memoizedState&&(o1.flags|=2048,G8(9,{destroy:void 0},jD.bind(null,u,r),null)),[a,h,i]}function jD(i,o){i.action=o}function kf(i){var o=v3(),r=H1;if(r!==null)return Sf(o,r,i);v3(),o=o.memoizedState,r=v3();var a=r.queue.dispatch;return r.memoizedState=i,[o,a,!1]}function G8(i,o,r,a){return i={tag:i,create:r,deps:a,inst:o,next:null},o=o1.updateQueue,o===null&&(o=Ln(),o1.updateQueue=o),r=o.lastEffect,r===null?o.lastEffect=i.next=i:(a=r.next,r.next=i,i.next=a,o.lastEffect=i),i}function Zf(){return v3().memoizedState}function un(i,o,r,a){var u=u4();o1.flags|=i,u.memoizedState=G8(1|o,{destroy:void 0},r,a===void 0?null:a)}function dn(i,o,r,a){var u=v3();a=a===void 0?null:a;var h=u.memoizedState.inst;H1!==null&&a!==null&&Kl(a,H1.memoizedState.deps)?u.memoizedState=G8(o,h,r,a):(o1.flags|=i,u.memoizedState=G8(1|o,h,r,a))}function Tf(i,o){un(8390656,8,i,o)}function ar(i,o){dn(2048,8,i,o)}function $D(i){o1.flags|=4;var o=o1.updateQueue;if(o===null)o=Ln(),o1.updateQueue=o,o.events=[i];else{var r=o.events;r===null?o.events=[i]:r.push(i)}}function Ef(i){var o=v3().memoizedState;return $D({ref:o,nextImpl:i}),function(){if((O1&2)!==0)throw Error(s(440));return o.impl.apply(void 0,arguments)}}function If(i,o){return dn(4,2,i,o)}function zf(i,o){return dn(4,4,i,o)}function Nf(i,o){if(typeof o=="function"){i=i();var r=o(i);return function(){typeof r=="function"?r():o(null)}}if(o!=null)return i=i(),o.current=i,function(){o.current=null}}function Of(i,o,r){r=r!=null?r.concat([i]):null,dn(4,4,Nf.bind(null,o,i),r)}function Lr(){}function Df(i,o){var r=v3();o=o===void 0?null:o;var a=r.memoizedState;return o!==null&&Kl(o,a[1])?a[0]:(r.memoizedState=[i,o],i)}function Ff(i,o){var r=v3();o=o===void 0?null:o;var a=r.memoizedState;if(o!==null&&Kl(o,a[1]))return a[0];if(a=i(),G5){m3(!0);try{i()}finally{m3(!1)}}return r.memoizedState=[a,o],a}function cr(i,o,r){return r===void 0||(r0&1073741824)!==0&&(x1&261930)===0?i.memoizedState=o:(i.memoizedState=r,i=Bg(),o1.lanes|=i,Y0|=i,r)}function Bf(i,o,r,a){return D4(r,o)?r:j8.current!==null?(i=cr(i,r,a),D4(i,o)||(b3=!0),i):(r0&42)===0||(r0&1073741824)!==0&&(x1&261930)===0?(b3=!0,i.memoizedState=r):(i=Bg(),o1.lanes|=i,Y0|=i,o)}function Uf(i,o,r,a,u){var h=j.p;j.p=h!==0&&8>h?h:8;var w=T.T,R={};T.T=R,dr(i,!1,o,r);try{var z=u(),t2=T.S;if(t2!==null&&t2(R,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var r2=UD(z,a);N7(i,o,r2,W4(i))}else N7(i,o,a,W4(i))}catch(u2){N7(i,o,{then:function(){},status:"rejected",reason:u2},W4())}finally{j.p=h,w!==null&&R.types!==null&&(w.types=R.types),T.T=w}}function VD(){}function Cr(i,o,r,a){if(i.tag!==5)throw Error(s(476));var u=Hf(i).queue;Uf(i,u,o,$,r===null?VD:function(){return Pf(i),r(a)})}function Hf(i){var o=i.memoizedState;if(o!==null)return o;o={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:a0,lastRenderedState:$},next:null};var r={};return o.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:a0,lastRenderedState:r},next:null},i.memoizedState=o,i=i.alternate,i!==null&&(i.memoizedState=o),o}function Pf(i){var o=Hf(i);o.next===null&&(o=i.alternate.memoizedState),N7(i,o.next.queue,{},W4())}function ur(){return P3(K7)}function Wf(){return v3().memoizedState}function jf(){return v3().memoizedState}function GD(i){for(var o=i.return;o!==null;){switch(o.tag){case 24:case 3:var r=W4();i=W0(r);var a=j0(o,i,r);a!==null&&(R4(a,o,r),Z7(a,o,r)),o={cache:Hl()},i.payload=o;return}o=o.return}}function qD(i,o,r){var a=W4();r={lane:a,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},hn(i)?Vf(o,r):(r=Zl(i,o,r,a),r!==null&&(R4(r,i,a),Gf(r,o,a)))}function $f(i,o,r){var a=W4();N7(i,o,r,a)}function N7(i,o,r,a){var u={lane:a,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(hn(i))Vf(o,u);else{var h=i.alternate;if(i.lanes===0&&(h===null||h.lanes===0)&&(h=o.lastRenderedReducer,h!==null))try{var w=o.lastRenderedState,R=h(w,r);if(u.hasEagerState=!0,u.eagerState=R,D4(R,w))return Gt(i,o,u,0),q1===null&&Vt(),!1}catch{}finally{}if(r=Zl(i,o,u,a),r!==null)return R4(r,i,a),Gf(r,o,a),!0}return!1}function dr(i,o,r,a){if(a={lane:2,revertLane:$r(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},hn(i)){if(o)throw Error(s(479))}else o=Zl(i,r,a,2),o!==null&&R4(o,i,2)}function hn(i){var o=i.alternate;return i===o1||o!==null&&o===o1}function Vf(i,o){$8=rn=!0;var r=i.pending;r===null?o.next=o:(o.next=r.next,r.next=o),i.pending=o}function Gf(i,o,r){if((r&4194048)!==0){var a=o.lanes;a&=i.pendingLanes,r|=a,o.lanes=r,J9(i,r)}}var O7={readContext:P3,use:cn,useCallback:f3,useContext:f3,useEffect:f3,useImperativeHandle:f3,useLayoutEffect:f3,useInsertionEffect:f3,useMemo:f3,useReducer:f3,useRef:f3,useState:f3,useDebugValue:f3,useDeferredValue:f3,useTransition:f3,useSyncExternalStore:f3,useId:f3,useHostTransitionStatus:f3,useFormState:f3,useActionState:f3,useOptimistic:f3,useMemoCache:f3,useCacheRefresh:f3};O7.useEffectEvent=f3;var qf={readContext:P3,use:cn,useCallback:function(i,o){return u4().memoizedState=[i,o===void 0?null:o],i},useContext:P3,useEffect:Tf,useImperativeHandle:function(i,o,r){r=r!=null?r.concat([i]):null,un(4194308,4,Nf.bind(null,o,i),r)},useLayoutEffect:function(i,o){return un(4194308,4,i,o)},useInsertionEffect:function(i,o){un(4,2,i,o)},useMemo:function(i,o){var r=u4();o=o===void 0?null:o;var a=i();if(G5){m3(!0);try{i()}finally{m3(!1)}}return r.memoizedState=[a,o],a},useReducer:function(i,o,r){var a=u4();if(r!==void 0){var u=r(o);if(G5){m3(!0);try{r(o)}finally{m3(!1)}}}else u=o;return a.memoizedState=a.baseState=u,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:u},a.queue=i,i=i.dispatch=qD.bind(null,o1,i),[a.memoizedState,i]},useRef:function(i){var o=u4();return i={current:i},o.memoizedState=i},useState:function(i){i=lr(i);var o=i.queue,r=$f.bind(null,o1,o);return o.dispatch=r,[i.memoizedState,r]},useDebugValue:Lr,useDeferredValue:function(i,o){var r=u4();return cr(r,i,o)},useTransition:function(){var i=lr(!1);return i=Uf.bind(null,o1,i.queue,!0,!1),u4().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,o,r){var a=o1,u=u4();if(_1){if(r===void 0)throw Error(s(407));r=r()}else{if(r=o(),q1===null)throw Error(s(349));(x1&127)!==0||ff(a,o,r)}u.memoizedState=r;var h={value:r,getSnapshot:o};return u.queue=h,Tf(pf.bind(null,a,h,i),[i]),a.flags|=2048,G8(9,{destroy:void 0},gf.bind(null,a,h,r,o),null),r},useId:function(){var i=u4(),o=q1.identifierPrefix;if(_1){var r=O9,a=N9;r=(a&~(1<<32-x3(a)-1)).toString(32)+r,o="_"+o+"R_"+r,r=an++,0<r&&(o+="H"+r.toString(32)),o+="_"}else r=HD++,o="_"+o+"r_"+r.toString(32)+"_";return i.memoizedState=o},useHostTransitionStatus:ur,useFormState:bf,useActionState:bf,useOptimistic:function(i){var o=u4();o.memoizedState=o.baseState=i;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=r,o=dr.bind(null,o1,!0,r),r.dispatch=o,[i,o]},useMemoCache:ir,useCacheRefresh:function(){return u4().memoizedState=GD.bind(null,o1)},useEffectEvent:function(i){var o=u4(),r={impl:i};return o.memoizedState=r,function(){if((O1&2)!==0)throw Error(s(440));return r.impl.apply(void 0,arguments)}}},hr={readContext:P3,use:cn,useCallback:Df,useContext:P3,useEffect:ar,useImperativeHandle:Of,useInsertionEffect:If,useLayoutEffect:zf,useMemo:Ff,useReducer:Cn,useRef:Zf,useState:function(){return Cn(a0)},useDebugValue:Lr,useDeferredValue:function(i,o){var r=v3();return Bf(r,H1.memoizedState,i,o)},useTransition:function(){var i=Cn(a0)[0],o=v3().memoizedState;return[typeof i=="boolean"?i:z7(i),o]},useSyncExternalStore:hf,useId:Wf,useHostTransitionStatus:ur,useFormState:Af,useActionState:Af,useOptimistic:function(i,o){var r=v3();return wf(r,H1,i,o)},useMemoCache:ir,useCacheRefresh:jf};hr.useEffectEvent=Ef;var Yf={readContext:P3,use:cn,useCallback:Df,useContext:P3,useEffect:ar,useImperativeHandle:Of,useInsertionEffect:If,useLayoutEffect:zf,useMemo:Ff,useReducer:or,useRef:Zf,useState:function(){return or(a0)},useDebugValue:Lr,useDeferredValue:function(i,o){var r=v3();return H1===null?cr(r,i,o):Bf(r,H1.memoizedState,i,o)},useTransition:function(){var i=or(a0)[0],o=v3().memoizedState;return[typeof i=="boolean"?i:z7(i),o]},useSyncExternalStore:hf,useId:Wf,useHostTransitionStatus:ur,useFormState:kf,useActionState:kf,useOptimistic:function(i,o){var r=v3();return H1!==null?wf(r,H1,i,o):(r.baseState=i,[i,r.queue.dispatch])},useMemoCache:ir,useCacheRefresh:jf};Yf.useEffectEvent=Ef;function fr(i,o,r,a){o=i.memoizedState,r=r(a,o),r=r==null?o:p({},o,r),i.memoizedState=r,i.lanes===0&&(i.updateQueue.baseState=r)}var gr={enqueueSetState:function(i,o,r){i=i._reactInternals;var a=W4(),u=W0(a);u.payload=o,r!=null&&(u.callback=r),o=j0(i,u,a),o!==null&&(R4(o,i,a),Z7(o,i,a))},enqueueReplaceState:function(i,o,r){i=i._reactInternals;var a=W4(),u=W0(a);u.tag=1,u.payload=o,r!=null&&(u.callback=r),o=j0(i,u,a),o!==null&&(R4(o,i,a),Z7(o,i,a))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var r=W4(),a=W0(r);a.tag=2,o!=null&&(a.callback=o),o=j0(i,a,r),o!==null&&(R4(o,i,r),Z7(o,i,r))}};function Xf(i,o,r,a,u,h,w){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(a,h,w):o.prototype&&o.prototype.isPureReactComponent?!M7(r,a)||!M7(u,h):!0}function Qf(i,o,r,a){i=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(r,a),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(r,a),o.state!==i&&gr.enqueueReplaceState(o,o.state,null)}function q5(i,o){var r=o;if("ref"in o){r={};for(var a in o)a!=="ref"&&(r[a]=o[a])}if(i=i.defaultProps){r===o&&(r=p({},r));for(var u in i)r[u]===void 0&&(r[u]=i[u])}return r}function Kf(i){$t(i)}function Jf(i){console.error(i)}function eg(i){$t(i)}function fn(i,o){try{var r=i.onUncaughtError;r(o.value,{componentStack:o.stack})}catch(a){setTimeout(function(){throw a})}}function tg(i,o,r){try{var a=i.onCaughtError;a(r.value,{componentStack:r.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function pr(i,o,r){return r=W0(r),r.tag=3,r.payload={element:null},r.callback=function(){fn(i,o)},r}function ng(i){return i=W0(i),i.tag=3,i}function ig(i,o,r,a){var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var h=a.value;i.payload=function(){return u(h)},i.callback=function(){tg(o,r,a)}}var w=r.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(i.callback=function(){tg(o,r,a),typeof u!="function"&&(X0===null?X0=new Set([this]):X0.add(this));var R=a.stack;this.componentDidCatch(a.value,{componentStack:R!==null?R:""})})}function YD(i,o,r,a,u){if(r.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(o=r.alternate,o!==null&&B8(o,r,u,!0),r=B4.current,r!==null){switch(r.tag){case 31:case 13:return s9===null?An():r.alternate===null&&g3===0&&(g3=3),r.flags&=-257,r.flags|=65536,r.lanes=u,a===tn?r.flags|=16384:(o=r.updateQueue,o===null?r.updateQueue=new Set([a]):o.add(a),Pr(i,a,u)),!1;case 22:return r.flags|=65536,a===tn?r.flags|=16384:(o=r.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([a])},r.updateQueue=o):(r=o.retryQueue,r===null?o.retryQueue=new Set([a]):r.add(a)),Pr(i,a,u)),!1}throw Error(s(435,r.tag))}return Pr(i,a,u),An(),!1}if(_1)return o=B4.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=u,a!==Ol&&(i=Error(s(422),{cause:a}),R7(e9(i,r)))):(a!==Ol&&(o=Error(s(423),{cause:a}),R7(e9(o,r))),i=i.current.alternate,i.flags|=65536,u&=-u,i.lanes|=u,a=e9(a,r),u=pr(i.stateNode,a,u),Gl(i,u),g3!==4&&(g3=2)),!1;var h=Error(s(520),{cause:a});if(h=e9(h,r),j7===null?j7=[h]:j7.push(h),g3!==4&&(g3=2),o===null)return!0;a=e9(a,r),r=o;do{switch(r.tag){case 3:return r.flags|=65536,i=u&-u,r.lanes|=i,i=pr(r.stateNode,a,i),Gl(r,i),!1;case 1:if(o=r.type,h=r.stateNode,(r.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(X0===null||!X0.has(h))))return r.flags|=65536,u&=-u,r.lanes|=u,u=ng(u),ig(u,i,r,a),Gl(r,u),!1}r=r.return}while(r!==null);return!1}var mr=Error(s(461)),b3=!1;function W3(i,o,r,a){o.child=i===null?rf(o,null,r,a):V5(o,i.child,r,a)}function sg(i,o,r,a,u){r=r.render;var h=o.ref;if("ref"in a){var w={};for(var R in a)R!=="ref"&&(w[R]=a[R])}else w=a;return P5(o),a=Jl(i,o,r,w,h,u),R=er(),i!==null&&!b3?(tr(i,o,u),L0(i,o,u)):(_1&&R&&zl(o),o.flags|=1,W3(i,o,a,u),o.child)}function og(i,o,r,a,u){if(i===null){var h=r.type;return typeof h=="function"&&!Tl(h)&&h.defaultProps===void 0&&r.compare===null?(o.tag=15,o.type=h,lg(i,o,h,a,u)):(i=Yt(r.type,null,a,o,o.mode,u),i.ref=o.ref,i.return=o,o.child=i)}if(h=i.child,!br(i,u)){var w=h.memoizedProps;if(r=r.compare,r=r!==null?r:M7,r(w,a)&&i.ref===o.ref)return L0(i,o,u)}return o.flags|=1,i=i0(h,a),i.ref=o.ref,i.return=o,o.child=i}function lg(i,o,r,a,u){if(i!==null){var h=i.memoizedProps;if(M7(h,a)&&i.ref===o.ref)if(b3=!1,o.pendingProps=a=h,br(i,u))(i.flags&131072)!==0&&(b3=!0);else return o.lanes=i.lanes,L0(i,o,u)}return xr(i,o,r,a,u)}function rg(i,o,r,a){var u=a.children,h=i!==null?i.memoizedState:null;if(i===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((o.flags&128)!==0){if(h=h!==null?h.baseLanes|r:r,i!==null){for(a=o.child=i.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~h}else a=0,o.child=null;return ag(i,o,h,r,a)}if((r&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},i!==null&&Jt(o,h!==null?h.cachePool:null),h!==null?cf(o,h):Yl(),Cf(o);else return a=o.lanes=536870912,ag(i,o,h!==null?h.baseLanes|r:r,r,a)}else h!==null?(Jt(o,h.cachePool),cf(o,h),V0(),o.memoizedState=null):(i!==null&&Jt(o,null),Yl(),V0());return W3(i,o,u,r),o.child}function D7(i,o){return i!==null&&i.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function ag(i,o,r,a,u){var h=Wl();return h=h===null?null:{parent:y3._currentValue,pool:h},o.memoizedState={baseLanes:r,cachePool:h},i!==null&&Jt(o,null),Yl(),Cf(o),i!==null&&B8(i,o,a,!0),o.childLanes=u,null}function gn(i,o){return o=mn({mode:o.mode,children:o.children},i.mode),o.ref=i.ref,i.child=o,o.return=i,o}function Lg(i,o,r){return V5(o,i.child,null,r),i=gn(o,o.pendingProps),i.flags|=2,U4(o),o.memoizedState=null,i}function XD(i,o,r){var a=o.pendingProps,u=(o.flags&128)!==0;if(o.flags&=-129,i===null){if(_1){if(a.mode==="hidden")return i=gn(o,a),o.lanes=536870912,D7(null,i);if(Ql(o),(i=J1)?(i=vp(i,i9),i=i!==null&&i.data==="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:F0!==null?{id:N9,overflow:O9}:null,retryLane:536870912,hydrationErrors:null},r=$h(i),r.return=o,o.child=r,H3=o,J1=null)):i=null,i===null)throw U0(o);return o.lanes=536870912,null}return gn(o,a)}var h=i.memoizedState;if(h!==null){var w=h.dehydrated;if(Ql(o),u)if(o.flags&256)o.flags&=-257,o=Lg(i,o,r);else if(o.memoizedState!==null)o.child=i.child,o.flags|=128,o=null;else throw Error(s(558));else if(b3||B8(i,o,r,!1),u=(r&i.childLanes)!==0,b3||u){if(a=q1,a!==null&&(w=b8(a,r),w!==0&&w!==h.retryLane))throw h.retryLane=w,F5(i,w),R4(a,i,w),mr;An(),o=Lg(i,o,r)}else i=h.treeContext,J1=o9(w.nextSibling),H3=o,_1=!0,B0=null,i9=!1,i!==null&&qh(o,i),o=gn(o,a),o.flags|=4096;return o}return i=i0(i.child,{mode:a.mode,children:a.children}),i.ref=o.ref,o.child=i,i.return=o,i}function pn(i,o){var r=o.ref;if(r===null)i!==null&&i.ref!==null&&(o.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(i===null||i.ref!==r)&&(o.flags|=4194816)}}function xr(i,o,r,a,u){return P5(o),r=Jl(i,o,r,a,void 0,u),a=er(),i!==null&&!b3?(tr(i,o,u),L0(i,o,u)):(_1&&a&&zl(o),o.flags|=1,W3(i,o,r,u),o.child)}function cg(i,o,r,a,u,h){return P5(o),o.updateQueue=null,r=df(o,a,r,u),uf(i),a=er(),i!==null&&!b3?(tr(i,o,h),L0(i,o,h)):(_1&&a&&zl(o),o.flags|=1,W3(i,o,r,h),o.child)}function Cg(i,o,r,a,u){if(P5(o),o.stateNode===null){var h=N8,w=r.contextType;typeof w=="object"&&w!==null&&(h=P3(w)),h=new r(a,h),o.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=gr,o.stateNode=h,h._reactInternals=o,h=o.stateNode,h.props=a,h.state=o.memoizedState,h.refs={},$l(o),w=r.contextType,h.context=typeof w=="object"&&w!==null?P3(w):N8,h.state=o.memoizedState,w=r.getDerivedStateFromProps,typeof w=="function"&&(fr(o,r,w,a),h.state=o.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(w=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),w!==h.state&&gr.enqueueReplaceState(h,h.state,null),E7(o,a,h,u),T7(),h.state=o.memoizedState),typeof h.componentDidMount=="function"&&(o.flags|=4194308),a=!0}else if(i===null){h=o.stateNode;var R=o.memoizedProps,z=q5(r,R);h.props=z;var t2=h.context,r2=r.contextType;w=N8,typeof r2=="object"&&r2!==null&&(w=P3(r2));var u2=r.getDerivedStateFromProps;r2=typeof u2=="function"||typeof h.getSnapshotBeforeUpdate=="function",R=o.pendingProps!==R,r2||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(R||t2!==w)&&Qf(o,h,a,w),P0=!1;var i2=o.memoizedState;h.state=i2,E7(o,a,h,u),T7(),t2=o.memoizedState,R||i2!==t2||P0?(typeof u2=="function"&&(fr(o,r,u2,a),t2=o.memoizedState),(z=P0||Xf(o,r,z,a,i2,t2,w))?(r2||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(o.flags|=4194308)):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=a,o.memoizedState=t2),h.props=a,h.state=t2,h.context=w,a=z):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),a=!1)}else{h=o.stateNode,Vl(i,o),w=o.memoizedProps,r2=q5(r,w),h.props=r2,u2=o.pendingProps,i2=h.context,t2=r.contextType,z=N8,typeof t2=="object"&&t2!==null&&(z=P3(t2)),R=r.getDerivedStateFromProps,(t2=typeof R=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(w!==u2||i2!==z)&&Qf(o,h,a,z),P0=!1,i2=o.memoizedState,h.state=i2,E7(o,a,h,u),T7();var s2=o.memoizedState;w!==u2||i2!==s2||P0||i!==null&&i.dependencies!==null&&Qt(i.dependencies)?(typeof R=="function"&&(fr(o,r,R,a),s2=o.memoizedState),(r2=P0||Xf(o,r,r2,a,i2,s2,z)||i!==null&&i.dependencies!==null&&Qt(i.dependencies))?(t2||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(a,s2,z),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(a,s2,z)),typeof h.componentDidUpdate=="function"&&(o.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof h.componentDidUpdate!="function"||w===i.memoizedProps&&i2===i.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||w===i.memoizedProps&&i2===i.memoizedState||(o.flags|=1024),o.memoizedProps=a,o.memoizedState=s2),h.props=a,h.state=s2,h.context=z,a=r2):(typeof h.componentDidUpdate!="function"||w===i.memoizedProps&&i2===i.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||w===i.memoizedProps&&i2===i.memoizedState||(o.flags|=1024),a=!1)}return h=a,pn(i,o),a=(o.flags&128)!==0,h||a?(h=o.stateNode,r=a&&typeof r.getDerivedStateFromError!="function"?null:h.render(),o.flags|=1,i!==null&&a?(o.child=V5(o,i.child,null,u),o.child=V5(o,null,r,u)):W3(i,o,r,u),o.memoizedState=h.state,i=o.child):i=L0(i,o,u),i}function ug(i,o,r,a){return U5(),o.flags|=256,W3(i,o,r,a),o.child}var wr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vr(i){return{baseLanes:i,cachePool:ef()}}function Mr(i,o,r){return i=i!==null?i.childLanes&~r:0,o&&(i|=P4),i}function dg(i,o,r){var a=o.pendingProps,u=!1,h=(o.flags&128)!==0,w;if((w=h)||(w=i!==null&&i.memoizedState===null?!1:(w3.current&2)!==0),w&&(u=!0,o.flags&=-129),w=(o.flags&32)!==0,o.flags&=-33,i===null){if(_1){if(u?$0(o):V0(),(i=J1)?(i=vp(i,i9),i=i!==null&&i.data!=="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:F0!==null?{id:N9,overflow:O9}:null,retryLane:536870912,hydrationErrors:null},r=$h(i),r.return=o,o.child=r,H3=o,J1=null)):i=null,i===null)throw U0(o);return sa(i)?o.lanes=32:o.lanes=536870912,null}var R=a.children;return a=a.fallback,u?(V0(),u=o.mode,R=mn({mode:"hidden",children:R},u),a=B5(a,u,r,null),R.return=o,a.return=o,R.sibling=a,o.child=R,a=o.child,a.memoizedState=vr(r),a.childLanes=Mr(i,w,r),o.memoizedState=wr,D7(null,a)):($0(o),_r(o,R))}var z=i.memoizedState;if(z!==null&&(R=z.dehydrated,R!==null)){if(h)o.flags&256?($0(o),o.flags&=-257,o=yr(i,o,r)):o.memoizedState!==null?(V0(),o.child=i.child,o.flags|=128,o=null):(V0(),R=a.fallback,u=o.mode,a=mn({mode:"visible",children:a.children},u),R=B5(R,u,r,null),R.flags|=2,a.return=o,R.return=o,a.sibling=R,o.child=a,V5(o,i.child,null,r),a=o.child,a.memoizedState=vr(r),a.childLanes=Mr(i,w,r),o.memoizedState=wr,o=D7(null,a));else if($0(o),sa(R)){if(w=R.nextSibling&&R.nextSibling.dataset,w)var t2=w.dgst;w=t2,a=Error(s(419)),a.stack="",a.digest=w,R7({value:a,source:null,stack:null}),o=yr(i,o,r)}else if(b3||B8(i,o,r,!1),w=(r&i.childLanes)!==0,b3||w){if(w=q1,w!==null&&(a=b8(w,r),a!==0&&a!==z.retryLane))throw z.retryLane=a,F5(i,a),R4(w,i,a),mr;ia(R)||An(),o=yr(i,o,r)}else ia(R)?(o.flags|=192,o.child=i.child,o=null):(i=z.treeContext,J1=o9(R.nextSibling),H3=o,_1=!0,B0=null,i9=!1,i!==null&&qh(o,i),o=_r(o,a.children),o.flags|=4096);return o}return u?(V0(),R=a.fallback,u=o.mode,z=i.child,t2=z.sibling,a=i0(z,{mode:"hidden",children:a.children}),a.subtreeFlags=z.subtreeFlags&65011712,t2!==null?R=i0(t2,R):(R=B5(R,u,r,null),R.flags|=2),R.return=o,a.return=o,a.sibling=R,o.child=a,D7(null,a),a=o.child,R=i.child.memoizedState,R===null?R=vr(r):(u=R.cachePool,u!==null?(z=y3._currentValue,u=u.parent!==z?{parent:z,pool:z}:u):u=ef(),R={baseLanes:R.baseLanes|r,cachePool:u}),a.memoizedState=R,a.childLanes=Mr(i,w,r),o.memoizedState=wr,D7(i.child,a)):($0(o),r=i.child,i=r.sibling,r=i0(r,{mode:"visible",children:a.children}),r.return=o,r.sibling=null,i!==null&&(w=o.deletions,w===null?(o.deletions=[i],o.flags|=16):w.push(i)),o.child=r,o.memoizedState=null,r)}function _r(i,o){return o=mn({mode:"visible",children:o},i.mode),o.return=i,i.child=o}function mn(i,o){return i=F4(22,i,null,o),i.lanes=0,i}function yr(i,o,r){return V5(o,i.child,null,r),i=_r(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function hg(i,o,r){i.lanes|=o;var a=i.alternate;a!==null&&(a.lanes|=o),Bl(i.return,o,r)}function Rr(i,o,r,a,u,h){var w=i.memoizedState;w===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:a,tail:r,tailMode:u,treeForkCount:h}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=a,w.tail=r,w.tailMode=u,w.treeForkCount=h)}function fg(i,o,r){var a=o.pendingProps,u=a.revealOrder,h=a.tail;a=a.children;var w=w3.current,R=(w&2)!==0;if(R?(w=w&1|2,o.flags|=128):w&=1,E(w3,w),W3(i,o,a,r),a=_1?y7:0,!R&&i!==null&&(i.flags&128)!==0)e:for(i=o.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&hg(i,r,o);else if(i.tag===19)hg(i,r,o);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break e;for(;i.sibling===null;){if(i.return===null||i.return===o)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(u){case"forwards":for(r=o.child,u=null;r!==null;)i=r.alternate,i!==null&&ln(i)===null&&(u=r),r=r.sibling;r=u,r===null?(u=o.child,o.child=null):(u=r.sibling,r.sibling=null),Rr(o,!1,u,r,h,a);break;case"backwards":case"unstable_legacy-backwards":for(r=null,u=o.child,o.child=null;u!==null;){if(i=u.alternate,i!==null&&ln(i)===null){o.child=u;break}i=u.sibling,u.sibling=r,r=u,u=i}Rr(o,!0,r,null,h,a);break;case"together":Rr(o,!1,null,null,void 0,a);break;default:o.memoizedState=null}return o.child}function L0(i,o,r){if(i!==null&&(o.dependencies=i.dependencies),Y0|=o.lanes,(r&o.childLanes)===0)if(i!==null){if(B8(i,o,r,!1),(r&o.childLanes)===0)return null}else return null;if(i!==null&&o.child!==i.child)throw Error(s(153));if(o.child!==null){for(i=o.child,r=i0(i,i.pendingProps),o.child=r,r.return=o;i.sibling!==null;)i=i.sibling,r=r.sibling=i0(i,i.pendingProps),r.return=o;r.sibling=null}return o.child}function br(i,o){return(i.lanes&o)!==0?!0:(i=i.dependencies,!!(i!==null&&Qt(i)))}function QD(i,o,r){switch(o.tag){case 3:N2(o,o.stateNode.containerInfo),H0(o,y3,i.memoizedState.cache),U5();break;case 27:case 5:K2(o);break;case 4:N2(o,o.stateNode.containerInfo);break;case 10:H0(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,Ql(o),null;break;case 13:var a=o.memoizedState;if(a!==null)return a.dehydrated!==null?($0(o),o.flags|=128,null):(r&o.child.childLanes)!==0?dg(i,o,r):($0(o),i=L0(i,o,r),i!==null?i.sibling:null);$0(o);break;case 19:var u=(i.flags&128)!==0;if(a=(r&o.childLanes)!==0,a||(B8(i,o,r,!1),a=(r&o.childLanes)!==0),u){if(a)return fg(i,o,r);o.flags|=128}if(u=o.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),E(w3,w3.current),a)break;return null;case 22:return o.lanes=0,rg(i,o,r,o.pendingProps);case 24:H0(o,y3,i.memoizedState.cache)}return L0(i,o,r)}function gg(i,o,r){if(i!==null)if(i.memoizedProps!==o.pendingProps)b3=!0;else{if(!br(i,r)&&(o.flags&128)===0)return b3=!1,QD(i,o,r);b3=(i.flags&131072)!==0}else b3=!1,_1&&(o.flags&1048576)!==0&&Gh(o,y7,o.index);switch(o.lanes=0,o.tag){case 16:e:{var a=o.pendingProps;if(i=j5(o.elementType),o.type=i,typeof i=="function")Tl(i)?(a=q5(i,a),o.tag=1,o=Cg(null,o,i,a,r)):(o.tag=0,o=xr(null,o,i,a,r));else{if(i!=null){var u=i.$$typeof;if(u===O){o.tag=11,o=sg(null,o,i,a,r);break e}else if(u===Y){o.tag=14,o=og(null,o,i,a,r);break e}}throw o=V(i)||i,Error(s(306,o,""))}}return o;case 0:return xr(i,o,o.type,o.pendingProps,r);case 1:return a=o.type,u=q5(a,o.pendingProps),Cg(i,o,a,u,r);case 3:e:{if(N2(o,o.stateNode.containerInfo),i===null)throw Error(s(387));a=o.pendingProps;var h=o.memoizedState;u=h.element,Vl(i,o),E7(o,a,null,r);var w=o.memoizedState;if(a=w.cache,H0(o,y3,a),a!==h.cache&&Ul(o,[y3],r,!0),T7(),a=w.element,h.isDehydrated)if(h={element:a,isDehydrated:!1,cache:w.cache},o.updateQueue.baseState=h,o.memoizedState=h,o.flags&256){o=ug(i,o,a,r);break e}else if(a!==u){u=e9(Error(s(424)),o),R7(u),o=ug(i,o,a,r);break e}else{switch(i=o.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(J1=o9(i.firstChild),H3=o,_1=!0,B0=null,i9=!0,r=rf(o,null,a,r),o.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(U5(),a===u){o=L0(i,o,r);break e}W3(i,o,a,r)}o=o.child}return o;case 26:return pn(i,o),i===null?(r=Ap(o.type,null,o.pendingProps,null))?o.memoizedState=r:_1||(r=o.type,i=o.pendingProps,a=zn(m2.current).createElement(r),a[u3]=o,a[B1]=i,j3(a,r,i),l1(a),o.stateNode=a):o.memoizedState=Ap(o.type,i.memoizedProps,o.pendingProps,i.memoizedState),null;case 27:return K2(o),i===null&&_1&&(a=o.stateNode=yp(o.type,o.pendingProps,m2.current),H3=o,i9=!0,u=J1,e5(o.type)?(oa=u,J1=o9(a.firstChild)):J1=u),W3(i,o,o.pendingProps.children,r),pn(i,o),i===null&&(o.flags|=4194304),o.child;case 5:return i===null&&_1&&((u=a=J1)&&(a=AF(a,o.type,o.pendingProps,i9),a!==null?(o.stateNode=a,H3=o,J1=o9(a.firstChild),i9=!1,u=!0):u=!1),u||U0(o)),K2(o),u=o.type,h=o.pendingProps,w=i!==null?i.memoizedProps:null,a=h.children,ea(u,h)?a=null:w!==null&&ea(u,w)&&(o.flags|=32),o.memoizedState!==null&&(u=Jl(i,o,PD,null,null,r),K7._currentValue=u),pn(i,o),W3(i,o,a,r),o.child;case 6:return i===null&&_1&&((i=r=J1)&&(r=SF(r,o.pendingProps,i9),r!==null?(o.stateNode=r,H3=o,J1=null,i=!0):i=!1),i||U0(o)),null;case 13:return dg(i,o,r);case 4:return N2(o,o.stateNode.containerInfo),a=o.pendingProps,i===null?o.child=V5(o,null,a,r):W3(i,o,a,r),o.child;case 11:return sg(i,o,o.type,o.pendingProps,r);case 7:return W3(i,o,o.pendingProps,r),o.child;case 8:return W3(i,o,o.pendingProps.children,r),o.child;case 12:return W3(i,o,o.pendingProps.children,r),o.child;case 10:return a=o.pendingProps,H0(o,o.type,a.value),W3(i,o,a.children,r),o.child;case 9:return u=o.type._context,a=o.pendingProps.children,P5(o),u=P3(u),a=a(u),o.flags|=1,W3(i,o,a,r),o.child;case 14:return og(i,o,o.type,o.pendingProps,r);case 15:return lg(i,o,o.type,o.pendingProps,r);case 19:return fg(i,o,r);case 31:return XD(i,o,r);case 22:return rg(i,o,r,o.pendingProps);case 24:return P5(o),a=P3(y3),i===null?(u=Wl(),u===null&&(u=q1,h=Hl(),u.pooledCache=h,h.refCount++,h!==null&&(u.pooledCacheLanes|=r),u=h),o.memoizedState={parent:a,cache:u},$l(o),H0(o,y3,u)):((i.lanes&r)!==0&&(Vl(i,o),E7(o,null,null,r),T7()),u=i.memoizedState,h=o.memoizedState,u.parent!==a?(u={parent:a,cache:a},o.memoizedState=u,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=u),H0(o,y3,a)):(a=h.cache,H0(o,y3,a),a!==u.cache&&Ul(o,[y3],r,!0))),W3(i,o,o.pendingProps.children,r),o.child;case 29:throw o.pendingProps}throw Error(s(156,o.tag))}function c0(i){i.flags|=4}function Ar(i,o,r,a,u){if((o=(i.mode&32)!==0)&&(o=!1),o){if(i.flags|=16777216,(u&335544128)===u)if(i.stateNode.complete)i.flags|=8192;else if(Wg())i.flags|=8192;else throw $5=tn,jl}else i.flags&=-16777217}function pg(i,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!Ep(o))if(Wg())i.flags|=8192;else throw $5=tn,jl}function xn(i,o){o!==null&&(i.flags|=4),i.flags&16384&&(o=i.tag!==22?q2():536870912,i.lanes|=o,Q8|=o)}function F7(i,o){if(!_1)switch(i.tailMode){case"hidden":o=i.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?i.tail=null:r.sibling=null;break;case"collapsed":r=i.tail;for(var a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?o||i.tail===null?i.tail=null:i.tail.sibling=null:a.sibling=null}}function e3(i){var o=i.alternate!==null&&i.alternate.child===i.child,r=0,a=0;if(o)for(var u=i.child;u!==null;)r|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=i,u=u.sibling;else for(u=i.child;u!==null;)r|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=i,u=u.sibling;return i.subtreeFlags|=a,i.childLanes=r,o}function KD(i,o,r){var a=o.pendingProps;switch(Nl(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return e3(o),null;case 1:return e3(o),null;case 3:return r=o.stateNode,a=null,i!==null&&(a=i.memoizedState.cache),o.memoizedState.cache!==a&&(o.flags|=2048),l0(y3),P2(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(i===null||i.child===null)&&(F8(o)?c0(o):i===null||i.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Dl())),e3(o),null;case 26:var u=o.type,h=o.memoizedState;return i===null?(c0(o),h!==null?(e3(o),pg(o,h)):(e3(o),Ar(o,u,null,a,r))):h?h!==i.memoizedState?(c0(o),e3(o),pg(o,h)):(e3(o),o.flags&=-16777217):(i=i.memoizedProps,i!==a&&c0(o),e3(o),Ar(o,u,i,a,r)),null;case 27:if(f1(o),r=m2.current,u=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==a&&c0(o);else{if(!a){if(o.stateNode===null)throw Error(s(166));return e3(o),null}i=U.current,F8(o)?Yh(o):(i=yp(u,a,r),o.stateNode=i,c0(o))}return e3(o),null;case 5:if(f1(o),u=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==a&&c0(o);else{if(!a){if(o.stateNode===null)throw Error(s(166));return e3(o),null}if(h=U.current,F8(o))Yh(o);else{var w=zn(m2.current);switch(h){case 1:h=w.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:h=w.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":h=w.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":h=w.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":h=w.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof a.is=="string"?w.createElement("select",{is:a.is}):w.createElement("select"),a.multiple?h.multiple=!0:a.size&&(h.size=a.size);break;default:h=typeof a.is=="string"?w.createElement(u,{is:a.is}):w.createElement(u)}}h[u3]=o,h[B1]=a;e:for(w=o.child;w!==null;){if(w.tag===5||w.tag===6)h.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===o)break e;for(;w.sibling===null;){if(w.return===null||w.return===o)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}o.stateNode=h;e:switch(j3(h,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&c0(o)}}return e3(o),Ar(o,o.type,i===null?null:i.memoizedProps,o.pendingProps,r),null;case 6:if(i&&o.stateNode!=null)i.memoizedProps!==a&&c0(o);else{if(typeof a!="string"&&o.stateNode===null)throw Error(s(166));if(i=m2.current,F8(o)){if(i=o.stateNode,r=o.memoizedProps,a=null,u=H3,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}i[u3]=o,i=!!(i.nodeValue===r||a!==null&&a.suppressHydrationWarning===!0||dp(i.nodeValue,r)),i||U0(o,!0)}else i=zn(i).createTextNode(a),i[u3]=o,o.stateNode=i}return e3(o),null;case 31:if(r=o.memoizedState,i===null||i.memoizedState!==null){if(a=F8(o),r!==null){if(i===null){if(!a)throw Error(s(318));if(i=o.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(557));i[u3]=o}else U5(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;e3(o),i=!1}else r=Dl(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=r),i=!0;if(!i)return o.flags&256?(U4(o),o):(U4(o),null);if((o.flags&128)!==0)throw Error(s(558))}return e3(o),null;case 13:if(a=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(u=F8(o),a!==null&&a.dehydrated!==null){if(i===null){if(!u)throw Error(s(318));if(u=o.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(s(317));u[u3]=o}else U5(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;e3(o),u=!1}else u=Dl(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=u),u=!0;if(!u)return o.flags&256?(U4(o),o):(U4(o),null)}return U4(o),(o.flags&128)!==0?(o.lanes=r,o):(r=a!==null,i=i!==null&&i.memoizedState!==null,r&&(a=o.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),h=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(h=a.memoizedState.cachePool.pool),h!==u&&(a.flags|=2048)),r!==i&&r&&(o.child.flags|=8192),xn(o,o.updateQueue),e3(o),null);case 4:return P2(),i===null&&Yr(o.stateNode.containerInfo),e3(o),null;case 10:return l0(o.type),e3(o),null;case 19:if(F(w3),a=o.memoizedState,a===null)return e3(o),null;if(u=(o.flags&128)!==0,h=a.rendering,h===null)if(u)F7(a,!1);else{if(g3!==0||i!==null&&(i.flags&128)!==0)for(i=o.child;i!==null;){if(h=ln(i),h!==null){for(o.flags|=128,F7(a,!1),i=h.updateQueue,o.updateQueue=i,xn(o,i),o.subtreeFlags=0,i=r,r=o.child;r!==null;)jh(r,i),r=r.sibling;return E(w3,w3.current&1|2),_1&&s0(o,a.treeForkCount),o.child}i=i.sibling}a.tail!==null&&I1()>yn&&(o.flags|=128,u=!0,F7(a,!1),o.lanes=4194304)}else{if(!u)if(i=ln(h),i!==null){if(o.flags|=128,u=!0,i=i.updateQueue,o.updateQueue=i,xn(o,i),F7(a,!0),a.tail===null&&a.tailMode==="hidden"&&!h.alternate&&!_1)return e3(o),null}else 2*I1()-a.renderingStartTime>yn&&r!==536870912&&(o.flags|=128,u=!0,F7(a,!1),o.lanes=4194304);a.isBackwards?(h.sibling=o.child,o.child=h):(i=a.last,i!==null?i.sibling=h:o.child=h,a.last=h)}return a.tail!==null?(i=a.tail,a.rendering=i,a.tail=i.sibling,a.renderingStartTime=I1(),i.sibling=null,r=w3.current,E(w3,u?r&1|2:r&1),_1&&s0(o,a.treeForkCount),i):(e3(o),null);case 22:case 23:return U4(o),Xl(),a=o.memoizedState!==null,i!==null?i.memoizedState!==null!==a&&(o.flags|=8192):a&&(o.flags|=8192),a?(r&536870912)!==0&&(o.flags&128)===0&&(e3(o),o.subtreeFlags&6&&(o.flags|=8192)):e3(o),r=o.updateQueue,r!==null&&xn(o,r.retryQueue),r=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),a=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(a=o.memoizedState.cachePool.pool),a!==r&&(o.flags|=2048),i!==null&&F(W5),null;case 24:return r=null,i!==null&&(r=i.memoizedState.cache),o.memoizedState.cache!==r&&(o.flags|=2048),l0(y3),e3(o),null;case 25:return null;case 30:return null}throw Error(s(156,o.tag))}function JD(i,o){switch(Nl(o),o.tag){case 1:return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return l0(y3),P2(),i=o.flags,(i&65536)!==0&&(i&128)===0?(o.flags=i&-65537|128,o):null;case 26:case 27:case 5:return f1(o),null;case 31:if(o.memoizedState!==null){if(U4(o),o.alternate===null)throw Error(s(340));U5()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 13:if(U4(o),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(s(340));U5()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return F(w3),null;case 4:return P2(),null;case 10:return l0(o.type),null;case 22:case 23:return U4(o),Xl(),i!==null&&F(W5),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 24:return l0(y3),null;case 25:return null;default:return null}}function mg(i,o){switch(Nl(o),o.tag){case 3:l0(y3),P2();break;case 26:case 27:case 5:f1(o);break;case 4:P2();break;case 31:o.memoizedState!==null&&U4(o);break;case 13:U4(o);break;case 19:F(w3);break;case 10:l0(o.type);break;case 22:case 23:U4(o),Xl(),i!==null&&F(W5);break;case 24:l0(y3)}}function B7(i,o){try{var r=o.updateQueue,a=r!==null?r.lastEffect:null;if(a!==null){var u=a.next;r=u;do{if((r.tag&i)===i){a=void 0;var h=r.create,w=r.inst;a=h(),w.destroy=a}r=r.next}while(r!==u)}}catch(R){F1(o,o.return,R)}}function G0(i,o,r){try{var a=o.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var h=u.next;a=h;do{if((a.tag&i)===i){var w=a.inst,R=w.destroy;if(R!==void 0){w.destroy=void 0,u=o;var z=r,t2=R;try{t2()}catch(r2){F1(u,z,r2)}}}a=a.next}while(a!==h)}}catch(r2){F1(o,o.return,r2)}}function xg(i){var o=i.updateQueue;if(o!==null){var r=i.stateNode;try{Lf(o,r)}catch(a){F1(i,i.return,a)}}}function wg(i,o,r){r.props=q5(i.type,i.memoizedProps),r.state=i.memoizedState;try{r.componentWillUnmount()}catch(a){F1(i,o,a)}}function U7(i,o){try{var r=i.ref;if(r!==null){switch(i.tag){case 26:case 27:case 5:var a=i.stateNode;break;case 30:a=i.stateNode;break;default:a=i.stateNode}typeof r=="function"?i.refCleanup=r(a):r.current=a}}catch(u){F1(i,o,u)}}function D9(i,o){var r=i.ref,a=i.refCleanup;if(r!==null)if(typeof a=="function")try{a()}catch(u){F1(i,o,u)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(u){F1(i,o,u)}else r.current=null}function vg(i){var o=i.type,r=i.memoizedProps,a=i.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":r.autoFocus&&a.focus();break e;case"img":r.src?a.src=r.src:r.srcSet&&(a.srcset=r.srcSet)}}catch(u){F1(i,i.return,u)}}function Sr(i,o,r){try{var a=i.stateNode;vF(a,i.type,r,o),a[B1]=o}catch(u){F1(i,i.return,u)}}function Mg(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&e5(i.type)||i.tag===4}function kr(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||Mg(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&e5(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Zr(i,o,r){var a=i.tag;if(a===5||a===6)i=i.stateNode,o?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(i,o):(o=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,o.appendChild(i),r=r._reactRootContainer,r!=null||o.onclick!==null||(o.onclick=Q2));else if(a!==4&&(a===27&&e5(i.type)&&(r=i.stateNode,o=null),i=i.child,i!==null))for(Zr(i,o,r),i=i.sibling;i!==null;)Zr(i,o,r),i=i.sibling}function wn(i,o,r){var a=i.tag;if(a===5||a===6)i=i.stateNode,o?r.insertBefore(i,o):r.appendChild(i);else if(a!==4&&(a===27&&e5(i.type)&&(r=i.stateNode),i=i.child,i!==null))for(wn(i,o,r),i=i.sibling;i!==null;)wn(i,o,r),i=i.sibling}function _g(i){var o=i.stateNode,r=i.memoizedProps;try{for(var a=i.type,u=o.attributes;u.length;)o.removeAttributeNode(u[0]);j3(o,a,r),o[u3]=i,o[B1]=r}catch(h){F1(i,i.return,h)}}var C0=!1,A3=!1,Tr=!1,yg=typeof WeakSet=="function"?WeakSet:Set,z3=null;function eF(i,o){if(i=i.containerInfo,Kr=Hn,i=Nh(i),yl(i)){if("selectionStart"in i)var r={start:i.selectionStart,end:i.selectionEnd};else e:{r=(r=i.ownerDocument)&&r.defaultView||window;var a=r.getSelection&&r.getSelection();if(a&&a.rangeCount!==0){r=a.anchorNode;var u=a.anchorOffset,h=a.focusNode;a=a.focusOffset;try{r.nodeType,h.nodeType}catch{r=null;break e}var w=0,R=-1,z=-1,t2=0,r2=0,u2=i,i2=null;t:for(;;){for(var s2;u2!==r||u!==0&&u2.nodeType!==3||(R=w+u),u2!==h||a!==0&&u2.nodeType!==3||(z=w+a),u2.nodeType===3&&(w+=u2.nodeValue.length),(s2=u2.firstChild)!==null;)i2=u2,u2=s2;for(;;){if(u2===i)break t;if(i2===r&&++t2===u&&(R=w),i2===h&&++r2===a&&(z=w),(s2=u2.nextSibling)!==null)break;u2=i2,i2=u2.parentNode}u2=s2}r=R===-1||z===-1?null:{start:R,end:z}}else r=null}r=r||{start:0,end:0}}else r=null;for(Jr={focusedElem:i,selectionRange:r},Hn=!1,z3=o;z3!==null;)if(o=z3,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,z3=i;else for(;z3!==null;){switch(o=z3,h=o.alternate,i=o.flags,o.tag){case 0:if((i&4)!==0&&(i=o.updateQueue,i=i!==null?i.events:null,i!==null))for(r=0;r<i.length;r++)u=i[r],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&h!==null){i=void 0,r=o,u=h.memoizedProps,h=h.memoizedState,a=r.stateNode;try{var T2=q5(r.type,u);i=a.getSnapshotBeforeUpdate(T2,h),a.__reactInternalSnapshotBeforeUpdate=i}catch(Y2){F1(r,r.return,Y2)}}break;case 3:if((i&1024)!==0){if(i=o.stateNode.containerInfo,r=i.nodeType,r===9)na(i);else if(r===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":na(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(s(163))}if(i=o.sibling,i!==null){i.return=o.return,z3=i;break}z3=o.return}}function Rg(i,o,r){var a=r.flags;switch(r.tag){case 0:case 11:case 15:d0(i,r),a&4&&B7(5,r);break;case 1:if(d0(i,r),a&4)if(i=r.stateNode,o===null)try{i.componentDidMount()}catch(w){F1(r,r.return,w)}else{var u=q5(r.type,o.memoizedProps);o=o.memoizedState;try{i.componentDidUpdate(u,o,i.__reactInternalSnapshotBeforeUpdate)}catch(w){F1(r,r.return,w)}}a&64&&xg(r),a&512&&U7(r,r.return);break;case 3:if(d0(i,r),a&64&&(i=r.updateQueue,i!==null)){if(o=null,r.child!==null)switch(r.child.tag){case 27:case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}try{Lf(i,o)}catch(w){F1(r,r.return,w)}}break;case 27:o===null&&a&4&&_g(r);case 26:case 5:d0(i,r),o===null&&a&4&&vg(r),a&512&&U7(r,r.return);break;case 12:d0(i,r);break;case 31:d0(i,r),a&4&&Sg(i,r);break;case 13:d0(i,r),a&4&&kg(i,r),a&64&&(i=r.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(r=LF.bind(null,r),kF(i,r))));break;case 22:if(a=r.memoizedState!==null||C0,!a){o=o!==null&&o.memoizedState!==null||A3,u=C0;var h=A3;C0=a,(A3=o)&&!h?h0(i,r,(r.subtreeFlags&8772)!==0):d0(i,r),C0=u,A3=h}break;case 30:break;default:d0(i,r)}}function bg(i){var o=i.alternate;o!==null&&(i.alternate=null,bg(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&D(o)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var s3=null,v4=!1;function u0(i,o,r){for(r=r.child;r!==null;)Ag(i,o,r),r=r.sibling}function Ag(i,o,r){if(p3&&typeof p3.onCommitFiberUnmount=="function")try{p3.onCommitFiberUnmount(m4,r)}catch{}switch(r.tag){case 26:A3||D9(r,o),u0(i,o,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:A3||D9(r,o);var a=s3,u=v4;e5(r.type)&&(s3=r.stateNode,v4=!1),u0(i,o,r),Y7(r.stateNode),s3=a,v4=u;break;case 5:A3||D9(r,o);case 6:if(a=s3,u=v4,s3=null,u0(i,o,r),s3=a,v4=u,s3!==null)if(v4)try{(s3.nodeType===9?s3.body:s3.nodeName==="HTML"?s3.ownerDocument.body:s3).removeChild(r.stateNode)}catch(h){F1(r,o,h)}else try{s3.removeChild(r.stateNode)}catch(h){F1(r,o,h)}break;case 18:s3!==null&&(v4?(i=s3,xp(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,r.stateNode),o6(i)):xp(s3,r.stateNode));break;case 4:a=s3,u=v4,s3=r.stateNode.containerInfo,v4=!0,u0(i,o,r),s3=a,v4=u;break;case 0:case 11:case 14:case 15:G0(2,r,o),A3||G0(4,r,o),u0(i,o,r);break;case 1:A3||(D9(r,o),a=r.stateNode,typeof a.componentWillUnmount=="function"&&wg(r,o,a)),u0(i,o,r);break;case 21:u0(i,o,r);break;case 22:A3=(a=A3)||r.memoizedState!==null,u0(i,o,r),A3=a;break;default:u0(i,o,r)}}function Sg(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{o6(i)}catch(r){F1(o,o.return,r)}}}function kg(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{o6(i)}catch(r){F1(o,o.return,r)}}function tF(i){switch(i.tag){case 31:case 13:case 19:var o=i.stateNode;return o===null&&(o=i.stateNode=new yg),o;case 22:return i=i.stateNode,o=i._retryCache,o===null&&(o=i._retryCache=new yg),o;default:throw Error(s(435,i.tag))}}function vn(i,o){var r=tF(i);o.forEach(function(a){if(!r.has(a)){r.add(a);var u=cF.bind(null,i,a);a.then(u,u)}})}function M4(i,o){var r=o.deletions;if(r!==null)for(var a=0;a<r.length;a++){var u=r[a],h=i,w=o,R=w;e:for(;R!==null;){switch(R.tag){case 27:if(e5(R.type)){s3=R.stateNode,v4=!1;break e}break;case 5:s3=R.stateNode,v4=!1;break e;case 3:case 4:s3=R.stateNode.containerInfo,v4=!0;break e}R=R.return}if(s3===null)throw Error(s(160));Ag(h,w,u),s3=null,v4=!1,h=u.alternate,h!==null&&(h.return=null),u.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Zg(o,i),o=o.sibling}var p9=null;function Zg(i,o){var r=i.alternate,a=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:M4(o,i),_4(i),a&4&&(G0(3,i,i.return),B7(3,i),G0(5,i,i.return));break;case 1:M4(o,i),_4(i),a&512&&(A3||r===null||D9(r,r.return)),a&64&&C0&&(i=i.updateQueue,i!==null&&(a=i.callbacks,a!==null&&(r=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=r===null?a:r.concat(a))));break;case 26:var u=p9;if(M4(o,i),_4(i),a&512&&(A3||r===null||D9(r,r.return)),a&4){var h=r!==null?r.memoizedState:null;if(a=i.memoizedState,r===null)if(a===null)if(i.stateNode===null){e:{a=i.type,r=i.memoizedProps,u=u.ownerDocument||u;t:switch(a){case"title":h=u.getElementsByTagName("title")[0],(!h||h[O2]||h[u3]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=u.createElement(a),u.head.insertBefore(h,u.querySelector("head > title"))),j3(h,a,r),h[u3]=i,l1(h),a=h;break e;case"link":var w=Zp("link","href",u).get(a+(r.href||""));if(w){for(var R=0;R<w.length;R++)if(h=w[R],h.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&h.getAttribute("rel")===(r.rel==null?null:r.rel)&&h.getAttribute("title")===(r.title==null?null:r.title)&&h.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){w.splice(R,1);break t}}h=u.createElement(a),j3(h,a,r),u.head.appendChild(h);break;case"meta":if(w=Zp("meta","content",u).get(a+(r.content||""))){for(R=0;R<w.length;R++)if(h=w[R],h.getAttribute("content")===(r.content==null?null:""+r.content)&&h.getAttribute("name")===(r.name==null?null:r.name)&&h.getAttribute("property")===(r.property==null?null:r.property)&&h.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&h.getAttribute("charset")===(r.charSet==null?null:r.charSet)){w.splice(R,1);break t}}h=u.createElement(a),j3(h,a,r),u.head.appendChild(h);break;default:throw Error(s(468,a))}h[u3]=i,l1(h),a=h}i.stateNode=a}else Tp(u,i.type,i.stateNode);else i.stateNode=kp(u,a,i.memoizedProps);else h!==a?(h===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):h.count--,a===null?Tp(u,i.type,i.stateNode):kp(u,a,i.memoizedProps)):a===null&&i.stateNode!==null&&Sr(i,i.memoizedProps,r.memoizedProps)}break;case 27:M4(o,i),_4(i),a&512&&(A3||r===null||D9(r,r.return)),r!==null&&a&4&&Sr(i,i.memoizedProps,r.memoizedProps);break;case 5:if(M4(o,i),_4(i),a&512&&(A3||r===null||D9(r,r.return)),i.flags&32){u=i.stateNode;try{d3(u,"")}catch(T2){F1(i,i.return,T2)}}a&4&&i.stateNode!=null&&(u=i.memoizedProps,Sr(i,u,r!==null?r.memoizedProps:u)),a&1024&&(Tr=!0);break;case 6:if(M4(o,i),_4(i),a&4){if(i.stateNode===null)throw Error(s(162));a=i.memoizedProps,r=i.stateNode;try{r.nodeValue=a}catch(T2){F1(i,i.return,T2)}}break;case 3:if(Dn=null,u=p9,p9=Nn(o.containerInfo),M4(o,i),p9=u,_4(i),a&4&&r!==null&&r.memoizedState.isDehydrated)try{o6(o.containerInfo)}catch(T2){F1(i,i.return,T2)}Tr&&(Tr=!1,Tg(i));break;case 4:a=p9,p9=Nn(i.stateNode.containerInfo),M4(o,i),_4(i),p9=a;break;case 12:M4(o,i),_4(i);break;case 31:M4(o,i),_4(i),a&4&&(a=i.updateQueue,a!==null&&(i.updateQueue=null,vn(i,a)));break;case 13:M4(o,i),_4(i),i.child.flags&8192&&i.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(_n=I1()),a&4&&(a=i.updateQueue,a!==null&&(i.updateQueue=null,vn(i,a)));break;case 22:u=i.memoizedState!==null;var z=r!==null&&r.memoizedState!==null,t2=C0,r2=A3;if(C0=t2||u,A3=r2||z,M4(o,i),A3=r2,C0=t2,_4(i),a&8192)e:for(o=i.stateNode,o._visibility=u?o._visibility&-2:o._visibility|1,u&&(r===null||z||C0||A3||Y5(i)),r=null,o=i;;){if(o.tag===5||o.tag===26){if(r===null){z=r=o;try{if(h=z.stateNode,u)w=h.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{R=z.stateNode;var u2=z.memoizedProps.style,i2=u2!=null&&u2.hasOwnProperty("display")?u2.display:null;R.style.display=i2==null||typeof i2=="boolean"?"":(""+i2).trim()}}catch(T2){F1(z,z.return,T2)}}}else if(o.tag===6){if(r===null){z=o;try{z.stateNode.nodeValue=u?"":z.memoizedProps}catch(T2){F1(z,z.return,T2)}}}else if(o.tag===18){if(r===null){z=o;try{var s2=z.stateNode;u?wp(s2,!0):wp(z.stateNode,!1)}catch(T2){F1(z,z.return,T2)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===i)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;r===o&&(r=null),o=o.return}r===o&&(r=null),o.sibling.return=o.return,o=o.sibling}a&4&&(a=i.updateQueue,a!==null&&(r=a.retryQueue,r!==null&&(a.retryQueue=null,vn(i,r))));break;case 19:M4(o,i),_4(i),a&4&&(a=i.updateQueue,a!==null&&(i.updateQueue=null,vn(i,a)));break;case 30:break;case 21:break;default:M4(o,i),_4(i)}}function _4(i){var o=i.flags;if(o&2){try{for(var r,a=i.return;a!==null;){if(Mg(a)){r=a;break}a=a.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var u=r.stateNode,h=kr(i);wn(i,h,u);break;case 5:var w=r.stateNode;r.flags&32&&(d3(w,""),r.flags&=-33);var R=kr(i);wn(i,R,w);break;case 3:case 4:var z=r.stateNode.containerInfo,t2=kr(i);Zr(i,t2,z);break;default:throw Error(s(161))}}catch(r2){F1(i,i.return,r2)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function Tg(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var o=i;Tg(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),i=i.sibling}}function d0(i,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)Rg(i,o.alternate,o),o=o.sibling}function Y5(i){for(i=i.child;i!==null;){var o=i;switch(o.tag){case 0:case 11:case 14:case 15:G0(4,o,o.return),Y5(o);break;case 1:D9(o,o.return);var r=o.stateNode;typeof r.componentWillUnmount=="function"&&wg(o,o.return,r),Y5(o);break;case 27:Y7(o.stateNode);case 26:case 5:D9(o,o.return),Y5(o);break;case 22:o.memoizedState===null&&Y5(o);break;case 30:Y5(o);break;default:Y5(o)}i=i.sibling}}function h0(i,o,r){for(r=r&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var a=o.alternate,u=i,h=o,w=h.flags;switch(h.tag){case 0:case 11:case 15:h0(u,h,r),B7(4,h);break;case 1:if(h0(u,h,r),a=h,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(t2){F1(a,a.return,t2)}if(a=h,u=a.updateQueue,u!==null){var R=a.stateNode;try{var z=u.shared.hiddenCallbacks;if(z!==null)for(u.shared.hiddenCallbacks=null,u=0;u<z.length;u++)af(z[u],R)}catch(t2){F1(a,a.return,t2)}}r&&w&64&&xg(h),U7(h,h.return);break;case 27:_g(h);case 26:case 5:h0(u,h,r),r&&a===null&&w&4&&vg(h),U7(h,h.return);break;case 12:h0(u,h,r);break;case 31:h0(u,h,r),r&&w&4&&Sg(u,h);break;case 13:h0(u,h,r),r&&w&4&&kg(u,h);break;case 22:h.memoizedState===null&&h0(u,h,r),U7(h,h.return);break;case 30:break;default:h0(u,h,r)}o=o.sibling}}function Er(i,o){var r=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),i=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(i=o.memoizedState.cachePool.pool),i!==r&&(i!=null&&i.refCount++,r!=null&&b7(r))}function Ir(i,o){i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&b7(i))}function m9(i,o,r,a){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)Eg(i,o,r,a),o=o.sibling}function Eg(i,o,r,a){var u=o.flags;switch(o.tag){case 0:case 11:case 15:m9(i,o,r,a),u&2048&&B7(9,o);break;case 1:m9(i,o,r,a);break;case 3:m9(i,o,r,a),u&2048&&(i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&b7(i)));break;case 12:if(u&2048){m9(i,o,r,a),i=o.stateNode;try{var h=o.memoizedProps,w=h.id,R=h.onPostCommit;typeof R=="function"&&R(w,o.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(z){F1(o,o.return,z)}}else m9(i,o,r,a);break;case 31:m9(i,o,r,a);break;case 13:m9(i,o,r,a);break;case 23:break;case 22:h=o.stateNode,w=o.alternate,o.memoizedState!==null?h._visibility&2?m9(i,o,r,a):H7(i,o):h._visibility&2?m9(i,o,r,a):(h._visibility|=2,q8(i,o,r,a,(o.subtreeFlags&10256)!==0||!1)),u&2048&&Er(w,o);break;case 24:m9(i,o,r,a),u&2048&&Ir(o.alternate,o);break;default:m9(i,o,r,a)}}function q8(i,o,r,a,u){for(u=u&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var h=i,w=o,R=r,z=a,t2=w.flags;switch(w.tag){case 0:case 11:case 15:q8(h,w,R,z,u),B7(8,w);break;case 23:break;case 22:var r2=w.stateNode;w.memoizedState!==null?r2._visibility&2?q8(h,w,R,z,u):H7(h,w):(r2._visibility|=2,q8(h,w,R,z,u)),u&&t2&2048&&Er(w.alternate,w);break;case 24:q8(h,w,R,z,u),u&&t2&2048&&Ir(w.alternate,w);break;default:q8(h,w,R,z,u)}o=o.sibling}}function H7(i,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var r=i,a=o,u=a.flags;switch(a.tag){case 22:H7(r,a),u&2048&&Er(a.alternate,a);break;case 24:H7(r,a),u&2048&&Ir(a.alternate,a);break;default:H7(r,a)}o=o.sibling}}var P7=8192;function Y8(i,o,r){if(i.subtreeFlags&P7)for(i=i.child;i!==null;)Ig(i,o,r),i=i.sibling}function Ig(i,o,r){switch(i.tag){case 26:Y8(i,o,r),i.flags&P7&&i.memoizedState!==null&&HF(r,p9,i.memoizedState,i.memoizedProps);break;case 5:Y8(i,o,r);break;case 3:case 4:var a=p9;p9=Nn(i.stateNode.containerInfo),Y8(i,o,r),p9=a;break;case 22:i.memoizedState===null&&(a=i.alternate,a!==null&&a.memoizedState!==null?(a=P7,P7=16777216,Y8(i,o,r),P7=a):Y8(i,o,r));break;default:Y8(i,o,r)}}function zg(i){var o=i.alternate;if(o!==null&&(i=o.child,i!==null)){o.child=null;do o=i.sibling,i.sibling=null,i=o;while(i!==null)}}function W7(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var r=0;r<o.length;r++){var a=o[r];z3=a,Og(a,i)}zg(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Ng(i),i=i.sibling}function Ng(i){switch(i.tag){case 0:case 11:case 15:W7(i),i.flags&2048&&G0(9,i,i.return);break;case 3:W7(i);break;case 12:W7(i);break;case 22:var o=i.stateNode;i.memoizedState!==null&&o._visibility&2&&(i.return===null||i.return.tag!==13)?(o._visibility&=-3,Mn(i)):W7(i);break;default:W7(i)}}function Mn(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var r=0;r<o.length;r++){var a=o[r];z3=a,Og(a,i)}zg(i)}for(i=i.child;i!==null;){switch(o=i,o.tag){case 0:case 11:case 15:G0(8,o,o.return),Mn(o);break;case 22:r=o.stateNode,r._visibility&2&&(r._visibility&=-3,Mn(o));break;default:Mn(o)}i=i.sibling}}function Og(i,o){for(;z3!==null;){var r=z3;switch(r.tag){case 0:case 11:case 15:G0(8,r,o);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var a=r.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:b7(r.memoizedState.cache)}if(a=r.child,a!==null)a.return=r,z3=a;else e:for(r=i;z3!==null;){a=z3;var u=a.sibling,h=a.return;if(bg(a),a===r){z3=null;break e}if(u!==null){u.return=h,z3=u;break e}z3=h}}}var nF={getCacheForType:function(i){var o=P3(y3),r=o.data.get(i);return r===void 0&&(r=i(),o.data.set(i,r)),r},cacheSignal:function(){return P3(y3).controller.signal}},iF=typeof WeakMap=="function"?WeakMap:Map,O1=0,q1=null,p1=null,x1=0,D1=0,H4=null,q0=!1,X8=!1,zr=!1,f0=0,g3=0,Y0=0,X5=0,Nr=0,P4=0,Q8=0,j7=null,y4=null,Or=!1,_n=0,Dg=0,yn=1/0,Rn=null,X0=null,T3=0,Q0=null,K8=null,g0=0,Dr=0,Fr=null,Fg=null,$7=0,Br=null;function W4(){return(O1&2)!==0&&x1!==0?x1&-x1:T.T!==null?$r():Z5()}function Bg(){if(P4===0)if((x1&536870912)===0||_1){var i=D2;D2<<=1,(D2&3932160)===0&&(D2=262144),P4=i}else P4=536870912;return i=B4.current,i!==null&&(i.flags|=32),P4}function R4(i,o,r){(i===q1&&(D1===2||D1===9)||i.cancelPendingCommit!==null)&&(J8(i,0),K0(i,x1,P4,!1)),N1(i,r),((O1&2)===0||i!==q1)&&(i===q1&&((O1&2)===0&&(X5|=r),g3===4&&K0(i,x1,P4,!1)),F9(i))}function Ug(i,o,r){if((O1&6)!==0)throw Error(s(327));var a=!r&&(o&127)===0&&(o&i.expiredLanes)===0||R2(i,o),u=a?lF(i,o):Hr(i,o,!0),h=a;do{if(u===0){X8&&!a&&K0(i,o,0,!1);break}else{if(r=i.current.alternate,h&&!sF(r)){u=Hr(i,o,!1),h=!1;continue}if(u===2){if(h=o,i.errorRecoveryDisabledLanes&h)var w=0;else w=i.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){o=w;e:{var R=i;u=j7;var z=R.current.memoizedState.isDehydrated;if(z&&(J8(R,w).flags|=256),w=Hr(R,w,!1),w!==2){if(zr&&!z){R.errorRecoveryDisabledLanes|=h,X5|=h,u=4;break e}h=y4,y4=u,h!==null&&(y4===null?y4=h:y4.push.apply(y4,h))}u=w}if(h=!1,u!==2)continue}}if(u===1){J8(i,0),K0(i,o,0,!0);break}e:{switch(a=i,h=u,h){case 0:case 1:throw Error(s(345));case 4:if((o&4194048)!==o)break;case 6:K0(a,o,P4,!q0);break e;case 2:y4=null;break;case 3:case 5:break;default:throw Error(s(329))}if((o&62914560)===o&&(u=_n+300-I1(),10<u)){if(K0(a,o,P4,!q0),X1(a,0,!0)!==0)break e;g0=o,a.timeoutHandle=pp(Hg.bind(null,a,r,y4,Rn,Or,o,P4,X5,Q8,q0,h,"Throttled",-0,0),u);break e}Hg(a,r,y4,Rn,Or,o,P4,X5,Q8,q0,h,null,-0,0)}}break}while(!0);F9(i)}function Hg(i,o,r,a,u,h,w,R,z,t2,r2,u2,i2,s2){if(i.timeoutHandle=-1,u2=o.subtreeFlags,u2&8192||(u2&16785408)===16785408){u2={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Q2},Ig(o,h,u2);var T2=(h&62914560)===h?_n-I1():(h&4194048)===h?Dg-I1():0;if(T2=PF(u2,T2),T2!==null){g0=h,i.cancelPendingCommit=T2(Yg.bind(null,i,o,h,r,a,u,w,R,z,r2,u2,null,i2,s2)),K0(i,h,w,!t2);return}}Yg(i,o,h,r,a,u,w,R,z)}function sF(i){for(var o=i;;){var r=o.tag;if((r===0||r===11||r===15)&&o.flags&16384&&(r=o.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var a=0;a<r.length;a++){var u=r[a],h=u.getSnapshot;u=u.value;try{if(!D4(h(),u))return!1}catch{return!1}}if(r=o.child,o.subtreeFlags&16384&&r!==null)r.return=o,o=r;else{if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function K0(i,o,r,a){o&=~Nr,o&=~X5,i.suspendedLanes|=o,i.pingedLanes&=~o,a&&(i.warmLanes|=o),a=i.expirationTimes;for(var u=o;0<u;){var h=31-x3(u),w=1<<h;a[h]=-1,u&=~w}r!==0&&K9(i,r,o)}function bn(){return(O1&6)===0?(V7(0),!1):!0}function Ur(){if(p1!==null){if(D1===0)var i=p1.return;else i=p1,o0=H5=null,nr(i),W8=null,S7=0,i=p1;for(;i!==null;)mg(i.alternate,i),i=i.return;p1=null}}function J8(i,o){var r=i.timeoutHandle;r!==-1&&(i.timeoutHandle=-1,yF(r)),r=i.cancelPendingCommit,r!==null&&(i.cancelPendingCommit=null,r()),g0=0,Ur(),q1=i,p1=r=i0(i.current,null),x1=o,D1=0,H4=null,q0=!1,X8=R2(i,o),zr=!1,Q8=P4=Nr=X5=Y0=g3=0,y4=j7=null,Or=!1,(o&8)!==0&&(o|=o&32);var a=i.entangledLanes;if(a!==0)for(i=i.entanglements,a&=o;0<a;){var u=31-x3(a),h=1<<u;o|=i[u],a&=~h}return f0=o,Vt(),r}function Pg(i,o){o1=null,T.H=O7,o===P8||o===en?(o=sf(),D1=3):o===jl?(o=sf(),D1=4):D1=o===mr?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,H4=o,p1===null&&(g3=1,fn(i,e9(o,i.current)))}function Wg(){var i=B4.current;return i===null?!0:(x1&4194048)===x1?s9===null:(x1&62914560)===x1||(x1&536870912)!==0?i===s9:!1}function jg(){var i=T.H;return T.H=O7,i===null?O7:i}function $g(){var i=T.A;return T.A=nF,i}function An(){g3=4,q0||(x1&4194048)!==x1&&B4.current!==null||(X8=!0),(Y0&134217727)===0&&(X5&134217727)===0||q1===null||K0(q1,x1,P4,!1)}function Hr(i,o,r){var a=O1;O1|=2;var u=jg(),h=$g();(q1!==i||x1!==o)&&(Rn=null,J8(i,o)),o=!1;var w=g3;e:do try{if(D1!==0&&p1!==null){var R=p1,z=H4;switch(D1){case 8:Ur(),w=6;break e;case 3:case 2:case 9:case 6:B4.current===null&&(o=!0);var t2=D1;if(D1=0,H4=null,e6(i,R,z,t2),r&&X8){w=0;break e}break;default:t2=D1,D1=0,H4=null,e6(i,R,z,t2)}}oF(),w=g3;break}catch(r2){Pg(i,r2)}while(!0);return o&&i.shellSuspendCounter++,o0=H5=null,O1=a,T.H=u,T.A=h,p1===null&&(q1=null,x1=0,Vt()),w}function oF(){for(;p1!==null;)Vg(p1)}function lF(i,o){var r=O1;O1|=2;var a=jg(),u=$g();q1!==i||x1!==o?(Rn=null,yn=I1()+500,J8(i,o)):X8=R2(i,o);e:do try{if(D1!==0&&p1!==null){o=p1;var h=H4;t:switch(D1){case 1:D1=0,H4=null,e6(i,o,h,1);break;case 2:case 9:if(tf(h)){D1=0,H4=null,Gg(o);break}o=function(){D1!==2&&D1!==9||q1!==i||(D1=7),F9(i)},h.then(o,o);break e;case 3:D1=7;break e;case 4:D1=5;break e;case 7:tf(h)?(D1=0,H4=null,Gg(o)):(D1=0,H4=null,e6(i,o,h,7));break;case 5:var w=null;switch(p1.tag){case 26:w=p1.memoizedState;case 5:case 27:var R=p1;if(w?Ep(w):R.stateNode.complete){D1=0,H4=null;var z=R.sibling;if(z!==null)p1=z;else{var t2=R.return;t2!==null?(p1=t2,Sn(t2)):p1=null}break t}}D1=0,H4=null,e6(i,o,h,5);break;case 6:D1=0,H4=null,e6(i,o,h,6);break;case 8:Ur(),g3=6;break e;default:throw Error(s(462))}}rF();break}catch(r2){Pg(i,r2)}while(!0);return o0=H5=null,T.H=a,T.A=u,O1=r,p1!==null?0:(q1=null,x1=0,Vt(),g3)}function rF(){for(;p1!==null&&!s1();)Vg(p1)}function Vg(i){var o=gg(i.alternate,i,f0);i.memoizedProps=i.pendingProps,o===null?Sn(i):p1=o}function Gg(i){var o=i,r=o.alternate;switch(o.tag){case 15:case 0:o=cg(r,o,o.pendingProps,o.type,void 0,x1);break;case 11:o=cg(r,o,o.pendingProps,o.type.render,o.ref,x1);break;case 5:nr(o);default:mg(r,o),o=p1=jh(o,f0),o=gg(r,o,f0)}i.memoizedProps=i.pendingProps,o===null?Sn(i):p1=o}function e6(i,o,r,a){o0=H5=null,nr(o),W8=null,S7=0;var u=o.return;try{if(YD(i,u,o,r,x1)){g3=1,fn(i,e9(r,i.current)),p1=null;return}}catch(h){if(u!==null)throw p1=u,h;g3=1,fn(i,e9(r,i.current)),p1=null;return}o.flags&32768?(_1||a===1?i=!0:X8||(x1&536870912)!==0?i=!1:(q0=i=!0,(a===2||a===9||a===3||a===6)&&(a=B4.current,a!==null&&a.tag===13&&(a.flags|=16384))),qg(o,i)):Sn(o)}function Sn(i){var o=i;do{if((o.flags&32768)!==0){qg(o,q0);return}i=o.return;var r=KD(o.alternate,o,f0);if(r!==null){p1=r;return}if(o=o.sibling,o!==null){p1=o;return}p1=o=i}while(o!==null);g3===0&&(g3=5)}function qg(i,o){do{var r=JD(i.alternate,i);if(r!==null){r.flags&=32767,p1=r;return}if(r=i.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!o&&(i=i.sibling,i!==null)){p1=i;return}p1=i=r}while(i!==null);g3=6,p1=null}function Yg(i,o,r,a,u,h,w,R,z){i.cancelPendingCommit=null;do kn();while(T3!==0);if((O1&6)!==0)throw Error(s(327));if(o!==null){if(o===i.current)throw Error(s(177));if(h=o.lanes|o.childLanes,h|=kl,x4(i,r,h,w,R,z),i===q1&&(p1=q1=null,x1=0),K8=o,Q0=i,g0=r,Dr=h,Fr=u,Fg=a,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,CF(C3,function(){return ep(),null})):(i.callbackNode=null,i.callbackPriority=0),a=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||a){a=T.T,T.T=null,u=j.p,j.p=2,w=O1,O1|=4;try{eF(i,o,r)}finally{O1=w,j.p=u,T.T=a}}T3=1,Xg(),Qg(),Kg()}}function Xg(){if(T3===1){T3=0;var i=Q0,o=K8,r=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||r){r=T.T,T.T=null;var a=j.p;j.p=2;var u=O1;O1|=4;try{Zg(o,i);var h=Jr,w=Nh(i.containerInfo),R=h.focusedElem,z=h.selectionRange;if(w!==R&&R&&R.ownerDocument&&zh(R.ownerDocument.documentElement,R)){if(z!==null&&yl(R)){var t2=z.start,r2=z.end;if(r2===void 0&&(r2=t2),"selectionStart"in R)R.selectionStart=t2,R.selectionEnd=Math.min(r2,R.value.length);else{var u2=R.ownerDocument||document,i2=u2&&u2.defaultView||window;if(i2.getSelection){var s2=i2.getSelection(),T2=R.textContent.length,Y2=Math.min(z.start,T2),W1=z.end===void 0?Y2:Math.min(z.end,T2);!s2.extend&&Y2>W1&&(w=W1,W1=Y2,Y2=w);var G=Ih(R,Y2),H=Ih(R,W1);if(G&&H&&(s2.rangeCount!==1||s2.anchorNode!==G.node||s2.anchorOffset!==G.offset||s2.focusNode!==H.node||s2.focusOffset!==H.offset)){var e2=u2.createRange();e2.setStart(G.node,G.offset),s2.removeAllRanges(),Y2>W1?(s2.addRange(e2),s2.extend(H.node,H.offset)):(e2.setEnd(H.node,H.offset),s2.addRange(e2))}}}}for(u2=[],s2=R;s2=s2.parentNode;)s2.nodeType===1&&u2.push({element:s2,left:s2.scrollLeft,top:s2.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<u2.length;R++){var a2=u2[R];a2.element.scrollLeft=a2.left,a2.element.scrollTop=a2.top}}Hn=!!Kr,Jr=Kr=null}finally{O1=u,j.p=a,T.T=r}}i.current=o,T3=2}}function Qg(){if(T3===2){T3=0;var i=Q0,o=K8,r=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||r){r=T.T,T.T=null;var a=j.p;j.p=2;var u=O1;O1|=4;try{Rg(i,o.alternate,o)}finally{O1=u,j.p=a,T.T=r}}T3=3}}function Kg(){if(T3===4||T3===3){T3=0,K3();var i=Q0,o=K8,r=g0,a=Fg;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?T3=5:(T3=0,K8=Q0=null,Jg(i,i.pendingLanes));var u=i.pendingLanes;if(u===0&&(X0=null),N4(r),o=o.stateNode,p3&&typeof p3.onCommitFiberRoot=="function")try{p3.onCommitFiberRoot(m4,o,void 0,(o.current.flags&128)===128)}catch{}if(a!==null){o=T.T,u=j.p,j.p=2,T.T=null;try{for(var h=i.onRecoverableError,w=0;w<a.length;w++){var R=a[w];h(R.value,{componentStack:R.stack})}}finally{T.T=o,j.p=u}}(g0&3)!==0&&kn(),F9(i),u=i.pendingLanes,(r&261930)!==0&&(u&42)!==0?i===Br?$7++:($7=0,Br=i):$7=0,V7(0)}}function Jg(i,o){(i.pooledCacheLanes&=o)===0&&(o=i.pooledCache,o!=null&&(i.pooledCache=null,b7(o)))}function kn(){return Xg(),Qg(),Kg(),ep()}function ep(){if(T3!==5)return!1;var i=Q0,o=Dr;Dr=0;var r=N4(g0),a=T.T,u=j.p;try{j.p=32>r?32:r,T.T=null,r=Fr,Fr=null;var h=Q0,w=g0;if(T3=0,K8=Q0=null,g0=0,(O1&6)!==0)throw Error(s(331));var R=O1;if(O1|=4,Ng(h.current),Eg(h,h.current,w,r),O1=R,V7(0,!1),p3&&typeof p3.onPostCommitFiberRoot=="function")try{p3.onPostCommitFiberRoot(m4,h)}catch{}return!0}finally{j.p=u,T.T=a,Jg(i,o)}}function tp(i,o,r){o=e9(r,o),o=pr(i.stateNode,o,2),i=j0(i,o,2),i!==null&&(N1(i,2),F9(i))}function F1(i,o,r){if(i.tag===3)tp(i,i,r);else for(;o!==null;){if(o.tag===3){tp(o,i,r);break}else if(o.tag===1){var a=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(X0===null||!X0.has(a))){i=e9(r,i),r=ng(2),a=j0(o,r,2),a!==null&&(ig(r,a,o,i),N1(a,2),F9(a));break}}o=o.return}}function Pr(i,o,r){var a=i.pingCache;if(a===null){a=i.pingCache=new iF;var u=new Set;a.set(o,u)}else u=a.get(o),u===void 0&&(u=new Set,a.set(o,u));u.has(r)||(zr=!0,u.add(r),i=aF.bind(null,i,o,r),o.then(i,i))}function aF(i,o,r){var a=i.pingCache;a!==null&&a.delete(o),i.pingedLanes|=i.suspendedLanes&r,i.warmLanes&=~r,q1===i&&(x1&r)===r&&(g3===4||g3===3&&(x1&62914560)===x1&&300>I1()-_n?(O1&2)===0&&J8(i,0):Nr|=r,Q8===x1&&(Q8=0)),F9(i)}function np(i,o){o===0&&(o=q2()),i=F5(i,o),i!==null&&(N1(i,o),F9(i))}function LF(i){var o=i.memoizedState,r=0;o!==null&&(r=o.retryLane),np(i,r)}function cF(i,o){var r=0;switch(i.tag){case 31:case 13:var a=i.stateNode,u=i.memoizedState;u!==null&&(r=u.retryLane);break;case 19:a=i.stateNode;break;case 22:a=i.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(o),np(i,r)}function CF(i,o){return G2(i,o)}var Zn=null,t6=null,Wr=!1,Tn=!1,jr=!1,J0=0;function F9(i){i!==t6&&i.next===null&&(t6===null?Zn=t6=i:t6=t6.next=i),Tn=!0,Wr||(Wr=!0,dF())}function V7(i,o){if(!jr&&Tn){jr=!0;do for(var r=!1,a=Zn;a!==null;){if(i!==0){var u=a.pendingLanes;if(u===0)var h=0;else{var w=a.suspendedLanes,R=a.pingedLanes;h=(1<<31-x3(42|i)+1)-1,h&=u&~(w&~R),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(r=!0,lp(a,h))}else h=x1,h=X1(a,a===q1?h:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(h&3)===0||R2(a,h)||(r=!0,lp(a,h));a=a.next}while(r);jr=!1}}function uF(){ip()}function ip(){Tn=Wr=!1;var i=0;J0!==0&&_F()&&(i=J0);for(var o=I1(),r=null,a=Zn;a!==null;){var u=a.next,h=sp(a,o);h===0?(a.next=null,r===null?Zn=u:r.next=u,u===null&&(t6=r)):(r=a,(i!==0||(h&3)!==0)&&(Tn=!0)),a=u}T3!==0&&T3!==5||V7(i),J0!==0&&(J0=0)}function sp(i,o){for(var r=i.suspendedLanes,a=i.pingedLanes,u=i.expirationTimes,h=i.pendingLanes&-62914561;0<h;){var w=31-x3(h),R=1<<w,z=u[w];z===-1?((R&r)===0||(R&a)!==0)&&(u[w]=_2(R,o)):z<=o&&(i.expiredLanes|=R),h&=~R}if(o=q1,r=x1,r=X1(i,i===o?r:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),a=i.callbackNode,r===0||i===o&&(D1===2||D1===9)||i.cancelPendingCommit!==null)return a!==null&&a!==null&&h1(a),i.callbackNode=null,i.callbackPriority=0;if((r&3)===0||R2(i,r)){if(o=r&-r,o===i.callbackPriority)return o;switch(a!==null&&h1(a),N4(r)){case 2:case 8:r=Y1;break;case 32:r=C3;break;case 268435456:r=Q9;break;default:r=C3}return a=op.bind(null,i),r=G2(r,a),i.callbackPriority=o,i.callbackNode=r,o}return a!==null&&a!==null&&h1(a),i.callbackPriority=2,i.callbackNode=null,2}function op(i,o){if(T3!==0&&T3!==5)return i.callbackNode=null,i.callbackPriority=0,null;var r=i.callbackNode;if(kn()&&i.callbackNode!==r)return null;var a=x1;return a=X1(i,i===q1?a:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),a===0?null:(Ug(i,a,o),sp(i,I1()),i.callbackNode!=null&&i.callbackNode===r?op.bind(null,i):null)}function lp(i,o){if(kn())return null;Ug(i,o,!0)}function dF(){RF(function(){(O1&6)!==0?G2(i1,uF):ip()})}function $r(){if(J0===0){var i=U8;i===0&&(i=M2,M2<<=1,(M2&261888)===0&&(M2=256)),J0=i}return J0}function rp(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:W2(""+i)}function ap(i,o){var r=o.ownerDocument.createElement("input");return r.name=o.name,r.value=o.value,i.id&&r.setAttribute("form",i.id),o.parentNode.insertBefore(r,o),i=new FormData(i),r.parentNode.removeChild(r),i}function hF(i,o,r,a,u){if(o==="submit"&&r&&r.stateNode===u){var h=rp((u[B1]||null).action),w=a.submitter;w&&(o=(o=w[B1]||null)?rp(o.formAction):w.getAttribute("formAction"),o!==null&&(h=o,w=null));var R=new Pt("action","action",null,a,u);i.push({event:R,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(J0!==0){var z=w?ap(u,w):new FormData(u);Cr(r,{pending:!0,data:z,method:u.method,action:h},null,z)}}else typeof h=="function"&&(R.preventDefault(),z=w?ap(u,w):new FormData(u),Cr(r,{pending:!0,data:z,method:u.method,action:h},h,z))},currentTarget:u}]})}}for(var Vr=0;Vr<Sl.length;Vr++){var Gr=Sl[Vr],fF=Gr.toLowerCase(),gF=Gr[0].toUpperCase()+Gr.slice(1);g9(fF,"on"+gF)}g9(Fh,"onAnimationEnd"),g9(Bh,"onAnimationIteration"),g9(Uh,"onAnimationStart"),g9("dblclick","onDoubleClick"),g9("focusin","onFocus"),g9("focusout","onBlur"),g9(ED,"onTransitionRun"),g9(ID,"onTransitionStart"),g9(zD,"onTransitionCancel"),g9(Hh,"onTransitionEnd"),Q4("onMouseEnter",["mouseout","mouseover"]),Q4("onMouseLeave",["mouseout","mouseover"]),Q4("onPointerEnter",["pointerout","pointerover"]),Q4("onPointerLeave",["pointerout","pointerover"]),e4("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),e4("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),e4("onBeforeInput",["compositionend","keypress","textInput","paste"]),e4("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),e4("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),e4("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var G7="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),pF=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(G7));function Lp(i,o){o=(o&4)!==0;for(var r=0;r<i.length;r++){var a=i[r],u=a.event;a=a.listeners;e:{var h=void 0;if(o)for(var w=a.length-1;0<=w;w--){var R=a[w],z=R.instance,t2=R.currentTarget;if(R=R.listener,z!==h&&u.isPropagationStopped())break e;h=R,u.currentTarget=t2;try{h(u)}catch(r2){$t(r2)}u.currentTarget=null,h=z}else for(w=0;w<a.length;w++){if(R=a[w],z=R.instance,t2=R.currentTarget,R=R.listener,z!==h&&u.isPropagationStopped())break e;h=R,u.currentTarget=t2;try{h(u)}catch(r2){$t(r2)}u.currentTarget=null,h=z}}}}function m1(i,o){var r=o[E9];r===void 0&&(r=o[E9]=new Set);var a=i+"__bubble";r.has(a)||(cp(o,i,2,!1),r.add(a))}function qr(i,o,r){var a=0;o&&(a|=4),cp(r,i,a,o)}var En="_reactListening"+Math.random().toString(36).slice(2);function Yr(i){if(!i[En]){i[En]=!0,Z3.forEach(function(r){r!=="selectionchange"&&(pF.has(r)||qr(r,!1,i),qr(r,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[En]||(o[En]=!0,qr("selectionchange",!1,o))}}function cp(i,o,r,a){switch(Bp(o)){case 2:var u=$F;break;case 8:u=VF;break;default:u=ca}r=u.bind(null,o,r,i),u=void 0,!fl||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(u=!0),a?u!==void 0?i.addEventListener(o,r,{capture:!0,passive:u}):i.addEventListener(o,r,!0):u!==void 0?i.addEventListener(o,r,{passive:u}):i.addEventListener(o,r,!1)}function Xr(i,o,r,a,u){var h=a;if((o&1)===0&&(o&2)===0&&a!==null)e:for(;;){if(a===null)return;var w=a.tag;if(w===3||w===4){var R=a.stateNode.containerInfo;if(R===u)break;if(w===4)for(w=a.return;w!==null;){var z=w.tag;if((z===3||z===4)&&w.stateNode.containerInfo===u)return;w=w.return}for(;R!==null;){if(w=x2(R),w===null)return;if(z=w.tag,z===5||z===6||z===26||z===27){a=h=w;continue e}R=R.parentNode}}a=a.return}hh(function(){var t2=h,r2=I3(r),u2=[];e:{var i2=Ph.get(i);if(i2!==void 0){var s2=Pt,T2=i;switch(i){case"keypress":if(Ut(r)===0)break e;case"keydown":case"keyup":s2=cD;break;case"focusin":T2="focus",s2=xl;break;case"focusout":T2="blur",s2=xl;break;case"beforeblur":case"afterblur":s2=xl;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s2=ph;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s2=KO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s2=dD;break;case Fh:case Bh:case Uh:s2=tD;break;case Hh:s2=fD;break;case"scroll":case"scrollend":s2=XO;break;case"wheel":s2=pD;break;case"copy":case"cut":case"paste":s2=iD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s2=xh;break;case"toggle":case"beforetoggle":s2=xD}var Y2=(o&4)!==0,W1=!Y2&&(i==="scroll"||i==="scrollend"),G=Y2?i2!==null?i2+"Capture":null:i2;Y2=[];for(var H=t2,e2;H!==null;){var a2=H;if(e2=a2.stateNode,a2=a2.tag,a2!==5&&a2!==26&&a2!==27||e2===null||G===null||(a2=f7(H,G),a2!=null&&Y2.push(q7(H,a2,e2))),W1)break;H=H.return}0<Y2.length&&(i2=new s2(i2,T2,null,r,r2),u2.push({event:i2,listeners:Y2}))}}if((o&7)===0){e:{if(i2=i==="mouseover"||i==="pointerover",s2=i==="mouseout"||i==="pointerout",i2&&r!==k1&&(T2=r.relatedTarget||r.fromElement)&&(x2(T2)||T2[h9]))break e;if((s2||i2)&&(i2=r2.window===r2?r2:(i2=r2.ownerDocument)?i2.defaultView||i2.parentWindow:window,s2?(T2=r.relatedTarget||r.toElement,s2=t2,T2=T2?x2(T2):null,T2!==null&&(W1=L(T2),Y2=T2.tag,T2!==W1||Y2!==5&&Y2!==27&&Y2!==6)&&(T2=null)):(s2=null,T2=t2),s2!==T2)){if(Y2=ph,a2="onMouseLeave",G="onMouseEnter",H="mouse",(i==="pointerout"||i==="pointerover")&&(Y2=xh,a2="onPointerLeave",G="onPointerEnter",H="pointer"),W1=s2==null?i2:b1(s2),e2=T2==null?i2:b1(T2),i2=new Y2(a2,H+"leave",s2,r,r2),i2.target=W1,i2.relatedTarget=e2,a2=null,x2(r2)===t2&&(Y2=new Y2(G,H+"enter",T2,r,r2),Y2.target=e2,Y2.relatedTarget=W1,a2=Y2),W1=a2,s2&&T2)t:{for(Y2=mF,G=s2,H=T2,e2=0,a2=G;a2;a2=Y2(a2))e2++;a2=0;for(var j2=H;j2;j2=Y2(j2))a2++;for(;0<e2-a2;)G=Y2(G),e2--;for(;0<a2-e2;)H=Y2(H),a2--;for(;e2--;){if(G===H||H!==null&&G===H.alternate){Y2=G;break t}G=Y2(G),H=Y2(H)}Y2=null}else Y2=null;s2!==null&&Cp(u2,i2,s2,Y2,!1),T2!==null&&W1!==null&&Cp(u2,W1,T2,Y2,!0)}}e:{if(i2=t2?b1(t2):window,s2=i2.nodeName&&i2.nodeName.toLowerCase(),s2==="select"||s2==="input"&&i2.type==="file")var Z1=Ah;else if(Rh(i2))if(Sh)Z1=kD;else{Z1=AD;var F2=bD}else s2=i2.nodeName,!s2||s2.toLowerCase()!=="input"||i2.type!=="checkbox"&&i2.type!=="radio"?t2&&z5(t2.elementType)&&(Z1=Ah):Z1=SD;if(Z1&&(Z1=Z1(i,t2))){bh(u2,Z1,r,r2);break e}F2&&F2(i,i2,t2),i==="focusout"&&t2&&i2.type==="number"&&t2.memoizedProps.value!=null&&u7(i2,"number",i2.value)}switch(F2=t2?b1(t2):window,i){case"focusin":(Rh(F2)||F2.contentEditable==="true")&&(E8=F2,Rl=t2,_7=null);break;case"focusout":_7=Rl=E8=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,Oh(u2,r,r2);break;case"selectionchange":if(TD)break;case"keydown":case"keyup":Oh(u2,r,r2)}var r1;if(vl)e:{switch(i){case"compositionstart":var w1="onCompositionStart";break e;case"compositionend":w1="onCompositionEnd";break e;case"compositionupdate":w1="onCompositionUpdate";break e}w1=void 0}else T8?_h(i,r)&&(w1="onCompositionEnd"):i==="keydown"&&r.keyCode===229&&(w1="onCompositionStart");w1&&(wh&&r.locale!=="ko"&&(T8||w1!=="onCompositionStart"?w1==="onCompositionEnd"&&T8&&(r1=fh()):(D0=r2,gl="value"in D0?D0.value:D0.textContent,T8=!0)),F2=In(t2,w1),0<F2.length&&(w1=new mh(w1,i,null,r,r2),u2.push({event:w1,listeners:F2}),r1?w1.data=r1:(r1=yh(r),r1!==null&&(w1.data=r1)))),(r1=vD?MD(i,r):_D(i,r))&&(w1=In(t2,"onBeforeInput"),0<w1.length&&(F2=new mh("onBeforeInput","beforeinput",null,r,r2),u2.push({event:F2,listeners:w1}),F2.data=r1)),hF(u2,i,t2,r,r2)}Lp(u2,o)})}function q7(i,o,r){return{instance:i,listener:o,currentTarget:r}}function In(i,o){for(var r=o+"Capture",a=[];i!==null;){var u=i,h=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||h===null||(u=f7(i,r),u!=null&&a.unshift(q7(i,u,h)),u=f7(i,o),u!=null&&a.push(q7(i,u,h))),i.tag===3)return a;i=i.return}return[]}function mF(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function Cp(i,o,r,a,u){for(var h=o._reactName,w=[];r!==null&&r!==a;){var R=r,z=R.alternate,t2=R.stateNode;if(R=R.tag,z!==null&&z===a)break;R!==5&&R!==26&&R!==27||t2===null||(z=t2,u?(t2=f7(r,h),t2!=null&&w.unshift(q7(r,t2,z))):u||(t2=f7(r,h),t2!=null&&w.push(q7(r,t2,z)))),r=r.return}w.length!==0&&i.push({event:o,listeners:w})}var xF=/\r\n?/g,wF=/\u0000|\uFFFD/g;function up(i){return(typeof i=="string"?i:""+i).replace(xF,`
253
- `).replace(wF,"")}function dp(i,o){return o=up(o),up(i)===o}function P1(i,o,r,a,u,h){switch(r){case"children":typeof a=="string"?o==="body"||o==="textarea"&&a===""||d3(i,a):(typeof a=="number"||typeof a=="bigint")&&o!=="body"&&d3(i,""+a);break;case"className":K4(i,"class",a);break;case"tabIndex":K4(i,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":K4(i,r,a);break;case"style":t0(i,a,h);break;case"data":if(o!=="object"){K4(i,"data",a);break}case"src":case"href":if(a===""&&(o!=="a"||r!=="href")){i.removeAttribute(r);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){i.removeAttribute(r);break}a=W2(""+a),i.setAttribute(r,a);break;case"action":case"formAction":if(typeof a=="function"){i.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(r==="formAction"?(o!=="input"&&P1(i,o,"name",u.name,u,null),P1(i,o,"formEncType",u.formEncType,u,null),P1(i,o,"formMethod",u.formMethod,u,null),P1(i,o,"formTarget",u.formTarget,u,null)):(P1(i,o,"encType",u.encType,u,null),P1(i,o,"method",u.method,u,null),P1(i,o,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){i.removeAttribute(r);break}a=W2(""+a),i.setAttribute(r,a);break;case"onClick":a!=null&&(i.onclick=Q2);break;case"onScroll":a!=null&&m1("scroll",i);break;case"onScrollEnd":a!=null&&m1("scrollend",i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(r=a.__html,r!=null){if(u.children!=null)throw Error(s(60));i.innerHTML=r}}break;case"multiple":i.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":i.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){i.removeAttribute("xlink:href");break}r=W2(""+a),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?i.setAttribute(r,""+a):i.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?i.setAttribute(r,""):i.removeAttribute(r);break;case"capture":case"download":a===!0?i.setAttribute(r,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?i.setAttribute(r,a):i.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?i.setAttribute(r,a):i.removeAttribute(r);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?i.removeAttribute(r):i.setAttribute(r,a);break;case"popover":m1("beforetoggle",i),m1("toggle",i),l3(i,"popover",a);break;case"xlinkActuate":_3(i,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":_3(i,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":_3(i,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":_3(i,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":_3(i,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":_3(i,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":_3(i,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":_3(i,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":_3(i,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":l3(i,"is",a);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=h7.get(r)||r,l3(i,r,a))}}function Qr(i,o,r,a,u,h){switch(r){case"style":t0(i,a,h);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(r=a.__html,r!=null){if(u.children!=null)throw Error(s(60));i.innerHTML=r}}break;case"children":typeof a=="string"?d3(i,a):(typeof a=="number"||typeof a=="bigint")&&d3(i,""+a);break;case"onScroll":a!=null&&m1("scroll",i);break;case"onScrollEnd":a!=null&&m1("scrollend",i);break;case"onClick":a!=null&&(i.onclick=Q2);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!B3.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(u=r.endsWith("Capture"),o=r.slice(2,u?r.length-7:void 0),h=i[B1]||null,h=h!=null?h[r]:null,typeof h=="function"&&i.removeEventListener(o,h,u),typeof a=="function")){typeof h!="function"&&h!==null&&(r in i?i[r]=null:i.hasAttribute(r)&&i.removeAttribute(r)),i.addEventListener(o,a,u);break e}r in i?i[r]=a:a===!0?i.setAttribute(r,""):l3(i,r,a)}}}function j3(i,o,r){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":m1("error",i),m1("load",i);var a=!1,u=!1,h;for(h in r)if(r.hasOwnProperty(h)){var w=r[h];if(w!=null)switch(h){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,o));default:P1(i,o,h,w,r,null)}}u&&P1(i,o,"srcSet",r.srcSet,r,null),a&&P1(i,o,"src",r.src,r,null);return;case"input":m1("invalid",i);var R=h=w=u=null,z=null,t2=null;for(a in r)if(r.hasOwnProperty(a)){var r2=r[a];if(r2!=null)switch(a){case"name":u=r2;break;case"type":w=r2;break;case"checked":z=r2;break;case"defaultChecked":t2=r2;break;case"value":h=r2;break;case"defaultValue":R=r2;break;case"children":case"dangerouslySetInnerHTML":if(r2!=null)throw Error(s(137,o));break;default:P1(i,o,a,r2,r,null)}}e0(i,h,R,z,t2,w,u,!1);return;case"select":m1("invalid",i),a=w=h=null;for(u in r)if(r.hasOwnProperty(u)&&(R=r[u],R!=null))switch(u){case"value":h=R;break;case"defaultValue":w=R;break;case"multiple":a=R;default:P1(i,o,u,R,r,null)}o=h,r=w,i.multiple=!!a,o!=null?z9(i,!!a,o,!1):r!=null&&z9(i,!!a,r,!0);return;case"textarea":m1("invalid",i),h=u=a=null;for(w in r)if(r.hasOwnProperty(w)&&(R=r[w],R!=null))switch(w){case"value":a=R;break;case"defaultValue":u=R;break;case"children":h=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(s(91));break;default:P1(i,o,w,R,r,null)}d7(i,a,u,h);return;case"option":for(z in r)if(r.hasOwnProperty(z)&&(a=r[z],a!=null))switch(z){case"selected":i.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:P1(i,o,z,a,r,null)}return;case"dialog":m1("beforetoggle",i),m1("toggle",i),m1("cancel",i),m1("close",i);break;case"iframe":case"object":m1("load",i);break;case"video":case"audio":for(a=0;a<G7.length;a++)m1(G7[a],i);break;case"image":m1("error",i),m1("load",i);break;case"details":m1("toggle",i);break;case"embed":case"source":case"link":m1("error",i),m1("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(t2 in r)if(r.hasOwnProperty(t2)&&(a=r[t2],a!=null))switch(t2){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,o));default:P1(i,o,t2,a,r,null)}return;default:if(z5(o)){for(r2 in r)r.hasOwnProperty(r2)&&(a=r[r2],a!==void 0&&Qr(i,o,r2,a,r,void 0));return}}for(R in r)r.hasOwnProperty(R)&&(a=r[R],a!=null&&P1(i,o,R,a,r,null))}function vF(i,o,r,a){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,h=null,w=null,R=null,z=null,t2=null,r2=null;for(s2 in r){var u2=r[s2];if(r.hasOwnProperty(s2)&&u2!=null)switch(s2){case"checked":break;case"value":break;case"defaultValue":z=u2;default:a.hasOwnProperty(s2)||P1(i,o,s2,null,a,u2)}}for(var i2 in a){var s2=a[i2];if(u2=r[i2],a.hasOwnProperty(i2)&&(s2!=null||u2!=null))switch(i2){case"type":h=s2;break;case"name":u=s2;break;case"checked":t2=s2;break;case"defaultChecked":r2=s2;break;case"value":w=s2;break;case"defaultValue":R=s2;break;case"children":case"dangerouslySetInnerHTML":if(s2!=null)throw Error(s(137,o));break;default:s2!==u2&&P1(i,o,i2,s2,a,u2)}}Z8(i,w,R,z,t2,r2,h,u);return;case"select":s2=w=R=i2=null;for(h in r)if(z=r[h],r.hasOwnProperty(h)&&z!=null)switch(h){case"value":break;case"multiple":s2=z;default:a.hasOwnProperty(h)||P1(i,o,h,null,a,z)}for(u in a)if(h=a[u],z=r[u],a.hasOwnProperty(u)&&(h!=null||z!=null))switch(u){case"value":i2=h;break;case"defaultValue":R=h;break;case"multiple":w=h;default:h!==z&&P1(i,o,u,h,a,z)}o=R,r=w,a=s2,i2!=null?z9(i,!!r,i2,!1):!!a!=!!r&&(o!=null?z9(i,!!r,o,!0):z9(i,!!r,r?[]:"",!1));return;case"textarea":s2=i2=null;for(R in r)if(u=r[R],r.hasOwnProperty(R)&&u!=null&&!a.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:P1(i,o,R,null,a,u)}for(w in a)if(u=a[w],h=r[w],a.hasOwnProperty(w)&&(u!=null||h!=null))switch(w){case"value":i2=u;break;case"defaultValue":s2=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(s(91));break;default:u!==h&&P1(i,o,w,u,a,h)}c1(i,i2,s2);return;case"option":for(var T2 in r)if(i2=r[T2],r.hasOwnProperty(T2)&&i2!=null&&!a.hasOwnProperty(T2))switch(T2){case"selected":i.selected=!1;break;default:P1(i,o,T2,null,a,i2)}for(z in a)if(i2=a[z],s2=r[z],a.hasOwnProperty(z)&&i2!==s2&&(i2!=null||s2!=null))switch(z){case"selected":i.selected=i2&&typeof i2!="function"&&typeof i2!="symbol";break;default:P1(i,o,z,i2,a,s2)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Y2 in r)i2=r[Y2],r.hasOwnProperty(Y2)&&i2!=null&&!a.hasOwnProperty(Y2)&&P1(i,o,Y2,null,a,i2);for(t2 in a)if(i2=a[t2],s2=r[t2],a.hasOwnProperty(t2)&&i2!==s2&&(i2!=null||s2!=null))switch(t2){case"children":case"dangerouslySetInnerHTML":if(i2!=null)throw Error(s(137,o));break;default:P1(i,o,t2,i2,a,s2)}return;default:if(z5(o)){for(var W1 in r)i2=r[W1],r.hasOwnProperty(W1)&&i2!==void 0&&!a.hasOwnProperty(W1)&&Qr(i,o,W1,void 0,a,i2);for(r2 in a)i2=a[r2],s2=r[r2],!a.hasOwnProperty(r2)||i2===s2||i2===void 0&&s2===void 0||Qr(i,o,r2,i2,a,s2);return}}for(var G in r)i2=r[G],r.hasOwnProperty(G)&&i2!=null&&!a.hasOwnProperty(G)&&P1(i,o,G,null,a,i2);for(u2 in a)i2=a[u2],s2=r[u2],!a.hasOwnProperty(u2)||i2===s2||i2==null&&s2==null||P1(i,o,u2,i2,a,s2)}function hp(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function MF(){if(typeof performance.getEntriesByType=="function"){for(var i=0,o=0,r=performance.getEntriesByType("resource"),a=0;a<r.length;a++){var u=r[a],h=u.transferSize,w=u.initiatorType,R=u.duration;if(h&&R&&hp(w)){for(w=0,R=u.responseEnd,a+=1;a<r.length;a++){var z=r[a],t2=z.startTime;if(t2>R)break;var r2=z.transferSize,u2=z.initiatorType;r2&&hp(u2)&&(z=z.responseEnd,w+=r2*(z<R?1:(R-t2)/(z-t2)))}if(--a,o+=8*(h+w)/(u.duration/1e3),i++,10<i)break}}if(0<i)return o/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var Kr=null,Jr=null;function zn(i){return i.nodeType===9?i:i.ownerDocument}function fp(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function gp(i,o){if(i===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&o==="foreignObject"?0:i}function ea(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var ta=null;function _F(){var i=window.event;return i&&i.type==="popstate"?i===ta?!1:(ta=i,!0):(ta=null,!1)}var pp=typeof setTimeout=="function"?setTimeout:void 0,yF=typeof clearTimeout=="function"?clearTimeout:void 0,mp=typeof Promise=="function"?Promise:void 0,RF=typeof queueMicrotask=="function"?queueMicrotask:typeof mp<"u"?function(i){return mp.resolve(null).then(i).catch(bF)}:pp;function bF(i){setTimeout(function(){throw i})}function e5(i){return i==="head"}function xp(i,o){var r=o,a=0;do{var u=r.nextSibling;if(i.removeChild(r),u&&u.nodeType===8)if(r=u.data,r==="/$"||r==="/&"){if(a===0){i.removeChild(u),o6(o);return}a--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")a++;else if(r==="html")Y7(i.ownerDocument.documentElement);else if(r==="head"){r=i.ownerDocument.head,Y7(r);for(var h=r.firstChild;h;){var w=h.nextSibling,R=h.nodeName;h[O2]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&h.rel.toLowerCase()==="stylesheet"||r.removeChild(h),h=w}}else r==="body"&&Y7(i.ownerDocument.body);r=u}while(r);o6(o)}function wp(i,o){var r=i;i=0;do{var a=r.nextSibling;if(r.nodeType===1?o?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(o?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),a&&a.nodeType===8)if(r=a.data,r==="/$"){if(i===0)break;i--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||i++;r=a}while(r)}function na(i){var o=i.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var r=o;switch(o=o.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":na(r),D(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}i.removeChild(r)}}function AF(i,o,r,a){for(;i.nodeType===1;){var u=r;if(i.nodeName.toLowerCase()!==o.toLowerCase()){if(!a&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(a){if(!i[O2])switch(o){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(h=i.getAttribute("rel"),h==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(h!==u.rel||i.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||i.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||i.getAttribute("title")!==(u.title==null?null:u.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(h=i.getAttribute("src"),(h!==(u.src==null?null:u.src)||i.getAttribute("type")!==(u.type==null?null:u.type)||i.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&h&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(o==="input"&&i.type==="hidden"){var h=u.name==null?null:""+u.name;if(u.type==="hidden"&&i.getAttribute("name")===h)return i}else return i;if(i=o9(i.nextSibling),i===null)break}return null}function SF(i,o,r){if(o==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!r||(i=o9(i.nextSibling),i===null))return null;return i}function vp(i,o){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!o||(i=o9(i.nextSibling),i===null))return null;return i}function ia(i){return i.data==="$?"||i.data==="$~"}function sa(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function kF(i,o){var r=i.ownerDocument;if(i.data==="$~")i._reactRetry=o;else if(i.data!=="$?"||r.readyState!=="loading")o();else{var a=function(){o(),r.removeEventListener("DOMContentLoaded",a)};r.addEventListener("DOMContentLoaded",a),i._reactRetry=a}}function o9(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===1||o===3)break;if(o===8){if(o=i.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return i}var oa=null;function Mp(i){i=i.nextSibling;for(var o=0;i;){if(i.nodeType===8){var r=i.data;if(r==="/$"||r==="/&"){if(o===0)return o9(i.nextSibling);o--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||o++}i=i.nextSibling}return null}function _p(i){i=i.previousSibling;for(var o=0;i;){if(i.nodeType===8){var r=i.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(o===0)return i;o--}else r!=="/$"&&r!=="/&"||o++}i=i.previousSibling}return null}function yp(i,o,r){switch(o=zn(r),i){case"html":if(i=o.documentElement,!i)throw Error(s(452));return i;case"head":if(i=o.head,!i)throw Error(s(453));return i;case"body":if(i=o.body,!i)throw Error(s(454));return i;default:throw Error(s(451))}}function Y7(i){for(var o=i.attributes;o.length;)i.removeAttributeNode(o[0]);D(i)}var l9=new Map,Rp=new Set;function Nn(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var p0=j.d;j.d={f:ZF,r:TF,D:EF,C:IF,L:zF,m:NF,X:DF,S:OF,M:FF};function ZF(){var i=p0.f(),o=bn();return i||o}function TF(i){var o=y2(i);o!==null&&o.tag===5&&o.type==="form"?Pf(o):p0.r(i)}var n6=typeof document>"u"?null:document;function bp(i,o,r){var a=n6;if(a&&typeof o=="string"&&o){var u=U3(o);u='link[rel="'+i+'"][href="'+u+'"]',typeof r=="string"&&(u+='[crossorigin="'+r+'"]'),Rp.has(u)||(Rp.add(u),i={rel:i,crossOrigin:r,href:o},a.querySelector(u)===null&&(o=a.createElement("link"),j3(o,"link",i),l1(o),a.head.appendChild(o)))}}function EF(i){p0.D(i),bp("dns-prefetch",i,null)}function IF(i,o){p0.C(i,o),bp("preconnect",i,o)}function zF(i,o,r){p0.L(i,o,r);var a=n6;if(a&&i&&o){var u='link[rel="preload"][as="'+U3(o)+'"]';o==="image"&&r&&r.imageSrcSet?(u+='[imagesrcset="'+U3(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(u+='[imagesizes="'+U3(r.imageSizes)+'"]')):u+='[href="'+U3(i)+'"]';var h=u;switch(o){case"style":h=i6(i);break;case"script":h=s6(i)}l9.has(h)||(i=p({rel:"preload",href:o==="image"&&r&&r.imageSrcSet?void 0:i,as:o},r),l9.set(h,i),a.querySelector(u)!==null||o==="style"&&a.querySelector(X7(h))||o==="script"&&a.querySelector(Q7(h))||(o=a.createElement("link"),j3(o,"link",i),l1(o),a.head.appendChild(o)))}}function NF(i,o){p0.m(i,o);var r=n6;if(r&&i){var a=o&&typeof o.as=="string"?o.as:"script",u='link[rel="modulepreload"][as="'+U3(a)+'"][href="'+U3(i)+'"]',h=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=s6(i)}if(!l9.has(h)&&(i=p({rel:"modulepreload",href:i},o),l9.set(h,i),r.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Q7(h)))return}a=r.createElement("link"),j3(a,"link",i),l1(a),r.head.appendChild(a)}}}function OF(i,o,r){p0.S(i,o,r);var a=n6;if(a&&i){var u=Q1(a).hoistableStyles,h=i6(i);o=o||"default";var w=u.get(h);if(!w){var R={loading:0,preload:null};if(w=a.querySelector(X7(h)))R.loading=5;else{i=p({rel:"stylesheet",href:i,"data-precedence":o},r),(r=l9.get(h))&&la(i,r);var z=w=a.createElement("link");l1(z),j3(z,"link",i),z._p=new Promise(function(t2,r2){z.onload=t2,z.onerror=r2}),z.addEventListener("load",function(){R.loading|=1}),z.addEventListener("error",function(){R.loading|=2}),R.loading|=4,On(w,o,a)}w={type:"stylesheet",instance:w,count:1,state:R},u.set(h,w)}}}function DF(i,o){p0.X(i,o);var r=n6;if(r&&i){var a=Q1(r).hoistableScripts,u=s6(i),h=a.get(u);h||(h=r.querySelector(Q7(u)),h||(i=p({src:i,async:!0},o),(o=l9.get(u))&&ra(i,o),h=r.createElement("script"),l1(h),j3(h,"link",i),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},a.set(u,h))}}function FF(i,o){p0.M(i,o);var r=n6;if(r&&i){var a=Q1(r).hoistableScripts,u=s6(i),h=a.get(u);h||(h=r.querySelector(Q7(u)),h||(i=p({src:i,async:!0,type:"module"},o),(o=l9.get(u))&&ra(i,o),h=r.createElement("script"),l1(h),j3(h,"link",i),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},a.set(u,h))}}function Ap(i,o,r,a){var u=(u=m2.current)?Nn(u):null;if(!u)throw Error(s(446));switch(i){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(o=i6(r.href),r=Q1(u).hoistableStyles,a=r.get(o),a||(a={type:"style",instance:null,count:0,state:null},r.set(o,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){i=i6(r.href);var h=Q1(u).hoistableStyles,w=h.get(i);if(w||(u=u.ownerDocument||u,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(i,w),(h=u.querySelector(X7(i)))&&!h._p&&(w.instance=h,w.state.loading=5),l9.has(i)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},l9.set(i,r),h||BF(u,i,r,w.state))),o&&a===null)throw Error(s(528,""));return w}if(o&&a!==null)throw Error(s(529,""));return null;case"script":return o=r.async,r=r.src,typeof r=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=s6(r),r=Q1(u).hoistableScripts,a=r.get(o),a||(a={type:"script",instance:null,count:0,state:null},r.set(o,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,i))}}function i6(i){return'href="'+U3(i)+'"'}function X7(i){return'link[rel="stylesheet"]['+i+"]"}function Sp(i){return p({},i,{"data-precedence":i.precedence,precedence:null})}function BF(i,o,r,a){i.querySelector('link[rel="preload"][as="style"]['+o+"]")?a.loading=1:(o=i.createElement("link"),a.preload=o,o.addEventListener("load",function(){return a.loading|=1}),o.addEventListener("error",function(){return a.loading|=2}),j3(o,"link",r),l1(o),i.head.appendChild(o))}function s6(i){return'[src="'+U3(i)+'"]'}function Q7(i){return"script[async]"+i}function kp(i,o,r){if(o.count++,o.instance===null)switch(o.type){case"style":var a=i.querySelector('style[data-href~="'+U3(r.href)+'"]');if(a)return o.instance=a,l1(a),a;var u=p({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return a=(i.ownerDocument||i).createElement("style"),l1(a),j3(a,"style",u),On(a,r.precedence,i),o.instance=a;case"stylesheet":u=i6(r.href);var h=i.querySelector(X7(u));if(h)return o.state.loading|=4,o.instance=h,l1(h),h;a=Sp(r),(u=l9.get(u))&&la(a,u),h=(i.ownerDocument||i).createElement("link"),l1(h);var w=h;return w._p=new Promise(function(R,z){w.onload=R,w.onerror=z}),j3(h,"link",a),o.state.loading|=4,On(h,r.precedence,i),o.instance=h;case"script":return h=s6(r.src),(u=i.querySelector(Q7(h)))?(o.instance=u,l1(u),u):(a=r,(u=l9.get(h))&&(a=p({},r),ra(a,u)),i=i.ownerDocument||i,u=i.createElement("script"),l1(u),j3(u,"link",a),i.head.appendChild(u),o.instance=u);case"void":return null;default:throw Error(s(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(a=o.instance,o.state.loading|=4,On(a,r.precedence,i));return o.instance}function On(i,o,r){for(var a=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,h=u,w=0;w<a.length;w++){var R=a[w];if(R.dataset.precedence===o)h=R;else if(h!==u)break}h?h.parentNode.insertBefore(i,h.nextSibling):(o=r.nodeType===9?r.head:r,o.insertBefore(i,o.firstChild))}function la(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.title==null&&(i.title=o.title)}function ra(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.integrity==null&&(i.integrity=o.integrity)}var Dn=null;function Zp(i,o,r){if(Dn===null){var a=new Map,u=Dn=new Map;u.set(r,a)}else u=Dn,a=u.get(r),a||(a=new Map,u.set(r,a));if(a.has(i))return a;for(a.set(i,null),r=r.getElementsByTagName(i),u=0;u<r.length;u++){var h=r[u];if(!(h[O2]||h[u3]||i==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var w=h.getAttribute(o)||"";w=i+w;var R=a.get(w);R?R.push(h):a.set(w,[h])}}return a}function Tp(i,o,r){i=i.ownerDocument||i,i.head.insertBefore(r,o==="title"?i.querySelector("head > title"):null)}function UF(i,o,r){if(r===1||o.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return i=o.disabled,typeof o.precedence=="string"&&i==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function Ep(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function HF(i,o,r,a){if(r.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var u=i6(a.href),h=o.querySelector(X7(u));if(h){o=h._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(i.count++,i=Fn.bind(i),o.then(i,i)),r.state.loading|=4,r.instance=h,l1(h);return}h=o.ownerDocument||o,a=Sp(a),(u=l9.get(u))&&la(a,u),h=h.createElement("link"),l1(h);var w=h;w._p=new Promise(function(R,z){w.onload=R,w.onerror=z}),j3(h,"link",a),r.instance=h}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(r,o),(o=r.state.preload)&&(r.state.loading&3)===0&&(i.count++,r=Fn.bind(i),o.addEventListener("load",r),o.addEventListener("error",r))}}var aa=0;function PF(i,o){return i.stylesheets&&i.count===0&&Un(i,i.stylesheets),0<i.count||0<i.imgCount?function(r){var a=setTimeout(function(){if(i.stylesheets&&Un(i,i.stylesheets),i.unsuspend){var h=i.unsuspend;i.unsuspend=null,h()}},6e4+o);0<i.imgBytes&&aa===0&&(aa=62500*MF());var u=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&Un(i,i.stylesheets),i.unsuspend)){var h=i.unsuspend;i.unsuspend=null,h()}},(i.imgBytes>aa?50:800)+o);return i.unsuspend=r,function(){i.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Fn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Un(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var Bn=null;function Un(i,o){i.stylesheets=null,i.unsuspend!==null&&(i.count++,Bn=new Map,o.forEach(WF,i),Bn=null,Fn.call(i))}function WF(i,o){if(!(o.state.loading&4)){var r=Bn.get(i);if(r)var a=r.get(null);else{r=new Map,Bn.set(i,r);for(var u=i.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<u.length;h++){var w=u[h];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(r.set(w.dataset.precedence,w),a=w)}a&&r.set(null,a)}u=o.instance,w=u.getAttribute("data-precedence"),h=r.get(w)||a,h===a&&r.set(null,u),r.set(w,u),this.count++,a=Fn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),h?h.parentNode.insertBefore(u,h.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(u,i.firstChild)),o.state.loading|=4}}var K7={$$typeof:I,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function jF(i,o,r,a,u,h,w,R,z){this.tag=1,this.containerInfo=i,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=t1(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=t1(0),this.hiddenUpdates=t1(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=h,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function Ip(i,o,r,a,u,h,w,R,z,t2,r2,u2){return i=new jF(i,o,r,w,z,t2,r2,u2,R),o=1,h===!0&&(o|=24),h=F4(3,null,null,o),i.current=h,h.stateNode=i,o=Hl(),o.refCount++,i.pooledCache=o,o.refCount++,h.memoizedState={element:a,isDehydrated:r,cache:o},$l(h),i}function zp(i){return i?(i=N8,i):N8}function Np(i,o,r,a,u,h){u=zp(u),a.context===null?a.context=u:a.pendingContext=u,a=W0(o),a.payload={element:r},h=h===void 0?null:h,h!==null&&(a.callback=h),r=j0(i,a,o),r!==null&&(R4(r,i,o),Z7(r,i,o))}function Op(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var r=i.retryLane;i.retryLane=r!==0&&r<o?r:o}}function La(i,o){Op(i,o),(i=i.alternate)&&Op(i,o)}function Dp(i){if(i.tag===13||i.tag===31){var o=F5(i,67108864);o!==null&&R4(o,i,67108864),La(i,67108864)}}function Fp(i){if(i.tag===13||i.tag===31){var o=W4();o=J3(o);var r=F5(i,o);r!==null&&R4(r,i,o),La(i,o)}}var Hn=!0;function $F(i,o,r,a){var u=T.T;T.T=null;var h=j.p;try{j.p=2,ca(i,o,r,a)}finally{j.p=h,T.T=u}}function VF(i,o,r,a){var u=T.T;T.T=null;var h=j.p;try{j.p=8,ca(i,o,r,a)}finally{j.p=h,T.T=u}}function ca(i,o,r,a){if(Hn){var u=Ca(a);if(u===null)Xr(i,o,a,Pn,r),Up(i,a);else if(qF(u,i,o,r,a))a.stopPropagation();else if(Up(i,a),o&4&&-1<GF.indexOf(i)){for(;u!==null;){var h=y2(u);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var w=e1(h.pendingLanes);if(w!==0){var R=h;for(R.pendingLanes|=2,R.entangledLanes|=2;w;){var z=1<<31-x3(w);R.entanglements[1]|=z,w&=~z}F9(h),(O1&6)===0&&(yn=I1()+500,V7(0))}}break;case 31:case 13:R=F5(h,2),R!==null&&R4(R,h,2),bn(),La(h,2)}if(h=Ca(a),h===null&&Xr(i,o,a,Pn,r),h===u)break;u=h}u!==null&&a.stopPropagation()}else Xr(i,o,a,null,r)}}function Ca(i){return i=I3(i),ua(i)}var Pn=null;function ua(i){if(Pn=null,i=x2(i),i!==null){var o=L(i);if(o===null)i=null;else{var r=o.tag;if(r===13){if(i=c(o),i!==null)return i;i=null}else if(r===31){if(i=C(o),i!==null)return i;i=null}else if(r===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Pn=i,null}function Bp(i){switch(i){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(z1()){case i1:return 2;case Y1:return 8;case C3:case C4:return 32;case Q9:return 268435456;default:return 32}default:return 32}}var da=!1,t5=null,n5=null,i5=null,J7=new Map,ee=new Map,s5=[],GF="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Up(i,o){switch(i){case"focusin":case"focusout":t5=null;break;case"dragenter":case"dragleave":n5=null;break;case"mouseover":case"mouseout":i5=null;break;case"pointerover":case"pointerout":J7.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":ee.delete(o.pointerId)}}function te(i,o,r,a,u,h){return i===null||i.nativeEvent!==h?(i={blockedOn:o,domEventName:r,eventSystemFlags:a,nativeEvent:h,targetContainers:[u]},o!==null&&(o=y2(o),o!==null&&Dp(o)),i):(i.eventSystemFlags|=a,o=i.targetContainers,u!==null&&o.indexOf(u)===-1&&o.push(u),i)}function qF(i,o,r,a,u){switch(o){case"focusin":return t5=te(t5,i,o,r,a,u),!0;case"dragenter":return n5=te(n5,i,o,r,a,u),!0;case"mouseover":return i5=te(i5,i,o,r,a,u),!0;case"pointerover":var h=u.pointerId;return J7.set(h,te(J7.get(h)||null,i,o,r,a,u)),!0;case"gotpointercapture":return h=u.pointerId,ee.set(h,te(ee.get(h)||null,i,o,r,a,u)),!0}return!1}function Hp(i){var o=x2(i.target);if(o!==null){var r=L(o);if(r!==null){if(o=r.tag,o===13){if(o=c(r),o!==null){i.blockedOn=o,T5(i.priority,function(){Fp(r)});return}}else if(o===31){if(o=C(r),o!==null){i.blockedOn=o,T5(i.priority,function(){Fp(r)});return}}else if(o===3&&r.stateNode.current.memoizedState.isDehydrated){i.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Wn(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var r=Ca(i.nativeEvent);if(r===null){r=i.nativeEvent;var a=new r.constructor(r.type,r);k1=a,r.target.dispatchEvent(a),k1=null}else return o=y2(r),o!==null&&Dp(o),i.blockedOn=r,!1;o.shift()}return!0}function Pp(i,o,r){Wn(i)&&r.delete(o)}function YF(){da=!1,t5!==null&&Wn(t5)&&(t5=null),n5!==null&&Wn(n5)&&(n5=null),i5!==null&&Wn(i5)&&(i5=null),J7.forEach(Pp),ee.forEach(Pp)}function jn(i,o){i.blockedOn===o&&(i.blockedOn=null,da||(da=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,YF)))}var $n=null;function Wp(i){$n!==i&&($n=i,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){$n===i&&($n=null);for(var o=0;o<i.length;o+=3){var r=i[o],a=i[o+1],u=i[o+2];if(typeof a!="function"){if(ua(a||r)===null)continue;break}var h=y2(r);h!==null&&(i.splice(o,3),o-=3,Cr(h,{pending:!0,data:u,method:r.method,action:a},a,u))}}))}function o6(i){function o(z){return jn(z,i)}t5!==null&&jn(t5,i),n5!==null&&jn(n5,i),i5!==null&&jn(i5,i),J7.forEach(o),ee.forEach(o);for(var r=0;r<s5.length;r++){var a=s5[r];a.blockedOn===i&&(a.blockedOn=null)}for(;0<s5.length&&(r=s5[0],r.blockedOn===null);)Hp(r),r.blockedOn===null&&s5.shift();if(r=(i.ownerDocument||i).$$reactFormReplay,r!=null)for(a=0;a<r.length;a+=3){var u=r[a],h=r[a+1],w=u[B1]||null;if(typeof h=="function")w||Wp(r);else if(w){var R=null;if(h&&h.hasAttribute("formAction")){if(u=h,w=h[B1]||null)R=w.formAction;else if(ua(u)!==null)continue}else R=w.action;typeof R=="function"?r[a+1]=R:(r.splice(a,3),a-=3),Wp(r)}}}function jp(){function i(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(w){return u=w})},focusReset:"manual",scroll:"manual"})}function o(){u!==null&&(u(),u=null),a||setTimeout(r,20)}function r(){if(!a&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(r,100),function(){a=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),u!==null&&(u(),u=null)}}}function ha(i){this._internalRoot=i}Vn.prototype.render=ha.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(s(409));var r=o.current,a=W4();Np(r,a,i,o,null,null)},Vn.prototype.unmount=ha.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;Np(i.current,2,null,i,null,null),bn(),o[h9]=null}};function Vn(i){this._internalRoot=i}Vn.prototype.unstable_scheduleHydration=function(i){if(i){var o=Z5();i={blockedOn:null,target:i,priority:o};for(var r=0;r<s5.length&&o!==0&&o<s5[r].priority;r++);s5.splice(r,0,i),r===0&&Hp(i)}};var $p=e.version;if($p!=="19.2.3")throw Error(s(527,$p,"19.2.3"));j.findDOMNode=function(i){var o=i._reactInternals;if(o===void 0)throw typeof i.render=="function"?Error(s(188)):(i=Object.keys(i).join(","),Error(s(268,i)));return i=f(o),i=i!==null?g(i):null,i=i===null?null:i.stateNode,i};var XF={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gn.isDisabled&&Gn.supportsFiber)try{m4=Gn.inject(XF),p3=Gn}catch{}}return o7.createRoot=function(i,o){if(!l(i))throw Error(s(299));var r=!1,a="",u=Kf,h=Jf,w=eg;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(a=o.identifierPrefix),o.onUncaughtError!==void 0&&(u=o.onUncaughtError),o.onCaughtError!==void 0&&(h=o.onCaughtError),o.onRecoverableError!==void 0&&(w=o.onRecoverableError)),o=Ip(i,1,!1,null,null,r,a,null,u,h,w,jp),i[h9]=o.current,Yr(i),new ha(o)},o7.hydrateRoot=function(i,o,r){if(!l(i))throw Error(s(299));var a=!1,u="",h=Kf,w=Jf,R=eg,z=null;return r!=null&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(h=r.onUncaughtError),r.onCaughtError!==void 0&&(w=r.onCaughtError),r.onRecoverableError!==void 0&&(R=r.onRecoverableError),r.formState!==void 0&&(z=r.formState)),o=Ip(i,1,!0,o,r??null,a,u,z,h,w,R,jp),o.context=zp(null),r=o.current,a=W4(),a=J3(a),u=W0(a),u.callback=null,j0(r,u,a),r=a,o.current.lanes=r,N1(o,r),F9(o),i[h9]=o.current,Yr(i),new Vn(o)},o7.version="19.2.3",o7}var Ud;function DS(){if(Ud)return Ko.exports;Ud=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Ko.exports=OS(),Ko.exports}var FS=DS();const Hd=Xx+8,BS=16,US=16,HS=28,l7=40,Pd=250;function DB(t){return t}function tl(t){const e={};let n=!1;for(const[s,l]of Object.entries(t))if(l!=null)if(n=!0,s==="color")e.fill=String(l);else{const L=s.replace(/([A-Z])/g,"-$1").toLowerCase();e[L]=String(l)}return n?e:void 0}function PS(t,e,n,s){return t.map(l=>{const L=e.getPosition(l.name),c=e.half(l.name),C=l.name.includes(":")&&l.getDisplayName()===l.name;let d,f;if(s&&l.name!==E1){const v=Vx(l.getDisplayName());f=v;const b=C?US:BS,A=l.hasIcon()?HS:0;d=Math.min(Math.max(v+b+A,sc),Pd)}else d=Math.min(c*2-ic,Pd);l.name===E1&&(d=Math.min(d,80));const g=n.getCreationTop(l.name),p=l.name===E1,m=g!=null?Math.max(Hd,g+8):Hd;return{name:l.name,label:l.getDisplayName(),x:L,y:m,width:d,height:l7,isStarter:p,showBottom:g==null&&!p,labelWidth:f,type:l.type,stereotype:l.stereotype,color:l.color,groupId:l.groupId}})}function WS(t,e){return t.map(n=>({participantName:n.name,x:n.x,topY:n.y+n.height,bottomY:e,dashed:!0}))}function jS(t,e){const s=new Map;for(const L of t)if(L.groupId!=null){const c=s.get(L.groupId);c?c.push(L):s.set(L.groupId,[L])}const l=[];for(const[L,c]of s){if(c.length===0)continue;let C=1/0,d=-1/0,f=1/0;for(const b of c){const A=b.x-b.width/2,k=b.x+b.width/2;A<C&&(C=A),k>d&&(d=k),b.y<f&&(f=b.y)}const g=C+-6,p=d-C- -12,m=f-20+.75,v=Math.max(0,e-m+12);l.push({name:String(L),x:g,y:m,width:p,height:v})}return l}function FB(t){return t}const Wd=15;function $S(t,e,n,s,l,L,c=0,C,d,f){var P,Y,n2,l2;const g=t.statNode;if(!g)return null;const p=VS(g);if(!p)return{fragment:{kind:t.fragmentKind,label:t.fragmentLabel||"",labelWidth:t.fragmentLabel?u5(t.fragmentLabel):void 0,x:0,y:e.top,width:n.getWidth(),height:e.height,headerY:e.top+1+c,sections:[],number:t.number,depth:t.depth},comment:C&&f!=null?{x:1,y:f+1+Wd,text:C,style:d,fragmentComment:!0}:void 0};const m=GS(p,t.fragmentSections),v=l.find(f2=>m.includes(f2))||"",b=l.slice().reverse().find(f2=>m.includes(f2))||"",k=new v8(l).getFrame(g),S=M8(k);let N,I;if(v&&b){const f2=n.distance(v,b)+n.half(v)+n.half(b),h2=h5(g).filter(V=>V.from===V.to).map(V=>n.getMessageWidth(V)-n.distance(V.from||E1,b)-n.half(b)),b2=Math.max(0,...h2);N=Math.max(f2,y6)+S.left+S.right+b2,I=n.getPosition(v)-n.half(v)}else N=Math.max(y6,n.getWidth()),I=0;const O=[];if(t.fragmentSections&&t.fragmentSections.length>1){let f2=e.top;for(let c2=0;c2<t.fragmentSections.length;c2++){const h2=t.fragmentSections[c2];if(c2>0){const V=h2.blockNode;if(V){const W=((P=V.stat)==null?void 0:P.call(V))||[];if(W.length>0){const T=jd(W[0]);if(T){const j=s.getStatementCoordinate(T);j&&(f2=j.top-20-8-8-1)}}}}const b2=c2<t.fragmentSections.length-1?0:e.top+e.height-f2;O.push({label:h2.label,y:f2,height:b2,labelWidth:h2.label?u5(h2.label):void 0,innerLabel:/^\[\s*.*\s*\]$/.test(h2.label)?h2.label.slice(1,-1).trim():void 0,innerLabelWidth:/^\[\s*.*\s*\]$/.test(h2.label)?u5(h2.label.slice(1,-1).trim()):void 0,keyword:(()=>{const V=h2.label.indexOf(" ");if(V>0&&!h2.label.startsWith("finally")&&!h2.label.startsWith("["))return h2.label.substring(0,V)})(),keywordWidth:(()=>{const V=h2.label.indexOf(" ");if(V>0&&!h2.label.startsWith("finally")&&!h2.label.startsWith("["))return u5(h2.label.substring(0,V))})(),detail:(()=>{const V=h2.label.indexOf(" ");if(V>0&&!h2.label.startsWith("finally")&&!h2.label.startsWith("["))return h2.label.substring(V+1)})(),detailWidth:(()=>{const V=h2.label.indexOf(" ");if(V>0&&!h2.label.startsWith("finally")&&!h2.label.startsWith("["))return u5(h2.label.substring(V+1))})()})}}if(t.fragmentKind==="par"&&O.length===0){const f2=(n2=(Y=t.fragmentSections)==null?void 0:Y[0])==null?void 0:n2.blockNode,c2=((l2=f2==null?void 0:f2.stat)==null?void 0:l2.call(f2))||[];if(c2.length>1){O.push({label:"",y:e.top,height:0});for(let h2=1;h2<c2.length;h2++){const b2=jd(c2[h2]);if(!b2)continue;const V=s.getStatementCoordinate(b2);if(!V)continue;const W=V.top-1;O.push({label:"",y:W,height:0,contentInsetLeft:S.left+n.half(v)})}}}let B;return C&&f!=null&&(B={x:I+1,y:f+1+Wd,text:C,style:d,fragmentComment:!0}),{fragment:{kind:t.fragmentKind,label:t.fragmentLabel||"",labelWidth:t.fragmentLabel?u5(t.fragmentLabel):void 0,x:I,y:e.top,width:N,height:e.height,headerY:e.top+1+c,sections:O,number:t.number,depth:t.depth},comment:B}}function VS(t){var l,L,c,C;for(const d of["loop","opt","par","critical","section"]){const f=(l=t[d])==null?void 0:l.call(t);if(f)return f}const e=(L=t.alt)==null?void 0:L.call(t);if(e)return e;const n=(c=t.tcf)==null?void 0:c.call(t);if(n)return n;const s=(C=t.ref)==null?void 0:C.call(t);return s||null}function jd(t){return!(t!=null&&t.start)||!(t!=null&&t.stop)?"":`${t.start.start}-${t.stop.stop}`}function GS(t,e){const n=new Set(W9(t));if(e)for(const s of e){if(!s.blockNode)continue;const l=L8(s.blockNode).Names();for(const L of l)n.add(L)}return[...n]}function qS(t){var n;const e=(n=t==null?void 0:t.block)==null?void 0:n.call(t);return e?T9(e,E1,new Map,"",0,null,0):[]}function r7(t){return t.trim()}function T9(t,e,n,s,l,L,c){var g,p,m,v,b,A,k,S,N,I,O,B,P,Y,n2,l2,f2,c2,h2,b2,V,W,T,j,$,o2,g2,Z,F,E,U,K,m2,p2,N2,P2,K2,f1,M1,G1;const C=((g=t==null?void 0:t.stat)==null?void 0:g.call(t))||[],d=[];let f=0;for(const V2 of C){const y1=A6(V2);if(!y1)continue;f++;const i3=c+f,K1=s?`${s}.${i3}`:String(i3),M3=((p=V2.getComment)==null?void 0:p.call(V2))||"",d1=(m=V2.message)==null?void 0:m.call(V2);if(d1){const z1=((v=d1.From)==null?void 0:v.call(d1))||e,i1=((b=d1.Owner)==null?void 0:b.call(d1))||E1,Y1=r7(((A=d1.SignatureText)==null?void 0:A.call(d1))||""),C3=(N=(S=(k=d1.braceBlock)==null?void 0:k.call(d1))==null?void 0:S.block)==null?void 0:N.call(S);if(d.push({key:y1,kind:"sync",from:z1,to:i1,label:Y1,isSelf:z1===i1,hasBlock:!!C3,comment:M3,statNode:V2,senderOccurrenceDepth:n.get(z1)||0,targetHasOccurrence:n.has(i1),targetOccurrenceDepth:n.get(i1)||0,number:K1,depth:l,parentBlockKind:L}),C3){const C4=new Map(n);C4.set(i1,(C4.get(i1)||0)+1),d.push(...T9(C3,i1,C4,K1,l+1,"sync",0))}continue}const G2=(I=V2.asyncMessage)==null?void 0:I.call(V2);if(G2){const z1=((O=G2.From)==null?void 0:O.call(G2))||((B=G2.ProvidedFrom)==null?void 0:B.call(G2))||((P=G2.Origin)==null?void 0:P.call(G2))||e,i1=((Y=G2.Owner)==null?void 0:Y.call(G2))||((f2=(l2=(n2=G2.to)==null?void 0:n2.call(G2))==null?void 0:l2.getFormattedText)==null?void 0:f2.call(l2))||z1,Y1=r7(((b2=(h2=(c2=G2.content)==null?void 0:c2.call(G2))==null?void 0:h2.getText)==null?void 0:b2.call(h2))||((V=G2.SignatureText)==null?void 0:V.call(G2))||"");d.push({key:y1,kind:"async",from:z1,to:i1,label:Y1,isSelf:z1===i1,hasBlock:!1,comment:M3,senderOccurrenceDepth:n.get(z1)||0,targetHasOccurrence:n.has(i1),number:K1,depth:l});continue}const h1=(W=V2.creation)==null?void 0:W.call(V2);if(h1){const z1=((T=h1.From)==null?void 0:T.call(h1))||e,i1=((j=h1.Owner)==null?void 0:j.call(h1))||"",Y1=r7((($=h1.SignatureText)==null?void 0:$.call(h1))||"«create»"),C3=(Z=(g2=(o2=h1.braceBlock)==null?void 0:o2.call(h1))==null?void 0:g2.block)==null?void 0:Z.call(g2);if(d.push({key:y1,kind:"creation",from:z1,to:i1,label:Y1,isSelf:!1,hasBlock:!!C3,comment:M3,statNode:V2,senderOccurrenceDepth:n.get(z1)||0,targetHasOccurrence:n.has(i1),number:K1,depth:l,parentBlockKind:L}),C3){const C4=new Map(n);C4.set(i1,(C4.get(i1)||0)+1),d.push(...T9(C3,i1||e,C4,K1,l+1,"creation",0))}continue}const s1=(F=V2.ret)==null?void 0:F.call(V2);if(s1){const z1=r7(((E=s1.SignatureText)==null?void 0:E.call(s1))||""),i1=(U=s1==null?void 0:s1.asyncMessage)==null?void 0:U.call(s1),Y1=((K=i1==null?void 0:i1.From)==null?void 0:K.call(i1))||((m2=s1==null?void 0:s1.From)==null?void 0:m2.call(s1))||e,C3=((P2=(N2=(p2=i1==null?void 0:i1.to)==null?void 0:p2.call(i1))==null?void 0:N2.getFormattedText)==null?void 0:P2.call(N2))||((K2=s1==null?void 0:s1.ReturnTo)==null?void 0:K2.call(s1))||E1;d.push({key:y1,kind:"return",from:Y1,to:C3,label:z1,isSelf:Y1===C3,hasBlock:!1,comment:M3,senderOccurrenceDepth:n.get(Y1)||0,targetOccurrenceDepth:n.get(C3)||0,number:K1,depth:l,parentBlockKind:L});continue}const K3=(f1=V2.divider)==null?void 0:f1.call(V2);if(K3){const z1=r7(((M1=K3.getFormattedText)==null?void 0:M1.call(K3))||((G1=K3.getText)==null?void 0:G1.call(K3))||"");d.push({key:y1,kind:"divider",from:"",to:"",label:z1,isSelf:!1,hasBlock:!1,senderOccurrenceDepth:0,number:K1,depth:l});continue}const I1=YS(V2);d.push({key:y1,kind:"fragment",from:e,to:"",label:I1.label,isSelf:!1,hasBlock:!1,fragmentKind:I1.fragmentKind,fragmentLabel:I1.label,fragmentSections:I1.sections,comment:M3,statNode:V2,senderOccurrenceDepth:n.get(e)||0,number:K1,depth:l}),XS(V2,e,d,n,K1,l)}return d}function YS(t){var l,L,c,C,d,f,g,p,m,v,b,A,k,S,N,I,O,B,P,Y,n2,l2,f2,c2,h2,b2,V,W,T,j,$,o2,g2,Z,F,E,U,K,m2,p2,N2,P2,K2,f1,M1,G1,V2,y1,i3,K1,M3;for(const d1 of["loop","opt","par","critical","section"]){const G2=(l=t[d1])==null?void 0:l.call(t);if(G2){const h1=(C=(c=(L=G2.parExpr)==null?void 0:L.call(G2))==null?void 0:c.condition)==null?void 0:C.call(c),s1=((d=h1==null?void 0:h1.getFormattedText)==null?void 0:d.call(h1))||"";return{fragmentKind:d1,label:s1,sections:[{label:s1,blockNode:(p=(g=(f=G2.braceBlock)==null?void 0:f.call(G2))==null?void 0:g.block)==null?void 0:p.call(g)}]}}}const e=(m=t.alt)==null?void 0:m.call(t);if(e){const d1=[],G2=(v=e.ifBlock)==null?void 0:v.call(e);G2&&d1.push({label:"Alt",blockNode:(k=(A=(b=G2.braceBlock)==null?void 0:b.call(G2))==null?void 0:A.block)==null?void 0:k.call(A)});for(const I1 of((S=e.elseIfBlock)==null?void 0:S.call(e))||[]){const z1=(O=(I=(N=I1.parExpr)==null?void 0:N.call(I1))==null?void 0:I.condition)==null?void 0:O.call(I),i1=((B=z1==null?void 0:z1.getFormattedText)==null?void 0:B.call(z1))||"";d1.push({label:`[ ${i1} ]`,blockNode:(n2=(Y=(P=I1.braceBlock)==null?void 0:P.call(I1))==null?void 0:Y.block)==null?void 0:n2.call(Y)})}const h1=(l2=e.elseBlock)==null?void 0:l2.call(e);h1&&d1.push({label:"[else]",blockNode:(h2=(c2=(f2=h1.braceBlock)==null?void 0:f2.call(h1))==null?void 0:c2.block)==null?void 0:h2.call(c2)});const s1=(j=(T=(W=(V=(b2=e.ifBlock)==null?void 0:b2.call(e))==null?void 0:V.parExpr)==null?void 0:W.call(V))==null?void 0:T.condition)==null?void 0:j.call(T);return{fragmentKind:"alt",label:(($=s1==null?void 0:s1.getFormattedText)==null?void 0:$.call(s1))||"",sections:d1}}const n=(o2=t.tcf)==null?void 0:o2.call(t);if(n){const d1=[],G2=(g2=n.tryBlock)==null?void 0:g2.call(n);G2&&d1.push({label:"Try",blockNode:(E=(F=(Z=G2.braceBlock)==null?void 0:Z.call(G2))==null?void 0:F.block)==null?void 0:E.call(F)});for(const s1 of((U=n.catchBlock)==null?void 0:U.call(n))||[]){const K3=((P2=(N2=(p2=(m2=(K=s1.invocation)==null?void 0:K.call(s1))==null?void 0:m2.parameters)==null?void 0:p2.call(m2))==null?void 0:N2.getFormattedText)==null?void 0:P2.call(N2))||"";d1.push({label:`catch ${K3}`,blockNode:(M1=(f1=(K2=s1.braceBlock)==null?void 0:K2.call(s1))==null?void 0:f1.block)==null?void 0:M1.call(f1)})}const h1=(G1=n.finallyBlock)==null?void 0:G1.call(n);return h1&&d1.push({label:"finally",blockNode:(i3=(y1=(V2=h1.braceBlock)==null?void 0:V2.call(h1))==null?void 0:y1.block)==null?void 0:i3.call(y1)}),{fragmentKind:"tcf",label:"",sections:d1}}const s=(K1=t.ref)==null?void 0:K1.call(t);return s?{fragmentKind:"ref",label:((M3=s.getFormattedText)==null?void 0:M3.call(s))||"",sections:[]}:{fragmentKind:"loop",label:"",sections:[]}}function zt(t){var e;return(((e=t==null?void 0:t.stat)==null?void 0:e.call(t))||[]).filter(n=>!!A6(n)).length}function XS(t,e,n,s,l,L){var d,f,g,p,m,v,b,A,k,S,N,I,O,B,P,Y,n2,l2,f2,c2,h2,b2,V,W,T,j,$,o2,g2,Z;for(const F of["loop","opt","par","critical","section"]){const E=(d=t[F])==null?void 0:d.call(t);if(E){const U=(p=(g=(f=E.braceBlock)==null?void 0:f.call(E))==null?void 0:g.block)==null?void 0:p.call(g);U&&n.push(...T9(U,e,s,l,L+1,null,0));return}}const c=(m=t.alt)==null?void 0:m.call(t);if(c){const F=(v=c.ifBlock)==null?void 0:v.call(c);let E=0;if(F){const K=(k=(A=(b=F.braceBlock)==null?void 0:b.call(F))==null?void 0:A.block)==null?void 0:k.call(A);K&&(n.push(...T9(K,e,s,l,L+1,null,E)),E+=zt(K))}for(const K of((S=c.elseIfBlock)==null?void 0:S.call(c))||[]){const m2=(O=(I=(N=K.braceBlock)==null?void 0:N.call(K))==null?void 0:I.block)==null?void 0:O.call(I);if(m2){const p2=T9(m2,e,s,l,L+1,null,E);p2.length>0&&(p2[0].sectionReset=!0),n.push(...p2),E+=zt(m2)}}const U=(B=c.elseBlock)==null?void 0:B.call(c);if(U){const K=(n2=(Y=(P=U.braceBlock)==null?void 0:P.call(U))==null?void 0:Y.block)==null?void 0:n2.call(Y);if(K){const m2=T9(K,e,s,l,L+1,null,E);m2.length>0&&(m2[0].sectionReset=!0),n.push(...m2)}}return}const C=(l2=t.tcf)==null?void 0:l2.call(t);if(C){const F=(f2=C.tryBlock)==null?void 0:f2.call(C);let E=0;if(F){const K=(b2=(h2=(c2=F.braceBlock)==null?void 0:c2.call(F))==null?void 0:h2.block)==null?void 0:b2.call(h2);K&&(n.push(...T9(K,e,s,l,L+1,null,E)),E+=zt(K))}for(const K of((V=C.catchBlock)==null?void 0:V.call(C))||[]){const m2=(j=(T=(W=K.braceBlock)==null?void 0:W.call(K))==null?void 0:T.block)==null?void 0:j.call(T);if(m2){const p2=T9(m2,e,s,l,L+1,null,E);p2.length>0&&(p2[0].sectionReset=!0),n.push(...p2),E+=zt(m2)}}const U=($=C.finallyBlock)==null?void 0:$.call(C);if(U){const K=(Z=(g2=(o2=U.braceBlock)==null?void 0:o2.call(U))==null?void 0:g2.block)==null?void 0:Z.call(g2);if(K){const m2=T9(K,e,s,l,L+1,null,E);m2.length>0&&(m2[0].sectionReset=!0),n.push(...m2)}}return}}function QS(t,e,n){var m,v,b,A;const s=new Map,l=[0],L=[0];let c=0;const C=[null],d=[null],f=[!1],g=[0],p=[!1];for(const k of t){const S=k.depth;for(;c>S;){const I=l[c]||0,O=C[c],B=d[c],P=L[c]||0,Y=I-P,n2=Math.max(P-n,0),l2=Y+n2;O&&l2>0&&s.set(`inner:${O}`,l2);const f2=f[c]||!1;O&&f2&&s.set(`mixed:${O}`,1);const c2=p[c]||!1;l.pop(),L.pop(),C.pop(),d.pop(),f.pop(),p.pop(),g.pop(),c--,O&&B==="sync"&&(l[c]+=l2,c2&&(l[c]+=4))}for(;c<S;)c++,l.push(0),L.push(0),C.push(null),d.push(null),f.push(!1),p.push(!1),g.push(0);k.sectionReset&&S<l.length&&(l[S]=0,L[S]=0);let N=0;for(let I=0;I<=S;I++)N+=(l[I]||0)+(g[I]||0);if(s.set(k.key,N),k.kind==="return"&&!k.isSelf){const I=e.getStatementCoordinate(k.key);if(!(I&&I.height>0)){const B=(L[S]||0)===0;l[S]+=n,L[S]+=n,B&&N!==0&&k.parentBlockKind==="sync"&&(g[S]=(g[S]||0)+1)}}else k.kind!=="return"&&S<f.length&&(f[S]=!0);if((k.kind==="sync"||k.kind==="creation")&&k.hasBlock){const I=(v=(m=k.statNode)==null?void 0:m.message)==null?void 0:v.call(m),O=!!((A=(b=I==null?void 0:I.Assignment)==null?void 0:b.call(I))!=null&&A.assignee)&&!k.isSelf;S+1>c?(c=S+1,l.push(0),L.push(0),C.push(k.key),d.push(k.kind),f.push(!1),p.push(O)):(C[S+1]=k.key,d[S+1]=k.kind,l[S+1]=0,L[S+1]=0,f[S+1]=!1,p[S+1]=O)}}for(;c>0;){const k=l[c]||0,S=C[c],N=d[c],I=L[c]||0,O=k-I,B=Math.max(I-n,0),P=O+B;S&&P>0&&s.set(`inner:${S}`,P);const Y=f[c]||!1;S&&Y&&s.set(`mixed:${S}`,1);const n2=p[c]||!1;l.pop(),L.pop(),C.pop(),d.pop(),f.pop(),p.pop(),c--,S&&N==="sync"&&(l[c]+=P,n2&&(l[c]+=4))}return s.set("__totalDebt__",l[0]||0),s}function KS(t,e,n,s,l){var P,Y,n2,l2,f2,c2,h2,b2;const L=qS(t),c=[],C=[],d=[],f=[],g=[],p=[],m=[],v=[];let b=0;const A=e.getWidth(),k=e.orderedParticipantNames(),S=new Map;for(const V of L)if(V.number){const W=V.number.lastIndexOf("."),T=W>=0?V.number.substring(0,W):"",j=parseInt(V.number.substring(W+1),10),$=S.get(T)||0;j>$&&S.set(T,j)}const I=QS(L,n,16);for(const V of L){const W=n.getStatementCoordinate(V.key);if(!W)continue;const T=I.get(V.key)||0;let j;if(V.comment&&(j=new Us(V.comment)),j!=null&&j.text&&V.kind!=="fragment"){let o2=V.from;if(V.kind==="creation"&&V.from&&V.to){const U=e.getPosition(V.from),K=e.getPosition(V.to);U>K&&(o2=V.to)}const g2=o2?e.getPosition(o2):10,Z=15,F=V.senderOccurrenceDepth>=1?$1+1:1,E=j.text.trimStart().startsWith("`")?2:0;v.push({x:g2+F+E,y:W.top+T+Z,text:j.text,style:tl(j.commentStyle)})}const $=j?tl(j.messageStyle):void 0;if(V.kind==="sync"||V.kind==="async"){let o2=e.getPosition(V.from);const g2=e.getPosition(V.to),Z=V.isSelf?30:16,F=j!=null&&j.text?(((P=V.comment)==null?void 0:P.trim().split(`
254
- `).length)||0)*20:0,E=W.top+T+F+Z-.5;if(V.senderOccurrenceDepth>=1&&!V.isSelf){const m2=$1+(V.senderOccurrenceDepth-1)*$1;o2=o2<g2?o2+m2:o2-m2}const U=V.targetOccurrenceDepth||(V.targetHasOccurrence?1:0),K=U*$1;if(V.isSelf){const m2=V.kind==="async",p2=0,N2=m2?28:R6,P2=m2?44:Z,K2=V.senderOccurrenceDepth>=1?o2+$1+(V.senderOccurrenceDepth-1)*$1:o2;C.push({x:K2,y:W.top+p2+F,width:N2,height:P2,label:V.label,arrowStyle:m2?"open":"solid",number:V.number,style:$})}else{const m2=o2<g2,p2=V.kind==="sync"&&!V.isSelf,N2=V.kind==="async"&&!V.isSelf&&U>0,P2=p2?m2?g2-$1+K:g2+$1+K:N2?m2?g2-K:g2+K:g2;c.push({fromX:o2,toX:P2,y:E,label:V.label,arrowStyle:V.kind==="async"?"open":"solid",isSelf:!1,isReverse:P2<o2,number:V.number,style:$})}if(V.kind==="sync"){const m2=g2-$1,p2=E-1.5;let N2=W.height-Z-F+2;const P2=`inner:${V.key}`,K2=I.get(P2)||0;K2>0&&(N2+=K2);const f1=(n2=(Y=V.statNode)==null?void 0:Y.message)==null?void 0:n2.call(Y),M1=(l2=f1==null?void 0:f1.Assignment)==null?void 0:l2.call(f1);M1!=null&&M1.assignee&&!V.isSelf&&V.hasBlock&&(N2+=4);const G1=p2+N2-2;if(N2>0&&(d.push({x:m2,y:p2,width:R6,height:N2,participantName:V.to}),M1!=null&&M1.assignee&&!V.isSelf)){const V2=o2<g2,y1=V2?g2-$1+K+1:g2+$1+K+1;let i3=o2;V.senderOccurrenceDepth===0?i3+=V2?b6+1:b6:V2&&(i3+=2);const K1=V.number?`${V.number}.${(S.get(V.number)||0)+1}`:void 0;p.push({fromX:y1,toX:i3,y:G1,label:M1.assignee,isReverse:o2<g2,isSelf:!1,number:K1}),b=Math.max(b,G1+46)}}continue}if(V.kind==="creation"){let g2=e.getPosition(V.from);const Z=e.getPosition(V.to);if(V.senderOccurrenceDepth>=1){const p2=$1+(V.senderOccurrenceDepth-1)*$1;g2=g2<Z?g2+p2:g2-p2}const F=s.find(p2=>p2.name===V.to),E=F?F.y+l7/2:W.top+40/2;F&&f.push({participant:F,message:{fromX:g2,toX:Z,y:E,label:V.label,arrowStyle:"open",isSelf:!1,isReverse:Z<g2,number:V.number,style:$}});const U=Z-$1,K=F?F.y+l7-2:W.top+40-2,m2=Math.max(W.top+W.height-K,Qx);if(m2>0){d.push({x:U,y:K,width:R6,height:m2,participantName:V.to});const p2=(c2=(f2=V.statNode)==null?void 0:f2.creation)==null?void 0:c2.call(f2),N2=(h2=p2==null?void 0:p2.Assignment)==null?void 0:h2.call(p2);if(N2!=null&&N2.assignee){const P2=K+m2-2,K2=e.getPosition(V.from),f1=K2<Z,M1=$1,G1=Math.max(V.senderOccurrenceDepth-1,0)*$1,V2=V.senderOccurrenceDepth>=1?K2+G1+(f1?M1+2:-M1):K2,y1=f1?Z-M1+1:Z+M1+1;p.push({fromX:y1,toX:V2,y:P2,label:N2.assignee,isReverse:y1>V2,isSelf:!1,number:V.number?`${V.number}.${(S.get(V.number)||0)+1}`:void 0}),b=Math.max(b,P2+46)}}continue}if(V.kind==="fragment"&&V.fragmentKind){const o2={top:W.top+T,height:W.height},g2=j!=null&&j.text?(((b2=V.comment)==null?void 0:b2.trim().split(`
255
- `).length)||0)*20:0,Z=$S(V,o2,e,n,k,l,g2,j==null?void 0:j.text,j!=null&&j.commentStyle?tl(j.commentStyle):void 0,W.top+T);Z&&(g.push(Z.fragment),Z.comment&&v.push(Z.comment));continue}if(V.kind==="return"){const o2=e.getPosition(V.from),g2=e.getPosition(V.to),Z=g2<o2,F=V.senderOccurrenceDepth;let E;Z?E=F===0?o2:(F<=1?o2:o2+$1*(F-1))-$1:E=o2+$1*F+1;const U=V.targetOccurrenceDepth||0;let K;Z?K=g2+$1*U:K=U===0?g2:(U<=1?g2:g2+$1*(U-1))-$1,Z&&(K+=b6);const m2=V.parentBlockKind==="sync"&&W.height>0?15:16,p2=W.top+T+m2;p.push({fromX:E,toX:K,y:p2,label:V.label,isReverse:Z,isSelf:V.isSelf,number:V.number}),b=Math.max(b,p2+(62-m2));continue}if(V.kind==="divider"){const o2=V.label.replace(/^=+\s*|\s*=+$/g,"").trim();m.push({y:W.top+T+W.height/2,width:A,label:V.label,labelWidth:u5(o2)});continue}}const O=16;p.sort((V,W)=>V.y-W.y);for(let V=1;V<p.length;V++)p[V].y-p[V-1].y<O&&(p[V]={...p[V],y:p[V-1].y+O});for(let V=0;V<d.length;V++){const W=d[V];let T=0;for(let j=0;j<d.length;j++){if(V===j)continue;const $=d[j];$.participantName===W.participantName&&$.y<=W.y&&$.y+$.height>=W.y+W.height&&T++}T>0&&(d[V]={...W,x:W.x+T*$1})}const B=I.get("__totalDebt__")||0;return{messages:c,selfCalls:C,occurrences:d,creations:f,fragments:g,returns:p,dividers:m,comments:v,totalReturnDebt:B,maxReturnBottom:b}}function JS(t){const{rootContext:e,coordinates:n,verticalCoordinates:s,title:l,measureText:L}=t,c=Ss(e),C=s.getTotalHeight(),d=n.orderedParticipantNames(),g=new v8(d).getFrame(e),p=M8(g),m=PS(c,n,s,L),v=KS(e,n,s,m,L),{messages:b,selfCalls:A,occurrences:k,creations:S,fragments:N,returns:I,dividers:O,comments:B}=v;let P=0,Y=0;for(const E of k)P=Math.max(P,E.y+E.height);for(const E of b)Y=Math.max(Y,E.y);for(const E of A)Y=Math.max(Y,E.y+E.height);for(const E of S)Y=Math.max(Y,E.message.y+l7);for(const E of N)Y=Math.max(Y,E.y+E.height);for(const E of O)Y=Math.max(Y,E.y);const n2=Math.max(C+28,P+13,Y+13,v.maxReturnBottom),l2=n2+l7-28,f2=WS(m,l2),c2=W9(e),h2=n.orderedParticipantNames(),b2=h2.find(E=>c2.includes(E))||"",V=h2.slice().reverse().find(E=>c2.includes(E))||"",W=n.distance(b2,V)+n.half(b2)+n.half(V),j=h5(e).filter(E=>E.from===E.to).map(E=>n.getMessageWidth(E)-n.distance(E.from||E1,V)-n.half(V)),$=Math.max(0,...j);let o2=Math.max(W,y6)+$;if(L){if(l){const U=L(l,v0.ParticipantName)*1.15;U>o2&&(o2=U)}const E=10;for(const U of b){const K=L(U.label,v0.MessageContent),p2=(U.fromX+U.toX)/2+K/2+E;p2>o2&&(o2=p2)}for(const U of I){const K=L(U.label,v0.MessageContent),p2=(U.fromX+U.toX)/2+K/2+E;p2>o2&&(o2=p2)}for(const U of S){const K=L(U.message.label,v0.MessageContent),p2=(U.message.fromX+U.message.toX)/2+K/2+E;p2>o2&&(o2=p2)}}for(const E of N)E.x-=p.left;for(const E of B)E.fragmentComment&&(E.x-=p.left);const g2=new Map;for(const E of N){let U=0;for(const K of N)K!==E&&K.x<=E.x&&K.y<=E.y&&K.x+K.width>=E.x+E.width&&K.y+K.height>=E.y+E.height&&U++;g2.set(E,U),E.x+=U*Ne}const Z=o2+p.right;for(const E of N){const U=g2.get(E)||0,K=Z-U*Ne,m2=E.x+E.width;m2>=K-20&&m2<K&&(E.width=K-E.x)}const F=jS(m,n2);return{width:o2,height:n2,frameBorderLeft:p.left,frameBorderRight:p.right,title:l,participants:m,lifelines:f2,messages:b,selfCalls:A,occurrences:k,creations:S,fragments:N,dividers:O,returns:I,comments:B,groups:F}}const $d=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
252
+ `+a.stack}}var d1=Object.prototype.hasOwnProperty,G2=t.unstable_scheduleCallback,h1=t.unstable_cancelCallback,s1=t.unstable_shouldYield,K3=t.unstable_requestPaint,I1=t.unstable_now,z1=t.unstable_getCurrentPriorityLevel,i1=t.unstable_ImmediatePriority,Y1=t.unstable_UserBlockingPriority,C3=t.unstable_NormalPriority,C4=t.unstable_LowPriority,Q9=t.unstable_IdlePriority,z0=t.log,D3=t.unstable_setDisableYieldValue,m4=null,p3=null;function m3(i){if(typeof z0=="function"&&D3(i),p3&&typeof p3.setStrictMode=="function")try{p3.setStrictMode(m4,i)}catch{}}var x3=Math.clz32?Math.clz32:L2,k5=Math.log,Q=Math.LN2;function L2(i){return i>>>=0,i===0?32:31-(k5(i)/Q|0)|0}var M2=256,D2=262144,g1=4194304;function e1(i){var o=i&42;if(o!==0)return o;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function X1(i,o,r){var a=i.pendingLanes;if(a===0)return 0;var u=0,h=i.suspendedLanes,w=i.pingedLanes;i=i.warmLanes;var R=a&134217727;return R!==0?(a=R&~h,a!==0?u=e1(a):(w&=R,w!==0?u=e1(w):r||(r=R&~i,r!==0&&(u=e1(r))))):(R=a&~h,R!==0?u=e1(R):w!==0?u=e1(w):r||(r=a&~i,r!==0&&(u=e1(r)))),u===0?0:o!==0&&o!==u&&(o&h)===0&&(h=u&-u,r=o&-o,h>=r||h===32&&(r&4194048)!==0)?o:u}function R2(i,o){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&o)===0}function _2(i,o){switch(i){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function q2(){var i=g1;return g1<<=1,(g1&62914560)===0&&(g1=4194304),i}function t1(i){for(var o=[],r=0;31>r;r++)o.push(i);return o}function N1(i,o){i.pendingLanes|=o,o!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function x4(i,o,r,a,u,h){var w=i.pendingLanes;i.pendingLanes=r,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=r,i.entangledLanes&=r,i.errorRecoveryDisabledLanes&=r,i.shellSuspendCounter=0;var R=i.entanglements,z=i.expirationTimes,t2=i.hiddenUpdates;for(r=w&~r;0<r;){var r2=31-x3(r),u2=1<<r2;R[r2]=0,z[r2]=-1;var i2=t2[r2];if(i2!==null)for(t2[r2]=null,r2=0;r2<i2.length;r2++){var s2=i2[r2];s2!==null&&(s2.lane&=-536870913)}r&=~u2}a!==0&&K9(i,a,0),h!==0&&u===0&&i.tag!==0&&(i.suspendedLanes|=h&~(w&~o))}function K9(i,o,r){i.pendingLanes|=o,i.suspendedLanes&=~o;var a=31-x3(o);i.entangledLanes|=o,i.entanglements[a]=i.entanglements[a]|1073741824|r&261930}function J9(i,o){var r=i.entangledLanes|=o;for(i=i.entanglements;r;){var a=31-x3(r),u=1<<a;u&o|i[a]&o&&(i[a]|=o),r&=~u}}function b8(i,o){var r=o&-o;return r=(r&42)!==0?1:J3(r),(r&(i.suspendedLanes|o))!==0?0:r}function J3(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function N4(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function Z5(){var i=j.p;return i!==0?i:(i=window.event,i===void 0?32:Bp(i.type))}function T5(i,o){var r=j.p;try{return j.p=i,o()}finally{j.p=r}}var F3=Math.random().toString(36).slice(2),u3="__reactFiber$"+F3,B1="__reactProps$"+F3,h9="__reactContainer$"+F3,E9="__reactEvents$"+F3,E5="__reactListeners$"+F3,A8="__reactHandles$"+F3,S8="__reactResources$"+F3,O2="__reactMarker$"+F3;function D(i){delete i[u3],delete i[B1],delete i[E9],delete i[E5],delete i[A8]}function x2(i){var o=i[u3];if(o)return o;for(var r=i.parentNode;r;){if(o=r[h9]||r[u3]){if(r=o.alternate,o.child!==null||r!==null&&r.child!==null)for(i=_p(i);i!==null;){if(r=i[u3])return r;i=_p(i)}return o}i=r,r=i.parentNode}return null}function y2(i){if(i=i[u3]||i[h9]){var o=i.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return i}return null}function b1(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i.stateNode;throw Error(s(33))}function Q1(i){var o=i[S8];return o||(o=i[S8]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function l1(i){i[O2]=!0}var Z3=new Set,B3={};function e4(i,o){Q4(i,o),Q4(i+"Capture",o)}function Q4(i,o){for(B3[i]=o,i=0;i<o.length;i++)Z3.add(o[i])}var C2=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Z2={},L1={};function U1(i){return d1.call(L1,i)?!0:d1.call(Z2,i)?!1:C2.test(i)?L1[i]=!0:(Z2[i]=!0,!1)}function l3(i,o,r){if(U1(o))if(r===null)i.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":i.removeAttribute(o);return;case"boolean":var a=o.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){i.removeAttribute(o);return}}i.setAttribute(o,""+r)}}function K4(i,o,r){if(r===null)i.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(o);return}i.setAttribute(o,""+r)}}function _3(i,o,r,a){if(a===null)i.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(r);return}i.setAttributeNS(o,r,""+a)}}function r3(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function O4(i){var o=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function I9(i,o,r){var a=Object.getOwnPropertyDescriptor(i.constructor.prototype,o);if(!i.hasOwnProperty(o)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,h=a.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return u.call(this)},set:function(w){r=""+w,h.call(this,w)}}),Object.defineProperty(i,o,{enumerable:a.enumerable}),{getValue:function(){return r},setValue:function(w){r=""+w},stopTracking:function(){i._valueTracker=null,delete i[o]}}}}function C7(i){if(!i._valueTracker){var o=O4(i)?"checked":"value";i._valueTracker=I9(i,o,""+i[o])}}function Ft(i){if(!i)return!1;var o=i._valueTracker;if(!o)return!0;var r=o.getValue(),a="";return i&&(a=O4(i)?i.checked?"true":"false":i.value),i=a,i!==r?(o.setValue(i),!0):!1}function k8(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var dl=/[\n"\\]/g;function U3(i){return i.replace(dl,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function Z8(i,o,r,a,u,h,w,R){i.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?i.type=w:i.removeAttribute("type"),o!=null?w==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=""+r3(o)):i.value!==""+r3(o)&&(i.value=""+r3(o)):w!=="submit"&&w!=="reset"||i.removeAttribute("value"),o!=null?u7(i,w,r3(o)):r!=null?u7(i,w,r3(r)):a!=null&&i.removeAttribute("value"),u==null&&h!=null&&(i.defaultChecked=!!h),u!=null&&(i.checked=u&&typeof u!="function"&&typeof u!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?i.name=""+r3(R):i.removeAttribute("name")}function e0(i,o,r,a,u,h,w,R){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(i.type=h),o!=null||r!=null){if(!(h!=="submit"&&h!=="reset"||o!=null)){C7(i);return}r=r!=null?""+r3(r):"",o=o!=null?""+r3(o):r,R||o===i.value||(i.value=o),i.defaultValue=o}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,i.checked=R?i.checked:!!a,i.defaultChecked=!!a,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(i.name=w),C7(i)}function u7(i,o,r){o==="number"&&k8(i.ownerDocument)===i||i.defaultValue===""+r||(i.defaultValue=""+r)}function z9(i,o,r,a){if(i=i.options,o){o={};for(var u=0;u<r.length;u++)o["$"+r[u]]=!0;for(r=0;r<i.length;r++)u=o.hasOwnProperty("$"+i[r].value),i[r].selected!==u&&(i[r].selected=u),u&&a&&(i[r].defaultSelected=!0)}else{for(r=""+r3(r),o=null,u=0;u<i.length;u++){if(i[u].value===r){i[u].selected=!0,a&&(i[u].defaultSelected=!0);return}o!==null||i[u].disabled||(o=i[u])}o!==null&&(o.selected=!0)}}function c1(i,o,r){if(o!=null&&(o=""+r3(o),o!==i.value&&(i.value=o),r==null)){i.defaultValue!==o&&(i.defaultValue=o);return}i.defaultValue=r!=null?""+r3(r):""}function d7(i,o,r,a){if(o==null){if(a!=null){if(r!=null)throw Error(s(92));if(W(a)){if(1<a.length)throw Error(s(93));a=a[0]}r=a}r==null&&(r=""),o=r}r=r3(o),i.defaultValue=r,a=i.textContent,a===r&&a!==""&&a!==null&&(i.value=a),C7(i)}function d3(i,o){if(o){var r=i.firstChild;if(r&&r===i.lastChild&&r.nodeType===3){r.nodeValue=o;return}}i.textContent=o}var h3=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function I5(i,o,r){var a=o.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?a?i.setProperty(o,""):o==="float"?i.cssFloat="":i[o]="":a?i.setProperty(o,r):typeof r!="number"||r===0||h3.has(o)?o==="float"?i.cssFloat=r:i[o]=(""+r).trim():i[o]=r+"px"}function t0(i,o,r){if(o!=null&&typeof o!="object")throw Error(s(62));if(i=i.style,r!=null){for(var a in r)!r.hasOwnProperty(a)||o!=null&&o.hasOwnProperty(a)||(a.indexOf("--")===0?i.setProperty(a,""):a==="float"?i.cssFloat="":i[a]="");for(var u in o)a=o[u],o.hasOwnProperty(u)&&r[u]!==a&&I5(i,u,a)}else for(var h in o)o.hasOwnProperty(h)&&I5(i,h,o[h])}function z5(i){if(i.indexOf("-")===-1)return!1;switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var h7=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),B2=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function W2(i){return B2.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function Q2(){}var k1=null;function I3(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var f9=null,N0=null;function dh(i){var o=y2(i);if(o&&(i=o.stateNode)){var r=i[B1]||null;e:switch(i=o.stateNode,o.type){case"input":if(Z8(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),o=r.name,r.type==="radio"&&o!=null){for(r=i;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+U3(""+o)+'"][type="radio"]'),o=0;o<r.length;o++){var a=r[o];if(a!==i&&a.form===i.form){var u=a[B1]||null;if(!u)throw Error(s(90));Z8(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(o=0;o<r.length;o++)a=r[o],a.form===i.form&&Ft(a)}break e;case"textarea":c1(i,r.value,r.defaultValue);break e;case"select":o=r.value,o!=null&&z9(i,!!r.multiple,o,!1)}}}var hl=!1;function hh(i,o,r){if(hl)return i(o,r);hl=!0;try{var a=i(o);return a}finally{if(hl=!1,(f9!==null||N0!==null)&&(bn(),f9&&(o=f9,i=N0,N0=f9=null,dh(o),i)))for(o=0;o<i.length;o++)dh(i[o])}}function f7(i,o){var r=i.stateNode;if(r===null)return null;var a=r[B1]||null;if(a===null)return null;r=a[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(i=i.type,a=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!a;break e;default:i=!1}if(i)return null;if(r&&typeof r!="function")throw Error(s(231,o,typeof r));return r}var n0=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fl=!1;if(n0)try{var g7={};Object.defineProperty(g7,"passive",{get:function(){fl=!0}}),window.addEventListener("test",g7,g7),window.removeEventListener("test",g7,g7)}catch{fl=!1}var O0=null,gl=null,Bt=null;function fh(){if(Bt)return Bt;var i,o=gl,r=o.length,a,u="value"in O0?O0.value:O0.textContent,h=u.length;for(i=0;i<r&&o[i]===u[i];i++);var w=r-i;for(a=1;a<=w&&o[r-a]===u[h-a];a++);return Bt=u.slice(i,1<a?1-a:void 0)}function Ut(i){var o=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&o===13&&(i=13)):i=o,i===10&&(i=13),32<=i||i===13?i:0}function Ht(){return!0}function gh(){return!1}function w4(i){function o(r,a,u,h,w){this._reactName=r,this._targetInst=u,this.type=a,this.nativeEvent=h,this.target=w,this.currentTarget=null;for(var R in i)i.hasOwnProperty(R)&&(r=i[R],this[R]=r?r(h):h[R]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Ht:gh,this.isPropagationStopped=gh,this}return p(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Ht)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Ht)},persist:function(){},isPersistent:Ht}),o}var N5={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pt=w4(N5),p7=p({},N5,{view:0,detail:0}),XO=w4(p7),pl,ml,m7,Wt=p({},p7,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wl,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==m7&&(m7&&i.type==="mousemove"?(pl=i.screenX-m7.screenX,ml=i.screenY-m7.screenY):ml=pl=0,m7=i),pl)},movementY:function(i){return"movementY"in i?i.movementY:ml}}),ph=w4(Wt),QO=p({},Wt,{dataTransfer:0}),KO=w4(QO),JO=p({},p7,{relatedTarget:0}),xl=w4(JO),eD=p({},N5,{animationName:0,elapsedTime:0,pseudoElement:0}),tD=w4(eD),nD=p({},N5,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),iD=w4(nD),sD=p({},N5,{data:0}),mh=w4(sD),oD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lD={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rD={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function aD(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=rD[i])?!!o[i]:!1}function wl(){return aD}var LD=p({},p7,{key:function(i){if(i.key){var o=oD[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=Ut(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?lD[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wl,charCode:function(i){return i.type==="keypress"?Ut(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Ut(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),cD=w4(LD),CD=p({},Wt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xh=w4(CD),uD=p({},p7,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wl}),dD=w4(uD),hD=p({},N5,{propertyName:0,elapsedTime:0,pseudoElement:0}),fD=w4(hD),gD=p({},Wt,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),pD=w4(gD),mD=p({},N5,{newState:0,oldState:0}),xD=w4(mD),wD=[9,13,27,32],vl=n0&&"CompositionEvent"in window,x7=null;n0&&"documentMode"in document&&(x7=document.documentMode);var vD=n0&&"TextEvent"in window&&!x7,wh=n0&&(!vl||x7&&8<x7&&11>=x7),vh=" ",Mh=!1;function _h(i,o){switch(i){case"keyup":return wD.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yh(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var T8=!1;function MD(i,o){switch(i){case"compositionend":return yh(o);case"keypress":return o.which!==32?null:(Mh=!0,vh);case"textInput":return i=o.data,i===vh&&Mh?null:i;default:return null}}function _D(i,o){if(T8)return i==="compositionend"||!vl&&_h(i,o)?(i=fh(),Bt=gl=O0=null,T8=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return wh&&o.locale!=="ko"?null:o.data;default:return null}}var yD={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Rh(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!yD[i.type]:o==="textarea"}function bh(i,o,r,a){f9?N0?N0.push(a):N0=[a]:f9=a,o=In(o,"onChange"),0<o.length&&(r=new Pt("onChange","change",null,r,a),i.push({event:r,listeners:o}))}var w7=null,v7=null;function RD(i){Lp(i,0)}function jt(i){var o=b1(i);if(Ft(o))return i}function Ah(i,o){if(i==="change")return o}var Sh=!1;if(n0){var Ml;if(n0){var _l="oninput"in document;if(!_l){var kh=document.createElement("div");kh.setAttribute("oninput","return;"),_l=typeof kh.oninput=="function"}Ml=_l}else Ml=!1;Sh=Ml&&(!document.documentMode||9<document.documentMode)}function Zh(){w7&&(w7.detachEvent("onpropertychange",Th),v7=w7=null)}function Th(i){if(i.propertyName==="value"&&jt(v7)){var o=[];bh(o,v7,i,I3(i)),hh(RD,o)}}function bD(i,o,r){i==="focusin"?(Zh(),w7=o,v7=r,w7.attachEvent("onpropertychange",Th)):i==="focusout"&&Zh()}function AD(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return jt(v7)}function SD(i,o){if(i==="click")return jt(o)}function kD(i,o){if(i==="input"||i==="change")return jt(o)}function ZD(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var D4=typeof Object.is=="function"?Object.is:ZD;function M7(i,o){if(D4(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var r=Object.keys(i),a=Object.keys(o);if(r.length!==a.length)return!1;for(a=0;a<r.length;a++){var u=r[a];if(!d1.call(o,u)||!D4(i[u],o[u]))return!1}return!0}function Eh(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function Ih(i,o){var r=Eh(i);i=0;for(var a;r;){if(r.nodeType===3){if(a=i+r.textContent.length,i<=o&&a>=o)return{node:r,offset:o-i};i=a}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Eh(r)}}function zh(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?zh(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function Nh(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var o=k8(i.document);o instanceof i.HTMLIFrameElement;){try{var r=typeof o.contentWindow.location.href=="string"}catch{r=!1}if(r)i=o.contentWindow;else break;o=k8(i.document)}return o}function yl(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}var TD=n0&&"documentMode"in document&&11>=document.documentMode,E8=null,Rl=null,_7=null,bl=!1;function Oh(i,o,r){var a=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;bl||E8==null||E8!==k8(a)||(a=E8,"selectionStart"in a&&yl(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),_7&&M7(_7,a)||(_7=a,a=In(Rl,"onSelect"),0<a.length&&(o=new Pt("onSelect","select",null,o,r),i.push({event:o,listeners:a}),o.target=E8)))}function O5(i,o){var r={};return r[i.toLowerCase()]=o.toLowerCase(),r["Webkit"+i]="webkit"+o,r["Moz"+i]="moz"+o,r}var I8={animationend:O5("Animation","AnimationEnd"),animationiteration:O5("Animation","AnimationIteration"),animationstart:O5("Animation","AnimationStart"),transitionrun:O5("Transition","TransitionRun"),transitionstart:O5("Transition","TransitionStart"),transitioncancel:O5("Transition","TransitionCancel"),transitionend:O5("Transition","TransitionEnd")},Al={},Dh={};n0&&(Dh=document.createElement("div").style,"AnimationEvent"in window||(delete I8.animationend.animation,delete I8.animationiteration.animation,delete I8.animationstart.animation),"TransitionEvent"in window||delete I8.transitionend.transition);function D5(i){if(Al[i])return Al[i];if(!I8[i])return i;var o=I8[i],r;for(r in o)if(o.hasOwnProperty(r)&&r in Dh)return Al[i]=o[r];return i}var Fh=D5("animationend"),Bh=D5("animationiteration"),Uh=D5("animationstart"),ED=D5("transitionrun"),ID=D5("transitionstart"),zD=D5("transitioncancel"),Hh=D5("transitionend"),Ph=new Map,Sl="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Sl.push("scrollEnd");function g9(i,o){Ph.set(i,o),e4(o,[i])}var $t=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},J4=[],z8=0,kl=0;function Vt(){for(var i=z8,o=kl=z8=0;o<i;){var r=J4[o];J4[o++]=null;var a=J4[o];J4[o++]=null;var u=J4[o];J4[o++]=null;var h=J4[o];if(J4[o++]=null,a!==null&&u!==null){var w=a.pending;w===null?u.next=u:(u.next=w.next,w.next=u),a.pending=u}h!==0&&Wh(r,u,h)}}function Gt(i,o,r,a){J4[z8++]=i,J4[z8++]=o,J4[z8++]=r,J4[z8++]=a,kl|=a,i.lanes|=a,i=i.alternate,i!==null&&(i.lanes|=a)}function Zl(i,o,r,a){return Gt(i,o,r,a),qt(i)}function F5(i,o){return Gt(i,null,null,o),qt(i)}function Wh(i,o,r){i.lanes|=r;var a=i.alternate;a!==null&&(a.lanes|=r);for(var u=!1,h=i.return;h!==null;)h.childLanes|=r,a=h.alternate,a!==null&&(a.childLanes|=r),h.tag===22&&(i=h.stateNode,i===null||i._visibility&1||(u=!0)),i=h,h=h.return;return i.tag===3?(h=i.stateNode,u&&o!==null&&(u=31-x3(r),i=h.hiddenUpdates,a=i[u],a===null?i[u]=[o]:a.push(o),o.lane=r|536870912),h):null}function qt(i){if(50<$7)throw $7=0,Br=null,Error(s(185));for(var o=i.return;o!==null;)i=o,o=i.return;return i.tag===3?i.stateNode:null}var N8={};function ND(i,o,r,a){this.tag=i,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function F4(i,o,r,a){return new ND(i,o,r,a)}function Tl(i){return i=i.prototype,!(!i||!i.isReactComponent)}function i0(i,o){var r=i.alternate;return r===null?(r=F4(i.tag,o,i.key,i.mode),r.elementType=i.elementType,r.type=i.type,r.stateNode=i.stateNode,r.alternate=i,i.alternate=r):(r.pendingProps=o,r.type=i.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=i.flags&65011712,r.childLanes=i.childLanes,r.lanes=i.lanes,r.child=i.child,r.memoizedProps=i.memoizedProps,r.memoizedState=i.memoizedState,r.updateQueue=i.updateQueue,o=i.dependencies,r.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},r.sibling=i.sibling,r.index=i.index,r.ref=i.ref,r.refCleanup=i.refCleanup,r}function jh(i,o){i.flags&=65011714;var r=i.alternate;return r===null?(i.childLanes=0,i.lanes=o,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=r.childLanes,i.lanes=r.lanes,i.child=r.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=r.memoizedProps,i.memoizedState=r.memoizedState,i.updateQueue=r.updateQueue,i.type=r.type,o=r.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),i}function Yt(i,o,r,a,u,h){var w=0;if(a=i,typeof i=="function")Tl(i)&&(w=1);else if(typeof i=="string")w=UF(i,r,H.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case o2:return i=F4(31,r,o,u),i.elementType=o2,i.lanes=h,i;case A:return B5(r.children,u,h,o);case k:w=8,u|=24;break;case S:return i=F4(12,r,o,u|2),i.elementType=S,i.lanes=h,i;case B:return i=F4(13,r,o,u),i.elementType=B,i.lanes=h,i;case P:return i=F4(19,r,o,u),i.elementType=P,i.lanes=h,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case I:w=10;break e;case N:w=9;break e;case O:w=11;break e;case Y:w=14;break e;case n2:w=16,a=null;break e}w=29,r=Error(s(130,i===null?"null":typeof i,"")),a=null}return o=F4(w,r,o,u),o.elementType=i,o.type=a,o.lanes=h,o}function B5(i,o,r,a){return i=F4(7,i,a,o),i.lanes=r,i}function El(i,o,r){return i=F4(6,i,null,o),i.lanes=r,i}function $h(i){var o=F4(18,null,null,0);return o.stateNode=i,o}function Il(i,o,r){return o=F4(4,i.children!==null?i.children:[],i.key,o),o.lanes=r,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}var Vh=new WeakMap;function e9(i,o){if(typeof i=="object"&&i!==null){var r=Vh.get(i);return r!==void 0?r:(o={value:i,source:o,stack:M3(o)},Vh.set(i,o),o)}return{value:i,source:o,stack:M3(o)}}var O8=[],D8=0,Xt=null,y7=0,t9=[],n9=0,D0=null,N9=1,O9="";function s0(i,o){O8[D8++]=y7,O8[D8++]=Xt,Xt=i,y7=o}function Gh(i,o,r){t9[n9++]=N9,t9[n9++]=O9,t9[n9++]=D0,D0=i;var a=N9;i=O9;var u=32-x3(a)-1;a&=~(1<<u),r+=1;var h=32-x3(o)+u;if(30<h){var w=u-u%5;h=(a&(1<<w)-1).toString(32),a>>=w,u-=w,N9=1<<32-x3(o)+u|r<<u|a,O9=h+i}else N9=1<<h|r<<u|a,O9=i}function zl(i){i.return!==null&&(s0(i,1),Gh(i,1,0))}function Nl(i){for(;i===Xt;)Xt=O8[--D8],O8[D8]=null,y7=O8[--D8],O8[D8]=null;for(;i===D0;)D0=t9[--n9],t9[n9]=null,O9=t9[--n9],t9[n9]=null,N9=t9[--n9],t9[n9]=null}function qh(i,o){t9[n9++]=N9,t9[n9++]=O9,t9[n9++]=D0,N9=o.id,O9=o.overflow,D0=i}var H3=null,J1=null,_1=!1,F0=null,i9=!1,Ol=Error(s(519));function B0(i){var o=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw R7(e9(o,i)),Ol}function Yh(i){var o=i.stateNode,r=i.type,a=i.memoizedProps;switch(o[u3]=i,o[B1]=a,r){case"dialog":m1("cancel",o),m1("close",o);break;case"iframe":case"object":case"embed":m1("load",o);break;case"video":case"audio":for(r=0;r<G7.length;r++)m1(G7[r],o);break;case"source":m1("error",o);break;case"img":case"image":case"link":m1("error",o),m1("load",o);break;case"details":m1("toggle",o);break;case"input":m1("invalid",o),e0(o,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":m1("invalid",o);break;case"textarea":m1("invalid",o),d7(o,a.value,a.defaultValue,a.children)}r=a.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||o.textContent===""+r||a.suppressHydrationWarning===!0||dp(o.textContent,r)?(a.popover!=null&&(m1("beforetoggle",o),m1("toggle",o)),a.onScroll!=null&&m1("scroll",o),a.onScrollEnd!=null&&m1("scrollend",o),a.onClick!=null&&(o.onclick=Q2),o=!0):o=!1,o||B0(i,!0)}function Xh(i){for(H3=i.return;H3;)switch(H3.tag){case 5:case 31:case 13:i9=!1;return;case 27:case 3:i9=!0;return;default:H3=H3.return}}function F8(i){if(i!==H3)return!1;if(!_1)return Xh(i),_1=!0,!1;var o=i.tag,r;if((r=o!==3&&o!==27)&&((r=o===5)&&(r=i.type,r=!(r!=="form"&&r!=="button")||ea(i.type,i.memoizedProps)),r=!r),r&&J1&&B0(i),Xh(i),o===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(317));J1=Mp(i)}else if(o===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(317));J1=Mp(i)}else o===27?(o=J1,J0(i.type)?(i=oa,oa=null,J1=i):J1=o):J1=H3?o9(i.stateNode.nextSibling):null;return!0}function U5(){J1=H3=null,_1=!1}function Dl(){var i=F0;return i!==null&&(y4===null?y4=i:y4.push.apply(y4,i),F0=null),i}function R7(i){F0===null?F0=[i]:F0.push(i)}var Fl=Z(null),H5=null,o0=null;function U0(i,o,r){E(Fl,o._currentValue),o._currentValue=r}function l0(i){i._currentValue=Fl.current,F(Fl)}function Bl(i,o,r){for(;i!==null;){var a=i.alternate;if((i.childLanes&o)!==o?(i.childLanes|=o,a!==null&&(a.childLanes|=o)):a!==null&&(a.childLanes&o)!==o&&(a.childLanes|=o),i===r)break;i=i.return}}function Ul(i,o,r,a){var u=i.child;for(u!==null&&(u.return=i);u!==null;){var h=u.dependencies;if(h!==null){var w=u.child;h=h.firstContext;e:for(;h!==null;){var R=h;h=u;for(var z=0;z<o.length;z++)if(R.context===o[z]){h.lanes|=r,R=h.alternate,R!==null&&(R.lanes|=r),Bl(h.return,r,i),a||(w=null);break e}h=R.next}}else if(u.tag===18){if(w=u.return,w===null)throw Error(s(341));w.lanes|=r,h=w.alternate,h!==null&&(h.lanes|=r),Bl(w,r,i),w=null}else w=u.child;if(w!==null)w.return=u;else for(w=u;w!==null;){if(w===i){w=null;break}if(u=w.sibling,u!==null){u.return=w.return,w=u;break}w=w.return}u=w}}function B8(i,o,r,a){i=null;for(var u=o,h=!1;u!==null;){if(!h){if((u.flags&524288)!==0)h=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var w=u.alternate;if(w===null)throw Error(s(387));if(w=w.memoizedProps,w!==null){var R=u.type;D4(u.pendingProps.value,w.value)||(i!==null?i.push(R):i=[R])}}else if(u===p2.current){if(w=u.alternate,w===null)throw Error(s(387));w.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(i!==null?i.push(K7):i=[K7])}u=u.return}i!==null&&Ul(o,i,r,a),o.flags|=262144}function Qt(i){for(i=i.firstContext;i!==null;){if(!D4(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function P5(i){H5=i,o0=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function P3(i){return Qh(H5,i)}function Kt(i,o){return H5===null&&P5(i),Qh(i,o)}function Qh(i,o){var r=o._currentValue;if(o={context:o,memoizedValue:r,next:null},o0===null){if(i===null)throw Error(s(308));o0=o,i.dependencies={lanes:0,firstContext:o},i.flags|=524288}else o0=o0.next=o;return r}var OD=typeof AbortController<"u"?AbortController:function(){var i=[],o=this.signal={aborted:!1,addEventListener:function(r,a){i.push(a)}};this.abort=function(){o.aborted=!0,i.forEach(function(r){return r()})}},DD=t.unstable_scheduleCallback,FD=t.unstable_NormalPriority,y3={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hl(){return{controller:new OD,data:new Map,refCount:0}}function b7(i){i.refCount--,i.refCount===0&&DD(FD,function(){i.controller.abort()})}var A7=null,Pl=0,U8=0,H8=null;function BD(i,o){if(A7===null){var r=A7=[];Pl=0,U8=$r(),H8={status:"pending",value:void 0,then:function(a){r.push(a)}}}return Pl++,o.then(Kh,Kh),o}function Kh(){if(--Pl===0&&A7!==null){H8!==null&&(H8.status="fulfilled");var i=A7;A7=null,U8=0,H8=null;for(var o=0;o<i.length;o++)(0,i[o])()}}function UD(i,o){var r=[],a={status:"pending",value:null,reason:null,then:function(u){r.push(u)}};return i.then(function(){a.status="fulfilled",a.value=o;for(var u=0;u<r.length;u++)(0,r[u])(o)},function(u){for(a.status="rejected",a.reason=u,u=0;u<r.length;u++)(0,r[u])(void 0)}),a}var Jh=T.S;T.S=function(i,o){Dg=I1(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&BD(i,o),Jh!==null&&Jh(i,o)};var W5=Z(null);function Wl(){var i=W5.current;return i!==null?i:q1.pooledCache}function Jt(i,o){o===null?E(W5,W5.current):E(W5,o.pool)}function ef(){var i=Wl();return i===null?null:{parent:y3._currentValue,pool:i}}var P8=Error(s(460)),jl=Error(s(474)),en=Error(s(542)),tn={then:function(){}};function tf(i){return i=i.status,i==="fulfilled"||i==="rejected"}function nf(i,o,r){switch(r=i[r],r===void 0?i.push(o):r!==o&&(o.then(Q2,Q2),o=r),o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,of(i),i;default:if(typeof o.status=="string")o.then(Q2,Q2);else{if(i=q1,i!==null&&100<i.shellSuspendCounter)throw Error(s(482));i=o,i.status="pending",i.then(function(a){if(o.status==="pending"){var u=o;u.status="fulfilled",u.value=a}},function(a){if(o.status==="pending"){var u=o;u.status="rejected",u.reason=a}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,of(i),i}throw $5=o,P8}}function j5(i){try{var o=i._init;return o(i._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?($5=r,P8):r}}var $5=null;function sf(){if($5===null)throw Error(s(459));var i=$5;return $5=null,i}function of(i){if(i===P8||i===en)throw Error(s(483))}var W8=null,S7=0;function nn(i){var o=S7;return S7+=1,W8===null&&(W8=[]),nf(W8,i,o)}function k7(i,o){o=o.props.ref,i.ref=o!==void 0?o:null}function sn(i,o){throw o.$$typeof===m?Error(s(525)):(i=Object.prototype.toString.call(o),Error(s(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i)))}function lf(i){function o(G,U){if(i){var e2=G.deletions;e2===null?(G.deletions=[U],G.flags|=16):e2.push(U)}}function r(G,U){if(!i)return null;for(;U!==null;)o(G,U),U=U.sibling;return null}function a(G){for(var U=new Map;G!==null;)G.key!==null?U.set(G.key,G):U.set(G.index,G),G=G.sibling;return U}function u(G,U){return G=i0(G,U),G.index=0,G.sibling=null,G}function h(G,U,e2){return G.index=e2,i?(e2=G.alternate,e2!==null?(e2=e2.index,e2<U?(G.flags|=67108866,U):e2):(G.flags|=67108866,U)):(G.flags|=1048576,U)}function w(G){return i&&G.alternate===null&&(G.flags|=67108866),G}function R(G,U,e2,a2){return U===null||U.tag!==6?(U=El(e2,G.mode,a2),U.return=G,U):(U=u(U,e2),U.return=G,U)}function z(G,U,e2,a2){var j2=e2.type;return j2===A?r2(G,U,e2.props.children,a2,e2.key):U!==null&&(U.elementType===j2||typeof j2=="object"&&j2!==null&&j2.$$typeof===n2&&j5(j2)===U.type)?(U=u(U,e2.props),k7(U,e2),U.return=G,U):(U=Yt(e2.type,e2.key,e2.props,null,G.mode,a2),k7(U,e2),U.return=G,U)}function t2(G,U,e2,a2){return U===null||U.tag!==4||U.stateNode.containerInfo!==e2.containerInfo||U.stateNode.implementation!==e2.implementation?(U=Il(e2,G.mode,a2),U.return=G,U):(U=u(U,e2.children||[]),U.return=G,U)}function r2(G,U,e2,a2,j2){return U===null||U.tag!==7?(U=B5(e2,G.mode,a2,j2),U.return=G,U):(U=u(U,e2),U.return=G,U)}function u2(G,U,e2){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return U=El(""+U,G.mode,e2),U.return=G,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case v:return e2=Yt(U.type,U.key,U.props,null,G.mode,e2),k7(e2,U),e2.return=G,e2;case b:return U=Il(U,G.mode,e2),U.return=G,U;case n2:return U=j5(U),u2(G,U,e2)}if(W(U)||h2(U))return U=B5(U,G.mode,e2,null),U.return=G,U;if(typeof U.then=="function")return u2(G,nn(U),e2);if(U.$$typeof===I)return u2(G,Kt(G,U),e2);sn(G,U)}return null}function i2(G,U,e2,a2){var j2=U!==null?U.key:null;if(typeof e2=="string"&&e2!==""||typeof e2=="number"||typeof e2=="bigint")return j2!==null?null:R(G,U,""+e2,a2);if(typeof e2=="object"&&e2!==null){switch(e2.$$typeof){case v:return e2.key===j2?z(G,U,e2,a2):null;case b:return e2.key===j2?t2(G,U,e2,a2):null;case n2:return e2=j5(e2),i2(G,U,e2,a2)}if(W(e2)||h2(e2))return j2!==null?null:r2(G,U,e2,a2,null);if(typeof e2.then=="function")return i2(G,U,nn(e2),a2);if(e2.$$typeof===I)return i2(G,U,Kt(G,e2),a2);sn(G,e2)}return null}function s2(G,U,e2,a2,j2){if(typeof a2=="string"&&a2!==""||typeof a2=="number"||typeof a2=="bigint")return G=G.get(e2)||null,R(U,G,""+a2,j2);if(typeof a2=="object"&&a2!==null){switch(a2.$$typeof){case v:return G=G.get(a2.key===null?e2:a2.key)||null,z(U,G,a2,j2);case b:return G=G.get(a2.key===null?e2:a2.key)||null,t2(U,G,a2,j2);case n2:return a2=j5(a2),s2(G,U,e2,a2,j2)}if(W(a2)||h2(a2))return G=G.get(e2)||null,r2(U,G,a2,j2,null);if(typeof a2.then=="function")return s2(G,U,e2,nn(a2),j2);if(a2.$$typeof===I)return s2(G,U,e2,Kt(U,a2),j2);sn(U,a2)}return null}function T2(G,U,e2,a2){for(var j2=null,Z1=null,F2=U,r1=U=0,w1=null;F2!==null&&r1<e2.length;r1++){F2.index>r1?(w1=F2,F2=null):w1=F2.sibling;var T1=i2(G,F2,e2[r1],a2);if(T1===null){F2===null&&(F2=w1);break}i&&F2&&T1.alternate===null&&o(G,F2),U=h(T1,U,r1),Z1===null?j2=T1:Z1.sibling=T1,Z1=T1,F2=w1}if(r1===e2.length)return r(G,F2),_1&&s0(G,r1),j2;if(F2===null){for(;r1<e2.length;r1++)F2=u2(G,e2[r1],a2),F2!==null&&(U=h(F2,U,r1),Z1===null?j2=F2:Z1.sibling=F2,Z1=F2);return _1&&s0(G,r1),j2}for(F2=a(F2);r1<e2.length;r1++)w1=s2(F2,G,r1,e2[r1],a2),w1!==null&&(i&&w1.alternate!==null&&F2.delete(w1.key===null?r1:w1.key),U=h(w1,U,r1),Z1===null?j2=w1:Z1.sibling=w1,Z1=w1);return i&&F2.forEach(function(s5){return o(G,s5)}),_1&&s0(G,r1),j2}function Y2(G,U,e2,a2){if(e2==null)throw Error(s(151));for(var j2=null,Z1=null,F2=U,r1=U=0,w1=null,T1=e2.next();F2!==null&&!T1.done;r1++,T1=e2.next()){F2.index>r1?(w1=F2,F2=null):w1=F2.sibling;var s5=i2(G,F2,T1.value,a2);if(s5===null){F2===null&&(F2=w1);break}i&&F2&&s5.alternate===null&&o(G,F2),U=h(s5,U,r1),Z1===null?j2=s5:Z1.sibling=s5,Z1=s5,F2=w1}if(T1.done)return r(G,F2),_1&&s0(G,r1),j2;if(F2===null){for(;!T1.done;r1++,T1=e2.next())T1=u2(G,T1.value,a2),T1!==null&&(U=h(T1,U,r1),Z1===null?j2=T1:Z1.sibling=T1,Z1=T1);return _1&&s0(G,r1),j2}for(F2=a(F2);!T1.done;r1++,T1=e2.next())T1=s2(F2,G,r1,T1.value,a2),T1!==null&&(i&&T1.alternate!==null&&F2.delete(T1.key===null?r1:T1.key),U=h(T1,U,r1),Z1===null?j2=T1:Z1.sibling=T1,Z1=T1);return i&&F2.forEach(function(QF){return o(G,QF)}),_1&&s0(G,r1),j2}function W1(G,U,e2,a2){if(typeof e2=="object"&&e2!==null&&e2.type===A&&e2.key===null&&(e2=e2.props.children),typeof e2=="object"&&e2!==null){switch(e2.$$typeof){case v:e:{for(var j2=e2.key;U!==null;){if(U.key===j2){if(j2=e2.type,j2===A){if(U.tag===7){r(G,U.sibling),a2=u(U,e2.props.children),a2.return=G,G=a2;break e}}else if(U.elementType===j2||typeof j2=="object"&&j2!==null&&j2.$$typeof===n2&&j5(j2)===U.type){r(G,U.sibling),a2=u(U,e2.props),k7(a2,e2),a2.return=G,G=a2;break e}r(G,U);break}else o(G,U);U=U.sibling}e2.type===A?(a2=B5(e2.props.children,G.mode,a2,e2.key),a2.return=G,G=a2):(a2=Yt(e2.type,e2.key,e2.props,null,G.mode,a2),k7(a2,e2),a2.return=G,G=a2)}return w(G);case b:e:{for(j2=e2.key;U!==null;){if(U.key===j2)if(U.tag===4&&U.stateNode.containerInfo===e2.containerInfo&&U.stateNode.implementation===e2.implementation){r(G,U.sibling),a2=u(U,e2.children||[]),a2.return=G,G=a2;break e}else{r(G,U);break}else o(G,U);U=U.sibling}a2=Il(e2,G.mode,a2),a2.return=G,G=a2}return w(G);case n2:return e2=j5(e2),W1(G,U,e2,a2)}if(W(e2))return T2(G,U,e2,a2);if(h2(e2)){if(j2=h2(e2),typeof j2!="function")throw Error(s(150));return e2=j2.call(e2),Y2(G,U,e2,a2)}if(typeof e2.then=="function")return W1(G,U,nn(e2),a2);if(e2.$$typeof===I)return W1(G,U,Kt(G,e2),a2);sn(G,e2)}return typeof e2=="string"&&e2!==""||typeof e2=="number"||typeof e2=="bigint"?(e2=""+e2,U!==null&&U.tag===6?(r(G,U.sibling),a2=u(U,e2),a2.return=G,G=a2):(r(G,U),a2=El(e2,G.mode,a2),a2.return=G,G=a2),w(G)):r(G,U)}return function(G,U,e2,a2){try{S7=0;var j2=W1(G,U,e2,a2);return W8=null,j2}catch(F2){if(F2===P8||F2===en)throw F2;var Z1=F4(29,F2,null,G.mode);return Z1.lanes=a2,Z1.return=G,Z1}finally{}}}var V5=lf(!0),rf=lf(!1),H0=!1;function $l(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vl(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function P0(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function W0(i,o,r){var a=i.updateQueue;if(a===null)return null;if(a=a.shared,(O1&2)!==0){var u=a.pending;return u===null?o.next=o:(o.next=u.next,u.next=o),a.pending=o,o=qt(i),Wh(i,null,r),o}return Gt(i,a,o,r),qt(i)}function Z7(i,o,r){if(o=o.updateQueue,o!==null&&(o=o.shared,(r&4194048)!==0)){var a=o.lanes;a&=i.pendingLanes,r|=a,o.lanes=r,J9(i,r)}}function Gl(i,o){var r=i.updateQueue,a=i.alternate;if(a!==null&&(a=a.updateQueue,r===a)){var u=null,h=null;if(r=r.firstBaseUpdate,r!==null){do{var w={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};h===null?u=h=w:h=h.next=w,r=r.next}while(r!==null);h===null?u=h=o:h=h.next=o}else u=h=o;r={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:h,shared:a.shared,callbacks:a.callbacks},i.updateQueue=r;return}i=r.lastBaseUpdate,i===null?r.firstBaseUpdate=o:i.next=o,r.lastBaseUpdate=o}var ql=!1;function T7(){if(ql){var i=H8;if(i!==null)throw i}}function E7(i,o,r,a){ql=!1;var u=i.updateQueue;H0=!1;var h=u.firstBaseUpdate,w=u.lastBaseUpdate,R=u.shared.pending;if(R!==null){u.shared.pending=null;var z=R,t2=z.next;z.next=null,w===null?h=t2:w.next=t2,w=z;var r2=i.alternate;r2!==null&&(r2=r2.updateQueue,R=r2.lastBaseUpdate,R!==w&&(R===null?r2.firstBaseUpdate=t2:R.next=t2,r2.lastBaseUpdate=z))}if(h!==null){var u2=u.baseState;w=0,r2=t2=z=null,R=h;do{var i2=R.lane&-536870913,s2=i2!==R.lane;if(s2?(x1&i2)===i2:(a&i2)===i2){i2!==0&&i2===U8&&(ql=!0),r2!==null&&(r2=r2.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var T2=i,Y2=R;i2=o;var W1=r;switch(Y2.tag){case 1:if(T2=Y2.payload,typeof T2=="function"){u2=T2.call(W1,u2,i2);break e}u2=T2;break e;case 3:T2.flags=T2.flags&-65537|128;case 0:if(T2=Y2.payload,i2=typeof T2=="function"?T2.call(W1,u2,i2):T2,i2==null)break e;u2=p({},u2,i2);break e;case 2:H0=!0}}i2=R.callback,i2!==null&&(i.flags|=64,s2&&(i.flags|=8192),s2=u.callbacks,s2===null?u.callbacks=[i2]:s2.push(i2))}else s2={lane:i2,tag:R.tag,payload:R.payload,callback:R.callback,next:null},r2===null?(t2=r2=s2,z=u2):r2=r2.next=s2,w|=i2;if(R=R.next,R===null){if(R=u.shared.pending,R===null)break;s2=R,R=s2.next,s2.next=null,u.lastBaseUpdate=s2,u.shared.pending=null}}while(!0);r2===null&&(z=u2),u.baseState=z,u.firstBaseUpdate=t2,u.lastBaseUpdate=r2,h===null&&(u.shared.lanes=0),q0|=w,i.lanes=w,i.memoizedState=u2}}function af(i,o){if(typeof i!="function")throw Error(s(191,i));i.call(o)}function Lf(i,o){var r=i.callbacks;if(r!==null)for(i.callbacks=null,i=0;i<r.length;i++)af(r[i],o)}var j8=Z(null),on=Z(0);function cf(i,o){i=f0,E(on,i),E(j8,o),f0=i|o.baseLanes}function Yl(){E(on,f0),E(j8,j8.current)}function Xl(){f0=on.current,F(j8),F(on)}var B4=Z(null),s9=null;function j0(i){var o=i.alternate;E(w3,w3.current&1),E(B4,i),s9===null&&(o===null||j8.current!==null||o.memoizedState!==null)&&(s9=i)}function Ql(i){E(w3,w3.current),E(B4,i),s9===null&&(s9=i)}function Cf(i){i.tag===22?(E(w3,w3.current),E(B4,i),s9===null&&(s9=i)):$0()}function $0(){E(w3,w3.current),E(B4,B4.current)}function U4(i){F(B4),s9===i&&(s9=null),F(w3)}var w3=Z(0);function ln(i){for(var o=i;o!==null;){if(o.tag===13){var r=o.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||ia(r)||sa(r)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var r0=0,o1=null,H1=null,R3=null,rn=!1,$8=!1,G5=!1,an=0,I7=0,V8=null,HD=0;function f3(){throw Error(s(321))}function Kl(i,o){if(o===null)return!1;for(var r=0;r<o.length&&r<i.length;r++)if(!D4(i[r],o[r]))return!1;return!0}function Jl(i,o,r,a,u,h){return r0=h,o1=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,T.H=i===null||i.memoizedState===null?qf:hr,G5=!1,h=r(a,u),G5=!1,$8&&(h=df(o,r,a,u)),uf(i),h}function uf(i){T.H=O7;var o=H1!==null&&H1.next!==null;if(r0=0,R3=H1=o1=null,rn=!1,I7=0,V8=null,o)throw Error(s(300));i===null||b3||(i=i.dependencies,i!==null&&Qt(i)&&(b3=!0))}function df(i,o,r,a){o1=i;var u=0;do{if($8&&(V8=null),I7=0,$8=!1,25<=u)throw Error(s(301));if(u+=1,R3=H1=null,i.updateQueue!=null){var h=i.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}T.H=Yf,h=o(r,a)}while($8);return h}function PD(){var i=T.H,o=i.useState()[0];return o=typeof o.then=="function"?z7(o):o,i=i.useState()[0],(H1!==null?H1.memoizedState:null)!==i&&(o1.flags|=1024),o}function er(){var i=an!==0;return an=0,i}function tr(i,o,r){o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~r}function nr(i){if(rn){for(i=i.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}rn=!1}r0=0,R3=H1=o1=null,$8=!1,I7=an=0,V8=null}function u4(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return R3===null?o1.memoizedState=R3=i:R3=R3.next=i,R3}function v3(){if(H1===null){var i=o1.alternate;i=i!==null?i.memoizedState:null}else i=H1.next;var o=R3===null?o1.memoizedState:R3.next;if(o!==null)R3=o,H1=i;else{if(i===null)throw o1.alternate===null?Error(s(467)):Error(s(310));H1=i,i={memoizedState:H1.memoizedState,baseState:H1.baseState,baseQueue:H1.baseQueue,queue:H1.queue,next:null},R3===null?o1.memoizedState=R3=i:R3=R3.next=i}return R3}function Ln(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function z7(i){var o=I7;return I7+=1,V8===null&&(V8=[]),i=nf(V8,i,o),o=o1,(R3===null?o.memoizedState:R3.next)===null&&(o=o.alternate,T.H=o===null||o.memoizedState===null?qf:hr),i}function cn(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return z7(i);if(i.$$typeof===I)return P3(i)}throw Error(s(438,String(i)))}function ir(i){var o=null,r=o1.updateQueue;if(r!==null&&(o=r.memoCache),o==null){var a=o1.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(o={data:a.data.map(function(u){return u.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),r===null&&(r=Ln(),o1.updateQueue=r),r.memoCache=o,r=o.data[o.index],r===void 0)for(r=o.data[o.index]=Array(i),a=0;a<i;a++)r[a]=f2;return o.index++,r}function a0(i,o){return typeof o=="function"?o(i):o}function Cn(i){var o=v3();return sr(o,H1,i)}function sr(i,o,r){var a=i.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=r;var u=i.baseQueue,h=a.pending;if(h!==null){if(u!==null){var w=u.next;u.next=h.next,h.next=w}o.baseQueue=u=h,a.pending=null}if(h=i.baseState,u===null)i.memoizedState=h;else{o=u.next;var R=w=null,z=null,t2=o,r2=!1;do{var u2=t2.lane&-536870913;if(u2!==t2.lane?(x1&u2)===u2:(r0&u2)===u2){var i2=t2.revertLane;if(i2===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:t2.action,hasEagerState:t2.hasEagerState,eagerState:t2.eagerState,next:null}),u2===U8&&(r2=!0);else if((r0&i2)===i2){t2=t2.next,i2===U8&&(r2=!0);continue}else u2={lane:0,revertLane:t2.revertLane,gesture:null,action:t2.action,hasEagerState:t2.hasEagerState,eagerState:t2.eagerState,next:null},z===null?(R=z=u2,w=h):z=z.next=u2,o1.lanes|=i2,q0|=i2;u2=t2.action,G5&&r(h,u2),h=t2.hasEagerState?t2.eagerState:r(h,u2)}else i2={lane:u2,revertLane:t2.revertLane,gesture:t2.gesture,action:t2.action,hasEagerState:t2.hasEagerState,eagerState:t2.eagerState,next:null},z===null?(R=z=i2,w=h):z=z.next=i2,o1.lanes|=u2,q0|=u2;t2=t2.next}while(t2!==null&&t2!==o);if(z===null?w=h:z.next=R,!D4(h,i.memoizedState)&&(b3=!0,r2&&(r=H8,r!==null)))throw r;i.memoizedState=h,i.baseState=w,i.baseQueue=z,a.lastRenderedState=h}return u===null&&(a.lanes=0),[i.memoizedState,a.dispatch]}function or(i){var o=v3(),r=o.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=i;var a=r.dispatch,u=r.pending,h=o.memoizedState;if(u!==null){r.pending=null;var w=u=u.next;do h=i(h,w.action),w=w.next;while(w!==u);D4(h,o.memoizedState)||(b3=!0),o.memoizedState=h,o.baseQueue===null&&(o.baseState=h),r.lastRenderedState=h}return[h,a]}function hf(i,o,r){var a=o1,u=v3(),h=_1;if(h){if(r===void 0)throw Error(s(407));r=r()}else r=o();var w=!D4((H1||u).memoizedState,r);if(w&&(u.memoizedState=r,b3=!0),u=u.queue,ar(pf.bind(null,a,u,i),[i]),u.getSnapshot!==o||w||R3!==null&&R3.memoizedState.tag&1){if(a.flags|=2048,G8(9,{destroy:void 0},gf.bind(null,a,u,r,o),null),q1===null)throw Error(s(349));h||(r0&127)!==0||ff(a,o,r)}return r}function ff(i,o,r){i.flags|=16384,i={getSnapshot:o,value:r},o=o1.updateQueue,o===null?(o=Ln(),o1.updateQueue=o,o.stores=[i]):(r=o.stores,r===null?o.stores=[i]:r.push(i))}function gf(i,o,r,a){o.value=r,o.getSnapshot=a,mf(o)&&xf(i)}function pf(i,o,r){return r(function(){mf(o)&&xf(i)})}function mf(i){var o=i.getSnapshot;i=i.value;try{var r=o();return!D4(i,r)}catch{return!0}}function xf(i){var o=F5(i,2);o!==null&&R4(o,i,2)}function lr(i){var o=u4();if(typeof i=="function"){var r=i;if(i=r(),G5){m3(!0);try{r()}finally{m3(!1)}}}return o.memoizedState=o.baseState=i,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a0,lastRenderedState:i},o}function wf(i,o,r,a){return i.baseState=r,sr(i,H1,typeof a=="function"?a:a0)}function WD(i,o,r,a,u){if(hn(i))throw Error(s(485));if(i=o.action,i!==null){var h={payload:u,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){h.listeners.push(w)}};T.T!==null?r(!0):h.isTransition=!1,a(h),r=o.pending,r===null?(h.next=o.pending=h,vf(o,h)):(h.next=r.next,o.pending=r.next=h)}}function vf(i,o){var r=o.action,a=o.payload,u=i.state;if(o.isTransition){var h=T.T,w={};T.T=w;try{var R=r(u,a),z=T.S;z!==null&&z(w,R),Mf(i,o,R)}catch(t2){rr(i,o,t2)}finally{h!==null&&w.types!==null&&(h.types=w.types),T.T=h}}else try{h=r(u,a),Mf(i,o,h)}catch(t2){rr(i,o,t2)}}function Mf(i,o,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(a){_f(i,o,a)},function(a){return rr(i,o,a)}):_f(i,o,r)}function _f(i,o,r){o.status="fulfilled",o.value=r,yf(o),i.state=r,o=i.pending,o!==null&&(r=o.next,r===o?i.pending=null:(r=r.next,o.next=r,vf(i,r)))}function rr(i,o,r){var a=i.pending;if(i.pending=null,a!==null){a=a.next;do o.status="rejected",o.reason=r,yf(o),o=o.next;while(o!==a)}i.action=null}function yf(i){i=i.listeners;for(var o=0;o<i.length;o++)(0,i[o])()}function Rf(i,o){return o}function bf(i,o){if(_1){var r=q1.formState;if(r!==null){e:{var a=o1;if(_1){if(J1){t:{for(var u=J1,h=i9;u.nodeType!==8;){if(!h){u=null;break t}if(u=o9(u.nextSibling),u===null){u=null;break t}}h=u.data,u=h==="F!"||h==="F"?u:null}if(u){J1=o9(u.nextSibling),a=u.data==="F!";break e}}B0(a)}a=!1}a&&(o=r[0])}}return r=u4(),r.memoizedState=r.baseState=o,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rf,lastRenderedState:o},r.queue=a,r=$f.bind(null,o1,a),a.dispatch=r,a=lr(!1),h=dr.bind(null,o1,!1,a.queue),a=u4(),u={state:o,dispatch:null,action:i,pending:null},a.queue=u,r=WD.bind(null,o1,u,h,r),u.dispatch=r,a.memoizedState=i,[o,r,!1]}function Af(i){var o=v3();return Sf(o,H1,i)}function Sf(i,o,r){if(o=sr(i,o,Rf)[0],i=Cn(a0)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var a=z7(o)}catch(w){throw w===P8?en:w}else a=o;o=v3();var u=o.queue,h=u.dispatch;return r!==o.memoizedState&&(o1.flags|=2048,G8(9,{destroy:void 0},jD.bind(null,u,r),null)),[a,h,i]}function jD(i,o){i.action=o}function kf(i){var o=v3(),r=H1;if(r!==null)return Sf(o,r,i);v3(),o=o.memoizedState,r=v3();var a=r.queue.dispatch;return r.memoizedState=i,[o,a,!1]}function G8(i,o,r,a){return i={tag:i,create:r,deps:a,inst:o,next:null},o=o1.updateQueue,o===null&&(o=Ln(),o1.updateQueue=o),r=o.lastEffect,r===null?o.lastEffect=i.next=i:(a=r.next,r.next=i,i.next=a,o.lastEffect=i),i}function Zf(){return v3().memoizedState}function un(i,o,r,a){var u=u4();o1.flags|=i,u.memoizedState=G8(1|o,{destroy:void 0},r,a===void 0?null:a)}function dn(i,o,r,a){var u=v3();a=a===void 0?null:a;var h=u.memoizedState.inst;H1!==null&&a!==null&&Kl(a,H1.memoizedState.deps)?u.memoizedState=G8(o,h,r,a):(o1.flags|=i,u.memoizedState=G8(1|o,h,r,a))}function Tf(i,o){un(8390656,8,i,o)}function ar(i,o){dn(2048,8,i,o)}function $D(i){o1.flags|=4;var o=o1.updateQueue;if(o===null)o=Ln(),o1.updateQueue=o,o.events=[i];else{var r=o.events;r===null?o.events=[i]:r.push(i)}}function Ef(i){var o=v3().memoizedState;return $D({ref:o,nextImpl:i}),function(){if((O1&2)!==0)throw Error(s(440));return o.impl.apply(void 0,arguments)}}function If(i,o){return dn(4,2,i,o)}function zf(i,o){return dn(4,4,i,o)}function Nf(i,o){if(typeof o=="function"){i=i();var r=o(i);return function(){typeof r=="function"?r():o(null)}}if(o!=null)return i=i(),o.current=i,function(){o.current=null}}function Of(i,o,r){r=r!=null?r.concat([i]):null,dn(4,4,Nf.bind(null,o,i),r)}function Lr(){}function Df(i,o){var r=v3();o=o===void 0?null:o;var a=r.memoizedState;return o!==null&&Kl(o,a[1])?a[0]:(r.memoizedState=[i,o],i)}function Ff(i,o){var r=v3();o=o===void 0?null:o;var a=r.memoizedState;if(o!==null&&Kl(o,a[1]))return a[0];if(a=i(),G5){m3(!0);try{i()}finally{m3(!1)}}return r.memoizedState=[a,o],a}function cr(i,o,r){return r===void 0||(r0&1073741824)!==0&&(x1&261930)===0?i.memoizedState=o:(i.memoizedState=r,i=Bg(),o1.lanes|=i,q0|=i,r)}function Bf(i,o,r,a){return D4(r,o)?r:j8.current!==null?(i=cr(i,r,a),D4(i,o)||(b3=!0),i):(r0&42)===0||(r0&1073741824)!==0&&(x1&261930)===0?(b3=!0,i.memoizedState=r):(i=Bg(),o1.lanes|=i,q0|=i,o)}function Uf(i,o,r,a,u){var h=j.p;j.p=h!==0&&8>h?h:8;var w=T.T,R={};T.T=R,dr(i,!1,o,r);try{var z=u(),t2=T.S;if(t2!==null&&t2(R,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var r2=UD(z,a);N7(i,o,r2,W4(i))}else N7(i,o,a,W4(i))}catch(u2){N7(i,o,{then:function(){},status:"rejected",reason:u2},W4())}finally{j.p=h,w!==null&&R.types!==null&&(w.types=R.types),T.T=w}}function VD(){}function Cr(i,o,r,a){if(i.tag!==5)throw Error(s(476));var u=Hf(i).queue;Uf(i,u,o,$,r===null?VD:function(){return Pf(i),r(a)})}function Hf(i){var o=i.memoizedState;if(o!==null)return o;o={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:a0,lastRenderedState:$},next:null};var r={};return o.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:a0,lastRenderedState:r},next:null},i.memoizedState=o,i=i.alternate,i!==null&&(i.memoizedState=o),o}function Pf(i){var o=Hf(i);o.next===null&&(o=i.alternate.memoizedState),N7(i,o.next.queue,{},W4())}function ur(){return P3(K7)}function Wf(){return v3().memoizedState}function jf(){return v3().memoizedState}function GD(i){for(var o=i.return;o!==null;){switch(o.tag){case 24:case 3:var r=W4();i=P0(r);var a=W0(o,i,r);a!==null&&(R4(a,o,r),Z7(a,o,r)),o={cache:Hl()},i.payload=o;return}o=o.return}}function qD(i,o,r){var a=W4();r={lane:a,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},hn(i)?Vf(o,r):(r=Zl(i,o,r,a),r!==null&&(R4(r,i,a),Gf(r,o,a)))}function $f(i,o,r){var a=W4();N7(i,o,r,a)}function N7(i,o,r,a){var u={lane:a,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(hn(i))Vf(o,u);else{var h=i.alternate;if(i.lanes===0&&(h===null||h.lanes===0)&&(h=o.lastRenderedReducer,h!==null))try{var w=o.lastRenderedState,R=h(w,r);if(u.hasEagerState=!0,u.eagerState=R,D4(R,w))return Gt(i,o,u,0),q1===null&&Vt(),!1}catch{}finally{}if(r=Zl(i,o,u,a),r!==null)return R4(r,i,a),Gf(r,o,a),!0}return!1}function dr(i,o,r,a){if(a={lane:2,revertLane:$r(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},hn(i)){if(o)throw Error(s(479))}else o=Zl(i,r,a,2),o!==null&&R4(o,i,2)}function hn(i){var o=i.alternate;return i===o1||o!==null&&o===o1}function Vf(i,o){$8=rn=!0;var r=i.pending;r===null?o.next=o:(o.next=r.next,r.next=o),i.pending=o}function Gf(i,o,r){if((r&4194048)!==0){var a=o.lanes;a&=i.pendingLanes,r|=a,o.lanes=r,J9(i,r)}}var O7={readContext:P3,use:cn,useCallback:f3,useContext:f3,useEffect:f3,useImperativeHandle:f3,useLayoutEffect:f3,useInsertionEffect:f3,useMemo:f3,useReducer:f3,useRef:f3,useState:f3,useDebugValue:f3,useDeferredValue:f3,useTransition:f3,useSyncExternalStore:f3,useId:f3,useHostTransitionStatus:f3,useFormState:f3,useActionState:f3,useOptimistic:f3,useMemoCache:f3,useCacheRefresh:f3};O7.useEffectEvent=f3;var qf={readContext:P3,use:cn,useCallback:function(i,o){return u4().memoizedState=[i,o===void 0?null:o],i},useContext:P3,useEffect:Tf,useImperativeHandle:function(i,o,r){r=r!=null?r.concat([i]):null,un(4194308,4,Nf.bind(null,o,i),r)},useLayoutEffect:function(i,o){return un(4194308,4,i,o)},useInsertionEffect:function(i,o){un(4,2,i,o)},useMemo:function(i,o){var r=u4();o=o===void 0?null:o;var a=i();if(G5){m3(!0);try{i()}finally{m3(!1)}}return r.memoizedState=[a,o],a},useReducer:function(i,o,r){var a=u4();if(r!==void 0){var u=r(o);if(G5){m3(!0);try{r(o)}finally{m3(!1)}}}else u=o;return a.memoizedState=a.baseState=u,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:u},a.queue=i,i=i.dispatch=qD.bind(null,o1,i),[a.memoizedState,i]},useRef:function(i){var o=u4();return i={current:i},o.memoizedState=i},useState:function(i){i=lr(i);var o=i.queue,r=$f.bind(null,o1,o);return o.dispatch=r,[i.memoizedState,r]},useDebugValue:Lr,useDeferredValue:function(i,o){var r=u4();return cr(r,i,o)},useTransition:function(){var i=lr(!1);return i=Uf.bind(null,o1,i.queue,!0,!1),u4().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,o,r){var a=o1,u=u4();if(_1){if(r===void 0)throw Error(s(407));r=r()}else{if(r=o(),q1===null)throw Error(s(349));(x1&127)!==0||ff(a,o,r)}u.memoizedState=r;var h={value:r,getSnapshot:o};return u.queue=h,Tf(pf.bind(null,a,h,i),[i]),a.flags|=2048,G8(9,{destroy:void 0},gf.bind(null,a,h,r,o),null),r},useId:function(){var i=u4(),o=q1.identifierPrefix;if(_1){var r=O9,a=N9;r=(a&~(1<<32-x3(a)-1)).toString(32)+r,o="_"+o+"R_"+r,r=an++,0<r&&(o+="H"+r.toString(32)),o+="_"}else r=HD++,o="_"+o+"r_"+r.toString(32)+"_";return i.memoizedState=o},useHostTransitionStatus:ur,useFormState:bf,useActionState:bf,useOptimistic:function(i){var o=u4();o.memoizedState=o.baseState=i;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=r,o=dr.bind(null,o1,!0,r),r.dispatch=o,[i,o]},useMemoCache:ir,useCacheRefresh:function(){return u4().memoizedState=GD.bind(null,o1)},useEffectEvent:function(i){var o=u4(),r={impl:i};return o.memoizedState=r,function(){if((O1&2)!==0)throw Error(s(440));return r.impl.apply(void 0,arguments)}}},hr={readContext:P3,use:cn,useCallback:Df,useContext:P3,useEffect:ar,useImperativeHandle:Of,useInsertionEffect:If,useLayoutEffect:zf,useMemo:Ff,useReducer:Cn,useRef:Zf,useState:function(){return Cn(a0)},useDebugValue:Lr,useDeferredValue:function(i,o){var r=v3();return Bf(r,H1.memoizedState,i,o)},useTransition:function(){var i=Cn(a0)[0],o=v3().memoizedState;return[typeof i=="boolean"?i:z7(i),o]},useSyncExternalStore:hf,useId:Wf,useHostTransitionStatus:ur,useFormState:Af,useActionState:Af,useOptimistic:function(i,o){var r=v3();return wf(r,H1,i,o)},useMemoCache:ir,useCacheRefresh:jf};hr.useEffectEvent=Ef;var Yf={readContext:P3,use:cn,useCallback:Df,useContext:P3,useEffect:ar,useImperativeHandle:Of,useInsertionEffect:If,useLayoutEffect:zf,useMemo:Ff,useReducer:or,useRef:Zf,useState:function(){return or(a0)},useDebugValue:Lr,useDeferredValue:function(i,o){var r=v3();return H1===null?cr(r,i,o):Bf(r,H1.memoizedState,i,o)},useTransition:function(){var i=or(a0)[0],o=v3().memoizedState;return[typeof i=="boolean"?i:z7(i),o]},useSyncExternalStore:hf,useId:Wf,useHostTransitionStatus:ur,useFormState:kf,useActionState:kf,useOptimistic:function(i,o){var r=v3();return H1!==null?wf(r,H1,i,o):(r.baseState=i,[i,r.queue.dispatch])},useMemoCache:ir,useCacheRefresh:jf};Yf.useEffectEvent=Ef;function fr(i,o,r,a){o=i.memoizedState,r=r(a,o),r=r==null?o:p({},o,r),i.memoizedState=r,i.lanes===0&&(i.updateQueue.baseState=r)}var gr={enqueueSetState:function(i,o,r){i=i._reactInternals;var a=W4(),u=P0(a);u.payload=o,r!=null&&(u.callback=r),o=W0(i,u,a),o!==null&&(R4(o,i,a),Z7(o,i,a))},enqueueReplaceState:function(i,o,r){i=i._reactInternals;var a=W4(),u=P0(a);u.tag=1,u.payload=o,r!=null&&(u.callback=r),o=W0(i,u,a),o!==null&&(R4(o,i,a),Z7(o,i,a))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var r=W4(),a=P0(r);a.tag=2,o!=null&&(a.callback=o),o=W0(i,a,r),o!==null&&(R4(o,i,r),Z7(o,i,r))}};function Xf(i,o,r,a,u,h,w){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(a,h,w):o.prototype&&o.prototype.isPureReactComponent?!M7(r,a)||!M7(u,h):!0}function Qf(i,o,r,a){i=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(r,a),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(r,a),o.state!==i&&gr.enqueueReplaceState(o,o.state,null)}function q5(i,o){var r=o;if("ref"in o){r={};for(var a in o)a!=="ref"&&(r[a]=o[a])}if(i=i.defaultProps){r===o&&(r=p({},r));for(var u in i)r[u]===void 0&&(r[u]=i[u])}return r}function Kf(i){$t(i)}function Jf(i){console.error(i)}function eg(i){$t(i)}function fn(i,o){try{var r=i.onUncaughtError;r(o.value,{componentStack:o.stack})}catch(a){setTimeout(function(){throw a})}}function tg(i,o,r){try{var a=i.onCaughtError;a(r.value,{componentStack:r.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function pr(i,o,r){return r=P0(r),r.tag=3,r.payload={element:null},r.callback=function(){fn(i,o)},r}function ng(i){return i=P0(i),i.tag=3,i}function ig(i,o,r,a){var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var h=a.value;i.payload=function(){return u(h)},i.callback=function(){tg(o,r,a)}}var w=r.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(i.callback=function(){tg(o,r,a),typeof u!="function"&&(Y0===null?Y0=new Set([this]):Y0.add(this));var R=a.stack;this.componentDidCatch(a.value,{componentStack:R!==null?R:""})})}function YD(i,o,r,a,u){if(r.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(o=r.alternate,o!==null&&B8(o,r,u,!0),r=B4.current,r!==null){switch(r.tag){case 31:case 13:return s9===null?An():r.alternate===null&&g3===0&&(g3=3),r.flags&=-257,r.flags|=65536,r.lanes=u,a===tn?r.flags|=16384:(o=r.updateQueue,o===null?r.updateQueue=new Set([a]):o.add(a),Pr(i,a,u)),!1;case 22:return r.flags|=65536,a===tn?r.flags|=16384:(o=r.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([a])},r.updateQueue=o):(r=o.retryQueue,r===null?o.retryQueue=new Set([a]):r.add(a)),Pr(i,a,u)),!1}throw Error(s(435,r.tag))}return Pr(i,a,u),An(),!1}if(_1)return o=B4.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=u,a!==Ol&&(i=Error(s(422),{cause:a}),R7(e9(i,r)))):(a!==Ol&&(o=Error(s(423),{cause:a}),R7(e9(o,r))),i=i.current.alternate,i.flags|=65536,u&=-u,i.lanes|=u,a=e9(a,r),u=pr(i.stateNode,a,u),Gl(i,u),g3!==4&&(g3=2)),!1;var h=Error(s(520),{cause:a});if(h=e9(h,r),j7===null?j7=[h]:j7.push(h),g3!==4&&(g3=2),o===null)return!0;a=e9(a,r),r=o;do{switch(r.tag){case 3:return r.flags|=65536,i=u&-u,r.lanes|=i,i=pr(r.stateNode,a,i),Gl(r,i),!1;case 1:if(o=r.type,h=r.stateNode,(r.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Y0===null||!Y0.has(h))))return r.flags|=65536,u&=-u,r.lanes|=u,u=ng(u),ig(u,i,r,a),Gl(r,u),!1}r=r.return}while(r!==null);return!1}var mr=Error(s(461)),b3=!1;function W3(i,o,r,a){o.child=i===null?rf(o,null,r,a):V5(o,i.child,r,a)}function sg(i,o,r,a,u){r=r.render;var h=o.ref;if("ref"in a){var w={};for(var R in a)R!=="ref"&&(w[R]=a[R])}else w=a;return P5(o),a=Jl(i,o,r,w,h,u),R=er(),i!==null&&!b3?(tr(i,o,u),L0(i,o,u)):(_1&&R&&zl(o),o.flags|=1,W3(i,o,a,u),o.child)}function og(i,o,r,a,u){if(i===null){var h=r.type;return typeof h=="function"&&!Tl(h)&&h.defaultProps===void 0&&r.compare===null?(o.tag=15,o.type=h,lg(i,o,h,a,u)):(i=Yt(r.type,null,a,o,o.mode,u),i.ref=o.ref,i.return=o,o.child=i)}if(h=i.child,!br(i,u)){var w=h.memoizedProps;if(r=r.compare,r=r!==null?r:M7,r(w,a)&&i.ref===o.ref)return L0(i,o,u)}return o.flags|=1,i=i0(h,a),i.ref=o.ref,i.return=o,o.child=i}function lg(i,o,r,a,u){if(i!==null){var h=i.memoizedProps;if(M7(h,a)&&i.ref===o.ref)if(b3=!1,o.pendingProps=a=h,br(i,u))(i.flags&131072)!==0&&(b3=!0);else return o.lanes=i.lanes,L0(i,o,u)}return xr(i,o,r,a,u)}function rg(i,o,r,a){var u=a.children,h=i!==null?i.memoizedState:null;if(i===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((o.flags&128)!==0){if(h=h!==null?h.baseLanes|r:r,i!==null){for(a=o.child=i.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~h}else a=0,o.child=null;return ag(i,o,h,r,a)}if((r&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},i!==null&&Jt(o,h!==null?h.cachePool:null),h!==null?cf(o,h):Yl(),Cf(o);else return a=o.lanes=536870912,ag(i,o,h!==null?h.baseLanes|r:r,r,a)}else h!==null?(Jt(o,h.cachePool),cf(o,h),$0(),o.memoizedState=null):(i!==null&&Jt(o,null),Yl(),$0());return W3(i,o,u,r),o.child}function D7(i,o){return i!==null&&i.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function ag(i,o,r,a,u){var h=Wl();return h=h===null?null:{parent:y3._currentValue,pool:h},o.memoizedState={baseLanes:r,cachePool:h},i!==null&&Jt(o,null),Yl(),Cf(o),i!==null&&B8(i,o,a,!0),o.childLanes=u,null}function gn(i,o){return o=mn({mode:o.mode,children:o.children},i.mode),o.ref=i.ref,i.child=o,o.return=i,o}function Lg(i,o,r){return V5(o,i.child,null,r),i=gn(o,o.pendingProps),i.flags|=2,U4(o),o.memoizedState=null,i}function XD(i,o,r){var a=o.pendingProps,u=(o.flags&128)!==0;if(o.flags&=-129,i===null){if(_1){if(a.mode==="hidden")return i=gn(o,a),o.lanes=536870912,D7(null,i);if(Ql(o),(i=J1)?(i=vp(i,i9),i=i!==null&&i.data==="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:D0!==null?{id:N9,overflow:O9}:null,retryLane:536870912,hydrationErrors:null},r=$h(i),r.return=o,o.child=r,H3=o,J1=null)):i=null,i===null)throw B0(o);return o.lanes=536870912,null}return gn(o,a)}var h=i.memoizedState;if(h!==null){var w=h.dehydrated;if(Ql(o),u)if(o.flags&256)o.flags&=-257,o=Lg(i,o,r);else if(o.memoizedState!==null)o.child=i.child,o.flags|=128,o=null;else throw Error(s(558));else if(b3||B8(i,o,r,!1),u=(r&i.childLanes)!==0,b3||u){if(a=q1,a!==null&&(w=b8(a,r),w!==0&&w!==h.retryLane))throw h.retryLane=w,F5(i,w),R4(a,i,w),mr;An(),o=Lg(i,o,r)}else i=h.treeContext,J1=o9(w.nextSibling),H3=o,_1=!0,F0=null,i9=!1,i!==null&&qh(o,i),o=gn(o,a),o.flags|=4096;return o}return i=i0(i.child,{mode:a.mode,children:a.children}),i.ref=o.ref,o.child=i,i.return=o,i}function pn(i,o){var r=o.ref;if(r===null)i!==null&&i.ref!==null&&(o.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(i===null||i.ref!==r)&&(o.flags|=4194816)}}function xr(i,o,r,a,u){return P5(o),r=Jl(i,o,r,a,void 0,u),a=er(),i!==null&&!b3?(tr(i,o,u),L0(i,o,u)):(_1&&a&&zl(o),o.flags|=1,W3(i,o,r,u),o.child)}function cg(i,o,r,a,u,h){return P5(o),o.updateQueue=null,r=df(o,a,r,u),uf(i),a=er(),i!==null&&!b3?(tr(i,o,h),L0(i,o,h)):(_1&&a&&zl(o),o.flags|=1,W3(i,o,r,h),o.child)}function Cg(i,o,r,a,u){if(P5(o),o.stateNode===null){var h=N8,w=r.contextType;typeof w=="object"&&w!==null&&(h=P3(w)),h=new r(a,h),o.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=gr,o.stateNode=h,h._reactInternals=o,h=o.stateNode,h.props=a,h.state=o.memoizedState,h.refs={},$l(o),w=r.contextType,h.context=typeof w=="object"&&w!==null?P3(w):N8,h.state=o.memoizedState,w=r.getDerivedStateFromProps,typeof w=="function"&&(fr(o,r,w,a),h.state=o.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(w=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),w!==h.state&&gr.enqueueReplaceState(h,h.state,null),E7(o,a,h,u),T7(),h.state=o.memoizedState),typeof h.componentDidMount=="function"&&(o.flags|=4194308),a=!0}else if(i===null){h=o.stateNode;var R=o.memoizedProps,z=q5(r,R);h.props=z;var t2=h.context,r2=r.contextType;w=N8,typeof r2=="object"&&r2!==null&&(w=P3(r2));var u2=r.getDerivedStateFromProps;r2=typeof u2=="function"||typeof h.getSnapshotBeforeUpdate=="function",R=o.pendingProps!==R,r2||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(R||t2!==w)&&Qf(o,h,a,w),H0=!1;var i2=o.memoizedState;h.state=i2,E7(o,a,h,u),T7(),t2=o.memoizedState,R||i2!==t2||H0?(typeof u2=="function"&&(fr(o,r,u2,a),t2=o.memoizedState),(z=H0||Xf(o,r,z,a,i2,t2,w))?(r2||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(o.flags|=4194308)):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=a,o.memoizedState=t2),h.props=a,h.state=t2,h.context=w,a=z):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),a=!1)}else{h=o.stateNode,Vl(i,o),w=o.memoizedProps,r2=q5(r,w),h.props=r2,u2=o.pendingProps,i2=h.context,t2=r.contextType,z=N8,typeof t2=="object"&&t2!==null&&(z=P3(t2)),R=r.getDerivedStateFromProps,(t2=typeof R=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(w!==u2||i2!==z)&&Qf(o,h,a,z),H0=!1,i2=o.memoizedState,h.state=i2,E7(o,a,h,u),T7();var s2=o.memoizedState;w!==u2||i2!==s2||H0||i!==null&&i.dependencies!==null&&Qt(i.dependencies)?(typeof R=="function"&&(fr(o,r,R,a),s2=o.memoizedState),(r2=H0||Xf(o,r,r2,a,i2,s2,z)||i!==null&&i.dependencies!==null&&Qt(i.dependencies))?(t2||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(a,s2,z),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(a,s2,z)),typeof h.componentDidUpdate=="function"&&(o.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof h.componentDidUpdate!="function"||w===i.memoizedProps&&i2===i.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||w===i.memoizedProps&&i2===i.memoizedState||(o.flags|=1024),o.memoizedProps=a,o.memoizedState=s2),h.props=a,h.state=s2,h.context=z,a=r2):(typeof h.componentDidUpdate!="function"||w===i.memoizedProps&&i2===i.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||w===i.memoizedProps&&i2===i.memoizedState||(o.flags|=1024),a=!1)}return h=a,pn(i,o),a=(o.flags&128)!==0,h||a?(h=o.stateNode,r=a&&typeof r.getDerivedStateFromError!="function"?null:h.render(),o.flags|=1,i!==null&&a?(o.child=V5(o,i.child,null,u),o.child=V5(o,null,r,u)):W3(i,o,r,u),o.memoizedState=h.state,i=o.child):i=L0(i,o,u),i}function ug(i,o,r,a){return U5(),o.flags|=256,W3(i,o,r,a),o.child}var wr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vr(i){return{baseLanes:i,cachePool:ef()}}function Mr(i,o,r){return i=i!==null?i.childLanes&~r:0,o&&(i|=P4),i}function dg(i,o,r){var a=o.pendingProps,u=!1,h=(o.flags&128)!==0,w;if((w=h)||(w=i!==null&&i.memoizedState===null?!1:(w3.current&2)!==0),w&&(u=!0,o.flags&=-129),w=(o.flags&32)!==0,o.flags&=-33,i===null){if(_1){if(u?j0(o):$0(),(i=J1)?(i=vp(i,i9),i=i!==null&&i.data!=="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:D0!==null?{id:N9,overflow:O9}:null,retryLane:536870912,hydrationErrors:null},r=$h(i),r.return=o,o.child=r,H3=o,J1=null)):i=null,i===null)throw B0(o);return sa(i)?o.lanes=32:o.lanes=536870912,null}var R=a.children;return a=a.fallback,u?($0(),u=o.mode,R=mn({mode:"hidden",children:R},u),a=B5(a,u,r,null),R.return=o,a.return=o,R.sibling=a,o.child=R,a=o.child,a.memoizedState=vr(r),a.childLanes=Mr(i,w,r),o.memoizedState=wr,D7(null,a)):(j0(o),_r(o,R))}var z=i.memoizedState;if(z!==null&&(R=z.dehydrated,R!==null)){if(h)o.flags&256?(j0(o),o.flags&=-257,o=yr(i,o,r)):o.memoizedState!==null?($0(),o.child=i.child,o.flags|=128,o=null):($0(),R=a.fallback,u=o.mode,a=mn({mode:"visible",children:a.children},u),R=B5(R,u,r,null),R.flags|=2,a.return=o,R.return=o,a.sibling=R,o.child=a,V5(o,i.child,null,r),a=o.child,a.memoizedState=vr(r),a.childLanes=Mr(i,w,r),o.memoizedState=wr,o=D7(null,a));else if(j0(o),sa(R)){if(w=R.nextSibling&&R.nextSibling.dataset,w)var t2=w.dgst;w=t2,a=Error(s(419)),a.stack="",a.digest=w,R7({value:a,source:null,stack:null}),o=yr(i,o,r)}else if(b3||B8(i,o,r,!1),w=(r&i.childLanes)!==0,b3||w){if(w=q1,w!==null&&(a=b8(w,r),a!==0&&a!==z.retryLane))throw z.retryLane=a,F5(i,a),R4(w,i,a),mr;ia(R)||An(),o=yr(i,o,r)}else ia(R)?(o.flags|=192,o.child=i.child,o=null):(i=z.treeContext,J1=o9(R.nextSibling),H3=o,_1=!0,F0=null,i9=!1,i!==null&&qh(o,i),o=_r(o,a.children),o.flags|=4096);return o}return u?($0(),R=a.fallback,u=o.mode,z=i.child,t2=z.sibling,a=i0(z,{mode:"hidden",children:a.children}),a.subtreeFlags=z.subtreeFlags&65011712,t2!==null?R=i0(t2,R):(R=B5(R,u,r,null),R.flags|=2),R.return=o,a.return=o,a.sibling=R,o.child=a,D7(null,a),a=o.child,R=i.child.memoizedState,R===null?R=vr(r):(u=R.cachePool,u!==null?(z=y3._currentValue,u=u.parent!==z?{parent:z,pool:z}:u):u=ef(),R={baseLanes:R.baseLanes|r,cachePool:u}),a.memoizedState=R,a.childLanes=Mr(i,w,r),o.memoizedState=wr,D7(i.child,a)):(j0(o),r=i.child,i=r.sibling,r=i0(r,{mode:"visible",children:a.children}),r.return=o,r.sibling=null,i!==null&&(w=o.deletions,w===null?(o.deletions=[i],o.flags|=16):w.push(i)),o.child=r,o.memoizedState=null,r)}function _r(i,o){return o=mn({mode:"visible",children:o},i.mode),o.return=i,i.child=o}function mn(i,o){return i=F4(22,i,null,o),i.lanes=0,i}function yr(i,o,r){return V5(o,i.child,null,r),i=_r(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function hg(i,o,r){i.lanes|=o;var a=i.alternate;a!==null&&(a.lanes|=o),Bl(i.return,o,r)}function Rr(i,o,r,a,u,h){var w=i.memoizedState;w===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:a,tail:r,tailMode:u,treeForkCount:h}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=a,w.tail=r,w.tailMode=u,w.treeForkCount=h)}function fg(i,o,r){var a=o.pendingProps,u=a.revealOrder,h=a.tail;a=a.children;var w=w3.current,R=(w&2)!==0;if(R?(w=w&1|2,o.flags|=128):w&=1,E(w3,w),W3(i,o,a,r),a=_1?y7:0,!R&&i!==null&&(i.flags&128)!==0)e:for(i=o.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&hg(i,r,o);else if(i.tag===19)hg(i,r,o);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break e;for(;i.sibling===null;){if(i.return===null||i.return===o)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(u){case"forwards":for(r=o.child,u=null;r!==null;)i=r.alternate,i!==null&&ln(i)===null&&(u=r),r=r.sibling;r=u,r===null?(u=o.child,o.child=null):(u=r.sibling,r.sibling=null),Rr(o,!1,u,r,h,a);break;case"backwards":case"unstable_legacy-backwards":for(r=null,u=o.child,o.child=null;u!==null;){if(i=u.alternate,i!==null&&ln(i)===null){o.child=u;break}i=u.sibling,u.sibling=r,r=u,u=i}Rr(o,!0,r,null,h,a);break;case"together":Rr(o,!1,null,null,void 0,a);break;default:o.memoizedState=null}return o.child}function L0(i,o,r){if(i!==null&&(o.dependencies=i.dependencies),q0|=o.lanes,(r&o.childLanes)===0)if(i!==null){if(B8(i,o,r,!1),(r&o.childLanes)===0)return null}else return null;if(i!==null&&o.child!==i.child)throw Error(s(153));if(o.child!==null){for(i=o.child,r=i0(i,i.pendingProps),o.child=r,r.return=o;i.sibling!==null;)i=i.sibling,r=r.sibling=i0(i,i.pendingProps),r.return=o;r.sibling=null}return o.child}function br(i,o){return(i.lanes&o)!==0?!0:(i=i.dependencies,!!(i!==null&&Qt(i)))}function QD(i,o,r){switch(o.tag){case 3:N2(o,o.stateNode.containerInfo),U0(o,y3,i.memoizedState.cache),U5();break;case 27:case 5:K2(o);break;case 4:N2(o,o.stateNode.containerInfo);break;case 10:U0(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,Ql(o),null;break;case 13:var a=o.memoizedState;if(a!==null)return a.dehydrated!==null?(j0(o),o.flags|=128,null):(r&o.child.childLanes)!==0?dg(i,o,r):(j0(o),i=L0(i,o,r),i!==null?i.sibling:null);j0(o);break;case 19:var u=(i.flags&128)!==0;if(a=(r&o.childLanes)!==0,a||(B8(i,o,r,!1),a=(r&o.childLanes)!==0),u){if(a)return fg(i,o,r);o.flags|=128}if(u=o.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),E(w3,w3.current),a)break;return null;case 22:return o.lanes=0,rg(i,o,r,o.pendingProps);case 24:U0(o,y3,i.memoizedState.cache)}return L0(i,o,r)}function gg(i,o,r){if(i!==null)if(i.memoizedProps!==o.pendingProps)b3=!0;else{if(!br(i,r)&&(o.flags&128)===0)return b3=!1,QD(i,o,r);b3=(i.flags&131072)!==0}else b3=!1,_1&&(o.flags&1048576)!==0&&Gh(o,y7,o.index);switch(o.lanes=0,o.tag){case 16:e:{var a=o.pendingProps;if(i=j5(o.elementType),o.type=i,typeof i=="function")Tl(i)?(a=q5(i,a),o.tag=1,o=Cg(null,o,i,a,r)):(o.tag=0,o=xr(null,o,i,a,r));else{if(i!=null){var u=i.$$typeof;if(u===O){o.tag=11,o=sg(null,o,i,a,r);break e}else if(u===Y){o.tag=14,o=og(null,o,i,a,r);break e}}throw o=V(i)||i,Error(s(306,o,""))}}return o;case 0:return xr(i,o,o.type,o.pendingProps,r);case 1:return a=o.type,u=q5(a,o.pendingProps),Cg(i,o,a,u,r);case 3:e:{if(N2(o,o.stateNode.containerInfo),i===null)throw Error(s(387));a=o.pendingProps;var h=o.memoizedState;u=h.element,Vl(i,o),E7(o,a,null,r);var w=o.memoizedState;if(a=w.cache,U0(o,y3,a),a!==h.cache&&Ul(o,[y3],r,!0),T7(),a=w.element,h.isDehydrated)if(h={element:a,isDehydrated:!1,cache:w.cache},o.updateQueue.baseState=h,o.memoizedState=h,o.flags&256){o=ug(i,o,a,r);break e}else if(a!==u){u=e9(Error(s(424)),o),R7(u),o=ug(i,o,a,r);break e}else{switch(i=o.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(J1=o9(i.firstChild),H3=o,_1=!0,F0=null,i9=!0,r=rf(o,null,a,r),o.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(U5(),a===u){o=L0(i,o,r);break e}W3(i,o,a,r)}o=o.child}return o;case 26:return pn(i,o),i===null?(r=Ap(o.type,null,o.pendingProps,null))?o.memoizedState=r:_1||(r=o.type,i=o.pendingProps,a=zn(m2.current).createElement(r),a[u3]=o,a[B1]=i,j3(a,r,i),l1(a),o.stateNode=a):o.memoizedState=Ap(o.type,i.memoizedProps,o.pendingProps,i.memoizedState),null;case 27:return K2(o),i===null&&_1&&(a=o.stateNode=yp(o.type,o.pendingProps,m2.current),H3=o,i9=!0,u=J1,J0(o.type)?(oa=u,J1=o9(a.firstChild)):J1=u),W3(i,o,o.pendingProps.children,r),pn(i,o),i===null&&(o.flags|=4194304),o.child;case 5:return i===null&&_1&&((u=a=J1)&&(a=AF(a,o.type,o.pendingProps,i9),a!==null?(o.stateNode=a,H3=o,J1=o9(a.firstChild),i9=!1,u=!0):u=!1),u||B0(o)),K2(o),u=o.type,h=o.pendingProps,w=i!==null?i.memoizedProps:null,a=h.children,ea(u,h)?a=null:w!==null&&ea(u,w)&&(o.flags|=32),o.memoizedState!==null&&(u=Jl(i,o,PD,null,null,r),K7._currentValue=u),pn(i,o),W3(i,o,a,r),o.child;case 6:return i===null&&_1&&((i=r=J1)&&(r=SF(r,o.pendingProps,i9),r!==null?(o.stateNode=r,H3=o,J1=null,i=!0):i=!1),i||B0(o)),null;case 13:return dg(i,o,r);case 4:return N2(o,o.stateNode.containerInfo),a=o.pendingProps,i===null?o.child=V5(o,null,a,r):W3(i,o,a,r),o.child;case 11:return sg(i,o,o.type,o.pendingProps,r);case 7:return W3(i,o,o.pendingProps,r),o.child;case 8:return W3(i,o,o.pendingProps.children,r),o.child;case 12:return W3(i,o,o.pendingProps.children,r),o.child;case 10:return a=o.pendingProps,U0(o,o.type,a.value),W3(i,o,a.children,r),o.child;case 9:return u=o.type._context,a=o.pendingProps.children,P5(o),u=P3(u),a=a(u),o.flags|=1,W3(i,o,a,r),o.child;case 14:return og(i,o,o.type,o.pendingProps,r);case 15:return lg(i,o,o.type,o.pendingProps,r);case 19:return fg(i,o,r);case 31:return XD(i,o,r);case 22:return rg(i,o,r,o.pendingProps);case 24:return P5(o),a=P3(y3),i===null?(u=Wl(),u===null&&(u=q1,h=Hl(),u.pooledCache=h,h.refCount++,h!==null&&(u.pooledCacheLanes|=r),u=h),o.memoizedState={parent:a,cache:u},$l(o),U0(o,y3,u)):((i.lanes&r)!==0&&(Vl(i,o),E7(o,null,null,r),T7()),u=i.memoizedState,h=o.memoizedState,u.parent!==a?(u={parent:a,cache:a},o.memoizedState=u,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=u),U0(o,y3,a)):(a=h.cache,U0(o,y3,a),a!==u.cache&&Ul(o,[y3],r,!0))),W3(i,o,o.pendingProps.children,r),o.child;case 29:throw o.pendingProps}throw Error(s(156,o.tag))}function c0(i){i.flags|=4}function Ar(i,o,r,a,u){if((o=(i.mode&32)!==0)&&(o=!1),o){if(i.flags|=16777216,(u&335544128)===u)if(i.stateNode.complete)i.flags|=8192;else if(Wg())i.flags|=8192;else throw $5=tn,jl}else i.flags&=-16777217}function pg(i,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!Ep(o))if(Wg())i.flags|=8192;else throw $5=tn,jl}function xn(i,o){o!==null&&(i.flags|=4),i.flags&16384&&(o=i.tag!==22?q2():536870912,i.lanes|=o,Q8|=o)}function F7(i,o){if(!_1)switch(i.tailMode){case"hidden":o=i.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?i.tail=null:r.sibling=null;break;case"collapsed":r=i.tail;for(var a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?o||i.tail===null?i.tail=null:i.tail.sibling=null:a.sibling=null}}function e3(i){var o=i.alternate!==null&&i.alternate.child===i.child,r=0,a=0;if(o)for(var u=i.child;u!==null;)r|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=i,u=u.sibling;else for(u=i.child;u!==null;)r|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=i,u=u.sibling;return i.subtreeFlags|=a,i.childLanes=r,o}function KD(i,o,r){var a=o.pendingProps;switch(Nl(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return e3(o),null;case 1:return e3(o),null;case 3:return r=o.stateNode,a=null,i!==null&&(a=i.memoizedState.cache),o.memoizedState.cache!==a&&(o.flags|=2048),l0(y3),P2(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(i===null||i.child===null)&&(F8(o)?c0(o):i===null||i.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Dl())),e3(o),null;case 26:var u=o.type,h=o.memoizedState;return i===null?(c0(o),h!==null?(e3(o),pg(o,h)):(e3(o),Ar(o,u,null,a,r))):h?h!==i.memoizedState?(c0(o),e3(o),pg(o,h)):(e3(o),o.flags&=-16777217):(i=i.memoizedProps,i!==a&&c0(o),e3(o),Ar(o,u,i,a,r)),null;case 27:if(f1(o),r=m2.current,u=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==a&&c0(o);else{if(!a){if(o.stateNode===null)throw Error(s(166));return e3(o),null}i=H.current,F8(o)?Yh(o):(i=yp(u,a,r),o.stateNode=i,c0(o))}return e3(o),null;case 5:if(f1(o),u=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==a&&c0(o);else{if(!a){if(o.stateNode===null)throw Error(s(166));return e3(o),null}if(h=H.current,F8(o))Yh(o);else{var w=zn(m2.current);switch(h){case 1:h=w.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:h=w.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":h=w.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":h=w.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":h=w.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof a.is=="string"?w.createElement("select",{is:a.is}):w.createElement("select"),a.multiple?h.multiple=!0:a.size&&(h.size=a.size);break;default:h=typeof a.is=="string"?w.createElement(u,{is:a.is}):w.createElement(u)}}h[u3]=o,h[B1]=a;e:for(w=o.child;w!==null;){if(w.tag===5||w.tag===6)h.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===o)break e;for(;w.sibling===null;){if(w.return===null||w.return===o)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}o.stateNode=h;e:switch(j3(h,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&c0(o)}}return e3(o),Ar(o,o.type,i===null?null:i.memoizedProps,o.pendingProps,r),null;case 6:if(i&&o.stateNode!=null)i.memoizedProps!==a&&c0(o);else{if(typeof a!="string"&&o.stateNode===null)throw Error(s(166));if(i=m2.current,F8(o)){if(i=o.stateNode,r=o.memoizedProps,a=null,u=H3,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}i[u3]=o,i=!!(i.nodeValue===r||a!==null&&a.suppressHydrationWarning===!0||dp(i.nodeValue,r)),i||B0(o,!0)}else i=zn(i).createTextNode(a),i[u3]=o,o.stateNode=i}return e3(o),null;case 31:if(r=o.memoizedState,i===null||i.memoizedState!==null){if(a=F8(o),r!==null){if(i===null){if(!a)throw Error(s(318));if(i=o.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(557));i[u3]=o}else U5(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;e3(o),i=!1}else r=Dl(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=r),i=!0;if(!i)return o.flags&256?(U4(o),o):(U4(o),null);if((o.flags&128)!==0)throw Error(s(558))}return e3(o),null;case 13:if(a=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(u=F8(o),a!==null&&a.dehydrated!==null){if(i===null){if(!u)throw Error(s(318));if(u=o.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(s(317));u[u3]=o}else U5(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;e3(o),u=!1}else u=Dl(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=u),u=!0;if(!u)return o.flags&256?(U4(o),o):(U4(o),null)}return U4(o),(o.flags&128)!==0?(o.lanes=r,o):(r=a!==null,i=i!==null&&i.memoizedState!==null,r&&(a=o.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),h=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(h=a.memoizedState.cachePool.pool),h!==u&&(a.flags|=2048)),r!==i&&r&&(o.child.flags|=8192),xn(o,o.updateQueue),e3(o),null);case 4:return P2(),i===null&&Yr(o.stateNode.containerInfo),e3(o),null;case 10:return l0(o.type),e3(o),null;case 19:if(F(w3),a=o.memoizedState,a===null)return e3(o),null;if(u=(o.flags&128)!==0,h=a.rendering,h===null)if(u)F7(a,!1);else{if(g3!==0||i!==null&&(i.flags&128)!==0)for(i=o.child;i!==null;){if(h=ln(i),h!==null){for(o.flags|=128,F7(a,!1),i=h.updateQueue,o.updateQueue=i,xn(o,i),o.subtreeFlags=0,i=r,r=o.child;r!==null;)jh(r,i),r=r.sibling;return E(w3,w3.current&1|2),_1&&s0(o,a.treeForkCount),o.child}i=i.sibling}a.tail!==null&&I1()>yn&&(o.flags|=128,u=!0,F7(a,!1),o.lanes=4194304)}else{if(!u)if(i=ln(h),i!==null){if(o.flags|=128,u=!0,i=i.updateQueue,o.updateQueue=i,xn(o,i),F7(a,!0),a.tail===null&&a.tailMode==="hidden"&&!h.alternate&&!_1)return e3(o),null}else 2*I1()-a.renderingStartTime>yn&&r!==536870912&&(o.flags|=128,u=!0,F7(a,!1),o.lanes=4194304);a.isBackwards?(h.sibling=o.child,o.child=h):(i=a.last,i!==null?i.sibling=h:o.child=h,a.last=h)}return a.tail!==null?(i=a.tail,a.rendering=i,a.tail=i.sibling,a.renderingStartTime=I1(),i.sibling=null,r=w3.current,E(w3,u?r&1|2:r&1),_1&&s0(o,a.treeForkCount),i):(e3(o),null);case 22:case 23:return U4(o),Xl(),a=o.memoizedState!==null,i!==null?i.memoizedState!==null!==a&&(o.flags|=8192):a&&(o.flags|=8192),a?(r&536870912)!==0&&(o.flags&128)===0&&(e3(o),o.subtreeFlags&6&&(o.flags|=8192)):e3(o),r=o.updateQueue,r!==null&&xn(o,r.retryQueue),r=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),a=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(a=o.memoizedState.cachePool.pool),a!==r&&(o.flags|=2048),i!==null&&F(W5),null;case 24:return r=null,i!==null&&(r=i.memoizedState.cache),o.memoizedState.cache!==r&&(o.flags|=2048),l0(y3),e3(o),null;case 25:return null;case 30:return null}throw Error(s(156,o.tag))}function JD(i,o){switch(Nl(o),o.tag){case 1:return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return l0(y3),P2(),i=o.flags,(i&65536)!==0&&(i&128)===0?(o.flags=i&-65537|128,o):null;case 26:case 27:case 5:return f1(o),null;case 31:if(o.memoizedState!==null){if(U4(o),o.alternate===null)throw Error(s(340));U5()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 13:if(U4(o),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(s(340));U5()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return F(w3),null;case 4:return P2(),null;case 10:return l0(o.type),null;case 22:case 23:return U4(o),Xl(),i!==null&&F(W5),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 24:return l0(y3),null;case 25:return null;default:return null}}function mg(i,o){switch(Nl(o),o.tag){case 3:l0(y3),P2();break;case 26:case 27:case 5:f1(o);break;case 4:P2();break;case 31:o.memoizedState!==null&&U4(o);break;case 13:U4(o);break;case 19:F(w3);break;case 10:l0(o.type);break;case 22:case 23:U4(o),Xl(),i!==null&&F(W5);break;case 24:l0(y3)}}function B7(i,o){try{var r=o.updateQueue,a=r!==null?r.lastEffect:null;if(a!==null){var u=a.next;r=u;do{if((r.tag&i)===i){a=void 0;var h=r.create,w=r.inst;a=h(),w.destroy=a}r=r.next}while(r!==u)}}catch(R){F1(o,o.return,R)}}function V0(i,o,r){try{var a=o.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var h=u.next;a=h;do{if((a.tag&i)===i){var w=a.inst,R=w.destroy;if(R!==void 0){w.destroy=void 0,u=o;var z=r,t2=R;try{t2()}catch(r2){F1(u,z,r2)}}}a=a.next}while(a!==h)}}catch(r2){F1(o,o.return,r2)}}function xg(i){var o=i.updateQueue;if(o!==null){var r=i.stateNode;try{Lf(o,r)}catch(a){F1(i,i.return,a)}}}function wg(i,o,r){r.props=q5(i.type,i.memoizedProps),r.state=i.memoizedState;try{r.componentWillUnmount()}catch(a){F1(i,o,a)}}function U7(i,o){try{var r=i.ref;if(r!==null){switch(i.tag){case 26:case 27:case 5:var a=i.stateNode;break;case 30:a=i.stateNode;break;default:a=i.stateNode}typeof r=="function"?i.refCleanup=r(a):r.current=a}}catch(u){F1(i,o,u)}}function D9(i,o){var r=i.ref,a=i.refCleanup;if(r!==null)if(typeof a=="function")try{a()}catch(u){F1(i,o,u)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(u){F1(i,o,u)}else r.current=null}function vg(i){var o=i.type,r=i.memoizedProps,a=i.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":r.autoFocus&&a.focus();break e;case"img":r.src?a.src=r.src:r.srcSet&&(a.srcset=r.srcSet)}}catch(u){F1(i,i.return,u)}}function Sr(i,o,r){try{var a=i.stateNode;vF(a,i.type,r,o),a[B1]=o}catch(u){F1(i,i.return,u)}}function Mg(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&J0(i.type)||i.tag===4}function kr(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||Mg(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&J0(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Zr(i,o,r){var a=i.tag;if(a===5||a===6)i=i.stateNode,o?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(i,o):(o=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,o.appendChild(i),r=r._reactRootContainer,r!=null||o.onclick!==null||(o.onclick=Q2));else if(a!==4&&(a===27&&J0(i.type)&&(r=i.stateNode,o=null),i=i.child,i!==null))for(Zr(i,o,r),i=i.sibling;i!==null;)Zr(i,o,r),i=i.sibling}function wn(i,o,r){var a=i.tag;if(a===5||a===6)i=i.stateNode,o?r.insertBefore(i,o):r.appendChild(i);else if(a!==4&&(a===27&&J0(i.type)&&(r=i.stateNode),i=i.child,i!==null))for(wn(i,o,r),i=i.sibling;i!==null;)wn(i,o,r),i=i.sibling}function _g(i){var o=i.stateNode,r=i.memoizedProps;try{for(var a=i.type,u=o.attributes;u.length;)o.removeAttributeNode(u[0]);j3(o,a,r),o[u3]=i,o[B1]=r}catch(h){F1(i,i.return,h)}}var C0=!1,A3=!1,Tr=!1,yg=typeof WeakSet=="function"?WeakSet:Set,z3=null;function eF(i,o){if(i=i.containerInfo,Kr=Hn,i=Nh(i),yl(i)){if("selectionStart"in i)var r={start:i.selectionStart,end:i.selectionEnd};else e:{r=(r=i.ownerDocument)&&r.defaultView||window;var a=r.getSelection&&r.getSelection();if(a&&a.rangeCount!==0){r=a.anchorNode;var u=a.anchorOffset,h=a.focusNode;a=a.focusOffset;try{r.nodeType,h.nodeType}catch{r=null;break e}var w=0,R=-1,z=-1,t2=0,r2=0,u2=i,i2=null;t:for(;;){for(var s2;u2!==r||u!==0&&u2.nodeType!==3||(R=w+u),u2!==h||a!==0&&u2.nodeType!==3||(z=w+a),u2.nodeType===3&&(w+=u2.nodeValue.length),(s2=u2.firstChild)!==null;)i2=u2,u2=s2;for(;;){if(u2===i)break t;if(i2===r&&++t2===u&&(R=w),i2===h&&++r2===a&&(z=w),(s2=u2.nextSibling)!==null)break;u2=i2,i2=u2.parentNode}u2=s2}r=R===-1||z===-1?null:{start:R,end:z}}else r=null}r=r||{start:0,end:0}}else r=null;for(Jr={focusedElem:i,selectionRange:r},Hn=!1,z3=o;z3!==null;)if(o=z3,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,z3=i;else for(;z3!==null;){switch(o=z3,h=o.alternate,i=o.flags,o.tag){case 0:if((i&4)!==0&&(i=o.updateQueue,i=i!==null?i.events:null,i!==null))for(r=0;r<i.length;r++)u=i[r],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&h!==null){i=void 0,r=o,u=h.memoizedProps,h=h.memoizedState,a=r.stateNode;try{var T2=q5(r.type,u);i=a.getSnapshotBeforeUpdate(T2,h),a.__reactInternalSnapshotBeforeUpdate=i}catch(Y2){F1(r,r.return,Y2)}}break;case 3:if((i&1024)!==0){if(i=o.stateNode.containerInfo,r=i.nodeType,r===9)na(i);else if(r===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":na(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(s(163))}if(i=o.sibling,i!==null){i.return=o.return,z3=i;break}z3=o.return}}function Rg(i,o,r){var a=r.flags;switch(r.tag){case 0:case 11:case 15:d0(i,r),a&4&&B7(5,r);break;case 1:if(d0(i,r),a&4)if(i=r.stateNode,o===null)try{i.componentDidMount()}catch(w){F1(r,r.return,w)}else{var u=q5(r.type,o.memoizedProps);o=o.memoizedState;try{i.componentDidUpdate(u,o,i.__reactInternalSnapshotBeforeUpdate)}catch(w){F1(r,r.return,w)}}a&64&&xg(r),a&512&&U7(r,r.return);break;case 3:if(d0(i,r),a&64&&(i=r.updateQueue,i!==null)){if(o=null,r.child!==null)switch(r.child.tag){case 27:case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}try{Lf(i,o)}catch(w){F1(r,r.return,w)}}break;case 27:o===null&&a&4&&_g(r);case 26:case 5:d0(i,r),o===null&&a&4&&vg(r),a&512&&U7(r,r.return);break;case 12:d0(i,r);break;case 31:d0(i,r),a&4&&Sg(i,r);break;case 13:d0(i,r),a&4&&kg(i,r),a&64&&(i=r.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(r=LF.bind(null,r),kF(i,r))));break;case 22:if(a=r.memoizedState!==null||C0,!a){o=o!==null&&o.memoizedState!==null||A3,u=C0;var h=A3;C0=a,(A3=o)&&!h?h0(i,r,(r.subtreeFlags&8772)!==0):d0(i,r),C0=u,A3=h}break;case 30:break;default:d0(i,r)}}function bg(i){var o=i.alternate;o!==null&&(i.alternate=null,bg(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&D(o)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var s3=null,v4=!1;function u0(i,o,r){for(r=r.child;r!==null;)Ag(i,o,r),r=r.sibling}function Ag(i,o,r){if(p3&&typeof p3.onCommitFiberUnmount=="function")try{p3.onCommitFiberUnmount(m4,r)}catch{}switch(r.tag){case 26:A3||D9(r,o),u0(i,o,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:A3||D9(r,o);var a=s3,u=v4;J0(r.type)&&(s3=r.stateNode,v4=!1),u0(i,o,r),Y7(r.stateNode),s3=a,v4=u;break;case 5:A3||D9(r,o);case 6:if(a=s3,u=v4,s3=null,u0(i,o,r),s3=a,v4=u,s3!==null)if(v4)try{(s3.nodeType===9?s3.body:s3.nodeName==="HTML"?s3.ownerDocument.body:s3).removeChild(r.stateNode)}catch(h){F1(r,o,h)}else try{s3.removeChild(r.stateNode)}catch(h){F1(r,o,h)}break;case 18:s3!==null&&(v4?(i=s3,xp(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,r.stateNode),o6(i)):xp(s3,r.stateNode));break;case 4:a=s3,u=v4,s3=r.stateNode.containerInfo,v4=!0,u0(i,o,r),s3=a,v4=u;break;case 0:case 11:case 14:case 15:V0(2,r,o),A3||V0(4,r,o),u0(i,o,r);break;case 1:A3||(D9(r,o),a=r.stateNode,typeof a.componentWillUnmount=="function"&&wg(r,o,a)),u0(i,o,r);break;case 21:u0(i,o,r);break;case 22:A3=(a=A3)||r.memoizedState!==null,u0(i,o,r),A3=a;break;default:u0(i,o,r)}}function Sg(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{o6(i)}catch(r){F1(o,o.return,r)}}}function kg(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{o6(i)}catch(r){F1(o,o.return,r)}}function tF(i){switch(i.tag){case 31:case 13:case 19:var o=i.stateNode;return o===null&&(o=i.stateNode=new yg),o;case 22:return i=i.stateNode,o=i._retryCache,o===null&&(o=i._retryCache=new yg),o;default:throw Error(s(435,i.tag))}}function vn(i,o){var r=tF(i);o.forEach(function(a){if(!r.has(a)){r.add(a);var u=cF.bind(null,i,a);a.then(u,u)}})}function M4(i,o){var r=o.deletions;if(r!==null)for(var a=0;a<r.length;a++){var u=r[a],h=i,w=o,R=w;e:for(;R!==null;){switch(R.tag){case 27:if(J0(R.type)){s3=R.stateNode,v4=!1;break e}break;case 5:s3=R.stateNode,v4=!1;break e;case 3:case 4:s3=R.stateNode.containerInfo,v4=!0;break e}R=R.return}if(s3===null)throw Error(s(160));Ag(h,w,u),s3=null,v4=!1,h=u.alternate,h!==null&&(h.return=null),u.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Zg(o,i),o=o.sibling}var p9=null;function Zg(i,o){var r=i.alternate,a=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:M4(o,i),_4(i),a&4&&(V0(3,i,i.return),B7(3,i),V0(5,i,i.return));break;case 1:M4(o,i),_4(i),a&512&&(A3||r===null||D9(r,r.return)),a&64&&C0&&(i=i.updateQueue,i!==null&&(a=i.callbacks,a!==null&&(r=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=r===null?a:r.concat(a))));break;case 26:var u=p9;if(M4(o,i),_4(i),a&512&&(A3||r===null||D9(r,r.return)),a&4){var h=r!==null?r.memoizedState:null;if(a=i.memoizedState,r===null)if(a===null)if(i.stateNode===null){e:{a=i.type,r=i.memoizedProps,u=u.ownerDocument||u;t:switch(a){case"title":h=u.getElementsByTagName("title")[0],(!h||h[O2]||h[u3]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=u.createElement(a),u.head.insertBefore(h,u.querySelector("head > title"))),j3(h,a,r),h[u3]=i,l1(h),a=h;break e;case"link":var w=Zp("link","href",u).get(a+(r.href||""));if(w){for(var R=0;R<w.length;R++)if(h=w[R],h.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&h.getAttribute("rel")===(r.rel==null?null:r.rel)&&h.getAttribute("title")===(r.title==null?null:r.title)&&h.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){w.splice(R,1);break t}}h=u.createElement(a),j3(h,a,r),u.head.appendChild(h);break;case"meta":if(w=Zp("meta","content",u).get(a+(r.content||""))){for(R=0;R<w.length;R++)if(h=w[R],h.getAttribute("content")===(r.content==null?null:""+r.content)&&h.getAttribute("name")===(r.name==null?null:r.name)&&h.getAttribute("property")===(r.property==null?null:r.property)&&h.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&h.getAttribute("charset")===(r.charSet==null?null:r.charSet)){w.splice(R,1);break t}}h=u.createElement(a),j3(h,a,r),u.head.appendChild(h);break;default:throw Error(s(468,a))}h[u3]=i,l1(h),a=h}i.stateNode=a}else Tp(u,i.type,i.stateNode);else i.stateNode=kp(u,a,i.memoizedProps);else h!==a?(h===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):h.count--,a===null?Tp(u,i.type,i.stateNode):kp(u,a,i.memoizedProps)):a===null&&i.stateNode!==null&&Sr(i,i.memoizedProps,r.memoizedProps)}break;case 27:M4(o,i),_4(i),a&512&&(A3||r===null||D9(r,r.return)),r!==null&&a&4&&Sr(i,i.memoizedProps,r.memoizedProps);break;case 5:if(M4(o,i),_4(i),a&512&&(A3||r===null||D9(r,r.return)),i.flags&32){u=i.stateNode;try{d3(u,"")}catch(T2){F1(i,i.return,T2)}}a&4&&i.stateNode!=null&&(u=i.memoizedProps,Sr(i,u,r!==null?r.memoizedProps:u)),a&1024&&(Tr=!0);break;case 6:if(M4(o,i),_4(i),a&4){if(i.stateNode===null)throw Error(s(162));a=i.memoizedProps,r=i.stateNode;try{r.nodeValue=a}catch(T2){F1(i,i.return,T2)}}break;case 3:if(Dn=null,u=p9,p9=Nn(o.containerInfo),M4(o,i),p9=u,_4(i),a&4&&r!==null&&r.memoizedState.isDehydrated)try{o6(o.containerInfo)}catch(T2){F1(i,i.return,T2)}Tr&&(Tr=!1,Tg(i));break;case 4:a=p9,p9=Nn(i.stateNode.containerInfo),M4(o,i),_4(i),p9=a;break;case 12:M4(o,i),_4(i);break;case 31:M4(o,i),_4(i),a&4&&(a=i.updateQueue,a!==null&&(i.updateQueue=null,vn(i,a)));break;case 13:M4(o,i),_4(i),i.child.flags&8192&&i.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(_n=I1()),a&4&&(a=i.updateQueue,a!==null&&(i.updateQueue=null,vn(i,a)));break;case 22:u=i.memoizedState!==null;var z=r!==null&&r.memoizedState!==null,t2=C0,r2=A3;if(C0=t2||u,A3=r2||z,M4(o,i),A3=r2,C0=t2,_4(i),a&8192)e:for(o=i.stateNode,o._visibility=u?o._visibility&-2:o._visibility|1,u&&(r===null||z||C0||A3||Y5(i)),r=null,o=i;;){if(o.tag===5||o.tag===26){if(r===null){z=r=o;try{if(h=z.stateNode,u)w=h.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{R=z.stateNode;var u2=z.memoizedProps.style,i2=u2!=null&&u2.hasOwnProperty("display")?u2.display:null;R.style.display=i2==null||typeof i2=="boolean"?"":(""+i2).trim()}}catch(T2){F1(z,z.return,T2)}}}else if(o.tag===6){if(r===null){z=o;try{z.stateNode.nodeValue=u?"":z.memoizedProps}catch(T2){F1(z,z.return,T2)}}}else if(o.tag===18){if(r===null){z=o;try{var s2=z.stateNode;u?wp(s2,!0):wp(z.stateNode,!1)}catch(T2){F1(z,z.return,T2)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===i)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;r===o&&(r=null),o=o.return}r===o&&(r=null),o.sibling.return=o.return,o=o.sibling}a&4&&(a=i.updateQueue,a!==null&&(r=a.retryQueue,r!==null&&(a.retryQueue=null,vn(i,r))));break;case 19:M4(o,i),_4(i),a&4&&(a=i.updateQueue,a!==null&&(i.updateQueue=null,vn(i,a)));break;case 30:break;case 21:break;default:M4(o,i),_4(i)}}function _4(i){var o=i.flags;if(o&2){try{for(var r,a=i.return;a!==null;){if(Mg(a)){r=a;break}a=a.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var u=r.stateNode,h=kr(i);wn(i,h,u);break;case 5:var w=r.stateNode;r.flags&32&&(d3(w,""),r.flags&=-33);var R=kr(i);wn(i,R,w);break;case 3:case 4:var z=r.stateNode.containerInfo,t2=kr(i);Zr(i,t2,z);break;default:throw Error(s(161))}}catch(r2){F1(i,i.return,r2)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function Tg(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var o=i;Tg(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),i=i.sibling}}function d0(i,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)Rg(i,o.alternate,o),o=o.sibling}function Y5(i){for(i=i.child;i!==null;){var o=i;switch(o.tag){case 0:case 11:case 14:case 15:V0(4,o,o.return),Y5(o);break;case 1:D9(o,o.return);var r=o.stateNode;typeof r.componentWillUnmount=="function"&&wg(o,o.return,r),Y5(o);break;case 27:Y7(o.stateNode);case 26:case 5:D9(o,o.return),Y5(o);break;case 22:o.memoizedState===null&&Y5(o);break;case 30:Y5(o);break;default:Y5(o)}i=i.sibling}}function h0(i,o,r){for(r=r&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var a=o.alternate,u=i,h=o,w=h.flags;switch(h.tag){case 0:case 11:case 15:h0(u,h,r),B7(4,h);break;case 1:if(h0(u,h,r),a=h,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(t2){F1(a,a.return,t2)}if(a=h,u=a.updateQueue,u!==null){var R=a.stateNode;try{var z=u.shared.hiddenCallbacks;if(z!==null)for(u.shared.hiddenCallbacks=null,u=0;u<z.length;u++)af(z[u],R)}catch(t2){F1(a,a.return,t2)}}r&&w&64&&xg(h),U7(h,h.return);break;case 27:_g(h);case 26:case 5:h0(u,h,r),r&&a===null&&w&4&&vg(h),U7(h,h.return);break;case 12:h0(u,h,r);break;case 31:h0(u,h,r),r&&w&4&&Sg(u,h);break;case 13:h0(u,h,r),r&&w&4&&kg(u,h);break;case 22:h.memoizedState===null&&h0(u,h,r),U7(h,h.return);break;case 30:break;default:h0(u,h,r)}o=o.sibling}}function Er(i,o){var r=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),i=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(i=o.memoizedState.cachePool.pool),i!==r&&(i!=null&&i.refCount++,r!=null&&b7(r))}function Ir(i,o){i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&b7(i))}function m9(i,o,r,a){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)Eg(i,o,r,a),o=o.sibling}function Eg(i,o,r,a){var u=o.flags;switch(o.tag){case 0:case 11:case 15:m9(i,o,r,a),u&2048&&B7(9,o);break;case 1:m9(i,o,r,a);break;case 3:m9(i,o,r,a),u&2048&&(i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&b7(i)));break;case 12:if(u&2048){m9(i,o,r,a),i=o.stateNode;try{var h=o.memoizedProps,w=h.id,R=h.onPostCommit;typeof R=="function"&&R(w,o.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(z){F1(o,o.return,z)}}else m9(i,o,r,a);break;case 31:m9(i,o,r,a);break;case 13:m9(i,o,r,a);break;case 23:break;case 22:h=o.stateNode,w=o.alternate,o.memoizedState!==null?h._visibility&2?m9(i,o,r,a):H7(i,o):h._visibility&2?m9(i,o,r,a):(h._visibility|=2,q8(i,o,r,a,(o.subtreeFlags&10256)!==0||!1)),u&2048&&Er(w,o);break;case 24:m9(i,o,r,a),u&2048&&Ir(o.alternate,o);break;default:m9(i,o,r,a)}}function q8(i,o,r,a,u){for(u=u&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var h=i,w=o,R=r,z=a,t2=w.flags;switch(w.tag){case 0:case 11:case 15:q8(h,w,R,z,u),B7(8,w);break;case 23:break;case 22:var r2=w.stateNode;w.memoizedState!==null?r2._visibility&2?q8(h,w,R,z,u):H7(h,w):(r2._visibility|=2,q8(h,w,R,z,u)),u&&t2&2048&&Er(w.alternate,w);break;case 24:q8(h,w,R,z,u),u&&t2&2048&&Ir(w.alternate,w);break;default:q8(h,w,R,z,u)}o=o.sibling}}function H7(i,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var r=i,a=o,u=a.flags;switch(a.tag){case 22:H7(r,a),u&2048&&Er(a.alternate,a);break;case 24:H7(r,a),u&2048&&Ir(a.alternate,a);break;default:H7(r,a)}o=o.sibling}}var P7=8192;function Y8(i,o,r){if(i.subtreeFlags&P7)for(i=i.child;i!==null;)Ig(i,o,r),i=i.sibling}function Ig(i,o,r){switch(i.tag){case 26:Y8(i,o,r),i.flags&P7&&i.memoizedState!==null&&HF(r,p9,i.memoizedState,i.memoizedProps);break;case 5:Y8(i,o,r);break;case 3:case 4:var a=p9;p9=Nn(i.stateNode.containerInfo),Y8(i,o,r),p9=a;break;case 22:i.memoizedState===null&&(a=i.alternate,a!==null&&a.memoizedState!==null?(a=P7,P7=16777216,Y8(i,o,r),P7=a):Y8(i,o,r));break;default:Y8(i,o,r)}}function zg(i){var o=i.alternate;if(o!==null&&(i=o.child,i!==null)){o.child=null;do o=i.sibling,i.sibling=null,i=o;while(i!==null)}}function W7(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var r=0;r<o.length;r++){var a=o[r];z3=a,Og(a,i)}zg(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Ng(i),i=i.sibling}function Ng(i){switch(i.tag){case 0:case 11:case 15:W7(i),i.flags&2048&&V0(9,i,i.return);break;case 3:W7(i);break;case 12:W7(i);break;case 22:var o=i.stateNode;i.memoizedState!==null&&o._visibility&2&&(i.return===null||i.return.tag!==13)?(o._visibility&=-3,Mn(i)):W7(i);break;default:W7(i)}}function Mn(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var r=0;r<o.length;r++){var a=o[r];z3=a,Og(a,i)}zg(i)}for(i=i.child;i!==null;){switch(o=i,o.tag){case 0:case 11:case 15:V0(8,o,o.return),Mn(o);break;case 22:r=o.stateNode,r._visibility&2&&(r._visibility&=-3,Mn(o));break;default:Mn(o)}i=i.sibling}}function Og(i,o){for(;z3!==null;){var r=z3;switch(r.tag){case 0:case 11:case 15:V0(8,r,o);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var a=r.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:b7(r.memoizedState.cache)}if(a=r.child,a!==null)a.return=r,z3=a;else e:for(r=i;z3!==null;){a=z3;var u=a.sibling,h=a.return;if(bg(a),a===r){z3=null;break e}if(u!==null){u.return=h,z3=u;break e}z3=h}}}var nF={getCacheForType:function(i){var o=P3(y3),r=o.data.get(i);return r===void 0&&(r=i(),o.data.set(i,r)),r},cacheSignal:function(){return P3(y3).controller.signal}},iF=typeof WeakMap=="function"?WeakMap:Map,O1=0,q1=null,p1=null,x1=0,D1=0,H4=null,G0=!1,X8=!1,zr=!1,f0=0,g3=0,q0=0,X5=0,Nr=0,P4=0,Q8=0,j7=null,y4=null,Or=!1,_n=0,Dg=0,yn=1/0,Rn=null,Y0=null,T3=0,X0=null,K8=null,g0=0,Dr=0,Fr=null,Fg=null,$7=0,Br=null;function W4(){return(O1&2)!==0&&x1!==0?x1&-x1:T.T!==null?$r():Z5()}function Bg(){if(P4===0)if((x1&536870912)===0||_1){var i=D2;D2<<=1,(D2&3932160)===0&&(D2=262144),P4=i}else P4=536870912;return i=B4.current,i!==null&&(i.flags|=32),P4}function R4(i,o,r){(i===q1&&(D1===2||D1===9)||i.cancelPendingCommit!==null)&&(J8(i,0),Q0(i,x1,P4,!1)),N1(i,r),((O1&2)===0||i!==q1)&&(i===q1&&((O1&2)===0&&(X5|=r),g3===4&&Q0(i,x1,P4,!1)),F9(i))}function Ug(i,o,r){if((O1&6)!==0)throw Error(s(327));var a=!r&&(o&127)===0&&(o&i.expiredLanes)===0||R2(i,o),u=a?lF(i,o):Hr(i,o,!0),h=a;do{if(u===0){X8&&!a&&Q0(i,o,0,!1);break}else{if(r=i.current.alternate,h&&!sF(r)){u=Hr(i,o,!1),h=!1;continue}if(u===2){if(h=o,i.errorRecoveryDisabledLanes&h)var w=0;else w=i.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){o=w;e:{var R=i;u=j7;var z=R.current.memoizedState.isDehydrated;if(z&&(J8(R,w).flags|=256),w=Hr(R,w,!1),w!==2){if(zr&&!z){R.errorRecoveryDisabledLanes|=h,X5|=h,u=4;break e}h=y4,y4=u,h!==null&&(y4===null?y4=h:y4.push.apply(y4,h))}u=w}if(h=!1,u!==2)continue}}if(u===1){J8(i,0),Q0(i,o,0,!0);break}e:{switch(a=i,h=u,h){case 0:case 1:throw Error(s(345));case 4:if((o&4194048)!==o)break;case 6:Q0(a,o,P4,!G0);break e;case 2:y4=null;break;case 3:case 5:break;default:throw Error(s(329))}if((o&62914560)===o&&(u=_n+300-I1(),10<u)){if(Q0(a,o,P4,!G0),X1(a,0,!0)!==0)break e;g0=o,a.timeoutHandle=pp(Hg.bind(null,a,r,y4,Rn,Or,o,P4,X5,Q8,G0,h,"Throttled",-0,0),u);break e}Hg(a,r,y4,Rn,Or,o,P4,X5,Q8,G0,h,null,-0,0)}}break}while(!0);F9(i)}function Hg(i,o,r,a,u,h,w,R,z,t2,r2,u2,i2,s2){if(i.timeoutHandle=-1,u2=o.subtreeFlags,u2&8192||(u2&16785408)===16785408){u2={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Q2},Ig(o,h,u2);var T2=(h&62914560)===h?_n-I1():(h&4194048)===h?Dg-I1():0;if(T2=PF(u2,T2),T2!==null){g0=h,i.cancelPendingCommit=T2(Yg.bind(null,i,o,h,r,a,u,w,R,z,r2,u2,null,i2,s2)),Q0(i,h,w,!t2);return}}Yg(i,o,h,r,a,u,w,R,z)}function sF(i){for(var o=i;;){var r=o.tag;if((r===0||r===11||r===15)&&o.flags&16384&&(r=o.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var a=0;a<r.length;a++){var u=r[a],h=u.getSnapshot;u=u.value;try{if(!D4(h(),u))return!1}catch{return!1}}if(r=o.child,o.subtreeFlags&16384&&r!==null)r.return=o,o=r;else{if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Q0(i,o,r,a){o&=~Nr,o&=~X5,i.suspendedLanes|=o,i.pingedLanes&=~o,a&&(i.warmLanes|=o),a=i.expirationTimes;for(var u=o;0<u;){var h=31-x3(u),w=1<<h;a[h]=-1,u&=~w}r!==0&&K9(i,r,o)}function bn(){return(O1&6)===0?(V7(0),!1):!0}function Ur(){if(p1!==null){if(D1===0)var i=p1.return;else i=p1,o0=H5=null,nr(i),W8=null,S7=0,i=p1;for(;i!==null;)mg(i.alternate,i),i=i.return;p1=null}}function J8(i,o){var r=i.timeoutHandle;r!==-1&&(i.timeoutHandle=-1,yF(r)),r=i.cancelPendingCommit,r!==null&&(i.cancelPendingCommit=null,r()),g0=0,Ur(),q1=i,p1=r=i0(i.current,null),x1=o,D1=0,H4=null,G0=!1,X8=R2(i,o),zr=!1,Q8=P4=Nr=X5=q0=g3=0,y4=j7=null,Or=!1,(o&8)!==0&&(o|=o&32);var a=i.entangledLanes;if(a!==0)for(i=i.entanglements,a&=o;0<a;){var u=31-x3(a),h=1<<u;o|=i[u],a&=~h}return f0=o,Vt(),r}function Pg(i,o){o1=null,T.H=O7,o===P8||o===en?(o=sf(),D1=3):o===jl?(o=sf(),D1=4):D1=o===mr?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,H4=o,p1===null&&(g3=1,fn(i,e9(o,i.current)))}function Wg(){var i=B4.current;return i===null?!0:(x1&4194048)===x1?s9===null:(x1&62914560)===x1||(x1&536870912)!==0?i===s9:!1}function jg(){var i=T.H;return T.H=O7,i===null?O7:i}function $g(){var i=T.A;return T.A=nF,i}function An(){g3=4,G0||(x1&4194048)!==x1&&B4.current!==null||(X8=!0),(q0&134217727)===0&&(X5&134217727)===0||q1===null||Q0(q1,x1,P4,!1)}function Hr(i,o,r){var a=O1;O1|=2;var u=jg(),h=$g();(q1!==i||x1!==o)&&(Rn=null,J8(i,o)),o=!1;var w=g3;e:do try{if(D1!==0&&p1!==null){var R=p1,z=H4;switch(D1){case 8:Ur(),w=6;break e;case 3:case 2:case 9:case 6:B4.current===null&&(o=!0);var t2=D1;if(D1=0,H4=null,e6(i,R,z,t2),r&&X8){w=0;break e}break;default:t2=D1,D1=0,H4=null,e6(i,R,z,t2)}}oF(),w=g3;break}catch(r2){Pg(i,r2)}while(!0);return o&&i.shellSuspendCounter++,o0=H5=null,O1=a,T.H=u,T.A=h,p1===null&&(q1=null,x1=0,Vt()),w}function oF(){for(;p1!==null;)Vg(p1)}function lF(i,o){var r=O1;O1|=2;var a=jg(),u=$g();q1!==i||x1!==o?(Rn=null,yn=I1()+500,J8(i,o)):X8=R2(i,o);e:do try{if(D1!==0&&p1!==null){o=p1;var h=H4;t:switch(D1){case 1:D1=0,H4=null,e6(i,o,h,1);break;case 2:case 9:if(tf(h)){D1=0,H4=null,Gg(o);break}o=function(){D1!==2&&D1!==9||q1!==i||(D1=7),F9(i)},h.then(o,o);break e;case 3:D1=7;break e;case 4:D1=5;break e;case 7:tf(h)?(D1=0,H4=null,Gg(o)):(D1=0,H4=null,e6(i,o,h,7));break;case 5:var w=null;switch(p1.tag){case 26:w=p1.memoizedState;case 5:case 27:var R=p1;if(w?Ep(w):R.stateNode.complete){D1=0,H4=null;var z=R.sibling;if(z!==null)p1=z;else{var t2=R.return;t2!==null?(p1=t2,Sn(t2)):p1=null}break t}}D1=0,H4=null,e6(i,o,h,5);break;case 6:D1=0,H4=null,e6(i,o,h,6);break;case 8:Ur(),g3=6;break e;default:throw Error(s(462))}}rF();break}catch(r2){Pg(i,r2)}while(!0);return o0=H5=null,T.H=a,T.A=u,O1=r,p1!==null?0:(q1=null,x1=0,Vt(),g3)}function rF(){for(;p1!==null&&!s1();)Vg(p1)}function Vg(i){var o=gg(i.alternate,i,f0);i.memoizedProps=i.pendingProps,o===null?Sn(i):p1=o}function Gg(i){var o=i,r=o.alternate;switch(o.tag){case 15:case 0:o=cg(r,o,o.pendingProps,o.type,void 0,x1);break;case 11:o=cg(r,o,o.pendingProps,o.type.render,o.ref,x1);break;case 5:nr(o);default:mg(r,o),o=p1=jh(o,f0),o=gg(r,o,f0)}i.memoizedProps=i.pendingProps,o===null?Sn(i):p1=o}function e6(i,o,r,a){o0=H5=null,nr(o),W8=null,S7=0;var u=o.return;try{if(YD(i,u,o,r,x1)){g3=1,fn(i,e9(r,i.current)),p1=null;return}}catch(h){if(u!==null)throw p1=u,h;g3=1,fn(i,e9(r,i.current)),p1=null;return}o.flags&32768?(_1||a===1?i=!0:X8||(x1&536870912)!==0?i=!1:(G0=i=!0,(a===2||a===9||a===3||a===6)&&(a=B4.current,a!==null&&a.tag===13&&(a.flags|=16384))),qg(o,i)):Sn(o)}function Sn(i){var o=i;do{if((o.flags&32768)!==0){qg(o,G0);return}i=o.return;var r=KD(o.alternate,o,f0);if(r!==null){p1=r;return}if(o=o.sibling,o!==null){p1=o;return}p1=o=i}while(o!==null);g3===0&&(g3=5)}function qg(i,o){do{var r=JD(i.alternate,i);if(r!==null){r.flags&=32767,p1=r;return}if(r=i.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!o&&(i=i.sibling,i!==null)){p1=i;return}p1=i=r}while(i!==null);g3=6,p1=null}function Yg(i,o,r,a,u,h,w,R,z){i.cancelPendingCommit=null;do kn();while(T3!==0);if((O1&6)!==0)throw Error(s(327));if(o!==null){if(o===i.current)throw Error(s(177));if(h=o.lanes|o.childLanes,h|=kl,x4(i,r,h,w,R,z),i===q1&&(p1=q1=null,x1=0),K8=o,X0=i,g0=r,Dr=h,Fr=u,Fg=a,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,CF(C3,function(){return ep(),null})):(i.callbackNode=null,i.callbackPriority=0),a=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||a){a=T.T,T.T=null,u=j.p,j.p=2,w=O1,O1|=4;try{eF(i,o,r)}finally{O1=w,j.p=u,T.T=a}}T3=1,Xg(),Qg(),Kg()}}function Xg(){if(T3===1){T3=0;var i=X0,o=K8,r=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||r){r=T.T,T.T=null;var a=j.p;j.p=2;var u=O1;O1|=4;try{Zg(o,i);var h=Jr,w=Nh(i.containerInfo),R=h.focusedElem,z=h.selectionRange;if(w!==R&&R&&R.ownerDocument&&zh(R.ownerDocument.documentElement,R)){if(z!==null&&yl(R)){var t2=z.start,r2=z.end;if(r2===void 0&&(r2=t2),"selectionStart"in R)R.selectionStart=t2,R.selectionEnd=Math.min(r2,R.value.length);else{var u2=R.ownerDocument||document,i2=u2&&u2.defaultView||window;if(i2.getSelection){var s2=i2.getSelection(),T2=R.textContent.length,Y2=Math.min(z.start,T2),W1=z.end===void 0?Y2:Math.min(z.end,T2);!s2.extend&&Y2>W1&&(w=W1,W1=Y2,Y2=w);var G=Ih(R,Y2),U=Ih(R,W1);if(G&&U&&(s2.rangeCount!==1||s2.anchorNode!==G.node||s2.anchorOffset!==G.offset||s2.focusNode!==U.node||s2.focusOffset!==U.offset)){var e2=u2.createRange();e2.setStart(G.node,G.offset),s2.removeAllRanges(),Y2>W1?(s2.addRange(e2),s2.extend(U.node,U.offset)):(e2.setEnd(U.node,U.offset),s2.addRange(e2))}}}}for(u2=[],s2=R;s2=s2.parentNode;)s2.nodeType===1&&u2.push({element:s2,left:s2.scrollLeft,top:s2.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<u2.length;R++){var a2=u2[R];a2.element.scrollLeft=a2.left,a2.element.scrollTop=a2.top}}Hn=!!Kr,Jr=Kr=null}finally{O1=u,j.p=a,T.T=r}}i.current=o,T3=2}}function Qg(){if(T3===2){T3=0;var i=X0,o=K8,r=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||r){r=T.T,T.T=null;var a=j.p;j.p=2;var u=O1;O1|=4;try{Rg(i,o.alternate,o)}finally{O1=u,j.p=a,T.T=r}}T3=3}}function Kg(){if(T3===4||T3===3){T3=0,K3();var i=X0,o=K8,r=g0,a=Fg;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?T3=5:(T3=0,K8=X0=null,Jg(i,i.pendingLanes));var u=i.pendingLanes;if(u===0&&(Y0=null),N4(r),o=o.stateNode,p3&&typeof p3.onCommitFiberRoot=="function")try{p3.onCommitFiberRoot(m4,o,void 0,(o.current.flags&128)===128)}catch{}if(a!==null){o=T.T,u=j.p,j.p=2,T.T=null;try{for(var h=i.onRecoverableError,w=0;w<a.length;w++){var R=a[w];h(R.value,{componentStack:R.stack})}}finally{T.T=o,j.p=u}}(g0&3)!==0&&kn(),F9(i),u=i.pendingLanes,(r&261930)!==0&&(u&42)!==0?i===Br?$7++:($7=0,Br=i):$7=0,V7(0)}}function Jg(i,o){(i.pooledCacheLanes&=o)===0&&(o=i.pooledCache,o!=null&&(i.pooledCache=null,b7(o)))}function kn(){return Xg(),Qg(),Kg(),ep()}function ep(){if(T3!==5)return!1;var i=X0,o=Dr;Dr=0;var r=N4(g0),a=T.T,u=j.p;try{j.p=32>r?32:r,T.T=null,r=Fr,Fr=null;var h=X0,w=g0;if(T3=0,K8=X0=null,g0=0,(O1&6)!==0)throw Error(s(331));var R=O1;if(O1|=4,Ng(h.current),Eg(h,h.current,w,r),O1=R,V7(0,!1),p3&&typeof p3.onPostCommitFiberRoot=="function")try{p3.onPostCommitFiberRoot(m4,h)}catch{}return!0}finally{j.p=u,T.T=a,Jg(i,o)}}function tp(i,o,r){o=e9(r,o),o=pr(i.stateNode,o,2),i=W0(i,o,2),i!==null&&(N1(i,2),F9(i))}function F1(i,o,r){if(i.tag===3)tp(i,i,r);else for(;o!==null;){if(o.tag===3){tp(o,i,r);break}else if(o.tag===1){var a=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Y0===null||!Y0.has(a))){i=e9(r,i),r=ng(2),a=W0(o,r,2),a!==null&&(ig(r,a,o,i),N1(a,2),F9(a));break}}o=o.return}}function Pr(i,o,r){var a=i.pingCache;if(a===null){a=i.pingCache=new iF;var u=new Set;a.set(o,u)}else u=a.get(o),u===void 0&&(u=new Set,a.set(o,u));u.has(r)||(zr=!0,u.add(r),i=aF.bind(null,i,o,r),o.then(i,i))}function aF(i,o,r){var a=i.pingCache;a!==null&&a.delete(o),i.pingedLanes|=i.suspendedLanes&r,i.warmLanes&=~r,q1===i&&(x1&r)===r&&(g3===4||g3===3&&(x1&62914560)===x1&&300>I1()-_n?(O1&2)===0&&J8(i,0):Nr|=r,Q8===x1&&(Q8=0)),F9(i)}function np(i,o){o===0&&(o=q2()),i=F5(i,o),i!==null&&(N1(i,o),F9(i))}function LF(i){var o=i.memoizedState,r=0;o!==null&&(r=o.retryLane),np(i,r)}function cF(i,o){var r=0;switch(i.tag){case 31:case 13:var a=i.stateNode,u=i.memoizedState;u!==null&&(r=u.retryLane);break;case 19:a=i.stateNode;break;case 22:a=i.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(o),np(i,r)}function CF(i,o){return G2(i,o)}var Zn=null,t6=null,Wr=!1,Tn=!1,jr=!1,K0=0;function F9(i){i!==t6&&i.next===null&&(t6===null?Zn=t6=i:t6=t6.next=i),Tn=!0,Wr||(Wr=!0,dF())}function V7(i,o){if(!jr&&Tn){jr=!0;do for(var r=!1,a=Zn;a!==null;){if(i!==0){var u=a.pendingLanes;if(u===0)var h=0;else{var w=a.suspendedLanes,R=a.pingedLanes;h=(1<<31-x3(42|i)+1)-1,h&=u&~(w&~R),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(r=!0,lp(a,h))}else h=x1,h=X1(a,a===q1?h:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(h&3)===0||R2(a,h)||(r=!0,lp(a,h));a=a.next}while(r);jr=!1}}function uF(){ip()}function ip(){Tn=Wr=!1;var i=0;K0!==0&&_F()&&(i=K0);for(var o=I1(),r=null,a=Zn;a!==null;){var u=a.next,h=sp(a,o);h===0?(a.next=null,r===null?Zn=u:r.next=u,u===null&&(t6=r)):(r=a,(i!==0||(h&3)!==0)&&(Tn=!0)),a=u}T3!==0&&T3!==5||V7(i),K0!==0&&(K0=0)}function sp(i,o){for(var r=i.suspendedLanes,a=i.pingedLanes,u=i.expirationTimes,h=i.pendingLanes&-62914561;0<h;){var w=31-x3(h),R=1<<w,z=u[w];z===-1?((R&r)===0||(R&a)!==0)&&(u[w]=_2(R,o)):z<=o&&(i.expiredLanes|=R),h&=~R}if(o=q1,r=x1,r=X1(i,i===o?r:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),a=i.callbackNode,r===0||i===o&&(D1===2||D1===9)||i.cancelPendingCommit!==null)return a!==null&&a!==null&&h1(a),i.callbackNode=null,i.callbackPriority=0;if((r&3)===0||R2(i,r)){if(o=r&-r,o===i.callbackPriority)return o;switch(a!==null&&h1(a),N4(r)){case 2:case 8:r=Y1;break;case 32:r=C3;break;case 268435456:r=Q9;break;default:r=C3}return a=op.bind(null,i),r=G2(r,a),i.callbackPriority=o,i.callbackNode=r,o}return a!==null&&a!==null&&h1(a),i.callbackPriority=2,i.callbackNode=null,2}function op(i,o){if(T3!==0&&T3!==5)return i.callbackNode=null,i.callbackPriority=0,null;var r=i.callbackNode;if(kn()&&i.callbackNode!==r)return null;var a=x1;return a=X1(i,i===q1?a:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),a===0?null:(Ug(i,a,o),sp(i,I1()),i.callbackNode!=null&&i.callbackNode===r?op.bind(null,i):null)}function lp(i,o){if(kn())return null;Ug(i,o,!0)}function dF(){RF(function(){(O1&6)!==0?G2(i1,uF):ip()})}function $r(){if(K0===0){var i=U8;i===0&&(i=M2,M2<<=1,(M2&261888)===0&&(M2=256)),K0=i}return K0}function rp(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:W2(""+i)}function ap(i,o){var r=o.ownerDocument.createElement("input");return r.name=o.name,r.value=o.value,i.id&&r.setAttribute("form",i.id),o.parentNode.insertBefore(r,o),i=new FormData(i),r.parentNode.removeChild(r),i}function hF(i,o,r,a,u){if(o==="submit"&&r&&r.stateNode===u){var h=rp((u[B1]||null).action),w=a.submitter;w&&(o=(o=w[B1]||null)?rp(o.formAction):w.getAttribute("formAction"),o!==null&&(h=o,w=null));var R=new Pt("action","action",null,a,u);i.push({event:R,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(K0!==0){var z=w?ap(u,w):new FormData(u);Cr(r,{pending:!0,data:z,method:u.method,action:h},null,z)}}else typeof h=="function"&&(R.preventDefault(),z=w?ap(u,w):new FormData(u),Cr(r,{pending:!0,data:z,method:u.method,action:h},h,z))},currentTarget:u}]})}}for(var Vr=0;Vr<Sl.length;Vr++){var Gr=Sl[Vr],fF=Gr.toLowerCase(),gF=Gr[0].toUpperCase()+Gr.slice(1);g9(fF,"on"+gF)}g9(Fh,"onAnimationEnd"),g9(Bh,"onAnimationIteration"),g9(Uh,"onAnimationStart"),g9("dblclick","onDoubleClick"),g9("focusin","onFocus"),g9("focusout","onBlur"),g9(ED,"onTransitionRun"),g9(ID,"onTransitionStart"),g9(zD,"onTransitionCancel"),g9(Hh,"onTransitionEnd"),Q4("onMouseEnter",["mouseout","mouseover"]),Q4("onMouseLeave",["mouseout","mouseover"]),Q4("onPointerEnter",["pointerout","pointerover"]),Q4("onPointerLeave",["pointerout","pointerover"]),e4("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),e4("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),e4("onBeforeInput",["compositionend","keypress","textInput","paste"]),e4("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),e4("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),e4("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var G7="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),pF=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(G7));function Lp(i,o){o=(o&4)!==0;for(var r=0;r<i.length;r++){var a=i[r],u=a.event;a=a.listeners;e:{var h=void 0;if(o)for(var w=a.length-1;0<=w;w--){var R=a[w],z=R.instance,t2=R.currentTarget;if(R=R.listener,z!==h&&u.isPropagationStopped())break e;h=R,u.currentTarget=t2;try{h(u)}catch(r2){$t(r2)}u.currentTarget=null,h=z}else for(w=0;w<a.length;w++){if(R=a[w],z=R.instance,t2=R.currentTarget,R=R.listener,z!==h&&u.isPropagationStopped())break e;h=R,u.currentTarget=t2;try{h(u)}catch(r2){$t(r2)}u.currentTarget=null,h=z}}}}function m1(i,o){var r=o[E9];r===void 0&&(r=o[E9]=new Set);var a=i+"__bubble";r.has(a)||(cp(o,i,2,!1),r.add(a))}function qr(i,o,r){var a=0;o&&(a|=4),cp(r,i,a,o)}var En="_reactListening"+Math.random().toString(36).slice(2);function Yr(i){if(!i[En]){i[En]=!0,Z3.forEach(function(r){r!=="selectionchange"&&(pF.has(r)||qr(r,!1,i),qr(r,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[En]||(o[En]=!0,qr("selectionchange",!1,o))}}function cp(i,o,r,a){switch(Bp(o)){case 2:var u=$F;break;case 8:u=VF;break;default:u=ca}r=u.bind(null,o,r,i),u=void 0,!fl||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(u=!0),a?u!==void 0?i.addEventListener(o,r,{capture:!0,passive:u}):i.addEventListener(o,r,!0):u!==void 0?i.addEventListener(o,r,{passive:u}):i.addEventListener(o,r,!1)}function Xr(i,o,r,a,u){var h=a;if((o&1)===0&&(o&2)===0&&a!==null)e:for(;;){if(a===null)return;var w=a.tag;if(w===3||w===4){var R=a.stateNode.containerInfo;if(R===u)break;if(w===4)for(w=a.return;w!==null;){var z=w.tag;if((z===3||z===4)&&w.stateNode.containerInfo===u)return;w=w.return}for(;R!==null;){if(w=x2(R),w===null)return;if(z=w.tag,z===5||z===6||z===26||z===27){a=h=w;continue e}R=R.parentNode}}a=a.return}hh(function(){var t2=h,r2=I3(r),u2=[];e:{var i2=Ph.get(i);if(i2!==void 0){var s2=Pt,T2=i;switch(i){case"keypress":if(Ut(r)===0)break e;case"keydown":case"keyup":s2=cD;break;case"focusin":T2="focus",s2=xl;break;case"focusout":T2="blur",s2=xl;break;case"beforeblur":case"afterblur":s2=xl;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s2=ph;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s2=KO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s2=dD;break;case Fh:case Bh:case Uh:s2=tD;break;case Hh:s2=fD;break;case"scroll":case"scrollend":s2=XO;break;case"wheel":s2=pD;break;case"copy":case"cut":case"paste":s2=iD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s2=xh;break;case"toggle":case"beforetoggle":s2=xD}var Y2=(o&4)!==0,W1=!Y2&&(i==="scroll"||i==="scrollend"),G=Y2?i2!==null?i2+"Capture":null:i2;Y2=[];for(var U=t2,e2;U!==null;){var a2=U;if(e2=a2.stateNode,a2=a2.tag,a2!==5&&a2!==26&&a2!==27||e2===null||G===null||(a2=f7(U,G),a2!=null&&Y2.push(q7(U,a2,e2))),W1)break;U=U.return}0<Y2.length&&(i2=new s2(i2,T2,null,r,r2),u2.push({event:i2,listeners:Y2}))}}if((o&7)===0){e:{if(i2=i==="mouseover"||i==="pointerover",s2=i==="mouseout"||i==="pointerout",i2&&r!==k1&&(T2=r.relatedTarget||r.fromElement)&&(x2(T2)||T2[h9]))break e;if((s2||i2)&&(i2=r2.window===r2?r2:(i2=r2.ownerDocument)?i2.defaultView||i2.parentWindow:window,s2?(T2=r.relatedTarget||r.toElement,s2=t2,T2=T2?x2(T2):null,T2!==null&&(W1=L(T2),Y2=T2.tag,T2!==W1||Y2!==5&&Y2!==27&&Y2!==6)&&(T2=null)):(s2=null,T2=t2),s2!==T2)){if(Y2=ph,a2="onMouseLeave",G="onMouseEnter",U="mouse",(i==="pointerout"||i==="pointerover")&&(Y2=xh,a2="onPointerLeave",G="onPointerEnter",U="pointer"),W1=s2==null?i2:b1(s2),e2=T2==null?i2:b1(T2),i2=new Y2(a2,U+"leave",s2,r,r2),i2.target=W1,i2.relatedTarget=e2,a2=null,x2(r2)===t2&&(Y2=new Y2(G,U+"enter",T2,r,r2),Y2.target=e2,Y2.relatedTarget=W1,a2=Y2),W1=a2,s2&&T2)t:{for(Y2=mF,G=s2,U=T2,e2=0,a2=G;a2;a2=Y2(a2))e2++;a2=0;for(var j2=U;j2;j2=Y2(j2))a2++;for(;0<e2-a2;)G=Y2(G),e2--;for(;0<a2-e2;)U=Y2(U),a2--;for(;e2--;){if(G===U||U!==null&&G===U.alternate){Y2=G;break t}G=Y2(G),U=Y2(U)}Y2=null}else Y2=null;s2!==null&&Cp(u2,i2,s2,Y2,!1),T2!==null&&W1!==null&&Cp(u2,W1,T2,Y2,!0)}}e:{if(i2=t2?b1(t2):window,s2=i2.nodeName&&i2.nodeName.toLowerCase(),s2==="select"||s2==="input"&&i2.type==="file")var Z1=Ah;else if(Rh(i2))if(Sh)Z1=kD;else{Z1=AD;var F2=bD}else s2=i2.nodeName,!s2||s2.toLowerCase()!=="input"||i2.type!=="checkbox"&&i2.type!=="radio"?t2&&z5(t2.elementType)&&(Z1=Ah):Z1=SD;if(Z1&&(Z1=Z1(i,t2))){bh(u2,Z1,r,r2);break e}F2&&F2(i,i2,t2),i==="focusout"&&t2&&i2.type==="number"&&t2.memoizedProps.value!=null&&u7(i2,"number",i2.value)}switch(F2=t2?b1(t2):window,i){case"focusin":(Rh(F2)||F2.contentEditable==="true")&&(E8=F2,Rl=t2,_7=null);break;case"focusout":_7=Rl=E8=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,Oh(u2,r,r2);break;case"selectionchange":if(TD)break;case"keydown":case"keyup":Oh(u2,r,r2)}var r1;if(vl)e:{switch(i){case"compositionstart":var w1="onCompositionStart";break e;case"compositionend":w1="onCompositionEnd";break e;case"compositionupdate":w1="onCompositionUpdate";break e}w1=void 0}else T8?_h(i,r)&&(w1="onCompositionEnd"):i==="keydown"&&r.keyCode===229&&(w1="onCompositionStart");w1&&(wh&&r.locale!=="ko"&&(T8||w1!=="onCompositionStart"?w1==="onCompositionEnd"&&T8&&(r1=fh()):(O0=r2,gl="value"in O0?O0.value:O0.textContent,T8=!0)),F2=In(t2,w1),0<F2.length&&(w1=new mh(w1,i,null,r,r2),u2.push({event:w1,listeners:F2}),r1?w1.data=r1:(r1=yh(r),r1!==null&&(w1.data=r1)))),(r1=vD?MD(i,r):_D(i,r))&&(w1=In(t2,"onBeforeInput"),0<w1.length&&(F2=new mh("onBeforeInput","beforeinput",null,r,r2),u2.push({event:F2,listeners:w1}),F2.data=r1)),hF(u2,i,t2,r,r2)}Lp(u2,o)})}function q7(i,o,r){return{instance:i,listener:o,currentTarget:r}}function In(i,o){for(var r=o+"Capture",a=[];i!==null;){var u=i,h=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||h===null||(u=f7(i,r),u!=null&&a.unshift(q7(i,u,h)),u=f7(i,o),u!=null&&a.push(q7(i,u,h))),i.tag===3)return a;i=i.return}return[]}function mF(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function Cp(i,o,r,a,u){for(var h=o._reactName,w=[];r!==null&&r!==a;){var R=r,z=R.alternate,t2=R.stateNode;if(R=R.tag,z!==null&&z===a)break;R!==5&&R!==26&&R!==27||t2===null||(z=t2,u?(t2=f7(r,h),t2!=null&&w.unshift(q7(r,t2,z))):u||(t2=f7(r,h),t2!=null&&w.push(q7(r,t2,z)))),r=r.return}w.length!==0&&i.push({event:o,listeners:w})}var xF=/\r\n?/g,wF=/\u0000|\uFFFD/g;function up(i){return(typeof i=="string"?i:""+i).replace(xF,`
253
+ `).replace(wF,"")}function dp(i,o){return o=up(o),up(i)===o}function P1(i,o,r,a,u,h){switch(r){case"children":typeof a=="string"?o==="body"||o==="textarea"&&a===""||d3(i,a):(typeof a=="number"||typeof a=="bigint")&&o!=="body"&&d3(i,""+a);break;case"className":K4(i,"class",a);break;case"tabIndex":K4(i,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":K4(i,r,a);break;case"style":t0(i,a,h);break;case"data":if(o!=="object"){K4(i,"data",a);break}case"src":case"href":if(a===""&&(o!=="a"||r!=="href")){i.removeAttribute(r);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){i.removeAttribute(r);break}a=W2(""+a),i.setAttribute(r,a);break;case"action":case"formAction":if(typeof a=="function"){i.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(r==="formAction"?(o!=="input"&&P1(i,o,"name",u.name,u,null),P1(i,o,"formEncType",u.formEncType,u,null),P1(i,o,"formMethod",u.formMethod,u,null),P1(i,o,"formTarget",u.formTarget,u,null)):(P1(i,o,"encType",u.encType,u,null),P1(i,o,"method",u.method,u,null),P1(i,o,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){i.removeAttribute(r);break}a=W2(""+a),i.setAttribute(r,a);break;case"onClick":a!=null&&(i.onclick=Q2);break;case"onScroll":a!=null&&m1("scroll",i);break;case"onScrollEnd":a!=null&&m1("scrollend",i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(r=a.__html,r!=null){if(u.children!=null)throw Error(s(60));i.innerHTML=r}}break;case"multiple":i.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":i.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){i.removeAttribute("xlink:href");break}r=W2(""+a),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?i.setAttribute(r,""+a):i.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?i.setAttribute(r,""):i.removeAttribute(r);break;case"capture":case"download":a===!0?i.setAttribute(r,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?i.setAttribute(r,a):i.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?i.setAttribute(r,a):i.removeAttribute(r);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?i.removeAttribute(r):i.setAttribute(r,a);break;case"popover":m1("beforetoggle",i),m1("toggle",i),l3(i,"popover",a);break;case"xlinkActuate":_3(i,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":_3(i,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":_3(i,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":_3(i,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":_3(i,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":_3(i,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":_3(i,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":_3(i,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":_3(i,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":l3(i,"is",a);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=h7.get(r)||r,l3(i,r,a))}}function Qr(i,o,r,a,u,h){switch(r){case"style":t0(i,a,h);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(r=a.__html,r!=null){if(u.children!=null)throw Error(s(60));i.innerHTML=r}}break;case"children":typeof a=="string"?d3(i,a):(typeof a=="number"||typeof a=="bigint")&&d3(i,""+a);break;case"onScroll":a!=null&&m1("scroll",i);break;case"onScrollEnd":a!=null&&m1("scrollend",i);break;case"onClick":a!=null&&(i.onclick=Q2);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!B3.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(u=r.endsWith("Capture"),o=r.slice(2,u?r.length-7:void 0),h=i[B1]||null,h=h!=null?h[r]:null,typeof h=="function"&&i.removeEventListener(o,h,u),typeof a=="function")){typeof h!="function"&&h!==null&&(r in i?i[r]=null:i.hasAttribute(r)&&i.removeAttribute(r)),i.addEventListener(o,a,u);break e}r in i?i[r]=a:a===!0?i.setAttribute(r,""):l3(i,r,a)}}}function j3(i,o,r){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":m1("error",i),m1("load",i);var a=!1,u=!1,h;for(h in r)if(r.hasOwnProperty(h)){var w=r[h];if(w!=null)switch(h){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,o));default:P1(i,o,h,w,r,null)}}u&&P1(i,o,"srcSet",r.srcSet,r,null),a&&P1(i,o,"src",r.src,r,null);return;case"input":m1("invalid",i);var R=h=w=u=null,z=null,t2=null;for(a in r)if(r.hasOwnProperty(a)){var r2=r[a];if(r2!=null)switch(a){case"name":u=r2;break;case"type":w=r2;break;case"checked":z=r2;break;case"defaultChecked":t2=r2;break;case"value":h=r2;break;case"defaultValue":R=r2;break;case"children":case"dangerouslySetInnerHTML":if(r2!=null)throw Error(s(137,o));break;default:P1(i,o,a,r2,r,null)}}e0(i,h,R,z,t2,w,u,!1);return;case"select":m1("invalid",i),a=w=h=null;for(u in r)if(r.hasOwnProperty(u)&&(R=r[u],R!=null))switch(u){case"value":h=R;break;case"defaultValue":w=R;break;case"multiple":a=R;default:P1(i,o,u,R,r,null)}o=h,r=w,i.multiple=!!a,o!=null?z9(i,!!a,o,!1):r!=null&&z9(i,!!a,r,!0);return;case"textarea":m1("invalid",i),h=u=a=null;for(w in r)if(r.hasOwnProperty(w)&&(R=r[w],R!=null))switch(w){case"value":a=R;break;case"defaultValue":u=R;break;case"children":h=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(s(91));break;default:P1(i,o,w,R,r,null)}d7(i,a,u,h);return;case"option":for(z in r)if(r.hasOwnProperty(z)&&(a=r[z],a!=null))switch(z){case"selected":i.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:P1(i,o,z,a,r,null)}return;case"dialog":m1("beforetoggle",i),m1("toggle",i),m1("cancel",i),m1("close",i);break;case"iframe":case"object":m1("load",i);break;case"video":case"audio":for(a=0;a<G7.length;a++)m1(G7[a],i);break;case"image":m1("error",i),m1("load",i);break;case"details":m1("toggle",i);break;case"embed":case"source":case"link":m1("error",i),m1("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(t2 in r)if(r.hasOwnProperty(t2)&&(a=r[t2],a!=null))switch(t2){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,o));default:P1(i,o,t2,a,r,null)}return;default:if(z5(o)){for(r2 in r)r.hasOwnProperty(r2)&&(a=r[r2],a!==void 0&&Qr(i,o,r2,a,r,void 0));return}}for(R in r)r.hasOwnProperty(R)&&(a=r[R],a!=null&&P1(i,o,R,a,r,null))}function vF(i,o,r,a){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,h=null,w=null,R=null,z=null,t2=null,r2=null;for(s2 in r){var u2=r[s2];if(r.hasOwnProperty(s2)&&u2!=null)switch(s2){case"checked":break;case"value":break;case"defaultValue":z=u2;default:a.hasOwnProperty(s2)||P1(i,o,s2,null,a,u2)}}for(var i2 in a){var s2=a[i2];if(u2=r[i2],a.hasOwnProperty(i2)&&(s2!=null||u2!=null))switch(i2){case"type":h=s2;break;case"name":u=s2;break;case"checked":t2=s2;break;case"defaultChecked":r2=s2;break;case"value":w=s2;break;case"defaultValue":R=s2;break;case"children":case"dangerouslySetInnerHTML":if(s2!=null)throw Error(s(137,o));break;default:s2!==u2&&P1(i,o,i2,s2,a,u2)}}Z8(i,w,R,z,t2,r2,h,u);return;case"select":s2=w=R=i2=null;for(h in r)if(z=r[h],r.hasOwnProperty(h)&&z!=null)switch(h){case"value":break;case"multiple":s2=z;default:a.hasOwnProperty(h)||P1(i,o,h,null,a,z)}for(u in a)if(h=a[u],z=r[u],a.hasOwnProperty(u)&&(h!=null||z!=null))switch(u){case"value":i2=h;break;case"defaultValue":R=h;break;case"multiple":w=h;default:h!==z&&P1(i,o,u,h,a,z)}o=R,r=w,a=s2,i2!=null?z9(i,!!r,i2,!1):!!a!=!!r&&(o!=null?z9(i,!!r,o,!0):z9(i,!!r,r?[]:"",!1));return;case"textarea":s2=i2=null;for(R in r)if(u=r[R],r.hasOwnProperty(R)&&u!=null&&!a.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:P1(i,o,R,null,a,u)}for(w in a)if(u=a[w],h=r[w],a.hasOwnProperty(w)&&(u!=null||h!=null))switch(w){case"value":i2=u;break;case"defaultValue":s2=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(s(91));break;default:u!==h&&P1(i,o,w,u,a,h)}c1(i,i2,s2);return;case"option":for(var T2 in r)if(i2=r[T2],r.hasOwnProperty(T2)&&i2!=null&&!a.hasOwnProperty(T2))switch(T2){case"selected":i.selected=!1;break;default:P1(i,o,T2,null,a,i2)}for(z in a)if(i2=a[z],s2=r[z],a.hasOwnProperty(z)&&i2!==s2&&(i2!=null||s2!=null))switch(z){case"selected":i.selected=i2&&typeof i2!="function"&&typeof i2!="symbol";break;default:P1(i,o,z,i2,a,s2)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Y2 in r)i2=r[Y2],r.hasOwnProperty(Y2)&&i2!=null&&!a.hasOwnProperty(Y2)&&P1(i,o,Y2,null,a,i2);for(t2 in a)if(i2=a[t2],s2=r[t2],a.hasOwnProperty(t2)&&i2!==s2&&(i2!=null||s2!=null))switch(t2){case"children":case"dangerouslySetInnerHTML":if(i2!=null)throw Error(s(137,o));break;default:P1(i,o,t2,i2,a,s2)}return;default:if(z5(o)){for(var W1 in r)i2=r[W1],r.hasOwnProperty(W1)&&i2!==void 0&&!a.hasOwnProperty(W1)&&Qr(i,o,W1,void 0,a,i2);for(r2 in a)i2=a[r2],s2=r[r2],!a.hasOwnProperty(r2)||i2===s2||i2===void 0&&s2===void 0||Qr(i,o,r2,i2,a,s2);return}}for(var G in r)i2=r[G],r.hasOwnProperty(G)&&i2!=null&&!a.hasOwnProperty(G)&&P1(i,o,G,null,a,i2);for(u2 in a)i2=a[u2],s2=r[u2],!a.hasOwnProperty(u2)||i2===s2||i2==null&&s2==null||P1(i,o,u2,i2,a,s2)}function hp(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function MF(){if(typeof performance.getEntriesByType=="function"){for(var i=0,o=0,r=performance.getEntriesByType("resource"),a=0;a<r.length;a++){var u=r[a],h=u.transferSize,w=u.initiatorType,R=u.duration;if(h&&R&&hp(w)){for(w=0,R=u.responseEnd,a+=1;a<r.length;a++){var z=r[a],t2=z.startTime;if(t2>R)break;var r2=z.transferSize,u2=z.initiatorType;r2&&hp(u2)&&(z=z.responseEnd,w+=r2*(z<R?1:(R-t2)/(z-t2)))}if(--a,o+=8*(h+w)/(u.duration/1e3),i++,10<i)break}}if(0<i)return o/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var Kr=null,Jr=null;function zn(i){return i.nodeType===9?i:i.ownerDocument}function fp(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function gp(i,o){if(i===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&o==="foreignObject"?0:i}function ea(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var ta=null;function _F(){var i=window.event;return i&&i.type==="popstate"?i===ta?!1:(ta=i,!0):(ta=null,!1)}var pp=typeof setTimeout=="function"?setTimeout:void 0,yF=typeof clearTimeout=="function"?clearTimeout:void 0,mp=typeof Promise=="function"?Promise:void 0,RF=typeof queueMicrotask=="function"?queueMicrotask:typeof mp<"u"?function(i){return mp.resolve(null).then(i).catch(bF)}:pp;function bF(i){setTimeout(function(){throw i})}function J0(i){return i==="head"}function xp(i,o){var r=o,a=0;do{var u=r.nextSibling;if(i.removeChild(r),u&&u.nodeType===8)if(r=u.data,r==="/$"||r==="/&"){if(a===0){i.removeChild(u),o6(o);return}a--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")a++;else if(r==="html")Y7(i.ownerDocument.documentElement);else if(r==="head"){r=i.ownerDocument.head,Y7(r);for(var h=r.firstChild;h;){var w=h.nextSibling,R=h.nodeName;h[O2]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&h.rel.toLowerCase()==="stylesheet"||r.removeChild(h),h=w}}else r==="body"&&Y7(i.ownerDocument.body);r=u}while(r);o6(o)}function wp(i,o){var r=i;i=0;do{var a=r.nextSibling;if(r.nodeType===1?o?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(o?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),a&&a.nodeType===8)if(r=a.data,r==="/$"){if(i===0)break;i--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||i++;r=a}while(r)}function na(i){var o=i.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var r=o;switch(o=o.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":na(r),D(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}i.removeChild(r)}}function AF(i,o,r,a){for(;i.nodeType===1;){var u=r;if(i.nodeName.toLowerCase()!==o.toLowerCase()){if(!a&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(a){if(!i[O2])switch(o){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(h=i.getAttribute("rel"),h==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(h!==u.rel||i.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||i.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||i.getAttribute("title")!==(u.title==null?null:u.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(h=i.getAttribute("src"),(h!==(u.src==null?null:u.src)||i.getAttribute("type")!==(u.type==null?null:u.type)||i.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&h&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(o==="input"&&i.type==="hidden"){var h=u.name==null?null:""+u.name;if(u.type==="hidden"&&i.getAttribute("name")===h)return i}else return i;if(i=o9(i.nextSibling),i===null)break}return null}function SF(i,o,r){if(o==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!r||(i=o9(i.nextSibling),i===null))return null;return i}function vp(i,o){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!o||(i=o9(i.nextSibling),i===null))return null;return i}function ia(i){return i.data==="$?"||i.data==="$~"}function sa(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function kF(i,o){var r=i.ownerDocument;if(i.data==="$~")i._reactRetry=o;else if(i.data!=="$?"||r.readyState!=="loading")o();else{var a=function(){o(),r.removeEventListener("DOMContentLoaded",a)};r.addEventListener("DOMContentLoaded",a),i._reactRetry=a}}function o9(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===1||o===3)break;if(o===8){if(o=i.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return i}var oa=null;function Mp(i){i=i.nextSibling;for(var o=0;i;){if(i.nodeType===8){var r=i.data;if(r==="/$"||r==="/&"){if(o===0)return o9(i.nextSibling);o--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||o++}i=i.nextSibling}return null}function _p(i){i=i.previousSibling;for(var o=0;i;){if(i.nodeType===8){var r=i.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(o===0)return i;o--}else r!=="/$"&&r!=="/&"||o++}i=i.previousSibling}return null}function yp(i,o,r){switch(o=zn(r),i){case"html":if(i=o.documentElement,!i)throw Error(s(452));return i;case"head":if(i=o.head,!i)throw Error(s(453));return i;case"body":if(i=o.body,!i)throw Error(s(454));return i;default:throw Error(s(451))}}function Y7(i){for(var o=i.attributes;o.length;)i.removeAttributeNode(o[0]);D(i)}var l9=new Map,Rp=new Set;function Nn(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var p0=j.d;j.d={f:ZF,r:TF,D:EF,C:IF,L:zF,m:NF,X:DF,S:OF,M:FF};function ZF(){var i=p0.f(),o=bn();return i||o}function TF(i){var o=y2(i);o!==null&&o.tag===5&&o.type==="form"?Pf(o):p0.r(i)}var n6=typeof document>"u"?null:document;function bp(i,o,r){var a=n6;if(a&&typeof o=="string"&&o){var u=U3(o);u='link[rel="'+i+'"][href="'+u+'"]',typeof r=="string"&&(u+='[crossorigin="'+r+'"]'),Rp.has(u)||(Rp.add(u),i={rel:i,crossOrigin:r,href:o},a.querySelector(u)===null&&(o=a.createElement("link"),j3(o,"link",i),l1(o),a.head.appendChild(o)))}}function EF(i){p0.D(i),bp("dns-prefetch",i,null)}function IF(i,o){p0.C(i,o),bp("preconnect",i,o)}function zF(i,o,r){p0.L(i,o,r);var a=n6;if(a&&i&&o){var u='link[rel="preload"][as="'+U3(o)+'"]';o==="image"&&r&&r.imageSrcSet?(u+='[imagesrcset="'+U3(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(u+='[imagesizes="'+U3(r.imageSizes)+'"]')):u+='[href="'+U3(i)+'"]';var h=u;switch(o){case"style":h=i6(i);break;case"script":h=s6(i)}l9.has(h)||(i=p({rel:"preload",href:o==="image"&&r&&r.imageSrcSet?void 0:i,as:o},r),l9.set(h,i),a.querySelector(u)!==null||o==="style"&&a.querySelector(X7(h))||o==="script"&&a.querySelector(Q7(h))||(o=a.createElement("link"),j3(o,"link",i),l1(o),a.head.appendChild(o)))}}function NF(i,o){p0.m(i,o);var r=n6;if(r&&i){var a=o&&typeof o.as=="string"?o.as:"script",u='link[rel="modulepreload"][as="'+U3(a)+'"][href="'+U3(i)+'"]',h=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=s6(i)}if(!l9.has(h)&&(i=p({rel:"modulepreload",href:i},o),l9.set(h,i),r.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Q7(h)))return}a=r.createElement("link"),j3(a,"link",i),l1(a),r.head.appendChild(a)}}}function OF(i,o,r){p0.S(i,o,r);var a=n6;if(a&&i){var u=Q1(a).hoistableStyles,h=i6(i);o=o||"default";var w=u.get(h);if(!w){var R={loading:0,preload:null};if(w=a.querySelector(X7(h)))R.loading=5;else{i=p({rel:"stylesheet",href:i,"data-precedence":o},r),(r=l9.get(h))&&la(i,r);var z=w=a.createElement("link");l1(z),j3(z,"link",i),z._p=new Promise(function(t2,r2){z.onload=t2,z.onerror=r2}),z.addEventListener("load",function(){R.loading|=1}),z.addEventListener("error",function(){R.loading|=2}),R.loading|=4,On(w,o,a)}w={type:"stylesheet",instance:w,count:1,state:R},u.set(h,w)}}}function DF(i,o){p0.X(i,o);var r=n6;if(r&&i){var a=Q1(r).hoistableScripts,u=s6(i),h=a.get(u);h||(h=r.querySelector(Q7(u)),h||(i=p({src:i,async:!0},o),(o=l9.get(u))&&ra(i,o),h=r.createElement("script"),l1(h),j3(h,"link",i),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},a.set(u,h))}}function FF(i,o){p0.M(i,o);var r=n6;if(r&&i){var a=Q1(r).hoistableScripts,u=s6(i),h=a.get(u);h||(h=r.querySelector(Q7(u)),h||(i=p({src:i,async:!0,type:"module"},o),(o=l9.get(u))&&ra(i,o),h=r.createElement("script"),l1(h),j3(h,"link",i),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},a.set(u,h))}}function Ap(i,o,r,a){var u=(u=m2.current)?Nn(u):null;if(!u)throw Error(s(446));switch(i){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(o=i6(r.href),r=Q1(u).hoistableStyles,a=r.get(o),a||(a={type:"style",instance:null,count:0,state:null},r.set(o,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){i=i6(r.href);var h=Q1(u).hoistableStyles,w=h.get(i);if(w||(u=u.ownerDocument||u,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(i,w),(h=u.querySelector(X7(i)))&&!h._p&&(w.instance=h,w.state.loading=5),l9.has(i)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},l9.set(i,r),h||BF(u,i,r,w.state))),o&&a===null)throw Error(s(528,""));return w}if(o&&a!==null)throw Error(s(529,""));return null;case"script":return o=r.async,r=r.src,typeof r=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=s6(r),r=Q1(u).hoistableScripts,a=r.get(o),a||(a={type:"script",instance:null,count:0,state:null},r.set(o,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,i))}}function i6(i){return'href="'+U3(i)+'"'}function X7(i){return'link[rel="stylesheet"]['+i+"]"}function Sp(i){return p({},i,{"data-precedence":i.precedence,precedence:null})}function BF(i,o,r,a){i.querySelector('link[rel="preload"][as="style"]['+o+"]")?a.loading=1:(o=i.createElement("link"),a.preload=o,o.addEventListener("load",function(){return a.loading|=1}),o.addEventListener("error",function(){return a.loading|=2}),j3(o,"link",r),l1(o),i.head.appendChild(o))}function s6(i){return'[src="'+U3(i)+'"]'}function Q7(i){return"script[async]"+i}function kp(i,o,r){if(o.count++,o.instance===null)switch(o.type){case"style":var a=i.querySelector('style[data-href~="'+U3(r.href)+'"]');if(a)return o.instance=a,l1(a),a;var u=p({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return a=(i.ownerDocument||i).createElement("style"),l1(a),j3(a,"style",u),On(a,r.precedence,i),o.instance=a;case"stylesheet":u=i6(r.href);var h=i.querySelector(X7(u));if(h)return o.state.loading|=4,o.instance=h,l1(h),h;a=Sp(r),(u=l9.get(u))&&la(a,u),h=(i.ownerDocument||i).createElement("link"),l1(h);var w=h;return w._p=new Promise(function(R,z){w.onload=R,w.onerror=z}),j3(h,"link",a),o.state.loading|=4,On(h,r.precedence,i),o.instance=h;case"script":return h=s6(r.src),(u=i.querySelector(Q7(h)))?(o.instance=u,l1(u),u):(a=r,(u=l9.get(h))&&(a=p({},r),ra(a,u)),i=i.ownerDocument||i,u=i.createElement("script"),l1(u),j3(u,"link",a),i.head.appendChild(u),o.instance=u);case"void":return null;default:throw Error(s(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(a=o.instance,o.state.loading|=4,On(a,r.precedence,i));return o.instance}function On(i,o,r){for(var a=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,h=u,w=0;w<a.length;w++){var R=a[w];if(R.dataset.precedence===o)h=R;else if(h!==u)break}h?h.parentNode.insertBefore(i,h.nextSibling):(o=r.nodeType===9?r.head:r,o.insertBefore(i,o.firstChild))}function la(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.title==null&&(i.title=o.title)}function ra(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.integrity==null&&(i.integrity=o.integrity)}var Dn=null;function Zp(i,o,r){if(Dn===null){var a=new Map,u=Dn=new Map;u.set(r,a)}else u=Dn,a=u.get(r),a||(a=new Map,u.set(r,a));if(a.has(i))return a;for(a.set(i,null),r=r.getElementsByTagName(i),u=0;u<r.length;u++){var h=r[u];if(!(h[O2]||h[u3]||i==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var w=h.getAttribute(o)||"";w=i+w;var R=a.get(w);R?R.push(h):a.set(w,[h])}}return a}function Tp(i,o,r){i=i.ownerDocument||i,i.head.insertBefore(r,o==="title"?i.querySelector("head > title"):null)}function UF(i,o,r){if(r===1||o.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return i=o.disabled,typeof o.precedence=="string"&&i==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function Ep(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function HF(i,o,r,a){if(r.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var u=i6(a.href),h=o.querySelector(X7(u));if(h){o=h._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(i.count++,i=Fn.bind(i),o.then(i,i)),r.state.loading|=4,r.instance=h,l1(h);return}h=o.ownerDocument||o,a=Sp(a),(u=l9.get(u))&&la(a,u),h=h.createElement("link"),l1(h);var w=h;w._p=new Promise(function(R,z){w.onload=R,w.onerror=z}),j3(h,"link",a),r.instance=h}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(r,o),(o=r.state.preload)&&(r.state.loading&3)===0&&(i.count++,r=Fn.bind(i),o.addEventListener("load",r),o.addEventListener("error",r))}}var aa=0;function PF(i,o){return i.stylesheets&&i.count===0&&Un(i,i.stylesheets),0<i.count||0<i.imgCount?function(r){var a=setTimeout(function(){if(i.stylesheets&&Un(i,i.stylesheets),i.unsuspend){var h=i.unsuspend;i.unsuspend=null,h()}},6e4+o);0<i.imgBytes&&aa===0&&(aa=62500*MF());var u=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&Un(i,i.stylesheets),i.unsuspend)){var h=i.unsuspend;i.unsuspend=null,h()}},(i.imgBytes>aa?50:800)+o);return i.unsuspend=r,function(){i.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Fn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Un(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var Bn=null;function Un(i,o){i.stylesheets=null,i.unsuspend!==null&&(i.count++,Bn=new Map,o.forEach(WF,i),Bn=null,Fn.call(i))}function WF(i,o){if(!(o.state.loading&4)){var r=Bn.get(i);if(r)var a=r.get(null);else{r=new Map,Bn.set(i,r);for(var u=i.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<u.length;h++){var w=u[h];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(r.set(w.dataset.precedence,w),a=w)}a&&r.set(null,a)}u=o.instance,w=u.getAttribute("data-precedence"),h=r.get(w)||a,h===a&&r.set(null,u),r.set(w,u),this.count++,a=Fn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),h?h.parentNode.insertBefore(u,h.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(u,i.firstChild)),o.state.loading|=4}}var K7={$$typeof:I,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function jF(i,o,r,a,u,h,w,R,z){this.tag=1,this.containerInfo=i,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=t1(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=t1(0),this.hiddenUpdates=t1(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=h,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function Ip(i,o,r,a,u,h,w,R,z,t2,r2,u2){return i=new jF(i,o,r,w,z,t2,r2,u2,R),o=1,h===!0&&(o|=24),h=F4(3,null,null,o),i.current=h,h.stateNode=i,o=Hl(),o.refCount++,i.pooledCache=o,o.refCount++,h.memoizedState={element:a,isDehydrated:r,cache:o},$l(h),i}function zp(i){return i?(i=N8,i):N8}function Np(i,o,r,a,u,h){u=zp(u),a.context===null?a.context=u:a.pendingContext=u,a=P0(o),a.payload={element:r},h=h===void 0?null:h,h!==null&&(a.callback=h),r=W0(i,a,o),r!==null&&(R4(r,i,o),Z7(r,i,o))}function Op(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var r=i.retryLane;i.retryLane=r!==0&&r<o?r:o}}function La(i,o){Op(i,o),(i=i.alternate)&&Op(i,o)}function Dp(i){if(i.tag===13||i.tag===31){var o=F5(i,67108864);o!==null&&R4(o,i,67108864),La(i,67108864)}}function Fp(i){if(i.tag===13||i.tag===31){var o=W4();o=J3(o);var r=F5(i,o);r!==null&&R4(r,i,o),La(i,o)}}var Hn=!0;function $F(i,o,r,a){var u=T.T;T.T=null;var h=j.p;try{j.p=2,ca(i,o,r,a)}finally{j.p=h,T.T=u}}function VF(i,o,r,a){var u=T.T;T.T=null;var h=j.p;try{j.p=8,ca(i,o,r,a)}finally{j.p=h,T.T=u}}function ca(i,o,r,a){if(Hn){var u=Ca(a);if(u===null)Xr(i,o,a,Pn,r),Up(i,a);else if(qF(u,i,o,r,a))a.stopPropagation();else if(Up(i,a),o&4&&-1<GF.indexOf(i)){for(;u!==null;){var h=y2(u);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var w=e1(h.pendingLanes);if(w!==0){var R=h;for(R.pendingLanes|=2,R.entangledLanes|=2;w;){var z=1<<31-x3(w);R.entanglements[1]|=z,w&=~z}F9(h),(O1&6)===0&&(yn=I1()+500,V7(0))}}break;case 31:case 13:R=F5(h,2),R!==null&&R4(R,h,2),bn(),La(h,2)}if(h=Ca(a),h===null&&Xr(i,o,a,Pn,r),h===u)break;u=h}u!==null&&a.stopPropagation()}else Xr(i,o,a,null,r)}}function Ca(i){return i=I3(i),ua(i)}var Pn=null;function ua(i){if(Pn=null,i=x2(i),i!==null){var o=L(i);if(o===null)i=null;else{var r=o.tag;if(r===13){if(i=c(o),i!==null)return i;i=null}else if(r===31){if(i=C(o),i!==null)return i;i=null}else if(r===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Pn=i,null}function Bp(i){switch(i){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(z1()){case i1:return 2;case Y1:return 8;case C3:case C4:return 32;case Q9:return 268435456;default:return 32}default:return 32}}var da=!1,e5=null,t5=null,n5=null,J7=new Map,ee=new Map,i5=[],GF="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Up(i,o){switch(i){case"focusin":case"focusout":e5=null;break;case"dragenter":case"dragleave":t5=null;break;case"mouseover":case"mouseout":n5=null;break;case"pointerover":case"pointerout":J7.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":ee.delete(o.pointerId)}}function te(i,o,r,a,u,h){return i===null||i.nativeEvent!==h?(i={blockedOn:o,domEventName:r,eventSystemFlags:a,nativeEvent:h,targetContainers:[u]},o!==null&&(o=y2(o),o!==null&&Dp(o)),i):(i.eventSystemFlags|=a,o=i.targetContainers,u!==null&&o.indexOf(u)===-1&&o.push(u),i)}function qF(i,o,r,a,u){switch(o){case"focusin":return e5=te(e5,i,o,r,a,u),!0;case"dragenter":return t5=te(t5,i,o,r,a,u),!0;case"mouseover":return n5=te(n5,i,o,r,a,u),!0;case"pointerover":var h=u.pointerId;return J7.set(h,te(J7.get(h)||null,i,o,r,a,u)),!0;case"gotpointercapture":return h=u.pointerId,ee.set(h,te(ee.get(h)||null,i,o,r,a,u)),!0}return!1}function Hp(i){var o=x2(i.target);if(o!==null){var r=L(o);if(r!==null){if(o=r.tag,o===13){if(o=c(r),o!==null){i.blockedOn=o,T5(i.priority,function(){Fp(r)});return}}else if(o===31){if(o=C(r),o!==null){i.blockedOn=o,T5(i.priority,function(){Fp(r)});return}}else if(o===3&&r.stateNode.current.memoizedState.isDehydrated){i.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Wn(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var r=Ca(i.nativeEvent);if(r===null){r=i.nativeEvent;var a=new r.constructor(r.type,r);k1=a,r.target.dispatchEvent(a),k1=null}else return o=y2(r),o!==null&&Dp(o),i.blockedOn=r,!1;o.shift()}return!0}function Pp(i,o,r){Wn(i)&&r.delete(o)}function YF(){da=!1,e5!==null&&Wn(e5)&&(e5=null),t5!==null&&Wn(t5)&&(t5=null),n5!==null&&Wn(n5)&&(n5=null),J7.forEach(Pp),ee.forEach(Pp)}function jn(i,o){i.blockedOn===o&&(i.blockedOn=null,da||(da=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,YF)))}var $n=null;function Wp(i){$n!==i&&($n=i,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){$n===i&&($n=null);for(var o=0;o<i.length;o+=3){var r=i[o],a=i[o+1],u=i[o+2];if(typeof a!="function"){if(ua(a||r)===null)continue;break}var h=y2(r);h!==null&&(i.splice(o,3),o-=3,Cr(h,{pending:!0,data:u,method:r.method,action:a},a,u))}}))}function o6(i){function o(z){return jn(z,i)}e5!==null&&jn(e5,i),t5!==null&&jn(t5,i),n5!==null&&jn(n5,i),J7.forEach(o),ee.forEach(o);for(var r=0;r<i5.length;r++){var a=i5[r];a.blockedOn===i&&(a.blockedOn=null)}for(;0<i5.length&&(r=i5[0],r.blockedOn===null);)Hp(r),r.blockedOn===null&&i5.shift();if(r=(i.ownerDocument||i).$$reactFormReplay,r!=null)for(a=0;a<r.length;a+=3){var u=r[a],h=r[a+1],w=u[B1]||null;if(typeof h=="function")w||Wp(r);else if(w){var R=null;if(h&&h.hasAttribute("formAction")){if(u=h,w=h[B1]||null)R=w.formAction;else if(ua(u)!==null)continue}else R=w.action;typeof R=="function"?r[a+1]=R:(r.splice(a,3),a-=3),Wp(r)}}}function jp(){function i(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(w){return u=w})},focusReset:"manual",scroll:"manual"})}function o(){u!==null&&(u(),u=null),a||setTimeout(r,20)}function r(){if(!a&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(r,100),function(){a=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),u!==null&&(u(),u=null)}}}function ha(i){this._internalRoot=i}Vn.prototype.render=ha.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(s(409));var r=o.current,a=W4();Np(r,a,i,o,null,null)},Vn.prototype.unmount=ha.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;Np(i.current,2,null,i,null,null),bn(),o[h9]=null}};function Vn(i){this._internalRoot=i}Vn.prototype.unstable_scheduleHydration=function(i){if(i){var o=Z5();i={blockedOn:null,target:i,priority:o};for(var r=0;r<i5.length&&o!==0&&o<i5[r].priority;r++);i5.splice(r,0,i),r===0&&Hp(i)}};var $p=e.version;if($p!=="19.2.3")throw Error(s(527,$p,"19.2.3"));j.findDOMNode=function(i){var o=i._reactInternals;if(o===void 0)throw typeof i.render=="function"?Error(s(188)):(i=Object.keys(i).join(","),Error(s(268,i)));return i=f(o),i=i!==null?g(i):null,i=i===null?null:i.stateNode,i};var XF={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gn.isDisabled&&Gn.supportsFiber)try{m4=Gn.inject(XF),p3=Gn}catch{}}return o7.createRoot=function(i,o){if(!l(i))throw Error(s(299));var r=!1,a="",u=Kf,h=Jf,w=eg;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(a=o.identifierPrefix),o.onUncaughtError!==void 0&&(u=o.onUncaughtError),o.onCaughtError!==void 0&&(h=o.onCaughtError),o.onRecoverableError!==void 0&&(w=o.onRecoverableError)),o=Ip(i,1,!1,null,null,r,a,null,u,h,w,jp),i[h9]=o.current,Yr(i),new ha(o)},o7.hydrateRoot=function(i,o,r){if(!l(i))throw Error(s(299));var a=!1,u="",h=Kf,w=Jf,R=eg,z=null;return r!=null&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(h=r.onUncaughtError),r.onCaughtError!==void 0&&(w=r.onCaughtError),r.onRecoverableError!==void 0&&(R=r.onRecoverableError),r.formState!==void 0&&(z=r.formState)),o=Ip(i,1,!0,o,r??null,a,u,z,h,w,R,jp),o.context=zp(null),r=o.current,a=W4(),a=J3(a),u=P0(a),u.callback=null,W0(r,u,a),r=a,o.current.lanes=r,N1(o,r),F9(o),i[h9]=o.current,Yr(i),new Vn(o)},o7.version="19.2.3",o7}var Ud;function DS(){if(Ud)return Ko.exports;Ud=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Ko.exports=OS(),Ko.exports}var FS=DS();const Hd=Xx+8,BS=16,US=16,HS=28,l7=40,Pd=250;function DB(t){return t}function tl(t){const e={};let n=!1;for(const[s,l]of Object.entries(t))if(l!=null)if(n=!0,s==="color")e.fill=String(l);else{const L=s.replace(/([A-Z])/g,"-$1").toLowerCase();e[L]=String(l)}return n?e:void 0}function PS(t,e,n,s){return t.map(l=>{const L=e.getPosition(l.name),c=e.half(l.name),C=l.name.includes(":")&&l.getDisplayName()===l.name;let d,f;if(s&&l.name!==E1){const v=Vx(l.getDisplayName());f=v;const b=C?US:BS,A=l.hasIcon()?HS:0;d=Math.min(Math.max(v+b+A,sc),Pd)}else d=Math.min(c*2-ic,Pd);l.name===E1&&(d=Math.min(d,80));const g=n.getCreationTop(l.name),p=l.name===E1,m=g!=null?Math.max(Hd,g+8):Hd;return{name:l.name,label:l.getDisplayName(),x:L,y:m,width:d,height:l7,isStarter:p,showBottom:g==null&&!p,labelWidth:f,type:l.type,stereotype:l.stereotype,color:l.color,groupId:l.groupId}})}function WS(t,e){return t.map(n=>({participantName:n.name,x:n.x,topY:n.y+n.height,bottomY:e,dashed:!0}))}function jS(t,e){const s=new Map;for(const L of t)if(L.groupId!=null){const c=s.get(L.groupId);c?c.push(L):s.set(L.groupId,[L])}const l=[];for(const[L,c]of s){if(c.length===0)continue;let C=1/0,d=-1/0,f=1/0;for(const b of c){const A=b.x-b.width/2,k=b.x+b.width/2;A<C&&(C=A),k>d&&(d=k),b.y<f&&(f=b.y)}const g=C+-6,p=d-C- -12,m=f-20+.75,v=Math.max(0,e-m+12);l.push({name:String(L),x:g,y:m,width:p,height:v})}return l}function FB(t){return t}const Wd=15;function $S(t,e,n,s,l,L,c=0,C,d,f){var P,Y,n2,o2;const g=t.statNode;if(!g)return null;const p=VS(g);if(!p)return{fragment:{kind:t.fragmentKind,label:t.fragmentLabel||"",labelWidth:t.fragmentLabel?u5(t.fragmentLabel):void 0,x:0,y:e.top,width:n.getWidth(),height:e.height,headerY:e.top+1+c,sections:[],number:t.number,depth:t.depth},comment:C&&f!=null?{x:1,y:f+1+Wd,text:C,style:d,fragmentComment:!0}:void 0};const m=GS(p,t.fragmentSections),v=l.find(f2=>m.includes(f2))||"",b=l.slice().reverse().find(f2=>m.includes(f2))||"",k=new v8(l).getFrame(g),S=M8(k);let N,I;if(v&&b){const f2=n.distance(v,b)+n.half(v)+n.half(b),h2=h5(g).filter(V=>V.from===V.to).map(V=>n.getMessageWidth(V)-n.distance(V.from||E1,b)-n.half(b)),b2=Math.max(0,...h2);N=Math.max(f2,y6)+S.left+S.right+b2,I=n.getPosition(v)-n.half(v)}else N=Math.max(y6,n.getWidth()),I=0;const O=[];if(t.fragmentSections&&t.fragmentSections.length>1){let f2=e.top;for(let c2=0;c2<t.fragmentSections.length;c2++){const h2=t.fragmentSections[c2];if(c2>0){const V=h2.blockNode;if(V){const W=((P=V.stat)==null?void 0:P.call(V))||[];if(W.length>0){const T=jd(W[0]);if(T){const j=s.getStatementCoordinate(T);j&&(f2=j.top-20-8-8-1)}}}}const b2=c2<t.fragmentSections.length-1?0:e.top+e.height-f2;O.push({label:h2.label,y:f2,height:b2,labelWidth:h2.label?u5(h2.label):void 0,innerLabel:/^\[\s*.*\s*\]$/.test(h2.label)?h2.label.slice(1,-1).trim():void 0,innerLabelWidth:/^\[\s*.*\s*\]$/.test(h2.label)?u5(h2.label.slice(1,-1).trim()):void 0,keyword:(()=>{const V=h2.label.indexOf(" ");if(V>0&&!h2.label.startsWith("finally")&&!h2.label.startsWith("["))return h2.label.substring(0,V)})(),keywordWidth:(()=>{const V=h2.label.indexOf(" ");if(V>0&&!h2.label.startsWith("finally")&&!h2.label.startsWith("["))return u5(h2.label.substring(0,V))})(),detail:(()=>{const V=h2.label.indexOf(" ");if(V>0&&!h2.label.startsWith("finally")&&!h2.label.startsWith("["))return h2.label.substring(V+1)})(),detailWidth:(()=>{const V=h2.label.indexOf(" ");if(V>0&&!h2.label.startsWith("finally")&&!h2.label.startsWith("["))return u5(h2.label.substring(V+1))})()})}}if(t.fragmentKind==="par"&&O.length===0){const f2=(n2=(Y=t.fragmentSections)==null?void 0:Y[0])==null?void 0:n2.blockNode,c2=((o2=f2==null?void 0:f2.stat)==null?void 0:o2.call(f2))||[];if(c2.length>1){O.push({label:"",y:e.top,height:0});for(let h2=1;h2<c2.length;h2++){const b2=jd(c2[h2]);if(!b2)continue;const V=s.getStatementCoordinate(b2);if(!V)continue;const W=V.top-1;O.push({label:"",y:W,height:0,contentInsetLeft:S.left+n.half(v)})}}}let B;return C&&f!=null&&(B={x:I+1,y:f+1+Wd,text:C,style:d,fragmentComment:!0}),{fragment:{kind:t.fragmentKind,label:t.fragmentLabel||"",labelWidth:t.fragmentLabel?u5(t.fragmentLabel):void 0,x:I,y:e.top,width:N,height:e.height,headerY:e.top+1+c,sections:O,number:t.number,depth:t.depth},comment:B}}function VS(t){var l,L,c,C;for(const d of["loop","opt","par","critical","section"]){const f=(l=t[d])==null?void 0:l.call(t);if(f)return f}const e=(L=t.alt)==null?void 0:L.call(t);if(e)return e;const n=(c=t.tcf)==null?void 0:c.call(t);if(n)return n;const s=(C=t.ref)==null?void 0:C.call(t);return s||null}function jd(t){return!(t!=null&&t.start)||!(t!=null&&t.stop)?"":`${t.start.start}-${t.stop.stop}`}function GS(t,e){const n=new Set(W9(t));if(e)for(const s of e){if(!s.blockNode)continue;const l=L8(s.blockNode).Names();for(const L of l)n.add(L)}return[...n]}function qS(t){var n;const e=(n=t==null?void 0:t.block)==null?void 0:n.call(t);return e?T9(e,E1,new Map,"",0,null,0):[]}function r7(t){return t.trim()}function T9(t,e,n,s,l,L,c){var g,p,m,v,b,A,k,S,N,I,O,B,P,Y,n2,o2,f2,c2,h2,b2,V,W,T,j,$,l2,g2,Z,F,E,H,K,m2,p2,N2,P2,K2,f1,M1,G1;const C=((g=t==null?void 0:t.stat)==null?void 0:g.call(t))||[],d=[];let f=0;for(const V2 of C){const y1=A6(V2);if(!y1)continue;f++;const i3=c+f,K1=s?`${s}.${i3}`:String(i3),M3=((p=V2.getComment)==null?void 0:p.call(V2))||"",d1=(m=V2.message)==null?void 0:m.call(V2);if(d1){const z1=((v=d1.From)==null?void 0:v.call(d1))||e,i1=((b=d1.Owner)==null?void 0:b.call(d1))||E1,Y1=r7(((A=d1.SignatureText)==null?void 0:A.call(d1))||""),C3=(N=(S=(k=d1.braceBlock)==null?void 0:k.call(d1))==null?void 0:S.block)==null?void 0:N.call(S);if(d.push({key:y1,kind:"sync",from:z1,to:i1,label:Y1,isSelf:z1===i1,hasBlock:!!C3,comment:M3,statNode:V2,senderOccurrenceDepth:n.get(z1)||0,targetHasOccurrence:n.has(i1),targetOccurrenceDepth:n.get(i1)||0,number:K1,depth:l,parentBlockKind:L}),C3){const C4=new Map(n);C4.set(i1,(C4.get(i1)||0)+1),d.push(...T9(C3,i1,C4,K1,l+1,"sync",0))}continue}const G2=(I=V2.asyncMessage)==null?void 0:I.call(V2);if(G2){const z1=((O=G2.From)==null?void 0:O.call(G2))||((B=G2.ProvidedFrom)==null?void 0:B.call(G2))||((P=G2.Origin)==null?void 0:P.call(G2))||e,i1=((Y=G2.Owner)==null?void 0:Y.call(G2))||((f2=(o2=(n2=G2.to)==null?void 0:n2.call(G2))==null?void 0:o2.getFormattedText)==null?void 0:f2.call(o2))||z1,Y1=r7(((b2=(h2=(c2=G2.content)==null?void 0:c2.call(G2))==null?void 0:h2.getText)==null?void 0:b2.call(h2))||((V=G2.SignatureText)==null?void 0:V.call(G2))||"");d.push({key:y1,kind:"async",from:z1,to:i1,label:Y1,isSelf:z1===i1,hasBlock:!1,comment:M3,senderOccurrenceDepth:n.get(z1)||0,targetHasOccurrence:n.has(i1),number:K1,depth:l});continue}const h1=(W=V2.creation)==null?void 0:W.call(V2);if(h1){const z1=((T=h1.From)==null?void 0:T.call(h1))||e,i1=((j=h1.Owner)==null?void 0:j.call(h1))||"",Y1=r7((($=h1.SignatureText)==null?void 0:$.call(h1))||"«create»"),C3=(Z=(g2=(l2=h1.braceBlock)==null?void 0:l2.call(h1))==null?void 0:g2.block)==null?void 0:Z.call(g2);if(d.push({key:y1,kind:"creation",from:z1,to:i1,label:Y1,isSelf:!1,hasBlock:!!C3,comment:M3,statNode:V2,senderOccurrenceDepth:n.get(z1)||0,targetHasOccurrence:n.has(i1),number:K1,depth:l,parentBlockKind:L}),C3){const C4=new Map(n);C4.set(i1,(C4.get(i1)||0)+1),d.push(...T9(C3,i1||e,C4,K1,l+1,"creation",0))}continue}const s1=(F=V2.ret)==null?void 0:F.call(V2);if(s1){const z1=r7(((E=s1.SignatureText)==null?void 0:E.call(s1))||""),i1=(H=s1==null?void 0:s1.asyncMessage)==null?void 0:H.call(s1),Y1=((K=i1==null?void 0:i1.From)==null?void 0:K.call(i1))||((m2=s1==null?void 0:s1.From)==null?void 0:m2.call(s1))||e,C3=((P2=(N2=(p2=i1==null?void 0:i1.to)==null?void 0:p2.call(i1))==null?void 0:N2.getFormattedText)==null?void 0:P2.call(N2))||((K2=s1==null?void 0:s1.ReturnTo)==null?void 0:K2.call(s1))||E1;d.push({key:y1,kind:"return",from:Y1,to:C3,label:z1,isSelf:Y1===C3,hasBlock:!1,comment:M3,senderOccurrenceDepth:n.get(Y1)||0,targetOccurrenceDepth:n.get(C3)||0,number:K1,depth:l,parentBlockKind:L});continue}const K3=(f1=V2.divider)==null?void 0:f1.call(V2);if(K3){const z1=r7(((M1=K3.getFormattedText)==null?void 0:M1.call(K3))||((G1=K3.getText)==null?void 0:G1.call(K3))||"");d.push({key:y1,kind:"divider",from:"",to:"",label:z1,isSelf:!1,hasBlock:!1,senderOccurrenceDepth:0,number:K1,depth:l});continue}const I1=YS(V2);d.push({key:y1,kind:"fragment",from:e,to:"",label:I1.label,isSelf:!1,hasBlock:!1,fragmentKind:I1.fragmentKind,fragmentLabel:I1.label,fragmentSections:I1.sections,comment:M3,statNode:V2,senderOccurrenceDepth:n.get(e)||0,number:K1,depth:l}),XS(V2,e,d,n,K1,l)}return d}function YS(t){var l,L,c,C,d,f,g,p,m,v,b,A,k,S,N,I,O,B,P,Y,n2,o2,f2,c2,h2,b2,V,W,T,j,$,l2,g2,Z,F,E,H,K,m2,p2,N2,P2,K2,f1,M1,G1,V2,y1,i3,K1,M3;for(const d1 of["loop","opt","par","critical","section"]){const G2=(l=t[d1])==null?void 0:l.call(t);if(G2){const h1=(C=(c=(L=G2.parExpr)==null?void 0:L.call(G2))==null?void 0:c.condition)==null?void 0:C.call(c),s1=((d=h1==null?void 0:h1.getFormattedText)==null?void 0:d.call(h1))||"";return{fragmentKind:d1,label:s1,sections:[{label:s1,blockNode:(p=(g=(f=G2.braceBlock)==null?void 0:f.call(G2))==null?void 0:g.block)==null?void 0:p.call(g)}]}}}const e=(m=t.alt)==null?void 0:m.call(t);if(e){const d1=[],G2=(v=e.ifBlock)==null?void 0:v.call(e);G2&&d1.push({label:"Alt",blockNode:(k=(A=(b=G2.braceBlock)==null?void 0:b.call(G2))==null?void 0:A.block)==null?void 0:k.call(A)});for(const I1 of((S=e.elseIfBlock)==null?void 0:S.call(e))||[]){const z1=(O=(I=(N=I1.parExpr)==null?void 0:N.call(I1))==null?void 0:I.condition)==null?void 0:O.call(I),i1=((B=z1==null?void 0:z1.getFormattedText)==null?void 0:B.call(z1))||"";d1.push({label:`[ ${i1} ]`,blockNode:(n2=(Y=(P=I1.braceBlock)==null?void 0:P.call(I1))==null?void 0:Y.block)==null?void 0:n2.call(Y)})}const h1=(o2=e.elseBlock)==null?void 0:o2.call(e);h1&&d1.push({label:"[else]",blockNode:(h2=(c2=(f2=h1.braceBlock)==null?void 0:f2.call(h1))==null?void 0:c2.block)==null?void 0:h2.call(c2)});const s1=(j=(T=(W=(V=(b2=e.ifBlock)==null?void 0:b2.call(e))==null?void 0:V.parExpr)==null?void 0:W.call(V))==null?void 0:T.condition)==null?void 0:j.call(T);return{fragmentKind:"alt",label:(($=s1==null?void 0:s1.getFormattedText)==null?void 0:$.call(s1))||"",sections:d1}}const n=(l2=t.tcf)==null?void 0:l2.call(t);if(n){const d1=[],G2=(g2=n.tryBlock)==null?void 0:g2.call(n);G2&&d1.push({label:"Try",blockNode:(E=(F=(Z=G2.braceBlock)==null?void 0:Z.call(G2))==null?void 0:F.block)==null?void 0:E.call(F)});for(const s1 of((H=n.catchBlock)==null?void 0:H.call(n))||[]){const K3=((P2=(N2=(p2=(m2=(K=s1.invocation)==null?void 0:K.call(s1))==null?void 0:m2.parameters)==null?void 0:p2.call(m2))==null?void 0:N2.getFormattedText)==null?void 0:P2.call(N2))||"";d1.push({label:`catch ${K3}`,blockNode:(M1=(f1=(K2=s1.braceBlock)==null?void 0:K2.call(s1))==null?void 0:f1.block)==null?void 0:M1.call(f1)})}const h1=(G1=n.finallyBlock)==null?void 0:G1.call(n);return h1&&d1.push({label:"finally",blockNode:(i3=(y1=(V2=h1.braceBlock)==null?void 0:V2.call(h1))==null?void 0:y1.block)==null?void 0:i3.call(y1)}),{fragmentKind:"tcf",label:"",sections:d1}}const s=(K1=t.ref)==null?void 0:K1.call(t);return s?{fragmentKind:"ref",label:((M3=s.getFormattedText)==null?void 0:M3.call(s))||"",sections:[]}:{fragmentKind:"loop",label:"",sections:[]}}function zt(t){var e;return(((e=t==null?void 0:t.stat)==null?void 0:e.call(t))||[]).filter(n=>!!A6(n)).length}function XS(t,e,n,s,l,L){var d,f,g,p,m,v,b,A,k,S,N,I,O,B,P,Y,n2,o2,f2,c2,h2,b2,V,W,T,j,$,l2,g2,Z;for(const F of["loop","opt","par","critical","section"]){const E=(d=t[F])==null?void 0:d.call(t);if(E){const H=(p=(g=(f=E.braceBlock)==null?void 0:f.call(E))==null?void 0:g.block)==null?void 0:p.call(g);H&&n.push(...T9(H,e,s,l,L+1,null,0));return}}const c=(m=t.alt)==null?void 0:m.call(t);if(c){const F=(v=c.ifBlock)==null?void 0:v.call(c);let E=0;if(F){const K=(k=(A=(b=F.braceBlock)==null?void 0:b.call(F))==null?void 0:A.block)==null?void 0:k.call(A);K&&(n.push(...T9(K,e,s,l,L+1,null,E)),E+=zt(K))}for(const K of((S=c.elseIfBlock)==null?void 0:S.call(c))||[]){const m2=(O=(I=(N=K.braceBlock)==null?void 0:N.call(K))==null?void 0:I.block)==null?void 0:O.call(I);if(m2){const p2=T9(m2,e,s,l,L+1,null,E);p2.length>0&&(p2[0].sectionReset=!0),n.push(...p2),E+=zt(m2)}}const H=(B=c.elseBlock)==null?void 0:B.call(c);if(H){const K=(n2=(Y=(P=H.braceBlock)==null?void 0:P.call(H))==null?void 0:Y.block)==null?void 0:n2.call(Y);if(K){const m2=T9(K,e,s,l,L+1,null,E);m2.length>0&&(m2[0].sectionReset=!0),n.push(...m2)}}return}const C=(o2=t.tcf)==null?void 0:o2.call(t);if(C){const F=(f2=C.tryBlock)==null?void 0:f2.call(C);let E=0;if(F){const K=(b2=(h2=(c2=F.braceBlock)==null?void 0:c2.call(F))==null?void 0:h2.block)==null?void 0:b2.call(h2);K&&(n.push(...T9(K,e,s,l,L+1,null,E)),E+=zt(K))}for(const K of((V=C.catchBlock)==null?void 0:V.call(C))||[]){const m2=(j=(T=(W=K.braceBlock)==null?void 0:W.call(K))==null?void 0:T.block)==null?void 0:j.call(T);if(m2){const p2=T9(m2,e,s,l,L+1,null,E);p2.length>0&&(p2[0].sectionReset=!0),n.push(...p2),E+=zt(m2)}}const H=($=C.finallyBlock)==null?void 0:$.call(C);if(H){const K=(Z=(g2=(l2=H.braceBlock)==null?void 0:l2.call(H))==null?void 0:g2.block)==null?void 0:Z.call(g2);if(K){const m2=T9(K,e,s,l,L+1,null,E);m2.length>0&&(m2[0].sectionReset=!0),n.push(...m2)}}return}}function QS(t,e,n){var m,v,b,A;const s=new Map,l=[0],L=[0];let c=0;const C=[null],d=[null],f=[!1],g=[0],p=[!1];for(const k of t){const S=k.depth;for(;c>S;){const I=l[c]||0,O=C[c],B=d[c],P=L[c]||0,Y=I-P,n2=Math.max(P-n,0),o2=Y+n2;O&&o2>0&&s.set(`inner:${O}`,o2);const f2=f[c]||!1;O&&f2&&s.set(`mixed:${O}`,1);const c2=p[c]||!1;l.pop(),L.pop(),C.pop(),d.pop(),f.pop(),p.pop(),g.pop(),c--,O&&B==="sync"&&(l[c]+=o2,c2&&(l[c]+=4))}for(;c<S;)c++,l.push(0),L.push(0),C.push(null),d.push(null),f.push(!1),p.push(!1),g.push(0);k.sectionReset&&S<l.length&&(l[S]=0,L[S]=0);let N=0;for(let I=0;I<=S;I++)N+=(l[I]||0)+(g[I]||0);if(s.set(k.key,N),k.kind==="return"&&!k.isSelf){const I=e.getStatementCoordinate(k.key);if(!(I&&I.height>0)){const B=(L[S]||0)===0;l[S]+=n,L[S]+=n,B&&N!==0&&k.parentBlockKind==="sync"&&(g[S]=(g[S]||0)+1)}}else k.kind!=="return"&&S<f.length&&(f[S]=!0);if((k.kind==="sync"||k.kind==="creation")&&k.hasBlock){const I=(v=(m=k.statNode)==null?void 0:m.message)==null?void 0:v.call(m),O=!!((A=(b=I==null?void 0:I.Assignment)==null?void 0:b.call(I))!=null&&A.assignee)&&!k.isSelf;S+1>c?(c=S+1,l.push(0),L.push(0),C.push(k.key),d.push(k.kind),f.push(!1),p.push(O)):(C[S+1]=k.key,d[S+1]=k.kind,l[S+1]=0,L[S+1]=0,f[S+1]=!1,p[S+1]=O)}}for(;c>0;){const k=l[c]||0,S=C[c],N=d[c],I=L[c]||0,O=k-I,B=Math.max(I-n,0),P=O+B;S&&P>0&&s.set(`inner:${S}`,P);const Y=f[c]||!1;S&&Y&&s.set(`mixed:${S}`,1);const n2=p[c]||!1;l.pop(),L.pop(),C.pop(),d.pop(),f.pop(),p.pop(),c--,S&&N==="sync"&&(l[c]+=P,n2&&(l[c]+=4))}return s.set("__totalDebt__",l[0]||0),s}function KS(t,e,n,s,l){var P,Y,n2,o2,f2,c2,h2,b2;const L=qS(t),c=[],C=[],d=[],f=[],g=[],p=[],m=[],v=[];let b=0;const A=e.getWidth(),k=e.orderedParticipantNames(),S=new Map;for(const V of L)if(V.number){const W=V.number.lastIndexOf("."),T=W>=0?V.number.substring(0,W):"",j=parseInt(V.number.substring(W+1),10),$=S.get(T)||0;j>$&&S.set(T,j)}const I=QS(L,n,16);for(const V of L){const W=n.getStatementCoordinate(V.key);if(!W)continue;const T=I.get(V.key)||0;let j;if(V.comment&&(j=new Us(V.comment)),j!=null&&j.text&&V.kind!=="fragment"){let l2=V.from;if(V.kind==="creation"&&V.from&&V.to){const H=e.getPosition(V.from),K=e.getPosition(V.to);H>K&&(l2=V.to)}const g2=l2?e.getPosition(l2):10,Z=15,F=V.senderOccurrenceDepth>=1?$1+1:1,E=j.text.trimStart().startsWith("`")?2:0;v.push({x:g2+F+E,y:W.top+T+Z,text:j.text,style:tl(j.commentStyle)})}const $=j?tl(j.messageStyle):void 0;if(V.kind==="sync"||V.kind==="async"){let l2=e.getPosition(V.from);const g2=e.getPosition(V.to),Z=V.isSelf?30:16,F=j!=null&&j.text?(((P=V.comment)==null?void 0:P.trim().split(`
254
+ `).length)||0)*20:0,E=W.top+T+F+Z-.5;if(V.senderOccurrenceDepth>=1&&!V.isSelf){const m2=$1+(V.senderOccurrenceDepth-1)*$1;l2=l2<g2?l2+m2:l2-m2}const H=V.targetOccurrenceDepth||(V.targetHasOccurrence?1:0),K=H*$1;if(V.isSelf){const m2=V.kind==="async",p2=0,N2=m2?28:R6,P2=m2?44:Z,K2=V.senderOccurrenceDepth>=1?l2+$1+(V.senderOccurrenceDepth-1)*$1:l2;C.push({x:K2,y:W.top+p2+F,width:N2,height:P2,label:V.label,arrowStyle:m2?"open":"solid",number:V.number,style:$})}else{const m2=l2<g2,p2=V.kind==="sync"&&!V.isSelf,N2=V.kind==="async"&&!V.isSelf&&H>0,P2=p2?m2?g2-$1+K:g2+$1+K:N2?m2?g2-K:g2+K:g2;c.push({fromX:l2,toX:P2,y:E,label:V.label,arrowStyle:V.kind==="async"?"open":"solid",isSelf:!1,isReverse:P2<l2,number:V.number,style:$})}if(V.kind==="sync"){const m2=g2-$1,p2=E-1.5;let N2=W.height-Z-F+2;const P2=`inner:${V.key}`,K2=I.get(P2)||0;K2>0&&(N2+=K2);const f1=(n2=(Y=V.statNode)==null?void 0:Y.message)==null?void 0:n2.call(Y),M1=(o2=f1==null?void 0:f1.Assignment)==null?void 0:o2.call(f1);M1!=null&&M1.assignee&&!V.isSelf&&V.hasBlock&&(N2+=4);const G1=p2+N2-2;if(N2>0&&(d.push({x:m2,y:p2,width:R6,height:N2,participantName:V.to}),M1!=null&&M1.assignee&&!V.isSelf)){const V2=l2<g2,y1=V2?g2-$1+K+1:g2+$1+K+1;let i3=l2;V.senderOccurrenceDepth===0?i3+=V2?b6+1:b6:V2&&(i3+=2);const K1=V.number?`${V.number}.${(S.get(V.number)||0)+1}`:void 0;p.push({fromX:y1,toX:i3,y:G1,label:M1.assignee,isReverse:l2<g2,isSelf:!1,number:K1}),b=Math.max(b,G1+46)}}continue}if(V.kind==="creation"){let g2=e.getPosition(V.from);const Z=e.getPosition(V.to);if(V.senderOccurrenceDepth>=1){const p2=$1+(V.senderOccurrenceDepth-1)*$1;g2=g2<Z?g2+p2:g2-p2}const F=s.find(p2=>p2.name===V.to),E=F?F.y+l7/2:W.top+40/2;F&&f.push({participant:F,message:{fromX:g2,toX:Z,y:E,label:V.label,arrowStyle:"open",isSelf:!1,isReverse:Z<g2,number:V.number,style:$}});const H=Z-$1,K=F?F.y+l7-2:W.top+40-2,m2=Math.max(W.top+W.height-K,Qx);if(m2>0){d.push({x:H,y:K,width:R6,height:m2,participantName:V.to});const p2=(c2=(f2=V.statNode)==null?void 0:f2.creation)==null?void 0:c2.call(f2),N2=(h2=p2==null?void 0:p2.Assignment)==null?void 0:h2.call(p2);if(N2!=null&&N2.assignee){const P2=K+m2-2,K2=e.getPosition(V.from),f1=K2<Z,M1=$1,G1=Math.max(V.senderOccurrenceDepth-1,0)*$1,V2=V.senderOccurrenceDepth>=1?K2+G1+(f1?M1+2:-M1):K2,y1=f1?Z-M1+1:Z+M1+1;p.push({fromX:y1,toX:V2,y:P2,label:N2.assignee,isReverse:y1>V2,isSelf:!1,number:V.number?`${V.number}.${(S.get(V.number)||0)+1}`:void 0}),b=Math.max(b,P2+46)}}continue}if(V.kind==="fragment"&&V.fragmentKind){const l2={top:W.top+T,height:W.height},g2=j!=null&&j.text?(((b2=V.comment)==null?void 0:b2.trim().split(`
255
+ `).length)||0)*20:0,Z=$S(V,l2,e,n,k,l,g2,j==null?void 0:j.text,j!=null&&j.commentStyle?tl(j.commentStyle):void 0,W.top+T);Z&&(g.push(Z.fragment),Z.comment&&v.push(Z.comment));continue}if(V.kind==="return"){const l2=e.getPosition(V.from),g2=e.getPosition(V.to),Z=g2<l2,F=V.senderOccurrenceDepth;let E;Z?E=F===0?l2:(F<=1?l2:l2+$1*(F-1))-$1:E=l2+$1*F+1;const H=V.targetOccurrenceDepth||0;let K;Z?K=g2+$1*H:K=H===0?g2:(H<=1?g2:g2+$1*(H-1))-$1,Z&&(K+=b6);const m2=V.parentBlockKind==="sync"&&W.height>0?15:16,p2=W.top+T+m2;p.push({fromX:E,toX:K,y:p2,label:V.label,isReverse:Z,isSelf:V.isSelf,number:V.number}),b=Math.max(b,p2+(62-m2));continue}if(V.kind==="divider"){const l2=V.label.replace(/^=+\s*|\s*=+$/g,"").trim();m.push({y:W.top+T+W.height/2,width:A,label:V.label,labelWidth:u5(l2)});continue}}const O=16;p.sort((V,W)=>V.y-W.y);for(let V=1;V<p.length;V++)p[V].y-p[V-1].y<O&&(p[V]={...p[V],y:p[V-1].y+O});for(let V=0;V<d.length;V++){const W=d[V];let T=0;for(let j=0;j<d.length;j++){if(V===j)continue;const $=d[j];$.participantName===W.participantName&&$.y<=W.y&&$.y+$.height>=W.y+W.height&&T++}T>0&&(d[V]={...W,x:W.x+T*$1})}const B=I.get("__totalDebt__")||0;return{messages:c,selfCalls:C,occurrences:d,creations:f,fragments:g,returns:p,dividers:m,comments:v,totalReturnDebt:B,maxReturnBottom:b}}function JS(t){const{rootContext:e,coordinates:n,verticalCoordinates:s,title:l,measureText:L}=t,c=Ss(e),C=s.getTotalHeight(),d=n.orderedParticipantNames(),g=new v8(d).getFrame(e),p=M8(g),m=PS(c,n,s,L),v=KS(e,n,s,m,L),{messages:b,selfCalls:A,occurrences:k,creations:S,fragments:N,returns:I,dividers:O,comments:B}=v;let P=0,Y=0;for(const E of k)P=Math.max(P,E.y+E.height);for(const E of b)Y=Math.max(Y,E.y);for(const E of A)Y=Math.max(Y,E.y+E.height);for(const E of S)Y=Math.max(Y,E.message.y+l7);for(const E of N)Y=Math.max(Y,E.y+E.height);for(const E of O)Y=Math.max(Y,E.y);const n2=Math.max(C+28,P+13,Y+13,v.maxReturnBottom),o2=n2+l7-28,f2=WS(m,o2),c2=W9(e),h2=n.orderedParticipantNames(),b2=h2.find(E=>c2.includes(E))||"",V=h2.slice().reverse().find(E=>c2.includes(E))||"",W=n.distance(b2,V)+n.half(b2)+n.half(V),j=h5(e).filter(E=>E.from===E.to).map(E=>n.getMessageWidth(E)-n.distance(E.from||E1,V)-n.half(V)),$=Math.max(0,...j);let l2=Math.max(W,y6)+$;if(L){for(const H of b){const K=L(H.label,c5.MessageContent),p2=(H.fromX+H.toX)/2+K/2+10;p2>l2&&(l2=p2)}for(const H of I){const K=L(H.label,c5.MessageContent),p2=(H.fromX+H.toX)/2+K/2+10;p2>l2&&(l2=p2)}for(const H of S){const K=L(H.message.label,c5.MessageContent),p2=(H.message.fromX+H.message.toX)/2+K/2+10;p2>l2&&(l2=p2)}}for(const E of N)E.x-=p.left;for(const E of B)E.fragmentComment&&(E.x-=p.left);const g2=new Map;for(const E of N){let H=0;for(const K of N)K!==E&&K.x<=E.x&&K.y<=E.y&&K.x+K.width>=E.x+E.width&&K.y+K.height>=E.y+E.height&&H++;g2.set(E,H),E.x+=H*Ne}const Z=l2+p.right;for(const E of N){const H=g2.get(E)||0,K=Z-H*Ne,m2=E.x+E.width;m2>=K-20&&m2<K&&(E.width=K-E.x)}const F=jS(m,n2);return{width:l2,height:n2,frameBorderLeft:p.left,frameBorderRight:p.right,title:l,participants:m,lifelines:f2,messages:b,selfCalls:A,occurrences:k,creations:S,fragments:N,dividers:O,returns:I,comments:B,groups:F}}const $d=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
256
256
  <g>
257
257
  <path d="M15.5489 4.19771C15.5489 5.18773 15.1485 6.13721 14.4358 6.83726C13.7231 7.53731 12.7565 7.93058 11.7486 7.93058C10.7407 7.93058 9.77403 7.53731 9.06133 6.83726C8.34863 6.13721 7.94824 5.18773 7.94824 4.19771C7.94824 3.20768 8.34863 2.25822 9.06133 1.55818C9.77403 0.858126 10.7407 0.464844 11.7486 0.464844C12.7565 0.464844 13.7231 0.858126 14.4358 1.55818C15.1485 2.25822 15.5489 3.20768 15.5489 4.19771Z" stroke="currentColor"/>
258
258
  <path d="M6.54883 11.2152L17.2025 11.2073M11.7471 8.06641V19.5806V8.06641ZM11.7471 19.4385L6.79789 23.5738L11.7471 19.4385ZM11.7551 19.4385L17.1864 23.3055L11.7551 19.4385Z" stroke="currentColor"/>
@@ -310,7 +310,7 @@ Error generating stack: `+a.message+`
310
310
  <g id="Icon-Resource/Application-Integration/Res_Amazon-Simple-Queue-Service_Queue_48" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
311
311
  <path d="M37.449,22.261 L37.449,26.221 L35.026,24.207 L37.449,22.261 Z M37.81,29.121 C37.993,29.273 38.22,29.352 38.449,29.352 C38.594,29.352 38.738,29.321 38.874,29.257 C39.224,29.092 39.449,28.74 39.449,28.352 L39.449,20.176 C39.449,19.791 39.228,19.441 38.882,19.275 C38.535,19.108 38.123,19.156 37.823,19.397 L32.819,23.414 C32.585,23.602 32.448,23.885 32.4449503,24.185 C32.442,24.486 32.575,24.771 32.806,24.963 L37.81,29.121 Z M10.527,22.307 L12.951,24.322 L10.527,26.267 L10.527,22.307 Z M9.095,29.253 C9.232,29.32 9.38,29.352 9.527,29.352 C9.751,29.352 9.972,29.277 10.153,29.132 L15.158,25.115 C15.392,24.927 15.529,24.644 15.5320497,24.344 C15.535,24.043 15.402,23.758 15.171,23.566 L10.166,19.407 C9.868,19.16 9.453,19.107 9.102,19.271 C8.752,19.436 8.527,19.788 8.527,20.176 L8.527,28.352 C8.527,28.737 8.748,29.087 9.095,29.253 L9.095,29.253 Z M28.368,34.027 L30.368,34.027 L30.368,14.747 L28.368,14.747 L28.368,34.027 Z M23.121,34.027 L25.121,34.027 L25.121,14.747 L23.121,14.747 L23.121,34.027 Z M17.711,34.027 L19.711,34.027 L19.711,14.747 L17.711,14.747 L17.711,34.027 Z M3.999,35.773 L43.977,35.773 L43.977,13.001 L3.999,13.001 L3.999,35.773 Z M44.977,11 L3,11 C2.447,11 2,11.448 2,12 L2,36.773 C2,37.325 2.447,37.773 3,37.773 L44.977,37.773 C45.53,37.773 45.977,37.325 45.977,36.773 L45.977,12 C45.977,11.448 45.53,11 44.977,11 L44.977,11 Z" id="Amazon-Simple-Notification-Service_Queue" fill="#E7157B"></path>
312
312
  </g>
313
- </svg>`,Xd='<svg id="a2c88306-fa03-4e5b-b192-401f0b77808b" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><defs><linearGradient id="b403aca7-f387-4434-96b4-ae157edc835f" x1="-175.993" y1="-343.723" x2="-175.993" y2="-359.232" gradientTransform="translate(212.573 370.548) scale(1.156 1.029)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fea11b" /><stop offset="0.284" stop-color="#fea51a" /><stop offset="0.547" stop-color="#feb018" /><stop offset="0.8" stop-color="#ffc314" /><stop offset="1" stop-color="#ffd70f" /></linearGradient></defs><title>Icon-compute-29</title><g><path d="M2.37,7.475H3.2a.267.267,0,0,1,.267.267v6.148a.533.533,0,0,1-.533.533H2.1a0,0,0,0,1,0,0V7.741a.267.267,0,0,1,.267-.267Z" transform="translate(12.507 16.705) rotate(134.919)" fill="#50e6ff" /><path d="M2.325,3.6h.833a.267.267,0,0,1,.267.267v6.583a0,0,0,0,1,0,0H2.591a.533.533,0,0,1-.533-.533V3.865A.267.267,0,0,1,2.325,3.6Z" transform="translate(5.759 0.114) rotate(44.919)" fill="#1490df" /></g><g><path d="M14.53,7.475h.833a.533.533,0,0,1,.533.533v6.148a.267.267,0,0,1-.267.267H14.8a.267.267,0,0,1-.267-.267V7.475a0,0,0,0,1,0,0Z" transform="translate(12.223 -7.555) rotate(45.081)" fill="#50e6ff" /><path d="M15.108,3.6h.833a0,0,0,0,1,0,0v6.583a.267.267,0,0,1-.267.267h-.833a.267.267,0,0,1-.267-.267V4.131a.533.533,0,0,1,.533-.533Z" transform="translate(31.022 1.222) rotate(135.081)" fill="#1490df" /></g><path d="M8.459,9.9H4.87a.193.193,0,0,1-.2-.181.166.166,0,0,1,.018-.075L8.991,1.13a.206.206,0,0,1,.186-.106h4.245a.193.193,0,0,1,.2.181.165.165,0,0,1-.035.1L8.534,7.966h4.928a.193.193,0,0,1,.2.181.176.176,0,0,1-.052.122L5.421,16.788c-.077.046-.624.5-.356-.189h0Z" fill="url(#b403aca7-f387-4434-96b4-ae157edc835f)" /></svg>',ok=new Set(["fill","fill-rule","fill-opacity","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","clip-rule","opacity","color","style","preserveAspectRatio"]);function d9(t){var L,c,C,d;const e=(L=t.match(/<svg\b([^>]*)>/i))==null?void 0:L[1],n=(c=t.match(/viewBox="([^"]+)"/i))==null?void 0:c[1],s=(d=(C=t.match(/<svg\b[^>]*>([\s\S]*?)<\/svg>/i))==null?void 0:C[1])==null?void 0:d.trim();if(!e||!n||!s)throw new Error("Invalid raw SVG asset");const l=Array.from(e.matchAll(/([:\w-]+)="([^"]*)"/g),([,f,g])=>({name:f,value:g})).filter(({name:f})=>ok.has(f)).map(({name:f,value:g})=>`${f}="${g}"`).join(" ");return{viewBox:n,attributes:l,content:s}}const lk={actor:d9($d),database:d9(qd),ec2:d9(nl),lambda:d9(sl),azurefunction:d9(Xd),sqs:d9(ll),sns:d9(ol),iam:d9(il),boundary:d9(Vd),control:d9(Gd),entity:d9(Yd)};function Qd(t){if(!t)return;const e=t.toLowerCase();return lk[e]}function R1(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function Nt(t){return Object.entries(t).map(([e,n])=>`${R1(e)}: ${R1(n)}`).join("; ")}const a7=2,Ot=a7/2,A5=24,Kd=4,rk=4,ak=8,Lk=16,Jd=8,ck=16,Ck=2.75,uk="#222";function eh(t){var k;if(t.isStarter)return dk(t);const e=3,n=t.x-t.width/2+Ot,s=t.y+Ot,l=t.width-a7,L=t.height-a7,c=Qd(t.type);let C="",d=t.x;if(c){const S=t.labelWidth??0,N=A5+Kd+Lk+S,I=t.x-N/2,O=I+rk,B=(k=t.type)==null?void 0:k.toLowerCase(),P=t.y+(t.height-A5)/2+(B==="boundary"?Ck:0);d=I+A5+Kd+ak;const[,,Y,n2]=(c.viewBox||"0 0 24 24").split(" ").map(Number),l2=A5/Math.max(Y,n2),f2=c.attributes?` ${c.attributes}`:"";C=`<g class="participant-icon" transform="translate(${O}, ${P}) scale(${l2})"${f2}>
313
+ </svg>`,Xd='<svg id="a2c88306-fa03-4e5b-b192-401f0b77808b" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><defs><linearGradient id="b403aca7-f387-4434-96b4-ae157edc835f" x1="-175.993" y1="-343.723" x2="-175.993" y2="-359.232" gradientTransform="translate(212.573 370.548) scale(1.156 1.029)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fea11b" /><stop offset="0.284" stop-color="#fea51a" /><stop offset="0.547" stop-color="#feb018" /><stop offset="0.8" stop-color="#ffc314" /><stop offset="1" stop-color="#ffd70f" /></linearGradient></defs><title>Icon-compute-29</title><g><path d="M2.37,7.475H3.2a.267.267,0,0,1,.267.267v6.148a.533.533,0,0,1-.533.533H2.1a0,0,0,0,1,0,0V7.741a.267.267,0,0,1,.267-.267Z" transform="translate(12.507 16.705) rotate(134.919)" fill="#50e6ff" /><path d="M2.325,3.6h.833a.267.267,0,0,1,.267.267v6.583a0,0,0,0,1,0,0H2.591a.533.533,0,0,1-.533-.533V3.865A.267.267,0,0,1,2.325,3.6Z" transform="translate(5.759 0.114) rotate(44.919)" fill="#1490df" /></g><g><path d="M14.53,7.475h.833a.533.533,0,0,1,.533.533v6.148a.267.267,0,0,1-.267.267H14.8a.267.267,0,0,1-.267-.267V7.475a0,0,0,0,1,0,0Z" transform="translate(12.223 -7.555) rotate(45.081)" fill="#50e6ff" /><path d="M15.108,3.6h.833a0,0,0,0,1,0,0v6.583a.267.267,0,0,1-.267.267h-.833a.267.267,0,0,1-.267-.267V4.131a.533.533,0,0,1,.533-.533Z" transform="translate(31.022 1.222) rotate(135.081)" fill="#1490df" /></g><path d="M8.459,9.9H4.87a.193.193,0,0,1-.2-.181.166.166,0,0,1,.018-.075L8.991,1.13a.206.206,0,0,1,.186-.106h4.245a.193.193,0,0,1,.2.181.165.165,0,0,1-.035.1L8.534,7.966h4.928a.193.193,0,0,1,.2.181.176.176,0,0,1-.052.122L5.421,16.788c-.077.046-.624.5-.356-.189h0Z" fill="url(#b403aca7-f387-4434-96b4-ae157edc835f)" /></svg>',ok=new Set(["fill","fill-rule","fill-opacity","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","clip-rule","opacity","color","style","preserveAspectRatio"]);function d9(t){var L,c,C,d;const e=(L=t.match(/<svg\b([^>]*)>/i))==null?void 0:L[1],n=(c=t.match(/viewBox="([^"]+)"/i))==null?void 0:c[1],s=(d=(C=t.match(/<svg\b[^>]*>([\s\S]*?)<\/svg>/i))==null?void 0:C[1])==null?void 0:d.trim();if(!e||!n||!s)throw new Error("Invalid raw SVG asset");const l=Array.from(e.matchAll(/([:\w-]+)="([^"]*)"/g),([,f,g])=>({name:f,value:g})).filter(({name:f})=>ok.has(f)).map(({name:f,value:g})=>`${f}="${g}"`).join(" ");return{viewBox:n,attributes:l,content:s}}const lk={actor:d9($d),database:d9(qd),ec2:d9(nl),lambda:d9(sl),azurefunction:d9(Xd),sqs:d9(ll),sns:d9(ol),iam:d9(il),boundary:d9(Vd),control:d9(Gd),entity:d9(Yd)};function Qd(t){if(!t)return;const e=t.toLowerCase();return lk[e]}function R1(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function Nt(t){return Object.entries(t).map(([e,n])=>`${R1(e)}: ${R1(n)}`).join("; ")}const a7=2,Ot=a7/2,A5=24,Kd=4,rk=4,ak=8,Lk=16,Jd=8,ck=16,Ck=2.75,uk="#222";function eh(t){var k;if(t.isStarter)return dk(t);const e=3,n=t.x-t.width/2+Ot,s=t.y+Ot,l=t.width-a7,L=t.height-a7,c=Qd(t.type);let C="",d=t.x;if(c){const S=t.labelWidth??0,N=A5+Kd+Lk+S,I=t.x-N/2,O=I+rk,B=(k=t.type)==null?void 0:k.toLowerCase(),P=t.y+(t.height-A5)/2+(B==="boundary"?Ck:0);d=I+A5+Kd+ak;const[,,Y,n2]=(c.viewBox||"0 0 24 24").split(" ").map(Number),o2=A5/Math.max(Y,n2),f2=c.attributes?` ${c.attributes}`:"";C=`<g class="participant-icon" transform="translate(${O}, ${P}) scale(${o2})"${f2}>
314
314
  ${c.content}
315
315
  </g>`}const f=t.y+t.height/2-.25,g=t.stereotype?f+Jd:f;let p="";if(t.stereotype){const S=c&&t.labelWidth!=null?d+t.labelWidth/2:d,N=c&&t.labelWidth!=null?"middle":c?"start":"middle",I=f-Jd;p=`<text x="${S}" y="${I}" text-anchor="${N}" dominant-baseline="central" class="stereotype-label" font-size="${ck}"${th()}>${R1("«"+t.stereotype+"»")}</text>`}const v=t.labelWidth!=null&&t.name.includes(":")?` textLength="${t.labelWidth}" lengthAdjust="spacing"`:"",{fillStyle:b,textStyle:A}=fk(t.color);return`<g class="participant" data-participant="${R1(t.name)}">
316
316
  <rect x="${n}" y="${s}" width="${l}" height="${L}" rx="${e}" class="participant-box"${b}/>
@@ -424,7 +424,7 @@ Error generating stack: `+a.message+`
424
424
  .comment-text { font-family: Helvetica, Verdana, serif; font-size: 14px; fill: #333; opacity: 0.5; }
425
425
  .seq-number { font-family: Helvetica, Verdana, serif; font-size: 12px; font-weight: 100; fill: #6b7280; }
426
426
  `;function Bk(t,e){var d;const n=qL(t);if(!n)return{svg:"<svg></svg>",innerSvg:"",width:0,height:0,viewBox:"0 0 0 0",geometry:void 0};const s=new rc(n,As),l=new Oc(n),L=(d=n.title)==null?void 0:d.call(n),c=L&&typeof L.content=="function"?L.content():void 0,C=JS({rootContext:n,coordinates:s,verticalCoordinates:l,title:c,measureText:As});return{...Uk(C),geometry:C}}function Uk(t,e){const s=Ok,l=11+t.frameBorderLeft,L=t.width+l+10+t.frameBorderRight+1,c=t.height+20+s-1,C=[];for(const P of t.groups)C.push(Nk(P));for(const P of t.lifelines)C.push(gk(P));const d=new Set(t.creations.map(P=>P.participant.name));for(const P of t.participants)d.has(P.name)||C.push(eh(P));for(const P of t.occurrences)C.push(wk(P));for(const P of t.participants)d.has(P.name)&&C.push(eh(P));for(const P of t.messages)C.push(pk(P));for(const P of t.selfCalls)C.push(mk(P));for(const P of t.creations)C.push(Rk(P));for(const P of t.returns)C.push(Sk(P));for(const P of t.fragments)C.push(Mk(P));for(const P of t.dividers)C.push(Ek(P));for(const P of t.comments)C.push(zk(P));const f=Dk,g=[`<rect class="frame-border-outer" x="0" y="0" width="${L}" height="${c}" rx="${f}" fill="#666"/>`,`<rect class="frame-border-inner" x="1" y="1" width="${L-2}" height="${c-2}" rx="${Math.max(0,f-1)}" fill="#fff"/>`].join(`
427
- `),m=s+6,v=m-.5,b=`<line class="frame-header-line" x1="1" y1="${v}" x2="${L-1}" y2="${v}"/>`,A=t.title?`<text x="5" y="${v/2+.25}" dominant-baseline="central" class="frame-title">${Hk(t.title)}</text>`:"",k=`0 0 ${L} ${c}`,S=`<defs>
427
+ `),m=s+6,v=m-.5,b=`<line class="frame-header-line" x1="1" y1="${v}" x2="${L-1}" y2="${v}"/>`,A=t.title?`<text x="5" y="${v/2}" dominant-baseline="central" class="frame-title">${Hk(t.title)}</text>`:"",k=`0 0 ${L} ${c}`,S=`<defs>
428
428
  <style>${Fk}</style>
429
429
  </defs>`,N=`${g}
430
430
  ${b}