lilact 0.26.16 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/lilact.development.js +236 -337
  2. package/dist/lilact.development.js.map +3 -3
  3. package/dist/lilact.development.min.js +34 -34
  4. package/dist/lilact.development.min.js.map +3 -3
  5. package/dist/lilact.production.min.js +34 -34
  6. package/docs/assets/navigation.js +1 -1
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/accessories.ErrorBoundary.html +8 -8
  9. package/docs/classes/accessories.Suspense.html +7 -7
  10. package/docs/classes/components.Component.html +11 -11
  11. package/docs/classes/components.HTMLComponent.html +11 -11
  12. package/docs/classes/components.RootComponent.html +11 -11
  13. package/docs/functions/components.cloneComponent.html +1 -1
  14. package/docs/functions/components.createComponent.html +1 -1
  15. package/docs/functions/components.createPortal.html +1 -1
  16. package/docs/functions/components.createRoot.html +1 -1
  17. package/docs/functions/components.memo.html +1 -1
  18. package/docs/functions/components.render.html +1 -1
  19. package/docs/functions/errors.globalErrorHandler.html +1 -2
  20. package/docs/functions/errors.scanBlockLabels.html +1 -2
  21. package/docs/functions/errors.traceError.html +1 -3
  22. package/docs/functions/hooks.startTransition.html +1 -1
  23. package/docs/functions/hooks.useActionState.html +1 -1
  24. package/docs/functions/hooks.useDebugValue.html +1 -1
  25. package/docs/functions/hooks.useDeferredValue.html +1 -1
  26. package/docs/functions/hooks.useEffect.html +1 -1
  27. package/docs/functions/hooks.useImperativeHandle.html +1 -1
  28. package/docs/functions/hooks.useInsertionEffect.html +1 -1
  29. package/docs/functions/hooks.useMemo.html +1 -1
  30. package/docs/functions/hooks.useReducer.html +1 -1
  31. package/docs/functions/run.lazy.html +1 -2
  32. package/docs/functions/run.require.html +1 -2
  33. package/docs/functions/run.run.html +1 -2
  34. package/docs/functions/run.runScripts.html +1 -1
  35. package/docs/functions/timers.timeoutPromise.html +3 -3
  36. package/docs/modules/errors.html +1 -1
  37. package/docs/modules/run.html +1 -1
  38. package/docs/static/index.html +1 -1
  39. package/docs/static/lilact.development.js +236 -337
  40. package/docs/static/lilact.development.js.map +3 -3
  41. package/docs/static/lilact.development.min.js +34 -34
  42. package/docs/static/lilact.development.min.js.map +3 -3
  43. package/docs/static/lilact.production.min.js +34 -34
  44. package/docs/variables/components.cloneElement.html +1 -1
  45. package/docs/variables/errors.blocks_info.html +1 -1
  46. package/docs/variables/errors.error.html +1 -1
  47. package/docs/variables/run.required_scripts.html +1 -0
  48. package/examples/index.html +1 -1
  49. package/examples/lilact.development.js +236 -337
  50. package/examples/lilact.development.js.map +3 -3
  51. package/examples/lilact.development.min.js +34 -34
  52. package/examples/lilact.development.min.js.map +3 -3
  53. package/examples/lilact.production.min.js +34 -34
  54. package/package.json +1 -1
  55. package/src/components.jsx +10 -4
  56. package/src/errors.jsx +179 -364
  57. package/src/expscan.js +1 -1
  58. package/src/hooks.jsx +8 -5
  59. package/src/jsx.js +14 -14
  60. package/src/lilact.jsx +1 -1
  61. package/src/run.jsx +119 -157
  62. package/docs/functions/errors.mapLocation.html +0 -1
@@ -54,9 +54,9 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
54
54
  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
55
55
  */
56
56
 
57
- var rr=Object.defineProperty;var So=(e,t,n)=>t in e?rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var z=(e,t)=>{for(var n in t)rr(e,n,{get:t[n],enumerable:!0})};var ee=(e,t,n)=>So(e,typeof t!="symbol"?t+"":t,n);var cn={};z(cn,{__DO_NOT_USE__ActionTypes:()=>ut,applyMiddleware:()=>Io,bindActionCreators:()=>No,combineReducers:()=>Ao,compose:()=>sr,createStore:()=>sn,isAction:()=>Ro,isPlainObject:()=>on,legacy_createStore:()=>$o});function F(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var vo=typeof Symbol=="function"&&Symbol.observable||"@@observable",or=vo,rn=()=>Math.random().toString(36).substring(7).split("").join("."),Co={INIT:`@@redux/INIT${rn()}`,REPLACE:`@@redux/REPLACE${rn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${rn()}`},ut=Co;function on(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function sn(e,t,n){if(typeof e!="function")throw new Error(F(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(F(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(F(1));return n(sn)(e,t)}let r=e,o=t,s=new Map,c=s,a=0,l=!1;function f(){c===s&&(c=new Map,s.forEach((g,x)=>{c.set(x,g)}))}function u(){if(l)throw new Error(F(3));return o}function p(g){if(typeof g!="function")throw new Error(F(4));if(l)throw new Error(F(5));let x=!0;f();let S=a++;return c.set(S,g),function(){if(x){if(l)throw new Error(F(6));x=!1,f(),c.delete(S),s=null}}}function m(g){if(!on(g))throw new Error(F(7));if(typeof g.type=="undefined")throw new Error(F(8));if(typeof g.type!="string")throw new Error(F(17));if(l)throw new Error(F(9));try{l=!0,o=r(o,g)}finally{l=!1}return(s=c).forEach(S=>{S()}),g}function h(g){if(typeof g!="function")throw new Error(F(10));r=g,m({type:ut.REPLACE})}function y(){let g=p;return{subscribe(x){if(typeof x!="object"||x===null)throw new Error(F(11));function S(){let _=x;_.next&&_.next(u())}return S(),{unsubscribe:g(S)}},[or](){return this}}}return m({type:ut.INIT}),{dispatch:m,subscribe:p,getState:u,replaceReducer:h,[or]:y}}function $o(e,t,n){return sn(e,t,n)}function Oo(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:ut.INIT})=="undefined")throw new Error(F(12));if(typeof n(void 0,{type:ut.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(F(13))})}function Ao(e){let t=Object.keys(e),n={};for(let c=0;c<t.length;c++){let a=t[c];typeof e[a]=="function"&&(n[a]=e[a])}let r=Object.keys(n),o,s;try{Oo(n)}catch(c){s=c}return function(a={},l){if(s)throw s;let f=!1,u={};for(let p=0;p<r.length;p++){let m=r[p],h=n[m],y=a[m],d=h(y,l);if(typeof d=="undefined"){let g=l&&l.type;throw new Error(F(14))}u[m]=d,f=f||d!==y}return f=f||r.length!==Object.keys(a).length,f?u:a}}function ir(e,t){return function(...n){return t(e.apply(this,n))}}function No(e,t){if(typeof e=="function")return ir(e,t);if(typeof e!="object"||e===null)throw new Error(F(16));let n={};for(let r in e){let o=e[r];typeof o=="function"&&(n[r]=ir(o,t))}return n}function sr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Io(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(F(15))},c={getState:o.getState,dispatch:(l,...f)=>s(l,...f)},a=e.map(l=>l(c));return s=sr(...a)(o.dispatch),{...o,dispatch:s}}}function Ro(e){return on(e)&&"type"in e&&typeof e.type=="string"}var yt={};z(yt,{cache:()=>si,css:()=>hn,cx:()=>ti,flush:()=>zo,getRegisteredStyles:()=>ri,hydrate:()=>ei,injectGlobal:()=>mt,keyframes:()=>oi,merge:()=>ni,sheet:()=>ii});var Po=!1;function Lo(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function jo(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var cr=(function(){function e(n){var r=this;this._insertTag=function(o){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,s),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!Po:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(jo(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Lo(o);try{s.insertRule(r,s.cssRules.length)}catch(c){}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})();var q="-ms-",lt="-moz-",I="-webkit-",Nt="comm",Ke="rule",Be="decl";var ar="@import";var It="@keyframes";var ur="@layer";var lr=Math.abs,Me=String.fromCharCode,fr=Object.assign;function pr(e,t){return L(e,0)^45?(((t<<2^L(e,0))<<2^L(e,1))<<2^L(e,2))<<2^L(e,3):0}function Rt(e){return e.trim()}function an(e,t){return(e=t.exec(e))?e[0]:e}function N(e,t,n){return e.replace(t,n)}function ft(e,t){return e.indexOf(t)}function L(e,t){return e.charCodeAt(t)|0}function Ae(e,t,n){return e.slice(t,n)}function Y(e){return e.length}function Ve(e){return e.length}function Xe(e,t){return t.push(e),e}function un(e,t){return e.map(t).join("")}var Pt=1,Ye=1,hr=0,G=0,j=0,He="";function pt(e,t,n,r,o,s,c){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:Pt,column:Ye,length:c,return:""}}function Je(e,t){return fr(pt("",null,null,"",null,null,0),e,{length:-e.length},t)}function dr(){return j}function mr(){return j=G>0?L(He,--G):0,Ye--,j===10&&(Ye=1,Pt--),j}function H(){return j=G<hr?L(He,G++):0,Ye++,j===10&&(Ye=1,Pt++),j}function ae(){return L(He,G)}function ht(){return G}function Ze(e,t){return Ae(He,e,t)}function Ge(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Lt(e){return Pt=Ye=1,hr=Y(He=e),G=0,[]}function jt(e){return He="",e}function Qe(e){return Rt(Ze(G-1,ln(e===91?e+2:e===40?e+1:e)))}function yr(e){for(;(j=ae())&&j<33;)H();return Ge(e)>2||Ge(j)>3?"":" "}function gr(e,t){for(;--t&&H()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return Ze(e,ht()+(t<6&&ae()==32&&H()==32))}function ln(e){for(;H();)switch(j){case e:return G;case 34:case 39:e!==34&&e!==39&&ln(j);break;case 40:e===41&&ln(e);break;case 92:H();break}return G}function br(e,t){for(;H()&&e+j!==57;)if(e+j===84&&ae()===47)break;return"/*"+Ze(t,G-1)+"*"+Me(e===47?e:H())}function wr(e){for(;!Ge(ae());)H();return Ze(e,G)}function _r(e){return jt(Dt("",null,null,null,[""],e=Lt(e),0,[0],e))}function Dt(e,t,n,r,o,s,c,a,l){for(var f=0,u=0,p=c,m=0,h=0,y=0,d=1,g=1,x=1,S=0,E="",_=o,$=s,v=r,T=E;g;)switch(y=S,S=H()){case 40:if(y!=108&&L(T,p-1)==58){ft(T+=N(Qe(S),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:T+=Qe(S);break;case 9:case 10:case 13:case 32:T+=yr(y);break;case 92:T+=gr(ht()-1,7);continue;case 47:switch(ae()){case 42:case 47:Xe(Do(br(H(),ht()),t,n),l);break;default:T+="/"}break;case 123*d:a[f++]=Y(T)*x;case 125*d:case 59:case 0:switch(S){case 0:case 125:g=0;case 59+u:x==-1&&(T=N(T,/\f/g,"")),h>0&&Y(T)-p&&Xe(h>32?Er(T+";",r,n,p-1):Er(N(T," ","")+";",r,n,p-2),l);break;case 59:T+=";";default:if(Xe(v=xr(T,t,n,f,u,o,a,E,_=[],$=[],p),s),S===123)if(u===0)Dt(T,t,v,v,_,s,p,a,$);else switch(m===99&&L(T,3)===110?100:m){case 100:case 108:case 109:case 115:Dt(e,v,v,r&&Xe(xr(e,v,v,0,0,o,a,E,o,_=[],p),$),o,$,p,a,r?_:$);break;default:Dt(T,v,v,v,[""],$,0,a,$)}}f=u=h=0,d=x=1,E=T="",p=c;break;case 58:p=1+Y(T),h=y;default:if(d<1){if(S==123)--d;else if(S==125&&d++==0&&mr()==125)continue}switch(T+=Me(S),S*d){case 38:x=u>0?1:(T+="\f",-1);break;case 44:a[f++]=(Y(T)-1)*x,x=1;break;case 64:ae()===45&&(T+=Qe(H())),m=ae(),u=p=Y(E=T+=wr(ht())),S++;break;case 45:y===45&&Y(T)==2&&(d=0)}}return s}function xr(e,t,n,r,o,s,c,a,l,f,u){for(var p=o-1,m=o===0?s:[""],h=Ve(m),y=0,d=0,g=0;y<r;++y)for(var x=0,S=Ae(e,p+1,p=lr(d=c[y])),E=e;x<h;++x)(E=Rt(d>0?m[x]+" "+S:N(S,/&\f/g,m[x])))&&(l[g++]=E);return pt(e,t,n,o===0?Ke:a,l,f,u)}function Do(e,t,n){return pt(e,t,n,Nt,Me(dr()),Ae(e,2,-2),0)}function Er(e,t,n,r){return pt(e,t,n,Be,Ae(e,0,r),Ae(e,r+1,-1),r)}function Ue(e,t){for(var n="",r=Ve(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function kr(e,t,n,r){switch(e.type){case ur:if(e.children.length)break;case ar:case Be:return e.return=e.return||e.value;case Nt:return"";case It:return e.return=e.value+"{"+Ue(e.children,r)+"}";case Ke:e.value=e.props.join(",")}return Y(n=Ue(e.children,r))?e.return=e.value+"{"+n+"}":""}function Tr(e){var t=Ve(e);return function(n,r,o,s){for(var c="",a=0;a<t;a++)c+=e[a](n,r,o,s)||"";return c}}function Sr(e){return function(t){t.root||(t=t.return)&&e(t)}}function vr(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Mo=function(t,n,r){for(var o=0,s=0;o=s,s=ae(),o===38&&s===12&&(n[r]=1),!Ge(s);)H();return Ze(t,G)},Uo=function(t,n){var r=-1,o=44;do switch(Ge(o)){case 0:o===38&&ae()===12&&(n[r]=1),t[r]+=Mo(G-1,n,r);break;case 2:t[r]+=Qe(o);break;case 4:if(o===44){t[++r]=ae()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Me(o)}while(o=H());return t},Fo=function(t,n){return jt(Uo(Lt(t),n))},Cr=new WeakMap,qo=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Cr.get(r))&&!o){Cr.set(t,!0);for(var s=[],c=Fo(n,s),a=r.props,l=0,f=0;l<c.length;l++)for(var u=0;u<a.length;u++,f++)t.props[f]=s[l]?c[l].replace(/&\f/g,a[u]):a[u]+" "+c[l]}}},Wo=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function $r(e,t){switch(pr(e,t)){case 5103:return I+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return I+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return I+e+lt+e+q+e+e;case 6828:case 4268:return I+e+q+e+e;case 6165:return I+e+q+"flex-"+e+e;case 5187:return I+e+N(e,/(\w+).+(:[^]+)/,I+"box-$1$2"+q+"flex-$1$2")+e;case 5443:return I+e+q+"flex-item-"+N(e,/flex-|-self/,"")+e;case 4675:return I+e+q+"flex-line-pack"+N(e,/align-content|flex-|-self/,"")+e;case 5548:return I+e+q+N(e,"shrink","negative")+e;case 5292:return I+e+q+N(e,"basis","preferred-size")+e;case 6060:return I+"box-"+N(e,"-grow","")+I+e+q+N(e,"grow","positive")+e;case 4554:return I+N(e,/([^-])(transform)/g,"$1"+I+"$2")+e;case 6187:return N(N(N(e,/(zoom-|grab)/,I+"$1"),/(image-set)/,I+"$1"),e,"")+e;case 5495:case 3959:return N(e,/(image-set\([^]*)/,I+"$1$`$1");case 4968:return N(N(e,/(.+:)(flex-)?(.*)/,I+"box-pack:$3"+q+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+I+e+e;case 4095:case 3583:case 4068:case 2532:return N(e,/(.+)-inline(.+)/,I+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Y(e)-1-t>6)switch(L(e,t+1)){case 109:if(L(e,t+4)!==45)break;case 102:return N(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+lt+(L(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ft(e,"stretch")?$r(N(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(L(e,t+1)!==115)break;case 6444:switch(L(e,Y(e)-3-(~ft(e,"!important")&&10))){case 107:return N(e,":",":"+I)+e;case 101:return N(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(L(e,14)===45?"inline-":"")+"box$3$1"+I+"$2$3$1"+q+"$2box$3")+e}break;case 5936:switch(L(e,t+11)){case 114:return I+e+q+N(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+q+N(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+q+N(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+q+e+e}return e}var Ko=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Be:t.return=$r(t.value,t.length);break;case It:return Ue([Je(t,{value:N(t.value,"@","@"+I)})],o);case Ke:if(t.length)return un(t.props,function(s){switch(an(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ue([Je(t,{props:[N(s,/:(read-\w+)/,":"+lt+"$1")]})],o);case"::placeholder":return Ue([Je(t,{props:[N(s,/:(plac\w+)/,":"+I+"input-$1")]}),Je(t,{props:[N(s,/:(plac\w+)/,":"+lt+"$1")]}),Je(t,{props:[N(s,/:(plac\w+)/,q+"input-$1")]})],o)}return""})}},Bo=[Ko],Or=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(d){var g=d.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(d),d.setAttribute("data-s",""))})}var o=t.stylisPlugins||Bo,s={},c,a=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(d){for(var g=d.getAttribute("data-emotion").split(" "),x=1;x<g.length;x++)s[g[x]]=!0;a.push(d)});var l,f=[qo,Wo];{var u,p=[kr,Sr(function(d){u.insert(d)})],m=Tr(f.concat(o,p)),h=function(g){return Ue(_r(g),m)};l=function(g,x,S,E){u=S,h(g?g+"{"+x.styles+"}":x.styles),E&&(y.inserted[x.name]=!0)}}var y={key:n,sheet:new cr({key:n,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return y.sheet.hydrate(a),y};function Ar(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Nr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Vo=!1,Xo=/[A-Z]|^ms/g,Yo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Lr=function(t){return t.charCodeAt(1)===45},Ir=function(t){return t!=null&&typeof t!="boolean"},fn=vr(function(e){return Lr(e)?e:e.replace(Xo,"-$&").toLowerCase()}),Rr=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Yo,function(r,o,s){return Ee={name:o,styles:s,next:Ee},o})}return Nr[t]!==1&&!Lr(t)&&typeof n=="number"&&n!==0?n+"px":n},Go="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function dt(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Ee={name:o.name,styles:o.styles,next:Ee},o.name;var s=n;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)Ee={name:c.name,styles:c.styles,next:Ee},c=c.next;var a=s.styles+";";return a}return Ho(e,t,n)}case"function":{if(e!==void 0){var l=Ee,f=n(e);return Ee=l,dt(e,t,f)}break}}var u=n;if(t==null)return u;var p=t[u];return p!==void 0?p:u}function Ho(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=dt(e,t,n[o])+";";else for(var s in n){var c=n[s];if(typeof c!="object"){var a=c;t!=null&&t[a]!==void 0?r+=s+"{"+t[a]+"}":Ir(a)&&(r+=fn(s)+":"+Rr(s,a)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&Vo)throw new Error(Go);if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var l=0;l<c.length;l++)Ir(c[l])&&(r+=fn(s)+":"+Rr(s,c[l])+";");else{var f=dt(e,t,c);switch(s){case"animation":case"animationName":{r+=fn(s)+":"+f+";";break}default:r+=s+"{"+f+"}"}}}}return r}var Pr=/label:\s*([^\s;{]+)\s*(;|$)/g,Ee;function Mt(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Ee=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=dt(n,t,s);else{var c=s;o+=c[0]}for(var a=1;a<e.length;a++)if(o+=dt(n,t,e[a]),r){var l=s;o+=l[a]}Pr.lastIndex=0;for(var f="",u;(u=Pr.exec(o))!==null;)f+="-"+u[1];var p=Ar(o)+f;return{name:p,styles:o,next:Ee}}var Jo=!0;function pn(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var Zo=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Jo===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},jr=function(t,n,r){Zo(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Dr(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function Mr(e,t,n){var r=[],o=pn(e,r,n);return r.length<2?n:o+t(r)}var Ur=function(t){var n=Or(t);n.sheet.speedy=function(a){this.isSpeedy=a},n.compat=!0;var r=function(){for(var l=arguments.length,f=new Array(l),u=0;u<l;u++)f[u]=arguments[u];var p=Mt(f,n.registered,void 0);return jr(n,p,!1),n.key+"-"+p.name},o=function(){for(var l=arguments.length,f=new Array(l),u=0;u<l;u++)f[u]=arguments[u];var p=Mt(f,n.registered),m="animation-"+p.name;return Dr(n,{name:p.name,styles:"@keyframes "+m+"{"+p.styles+"}"}),m},s=function(){for(var l=arguments.length,f=new Array(l),u=0;u<l;u++)f[u]=arguments[u];var p=Mt(f,n.registered);Dr(n,p)},c=function(){for(var l=arguments.length,f=new Array(l),u=0;u<l;u++)f[u]=arguments[u];return Mr(n.registered,r,Qo(f))};return{css:r,cx:c,injectGlobal:s,keyframes:o,hydrate:function(l){l.forEach(function(f){n.inserted[f]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:pn.bind(null,n.registered),merge:Mr.bind(null,n.registered,r)}},Qo=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var c in o)o[c]&&c&&(s&&(s+=" "),s+=c)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n};var _e=Ur({key:"css"}),zo=_e.flush,ei=_e.hydrate,ti=_e.cx,ni=_e.merge,ri=_e.getRegisteredStyles,mt=_e.injectGlobal,oi=_e.keyframes,hn=_e.css,ii=_e.sheet,si=_e.cache;var bn={};z(bn,{Children:()=>Fe,Fragment:()=>Fr,Portal:()=>qr,deepEqual:()=>yn,eval_num:()=>hi,findDOMNode:()=>ai,forwardRef:()=>gn,getComponentByPointer:()=>ui,id_num:()=>pi,isAsync:()=>li,isClass:()=>Ut,isEmpty:()=>K,isError:()=>fi,isThenable:()=>Ft,isValidComponent:()=>tt,isValidElement:()=>ci,shallowEqual:()=>se,toBool:()=>qt});var mn={};z(mn,{ARGS:()=>Et,CALLBACK:()=>xt,CHILD_CLASS_ADDENDUM:()=>de,CLEARED:()=>wt,COMPONENT:()=>ze,CORE:()=>w,DUE:()=>le,IDX:()=>ue,INTERVAL:()=>et,IS_ZOMBIE:()=>dn,LAZY:()=>gt,MEMOIZED:()=>ve,REPEAT:()=>bt,TEXT:()=>W});var[w,ze,W,dn,ue,de,ve,gt,le,bt,wt,et,xt,Et]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:TEXT"),Symbol.for("LILACT:IS_ZOMBIE"),Symbol.for("LILACT:IDX"),Symbol.for("LILACT:CHILD_CLASS_ADDENDUM"),Symbol.for("LILACT:MEMOIZED"),Symbol.for("LILACT:LAZY"),Symbol.for("LILACT:TIMERS:DUE"),Symbol.for("LILACT:TIMERS:REPEAT"),Symbol.for("LILACT:TIMERS:CLEARED"),Symbol.for("LILACT:TIMERS:INTERVAL"),Symbol.for("LILACT:TIMERS:CALLBACK"),Symbol.for("LILACT:TIMERS:ARGS")];var ke=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},tt=e=>e[w]!==void 0||e[TEXT]!==void 0,ci=tt,ai=e=>{var t,n;if(!((n=(t=e[w])==null?void 0:t.element)!=null&&n.parentNode))throw new Error("findDOMNode only works on mounted components.");return e[w].element};function Fr({children:e}){return e}Fr.displayName="Fragment";function qr({children:e,view:t}){return this[w].portal=t,e}qr.displayName="Portal";var Fe={_isNil(e){return e==null},_flattenInto(e,t){if(!this._isNil(t)){if(Array.isArray(t)){for(let n of t)this._flattenInto(e,n);return}e.push(t)}},toArray(e){let t=[];if(!e)return t;for(let n of e)this._flattenInto(t,n);return t},count(e){return this.toArray(e).length},only(e){let t=this.toArray(e);if(t.length!==1)throw new Error(t.length===0?"Expected exactly one child, but received none.":"Expected exactly one child, but received more than one.");return t[0]},map(e,t){let n=this.toArray(e),r=[];for(let o=0;o<n.length;o++)r.push(t(n[o],o));return r},forEach(e,t){let n=this.toArray(e);for(let r=0;r<n.length;r++)t(n[r],r)},find(e,t){let n=this.toArray(e);for(let r=0;r<n.length;r++)if(t(n[r],r))return n[r]},pickOne(e,t){let n=this.toArray(e),r,o=0;for(let s=0;s<n.length&&!(t(n[s],s)&&(o++,r=n[s],o>1));s++);if(o!==1)throw new Error(o===0?"pickOne expected exactly one matching child, but matched none.":"pickOne expected exactly one matching child, but matched multiple.");return r},first(e){return this.toArray(e)[0]},last(e){let t=this.toArray(e);return t.length?t[t.length-1]:void 0}},gn=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function ui(){let e,t=new Promise((r,o)=>{e=r});function n(r){r.stopImmediatePropagation(),window.removeEventListener("click",n,!0);let o=r.target;for(;!o[ze]&&o.parentNode;)o=o.parentNode;return e(o[ze]),!1}return window.addEventListener("click",n,!0),t}function K(e){for(let t in e)return!1;return!0}var se=(e,t,n)=>ke(e)!==ke(t)?!1:ke(e)==="array"?e.length!==t.length?!1:e.every((r,o)=>r===t[o]||o===n):ke(e)==="object"?Object.keys(e).every(r=>e[r]===t[r]||r===n):ke(e)==="date"?e.getTime()===t.getTime():e===t;function yn(e,t){return ke(e)!==ke(t)?!1:ke(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>yn(n,t[r])):ke(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>yn(e[n],t[n])):ke(e)==="date"?e.getTime()===t.getTime():e===t}function Ut(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function li(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function Ft(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function fi(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function qt(e){if(typeof e=="boolean")return e;if(typeof e=="number")return e!==0;if(typeof e=="string"){if(e=e.trim().toLowerCase(),e==="true")return!0;if(e==="false")return!1}return!!e}var pi=Math.floor(Math.random()*1e4),hi=0;function J(e){return e==null}function B(e){return e||"<<anonymous>>"}function di(e){return e&&(e.displayName||e.name)||"Unknown"}function Wr(e){return e==null||e===!1||e===!0||typeof e=="string"||typeof e=="number"||tt(e)?!0:Array.isArray(e)?e.every(Wr):!1}function mi(e){return typeof e=="function"||typeof e=="string"}function me(e){let t=function(r,o,s,c,a,l){let f=r[o];if(J(f)||e(f))return null;let u=e.expectedType||"the correct type",p=f===null?"null":typeof f;return new Error(`Invalid ${c} \`${a}\` of type \`${p}\` supplied to \`${B(s)}\`, expected \`${u}\`.`)};return t.isRequired=function(r,o,s,c,a){let l=r[o];return J(l)?new Error(`The ${c} \`${a}\` is marked as required in \`${B(s)}\`, but its value is \`${l}\`.`):t(r,o,s,c,a)},t}function yi(){let e={};e.any=(function(){let r=function(s,c,a,l,f){return null};return r.isRequired=function(){return null},r})(),e.array=me(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=me(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=me(r=>typeof r=="function"),e.func.expectedType="function",e.number=me(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=me(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=me(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=me(r=>typeof r=="symbol"),e.symbol.expectedType="symbol",e.component=me(r=>tt(r)),e.component.expectedType="component",e.element=me(r=>tt(r)),e.element.expectedType="element",e.node=me(r=>Wr(r)),e.node.expectedType="node",e.elementType=me(r=>mi(r)),e.elementType.expectedType="elementType",e.oneOf=function(o){let s=Array.isArray(o)?o:[],c=function(l,f,u,p,m){let h=l[f];if(J(h))return null;for(let d=0;d<s.length;d++)if(h===s[d])return null;let y=h===null?"null":typeof h;return new Error(`Invalid ${p} \`${m}\` of value \`${String(h)}\` supplied to \`${B(u)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${y}\`).`)};return c.isRequired=function(l,f,u,p,m){return J(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${B(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c},e.oneOfType=function(o){let s=o||[],c=function(l,f,u,p,m){let h=l[f];if(J(h))return null;for(let y=0;y<s.length;y++)if(s[y](l,f,u,p,m)===null)return null;return new Error(`Invalid ${p} \`${m}\` supplied to \`${B(u)}\` (none of the allowed types matched).`)};return c.isRequired=function(l,f,u,p,m){return J(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${B(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c},e.arrayOf=function(o){let s=o,c=function(l,f,u,p,m){let h=l[f];if(J(h))return null;if(!Array.isArray(h))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof h}\` supplied to \`${B(u)}\`, expected an array.`);for(let y=0;y<h.length;y++){let d=`${m}[${y}]`,g=s({[f]:h[y]},f,u,p,d);if(g!==null)return g}return null};return c.isRequired=function(l,f,u,p,m){return J(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${B(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c},e.objectOf=function(o){let s=o,c=function(l,f,u,p,m){let h=l[f];if(J(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof h}\` supplied to \`${B(u)}\`, expected an object.`);let y=Object.keys(h);for(let d=0;d<y.length;d++){let g=y[d],x=`${m}.${g}`,S=s({[f]:h[g]},f,u,p,x);if(S!==null)return S}return null};return c.isRequired=function(l,f,u,p,m){return J(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${B(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c};function t(r,{exact:o}){let s=r?Object.keys(r):[],c=function(l,f,u,p,m){let h=l[f];if(J(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof h}\` supplied to \`${B(u)}\`, expected an object.`);if(o){let d=Object.keys(h);for(let g=0;g<d.length;g++){let x=d[g];if(!Object.prototype.hasOwnProperty.call(r,x)){let S=`${m}.${x}`;return new Error(`Invalid ${p} \`${S}\` supplied to \`${B(u)}\`: extra key \`${x}\` is not allowed by exact().`)}}}for(let d=0;d<s.length;d++){let g=s[d],x=r[g],S=h[g],E=`${m}.${g}`;if(J(S)){let $=x({[f]:S},f,u,p,E);if($!==null)return $;continue}let _=x({[f]:S},f,u,p,E);if(_!==null)return _}return null};return c.isRequired=function(l,f,u,p,m){return J(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${B(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c}e.shape=function(o){return t(o,{exact:!1})},e.exact=function(o){return t(o,{exact:!0})},e.instanceOf=function(o){let s=function(a,l,f,u,p){let m=a[l];return J(m)||m instanceof o?null:new Error(`Invalid ${u} \`${p}\` supplied to \`${B(f)}\`: expected instance of \`${di(o)}\`.`)};return s.isRequired=function(a,l,f,u,p){return J(a[l])?new Error(`The ${u} \`${p}\` is marked as required in \`${B(f)}\`, but its value is \`${a[l]}\`.`):s(a,l,f,u,p)},s};let n=new Set;return e.checkPropTypes=function(o,s,c,a){if(!o)return;let l=o,f=B(a),u=Object.keys(l);for(let p=0;p<u.length;p++){let m=u[p],h=l[m];if(typeof h!="function")continue;let d=h(s||{},m,f,c,m);if(d instanceof Error){let g=`${f}|${c}|${m}|${d.message}`;if(n.has(g))continue;n.add(g),typeof console!="undefined"&&console.error&&console.error(`Warning: Failed prop type: ${d.message}`)}}},e}var nt=yi();var En={};z(En,{Component:()=>Ne,HTMLComponent:()=>kt,RootComponent:()=>Wt,boolean_html_attributes_set:()=>Hr,capture_events_set:()=>Bt,cloneComponent:()=>Xr,cloneElement:()=>ki,createComponent:()=>xn,createElement:()=>vi,createPortal:()=>_i,createRoot:()=>Vr,current_component:()=>Ci,effect_timeout:()=>Li,events_set:()=>Kt,insertion_effects:()=>Ii,layout_effects:()=>Ni,length_css_attributes_set:()=>Gr,memo:()=>Si,passive_effects:()=>Ri,processEffects:()=>Br,render:()=>Ti,roots:()=>Ai,special_attributes:()=>Yr,update_cbs:()=>Oi,update_interval_margin:()=>ji,update_set:()=>$i,update_timeout:()=>Pi});var gi="http://www.w3.org/2000/svg",wn=class{constructor(t){ee(this,"owner");ee(this,"current_map",new Map);ee(this,"new_map",new Map);ee(this,"pick_index",0);this.owner=t}pick(t,n){var s,c;let r,o=this.current_map.get(t);return o&&o.length>o[ue]?(r=o[o[ue]],o[ue]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ue]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ue]=0),r[w]&&((c=(s=r[w]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[ue]).forEach(n=>{n.cleanup?n.cleanup():n.element&&!n.portal&&n.element.parentElement.removeChild(n.element)})}),this.current_map=this.new_map,this.new_map=new Map}},_t=class{constructor(t,n){ee(this,"component");ee(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var o,s,c,a,l,f,u,p,m,h,y;let r=!0;if(this.outlet&&(this!=null&&this[ve])&&se(this.props,t,"children")&&se((o=this.props)==null?void 0:o.children,t==null?void 0:t.children)&&(r=!1),r){if((s=this.entity)!=null&&s.propTypes?nt.checkPropTypes(this.entity.propTypes,this.props,"prop",this.entity.name):(c=this.component)!=null&&c.propTypes&&nt.checkPropTypes(this.component.propTypes,this.props,"prop",this.component.name),typeof n=="function"&&(n=n(this.state)),this.component.constructor.defaultProps&&(t={...this.component.constructor.defaultProps,...t}),((l=(a=this==null?void 0:this.parent)==null?void 0:a.component)!=null&&l.context||(u=(f=this==null?void 0:this.parent)==null?void 0:f.component)!=null&&u.getChildContext)&&(this.context={...this.parent.component.context,...(m=(p=this.parent.component).getChildContext)==null?void 0:m.call(p)},this.component.constructor.contextTypes&&nt.checkPropTypes(this.component.constructor.contextTypes,this.context,"context",this.entity.name)),this.component.shouldComponentUpdate&&!this.component.shouldComponentUpdate(n,t,this.context))return;typeof this.entity=="string"&&(this.element instanceof Element||(this.is_svg||this.container.is_svg?(this.is_svg=!0,this.element=document.createElementNS(gi,this.entity)):this.element=document.createElement(this.entity),t!=null&&t.defaultValue&&(this.element.value=String(t.defaultValue).slice(0,t==null?void 0:t.maxLength)),t!=null&&t.defaultChecked&&(this.element.checked=t.defaultChecked)),this.element[ze]=this.component),t.ref&&(typeof t.ref=="function"?t.ref(this.element||this.component):t.ref.current=this.element||this.component),t!==void 0&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps(t),this.component.componentWillUpdate&&this.component.componentWillUpdate(t,n);let d=this.state,g=this.props;if(this.element&&this.updateElementProps(t),this.props=t,typeof this.next_state=="object")this.state?Object.assign(this.state,n):this.state={...n};else if(this.next_state!==void 0)throw new Error("Component.setState only accepts objects or functions is new state.");if(this.next_state&&delete this.next_state,this.hooks!==void 0){this.hook_index=0,k.current_component=[this,k.current_component];try{this.outlet=this.component.render(t,{current:this.element||this.component})}catch(x){Kr(this,x)}k.current_component=k.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(x){Kr(this,x)}this!=null&&this.portal&&(this.element=this.portal),((y=(h=this.outlet)==null?void 0:h.constructor)==null?void 0:y.name)!=="Array"&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let x=0;x<this.outlet.length;x++){let S=this.outlet[x];if(S==null||typeof S=="boolean")this.outlet.splice(x,1),x--;else if(typeof S=="function"){let E=this.childFunctionHandler(S);this.outlet.splice(x,1,E),x--}else if(S.constructor.name==="Array")this.outlet.splice(x,1,...S),x--;else{let E=wi(this,S);this.outlet[x]=E,E[W]===void 0?(E.container=this.element?this:this.container,E.apply(S.props)):E.element?E[W]!==S[W]&&(E.element.textContent=S[W],E[W]=S[W]):(E.element=document.createTextNode(S[W]),E[W]=S[W])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(g,d,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}}async cleanup(){var t,n,r;try{let o=[];if((t=this.props)!=null&&t.ref&&(typeof this.props.ref=="function"?this.props.ref(null):this.props.current=null),this.component.componentWillUnmount&&this.component.componentWillUnmount(),(n=this==null?void 0:this.element)!=null&&n.parentElement&&!this.portal&&this.element.parentElement.removeChild(this.element),this.outlet!==void 0)for(let s of this.outlet)s.cleanup&&s.cleanup();if(((r=this.props)==null?void 0:r.children)!==void 0)for(let s of this.props.children)s.cleanup&&s.cleanup();if(this.hooks!==void 0)for(let s of this.hooks)s.cleanup&&s.cleanup()}catch(o){throw o}}updateElementProps(t,n=!1){var r,o,s,c,a,l,f;this.entity==="input"?(t!=null&&t.type||(t.type="text"),t.type!==this.element.type&&(this.element.type=t.type),(t==null?void 0:t.value)!==void 0&&(t==null?void 0:t.value)!==this.element.value&&(t.value===void 0&&(t.value=""),this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength))):this.entity==="textarea"?(t==null?void 0:t.value)!==this.element.value&&(this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength)):this.entity==="select"&&(t==null?void 0:t.value)!==this.element.value&&k.setTimeout(()=>this.element.value=String(t.value),0);for(let u in this.props){let p=u.toLowerCase();t.hasOwnProperty(u)||(Kt.has(p)?this.event_detachers[p]():this.element.setAttribute(u,void 0))}for(let u in t){let p=u.toLowerCase();if(!Yr.has(p)&&(t===this.props||!k.defaultIsEqual(t[u],this.props[u])||n))if(Kt.has(p))(r=this.event_detachers)!=null||(this.event_detachers={}),(s=(o=this.event_detachers)[p])==null||s.call(o),this.event_detachers[p]=k.addWrappedEventListener(this.element,p.substring(2),t[u]);else if(Bt.hasOwnProperty(p)){let m=Bt[p];(c=this.event_detachers)!=null||(this.event_detachers={}),(l=(a=this.event_detachers)[p])==null||l.call(a),this.event_detachers[p]=k.addWrappedEventListener(this.element,m.substring(2),t[u],{capture:!0})}else if(u==="style")if(typeof t.style=="string")this.element.style=t.style;else{if((f=this.props)!=null&&f.style)if(typeof this.props.style=="string")this.element.style="";else for(let m in this.props.style)t.style.hasOwnProperty(m)||(this.element.style[m]="");for(let m in t.style)Gr.has(m)&&isFinite(t.style[m])&&(t.style[m]+="px");Object.assign(this.element.style,t.style)}else Hr.has(u)?this.element[u]=qt(t[u]):u==="autoFocus"?this.element.autofocus=qt(t[u]):u==="htmlFor"?this.element.setAttribute("for",t[u]):(p!=="value"||["input","textarea","select"].indexOf(this.entity)===-1)&&this.element.setAttribute(p,t[u])}t!=null&&t.action?this.element.onsubmit=t.action:this.element.onsubmit=void 0,this.updateElementClass(t)}updateElementClass(t=this.props){var r,o;let n=t==null?void 0:t.className;if(n!=null||(n=t!=null&&t.class?t.class:""),(r=this==null?void 0:this.parent)!=null&&r[de]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[de])),n.length>0){n=n.split(/\s+/g);for(let s of Array.from(this.element.classList))n.indexOf(s)===-1&&this.element.classList.remove(s);for(let s of n)s.length>0&&this.element.classList.add(s)}else delete this.element.className}scanZombies(t,n){let r=t.element.childNodes;for(;r[t.insert_index]&&r[t.insert_index][dn]&&r[t.insert_index]!==n;)t.insert_index++}appendElement(t){var n;t.portal||(this.scanZombies(t.container,t.element),(t==null?void 0:t.element.parentNode)===null?(t.container.element.insertBefore(t.element,t.container.element.childNodes[t.container.insert_index]||null),(n=t==null?void 0:t.component)!=null&&n.componentDidMount&&t.component.componentDidMount()):t.container.element.childNodes[t.container.insert_index]!==t.element&&t.container.element.insertBefore(t.element,t.container.element.childNodes[t.container.insert_index]||null),t.container.insert_index++)}arrangeOutlet(){var t;this.insert_index=0;for(let n of this.outlet)n&&(n.element?(n.container=this.element?this:this.container,n.container.appendElement(n)):(n.arrangeOutlet&&n.arrangeOutlet(),n!=null&&n.mounted||(n.mounted=!0,(t=n==null?void 0:n.component)!=null&&t.componentDidMount&&n.component.componentDidMount())))}childFunctionHandler(t){return t(this.state)}},Kr=(e,t)=>{var o,s,c,a;let n=[e];for(;e&&!((o=e.component)!=null&&o.componentDidCatch);)e=e.parent,e&&n.push(e);(s=e==null?void 0:e.component)!=null&&s.componentDidCatch&&(c=e.entity)!=null&&c.getDerivedStateFromError&&e.component.setState(e.entity.getDerivedStateFromError.call(e,t));let r=Array.prototype.map.call(n,l=>`in ${typeof l.component.displayName=="function"?l.component.displayName():l.component.displayName}`).join(`
58
- `);if(t.componentStack=n,t.componentStackLog=r,(a=e==null?void 0:e.component)!=null&&a.componentDidCatch)e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r});else throw t};function bi(e,t){let n=e;if(e[W]===void 0){let r=e.entity,o=!1;if(typeof r=="object")if(r[ve])o=r[ve],r=r.component;else throw new Error("Invalid component.");if(typeof r=="string")n=new kt(r,e.props);else{if(Ut(r)){r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new r(e.props);let s=Object.getOwnPropertyDescriptor(n,"state");s&&typeof s.get!="function"&&typeof s.set!="function"&&(n[w].state=n.state,Object.defineProperty(n,"state",{get(){return this[w].state},set(c){if(this[w].state===void 0)this[w].state=c;else throw new Error("Assigning component state this way is not allowed.")}}))}else if(typeof r=="function")r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new Ne(e.props),n.render=r.bind(n),n[w].hooks=[],n[w].hook_index=0;else throw new Error("Error in constructing component.");n[w].entity=r,e.container&&(n[w].container=e.container)}o&&(n[w][ve]=!0)}return t instanceof _t&&(n[w].parent=t),n}function wi(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new wn(e)),t=e.cache.pick(t[W]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[W]!==void 0||t instanceof _t?t:bi(t,e)[w]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function xi(){clearTimeout(k.effect_timeout);let e=k.update_set,t=k.update_cbs;k.update_set=new Set,k.update_cbs=new Set;for(let n of e)n.apply();for(let n of t)n();Br()}function Br(){let e=k.insertion_effects,t=k.layout_effects,n=k.passive_effects;k.insertion_effects=new Set,k.layout_effects=new Set,k.passive_effects=new Set;for(let r of e)r();for(let r of t)r();requestAnimationFrame(()=>{for(let r of n)r()})}var Ei=(e,t)=>{let n;return t.key!==void 0?n=t.key:t.id!==void 0?n=":i:"+t.id:t.path!==void 0?n=":p:"+t.path:t[W]!==void 0?n=":text:":(typeof e=="string"?n=":t:"+e:e!=null&&e.name?n=e.name:n="::",t.name!==void 0?n=n+":"+t.name:t.path!==void 0&&(n=n+":"+t.path)),n},Ne=class{get state(){return this[w].state}set state(t){if(this[w].state===void 0)this[w].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[w].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[w].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[w].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[w].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[w].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[w].entity)!=null&&t.displayName?(n=this[w].entity)==null?void 0:n.displayName:typeof this[w].entity=="string"?this[w].entity:(Ut(this[w].entity)&&this[w].entity.constructor.name,typeof this[w].entity=="function"?this[w].entity.name:"Component")}constructor(t){this[w]=new _t(this,t)}forceUpdate(t){k.clearTimeout(k.update_timeout),k.update_set.add(this[w].container||this[w]),t&&k.update_cbs.add(t.bind(this)),k.update_timeout=k.setTimeout(xi,k.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[w].last_snapshot=this.getSnapshotBeforeUpdate(this[w].props,this.state)),this[w].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},kt=class extends Ne{constructor(t,n){super(n),this[w].entity=t,t==="svg"&&(this[w].is_svg=!0)}render(){return this[w].props.children}},Wt=class extends kt{constructor(n,r){super(":root:",r);ee(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[w].element=n;for(let o of r.children)o[w]?o[w].container=this[w]:o.container=this[w]}};function xn(e,t={},...n){if(typeof e!="string"&&typeof e!="function"&&(typeof e!="object"||!e[ve]))throw new Error("Invalid entity for createComponent.");for(let r=0;r<n.length;r++){let o=n[r];if(o==null||typeof o=="boolean"){n.splice(r,1),r--;continue}["number","bigint"].indexOf(typeof o)!==-1&&(o=o.toString()),typeof o=="string"?n[r]={[W]:o}:n[r]=o}return t.key=Ei(e,t),t.children=n,{entity:e,props:t,[w]:null}}function Vr(e){let t;return{render(n){if(t)throw new Error("root already rendered!");return t=new Wt(e,{children:[n]}),k.roots.add(t[w]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function _i(e,t){return xn(k.Portal,{view:t},e)}function Xr(e,t,...n){let r={entity:e.entity,props:{...e.props,...t},[w]:null};return n!=null&&n.length&&(r.props.children=n),r}var ki=Xr;function Ti(e,t){if(e[w]&&(e[w].container||e[w].parent))throw new Error("Component is already in use");return Vr(t).render(e)}function Si(e){return typeof e=="object"?e[ve]=!0:e={component:e,[ve]:!0,[w]:null},e}var vi=xn,Ci=[],$i=new Set,Oi=new Set,Ai=new Set,Ni=new Set,Ii=new Set,Ri=new Set,Pi,Li,ji=0,Yr=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Kt=new Set(["onafterprint","onbeforeprint","onbeforeunload","onerror","onhashchange","onload","onmessage","onoffline","ononline","onpagehide","onpageshow","onpopstate","onresize","onstorage","onunload","onblur","onchange","oncontextmenu","onfocus","oninput","oninvalid","onreset","onsearch","onselect","onsubmit","onkeydown","onkeypress","onkeyup","onclick","ondblclick","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onwheel","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","onscroll","oncopy","oncut","onpaste","onabort","oncanplay","oncanplaythrough","oncuechange","ondurationchange","onemptied","onended","onerror","onloadeddata","onloadedmetadata","onloadstart","onpause","onplay","onplaying","onprogress","onratechange","onseeked","onseeking","onstalled","onsuspend","ontimeupdate","onvolumechange","onwaiting","ontoggle","onpointerdown","onpointerup","onpointermove","onpointercancel","onpointerover","onpointerout","onpointerenter","onpointerleave"]),Bt={};for(let e of Kt)Bt[e+"capture"]=e;var Gr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","top","right","bottom","left","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","outlineWidth","fontSize","lineHeight","letterSpacing","wordSpacing","textIndent","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","columnGap","rowGap","gap"]),Hr=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var kn={};z(kn,{createContext:()=>rt,startTransition:()=>Bi,useActionState:()=>Fi,useCallback:()=>ye,useContext:()=>ot,useDebugValue:()=>Ki,useDeferredValue:()=>Wi,useEffect:()=>ne,useHook:()=>ce,useId:()=>Di,useImperativeHandle:()=>_n,useInsertionEffect:()=>Ui,useLayoutEffect:()=>Ie,useLocalStorage:()=>Mi,useMemo:()=>Tt,useReducer:()=>qi,useRef:()=>P,useState:()=>te,useTransition:()=>Jr});function ce(){let e=k.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function te(e){let t=ce();return K(t)&&(typeof e=="function"?t.value=e():t.value=e,t.set_func=function(n,r,o){typeof o=="function"?r.value=o(r.value):r.value=o,n.component.forceUpdate()}.bind(void 0,k.current_component[0],t)),[t.value,t.set_func]}function ye(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Callback dependencies must be an array or omitted.");let n=ce();return!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function rt(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function ot(e){var n;let t=k.current_component[0].parent;for(;t.entity!==e.Provider&&t.parent;)t=t.parent;if(t.parent){let r=(n=t.props)==null?void 0:n.value;return r!=null?r:r=e.default}return e.default}function Di(e="N"){let t=ce();return K(t)&&(t.id=e+k.id_num++),t.id}function Jr(){let e=ce();return K(e)&&(e.count=0,e.func=(async function(t,n,r){n.count===0&&t.component.forceUpdate(),n.count++,await r(),n.count--,n.count===0&&t.component.forceUpdate()}).bind(void 0,k.current_component[0],e)),[e.count!=0,e.func]}function Mi(e,t){let n=ce(),r;try{r=JSON.parse(localStorage[e])}catch(o){}return r===void 0&&(typeof t=="function"&&(t=t()),r=t,localStorage[e]=JSON.stringify(r)),K(n)&&(n.value=r,n.set_func=function(o,s,c){typeof c=="function"&&(c=c(s.value)),c!==s.value&&(localStorage[e]=JSON.stringify(c),s.value=c,o.component.forceUpdate())}.bind(void 0,k.current_component[0],n)),[n.value,n.set_func]}function P(e=null){let t=ce();return K(t)&&(t.current=e),t}async function Ie(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Layout effect dependencies must be an array, object or omitted.");let n=ce();!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&await n.cleanup(),n.deps=t,k.layout_effects.add(async()=>{n.cleanup=await e()}),k.clearTimeout(k.effect_timeout),k.setTimeout(k.processEffects,0))}async function ne(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Effect dependencies must be an array, object or omitted.");let n=ce();!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&await n.cleanup(),n.deps=t,k.passive_effects.add(async()=>{n.cleanup=await e()}),k.clearTimeout(k.effect_timeout),k.setTimeout(k.processEffects,0))}async function Ui(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Insertion effect dependencies must be an array, object, or omitted.");let n=ce();!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&await n.cleanup(),n.deps=t,k.insertion_effects.add(async()=>{n.cleanup=await e()}),k.clearTimeout(k.effect_timeout),k.setTimeout(k.processEffects,0))}function Tt(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Memo dependencies must be an array or omitted.");let n=ce();return!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n.deps=t,n.value=e()),n.value}function Fi(e,t){let n=ce(),[r,o]=Jr();return K(n)&&(n.state=t,n.form_action=s=>(event.preventDefault(),o(async()=>{let c=new FormData(s.target,s.submitter);n.state=await e(n.state,c)},[]),!1)),[n.state,n.form_action,r]}function qi(e,t,n){let r=ce();return K(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(o,s,c){let a=s.reducer(s.state,c);k.defaultIsEqual(a,s.state)||(s.state=a,o.component.forceUpdate())}.bind(void 0,k.current_component[0],r)),[r.state,r.dispatch]}function Wi(e,t){let{useEffect:n,useRef:r,useState:o}=k,[s,c]=o(typeof t!="undefined"?t:e),a=r(e),l=r(null);return n(()=>{if(a.current===e)return;a.current=e,l.current!=null&&(l.current.cancelled=!0,l.current=null);let f={cancelled:!1};return l.current=f,Promise.resolve().then(()=>{f.cancelled||(c(e),l.current=null)}),()=>{l.current&&(l.current.cancelled=!0,l.current=null)}},[e]),s}function _n(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&se(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}function Ki(e,t=n=>n){console.log(t(e))}function Bi(e){e()}var Sn={};z(Sn,{lazy:()=>Yi,require:()=>Qr,required_scripts:()=>qe,run:()=>it,runScripts:()=>Hi});function Vi(e,t){let n=t.startsWith("/"),r=[],o=(n?"":e).split("/").filter(Boolean);for(let s of o)r.push(s);e.endsWith("/")||r.pop();for(let s of t.split("/"))s===""||s==="."||(s===".."?r.length>0&&r.pop():r.push(s));return`${n?"/":""}${r.join("/")}`}function Xi(e,t="Unknown error"){if(e instanceof Error)return e;if(e&&typeof e=="object"){if(e.error instanceof Error)return e.error;let n=new Error(e.message==null?t:String(e.message));e.name&&(n.name=e.name),e.stack&&Object.defineProperty(n,"stack",{value:e.stack,configurable:!0});for(let r of Object.keys(e))r in n||(n[r]=e[r]);return n}return new Error(e==null?t:String(e))}function Zr(e,t){let n=Xi(e);return n.fileName==null&&(n.fileName=t),n}function Tn(e,t){let n=Zr(e,t);return typeof k.traceError=="function"?k.traceError(n,t):(k.error=n,n)}var qe={};function it(jsx,path=`InlineJSX-${++k.eval_num}`,{isInline=!0,isModule=!0}={}){let mappings=[],module={mappings,isInline,isModule,path,code:String(jsx),exports:{}};qe[path]=module;let processed;try{processed=k.transpileJSX(String(jsx),{path,mappings,factory:"createComponent",appendSourcemap:!1,injectTraceLabels:!0,produceCJS:!0,blocks_info:k.blocks_info})}catch(e){let t=Zr(e,path);throw t.sourcePhase="transpile",module.error=t,k.error=t,t}module.processed=processed,processed=`${processed}
59
- //# sourceURL=eval:/${path}`,typeof k.scanBlockLabels=="function"&&k.scanBlockLabels(processed,path);try{globalThis.Lilact=k,globalThis.createComponent=k.createComponent,globalThis.Fragment=k.Fragment;let result=eval(processed);return K(module.exports)?result:module.exports}catch(e){let t=Tn(e,path);throw t.sourcePhase="runtime",module.error=t,t}}function Qr(e){var f,u,p,m,h,y;let t,n,r,o;if(arguments.length===2&&arguments[1]&&typeof arguments[1]=="object"&&(t=arguments[1].forceUpdate,n=arguments[1].checkExport,r=arguments[1].requirer,o=arguments[1].isLazy),(f=k.importObjectPaths)!=null&&f[e])return k.importObjectPaths[e];if(qe[e]&&!t)return qe[e].exports;if(e[0]==="#"){let d=document.getElementById(e.slice(1));if(!d){let g=new Error(`Required element not found (${e})`);throw g.fileName=e,g}return it(d.textContent||"",e)}if(r!=null&&r.path&&(e=Vi(r.path,e)),!!((u=k)!=null&&u[gt])||!!o){k[gt]=!1;let d=(m=(p=k).resolver)==null?void 0:m.call(p,e);return d==null?d=fetch(e).then(g=>{if(!g.ok){let x=new Error(`Unable to load ${e}: HTTP ${g.status}`);throw x.fileName=e,x}return g.text()}):d=Promise.resolve(d),d.then(g=>{if(e.endsWith(".css")){mt(String(g));return}return it(String(g),e,{isInline:!1,isModule:!0})}).then(g=>{var x;return e.endsWith(".css")?g:(x=g==null?void 0:g.default)!=null?x:g}).catch(g=>{throw Tn(g,e)})}let c=(y=(h=k).resolver)==null?void 0:y.call(h,e);if(c!=null){if(e.endsWith(".css")){mt(String(c));return}return it(String(c),e,{isInline:!1,isModule:!0})}let a=new XMLHttpRequest;try{a.open("GET",e,!1),a.send(null)}catch(d){throw Tn(d,e)}if(a.status>=200&&a.status<300){if(e.endsWith(".css")){mt(a.responseText);return}return it(a.responseText,e,{isInline:!1,isModule:!0})}let l=new Error(`Unable to load ${e}: HTTP ${a.status||0}`);throw l.fileName=e,l}function Yi(e){let t="pending",n;k[gt]=!0;try{n=e()}catch(o){t="error",n=o}k.isThenable(n)?n.then(o=>{t="success",n=o},o=>{t="error",n=o}):t!=="error"&&(t="success");function r(o){if(t==="pending"||t==="error")throw n;let s=n;return createComponent(s,{...o})}return r}function Gi(){return Array.from(document.querySelectorAll('script[type="text/jsx"]')).map(e=>({src:e.getAttribute("src"),content:e.textContent||""}))}function Hi(){for(let e of Gi())e.src&&Qr(e.src),e.content&&it(e.content)}var Nn={};z(Nn,{CSSTransition:()=>eo,SwitchTransition:()=>as,Transition:()=>zr,TransitionGroup:()=>us});var $n={};z($n,{animationFramePromise:()=>cs,clearInterval:()=>rs,clearTimeout:()=>fe,grabTimers:()=>os,pauseTimers:()=>es,releaseTimers:()=>is,resetTimers:()=>zi,resumeTimers:()=>ts,setInterval:()=>ns,setTimeout:()=>Le,timeoutPromise:()=>ss});var st,St=-1,re=[],Re=-1,Pe={},Vt=window.setTimeout,Ji=window.setInterval,vt=window.clearTimeout,Zi=window.clearInterval;function Qi(e){let t=0,n=re.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=re[o][le];if(s===e)return[o,re[o]];s<e?t=o+1:n=o-1}let r=[];return r[le]=e,re.splice(t,0,r),[t,r]}function vn(e,t=!1){let[n,r]=Qi(e[le]);return t||(St++,Pe[St]=e,e[ue]=St),r.push(e),re[0][0]===e&&(vt(Re),Re=Vt(Cn,e[et])),St}function Cn(){let e=Date.now(),t=0,n=re[t];for(;n&&n[le]-e<=0;){for(let r of n)r[wt]?delete Pe[r[ue]]:(r[xt](...r[Et]),r[bt]?(r[le]=Date.now()+r[et],vn(r,!0)):delete Pe[r[ue]]);t++,n=re[t]}re.splice(0,t),re.length>0&&(vt(Re),Re=Vt(Cn,re[0][le]-e))}function zi(){vt(Re),st=void 0,St=-1,re=[],Re=-1,Pe={}}function es(){vt(Re),st=Date.now()}function ts(){if(st){if(re.length>0){let e=Date.now();st-=e;for(let t of re)t[le]-=st;Re=Vt(Cn,re[0][le]-e)}st=void 0}}function Le(e,t,...n){return vn({[xt]:e,[et]:t,[le]:Date.now()+t,[bt]:!1,[Et]:n})}function ns(e,t,...n){return vn({[xt]:e,[et]:t,[le]:Date.now()+t,[bt]:!0,[Et]:n})}function fe(e){Pe[e]&&(Pe[e][wt]=!0)}function rs(e){Pe[e]&&(Pe[e][wt]=!0)}function os(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function is(){globalThis.setTimeout=Vt,globalThis.setInterval=Ji,globalThis.clearTimeout=vt,globalThis.clearInterval=Zi}function ss(e=0,t=Lilact){let n,r,o,s=new Promise((c,a)=>{r=c,o=a,n=t.setTimeout(()=>{r()},e)});return s.proceed=()=>{t.clearTimeout(n),r()},s.cancel=()=>{t.clearTimeout(n),o()},s}function cs(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var On="unmounted",Xt="exited",Ct="entering",$t="entered",An="exiting";function zr({in:e,timeout:t=k.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:s,onEntering:c,onEntered:a,onExit:l,onExiting:f,onExited:u,children:p,_classNames:m}){var h,y,d,g,x,S;return(y=(h=this[w]).is_mounted)!=null||(h.is_mounted=!n||e||o),(g=(d=this[w]).is_appeared)!=null||(d.is_appeared=e),(S=(x=this[w]).timer)!=null||(x.timer=null),this[w].childFunctionHandler=E=>E(this[w].mount_state),this[w].mount_state||(this[w].is_mounted||(this[w].mount_state=On),e?this[w].mount_state=o&&!this[w].is_appeared?Ct:$t:this[w].mount_state=Xt),ne(()=>()=>fe(this[w].timer),[]),ne(()=>{!this[w].is_appeared&&o&&this[w].mount_state===Ct&&e&&(s==null||s(),requestAnimationFrame(()=>{c==null||c(!this[w].is_appeared),fe(this[w].timer),this[w].timer=Le(()=>{this[w].mount_state=$t,this.forceUpdate(),this[w].is_appeared=!0,a==null||a(!this[w].is_appeared)},t)}))},[]),ne(()=>{if(e){if(this[w].is_mounted=!0,this[w].mount_state===Ct||this[w].mount_state===$t)return;s==null||s(!this[w].is_appeared),this[w].mount_state=Ct,this.forceUpdate(()=>{c==null||c(!this[w].is_appeared),fe(this[w].timer),this[w].timer=Le(()=>{this[w].mount_state=$t,this.forceUpdate(),this[w].is_appeared=!0,a==null||a()},t)})}else{if(this[w].mount_state===On||this[w].mount_state===An||this[w].mount_state===Xt)return;l==null||l(),this[w].mount_state=An,this.forceUpdate(()=>{f==null||f(),fe(this[w].timer),this[w].timer=Le(()=>{this[w].mount_state=Xt,this.forceUpdate(),u==null||u(),r&&(this[w].is_mounted=!1,this[w].mount_state=On,this.forceUpdate())},t)})}},[e,t]),this[w].is_mounted?(m&&(this[w].mount_state===Ct?this[w].is_appeared?this[w][de]=m.appearActive:this[w][de]=m.enterActive:this[w].mount_state===$t?this[w].is_appeared?this[w][de]=m.appearDone:this[w][de]=m.enterDone:this[w].mount_state===An?this[w][de]=m.exitActive:this[w].mount_state===Xt&&(this[w][de]=m.exitDone)),p):null}function eo({in:e,timeout:t=k.defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:s=!1,children:c,onEnter:a,onEntering:l,onEntered:f,onExit:u,onExiting:p,onExited:m}){return typeof n=="string"&&(n={appear:`${n}-enter ${n}-appear`,appearActive:`${n}-enter-active ${n}-appear-active`,appearDone:`${n}-enter-done ${n}-appear-done`,enter:`${n}-enter`,enterActive:`${n}-enter-active`,enterDone:`${n}-enter-done`,exit:`${n}-exit`,exitActive:`${n}-exit-active`,exitDone:`${n}-exit-done`}),createComponent(zr,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:a,onEntering:l,onEntered:f,onExit:u,onExiting:p,onExited:m,_classNames:n},c)}function as({children:e,activeKey:t,mode:n="out-in",timeout:r=k.defaultTransitionTimeout,classNames:o="switch",mountOnEnter:s=!1,unmountOnExit:c=!1,appear:a=!1,onExited:l,onEnter:f,onExiting:u,onEntered:p,...m}){let h=Tt(()=>Fe.toArray(e),[e]),[y,d]=te(null),[g,x]=te(!1),[S,E]=te(!0),_=P(t),$=P(t),v=P(y);Ie(()=>{$.current=t},[t]),Ie(()=>{v.current=y},[y]),Ie(()=>{let O=_.current;O!==t&&(_.current=t,d(O),n==="out-in"?(E(!1),x(!0)):(E(!0),x(!1)))},[t,n]);let T=O=>(V,U)=>{typeof l=="function"&&l(V,U),O===v.current&&(d(null),n==="out-in"&&(x(!1),E(!0)),n==="in-out"&&x(!1))},C=O=>(V,U)=>{typeof p=="function"&&p(V,U),n==="in-out"&&O===$.current&&v.current!=null&&x(!0)};return createComponent("div",{style:{position:"relative"}},h.map((O,V)=>{var je;let U=((je=O==null?void 0:O.props)==null?void 0:je.key)||V,At=U===t?S:U===y?!g:!1;return createComponent(eo,{...m,key:U,in:At,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:c,appear:a,onEnter:f,onExiting:u,onEntered:C(U),onExited:T(U)},createComponent("div",{style:{position:"absolute",inset:0}},O))}))}function us({children:e}){return e}var In={};z(In,{addWrappedEventListener:()=>ps,createSyntheticEvent:()=>to,releaseSyntheticEvent:()=>no,wrapListener:()=>ro});typeof Element!="undefined"&&!Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1});typeof Event!="undefined"&&!Event.prototype.composedPath&&(Event.prototype.composedPath=function(){for(var e=[],t=this.target;t;)e.push(t),t=t.parentElement;return e.push(window),e});var Yt=[],ls=10,fs=["mouse","pen","touch"];function to(e,t){var r,o,s,c,a,l,f,u,p,m,h,y,d,g,x,S,E,_,$,v,T,C;let n=Yt.length?Yt.pop():{};n.nativeEvent=e,n.type=e.type,n.target=e.target||e.srcElement||null,n.currentTarget=t||e.currentTarget||null,n.timeStamp=e.timeStamp||Date.now(),n.defaultPrevented=!!e.defaultPrevented,n.isPropagationStopped=!1,n.isPersistent=!1,n.bubbles=!!e.bubbles,n.cancelable=!!e.cancelable,n.composed=!!e.composed,n.detail=e.detail,n.relatedTarget=e.relatedTarget||(e.fromElement?e.fromElement:null)||(e.toElement?e.toElement:null)||null,n.altKey=!!e.altKey,n.ctrlKey=!!e.ctrlKey,n.metaKey=!!e.metaKey,n.shiftKey=!!e.shiftKey,n.isDefaultPrevented=()=>n.defaultPrevented,n.preventDefault=()=>{e.preventDefault&&e.preventDefault(),n.defaultPrevented=!0},n.stopPropagation=()=>{e.stopPropagation&&e.stopPropagation(),n.isPropagationStopped=!0},n.persist=()=>{n.isPersistent=!0},n.key=e.key||null,n.code=e.code||null,n.which=(o=(r=e.which)!=null?r:e.keyCode)!=null?o:null,n.button=(s=e.button)!=null?s:null,n.buttons=(c=e.buttons)!=null?c:null,n.pointerId=(a=e.pointerId)!=null?a:null,n.pointerType=(l=e.pointerType)!=null?l:null,n.isPrimary=(f=e.isPrimary)!=null?f:null,n.clientX=(u=e.clientX)!=null?u:0,n.clientY=(p=e.clientY)!=null?p:0,n.screenX=(m=e.screenX)!=null?m:0,n.screenY=(h=e.screenY)!=null?h:0,n.pageX=(y=e.pageX)!=null?y:null,n.pageY=(d=e.pageY)!=null?d:null,n.movementX=(g=e.movementX)!=null?g:0,n.movementY=(x=e.movementY)!=null?x:0,n.pressure=(S=e.pressure)!=null?S:null,n.tiltX=(E=e.tiltX)!=null?E:null,n.tiltY=(_=e.tiltY)!=null?_:null,n.width=($=e.width)!=null?$:null,n.height=(v=e.height)!=null?v:null,n.pointerEventsSupported=fs.includes(n.pointerType);try{let O=n.target;n.value=O&&"value"in O?O.value:void 0,n.checked=O&&"checked"in O?O.checked:void 0,n.selectionStart=O&&"selectionStart"in O?O.selectionStart:void 0,n.selectionEnd=O&&"selectionEnd"in O?O.selectionEnd:void 0}catch(O){n.value=void 0,n.checked=void 0,n.selectionStart=void 0,n.selectionEnd=void 0}return n.touches=e.touches||null,n.targetTouches=e.targetTouches||null,n.changedTouches=e.changedTouches||null,n.path=typeof e.composedPath=="function"?e.composedPath():[n.target],n.repeat=(T=e.repeat)!=null?T:!1,n.location=(C=e.location)!=null?C:0,n}function no(e){e&&!e.isPersistent&&(e.nativeEvent=null,e.type=null,e.target=null,e.currentTarget=null,e.timeStamp=0,e.defaultPrevented=!1,e.isPropagationStopped=!1,e.isPersistent=!1,e.isDefaultPrevented=null,e.preventDefault=null,e.stopPropagation=null,e.persist=null,e.bubbles=!1,e.cancelable=!1,e.composed=!1,e.detail=void 0,e.relatedTarget=null,e.altKey=!1,e.ctrlKey=!1,e.metaKey=!1,e.shiftKey=!1,e.key=null,e.code=null,e.which=null,e.button=null,e.buttons=null,e.pointerId=null,e.pointerType=null,e.isPrimary=null,e.clientX=0,e.clientY=0,e.screenX=0,e.screenY=0,e.pageX=null,e.pageY=null,e.movementX=0,e.movementY=0,e.pressure=null,e.tiltX=null,e.tiltY=null,e.width=null,e.height=null,e.value=void 0,e.checked=void 0,e.selectionStart=void 0,e.selectionEnd=void 0,e.touches=null,e.targetTouches=null,e.changedTouches=null,e.path=null,e.repeat=!1,e.location=0,Yt.length<ls&&Yt.push(e))}function ro(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,c=to(o,s);try{let a=e(c);n&&a===!0&&c.stopPropagation()}finally{no(c)}}}function ps(e,t,n,r={}){let o=ro(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var Rn={};z(Rn,{Provider:()=>hs,combineReducers:()=>ys,connect:()=>ms,useDispatch:()=>ds,useSelector:()=>oo,useStore:()=>Gt});var Ot;function hs({store:e,children:t}){return Ot!=null||(Ot=rt(null)),createComponent(Ot.Provider,{value:e},t)}function Gt(){let e=ot(Ot);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function ds(){return Gt().dispatch}function oo(e,t=(n,r)=>n===r){let n=Gt(),r=P(),o=P(e);o.current=e;let[s,c]=te(()=>e(n.getState()));return r.current=s,ne(()=>{function a(){let f=o.current(n.getState());t(r.current,f)||(r.current=f,c(f))}let l=n.subscribe(a);return a(),l},[n,t]),s}function ms(e,t){let n=!!e;return function(o){function s(c){let a=Gt(),l={dispatch:a.dispatch};if(typeof t=="function")l=t(a.dispatch,c);else if(typeof t=="object"&&t!==null){l={};let p=a.dispatch;for(let m in t){let h=t[m];l[m]=(...y)=>p(h(...y))}}let f={};e&&(f=oo(m=>e(m,c),se)||{});let u={...c,...f,...l};return createComponent(o,{...u})}return s}}function ys(e){let t=Object.keys(e);for(let n of t)if(typeof e[n]!="function")throw new Error(`combineReducers: reducer for key "${n}" is not a function`);return function(r={},o){let s=!1,c={};for(let a of t){let l=e[a],f=r[a],u=l(f,o);c[a]=u,s=s||u!==f}return s?c:r}}var Pn={};z(Pn,{blocks_info:()=>$s,error:()=>Os,globalErrorHandler:()=>vs,mapLocation:()=>ao,scanBlockLabels:()=>Cs,traceError:()=>uo});function gs(e){let t=Number(e);return Number.isFinite(t)?t:null}function io(...e){for(let t of e){let n=gs(t);if(n!==null)return n}return null}function bs(e){if(e instanceof Error)return e;if(e&&typeof e=="object"){if(e.error instanceof Error)return e.error;let t=new Error(e.message==null?String(e):String(e.message));e.name&&(t.name=e.name),e.stack&&(t.stack=e.stack);for(let n of Object.keys(e))n in t||(t[n]=e[n]);return t}return new Error(String(e))}function ws(e){return(e==null?void 0:e.name)==="JSXParserError"}function so(e,{zeroBased:t=!1}={}){let n=io(e==null?void 0:e.lineNumber,e==null?void 0:e.lineno,e==null?void 0:e.line),r=io(e==null?void 0:e.columnNumber,e==null?void 0:e.colno,e==null?void 0:e.column);return n!==null||r!==null?{line:n===null?null:t?n:Math.max(0,n-1),col:r===null?null:t?r:Math.max(0,r-1)}:null}function xs(e){let t=typeof e=="string"?e:"",n=/(?:^|[\s(@])((?:eval:\/)[\s\S]*):(\d+):(\d+)(?:\)?$)/;for(let r of t.split(/\r?\n/)){let o=r.trim().match(n);if(o)return{url:o[1],line:Number(o[2]),col:Number(o[3])}}return null}function Es(e){return typeof e!="string"?null:e.startsWith("eval:/")?e.slice(6):e.startsWith("eval:")?e.slice(5).replace(/^\/+/,""):null}function ao(e,t,n){if(!Array.isArray(e)||e.length===0)return{line:t,col:n};let r=Number(t),o=Number(n);if(!Number.isFinite(r)||!Number.isFinite(o))return{line:null,col:null};let s=e.filter(h=>Array.isArray(h)&&h.length>=4&&Number.isFinite(Number(h[0]))&&Number.isFinite(Number(h[1]))&&Number.isFinite(Number(h[2]))&&Number.isFinite(Number(h[3]))).slice().sort((h,y)=>{let d=Number(h[0])-Number(y[0]);return d!==0?d:Number(h[1])-Number(y[1])});if(s.length===0)return{line:r,col:o};let c=s[0];for(let h of s){let y=Number(h[0]),d=Number(h[1]);if(y<r||y===r&&d<=o){c=h;continue}break}let a=Number(c[0]),l=Number(c[1]),f=Number(c[2]),u=Number(c[3]),p=f+(r-a),m=r===a?Math.max(0,u+(o-l)):u;return{line:p,col:m}}function _s(e){let t=e==null?void 0:e.lilact_trace;return Array.isArray(t)?t[0]:t}function ks(e){var n,r,o;let t=_s(e);return t==null?null:(o=(r=(n=k.blocks_info)==null?void 0:n.labels)==null?void 0:r[t])!=null?o:null}function Ts(e,t,n){let r=ks(e);return r&&(r.path?t.fileName=r.path:t.fileName||(t.fileName=n),Number.isFinite(r.line)&&Number.isFinite(r.col)&&(t.lineNumber=r.line,t.columnNumber=r.col),r.desc&&(t.label=r.desc)),t}function co(e,t){if(!(!e||typeof e!="object"))for(let n of["fileName","lineNumber","columnNumber","lineno","colno","line","column","componentStackLog","lilact_trace"])e[n]!==void 0&&t[n]===void 0&&(t[n]=e[n])}function uo(e,t){var a,l;if(e!=null&&e.isTraced)return e;let n=(e==null?void 0:e.error)instanceof Error?e.error:bs(e),r=ws(n),o=r?null:xs(n.stack),s=r?so(n,{zeroBased:!0}):so(n),c={fileName:Es(o==null?void 0:o.url)||n.fileName||t||null,lineNumber:(o==null?void 0:o.line)!=null?Math.max(0,o.line-1):(a=s==null?void 0:s.line)!=null?a:null,columnNumber:(o==null?void 0:o.col)!=null?Math.max(0,o.col-1):(l=s==null?void 0:s.col)!=null?l:null,message:n.message==null?String(n):String(n.message),name:n.name||"Error",stack:n.stack||null,_error:n,isTraced:!0};if(co(e,c),co(n,c),!r&&(o!=null&&o.url)){let f=qe[c.fileName];if(f!=null&&f.mappings){let u=ao(f.mappings,c.lineNumber,c.columnNumber);c.lineNumber=u.line,c.columnNumber=u.col}}return!r&&!(o!=null&&o.url)&&Ts(n,c,t),k.error=c,c}function Ht(e){return String(e!=null?e:"").replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#39;")}function Ss(e,t){var c,a,l,f;if(!e||!Number.isFinite(t))return null;let n=String((c=e.code)!=null?c:"").split(/\r?\n/),r=(a=n[t-1])!=null?a:"",o=(l=n[t])!=null?l:"",s=(f=n[t+1])!=null?f:"";return{before:r,current:o,after:s}}function vs(e){var p,m;let t=(e==null?void 0:e.error)instanceof Error?e.error:(e==null?void 0:e.reason)!==void 0?e.reason:e,n=(e==null?void 0:e.fileName)||null,r=uo(t,n),o=qe[r.fileName],s=Ss(o,r.lineNumber),c=hn(`
57
+ var or=Object.defineProperty;var ko=(e,t,n)=>t in e?or(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Q=(e,t)=>{for(var n in t)or(e,n,{get:t[n],enumerable:!0})};var ee=(e,t,n)=>ko(e,typeof t!="symbol"?t+"":t,n);var un={};Q(un,{__DO_NOT_USE__ActionTypes:()=>lt,applyMiddleware:()=>Ao,bindActionCreators:()=>Oo,combineReducers:()=>$o,compose:()=>cr,createStore:()=>an,isAction:()=>Io,isPlainObject:()=>cn,legacy_createStore:()=>So});function q(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var To=typeof Symbol=="function"&&Symbol.observable||"@@observable",ir=To,sn=()=>Math.random().toString(36).substring(7).split("").join("."),vo={INIT:`@@redux/INIT${sn()}`,REPLACE:`@@redux/REPLACE${sn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${sn()}`},lt=vo;function cn(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function an(e,t,n){if(typeof e!="function")throw new Error(q(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(q(1));return n(an)(e,t)}let r=e,o=t,s=new Map,c=s,a=0,f=!1;function l(){c===s&&(c=new Map,s.forEach((w,x)=>{c.set(x,w)}))}function u(){if(f)throw new Error(q(3));return o}function p(w){if(typeof w!="function")throw new Error(q(4));if(f)throw new Error(q(5));let x=!0;l();let v=a++;return c.set(v,w),function(){if(x){if(f)throw new Error(q(6));x=!1,l(),c.delete(v),s=null}}}function h(w){if(!cn(w))throw new Error(q(7));if(typeof w.type=="undefined")throw new Error(q(8));if(typeof w.type!="string")throw new Error(q(17));if(f)throw new Error(q(9));try{f=!0,o=r(o,w)}finally{f=!1}return(s=c).forEach(v=>{v()}),w}function d(w){if(typeof w!="function")throw new Error(q(10));r=w,h({type:lt.REPLACE})}function y(){let w=p;return{subscribe(x){if(typeof x!="object"||x===null)throw new Error(q(11));function v(){let E=x;E.next&&E.next(u())}return v(),{unsubscribe:w(v)}},[ir](){return this}}}return h({type:lt.INIT}),{dispatch:h,subscribe:p,getState:u,replaceReducer:d,[ir]:y}}function So(e,t,n){return an(e,t,n)}function Co(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:lt.INIT})=="undefined")throw new Error(q(12));if(typeof n(void 0,{type:lt.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(q(13))})}function $o(e){let t=Object.keys(e),n={};for(let c=0;c<t.length;c++){let a=t[c];typeof e[a]=="function"&&(n[a]=e[a])}let r=Object.keys(n),o,s;try{Co(n)}catch(c){s=c}return function(a={},f){if(s)throw s;let l=!1,u={};for(let p=0;p<r.length;p++){let h=r[p],d=n[h],y=a[h],m=d(y,f);if(typeof m=="undefined"){let w=f&&f.type;throw new Error(q(14))}u[h]=m,l=l||m!==y}return l=l||r.length!==Object.keys(a).length,l?u:a}}function sr(e,t){return function(...n){return t(e.apply(this,n))}}function Oo(e,t){if(typeof e=="function")return sr(e,t);if(typeof e!="object"||e===null)throw new Error(q(16));let n={};for(let r in e){let o=e[r];typeof o=="function"&&(n[r]=sr(o,t))}return n}function cr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Ao(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(q(15))},c={getState:o.getState,dispatch:(f,...l)=>s(f,...l)},a=e.map(f=>f(c));return s=cr(...a)(o.dispatch),{...o,dispatch:s}}}function Io(e){return cn(e)&&"type"in e&&typeof e.type=="string"}var gt={};Q(gt,{cache:()=>oi,css:()=>mn,cx:()=>Qo,flush:()=>Zo,getRegisteredStyles:()=>ti,hydrate:()=>zo,injectGlobal:()=>yt,keyframes:()=>ni,merge:()=>ei,sheet:()=>ri});var Lo=!1;function Ro(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function No(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var ar=(function(){function e(n){var r=this;this._insertTag=function(o){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,s),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!Lo:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(No(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Ro(o);try{s.insertRule(r,s.cssRules.length)}catch(c){}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})();var F="-ms-",ft="-moz-",L="-webkit-",Lt="comm",We="rule",Be="decl";var ur="@import";var Rt="@keyframes";var lr="@layer";var fr=Math.abs,Ue=String.fromCharCode,pr=Object.assign;function hr(e,t){return P(e,0)^45?(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3):0}function Nt(e){return e.trim()}function ln(e,t){return(e=t.exec(e))?e[0]:e}function I(e,t,n){return e.replace(t,n)}function pt(e,t){return e.indexOf(t)}function P(e,t){return e.charCodeAt(t)|0}function Ie(e,t,n){return e.slice(t,n)}function Y(e){return e.length}function Ve(e){return e.length}function Xe(e,t){return t.push(e),e}function fn(e,t){return e.map(t).join("")}var Pt=1,Ye=1,dr=0,G=0,j=0,He="";function ht(e,t,n,r,o,s,c){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:Pt,column:Ye,length:c,return:""}}function Je(e,t){return pr(ht("",null,null,"",null,null,0),e,{length:-e.length},t)}function mr(){return j}function yr(){return j=G>0?P(He,--G):0,Ye--,j===10&&(Ye=1,Pt--),j}function H(){return j=G<dr?P(He,G++):0,Ye++,j===10&&(Ye=1,Pt++),j}function ae(){return P(He,G)}function dt(){return G}function Ze(e,t){return Ie(He,e,t)}function Ge(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function jt(e){return Pt=Ye=1,dr=Y(He=e),G=0,[]}function Dt(e){return He="",e}function ze(e){return Nt(Ze(G-1,pn(e===91?e+2:e===40?e+1:e)))}function gr(e){for(;(j=ae())&&j<33;)H();return Ge(e)>2||Ge(j)>3?"":" "}function br(e,t){for(;--t&&H()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return Ze(e,dt()+(t<6&&ae()==32&&H()==32))}function pn(e){for(;H();)switch(j){case e:return G;case 34:case 39:e!==34&&e!==39&&pn(j);break;case 40:e===41&&pn(e);break;case 92:H();break}return G}function wr(e,t){for(;H()&&e+j!==57;)if(e+j===84&&ae()===47)break;return"/*"+Ze(t,G-1)+"*"+Ue(e===47?e:H())}function xr(e){for(;!Ge(ae());)H();return Ze(e,G)}function kr(e){return Dt(Mt("",null,null,null,[""],e=jt(e),0,[0],e))}function Mt(e,t,n,r,o,s,c,a,f){for(var l=0,u=0,p=c,h=0,d=0,y=0,m=1,w=1,x=1,v=0,_="",E=o,$=s,S=r,T=_;w;)switch(y=v,v=H()){case 40:if(y!=108&&P(T,p-1)==58){pt(T+=I(ze(v),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:T+=ze(v);break;case 9:case 10:case 13:case 32:T+=gr(y);break;case 92:T+=br(dt()-1,7);continue;case 47:switch(ae()){case 42:case 47:Xe(Po(wr(H(),dt()),t,n),f);break;default:T+="/"}break;case 123*m:a[l++]=Y(T)*x;case 125*m:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+u:x==-1&&(T=I(T,/\f/g,"")),d>0&&Y(T)-p&&Xe(d>32?Er(T+";",r,n,p-1):Er(I(T," ","")+";",r,n,p-2),f);break;case 59:T+=";";default:if(Xe(S=_r(T,t,n,l,u,o,a,_,E=[],$=[],p),s),v===123)if(u===0)Mt(T,t,S,S,E,s,p,a,$);else switch(h===99&&P(T,3)===110?100:h){case 100:case 108:case 109:case 115:Mt(e,S,S,r&&Xe(_r(e,S,S,0,0,o,a,_,o,E=[],p),$),o,$,p,a,r?E:$);break;default:Mt(T,S,S,S,[""],$,0,a,$)}}l=u=d=0,m=x=1,_=T="",p=c;break;case 58:p=1+Y(T),d=y;default:if(m<1){if(v==123)--m;else if(v==125&&m++==0&&yr()==125)continue}switch(T+=Ue(v),v*m){case 38:x=u>0?1:(T+="\f",-1);break;case 44:a[l++]=(Y(T)-1)*x,x=1;break;case 64:ae()===45&&(T+=ze(H())),h=ae(),u=p=Y(_=T+=xr(dt())),v++;break;case 45:y===45&&Y(T)==2&&(m=0)}}return s}function _r(e,t,n,r,o,s,c,a,f,l,u){for(var p=o-1,h=o===0?s:[""],d=Ve(h),y=0,m=0,w=0;y<r;++y)for(var x=0,v=Ie(e,p+1,p=fr(m=c[y])),_=e;x<d;++x)(_=Nt(m>0?h[x]+" "+v:I(v,/&\f/g,h[x])))&&(f[w++]=_);return ht(e,t,n,o===0?We:a,f,l,u)}function Po(e,t,n){return ht(e,t,n,Lt,Ue(mr()),Ie(e,2,-2),0)}function Er(e,t,n,r){return ht(e,t,n,Be,Ie(e,0,r),Ie(e,r+1,-1),r)}function qe(e,t){for(var n="",r=Ve(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Tr(e,t,n,r){switch(e.type){case lr:if(e.children.length)break;case ur:case Be:return e.return=e.return||e.value;case Lt:return"";case Rt:return e.return=e.value+"{"+qe(e.children,r)+"}";case We:e.value=e.props.join(",")}return Y(n=qe(e.children,r))?e.return=e.value+"{"+n+"}":""}function vr(e){var t=Ve(e);return function(n,r,o,s){for(var c="",a=0;a<t;a++)c+=e[a](n,r,o,s)||"";return c}}function Sr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Cr(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var jo=function(t,n,r){for(var o=0,s=0;o=s,s=ae(),o===38&&s===12&&(n[r]=1),!Ge(s);)H();return Ze(t,G)},Do=function(t,n){var r=-1,o=44;do switch(Ge(o)){case 0:o===38&&ae()===12&&(n[r]=1),t[r]+=jo(G-1,n,r);break;case 2:t[r]+=ze(o);break;case 4:if(o===44){t[++r]=ae()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Ue(o)}while(o=H());return t},Mo=function(t,n){return Dt(Do(jt(t),n))},$r=new WeakMap,Uo=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!$r.get(r))&&!o){$r.set(t,!0);for(var s=[],c=Mo(n,s),a=r.props,f=0,l=0;f<c.length;f++)for(var u=0;u<a.length;u++,l++)t.props[l]=s[f]?c[f].replace(/&\f/g,a[u]):a[u]+" "+c[f]}}},qo=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Or(e,t){switch(hr(e,t)){case 5103:return L+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+ft+e+F+e+e;case 6828:case 4268:return L+e+F+e+e;case 6165:return L+e+F+"flex-"+e+e;case 5187:return L+e+I(e,/(\w+).+(:[^]+)/,L+"box-$1$2"+F+"flex-$1$2")+e;case 5443:return L+e+F+"flex-item-"+I(e,/flex-|-self/,"")+e;case 4675:return L+e+F+"flex-line-pack"+I(e,/align-content|flex-|-self/,"")+e;case 5548:return L+e+F+I(e,"shrink","negative")+e;case 5292:return L+e+F+I(e,"basis","preferred-size")+e;case 6060:return L+"box-"+I(e,"-grow","")+L+e+F+I(e,"grow","positive")+e;case 4554:return L+I(e,/([^-])(transform)/g,"$1"+L+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,L+"$1"),/(image-set)/,L+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,L+"box-pack:$3"+F+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+e+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,L+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Y(e)-1-t>6)switch(P(e,t+1)){case 109:if(P(e,t+4)!==45)break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+L+"$2-$3$1"+ft+(P(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pt(e,"stretch")?Or(I(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(P(e,t+1)!==115)break;case 6444:switch(P(e,Y(e)-3-(~pt(e,"!important")&&10))){case 107:return I(e,":",":"+L)+e;case 101:return I(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+L+(P(e,14)===45?"inline-":"")+"box$3$1"+L+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(P(e,t+11)){case 114:return L+e+F+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+F+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+F+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+F+e+e}return e}var Fo=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Be:t.return=Or(t.value,t.length);break;case Rt:return qe([Je(t,{value:I(t.value,"@","@"+L)})],o);case We:if(t.length)return fn(t.props,function(s){switch(ln(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qe([Je(t,{props:[I(s,/:(read-\w+)/,":"+ft+"$1")]})],o);case"::placeholder":return qe([Je(t,{props:[I(s,/:(plac\w+)/,":"+L+"input-$1")]}),Je(t,{props:[I(s,/:(plac\w+)/,":"+ft+"$1")]}),Je(t,{props:[I(s,/:(plac\w+)/,F+"input-$1")]})],o)}return""})}},Ko=[Fo],Ar=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var w=m.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||Ko,s={},c,a=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var w=m.getAttribute("data-emotion").split(" "),x=1;x<w.length;x++)s[w[x]]=!0;a.push(m)});var f,l=[Uo,qo];{var u,p=[Tr,Sr(function(m){u.insert(m)})],h=vr(l.concat(o,p)),d=function(w){return qe(kr(w),h)};f=function(w,x,v,_){u=v,d(w?w+"{"+x.styles+"}":x.styles),_&&(y.inserted[x.name]=!0)}}var y={key:n,sheet:new ar({key:n,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:f};return y.sheet.hydrate(a),y};function Ir(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Lr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Wo=!1,Bo=/[A-Z]|^ms/g,Vo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jr=function(t){return t.charCodeAt(1)===45},Rr=function(t){return t!=null&&typeof t!="boolean"},hn=Cr(function(e){return jr(e)?e:e.replace(Bo,"-$&").toLowerCase()}),Nr=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Vo,function(r,o,s){return _e={name:o,styles:s,next:_e},o})}return Lr[t]!==1&&!jr(t)&&typeof n=="number"&&n!==0?n+"px":n},Xo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function mt(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return _e={name:o.name,styles:o.styles,next:_e},o.name;var s=n;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)_e={name:c.name,styles:c.styles,next:_e},c=c.next;var a=s.styles+";";return a}return Yo(e,t,n)}case"function":{if(e!==void 0){var f=_e,l=n(e);return _e=f,mt(e,t,l)}break}}var u=n;if(t==null)return u;var p=t[u];return p!==void 0?p:u}function Yo(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=mt(e,t,n[o])+";";else for(var s in n){var c=n[s];if(typeof c!="object"){var a=c;t!=null&&t[a]!==void 0?r+=s+"{"+t[a]+"}":Rr(a)&&(r+=hn(s)+":"+Nr(s,a)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&Wo)throw new Error(Xo);if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var f=0;f<c.length;f++)Rr(c[f])&&(r+=hn(s)+":"+Nr(s,c[f])+";");else{var l=mt(e,t,c);switch(s){case"animation":case"animationName":{r+=hn(s)+":"+l+";";break}default:r+=s+"{"+l+"}"}}}}return r}var Pr=/label:\s*([^\s;{]+)\s*(;|$)/g,_e;function Ut(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";_e=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=mt(n,t,s);else{var c=s;o+=c[0]}for(var a=1;a<e.length;a++)if(o+=mt(n,t,e[a]),r){var f=s;o+=f[a]}Pr.lastIndex=0;for(var l="",u;(u=Pr.exec(o))!==null;)l+="-"+u[1];var p=Ir(o)+l;return{name:p,styles:o,next:_e}}var Go=!0;function dn(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var Ho=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Go===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},Dr=function(t,n,r){Ho(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Mr(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function Ur(e,t,n){var r=[],o=dn(e,r,n);return r.length<2?n:o+t(r)}var qr=function(t){var n=Ar(t);n.sheet.speedy=function(a){this.isSpeedy=a},n.compat=!0;var r=function(){for(var f=arguments.length,l=new Array(f),u=0;u<f;u++)l[u]=arguments[u];var p=Ut(l,n.registered,void 0);return Dr(n,p,!1),n.key+"-"+p.name},o=function(){for(var f=arguments.length,l=new Array(f),u=0;u<f;u++)l[u]=arguments[u];var p=Ut(l,n.registered),h="animation-"+p.name;return Mr(n,{name:p.name,styles:"@keyframes "+h+"{"+p.styles+"}"}),h},s=function(){for(var f=arguments.length,l=new Array(f),u=0;u<f;u++)l[u]=arguments[u];var p=Ut(l,n.registered);Mr(n,p)},c=function(){for(var f=arguments.length,l=new Array(f),u=0;u<f;u++)l[u]=arguments[u];return Ur(n.registered,r,Jo(l))};return{css:r,cx:c,injectGlobal:s,keyframes:o,hydrate:function(f){f.forEach(function(l){n.inserted[l]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:dn.bind(null,n.registered),merge:Ur.bind(null,n.registered,r)}},Jo=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var c in o)o[c]&&c&&(s&&(s+=" "),s+=c)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n};var Ee=qr({key:"css"}),Zo=Ee.flush,zo=Ee.hydrate,Qo=Ee.cx,ei=Ee.merge,ti=Ee.getRegisteredStyles,yt=Ee.injectGlobal,ni=Ee.keyframes,mn=Ee.css,ri=Ee.sheet,oi=Ee.cache;var xn={};Q(xn,{Children:()=>Fe,Fragment:()=>Fr,Portal:()=>Kr,deepEqual:()=>bn,eval_num:()=>fi,findDOMNode:()=>si,forwardRef:()=>wn,getComponentByPointer:()=>ci,id_num:()=>li,isAsync:()=>ai,isClass:()=>qt,isEmpty:()=>W,isError:()=>ui,isThenable:()=>Ft,isValidComponent:()=>tt,isValidElement:()=>ii,shallowEqual:()=>se,toBool:()=>Kt});var gn={};Q(gn,{ARGS:()=>Et,CALLBACK:()=>_t,CHILD_CLASS_ADDENDUM:()=>de,CLEARED:()=>xt,COMPONENT:()=>Qe,CORE:()=>g,DUE:()=>le,IDX:()=>ue,INTERVAL:()=>et,IS_ZOMBIE:()=>yn,LAZY:()=>bt,MEMOIZED:()=>Se,REPEAT:()=>wt,TEXT:()=>K});var[g,Qe,K,yn,ue,de,Se,bt,le,wt,xt,et,_t,Et]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:TEXT"),Symbol.for("LILACT:IS_ZOMBIE"),Symbol.for("LILACT:IDX"),Symbol.for("LILACT:CHILD_CLASS_ADDENDUM"),Symbol.for("LILACT:MEMOIZED"),Symbol.for("LILACT:LAZY"),Symbol.for("LILACT:TIMERS:DUE"),Symbol.for("LILACT:TIMERS:REPEAT"),Symbol.for("LILACT:TIMERS:CLEARED"),Symbol.for("LILACT:TIMERS:INTERVAL"),Symbol.for("LILACT:TIMERS:CALLBACK"),Symbol.for("LILACT:TIMERS:ARGS")];var ke=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},tt=e=>e[g]!==void 0||e[TEXT]!==void 0,ii=tt,si=e=>{var t,n;if(!((n=(t=e[g])==null?void 0:t.element)!=null&&n.parentNode))throw new Error("findDOMNode only works on mounted components.");return e[g].element};function Fr({children:e}){return e}Fr.displayName="Fragment";function Kr({children:e,view:t}){return this[g].portal=t,e}Kr.displayName="Portal";var Fe={_isNil(e){return e==null},_flattenInto(e,t){if(!this._isNil(t)){if(Array.isArray(t)){for(let n of t)this._flattenInto(e,n);return}e.push(t)}},toArray(e){let t=[];if(!e)return t;for(let n of e)this._flattenInto(t,n);return t},count(e){return this.toArray(e).length},only(e){let t=this.toArray(e);if(t.length!==1)throw new Error(t.length===0?"Expected exactly one child, but received none.":"Expected exactly one child, but received more than one.");return t[0]},map(e,t){let n=this.toArray(e),r=[];for(let o=0;o<n.length;o++)r.push(t(n[o],o));return r},forEach(e,t){let n=this.toArray(e);for(let r=0;r<n.length;r++)t(n[r],r)},find(e,t){let n=this.toArray(e);for(let r=0;r<n.length;r++)if(t(n[r],r))return n[r]},pickOne(e,t){let n=this.toArray(e),r,o=0;for(let s=0;s<n.length&&!(t(n[s],s)&&(o++,r=n[s],o>1));s++);if(o!==1)throw new Error(o===0?"pickOne expected exactly one matching child, but matched none.":"pickOne expected exactly one matching child, but matched multiple.");return r},first(e){return this.toArray(e)[0]},last(e){let t=this.toArray(e);return t.length?t[t.length-1]:void 0}},wn=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function ci(){let e,t=new Promise((r,o)=>{e=r});function n(r){r.stopImmediatePropagation(),window.removeEventListener("click",n,!0);let o=r.target;for(;!o[Qe]&&o.parentNode;)o=o.parentNode;return e(o[Qe]),!1}return window.addEventListener("click",n,!0),t}function W(e){for(let t in e)return!1;return!0}var se=(e,t,n)=>ke(e)!==ke(t)?!1:ke(e)==="array"?e.length!==t.length?!1:e.every((r,o)=>r===t[o]||o===n):ke(e)==="object"?Object.keys(e).every(r=>e[r]===t[r]||r===n):ke(e)==="date"?e.getTime()===t.getTime():e===t;function bn(e,t){return ke(e)!==ke(t)?!1:ke(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>bn(n,t[r])):ke(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>bn(e[n],t[n])):ke(e)==="date"?e.getTime()===t.getTime():e===t}function qt(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function ai(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function Ft(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function ui(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function Kt(e){if(typeof e=="boolean")return e;if(typeof e=="number")return e!==0;if(typeof e=="string"){if(e=e.trim().toLowerCase(),e==="true")return!0;if(e==="false")return!1}return!!e}var li=Math.floor(Math.random()*1e4),fi=0;function J(e){return e==null}function B(e){return e||"<<anonymous>>"}function pi(e){return e&&(e.displayName||e.name)||"Unknown"}function Wr(e){return e==null||e===!1||e===!0||typeof e=="string"||typeof e=="number"||tt(e)?!0:Array.isArray(e)?e.every(Wr):!1}function hi(e){return typeof e=="function"||typeof e=="string"}function me(e){let t=function(r,o,s,c,a,f){let l=r[o];if(J(l)||e(l))return null;let u=e.expectedType||"the correct type",p=l===null?"null":typeof l;return new Error(`Invalid ${c} \`${a}\` of type \`${p}\` supplied to \`${B(s)}\`, expected \`${u}\`.`)};return t.isRequired=function(r,o,s,c,a){let f=r[o];return J(f)?new Error(`The ${c} \`${a}\` is marked as required in \`${B(s)}\`, but its value is \`${f}\`.`):t(r,o,s,c,a)},t}function di(){let e={};e.any=(function(){let r=function(s,c,a,f,l){return null};return r.isRequired=function(){return null},r})(),e.array=me(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=me(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=me(r=>typeof r=="function"),e.func.expectedType="function",e.number=me(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=me(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=me(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=me(r=>typeof r=="symbol"),e.symbol.expectedType="symbol",e.component=me(r=>tt(r)),e.component.expectedType="component",e.element=me(r=>tt(r)),e.element.expectedType="element",e.node=me(r=>Wr(r)),e.node.expectedType="node",e.elementType=me(r=>hi(r)),e.elementType.expectedType="elementType",e.oneOf=function(o){let s=Array.isArray(o)?o:[],c=function(f,l,u,p,h){let d=f[l];if(J(d))return null;for(let m=0;m<s.length;m++)if(d===s[m])return null;let y=d===null?"null":typeof d;return new Error(`Invalid ${p} \`${h}\` of value \`${String(d)}\` supplied to \`${B(u)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${y}\`).`)};return c.isRequired=function(f,l,u,p,h){return J(f[l])?new Error(`The ${p} \`${h}\` is marked as required in \`${B(u)}\`, but its value is \`${f[l]}\`.`):c(f,l,u,p,h)},c},e.oneOfType=function(o){let s=o||[],c=function(f,l,u,p,h){let d=f[l];if(J(d))return null;for(let y=0;y<s.length;y++)if(s[y](f,l,u,p,h)===null)return null;return new Error(`Invalid ${p} \`${h}\` supplied to \`${B(u)}\` (none of the allowed types matched).`)};return c.isRequired=function(f,l,u,p,h){return J(f[l])?new Error(`The ${p} \`${h}\` is marked as required in \`${B(u)}\`, but its value is \`${f[l]}\`.`):c(f,l,u,p,h)},c},e.arrayOf=function(o){let s=o,c=function(f,l,u,p,h){let d=f[l];if(J(d))return null;if(!Array.isArray(d))return new Error(`Invalid ${p} \`${h}\` of type \`${typeof d}\` supplied to \`${B(u)}\`, expected an array.`);for(let y=0;y<d.length;y++){let m=`${h}[${y}]`,w=s({[l]:d[y]},l,u,p,m);if(w!==null)return w}return null};return c.isRequired=function(f,l,u,p,h){return J(f[l])?new Error(`The ${p} \`${h}\` is marked as required in \`${B(u)}\`, but its value is \`${f[l]}\`.`):c(f,l,u,p,h)},c},e.objectOf=function(o){let s=o,c=function(f,l,u,p,h){let d=f[l];if(J(d))return null;if(typeof d!="object"||d===null||Array.isArray(d))return new Error(`Invalid ${p} \`${h}\` of type \`${typeof d}\` supplied to \`${B(u)}\`, expected an object.`);let y=Object.keys(d);for(let m=0;m<y.length;m++){let w=y[m],x=`${h}.${w}`,v=s({[l]:d[w]},l,u,p,x);if(v!==null)return v}return null};return c.isRequired=function(f,l,u,p,h){return J(f[l])?new Error(`The ${p} \`${h}\` is marked as required in \`${B(u)}\`, but its value is \`${f[l]}\`.`):c(f,l,u,p,h)},c};function t(r,{exact:o}){let s=r?Object.keys(r):[],c=function(f,l,u,p,h){let d=f[l];if(J(d))return null;if(typeof d!="object"||d===null||Array.isArray(d))return new Error(`Invalid ${p} \`${h}\` of type \`${typeof d}\` supplied to \`${B(u)}\`, expected an object.`);if(o){let m=Object.keys(d);for(let w=0;w<m.length;w++){let x=m[w];if(!Object.prototype.hasOwnProperty.call(r,x)){let v=`${h}.${x}`;return new Error(`Invalid ${p} \`${v}\` supplied to \`${B(u)}\`: extra key \`${x}\` is not allowed by exact().`)}}}for(let m=0;m<s.length;m++){let w=s[m],x=r[w],v=d[w],_=`${h}.${w}`;if(J(v)){let $=x({[l]:v},l,u,p,_);if($!==null)return $;continue}let E=x({[l]:v},l,u,p,_);if(E!==null)return E}return null};return c.isRequired=function(f,l,u,p,h){return J(f[l])?new Error(`The ${p} \`${h}\` is marked as required in \`${B(u)}\`, but its value is \`${f[l]}\`.`):c(f,l,u,p,h)},c}e.shape=function(o){return t(o,{exact:!1})},e.exact=function(o){return t(o,{exact:!0})},e.instanceOf=function(o){let s=function(a,f,l,u,p){let h=a[f];return J(h)||h instanceof o?null:new Error(`Invalid ${u} \`${p}\` supplied to \`${B(l)}\`: expected instance of \`${pi(o)}\`.`)};return s.isRequired=function(a,f,l,u,p){return J(a[f])?new Error(`The ${u} \`${p}\` is marked as required in \`${B(l)}\`, but its value is \`${a[f]}\`.`):s(a,f,l,u,p)},s};let n=new Set;return e.checkPropTypes=function(o,s,c,a){if(!o)return;let f=o,l=B(a),u=Object.keys(f);for(let p=0;p<u.length;p++){let h=u[p],d=f[h];if(typeof d!="function")continue;let m=d(s||{},h,l,c,h);if(m instanceof Error){let w=`${l}|${c}|${h}|${m.message}`;if(n.has(w))continue;n.add(w),typeof console!="undefined"&&console.error&&console.error(`Warning: Failed prop type: ${m.message}`)}}},e}var nt=di();var kn={};Q(kn,{Component:()=>Le,HTMLComponent:()=>Tt,RootComponent:()=>Wt,boolean_html_attributes_set:()=>Jr,capture_events_set:()=>Vt,cloneComponent:()=>Yr,cloneElement:()=>_i,createComponent:()=>En,createElement:()=>Ti,createPortal:()=>xi,createRoot:()=>Xr,current_component:()=>vi,effect_timeout:()=>Ri,events_set:()=>Bt,insertion_effects:()=>Ai,layout_effects:()=>Oi,length_css_attributes_set:()=>Hr,memo:()=>ki,passive_effects:()=>Ii,processEffects:()=>Vr,render:()=>Ei,roots:()=>$i,special_attributes:()=>Gr,update_cbs:()=>Ci,update_interval_margin:()=>Ni,update_set:()=>Si,update_timeout:()=>Li});var mi="http://www.w3.org/2000/svg",_n=class{constructor(t){ee(this,"owner");ee(this,"current_map",new Map);ee(this,"new_map",new Map);ee(this,"pick_index",0);this.owner=t}pick(t,n){var s,c;let r,o=this.current_map.get(t);return o&&o.length>o[ue]?(r=o[o[ue]],o[ue]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ue]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ue]=0),r[g]&&((c=(s=r[g]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[ue]).forEach(n=>{n.cleanup?n.cleanup():n.element&&!n.portal&&n.element.parentElement.removeChild(n.element)})}),this.current_map=this.new_map,this.new_map=new Map}},kt=class{constructor(t,n){ee(this,"component");ee(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var o,s,c,a,f,l,u,p,h,d,y;let r=!0;if(this.outlet&&(this!=null&&this[Se])&&se(this.props,t,"children")&&se((o=this.props)==null?void 0:o.children,t==null?void 0:t.children)&&(r=!1),r){if((s=this.entity)!=null&&s.propTypes?nt.checkPropTypes(this.entity.propTypes,this.props,"prop",this.entity.name):(c=this.component)!=null&&c.propTypes&&nt.checkPropTypes(this.component.propTypes,this.props,"prop",this.component.name),typeof n=="function"&&(n=n(this.state)),this.component.constructor.defaultProps&&(t={...this.component.constructor.defaultProps,...t}),((f=(a=this==null?void 0:this.parent)==null?void 0:a.component)!=null&&f.context||(u=(l=this==null?void 0:this.parent)==null?void 0:l.component)!=null&&u.getChildContext)&&(this.context={...this.parent.component.context,...(h=(p=this.parent.component).getChildContext)==null?void 0:h.call(p)},this.component.constructor.contextTypes&&nt.checkPropTypes(this.component.constructor.contextTypes,this.context,"context",this.entity.name)),this.component.shouldComponentUpdate&&!this.component.shouldComponentUpdate(n,t,this.context))return;typeof this.entity=="string"&&(this.element instanceof Element||(this.is_svg||this.container.is_svg?(this.is_svg=!0,this.element=document.createElementNS(mi,this.entity)):this.element=document.createElement(this.entity),t!=null&&t.defaultValue&&(this.element.value=String(t.defaultValue).slice(0,t==null?void 0:t.maxLength)),t!=null&&t.defaultChecked&&(this.element.checked=t.defaultChecked)),this.element[Qe]=this.component),t.ref&&(typeof t.ref=="function"?t.ref(this.element||this.component):t.ref.current=this.element||this.component),t!==void 0&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps(t),this.component.componentWillUpdate&&this.component.componentWillUpdate(t,n);let m=this.state,w=this.props;if(this.element&&this.updateElementProps(t),this.props=t,typeof this.next_state=="object")this.state?Object.assign(this.state,n):this.state={...n};else if(this.next_state!==void 0)throw new Error("Component.setState only accepts objects or functions is new state.");if(this.next_state&&delete this.next_state,this.hooks!==void 0){this.hook_index=0,k.current_component=[this,k.current_component];try{this.outlet=this.component.render(t,{current:this.element||this.component})}catch(x){Br(this,x)}k.current_component=k.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(x){Br(this,x)}this!=null&&this.portal&&(this.element=this.portal),((y=(d=this.outlet)==null?void 0:d.constructor)==null?void 0:y.name)!=="Array"&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let x=0;x<this.outlet.length;x++){let v=this.outlet[x];if(v==null||typeof v=="boolean")this.outlet.splice(x,1),x--;else if(typeof v=="function"){let _=this.childFunctionHandler(v);this.outlet.splice(x,1,_),x--}else if(v.constructor.name==="Array")this.outlet.splice(x,1,...v),x--;else{let _=gi(this,v);this.outlet[x]=_,_[K]===void 0?(_.container=this.element?this:this.container,_.apply(v.props)):_.element?_[K]!==v[K]&&(_.element.textContent=v[K],_[K]=v[K]):(_.element=document.createTextNode(v[K]),_[K]=v[K])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(w,m,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}}async cleanup(){var t,n,r;try{let o=[];if((t=this.props)!=null&&t.ref&&(typeof this.props.ref=="function"?this.props.ref(null):this.props.current=null),this.component.componentWillUnmount&&this.component.componentWillUnmount(),(n=this==null?void 0:this.element)!=null&&n.parentElement&&!this.portal&&this.element.parentElement.removeChild(this.element),this.outlet!==void 0)for(let s of this.outlet)s.cleanup&&o.push(s.cleanup());if(((r=this.props)==null?void 0:r.children)!==void 0)for(let s of this.props.children)s.cleanup&&o.push(s.cleanup());if(this.hooks!==void 0)for(let s of this.hooks)s.cleanup&&o.push(s.cleanup());await Promise.all(o)}catch(o){throw o}}updateElementProps(t,n=!1){var r,o,s,c,a,f,l;this.entity==="input"?(t!=null&&t.type||(t.type="text"),t.type!==this.element.type&&(this.element.type=t.type),(t==null?void 0:t.value)!==void 0&&(t==null?void 0:t.value)!==this.element.value&&(t.value===void 0&&(t.value=""),this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength))):this.entity==="textarea"?(t==null?void 0:t.value)!==this.element.value&&(this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength)):this.entity==="select"&&(t==null?void 0:t.value)!==this.element.value&&k.setTimeout(()=>this.element.value=String(t.value),0);for(let u in this.props){let p=u.toLowerCase();t.hasOwnProperty(u)||(Bt.has(p)?this.event_detachers[p]():this.element.removeAttribute(u))}for(let u in t){let p=u.toLowerCase();if(!Gr.has(p)&&(t===this.props||!k.defaultIsEqual(t[u],this.props[u])||n))if(Bt.has(p))(r=this.event_detachers)!=null||(this.event_detachers={}),(s=(o=this.event_detachers)[p])==null||s.call(o),this.event_detachers[p]=k.addWrappedEventListener(this.element,p.substring(2),t[u]);else if(Vt.hasOwnProperty(p)){let h=Vt[p];(c=this.event_detachers)!=null||(this.event_detachers={}),(f=(a=this.event_detachers)[p])==null||f.call(a),this.event_detachers[p]=k.addWrappedEventListener(this.element,h.substring(2),t[u],{capture:!0})}else if(u==="style")if(typeof t.style=="string")this.element.style=t.style;else{if((l=this.props)!=null&&l.style)if(typeof this.props.style=="string")this.element.style="";else for(let h in this.props.style)t.style.hasOwnProperty(h)||(this.element.style[h]="");for(let h in t.style)Hr.has(h)&&isFinite(t.style[h])&&(t.style[h]+="px");Object.assign(this.element.style,t.style)}else Jr.has(u)?(this.element[u]=Kt(t[u]),this.element[u]||this.element.removeAttribute(u)):u==="autoFocus"?this.element.autofocus=Kt(t[u]):u==="htmlFor"?this.element.setAttribute("for",t[u]):(p!=="value"||["input","textarea","select"].indexOf(this.entity)===-1)&&this.element.setAttribute(p,t[u])}t!=null&&t.action?this.element.onsubmit=t.action:this.element.onsubmit=void 0,this.updateElementClass(t)}updateElementClass(t=this.props){var r,o;let n=t==null?void 0:t.className;if(n!=null||(n=t!=null&&t.class?t.class:""),(r=this==null?void 0:this.parent)!=null&&r[de]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[de])),n.length>0){n=n.split(/\s+/g);for(let s of Array.from(this.element.classList))n.indexOf(s)===-1&&this.element.classList.remove(s);for(let s of n)s.length>0&&this.element.classList.add(s)}else delete this.element.className}scanZombies(t,n){let r=t.element.childNodes;for(;r[t.insert_index]&&r[t.insert_index][yn]&&r[t.insert_index]!==n;)t.insert_index++}appendElement(t){var n;t.portal||(this.scanZombies(t.container,t.element),(t==null?void 0:t.element.parentNode)===null?(t.container.element.insertBefore(t.element,t.container.element.childNodes[t.container.insert_index]||null),(n=t==null?void 0:t.component)!=null&&n.componentDidMount&&t.component.componentDidMount()):t.container.element.childNodes[t.container.insert_index]!==t.element&&t.container.element.insertBefore(t.element,t.container.element.childNodes[t.container.insert_index]||null),t.container.insert_index++)}arrangeOutlet(){var t;this.insert_index=0;for(let n of this.outlet)n&&(n.element?(n.container=this.element?this:this.container,n.container.appendElement(n)):(n.arrangeOutlet&&n.arrangeOutlet(),n!=null&&n.mounted||(n.mounted=!0,(t=n==null?void 0:n.component)!=null&&t.componentDidMount&&n.component.componentDidMount())))}childFunctionHandler(t){return t(this.state)}},Br=(e,t)=>{var o,s,c,a;let n=[e];for(;e&&!((o=e.component)!=null&&o.componentDidCatch);)e=e.parent,e&&n.push(e);(s=e==null?void 0:e.component)!=null&&s.componentDidCatch&&(c=e.entity)!=null&&c.getDerivedStateFromError&&e.component.setState(e.entity.getDerivedStateFromError.call(e,t));let r=Array.prototype.map.call(n,f=>`in ${typeof f.component.displayName=="function"?f.component.displayName():f.component.displayName}`).join(`
58
+ `);if(t.componentStack=n,t.componentStackLog=r,(a=e==null?void 0:e.component)!=null&&a.componentDidCatch)e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r});else throw t};function yi(e,t){let n=e;if(e[K]===void 0){let r=e.entity,o=!1;if(typeof r=="object")if(r[Se])o=r[Se],r=r.component;else throw new Error("Invalid component.");if(typeof r=="string")n=new Tt(r,e.props);else{if(qt(r)){r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new r(e.props);let s=Object.getOwnPropertyDescriptor(n,"state");s&&typeof s.get!="function"&&typeof s.set!="function"&&(n[g].state=n.state,Object.defineProperty(n,"state",{get(){return this[g].state},set(c){if(this[g].state===void 0)this[g].state=c;else throw new Error("Assigning component state this way is not allowed.")}}))}else if(typeof r=="function")r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new Le(e.props),n.render=r.bind(n),n[g].hooks=[],n[g].hook_index=0;else throw new Error("Error in constructing component.");n[g].entity=r,e.container&&(n[g].container=e.container)}o&&(n[g][Se]=!0)}return t instanceof kt&&(n[g].parent=t),n}function gi(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new _n(e)),t=e.cache.pick(t[K]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[K]!==void 0||t instanceof kt?t:yi(t,e)[g]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function bi(){clearTimeout(k.effect_timeout);let e=k.update_set,t=k.update_cbs;k.update_set=new Set,k.update_cbs=new Set;for(let n of e)n.apply();for(let n of t)n();Vr()}function Vr(){let e=k.insertion_effects,t=k.layout_effects,n=k.passive_effects;k.insertion_effects=new Set,k.layout_effects=new Set,k.passive_effects=new Set;for(let r of e)r();for(let r of t)r();requestAnimationFrame(()=>{for(let r of n)r()})}var wi=(e,t)=>{let n;return t.key!==void 0?n=t.key:t.id!==void 0?n=":i:"+t.id:t.path!==void 0?n=":p:"+t.path:t[K]!==void 0?n=":text:":(typeof e=="string"?n=":t:"+e:e!=null&&e.name?n=e.name:n="::",t.name!==void 0?n=n+":"+t.name:t.path!==void 0&&(n=n+":"+t.path)),n},Le=class{get state(){return this[g].state}set state(t){if(this[g].state===void 0)this[g].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[g].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[g].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[g].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[g].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[g].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[g].entity)!=null&&t.displayName?(n=this[g].entity)==null?void 0:n.displayName:typeof this[g].entity=="string"?this[g].entity:(qt(this[g].entity)&&this[g].entity.constructor.name,typeof this[g].entity=="function"?this[g].entity.name:"Component")}constructor(t){this[g]=new kt(this,t)}forceUpdate(t){k.clearTimeout(k.update_timeout),k.update_set.add(this[g].container||this[g]),t&&k.update_cbs.add(t.bind(this)),k.update_timeout=k.setTimeout(bi,k.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[g].last_snapshot=this.getSnapshotBeforeUpdate(this[g].props,this.state)),this[g].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},Tt=class extends Le{constructor(t,n){super(n),this[g].entity=t,t==="svg"&&(this[g].is_svg=!0)}render(){return this[g].props.children}},Wt=class extends Tt{constructor(n,r){super(":root:",r);ee(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[g].element=n;for(let o of r.children)o[g]?o[g].container=this[g]:o.container=this[g]}};function En(e,t={},...n){if(typeof e!="string"&&typeof e!="function"&&(typeof e!="object"||!e[Se]))throw new Error("Invalid entity for createComponent.");for(let r=0;r<n.length;r++){let o=n[r];if(o==null||typeof o=="boolean"){n.splice(r,1),r--;continue}["number","bigint"].indexOf(typeof o)!==-1&&(o=o.toString()),typeof o=="string"?n[r]={[K]:o}:n[r]=o}return t.key=wi(e,t),t.children=n,{entity:e,props:t,[g]:null}}function Xr(e){let t;return{render(n){if(t)throw new Error("root already rendered!");return t=new Wt(e,{children:[n]}),k.roots.add(t[g]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function xi(e,t){return En(k.Portal,{view:t},e)}function Yr(e,t,...n){let r={entity:e.entity,props:{...e.props,...t},[g]:null};return n!=null&&n.length&&(r.props.children=n),r}var _i=Yr;function Ei(e,t){if(e[g]&&(e[g].container||e[g].parent))throw new Error("Component is already in use");return Xr(t).render(e)}function ki(e){return typeof e=="object"?e[Se]=!0:e={component:e,[Se]:!0,[g]:null},e}var Ti=En,vi=[],Si=new Set,Ci=new Set,$i=new Set,Oi=new Set,Ai=new Set,Ii=new Set,Li,Ri,Ni=0,Gr=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Bt=new Set(["onafterprint","onbeforeprint","onbeforeunload","onerror","onhashchange","onload","onmessage","onoffline","ononline","onpagehide","onpageshow","onpopstate","onresize","onstorage","onunload","onblur","onchange","oncontextmenu","onfocus","oninput","oninvalid","onreset","onsearch","onselect","onsubmit","onkeydown","onkeypress","onkeyup","onclick","ondblclick","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onwheel","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","onscroll","oncopy","oncut","onpaste","onabort","oncanplay","oncanplaythrough","oncuechange","ondurationchange","onemptied","onended","onerror","onloadeddata","onloadedmetadata","onloadstart","onpause","onplay","onplaying","onprogress","onratechange","onseeked","onseeking","onstalled","onsuspend","ontimeupdate","onvolumechange","onwaiting","ontoggle","onpointerdown","onpointerup","onpointermove","onpointercancel","onpointerover","onpointerout","onpointerenter","onpointerleave"]),Vt={};for(let e of Bt)Vt[e+"capture"]=e;var Hr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","top","right","bottom","left","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","outlineWidth","fontSize","lineHeight","letterSpacing","wordSpacing","textIndent","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","columnGap","rowGap","gap"]),Jr=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var vn={};Q(vn,{createContext:()=>rt,startTransition:()=>Ki,useActionState:()=>Mi,useCallback:()=>ye,useContext:()=>ot,useDebugValue:()=>Fi,useDeferredValue:()=>qi,useEffect:()=>ne,useHook:()=>ce,useId:()=>Pi,useImperativeHandle:()=>Tn,useInsertionEffect:()=>Di,useLayoutEffect:()=>Re,useLocalStorage:()=>ji,useMemo:()=>vt,useReducer:()=>Ui,useRef:()=>N,useState:()=>te,useTransition:()=>Zr});function ce(){let e=k.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function te(e){let t=ce();return W(t)&&(typeof e=="function"?t.value=e():t.value=e,t.set_func=function(n,r,o){typeof o=="function"?r.value=o(r.value):r.value=o,n.component.forceUpdate()}.bind(void 0,k.current_component[0],t)),[t.value,t.set_func]}function ye(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Callback dependencies must be an array or omitted.");let n=ce();return!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function rt(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function ot(e){var n;let t=k.current_component[0].parent;for(;t.entity!==e.Provider&&t.parent;)t=t.parent;if(t.parent){let r=(n=t.props)==null?void 0:n.value;return r!=null?r:r=e.default}return e.default}function Pi(e="N"){let t=ce();return W(t)&&(t.id=e+k.id_num++),t.id}function Zr(){let e=ce();return W(e)&&(e.count=0,e.func=(async function(t,n,r){n.count===0&&t.component.forceUpdate(),n.count++,await r(),n.count--,n.count===0&&t.component.forceUpdate()}).bind(void 0,k.current_component[0],e)),[e.count!=0,e.func]}function ji(e,t){let n=ce(),r;try{r=JSON.parse(localStorage[e])}catch(o){}return r===void 0&&(typeof t=="function"&&(t=t()),r=t,localStorage[e]=JSON.stringify(r)),W(n)&&(n.value=r,n.set_func=function(o,s,c){typeof c=="function"&&(c=c(s.value)),c!==s.value&&(localStorage[e]=JSON.stringify(c),s.value=c,o.component.forceUpdate())}.bind(void 0,k.current_component[0],n)),[n.value,n.set_func]}function N(e=null){let t=ce();return W(t)&&(t.current=e),t}async function Re(e,t=void 0){if(t!==void 0&&typeof t!="object"&&t.constructor.name!=="Array")throw new Error("Layout effect dependencies must be an array, object or omitted.");let n=ce();!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&(await n.cleanup(),n.cleanup=void 0),n.deps=t,k.layout_effects.add(async()=>{n.cleanup=await e()}),k.clearTimeout(k.effect_timeout),k.setTimeout(k.processEffects,0))}async function ne(e,t=void 0){if(t!==void 0&&typeof t!="object"&&t.constructor.name!=="Array")throw new Error("Effect dependencies must be an array, object or omitted.");let n=ce();!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&(await n.cleanup(),n.cleanup=void 0),n.deps=t,k.passive_effects.add(async()=>{n.cleanup=await e()}),k.clearTimeout(k.effect_timeout),k.setTimeout(k.processEffects,0))}async function Di(e,t=void 0){if(t!==void 0&&typeof t!="object"&&t.constructor.name!=="Array")throw new Error("Insertion effect dependencies must be an array, object, or omitted.");let n=ce();!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&(await n.cleanup(),n.cleanup=void 0),n.deps=t,k.insertion_effects.add(async()=>{n.cleanup=await e()}),k.clearTimeout(k.effect_timeout),k.setTimeout(k.processEffects,0))}function vt(e,t=void 0){if(t!==void 0&&typeof t!="object"&&t.constructor.name!=="Array")throw new Error("Memo dependencies must be an array or omitted.");let n=ce();return!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n.deps=t,n.value=e()),n.value}function Mi(e,t){let n=ce(),[r,o]=Zr();return W(n)&&(n.state=t,n.form_action=s=>(event.preventDefault(),o(async()=>{let c=new FormData(s.target,s.submitter);n.state=await e(n.state,c)},[]),!1)),[n.state,n.form_action,r]}function Ui(e,t,n){let r=ce();return W(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(o,s,c){let a=s.reducer(s.state,c);k.defaultIsEqual(a,s.state)||(s.state=a,o.component.forceUpdate())}.bind(void 0,k.current_component[0],r)),[r.state,r.dispatch]}function qi(e,t){let{useEffect:n,useRef:r,useState:o}=k,[s,c]=o(typeof t!="undefined"?t:e),a=r(e),f=r(null);return n(()=>{if(a.current===e)return;a.current=e,f.current!=null&&(f.current.cancelled=!0,f.current=null);let l={cancelled:!1};return f.current=l,Promise.resolve().then(()=>{l.cancelled||(c(e),f.current=null)}),()=>{f.current&&(f.current.cancelled=!0,f.current=null)}},[e]),s}function Tn(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&se(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}function Fi(e,t=n=>n){console.log(t(e))}function Ki(e){e()}var Sn={};Q(Sn,{lazy:()=>Vi,require:()=>Qr,required_scripts:()=>Ce,run:()=>st,runScripts:()=>Yi});function Wi(e,t){let n=t.startsWith("/"),r=(n?"":e).split("/").filter(Boolean);!n&&!e.endsWith("/")&&r.pop();for(let o of t.split("/"))!o||o==="."||(o===".."?r.pop():r.push(o));return`${n?"/":""}${r.join("/")}`}function zr(e,t="Unknown error"){if(e instanceof Error)return e;if((e==null?void 0:e.error)instanceof Error)return e.error;let n=new Error((e==null?void 0:e.message)==null?t:String(e.message));if(e&&typeof e=="object"){e.name&&(n.name=e.name),e.stack&&(n.stack=e.stack);for(let r of Object.keys(e))r in n||(n[r]=e[r])}return n}function Bi(e,t){let n=zr(e);return n.lilact_source||(n.lilact_source={path:t}),n}function it(e,t){let n=Bi(e,t);return n.isTraced?n:typeof k.traceError=="function"?k.traceError(n,t):(k.error=n,n)}var Ce={};function st(jsx,path=`InlineJSX-${++k.eval_num}`,{isInline=!0,isModule=!0}={}){var e,t;let module={path,code:String(jsx),mappings:[],exports:{},isInline,isModule};Ce[path]=module;let processed;try{processed=k.transpileJSX(String(jsx),{path,mappings:module.mappings,factory:"createComponent",appendSourcemap:!1,injectTraceLabels:!0,produceCJS:!0,blocks_info:k.blocks_info})}catch(n){let r=zr(n);throw(e=r.fileName)!=null||(r.fileName=path),r.sourcePhase="transpile",module.error=r,k.error=r,r}typeof k.scanBlockLabels=="function"&&k.scanBlockLabels(processed,path),processed+=`
59
+ //# sourceURL=eval:/${path}`;try{globalThis.Lilact=k,globalThis.createComponent=k.createComponent,globalThis.Fragment=k.Fragment;let result=eval(processed);return W(module.exports)?result:module.exports}catch(n){let r=it(n,path);throw(t=r.sourcePhase)!=null||(r.sourcePhase="runtime"),module.error=r,r}}function Qr(e){var s,c,a,f,l,u;let t={};if(arguments.length===2&&arguments[1]&&typeof arguments[1]=="object"&&(t=arguments[1]),(s=k.importObjectPaths)!=null&&s[e])return k.importObjectPaths[e];let n=!!k[bt]||!!t.isLazy;if((c=t.requirer)!=null&&c.path&&(e=Wi(t.requirer.path,e)),Ce[e]&&!t.forceUpdate&&!n)return Ce[e].exports;if(e.startsWith("#")){let p=document.getElementById(e.slice(1));if(!p)throw it(new Error(`Required element not found (${e})`),e);return st(p.textContent||"",e)}if(n){k[bt]=!1;let p=(f=(a=k).resolver)==null?void 0:f.call(a,e);return p==null?Ce[e]&&!t.forceUpdate?p=Promise.resolve(Ce[e].code):p=fetch(e).then(h=>{if(!h.ok)throw it(new Error(`Unable to load ${e}: HTTP ${h.status}`),e);return h.text()}):p=Promise.resolve(p),p.then(h=>{if(e.endsWith(".css")){yt(String(h));return}return st(String(h),e,{isInline:!1,isModule:!0})}).then(h=>{var d;return(d=h==null?void 0:h.default)!=null?d:h}).catch(h=>{throw it(h,e)})}let r=(u=(l=k).resolver)==null?void 0:u.call(l,e);if(r!=null){if(e.endsWith(".css")){yt(String(r));return}return st(String(r),e,{isInline:!1,isModule:!0})}let o=new XMLHttpRequest;try{o.open("GET",e,!1),o.send(null)}catch(p){throw it(p,e)}if(o.status>=200&&o.status<300){if(e.endsWith(".css")){yt(o.responseText);return}return st(o.responseText,e,{isInline:!1,isModule:!0})}throw it(new Error(`Unable to load ${e}: HTTP ${o.status||0}`),e)}function Vi(e){let t="pending",n;k[bt]=!0;try{n=e()}catch(o){t="error",n=o}k.isThenable(n)?n.then(o=>{t="success",n=o},o=>{t="error",n=o}):t!=="error"&&(t="success");function r(o){if(t==="pending"||t==="error")throw n;let s=n;return createComponent(s,{...o})}return r}function Xi(){return Array.from(document.querySelectorAll('script[type="text/jsx"]')).map(e=>({src:e.getAttribute("src"),content:e.textContent||""}))}function Yi(){for(let e of Xi())e.src&&Qr(e.src),e.content&&st(e.content)}var Ln={};Q(Ln,{CSSTransition:()=>to,SwitchTransition:()=>ss,Transition:()=>eo,TransitionGroup:()=>cs});var On={};Q(On,{animationFramePromise:()=>is,clearInterval:()=>ts,clearTimeout:()=>fe,grabTimers:()=>ns,pauseTimers:()=>zi,releaseTimers:()=>rs,resetTimers:()=>Zi,resumeTimers:()=>Qi,setInterval:()=>es,setTimeout:()=>je,timeoutPromise:()=>os});var ct,St=-1,re=[],Ne=-1,Pe={},Xt=window.setTimeout,Gi=window.setInterval,Ct=window.clearTimeout,Hi=window.clearInterval;function Ji(e){let t=0,n=re.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=re[o][le];if(s===e)return[o,re[o]];s<e?t=o+1:n=o-1}let r=[];return r[le]=e,re.splice(t,0,r),[t,r]}function Cn(e,t=!1){let[n,r]=Ji(e[le]);return t||(St++,Pe[St]=e,e[ue]=St),r.push(e),re[0][0]===e&&(Ct(Ne),Ne=Xt($n,e[et])),St}function $n(){let e=Date.now(),t=0,n=re[t];for(;n&&n[le]-e<=0;){for(let r of n)r[xt]?delete Pe[r[ue]]:(r[_t](...r[Et]),r[wt]?(r[le]=Date.now()+r[et],Cn(r,!0)):delete Pe[r[ue]]);t++,n=re[t]}re.splice(0,t),re.length>0&&(Ct(Ne),Ne=Xt($n,re[0][le]-e))}function Zi(){Ct(Ne),ct=void 0,St=-1,re=[],Ne=-1,Pe={}}function zi(){Ct(Ne),ct=Date.now()}function Qi(){if(ct){if(re.length>0){let e=Date.now();ct-=e;for(let t of re)t[le]-=ct;Ne=Xt($n,re[0][le]-e)}ct=void 0}}function je(e,t,...n){return Cn({[_t]:e,[et]:t,[le]:Date.now()+t,[wt]:!1,[Et]:n})}function es(e,t,...n){return Cn({[_t]:e,[et]:t,[le]:Date.now()+t,[wt]:!0,[Et]:n})}function fe(e){Pe[e]&&(Pe[e][xt]=!0)}function ts(e){Pe[e]&&(Pe[e][xt]=!0)}function ns(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function rs(){globalThis.setTimeout=Xt,globalThis.setInterval=Gi,globalThis.clearTimeout=Ct,globalThis.clearInterval=Hi}function os(e=0,t=Lilact){let n,r,o,s=new Promise((c,a)=>{r=c,o=a,n=t.setTimeout(()=>{r()},e)});return s.proceed=()=>{t.clearTimeout(n),r()},s.cancel=()=>{t.clearTimeout(n),o()},s}function is(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var An="unmounted",Yt="exited",$t="entering",Ot="entered",In="exiting";function eo({in:e,timeout:t=k.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:s,onEntering:c,onEntered:a,onExit:f,onExiting:l,onExited:u,children:p,_classNames:h}){var d,y,m,w,x,v;return(y=(d=this[g]).is_mounted)!=null||(d.is_mounted=!n||e||o),(w=(m=this[g]).is_appeared)!=null||(m.is_appeared=e),(v=(x=this[g]).timer)!=null||(x.timer=null),this[g].childFunctionHandler=_=>_(this[g].mount_state),this[g].mount_state||(this[g].is_mounted||(this[g].mount_state=An),e?this[g].mount_state=o&&!this[g].is_appeared?$t:Ot:this[g].mount_state=Yt),ne(()=>()=>fe(this[g].timer),[]),ne(()=>{!this[g].is_appeared&&o&&this[g].mount_state===$t&&e&&(s==null||s(),requestAnimationFrame(()=>{c==null||c(!this[g].is_appeared),fe(this[g].timer),this[g].timer=je(()=>{this[g].mount_state=Ot,this.forceUpdate(),this[g].is_appeared=!0,a==null||a(!this[g].is_appeared)},t)}))},[]),ne(()=>{if(e){if(this[g].is_mounted=!0,this[g].mount_state===$t||this[g].mount_state===Ot)return;s==null||s(!this[g].is_appeared),this[g].mount_state=$t,this.forceUpdate(()=>{c==null||c(!this[g].is_appeared),fe(this[g].timer),this[g].timer=je(()=>{this[g].mount_state=Ot,this.forceUpdate(),this[g].is_appeared=!0,a==null||a()},t)})}else{if(this[g].mount_state===An||this[g].mount_state===In||this[g].mount_state===Yt)return;f==null||f(),this[g].mount_state=In,this.forceUpdate(()=>{l==null||l(),fe(this[g].timer),this[g].timer=je(()=>{this[g].mount_state=Yt,this.forceUpdate(),u==null||u(),r&&(this[g].is_mounted=!1,this[g].mount_state=An,this.forceUpdate())},t)})}},[e,t]),this[g].is_mounted?(h&&(this[g].mount_state===$t?this[g].is_appeared?this[g][de]=h.appearActive:this[g][de]=h.enterActive:this[g].mount_state===Ot?this[g].is_appeared?this[g][de]=h.appearDone:this[g][de]=h.enterDone:this[g].mount_state===In?this[g][de]=h.exitActive:this[g].mount_state===Yt&&(this[g][de]=h.exitDone)),p):null}function to({in:e,timeout:t=k.defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:s=!1,children:c,onEnter:a,onEntering:f,onEntered:l,onExit:u,onExiting:p,onExited:h}){return typeof n=="string"&&(n={appear:`${n}-enter ${n}-appear`,appearActive:`${n}-enter-active ${n}-appear-active`,appearDone:`${n}-enter-done ${n}-appear-done`,enter:`${n}-enter`,enterActive:`${n}-enter-active`,enterDone:`${n}-enter-done`,exit:`${n}-exit`,exitActive:`${n}-exit-active`,exitDone:`${n}-exit-done`}),createComponent(eo,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:a,onEntering:f,onEntered:l,onExit:u,onExiting:p,onExited:h,_classNames:n},c)}function ss({children:e,activeKey:t,mode:n="out-in",timeout:r=k.defaultTransitionTimeout,classNames:o="switch",mountOnEnter:s=!1,unmountOnExit:c=!1,appear:a=!1,onExited:f,onEnter:l,onExiting:u,onEntered:p,...h}){let d=vt(()=>Fe.toArray(e),[e]),[y,m]=te(null),[w,x]=te(!1),[v,_]=te(!0),E=N(t),$=N(t),S=N(y);Re(()=>{$.current=t},[t]),Re(()=>{S.current=y},[y]),Re(()=>{let O=E.current;O!==t&&(E.current=t,m(O),n==="out-in"?(_(!1),x(!0)):(_(!0),x(!1)))},[t,n]);let T=O=>(V,U)=>{typeof f=="function"&&f(V,U),O===S.current&&(m(null),n==="out-in"&&(x(!1),_(!0)),n==="in-out"&&x(!1))},C=O=>(V,U)=>{typeof p=="function"&&p(V,U),n==="in-out"&&O===$.current&&S.current!=null&&x(!0)};return createComponent("div",{style:{position:"relative"}},d.map((O,V)=>{var De;let U=((De=O==null?void 0:O.props)==null?void 0:De.key)||V,It=U===t?v:U===y?!w:!1;return createComponent(to,{...h,key:U,in:It,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:c,appear:a,onEnter:l,onExiting:u,onEntered:C(U),onExited:T(U)},createComponent("div",{style:{position:"absolute",inset:0}},O))}))}function cs({children:e}){return e}var Rn={};Q(Rn,{addWrappedEventListener:()=>ls,createSyntheticEvent:()=>no,releaseSyntheticEvent:()=>ro,wrapListener:()=>oo});typeof Element!="undefined"&&!Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1});typeof Event!="undefined"&&!Event.prototype.composedPath&&(Event.prototype.composedPath=function(){for(var e=[],t=this.target;t;)e.push(t),t=t.parentElement;return e.push(window),e});var Gt=[],as=10,us=["mouse","pen","touch"];function no(e,t){var r,o,s,c,a,f,l,u,p,h,d,y,m,w,x,v,_,E,$,S,T,C;let n=Gt.length?Gt.pop():{};n.nativeEvent=e,n.type=e.type,n.target=e.target||e.srcElement||null,n.currentTarget=t||e.currentTarget||null,n.timeStamp=e.timeStamp||Date.now(),n.defaultPrevented=!!e.defaultPrevented,n.isPropagationStopped=!1,n.isPersistent=!1,n.bubbles=!!e.bubbles,n.cancelable=!!e.cancelable,n.composed=!!e.composed,n.detail=e.detail,n.relatedTarget=e.relatedTarget||(e.fromElement?e.fromElement:null)||(e.toElement?e.toElement:null)||null,n.altKey=!!e.altKey,n.ctrlKey=!!e.ctrlKey,n.metaKey=!!e.metaKey,n.shiftKey=!!e.shiftKey,n.isDefaultPrevented=()=>n.defaultPrevented,n.preventDefault=()=>{e.preventDefault&&e.preventDefault(),n.defaultPrevented=!0},n.stopPropagation=()=>{e.stopPropagation&&e.stopPropagation(),n.isPropagationStopped=!0},n.persist=()=>{n.isPersistent=!0},n.key=e.key||null,n.code=e.code||null,n.which=(o=(r=e.which)!=null?r:e.keyCode)!=null?o:null,n.button=(s=e.button)!=null?s:null,n.buttons=(c=e.buttons)!=null?c:null,n.pointerId=(a=e.pointerId)!=null?a:null,n.pointerType=(f=e.pointerType)!=null?f:null,n.isPrimary=(l=e.isPrimary)!=null?l:null,n.clientX=(u=e.clientX)!=null?u:0,n.clientY=(p=e.clientY)!=null?p:0,n.screenX=(h=e.screenX)!=null?h:0,n.screenY=(d=e.screenY)!=null?d:0,n.pageX=(y=e.pageX)!=null?y:null,n.pageY=(m=e.pageY)!=null?m:null,n.movementX=(w=e.movementX)!=null?w:0,n.movementY=(x=e.movementY)!=null?x:0,n.pressure=(v=e.pressure)!=null?v:null,n.tiltX=(_=e.tiltX)!=null?_:null,n.tiltY=(E=e.tiltY)!=null?E:null,n.width=($=e.width)!=null?$:null,n.height=(S=e.height)!=null?S:null,n.pointerEventsSupported=us.includes(n.pointerType);try{let O=n.target;n.value=O&&"value"in O?O.value:void 0,n.checked=O&&"checked"in O?O.checked:void 0,n.selectionStart=O&&"selectionStart"in O?O.selectionStart:void 0,n.selectionEnd=O&&"selectionEnd"in O?O.selectionEnd:void 0}catch(O){n.value=void 0,n.checked=void 0,n.selectionStart=void 0,n.selectionEnd=void 0}return n.touches=e.touches||null,n.targetTouches=e.targetTouches||null,n.changedTouches=e.changedTouches||null,n.path=typeof e.composedPath=="function"?e.composedPath():[n.target],n.repeat=(T=e.repeat)!=null?T:!1,n.location=(C=e.location)!=null?C:0,n}function ro(e){e&&!e.isPersistent&&(e.nativeEvent=null,e.type=null,e.target=null,e.currentTarget=null,e.timeStamp=0,e.defaultPrevented=!1,e.isPropagationStopped=!1,e.isPersistent=!1,e.isDefaultPrevented=null,e.preventDefault=null,e.stopPropagation=null,e.persist=null,e.bubbles=!1,e.cancelable=!1,e.composed=!1,e.detail=void 0,e.relatedTarget=null,e.altKey=!1,e.ctrlKey=!1,e.metaKey=!1,e.shiftKey=!1,e.key=null,e.code=null,e.which=null,e.button=null,e.buttons=null,e.pointerId=null,e.pointerType=null,e.isPrimary=null,e.clientX=0,e.clientY=0,e.screenX=0,e.screenY=0,e.pageX=null,e.pageY=null,e.movementX=0,e.movementY=0,e.pressure=null,e.tiltX=null,e.tiltY=null,e.width=null,e.height=null,e.value=void 0,e.checked=void 0,e.selectionStart=void 0,e.selectionEnd=void 0,e.touches=null,e.targetTouches=null,e.changedTouches=null,e.path=null,e.repeat=!1,e.location=0,Gt.length<as&&Gt.push(e))}function oo(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,c=no(o,s);try{let a=e(c);n&&a===!0&&c.stopPropagation()}finally{ro(c)}}}function ls(e,t,n,r={}){let o=oo(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var Nn={};Q(Nn,{Provider:()=>fs,combineReducers:()=>ds,connect:()=>hs,useDispatch:()=>ps,useSelector:()=>io,useStore:()=>Ht});var At;function fs({store:e,children:t}){return At!=null||(At=rt(null)),createComponent(At.Provider,{value:e},t)}function Ht(){let e=ot(At);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function ps(){return Ht().dispatch}function io(e,t=(n,r)=>n===r){let n=Ht(),r=N(),o=N(e);o.current=e;let[s,c]=te(()=>e(n.getState()));return r.current=s,ne(()=>{function a(){let l=o.current(n.getState());t(r.current,l)||(r.current=l,c(l))}let f=n.subscribe(a);return a(),f},[n,t]),s}function hs(e,t){let n=!!e;return function(o){function s(c){let a=Ht(),f={dispatch:a.dispatch};if(typeof t=="function")f=t(a.dispatch,c);else if(typeof t=="object"&&t!==null){f={};let p=a.dispatch;for(let h in t){let d=t[h];f[h]=(...y)=>p(d(...y))}}let l={};e&&(l=io(h=>e(h,c),se)||{});let u={...c,...l,...f};return createComponent(o,{...u})}return s}}function ds(e){let t=Object.keys(e);for(let n of t)if(typeof e[n]!="function")throw new Error(`combineReducers: reducer for key "${n}" is not a function`);return function(r={},o){let s=!1,c={};for(let a of t){let f=e[a],l=r[a],u=f(l,o);c[a]=u,s=s||u!==l}return s?c:r}}var Pn={};Q(Pn,{blocks_info:()=>Ts,error:()=>vs,globalErrorHandler:()=>Es,scanBlockLabels:()=>ks,traceError:()=>co});function Zt(e){let t=Number(e);return Number.isFinite(t)?t:null}function ms(e){if(e instanceof Error)return e;if((e==null?void 0:e.error)instanceof Error)return e.error;let t=new Error((e==null?void 0:e.message)==null?String(e):String(e.message));if(e&&typeof e=="object"){e.name&&(t.name=e.name),e.stack&&(t.stack=e.stack);for(let n of Object.keys(e))n in t||(t[n]=e[n])}return t}function so(e){return(e==null?void 0:e.name)==="JSXParserError"}function ys(e){if(typeof e!="string")return null;for(let t of e.split(/\r?\n/)){let n=t.match(/(eval:\/.*):(\d+):(\d+)/);if(n)return{path:n[1].replace(/^eval:\/+/,""),line:Number(n[2])-1,column:Number(n[3])-1}}return null}function gs(e){var r,o,s,c;let t=Zt((o=(r=e==null?void 0:e.lineNumber)!=null?r:e==null?void 0:e.lineno)!=null?o:e==null?void 0:e.line),n=Zt((c=(s=e==null?void 0:e.columnNumber)!=null?s:e==null?void 0:e.colno)!=null?c:e==null?void 0:e.column);return{line:t==null?null:Math.max(0,t-1),column:n==null?null:Math.max(0,n-1)}}function bs(e){let t=e==null?void 0:e.lilact_trace;return Array.isArray(t)?t[0]:t}function ws(e){var n,r;let t=bs(e);return t==null?null:(r=(n=k.blocks_info)==null?void 0:n.labels)==null?void 0:r[t]}function xs(e,t,n){if(!Array.isArray(e)||!e.length||!Number.isFinite(t)||!Number.isFinite(n))return{line:t,column:n};let r=e.filter(l=>Array.isArray(l)&&l.length>=4&&l.slice(0,4).every(u=>Number.isFinite(Number(u)))).sort((l,u)=>Number(l[0])-Number(u[0])||Number(l[1])-Number(u[1]));if(!r.length)return{line:t,column:n};let o=r[0];for(let l of r){let u=Number(l[0]),p=Number(l[1]);if(u<t||u===t&&p<=n)o=l;else break}let s=Number(o[0]),c=Number(o[1]),a=Number(o[2]),f=Number(o[3]);return{line:a+(t===s?0:t-s),column:t===s?Math.max(0,f+n-c):f}}function co(e,t){var h,d,y,m,w,x;if(e!=null&&e.isTraced)return e;let n=ms(e),r=n.lilact_source,o=so(n)?null:ys(n.stack),s=so(n)?{line:Zt(n.lineNumber),column:Zt(n.columnNumber)}:gs(n),c=(r==null?void 0:r.path)||(o==null?void 0:o.path)||n.fileName||t||null,a=(d=(h=o==null?void 0:o.line)!=null?h:s.line)!=null?d:null,f=(m=(y=o==null?void 0:o.column)!=null?y:s.column)!=null?m:null,l={fileName:c,lineNumber:a,columnNumber:f,message:n.message==null?String(n):String(n.message),name:n.name||"Error",stack:n.stack||null,lilact_source:r||null,_error:n,isTraced:!0},u=c&&Ce[c];if(u){let v=xs(u.mappings,l.lineNumber,l.columnNumber);l.lineNumber=v.line,l.columnNumber=v.column}let p=ws(n);return p&&(l.lineNumber==null||l.columnNumber==null||!l.fileName)&&(l.fileName||(l.fileName=p.path||t||null),(w=l.lineNumber)!=null||(l.lineNumber=p.line),(x=l.columnNumber)!=null||(l.columnNumber=p.col),l.label=p.desc),k.error=l,l}function Jt(e){return String(e!=null?e:"").replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#39;")}function _s(e,t){var r,o,s,c;if(!e||!Number.isFinite(t))return null;let n=String((r=e.code)!=null?r:"").split(/\r?\n/);return{before:(o=n[t-1])!=null?o:"",current:(s=n[t])!=null?s:"",after:(c=n[t+1])!=null?c:""}}function Es(e){var l,u;let t=(e==null?void 0:e.error)instanceof Error?e.error:(e==null?void 0:e.reason)!==void 0?e.reason:e,n=co(t,(e==null?void 0:e.fileName)||null),r=_s(Ce[n.fileName],n.lineNumber),o=mn(`
60
60
  background: linear-gradient(135deg, #fff2f2d4, #ffffffd4);
61
61
  backdrop-filter: blur(10px);
62
62
  border: 1px solid rgba(255,255,255,.25);
@@ -76,52 +76,52 @@ var rr=Object.defineProperty;var So=(e,t,n)=>t in e?rr(e,t,{enumerable:!0,config
76
76
  padding: 10px;
77
77
  display: block;
78
78
  }
79
- `),a=document.createElement("dialog");a.className=c;let l=r.fileName?`At ${Ht(r.fileName)}`:"",f=Number.isFinite(r.lineNumber)?`: Line ${r.lineNumber+1}`:"",u=((p=r._error)==null?void 0:p.componentStackLog)||((m=r._error)==null?void 0:m.componentStack)||"";if(a.innerHTML=`
79
+ `),s=document.createElement("dialog");s.className=o;let c=n.fileName?`At ${Jt(n.fileName)}`:"",a=Number.isFinite(n.lineNumber)?`: Line ${n.lineNumber+1}`:"",f=((l=n._error)==null?void 0:l.componentStackLog)||((u=n._error)==null?void 0:u.componentStack)||"";if(s.innerHTML=`
80
80
  <h3><red>Error!</red></h3>
81
- <b>${l}${f}</b><br><br>
82
- <b>${Ht(r.name)}</b>:
83
- <span>${Ht(r.message)}</span>
81
+ <b>${c}${a}</b><br><br>
82
+ <b>${Jt(n.name)}</b>:
83
+ <span>${Jt(n.message)}</span>
84
84
  <br><br>
85
85
 
86
- ${s?"<code><pre></pre><red><pre></pre></red><pre></pre></code>":""}
86
+ ${r?"<code><pre></pre><red><pre></pre></red><pre></pre></code>":""}
87
87
 
88
- ${u?`
88
+ ${f?`
89
89
  <br>
90
90
  Component Stack:
91
91
  <br>
92
- <code><pre>${Ht(u)}</pre></code>
92
+ <code><pre>${Jt(f)}</pre></code>
93
93
  `:""}
94
- `,s){let h=a.querySelectorAll("pre");h[0].innerText=s.before,h[1].innerText=s.current,h[2].innerText=s.after}return document.body.appendChild(a),typeof a.showModal=="function"?a.showModal():a.setAttribute("open",""),r}function Cs(e,t){let n=String(e).matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//gm);for(let r of n){let o=r[1];k.blocks_info.labels[o]={path:t,line:Number(r[2]),col:Number(r[3]),desc:r[4]}}}var $s={counter:0,labels:{}},Os=null;var Fn={};z(Fn,{HashRouter:()=>Ns,Link:()=>Is,NavLink:()=>Rs,Route:()=>js,Routes:()=>lo,useLocation:()=>Mn,useNavigate:()=>Un});var jn=rt(null),Ln=rt({params:{}}),Dn=e=>typeof e=="string"?e:(e.pathname||"")+(e.search||"")+(e.hash||""),As=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Ns({children:e,basename:t=""}){let n=()=>{var y;let a=(window.location.hash||"#/").slice(1),l=new RegExp("^"+As(t)),f=a.replace(l,"")||"/",[u,p]=f.split("#"),[m,h=""]=u.split("?");return{pathname:m||"/",search:h?"?"+h:"",hash:p?"#"+p:"",state:(y=history.state)==null?void 0:y.__state}},[r,o]=te(n);ne(()=>{let c=()=>o(n());return window.addEventListener("hashchange",c),window.addEventListener("popstate",c),c(),()=>{window.removeEventListener("hashchange",c),window.removeEventListener("popstate",c)}},[t]);let s=ye((c,{replace:a=!1,state:l}={})=>{if(typeof c=="number")return new Promise(p=>{let m=!1,h=g=>{m||(m=!0,window.removeEventListener("popstate",y),window.removeEventListener("hashchange",d),g==null||g(),p())},y=()=>h(()=>o(n())),d=()=>h(()=>o(n()));window.addEventListener("popstate",y,{once:!0}),window.addEventListener("hashchange",d,{once:!0}),setTimeout(()=>h(()=>o(n())),0),history.go(c)});let f=Dn(c),u="#"+(t+f);a?history.replaceState({__state:l},"",u):history.pushState({__state:l},"",u),o(n())},[t]);return createComponent(jn.Provider,{value:{location:r,navigate:s,basename:t}},e)}function Mn(){let e=ot(jn);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function Un(){let e=ot(jn);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function Is({to:e,replace:t=!1,state:n,onClick:r,target:o,download:s,className:c,style:a,children:l,...f}){let u=Un(),p="#"+Dn(e);function m(h){r&&r(h),!(h.defaultPrevented||h.button!==0||o&&o!=="_self"||h.metaKey||h.altKey||h.ctrlKey||h.shiftKey)&&(h.preventDefault(),u(e,{replace:t,state:n}))}return createComponent("a",{...f,href:p,onClick:m,target:o,download:s,className:c,style:a},l)}function Jt(e){return e&&e.replace(/\/+$/,"")||"/"}function Rs({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:s,target:c,download:a,replace:l=!1,state:f,children:u,onClick:p,...m}){let h=Un(),y=Mn(),d=typeof e=="string"?e.split("?")[0].split("#")[0]:e.pathname||"/",g=y.pathname||"/",x=t?Jt(g)===Jt(d):Jt(g).startsWith(Jt(d)),E=[typeof r=="function"?r({isActive:x}):r,x?n:null].filter(Boolean).join(" ")||void 0,_=typeof s=="function"?s({isActive:x}):s,$=x?{..._||{},...o||{}}:_,v="#"+Dn(e);function T(C){p&&p(C),!(C.defaultPrevented||C.button!==0||C.metaKey||C.altKey||C.ctrlKey||C.shiftKey)&&(C.preventDefault(),h(e,{replace:l,state:f}))}return createComponent("a",{...m,href:v,onClick:T,target:c,download:a,className:E,style:$,"aria-current":x?"page":void 0},typeof u=="function"?u({isActive:x}):u)}function Ps(e){let t=[],n="^"+e.replace(/\/+$/,"").replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1").replace(/\\\:([A-Za-z0-9_]+)/g,(o,s)=>(t.push(s),"([^/]+)")).replace(/\\\*$/g,"(.+?)?");return n+="/?$",{regex:new RegExp(n),paramNames:t}}function Ls(e,t){if(e==null)return{matched:!0,params:{}};let{regex:n,paramNames:r}=Ps(e),o=n.exec(t);if(!o)return{matched:!1};let s={};return r.forEach((c,a)=>s[c]=decodeURIComponent(o[a+1]||"")),o.length>r.length+1&&(s["*"]=o[r.length+1]?decodeURIComponent(o[r.length+1]):void 0),{matched:!0,params:s}}function js({path:e,element:t=null,children:n}){return null}function lo({children:e}){var o;let n=Mn().pathname||"/",r=Fe.toArray(e);for(let s=0;s<r.length;s++){let c=r[s],a=c.props.path===void 0?null:c.props.path,l=(o=c.props.element)!=null?o:null,f=c.props.children,{matched:u,params:p}=Ls(a,n);if(u)return l?createComponent(Ln.Provider,{value:{params:p}},l):f?createComponent(Ln.Provider,{value:{params:p}},createComponent(lo,{},f)):createComponent(Ln.Provider,{value:{params:p}},createComponent("div",{}))}return null}var Wn={};z(Wn,{DragHandle:()=>fo,ErrorBoundary:()=>qn,Spinner:()=>Ms,SplitPane:()=>Us,Suspense:()=>Qt});var{css:Ca,cx:Ds}=yt;function Ms({size:e=48,className:t,style:n,color:r="currentColor",strokeWidth:o=3,"aria-label":s="Loading"}){let c=Math.max(1,e)+"px";return createComponent("div",{className:t,style:{width:"100%",height:"100%",display:"grid",placeItems:"center",...n},"aria-label":s,role:"status"},createComponent("div",{style:{width:c,height:c,borderRadius:"50%",border:`${o}px solid rgba(0,0,0,0.15)`,borderTopColor:r,animation:"ddSpinnerSpin 0.9s linear infinite",boxSizing:"border-box"}}),createComponent("style",{},`
94
+ `,r){let p=s.querySelectorAll("pre");p[0].innerText=r.before,p[1].innerText=r.current,p[2].innerText=r.after}return document.body.appendChild(s),typeof s.showModal=="function"?s.showModal():s.setAttribute("open",""),n}function ks(e,t){for(let n of String(e).matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//gm))k.blocks_info.labels[n[1]]={path:t,line:Number(n[2]),col:Number(n[3]),desc:n[4]}}var Ts={counter:0,labels:{}},vs=null;var Fn={};Q(Fn,{HashRouter:()=>Cs,Link:()=>$s,NavLink:()=>Os,Route:()=>Ls,Routes:()=>ao,useLocation:()=>Un,useNavigate:()=>qn});var Dn=rt(null),jn=rt({params:{}}),Mn=e=>typeof e=="string"?e:(e.pathname||"")+(e.search||"")+(e.hash||""),Ss=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Cs({children:e,basename:t=""}){let n=()=>{var y;let a=(window.location.hash||"#/").slice(1),f=new RegExp("^"+Ss(t)),l=a.replace(f,"")||"/",[u,p]=l.split("#"),[h,d=""]=u.split("?");return{pathname:h||"/",search:d?"?"+d:"",hash:p?"#"+p:"",state:(y=history.state)==null?void 0:y.__state}},[r,o]=te(n);ne(()=>{let c=()=>o(n());return window.addEventListener("hashchange",c),window.addEventListener("popstate",c),c(),()=>{window.removeEventListener("hashchange",c),window.removeEventListener("popstate",c)}},[t]);let s=ye((c,{replace:a=!1,state:f}={})=>{if(typeof c=="number")return new Promise(p=>{let h=!1,d=w=>{h||(h=!0,window.removeEventListener("popstate",y),window.removeEventListener("hashchange",m),w==null||w(),p())},y=()=>d(()=>o(n())),m=()=>d(()=>o(n()));window.addEventListener("popstate",y,{once:!0}),window.addEventListener("hashchange",m,{once:!0}),setTimeout(()=>d(()=>o(n())),0),history.go(c)});let l=Mn(c),u="#"+(t+l);a?history.replaceState({__state:f},"",u):history.pushState({__state:f},"",u),o(n())},[t]);return createComponent(Dn.Provider,{value:{location:r,navigate:s,basename:t}},e)}function Un(){let e=ot(Dn);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function qn(){let e=ot(Dn);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function $s({to:e,replace:t=!1,state:n,onClick:r,target:o,download:s,className:c,style:a,children:f,...l}){let u=qn(),p="#"+Mn(e);function h(d){r&&r(d),!(d.defaultPrevented||d.button!==0||o&&o!=="_self"||d.metaKey||d.altKey||d.ctrlKey||d.shiftKey)&&(d.preventDefault(),u(e,{replace:t,state:n}))}return createComponent("a",{...l,href:p,onClick:h,target:o,download:s,className:c,style:a},f)}function zt(e){return e&&e.replace(/\/+$/,"")||"/"}function Os({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:s,target:c,download:a,replace:f=!1,state:l,children:u,onClick:p,...h}){let d=qn(),y=Un(),m=typeof e=="string"?e.split("?")[0].split("#")[0]:e.pathname||"/",w=y.pathname||"/",x=t?zt(w)===zt(m):zt(w).startsWith(zt(m)),_=[typeof r=="function"?r({isActive:x}):r,x?n:null].filter(Boolean).join(" ")||void 0,E=typeof s=="function"?s({isActive:x}):s,$=x?{...E||{},...o||{}}:E,S="#"+Mn(e);function T(C){p&&p(C),!(C.defaultPrevented||C.button!==0||C.metaKey||C.altKey||C.ctrlKey||C.shiftKey)&&(C.preventDefault(),d(e,{replace:f,state:l}))}return createComponent("a",{...h,href:S,onClick:T,target:c,download:a,className:_,style:$,"aria-current":x?"page":void 0},typeof u=="function"?u({isActive:x}):u)}function As(e){let t=[],n="^"+e.replace(/\/+$/,"").replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1").replace(/\\\:([A-Za-z0-9_]+)/g,(o,s)=>(t.push(s),"([^/]+)")).replace(/\\\*$/g,"(.+?)?");return n+="/?$",{regex:new RegExp(n),paramNames:t}}function Is(e,t){if(e==null)return{matched:!0,params:{}};let{regex:n,paramNames:r}=As(e),o=n.exec(t);if(!o)return{matched:!1};let s={};return r.forEach((c,a)=>s[c]=decodeURIComponent(o[a+1]||"")),o.length>r.length+1&&(s["*"]=o[r.length+1]?decodeURIComponent(o[r.length+1]):void 0),{matched:!0,params:s}}function Ls({path:e,element:t=null,children:n}){return null}function ao({children:e}){var o;let n=Un().pathname||"/",r=Fe.toArray(e);for(let s=0;s<r.length;s++){let c=r[s],a=c.props.path===void 0?null:c.props.path,f=(o=c.props.element)!=null?o:null,l=c.props.children,{matched:u,params:p}=Is(a,n);if(u)return f?createComponent(jn.Provider,{value:{params:p}},f):l?createComponent(jn.Provider,{value:{params:p}},createComponent(ao,{},l)):createComponent(jn.Provider,{value:{params:p}},createComponent("div",{}))}return null}var Wn={};Q(Wn,{DragHandle:()=>uo,ErrorBoundary:()=>Kn,Spinner:()=>Ns,SplitPane:()=>Ps,Suspense:()=>en});var{css:ka,cx:Rs}=gt;function Ns({size:e=48,className:t,style:n,color:r="currentColor",strokeWidth:o=3,"aria-label":s="Loading"}){let c=Math.max(1,e)+"px";return createComponent("div",{className:t,style:{width:"100%",height:"100%",display:"grid",placeItems:"center",...n},"aria-label":s,role:"status"},createComponent("div",{style:{width:c,height:c,borderRadius:"50%",border:`${o}px solid rgba(0,0,0,0.15)`,borderTopColor:r,animation:"ddSpinnerSpin 0.9s linear infinite",boxSizing:"border-box"}}),createComponent("style",{},`
95
95
  @keyframes ddSpinnerSpin { to { transform: rotate(360deg); } }
96
- `))}var qn=class extends Ne{constructor(){super(...arguments);ee(this,"displayName","ErrorBoundary");ee(this,"state",{hasError:!1,error:null});ee(this,"reset",()=>this.setState({hasError:!1,error:null}))}static getDerivedStateFromError(n){return{hasError:!0,error:n}}componentDidCatch(n,r){let{onError:o}=this.props;try{o&&o(n,r)}catch(s){console.error("onError threw",s)}}render(){let{Fallback:n,children:r}=this.props;return this.state.hasError?createComponent(n,{error:this.state.error,reset:this.reset}):r}},Qt=class extends Ne{constructor(n){super(n);ee(this,"displayName","Suspense");this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(n){if(Ft(n))return null;throw n}componentDidCatch(n,r){Ft(n)&&this._attachPromise(n)}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(fe(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(fe(this._minShowTimer),this._minShowTimer=null)}_attachPromise(n){if(this._pending.has(n))return;if(this._pending.add(n),this._pending.size===1){let o=Math.max(0,this.props.minDelay);this._delayTimer&&(fe(this._delayTimer),this._delayTimer=null),this._delayTimer=Le(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},o)}let r=()=>{if(this._pending.has(n)&&this._pending.delete(n),this._pending.size===0){if(this._delayTimer){fe(this._delayTimer),this._delayTimer=null,this.setState({showingFallback:!1});return}let o=Date.now()-(this._fallbackShownAt||0),s=Math.max(0,this.props.minShowTime-o);s===0?this.setState({showingFallback:!1}):(this._minShowTimer&&(fe(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=Le(()=>{this._minShowTimer=null,this.setState({showingFallback:!1})},s))}};n.then(r,r)}render(){return this.state.showingFallback?createComponent(Fragment,{},this.props.fallback):createComponent(Fragment,{},this.props.children)}};ee(Qt,"defaultProps",{minDelay:200,minShowTime:300});function fo({onDelta:e,onStart:t,onEnd:n,style:r,className:o,children:s,data:c}){let a=P(null),l=P(0),f=P(0),u=P(0),p=P(0),m=P(!1),[h,y]=te(!1),d=ye(()=>{a.current=null,m.current=!1,l.current=0,f.current=0,u.current=0,p.current=0,y(!1)},[]),g=ye((v,T)=>{let C=v-l.current,O=T-f.current;return{dx:C,dy:O}},[]),x=ye((v="up")=>{m.current&&(n==null||n(v),d())},[n,d]),S=ye(v=>{if(!(v.button!=null&&v.button!==0)){m.current=!0,a.current=v.pointerId,l.current=v.clientX,f.current=v.clientY,u.current=v.clientX,p.current=v.clientY,y(!0),t==null||t(c);try{v.currentTarget.setPointerCapture(v.pointerId)}catch(T){}}},[t]),E=ye(v=>{if(!m.current||a.current!==v.pointerId)return;let{dx:T,dy:C}=g(v.clientX,v.clientY);e==null||e(T,C,c),u.current=v.clientX,p.current=v.clientY},[g,e]),_=ye(v=>{a.current===v.pointerId&&x("up",c)},[x]),$=ye(v=>{a.current===v.pointerId&&x("cancel",c)},[x]);return createComponent("div",{role:"button",tabIndex:0,style:{...r,touchAction:"none"},className:Ds(o,h?"dragging":""),onPointerDown:S,onPointerMove:E,onPointerUp:_,onPointerCancel:$},s)}var Us=gn(function({mode:t="horizontal",position:n,defaultPosition:r=.5,min:o=.1,max:s=.9,splitterSize:c=8,onSizeChange:a,resizePolicy:l="proportional",style:f,className:u,firstPaneStyle:p,secondPaneStyle:m,splitterStyle:h,splitterChild:y,children:d},g){let x=P(null),S=P({w:0,h:0}),[E,_]=te(t==="vertical"?"vertical":"horizontal"),$=P(E),[v,T]=te(r),C=P(v),O=P(void 0),V=P(l);ne(()=>{V.current=l},[l]),$.current=E,ne(()=>{C.current=v},[v]),Ie(()=>{_(t==="vertical"?"vertical":"horizontal")},[t]);let U=(A,R,xe,pe)=>Fs(A,o,s,R==="vertical"?pe:xe,c),be=Tt(()=>{let A=n==null?v:n,{w:R,h:xe}=S.current;return(t==="vertical"?xe>0:R>0)?U(A,$.current,R,xe):A},[n,v,o,s,c,t]);ne(()=>{O.current=be},[be]);let Ce=A=>{let R=$.current,{w:xe,h:pe}=S.current;if(R==="vertical"?pe<=0:xe<=0){n==null&&T(A),a==null||a(A);return}let Q=U(A,R,xe,pe);n==null&&T(Q),O.current=Q,a==null||a(Q)};_n(g,()=>({setPosition:Ce,setMode:A=>_(A==="vertical"?"vertical":"horizontal"),getPosition:()=>{var A;return(A=O.current)!=null?A:be},getMode:()=>$.current}));let At=P(!1);Ie(()=>{let A=x.current;if(!A)return;let R=new ResizeObserver(xe=>{var nr;let pe=A.getBoundingClientRect(),Q=S.current,oe={w:pe.width,h:pe.height};S.current=oe;let at=$.current,To=at==="vertical"?Q.h>0:Q.w>0,er=at==="vertical"?oe.h>0:oe.w>0;if(!At.current&&er){At.current=!0;let ie=n==null?C.current:n,X=U(ie,at,oe.w,oe.h);n==null&&T(X),O.current=X,a==null||a(X);return}if(!To||!er)return;let $e=(nr=O.current)!=null?nr:be,tr=V.current,Oe=c;if(tr==="fixFirst")if(at==="vertical"){let ie=Q.h-Oe,X=oe.h-Oe;if(ie>0&&X>0){let he=$e*ie/X;Math.abs(he-$e)>Zt&&Ce(he)}}else{let ie=Q.w-Oe,X=oe.w-Oe;if(ie>0&&X>0){let he=$e*ie/X;Math.abs(he-$e)>Zt&&Ce(he)}}else if(tr==="fixSecond")if(at==="vertical"){let ie=Q.h-Oe,X=oe.h-Oe;if(ie>0&&X>0){let he=1-(1-$e)*ie/X;Math.abs(he-$e)>Zt&&Ce(he)}}else{let ie=Q.w-Oe,X=oe.w-Oe;if(ie>0&&X>0){let he=1-(1-$e)*ie/X;Math.abs(he-$e)>Zt&&Ce(he)}}});return R.observe(A),()=>R.disconnect()},[o,s,c,a,n]);let je=P(be),[Hn,Jn]=te(!1);ne(()=>{Hn||(je.current=be)},[be,Hn]);let wo=()=>{var A;Jn(!0),je.current=(A=O.current)!=null?A:be},xo=(A,R)=>{let xe=$.current,{w:pe,h:Q}=S.current;if(xe==="horizontal"){let oe=pe>0?pe:1;Ce(je.current+A/oe)}else{let oe=Q>0?Q:1;Ce(je.current+R/oe)}},Eo=()=>Jn(!1),Zn=Fe.toArray(d),_o=Zn[0],ko=Zn[1],Te=be,{w:Qn,h:zn}=S.current,we={position:"absolute",top:0,left:0,overflow:"auto",...p||{}},Se={position:"absolute",bottom:0,right:0,overflow:"auto",...m||{}},De={background:"rgba(0,0,0,0.08)",boxShadow:"inset 0 0 2px rgba(0,0,0,0.25)",zIndex:1e6,position:"absolute",cursor:E==="horizontal"?"col-resize":"row-resize",touchAction:"none",pointerEvents:"auto",...h||{}};if(E==="horizontal")if(we.bottom=0,Se.top=0,l==="fixFirst"){let A=Qn-c,R=A>0?Te*A:0;we.width=R,Se.left=R+c,Object.assign(De,{top:0,bottom:0,left:R,width:c})}else if(l==="fixSecond"){let A=Qn-c,R=A>0?(1-Te)*A:0;Se.width=R,we.right=R+c,Object.assign(De,{top:0,bottom:0,right:R,width:c})}else we.width=`calc(${Te} * (100% - ${c}px))`,Se.left=`calc(${Te} * (100% - ${c}px) + ${c}px)`,Object.assign(De,{top:0,bottom:0,left:`calc(${Te} * (100% - ${c}px))`,width:c});else if(we.right=0,Se.left=0,l==="fixFirst"){let A=zn-c,R=A>0?Te*A:0;we.height=R,Se.top=R+c,Object.assign(De,{left:0,right:0,top:R,height:c})}else if(l==="fixSecond"){let A=zn-c,R=A>0?(1-Te)*A:0;Se.height=R,we.bottom=R+c,Object.assign(De,{left:0,right:0,bottom:R,height:c})}else we.height=`calc(${Te} * (100% - ${c}px))`,Se.top=`calc(${Te} * (100% - ${c}px) + ${c}px)`,Object.assign(De,{left:0,right:0,top:we.height,height:c});return createComponent("div",{ref:x,className:u,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",...f||{}}},createComponent("div",{style:we},_o),createComponent("div",{style:Se},ko),createComponent(fo,{key:E,onStart:wo,onDelta:xo,onEnd:Eo,style:De,className:"splitter"},y))}),Zt=1e-6,Fs=function(e,t,n,r,o){let s=t,c=n;return typeof s=="function"&&(r>0?s=s(r,o):s=0),typeof c=="function"&&(r>0?c=c(r,o):c=1),s=Math.max(0,Math.min(s,1)),c=Math.max(0,Math.min(c,1)),Math.max(s,Math.min(c,e))};var qs={},ho={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){qs[e]=t,ho[t]=e});function mo(...e){if(typeof e=="number")return po(e);let t="";for(let n=0;n<e.length;n+=1)t+=po(e[n]);return t}function po(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=e&31;e>>>=5,e>0&&(n|=32),t+=ho[n]}while(e>0);return t}var en=new Set(["break","case","catch","class","const","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","in","instanceof","super","switch","this","throw","try","var","while","with","yield","return","true","false","null","undefined","enum","implements","interface","let","package","private","protected","public","static","yield","as","from","of","async","get","set","static","super","delete","void","typeof","new","await"]),Ks=new Set(["(",")","{","}","[","]","...",".","=>",",",";",":","?","++","--","+","-","*","/","%","**",">>","<<",">>>","<<<","&","|","^","~","==","!=","===","!==",">","<",">=","<=","&&","||","??","?.","=","+=","-=","*=","/=","%=","**=","<<=",">>=",">>>=","&=","|=","^=","??=","&&=","||=","!"]);function Bs(e){return/^(?:[+-]?(?:(?:\d(?:\d|_)*)(?:\.(?:\d(?:\d|_)*))?|\.(?:\d(?:\d|_)*))(?:[eE][+-]?(?:\d(?:\d|_)*))?|[+-]?Infinity|[+-]?NaN|[+-]?(?:(?:0[xX](?:[0-9a-fA-F](?:[0-9a-fA-F]|_)*))|(?:0[oO](?:[0-7](?:[0-7]|_)*))|(?:0[bB](?:[01](?:[01]|_)*))|(?:\d(?:\d|_)*))n)$/u.test(e)?!en.has(e):!1}function Vs(e){return/(?:\\u\{[0-9a-fA-F]+\}|\\u[0-9a-fA-F]{4})/g.test(e)?!en.has(e):!1}function Xs(e){return/^(?:[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*)$/u.test(e)?!en.has(e):!1}function Kn(e,t){if(typeof t=="string"){if(e&&e.hasOwnProperty(t))return e[t];if(t.trim()==="")return t.indexOf(`
96
+ `))}var Kn=class extends Le{constructor(){super(...arguments);ee(this,"displayName","ErrorBoundary");ee(this,"state",{hasError:!1,error:null});ee(this,"reset",()=>this.setState({hasError:!1,error:null}))}static getDerivedStateFromError(n){return{hasError:!0,error:n}}componentDidCatch(n,r){let{onError:o}=this.props;try{o&&o(n,r)}catch(s){console.error("onError threw",s)}}render(){let{Fallback:n,children:r}=this.props;return this.state.hasError?createComponent(n,{error:this.state.error,reset:this.reset}):r}},en=class extends Le{constructor(n){super(n);ee(this,"displayName","Suspense");this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(n){if(Ft(n))return null;throw n}componentDidCatch(n,r){Ft(n)&&this._attachPromise(n)}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(fe(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(fe(this._minShowTimer),this._minShowTimer=null)}_attachPromise(n){if(this._pending.has(n))return;if(this._pending.add(n),this._pending.size===1){let o=Math.max(0,this.props.minDelay);this._delayTimer&&(fe(this._delayTimer),this._delayTimer=null),this._delayTimer=je(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},o)}let r=()=>{if(this._pending.has(n)&&this._pending.delete(n),this._pending.size===0){if(this._delayTimer){fe(this._delayTimer),this._delayTimer=null,this.setState({showingFallback:!1});return}let o=Date.now()-(this._fallbackShownAt||0),s=Math.max(0,this.props.minShowTime-o);s===0?this.setState({showingFallback:!1}):(this._minShowTimer&&(fe(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=je(()=>{this._minShowTimer=null,this.setState({showingFallback:!1})},s))}};n.then(r,r)}render(){return this.state.showingFallback?createComponent(Fragment,{},this.props.fallback):createComponent(Fragment,{},this.props.children)}};ee(en,"defaultProps",{minDelay:200,minShowTime:300});function uo({onDelta:e,onStart:t,onEnd:n,style:r,className:o,children:s,data:c}){let a=N(null),f=N(0),l=N(0),u=N(0),p=N(0),h=N(!1),[d,y]=te(!1),m=ye(()=>{a.current=null,h.current=!1,f.current=0,l.current=0,u.current=0,p.current=0,y(!1)},[]),w=ye((S,T)=>{let C=S-f.current,O=T-l.current;return{dx:C,dy:O}},[]),x=ye((S="up")=>{h.current&&(n==null||n(S),m())},[n,m]),v=ye(S=>{if(!(S.button!=null&&S.button!==0)){h.current=!0,a.current=S.pointerId,f.current=S.clientX,l.current=S.clientY,u.current=S.clientX,p.current=S.clientY,y(!0),t==null||t(c);try{S.currentTarget.setPointerCapture(S.pointerId)}catch(T){}}},[t]),_=ye(S=>{if(!h.current||a.current!==S.pointerId)return;let{dx:T,dy:C}=w(S.clientX,S.clientY);e==null||e(T,C,c),u.current=S.clientX,p.current=S.clientY},[w,e]),E=ye(S=>{a.current===S.pointerId&&x("up",c)},[x]),$=ye(S=>{a.current===S.pointerId&&x("cancel",c)},[x]);return createComponent("div",{role:"button",tabIndex:0,style:{...r,touchAction:"none"},className:Rs(o,d?"dragging":""),onPointerDown:v,onPointerMove:_,onPointerUp:E,onPointerCancel:$},s)}var Ps=wn(function({mode:t="horizontal",position:n,defaultPosition:r=.5,min:o=.1,max:s=.9,splitterSize:c=8,onSizeChange:a,resizePolicy:f="proportional",style:l,className:u,firstPaneStyle:p,secondPaneStyle:h,splitterStyle:d,splitterChild:y,children:m},w){let x=N(null),v=N({w:0,h:0}),[_,E]=te(t==="vertical"?"vertical":"horizontal"),$=N(_),[S,T]=te(r),C=N(S),O=N(void 0),V=N(f);ne(()=>{V.current=f},[f]),$.current=_,ne(()=>{C.current=S},[S]),Re(()=>{E(t==="vertical"?"vertical":"horizontal")},[t]);let U=(A,R,xe,pe)=>js(A,o,s,R==="vertical"?pe:xe,c),be=vt(()=>{let A=n==null?S:n,{w:R,h:xe}=v.current;return(t==="vertical"?xe>0:R>0)?U(A,$.current,R,xe):A},[n,S,o,s,c,t]);ne(()=>{O.current=be},[be]);let $e=A=>{let R=$.current,{w:xe,h:pe}=v.current;if(R==="vertical"?pe<=0:xe<=0){n==null&&T(A),a==null||a(A);return}let z=U(A,R,xe,pe);n==null&&T(z),O.current=z,a==null||a(z)};Tn(w,()=>({setPosition:$e,setMode:A=>E(A==="vertical"?"vertical":"horizontal"),getPosition:()=>{var A;return(A=O.current)!=null?A:be},getMode:()=>$.current}));let It=N(!1);Re(()=>{let A=x.current;if(!A)return;let R=new ResizeObserver(xe=>{var rr;let pe=A.getBoundingClientRect(),z=v.current,oe={w:pe.width,h:pe.height};v.current=oe;let ut=$.current,Eo=ut==="vertical"?z.h>0:z.w>0,tr=ut==="vertical"?oe.h>0:oe.w>0;if(!It.current&&tr){It.current=!0;let ie=n==null?C.current:n,X=U(ie,ut,oe.w,oe.h);n==null&&T(X),O.current=X,a==null||a(X);return}if(!Eo||!tr)return;let Oe=(rr=O.current)!=null?rr:be,nr=V.current,Ae=c;if(nr==="fixFirst")if(ut==="vertical"){let ie=z.h-Ae,X=oe.h-Ae;if(ie>0&&X>0){let he=Oe*ie/X;Math.abs(he-Oe)>Qt&&$e(he)}}else{let ie=z.w-Ae,X=oe.w-Ae;if(ie>0&&X>0){let he=Oe*ie/X;Math.abs(he-Oe)>Qt&&$e(he)}}else if(nr==="fixSecond")if(ut==="vertical"){let ie=z.h-Ae,X=oe.h-Ae;if(ie>0&&X>0){let he=1-(1-Oe)*ie/X;Math.abs(he-Oe)>Qt&&$e(he)}}else{let ie=z.w-Ae,X=oe.w-Ae;if(ie>0&&X>0){let he=1-(1-Oe)*ie/X;Math.abs(he-Oe)>Qt&&$e(he)}}});return R.observe(A),()=>R.disconnect()},[o,s,c,a,n]);let De=N(be),[Jn,Zn]=te(!1);ne(()=>{Jn||(De.current=be)},[be,Jn]);let go=()=>{var A;Zn(!0),De.current=(A=O.current)!=null?A:be},bo=(A,R)=>{let xe=$.current,{w:pe,h:z}=v.current;if(xe==="horizontal"){let oe=pe>0?pe:1;$e(De.current+A/oe)}else{let oe=z>0?z:1;$e(De.current+R/oe)}},wo=()=>Zn(!1),zn=Fe.toArray(m),xo=zn[0],_o=zn[1],Te=be,{w:Qn,h:er}=v.current,we={position:"absolute",top:0,left:0,overflow:"auto",...p||{}},ve={position:"absolute",bottom:0,right:0,overflow:"auto",...h||{}},Me={background:"rgba(0,0,0,0.08)",boxShadow:"inset 0 0 2px rgba(0,0,0,0.25)",zIndex:1e6,position:"absolute",cursor:_==="horizontal"?"col-resize":"row-resize",touchAction:"none",pointerEvents:"auto",...d||{}};if(_==="horizontal")if(we.bottom=0,ve.top=0,f==="fixFirst"){let A=Qn-c,R=A>0?Te*A:0;we.width=R,ve.left=R+c,Object.assign(Me,{top:0,bottom:0,left:R,width:c})}else if(f==="fixSecond"){let A=Qn-c,R=A>0?(1-Te)*A:0;ve.width=R,we.right=R+c,Object.assign(Me,{top:0,bottom:0,right:R,width:c})}else we.width=`calc(${Te} * (100% - ${c}px))`,ve.left=`calc(${Te} * (100% - ${c}px) + ${c}px)`,Object.assign(Me,{top:0,bottom:0,left:`calc(${Te} * (100% - ${c}px))`,width:c});else if(we.right=0,ve.left=0,f==="fixFirst"){let A=er-c,R=A>0?Te*A:0;we.height=R,ve.top=R+c,Object.assign(Me,{left:0,right:0,top:R,height:c})}else if(f==="fixSecond"){let A=er-c,R=A>0?(1-Te)*A:0;ve.height=R,we.bottom=R+c,Object.assign(Me,{left:0,right:0,bottom:R,height:c})}else we.height=`calc(${Te} * (100% - ${c}px))`,ve.top=`calc(${Te} * (100% - ${c}px) + ${c}px)`,Object.assign(Me,{left:0,right:0,top:we.height,height:c});return createComponent("div",{ref:x,className:u,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",...l||{}}},createComponent("div",{style:we},xo),createComponent("div",{style:ve},_o),createComponent(uo,{key:_,onStart:go,onDelta:bo,onEnd:wo,style:Me,className:"splitter"},y))}),Qt=1e-6,js=function(e,t,n,r,o){let s=t,c=n;return typeof s=="function"&&(r>0?s=s(r,o):s=0),typeof c=="function"&&(r>0?c=c(r,o):c=1),s=Math.max(0,Math.min(s,1)),c=Math.max(0,Math.min(c,1)),Math.max(s,Math.min(c,e))};var Ds={},fo={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){Ds[e]=t,fo[t]=e});function po(...e){if(typeof e=="number")return lo(e);let t="";for(let n=0;n<e.length;n+=1)t+=lo(e[n]);return t}function lo(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=e&31;e>>>=5,e>0&&(n|=32),t+=fo[n]}while(e>0);return t}var nn=new Set(["break","case","catch","class","const","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","in","instanceof","super","switch","this","throw","try","var","while","with","yield","return","true","false","null","undefined","enum","implements","interface","let","package","private","protected","public","static","yield","as","from","of","async","get","set","static","super","delete","void","typeof","new","await"]),Us=new Set(["(",")","{","}","[","]","...",".","=>",",",";",":","?","++","--","+","-","*","/","%","**",">>","<<",">>>","<<<","&","|","^","~","==","!=","===","!==",">","<",">=","<=","&&","||","??","?.","=","+=","-=","*=","/=","%=","**=","<<=",">>=",">>>=","&=","|=","^=","??=","&&=","||=","!"]);function qs(e){return/^(?:[+-]?(?:(?:\d(?:\d|_)*)(?:\.(?:\d(?:\d|_)*))?|\.(?:\d(?:\d|_)*))(?:[eE][+-]?(?:\d(?:\d|_)*))?|[+-]?Infinity|[+-]?NaN|[+-]?(?:(?:0[xX](?:[0-9a-fA-F](?:[0-9a-fA-F]|_)*))|(?:0[oO](?:[0-7](?:[0-7]|_)*))|(?:0[bB](?:[01](?:[01]|_)*))|(?:\d(?:\d|_)*))n)$/u.test(e)?!nn.has(e):!1}function Fs(e){return/(?:\\u\{[0-9a-fA-F]+\}|\\u[0-9a-fA-F]{4})/g.test(e)?!nn.has(e):!1}function Ks(e){return/^(?:[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*)$/u.test(e)?!nn.has(e):!1}function Bn(e,t){if(typeof t=="string"){if(e&&e.hasOwnProperty(t))return e[t];if(t.trim()==="")return t.indexOf(`
97
97
  `)!==-1?`
98
- `:" ";if(en.has(t))return"K";if(Ks.has(t))return"O";if(Xs(t))return"I";if(Vs(t))return"U";if(Bs(t))return"N"}else if(typeof t=="object"){if(t.type==="comment")return"C";if(t.type==="regexp")return"R";if(t.type==="js")return"J";if(t.type==="paranthesis")return"P";if(t.type==="string")return"S";if(t.type==="xml")return"X"}return"?"}function Bn(e,t=t.bind(null,null)){return e.map(t).join("")}var Ys=/(?:i[C \n]*(?:(?:I|J|(?:\*[C \n]*a[C \n]*I))[C \n]*,[C \n]*)*(?:(?:(?:I(?:[C \n]*a[C \n]*I)?)|J|(?:\*[C \n]*a[C \n]*I))[C \n]*f[C \n]*)?S)|(?:e[C \n]*(?:(?:[*J][C \n]*f[C \n]*S)|(?:d[C \n]*[IFJ])|J|(?:[VF][c \n]*I)|I))|(?:r[c \n]*P)/mg,zt=/O[C \n]*(?:[Id](?:[C \n]*a[C \n]*I)?[C \n]*,[C \n]*)*(?:I(?:[C \n]*a[C \n]*I)?)[C \n]*O/mg;function Vn(e,t){let n=Bn(e.out,Kn.bind(null,{import:"i",export:"e",as:"a",from:"f",",":",",".":".","*":"*",";":";",var:"V",let:"V",const:"V",function:"F",class:"F","=":"=",default:"d",require:"r"})),r,o=(a=1)=>{for(;n[r]===" "||n[r]===`
99
- `||n[r]==="C";)a===1&&(e.out[r]=null),r+=a},s=e.begin,c=[];for(r=0;r<e.out.length;r++)r==0?c.push(e.begin):typeof e.out[r-1]=="string"?c.push(c[r-1]+e.out[r-1].length):c.push(e.out[r-1].end);c.push(e.end);for(let a of n.matchAll(Ys))if(a[0].startsWith("r")){let l=a[0],f=e.out[a.index+l.length-1].out;f.length===1&&f.push(", {requirer:module}")}else if(a[0].startsWith("i")){let l=a[0];if(r=a.index-1,o(-1),n[r]===".")continue;let f=t.substring(e.out[a.index+l.length-1].begin,e.out[a.index+l.length-1].end),u={},p=[],m=[];for(r=a.index+1;r<a.index+l.length-1;r++)switch(e.out.splice(a.index,1,{type:"import",begin:c[a.index],end:c[a.index+l.length],cjs:""}),o(),n[r]){case",":break;case"I":{m.push(e.out[r]);continue}case"J":{let y=Bn(e.out[r].out,Kn.bind(null,{as:"a",",":","}));if(zt.lastIndex=-1,!zt.test(y))throw"incorrect import properties definition.";let d=e.out[r].out;for(let g=1;g<y.length-1;g++){for(;y[g]===" "||y[g]===`
100
- `||y[g]==="C"||y[g]===",";)g++;let x=d[g];for(g++;y[g]===" "||y[g]===`
101
- `||y[g]==="C";)g++;if(y[g]==="a"){for(g++;y[g]===" "||y[g]===`
102
- `||y[g]==="C";)g++;u[d[g]]=x,g++}else u[x]=x}continue}case"*":{r++,o(),r++,o(),p.push(e.out[r]);continue}case"S":for(r=a.index+1;r<a.index+l.length;r++)e.out[r]=null;let h="";for(let y of m)h+=`const ${y} = require(${f},{requirer:module});
103
- `;for(let y of p)h+=`const ${y} = require(${f},{requirer:module, checkExport: ['default']}).default;
104
- `;if(Object.keys(u).length){let y="{",d="[";for(let g in u)y.length>1&&(y+=",",d+=","),g===u[g]?(y+=g,d+=`'${g}'`):(y+=g+":"+u[g],d+=`'${u[g]}'`);y+="}",d+="]",h+=`const ${y} = require(${f}, {checkExport: ${d},requirer:module})`}else h.length===0&&(h+=`require(${f},{requirer:module})`);e.out[a.index].cjs=h;continue}}else{let l=a[0];if(e.out.splice(a.index,1,{type:"export",begin:c[a.index],end:c[a.index+1]}),r=a.index-1,o(-1),n[r]===".")continue;switch(r=a.index+1,o(),n[r]){case"d":e.out[r]=null,e.out[a.index].cjs="module.exports.default =";continue;case"V":{let u=e.out[r];e.out[r]=null,r++,o();let p=e.out[r];e.out[r]=null,r++,o(),e.out[a.index].cjs=`${u} ${p} = module.exports.${p} `;continue}case"F":{let u=e.out[r];e.out[r]=null,r++,o();let p=e.out[r];e.out[a.index].cjs=`module.exports.${p} = ${u} `;continue}case"*":e.out[r]=null,r++,o(),e.out[r]=null,r++,o();let f=t.substring(e.out[r].begin,e.out[r].end);e.out[r]=null,e.out[a.index].cjs=`Object.assign(module.exports, require(${f},{requirer:module}))`;continue;case"I":e.out[a.index].cjs=`module.exports.${e.out[r]} = `;continue;case"J":{let u={},p=Bn(e.out[r].out,Kn.bind(null,{as:"a",",":",",default:"I"}));if(zt.lastIndex=-1,!zt.test(p))throw"incorrect export properties definition.";let m=e.out[r].out;for(let d=1;d<p.length-1;d++){for(;p[d]===" "||p[d]===`
105
- `||p[d]==="C"||p[d]===",";)d++;let g=m[d];for(d++;p[d]===" "||p[d]===`
106
- `||p[d]==="C";)d++;if(p[d]==="a"){for(d++;p[d]===" "||p[d]===`
107
- `||p[d]==="C";)d++;u[m[d]]=g,d++}else u[g]=g}let h="{",y="{";for(let d in u)h.length>1&&(h+=",",y+=","),d===u[d]?(h+=d,y+=d):(h+=d+":"+u[d],y+=u[d]);if(h+="}",y+="}",e.out[r]=null,r++,o(),e.out[r]==="from"){e.out[r]=null,r++,o();let d=t.substring(e.out[r].begin,e.out[r].end);e.out[r]=null,e.out[a.index].cjs=`{ const ${h} = require(${d},{requirer:module}); Object.assign(module.exports, ${y}); }`}else e.out[a.index].cjs=`Object.assign(module.exports, ${h})`;continue}}}}var D={setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"\u0294"},ge,Na=0,yo=/(\{|\}|\[|\]|\(|\)|\.\.\.|=>|\?\?=|\?\?|\?\.|===|!==|>>>|<<=|>>=|>>>=|\*\*=|\*\*|&&=|\|\|=|<=|>=|==|!=|<<|>>|\+\+|--|\+=|-=|\*=|\/=|%=|&=|\^=|\|=|=|\+|-|\*|\/|%|&|\^|\||!|~|\?|:|<|>|=|\.|,|;|\n+|[\s^\n]+)/g;function M(e,t,n,...r){let o=e(t,n,...r);return o?[o.end,o]:[n]}function Gs(code,index,container){let i=index,dels=`;=,([{}!^~&|:?*%-+/<>${D.preprocessorDelimiter}`;for(;--i>0;)if(" \r".indexOf(code[i])===-1){if(code[i]===`
98
+ `:" ";if(nn.has(t))return"K";if(Us.has(t))return"O";if(Ks(t))return"I";if(Fs(t))return"U";if(qs(t))return"N"}else if(typeof t=="object"){if(t.type==="comment")return"C";if(t.type==="regexp")return"R";if(t.type==="js")return"J";if(t.type==="parenthesis")return"P";if(t.type==="string")return"S";if(t.type==="xml")return"X"}return"?"}function Vn(e,t=t.bind(null,null)){return e.map(t).join("")}var Ws=/(?:i[C \n]*(?:(?:I|J|(?:\*[C \n]*a[C \n]*I))[C \n]*,[C \n]*)*(?:(?:(?:I(?:[C \n]*a[C \n]*I)?)|J|(?:\*[C \n]*a[C \n]*I))[C \n]*f[C \n]*)?S)|(?:e[C \n]*(?:(?:[*J][C \n]*f[C \n]*S)|(?:d[C \n]*[IFJ])|J|(?:[VF][c \n]*I)|I))|(?:r[c \n]*P)/mg,tn=/O[C \n]*(?:[Id](?:[C \n]*a[C \n]*I)?[C \n]*,[C \n]*)*(?:I(?:[C \n]*a[C \n]*I)?)[C \n]*O/mg;function Xn(e,t){let n=Vn(e.out,Bn.bind(null,{import:"i",export:"e",as:"a",from:"f",",":",",".":".","*":"*",";":";",var:"V",let:"V",const:"V",function:"F",class:"F","=":"=",default:"d",require:"r"})),r,o=(a=1)=>{for(;n[r]===" "||n[r]===`
99
+ `||n[r]==="C";)a===1&&(e.out[r]=null),r+=a},s=e.begin,c=[];for(r=0;r<e.out.length;r++)r==0?c.push(e.begin):typeof e.out[r-1]=="string"?c.push(c[r-1]+e.out[r-1].length):c.push(e.out[r-1].end);c.push(e.end);for(let a of n.matchAll(Ws))if(a[0].startsWith("r")){let f=a[0],l=e.out[a.index+f.length-1].out;l.length===1&&l.push(", {requirer:module}")}else if(a[0].startsWith("i")){let f=a[0];if(r=a.index-1,o(-1),n[r]===".")continue;let l=t.substring(e.out[a.index+f.length-1].begin,e.out[a.index+f.length-1].end),u={},p=[],h=[];for(r=a.index+1;r<a.index+f.length-1;r++)switch(e.out.splice(a.index,1,{type:"import",begin:c[a.index],end:c[a.index+f.length],cjs:""}),o(),n[r]){case",":break;case"I":{h.push(e.out[r]);continue}case"J":{let y=Vn(e.out[r].out,Bn.bind(null,{as:"a",",":","}));if(tn.lastIndex=-1,!tn.test(y))throw"incorrect import properties definition.";let m=e.out[r].out;for(let w=1;w<y.length-1;w++){for(;y[w]===" "||y[w]===`
100
+ `||y[w]==="C"||y[w]===",";)w++;let x=m[w];for(w++;y[w]===" "||y[w]===`
101
+ `||y[w]==="C";)w++;if(y[w]==="a"){for(w++;y[w]===" "||y[w]===`
102
+ `||y[w]==="C";)w++;u[m[w]]=x,w++}else u[x]=x}continue}case"*":{r++,o(),r++,o(),p.push(e.out[r]);continue}case"S":for(r=a.index+1;r<a.index+f.length;r++)e.out[r]=null;let d="";for(let y of h)d+=`const ${y} = require(${l},{requirer:module});
103
+ `;for(let y of p)d+=`const ${y} = require(${l},{requirer:module, checkExport: ['default']}).default;
104
+ `;if(Object.keys(u).length){let y="{",m="[";for(let w in u)y.length>1&&(y+=",",m+=","),w===u[w]?(y+=w,m+=`'${w}'`):(y+=w+":"+u[w],m+=`'${u[w]}'`);y+="}",m+="]",d+=`const ${y} = require(${l}, {checkExport: ${m},requirer:module})`}else d.length===0&&(d+=`require(${l},{requirer:module})`);e.out[a.index].cjs=d;continue}}else{let f=a[0];if(e.out.splice(a.index,1,{type:"export",begin:c[a.index],end:c[a.index+1]}),r=a.index-1,o(-1),n[r]===".")continue;switch(r=a.index+1,o(),n[r]){case"d":e.out[r]=null,e.out[a.index].cjs="module.exports.default =";continue;case"V":{let u=e.out[r];e.out[r]=null,r++,o();let p=e.out[r];e.out[r]=null,r++,o(),e.out[a.index].cjs=`${u} ${p} = module.exports.${p} `;continue}case"F":{let u=e.out[r];e.out[r]=null,r++,o();let p=e.out[r];e.out[a.index].cjs=`module.exports.${p} = ${u} `;continue}case"*":e.out[r]=null,r++,o(),e.out[r]=null,r++,o();let l=t.substring(e.out[r].begin,e.out[r].end);e.out[r]=null,e.out[a.index].cjs=`Object.assign(module.exports, require(${l},{requirer:module}))`;continue;case"I":e.out[a.index].cjs=`module.exports.${e.out[r]} = `;continue;case"J":{let u={},p=Vn(e.out[r].out,Bn.bind(null,{as:"a",",":",",default:"I"}));if(tn.lastIndex=-1,!tn.test(p))throw"incorrect export properties definition.";let h=e.out[r].out;for(let m=1;m<p.length-1;m++){for(;p[m]===" "||p[m]===`
105
+ `||p[m]==="C"||p[m]===",";)m++;let w=h[m];for(m++;p[m]===" "||p[m]===`
106
+ `||p[m]==="C";)m++;if(p[m]==="a"){for(m++;p[m]===" "||p[m]===`
107
+ `||p[m]==="C";)m++;u[h[m]]=w,m++}else u[w]=w}let d="{",y="{";for(let m in u)d.length>1&&(d+=",",y+=","),m===u[m]?(d+=m,y+=m):(d+=m+":"+u[m],y+=u[m]);if(d+="}",y+="}",e.out[r]=null,r++,o(),e.out[r]==="from"){e.out[r]=null,r++,o();let m=t.substring(e.out[r].begin,e.out[r].end);e.out[r]=null,e.out[a.index].cjs=`{ const ${d} = require(${m},{requirer:module}); Object.assign(module.exports, ${y}); }`}else e.out[a.index].cjs=`Object.assign(module.exports, ${d})`;continue}}}}var D={setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"\u0294"},ge,Ca=0,ho=/(\{|\}|\[|\]|\(|\)|\.\.\.|=>|\?\?=|\?\?|\?\.|===|!==|>>>|<<=|>>=|>>>=|\*\*=|\*\*|&&=|\|\|=|<=|>=|==|!=|<<|>>|\+\+|--|\+=|-=|\*=|\/=|%=|&=|\^=|\|=|=|\+|-|\*|\/|%|&|\^|\||!|~|\?|:|<|>|=|\.|,|;|\n+|[\s^\n]+)/g;function M(e,t,n,...r){let o=e(t,n,...r);return o?[o.end,o]:[n]}function Bs(code,index,container){let i=index,dels=`;=,([{}!^~&|:?*%-+/<>${D.preprocessorDelimiter}`;for(;--i>=0;)if(" \r".indexOf(code[i])===-1){if(code[i]===`
108
108
  `){dels+=")]";continue}if(dels.indexOf(code[i])!==-1)break;return}let b={type:"regex",begin:index++};for(;index<code.length;){let ch=code[index];switch(ch){case`
109
- `:return;case"/":try{return eval("const x="+code.slice(b.begin,index+1)),b.end=index+1,container&&container.children.push(b),b}catch(e){}default:index++}}}function tn(e,t,n){let r={type:"comment",begin:t++};if(e[t]!=="*"&&e[t]!=="/")return Gs(e,t-1,n);let o=e[t]==="*";for(t++;t<e.length;){switch(e[t]){case"*":if(o&&e[t+1]==="/")return r.end=t+2,n&&n.children.push(r),r;break;case`
110
- `:if(!o)return r.end=t+1,n&&n.children.push(r),r;break}t++}ge("Unterminated comment",r.begin)}function Hs(e,t,n){let r=t+1;for(;e[r]&&e[r]!==`
109
+ `:return;case"/":try{return eval("const x="+code.slice(b.begin,index+1)),b.end=index+1,container&&container.children.push(b),b}catch(e){}default:index++}}}function rn(e,t,n){let r={type:"comment",begin:t++};if(e[t]!=="*"&&e[t]!=="/")return Bs(e,t-1,n);let o=e[t]==="*";for(t++;t<e.length;){switch(e[t]){case"*":if(o&&e[t+1]==="/")return r.end=t+2,n&&n.children.push(r),r;break;case`
110
+ `:if(!o)return r.end=t+1,n&&n.children.push(r),r;break}t++}ge("Unterminated comment",r.begin)}function Vs(e,t,n){let r=t+1;for(;e[r]&&e[r]!==`
111
111
  `&&e[r]!==D.preprocessorDelimiter||e[r-1]==="\\";)r++;if(e[r]===D.preprocessorDelimiter){let s={type:"directive",begin:t,cbegin:t,end:r+1,expression:e.slice(t+1,r).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(s),s}else{let s=t;for(;s-->=0&&(e[s]===" "||e[s]===" "););if(s===-1||e[s]===`
112
- `){let a={type:"directive",begin:t,cbegin:t,end:r+1,pragma:e.slice(t+1,r+1).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(a),a}}ge("Error in preprocessor statement",t)}function Js(node,context){let all_nodes=[];var segments=[],scope_stack=[],last_block=null;let clone_block=(e,t)=>{var n,r;return last_block=typeof all_nodes[e]=="object"?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e],last_block.type==="directive"&&(last_block.value=t),(r=(n=scope_stack[0]).out)!=null||(n.out=[]),scope_stack[0].out.push(last_block),last_block},clone_attr=(e,t)=>(last_block=typeof all_nodes[e]=="object"?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e],scope_stack[0].attributes[t]=last_block,last_block),push_scope=()=>{scope_stack=[last_block,scope_stack]},pop_scope=()=>{scope_stack=scope_stack[1]},vine_traverse=e=>{if(typeof e!="object")return segments;if(segments.push("push_scope();"),e.attributes)for(let t in e.attributes){let n=e.attributes[t];all_nodes.push(n),segments.push(`clone_attr(${all_nodes.length-1}, "${t}");`),vine_traverse(n)}if(e.children)for(let t of e.children)all_nodes.push(t),t.type==="directive"&&t.expression===void 0?segments.push(t.pragma):(t.expression?segments.push(`clone_block(${all_nodes.length-1}, ${t.expression});`):segments.push(`clone_block(${all_nodes.length-1});`),vine_traverse(t));return segments.push("pop_scope();"),segments};node.out=[],last_block=node,push_scope(),vine_traverse(node);let cmd=segments.join(`
113
- `);return eval(cmd),segments}function Xn(e,t,n,r){let o={type:"string",begin:t++,cbegin:t};for(;t<e.length;){switch(e[t]){case n:return o.cend=t,o.end=t+1,r&&r.children.push(o),o;case`
114
- `:n!=="`"&&ge("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=M(We,e,t+1,!0),t--);break;case"\\":t++;break}t++}ge("Unterminated string",o.begin)}function Zs(e,t,n,r){let o=t,s=t;for(;o<e.length;){switch(e[o]){case"<":if(e[o+1]==="/"){o+=2;let a=o;for(;a<e.length&&e[a]!==">";)a++;if(a===e.length)return null;let l=e.substring(o,a).trim();return n.tag!==l&&ge("Ill-formed xml (not closed properly)",t),n.end=a+1,n.cbegin=t+1,n.cend=o-2,a}else[o]=M(Yn,e,o,n),o>s?(s=o,o--):s++;break;case"{":let c=o;[o]=M(We,e,o,!0,n),o--;break}o++}return s}function Yn(e,t,n,r=!1){if(r){let f=["=",",","(","&","|","?",":","{","["],u=t;for(;--u>0;)if(` \r
115
- `.indexOf(e[u])===-1){if(f.indexOf(e[u])!==-1||u>1&&e[u-1]==="="&&e[u]===">")break;if(u>=5&&e.slice(u-5,u+1)==="return"){if(u>5&&` \r
112
+ `){let a={type:"directive",begin:t,cbegin:t,end:r+1,pragma:e.slice(t+1,r+1).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(a),a}}ge("Error in preprocessor statement",t)}function Xs(node,context){let all_nodes=[];var segments=[],scope_stack=[],last_block=null;let clone_block=(e,t)=>{var n,r;return last_block=typeof all_nodes[e]=="object"?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e],last_block.type==="directive"&&(last_block.value=t),(r=(n=scope_stack[0]).out)!=null||(n.out=[]),scope_stack[0].out.push(last_block),last_block},clone_attr=(e,t)=>(last_block=typeof all_nodes[e]=="object"?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e],scope_stack[0].attributes[t]=last_block,last_block),push_scope=()=>{scope_stack=[last_block,scope_stack]},pop_scope=()=>{scope_stack=scope_stack[1]},vine_traverse=e=>{if(typeof e!="object")return segments;if(segments.push("push_scope();"),e.attributes)for(let t in e.attributes){let n=e.attributes[t];all_nodes.push(n),segments.push(`clone_attr(${all_nodes.length-1}, "${t}");`),vine_traverse(n)}if(e.children)for(let t of e.children)all_nodes.push(t),t.type==="directive"&&t.expression===void 0?segments.push(t.pragma):(t.expression?segments.push(`clone_block(${all_nodes.length-1}, ${t.expression});`):segments.push(`clone_block(${all_nodes.length-1});`),vine_traverse(t));return segments.push("pop_scope();"),segments};node.out=[],last_block=node,push_scope(),vine_traverse(node);let cmd=segments.join(`
113
+ `);return eval(cmd),segments}function Yn(e,t,n,r){let o={type:"string",begin:t++,cbegin:t};for(;t<e.length;){switch(e[t]){case n:return o.cend=t,o.end=t+1,r&&r.children.push(o),o;case`
114
+ `:n!=="`"&&ge("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=M(Ke,e,t+1,!0),t--);break;case"\\":t++;break}t++}ge("Unterminated string",o.begin)}function Ys(e,t,n,r){let o=t,s=t;for(;o<e.length;){switch(e[o]){case"<":if(e[o+1]==="/"){o+=2;let a=o;for(;a<e.length&&e[a]!==">";)a++;if(a===e.length)return null;let f=e.substring(o,a).trim();return n.tag!==f&&ge("Ill-formed xml (not closed properly)",t),n.end=a+1,n.cbegin=t+1,n.cend=o-2,a}else[o]=M(Gn,e,o,n),o>s?(s=o,o--):s++;break;case"{":let c=o;[o]=M(Ke,e,o,!0,n),o--;break}o++}return s}function Gn(e,t,n,r=!1){if(r){let l=["=",",","(","&","|","?",":","{","["],u=t;for(;--u>0;)if(` \r
115
+ `.indexOf(e[u])===-1){if(l.indexOf(e[u])!==-1||u>1&&e[u-1]==="="&&e[u]===">")break;if(u>=5&&e.slice(u-5,u+1)==="return"){if(u>5&&` \r
116
116
  {};)`.indexOf(e[u-6])===-1)return;break}if(u>=4&&(e.slice(u-4,u+1)==="yield"||e.slice(u-4,u+1)==="throw")){if(u>4&&` \r
117
117
  {};)`.indexOf(e[u-5])===-1)return;break}return}}let o=[" "," ",`
118
118
  `,"/","&","^","%","|","!","~","+","*","?","<",">",";",",","=","{","}","(",")","[","]","'",'"',"`","\\","",void 0],s=()=>{for(;e[t]===" "||e[t]===" "||e[t]===`
119
- `;)t++},c={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};s();let a=t;for(;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;c.tag=e.substring(t,a),t=a;let l;for(;t<e.length;){for(a=t;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;let f=e.substring(t,a);switch(f.length&&(l=f,c.attributes[f]=!0),t=a,e[t]){case"=":if(l){for(t++,s();e[t]==="/";){let y=M(tn,e,t);y[0]>t?t=y[0]:t++,s()}let h;switch(e[t]){case"'":case'"':[t,h]=M(Xn,e,t,e[t]),c.attributes[l]=h,l=void 0;break;case"{":[t,h]=M(We,e,t,!0),c.attributes[l]=h,l=void 0;break;default:for(a=t;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;let y=e.substring(t,a);t=a,c.attributes[l]=y,l=void 0}}else return;break;case"{":let u;[t,u]=M(We,e,t,!0),u.is_xml_js=!0,c.js_attributes.push(u);break;case"/":if(e[t+1]===">")return c.end=t+2,c.cbegin=c.begin,c.cend=c.end,c.self_closing=!0,n&&n.children.push(c),c;let p=M(tn,e,t);p[0]>t?t=p[0]:t++;break;case">":let m=Zs(e,t,c);if(m===null)return;if(m>t?t=m:t++,c.end)return n&&n.children.push(c),c;t++;break;case" ":case" ":case`
120
- `:s();break;default:return}}}function bo(e,t,n){let r={type:"paranthesis",begin:t,cbegin:++t,children:[],self_closing:!1};for(;t<e.length;){let o=e[t];switch(o){case"<":{let[c]=M(Yn,e,t,r,!0);c>t?t=c:t++;break}case'"':case"'":case"`":[t]=M(Xn,e,t,o,r);break;case"{":[t]=M(We,e,t,!0,r);break;case"(":[t]=M(bo,e,t,r);break;case"}":ge("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":let[s]=M(tn,e,t,r);s>t?t=s:t++;break;case"\\":t++;default:t++;break}}ge("Unterminated paranthesis block",r.begin)}function We(e,t=0,n=!1,r){let o={type:"js",begin:t,cbegin:t+=n?1:0,children:[]};for(;t<e.length;){let s=e[t];switch(s){case"<":{let[c]=M(Yn,e,t,o,!0);c>t?t=c:t++;break}case'"':case"'":case"`":[t]=M(Xn,e,t,s,o);break;case"{":{let c=t;[t]=M(We,e,t,!0,o);break}case"(":[t]=M(bo,e,t,o);break;case")":ge("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;ge("Unmatched curly bracket",o.begin);break;case"/":{let[c]=M(tn,e,t,o);c>t?t=c:t++;break}case D.preprocessorDelimiter:{let[c]=M(Hs,e,t,o);c>t?t=c:t++;break}case"\\":t++;default:t++}}return n&&ge("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function Qs(e,t,n){e.already_labeled=!0;function r(a,l=1){for(;(a+=l)<e.children.length&&a>=0;){let f=e.children[a];if(typeof f=="string"){let u=f.trim();if(u.length)return[a,u]}if(typeof f=="object"&&f.type!=="comment")return[a,f]}return[null,null]}let o,s,c;for(let a=0;a<e.children.length;a++)if(typeof e.children[a]=="object"&&e.children[a].type==="paranthesis"){if([o,c]=r(a,-1),c===null||typeof c!="string"||["switch","catch","try","class"].find(f=>c.trim().endsWith(f))!==void 0)continue;let l=c;if([o,c]=r(o,-1),c===null||typeof c=="string"&&["extern","class"].indexOf(c)!==-1||([o,s]=r(a),s===null))continue;if(D.injectTraceLabels&&typeof s=="object"&&s.type==="js"){let f=ct(t,a);s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${f}:${l}*/try{`),D.enableLabelStack?s.children.splice(s.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):s.children.splice(s.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`),a+=2}}else if(e.children[a]==="=>"&&([o,c]=r(a,-1),typeof c=="object"&&c.type==="paranthesis")){let l=ct(t,c.begin);[o,s]=r(a),typeof s=="object"&&s.type==="js"&&(D.injectTraceLabels&&(s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${l}:<ARROW>*/try {`),D.enableLabelStack?s.children.splice(s.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):s.children.splice(s.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`)),a+=2)}}function go(e){let t=[0];for(let n in e)e[n]===`
121
- `&&t.push(parseInt(n));return t.push(e.length),t}function ct(e,t){for(e.last||(e.last=1);t>e[e.last];)if(e.last++,e.last===e.length){e.last=e.length-1;break}for(;t<e[e.last-1]&&e.last>1;)e.last--;return[e.last-1,t-e[e.last-1]]}function zs(e,t,n,r,o=[]){let s=[],c={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},a=h=>{var y;if(((y=h==null?void 0:h.out)==null?void 0:y.length)>0)for(let d of h.out)a(d);(h==null?void 0:h.begin)!==void 0&&(h==null?void 0:h.out_index)!==void 0&&s.push([...ct(r,h.out_index),...ct(n,h.begin),h])};a(e),s=s.sort((h,y)=>h[0]==y[0]?h[1]-y[1]:h[0]-y[0]),o.push(...s);let l="",f=0,u=0,p=0,m=0;for(let h=0;h<s.length;h++){let y=s[h];for(;f<y[0];)u=0,l+=";",f++;l+=",",l+=mo(y[1]-u,0,y[2]-p,y[3]-m),u=y[1],p=y[2],m=y[3]}return c.mappings=l.substring(1).replace(/;,/g,";"),`
119
+ `;)t++},c={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};s();let a=t;for(;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;c.tag=e.substring(t,a),t=a;let f;for(;t<e.length;){for(a=t;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;let l=e.substring(t,a);switch(l.length&&(f=l,c.attributes[l]=!0),t=a,e[t]){case"=":if(f){for(t++,s();e[t]==="/";){let y=M(rn,e,t);y[0]>t?t=y[0]:t++,s()}let d;switch(e[t]){case"'":case'"':[t,d]=M(Yn,e,t,e[t]),c.attributes[f]=d,f=void 0;break;case"{":[t,d]=M(Ke,e,t,!0),c.attributes[f]=d,f=void 0;break;default:for(a=t;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;let y=e.substring(t,a);t=a,c.attributes[f]=y,f=void 0}}else return;break;case"{":let u;[t,u]=M(Ke,e,t,!0),u.is_xml_js=!0,c.js_attributes.push(u);break;case"/":if(e[t+1]===">")return c.end=t+2,c.cbegin=c.begin,c.cend=c.end,c.self_closing=!0,n&&n.children.push(c),c;let p=M(rn,e,t);p[0]>t?t=p[0]:t++;break;case">":let h=Ys(e,t,c);if(h===null)return;if(h>t?t=h:t++,c.end)return n&&n.children.push(c),c;t++;break;case" ":case" ":case`
120
+ `:s();break;default:return}}}function yo(e,t,n){let r={type:"parenthesis",begin:t,cbegin:++t,children:[],self_closing:!1};for(;t<e.length;){let o=e[t];switch(o){case"<":{let[c]=M(Gn,e,t,r,!0);c>t?t=c:t++;break}case'"':case"'":case"`":[t]=M(Yn,e,t,o,r);break;case"{":[t]=M(Ke,e,t,!0,r);break;case"(":[t]=M(yo,e,t,r);break;case"}":ge("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":let[s]=M(rn,e,t,r);s>t?t=s:t++;break;case"\\":t++;default:t++;break}}ge("Unterminated parenthesis block",r.begin)}function Ke(e,t=0,n=!1,r){let o={type:"js",begin:t,cbegin:t+=n?1:0,children:[]};for(;t<e.length;){let s=e[t];switch(s){case"<":{let[c]=M(Gn,e,t,o,!0);c>t?t=c:t++;break}case'"':case"'":case"`":[t]=M(Yn,e,t,s,o);break;case"{":{let c=t;[t]=M(Ke,e,t,!0,o);break}case"(":[t]=M(yo,e,t,o);break;case")":ge("Unmatched parenthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;ge("Unmatched curly bracket",o.begin);break;case"/":{let[c]=M(rn,e,t,o);c>t?t=c:t++;break}case D.preprocessorDelimiter:{let[c]=M(Vs,e,t,o);c>t?t=c:t++;break}case"\\":t++;default:t++}}return n&&ge("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function Gs(e,t,n){e.already_labeled=!0;function r(a,f=1){for(;(a+=f)<e.children.length&&a>=0;){let l=e.children[a];if(typeof l=="string"){let u=l.trim();if(u.length)return[a,u]}if(typeof l=="object"&&l.type!=="comment")return[a,l]}return[null,null]}let o,s,c;for(let a=0;a<e.children.length;a++)if(typeof e.children[a]=="object"&&e.children[a].type==="parenthesis"){if([o,c]=r(a,-1),c===null||typeof c!="string"||["switch","catch","try","class"].find(l=>c.trim().endsWith(l))!==void 0)continue;let f=c;if([o,c]=r(o,-1),c===null||typeof c=="string"&&["extern","class"].indexOf(c)!==-1||([o,s]=r(a),s===null))continue;if(D.injectTraceLabels&&typeof s=="object"&&s.type==="js"){let l=at(t,a);s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${l}:${f}*/try{`),D.enableLabelStack?s.children.splice(s.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):s.children.splice(s.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`),a+=2}}else if(e.children[a]==="=>"&&([o,c]=r(a,-1),typeof c=="object"&&c.type==="parenthesis")){let f=at(t,c.begin);[o,s]=r(a),typeof s=="object"&&s.type==="js"&&(D.injectTraceLabels&&(s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${f}:<ARROW>*/try {`),D.enableLabelStack?s.children.splice(s.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):s.children.splice(s.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`)),a+=2)}}function mo(e){let t=[0];for(let n in e)e[n]===`
121
+ `&&t.push(parseInt(n));return t.push(e.length),t}function at(e,t){for(e.last||(e.last=1);t>e[e.last];)if(e.last++,e.last===e.length){e.last=e.length-1;break}for(;t<e[e.last-1]&&e.last>1;)e.last--;return[e.last-1,t-e[e.last-1]]}function Hs(e,t,n,r,o=[]){let s=[],c={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},a=d=>{var y;if(((y=d==null?void 0:d.out)==null?void 0:y.length)>0)for(let m of d.out)a(m);(d==null?void 0:d.begin)!==void 0&&(d==null?void 0:d.out_index)!==void 0&&s.push([...at(r,d.out_index),...at(n,d.begin),d])};a(e),s=s.sort((d,y)=>d[0]==y[0]?d[1]-y[1]:d[0]-y[0]),o.push(...s);let f="",l=0,u=0,p=0,h=0;for(let d=0;d<s.length;d++){let y=s[d];for(;l<y[0];)u=0,f+=";",l++;f+=",",f+=po(y[1]-u,0,y[2]-p,y[3]-h),u=y[1],p=y[2],h=y[3]}return c.mappings=f.substring(1).replace(/;,/g,";"),`
122
122
 
123
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+btoa(JSON.stringify(c))}function Gn(e,{factory:t="createComponent",fragment:n="Fragment",path:r="anonymous",appendSourcemap:o=!0,injectTraceLabels:s=!1,discardComments:c=!1,produceCJS:a=!1,logErrors:l=!1,blocks_info:f={labels:{},counter:0},mappings:u=[]}={}){var x,S;(x=D.preprocessorDelimiter)!=null||(D.preprocessorDelimiter="\u0294"),(S=D.injectTraceLabels)!=null||(D.injectTraceLabels=s);let p=go(e);ge=((E,_,$)=>{let v=ct(E,$),T=new Error(_);throw l&&console.error(`JSXParserError: ${_} [file ${r} at line ${v[0]}]`),[T.lineNumber,T.columnNumber]=v,T.name="JSXParserError",T.fileName=r,T.lilact_trace="parse",T}).bind(null,p);let m=We(e);m.data=e;let h=E=>{if(E.attributes!==void 0)for(let _ in E.attributes)typeof E.attributes[_]=="object"&&h(E.attributes[_]);if(E.children!==void 0&&!E.self_closing){let _=E.type==="js"?E.begin:E.cbegin||E.begin;for(let v=0;v<E.children.length;v++){let T=E.children[v];if(T.begin>_){let C=e.substring(_,T.begin);E.type==="xml"&&(C=C.trim()),C.length&&(E.type==="xml"?E.children.splice(v,0,'"'+C.replaceAll(`
123
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+btoa(JSON.stringify(c))}function Hn(e,{factory:t="createComponent",fragment:n="Fragment",path:r="anonymous",appendSourcemap:o=!0,injectTraceLabels:s=!1,discardComments:c=!1,produceCJS:a=!1,logErrors:f=!1,blocks_info:l={labels:{},counter:0},mappings:u=[]}={}){var x,v;(x=D.preprocessorDelimiter)!=null||(D.preprocessorDelimiter="\u0294"),(v=D.injectTraceLabels)!=null||(D.injectTraceLabels=s);let p=mo(e);ge=((_,E,$)=>{let S=at(_,$),T=new Error(E);throw f&&console.error(`JSXParserError: ${E} [file ${r} at line ${S[0]}]`),[T.lineNumber,T.columnNumber]=S,T.name="JSXParserError",T.fileName=r,T.lilact_trace="parse",T}).bind(null,p);let h=Ke(e);h.data=e;let d=_=>{if(_.attributes!==void 0)for(let E in _.attributes)typeof _.attributes[E]=="object"&&d(_.attributes[E]);if(_.children!==void 0&&!_.self_closing){let E=_.type==="js"?_.begin:_.cbegin||_.begin;for(let S=0;S<_.children.length;S++){let T=_.children[S];if(T.begin>E){let C=e.substring(E,T.begin);_.type==="xml"&&(C=C.trim()),C.length&&(_.type==="xml"?_.children.splice(S,0,'"'+C.replaceAll(`
124
124
  `,`\\
125
- `).replaceAll('"','\\"')+'"'):E.children.splice(v,0,...C.split(yo)),v++)}_=T.end,h(T)}let $=E.type==="js"?E.end:E.cend||E.end;if(_<$&&!E.self_closing){let v=e.substring(_,$);E.type==="xml"&&(v=v.trim()),v.length&&(E.type==="xml"?E.children.push('"'+v.replace(/[\\\"\n]/g,T=>({"\\":"\\\\",'"':'\\"',"\n":`\\
126
- `})[T])+'"'):E.children.push(...v.split(yo)))}E.children=E.children.filter(v=>v!==""),D.setBlockLabels&&!E.already_labeled&&Qs(E,p,f)}};h(m),Js(m);let y=(E,_,$=!1,v=!1)=>{if(typeof _!="object")return _;if(_===null)return"";if(_.out_index=E,_.type==="string")return e.substring(_.begin,_.end);if(_.type==="import"||_.type==="export")return _.cjs;if(_.type==="regex")return e.substring(_.begin,_.end);if(_.type==="comment")return c||$?"":e.substring(_.begin,_.end);if(_.type==="directive")return _.value;if(_.type==="paranthesis"){let T="(";if(_.out){a&&Vn(_,e);for(let C of _.out)T+=y(E+T.length-1,C)}return T+")"}if(_.type==="js"){let T="";if(_.out){a&&Vn(_,e);for(let C of _.out)v&&C.type==="comment"||(T+=y(E+T.length-($?1:0),C))}return $?T.substring(1,T.length-1):_!=null&&_.is_xml_js?e.substring(_.begin+1,_.end-1):T}if(_.type==="xml"){_.tag.length===0?_.tag=n:_.tag[0]!==_.tag[0].toUpperCase()&&(_.tag=`"${_.tag}"`);let T="",C=!0;for(let V of _.js_attributes){let U=y(E+T.length,V,!1);T+=`${C?"":", "}${U}`,C=!1}if(_.attributes)for(let V in _.attributes)T+=`${C?"":", "}"${V}": ${y(E+T.length,_.attributes[V],!0)}`,C=!1;if(T+=" }",_.out)for(let V of _.out){let U=y(E+T.length,V,!0,!0);U.length>0&&(T+=`, ${U}`,C=!1)}let O=ct(p,_.begin);return T=` ${t}( ${_.tag}, { ${T} )`,T}},d="";s&&(d=`/*LILACTBLOCK${++f.counter}:0,0:<EXEC>*/try{`),d+=y(d.length,m),s&&(D.enableLabelStack?d+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${f.counter},e.lilact_trace];throw e}`:d+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${f.counter};throw e}`);let g=zs(m,r,p,go(d),u);return o&&(d+=g),d}var Z={VERSION:"RC.3",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...bn,...Sn,...En,...kn,...Nn,...Rn,...$n,...In,...Pn,...mn,...Fn,...Wn,transpileJSX:Gn,transpilerConfig:D,PropTypes:nt,redux:cn,emotion:yt};Z.default=Z;var k=Z;Z.importObjectPaths={lilact:Z,"@emotion/css":Z.emotion,redux:Z.redux};globalThis.Lilact=Z;globalThis.createComponent=Z.createComponent;globalThis.Fragment=Z.Fragment;globalThis.require=Z.require;document.addEventListener("DOMContentLoaded",()=>{Z.runScripts()});window.addEventListener("unhandledrejection",e=>{Z.globalErrorHandler(e)}),window.addEventListener("error",e=>{Z.globalErrorHandler(e)});console.log(`Lilact (Version: ${Z.VERSION}) - Debug Mode`),console.log("Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>");export{Et as ARGS,xt as CALLBACK,de as CHILD_CLASS_ADDENDUM,wt as CLEARED,ze as COMPONENT,w as CORE,eo as CSSTransition,Fe as Children,Ne as Component,le as DUE,fo as DragHandle,qn as ErrorBoundary,Fr as Fragment,kt as HTMLComponent,Ns as HashRouter,ue as IDX,et as INTERVAL,dn as IS_ZOMBIE,gt as LAZY,Z as Lilact,Is as Link,ve as MEMOIZED,Rs as NavLink,qr as Portal,nt as PropTypes,hs as Provider,bt as REPEAT,Wt as RootComponent,js as Route,lo as Routes,Ms as Spinner,Us as SplitPane,Qt as Suspense,as as SwitchTransition,W as TEXT,zr as Transition,us as TransitionGroup,ps as addWrappedEventListener,cs as animationFramePromise,$s as blocks_info,Hr as boolean_html_attributes_set,Bt as capture_events_set,rs as clearInterval,fe as clearTimeout,Xr as cloneComponent,ki as cloneElement,ys as combineReducers,ms as connect,xn as createComponent,rt as createContext,vi as createElement,_i as createPortal,Vr as createRoot,to as createSyntheticEvent,Ci as current_component,yn as deepEqual,k as default,Li as effect_timeout,yt as emotion,Os as error,hi as eval_num,Kt as events_set,ai as findDOMNode,gn as forwardRef,ui as getComponentByPointer,vs as globalErrorHandler,os as grabTimers,pi as id_num,Ii as insertion_effects,li as isAsync,Ut as isClass,K as isEmpty,fi as isError,Ft as isThenable,tt as isValidComponent,ci as isValidElement,Ni as layout_effects,Yi as lazy,Gr as length_css_attributes_set,ao as mapLocation,Si as memo,Ri as passive_effects,es as pauseTimers,Br as processEffects,cn as redux,no as releaseSyntheticEvent,is as releaseTimers,Ti as render,Qr as require,qe as required_scripts,zi as resetTimers,ts as resumeTimers,Ai as roots,it as run,Hi as runScripts,Cs as scanBlockLabels,ns as setInterval,Le as setTimeout,se as shallowEqual,Yr as special_attributes,Bi as startTransition,ss as timeoutPromise,qt as toBool,uo as traceError,Gn as transpileJSX,D as transpilerConfig,Oi as update_cbs,ji as update_interval_margin,$i as update_set,Pi as update_timeout,Fi as useActionState,ye as useCallback,ot as useContext,Ki as useDebugValue,Wi as useDeferredValue,ds as useDispatch,ne as useEffect,ce as useHook,Di as useId,_n as useImperativeHandle,Ui as useInsertionEffect,Ie as useLayoutEffect,Mi as useLocalStorage,Mn as useLocation,Tt as useMemo,Un as useNavigate,qi as useReducer,P as useRef,oo as useSelector,te as useState,Gt as useStore,Jr as useTransition,ro as wrapListener};
125
+ `).replaceAll('"','\\"')+'"'):_.children.splice(S,0,...C.split(ho)),S++)}E=T.end,d(T)}let $=_.type==="js"?_.end:_.cend||_.end;if(E<$&&!_.self_closing){let S=e.substring(E,$);_.type==="xml"&&(S=S.trim()),S.length&&(_.type==="xml"?_.children.push('"'+S.replace(/[\\\"\n]/g,T=>({"\\":"\\\\",'"':'\\"',"\n":`\\
126
+ `})[T])+'"'):_.children.push(...S.split(ho)))}_.children=_.children.filter(S=>S!==""),D.setBlockLabels&&!_.already_labeled&&Gs(_,p,l)}};d(h),Xs(h);let y=(_,E,$=!1,S=!1)=>{if(typeof E!="object")return E;if(E===null)return"";if(E.out_index=_,E.type==="string")return e.substring(E.begin,E.end);if(E.type==="import"||E.type==="export")return E.cjs;if(E.type==="regex")return e.substring(E.begin,E.end);if(E.type==="comment")return c||$?"":e.substring(E.begin,E.end);if(E.type==="directive")return E.value;if(E.type==="parenthesis"){let T="(";if(E.out){a&&Xn(E,e);for(let C of E.out)T+=y(_+T.length-1,C)}return T+")"}if(E.type==="js"){let T="";if(E.out){a&&Xn(E,e);for(let C of E.out)S&&C.type==="comment"||(T+=y(_+T.length-($?1:0),C))}return $?T.substring(1,T.length-1):E!=null&&E.is_xml_js?e.substring(E.begin+1,E.end-1):T}if(E.type==="xml"){E.tag.length===0?E.tag=n:E.tag[0]!==E.tag[0].toUpperCase()&&(E.tag=`"${E.tag}"`);let T="",C=!0;for(let V of E.js_attributes){let U=y(_+T.length,V,!1);T+=`${C?"":", "}${U}`,C=!1}if(E.attributes)for(let V in E.attributes)T+=`${C?"":", "}"${V}": ${y(_+T.length,E.attributes[V],!0)}`,C=!1;if(T+=" }",E.out)for(let V of E.out){let U=y(_+T.length,V,!0,!0);U.length>0&&(T+=`, ${U}`,C=!1)}let O=at(p,E.begin);return T=` ${t}( ${E.tag}, { ${T} )`,T}},m="";s&&(m=`/*LILACTBLOCK${++l.counter}:0,0:<EXEC>*/try{`),m+=y(m.length,h),s&&(D.enableLabelStack?m+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${l.counter},e.lilact_trace];throw e}`:m+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${l.counter};throw e}`);let w=Hs(h,r,p,mo(m),u);return o&&(m+=w),m}var Z={VERSION:"RC.4",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...xn,...Sn,...kn,...vn,...Ln,...Nn,...On,...Rn,...Pn,...gn,...Fn,...Wn,transpileJSX:Hn,transpilerConfig:D,PropTypes:nt,redux:un,emotion:gt};Z.default=Z;var k=Z;Z.importObjectPaths={lilact:Z,"@emotion/css":Z.emotion,redux:Z.redux};globalThis.Lilact=Z;globalThis.createComponent=Z.createComponent;globalThis.Fragment=Z.Fragment;globalThis.require=Z.require;document.addEventListener("DOMContentLoaded",()=>{Z.runScripts()});window.addEventListener("unhandledrejection",e=>{Z.globalErrorHandler(e)}),window.addEventListener("error",e=>{Z.globalErrorHandler(e)});console.log(`Lilact (Version: ${Z.VERSION}) - Debug Mode`),console.log("Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>");export{Et as ARGS,_t as CALLBACK,de as CHILD_CLASS_ADDENDUM,xt as CLEARED,Qe as COMPONENT,g as CORE,to as CSSTransition,Fe as Children,Le as Component,le as DUE,uo as DragHandle,Kn as ErrorBoundary,Fr as Fragment,Tt as HTMLComponent,Cs as HashRouter,ue as IDX,et as INTERVAL,yn as IS_ZOMBIE,bt as LAZY,Z as Lilact,$s as Link,Se as MEMOIZED,Os as NavLink,Kr as Portal,nt as PropTypes,fs as Provider,wt as REPEAT,Wt as RootComponent,Ls as Route,ao as Routes,Ns as Spinner,Ps as SplitPane,en as Suspense,ss as SwitchTransition,K as TEXT,eo as Transition,cs as TransitionGroup,ls as addWrappedEventListener,is as animationFramePromise,Ts as blocks_info,Jr as boolean_html_attributes_set,Vt as capture_events_set,ts as clearInterval,fe as clearTimeout,Yr as cloneComponent,_i as cloneElement,ds as combineReducers,hs as connect,En as createComponent,rt as createContext,Ti as createElement,xi as createPortal,Xr as createRoot,no as createSyntheticEvent,vi as current_component,bn as deepEqual,k as default,Ri as effect_timeout,gt as emotion,vs as error,fi as eval_num,Bt as events_set,si as findDOMNode,wn as forwardRef,ci as getComponentByPointer,Es as globalErrorHandler,ns as grabTimers,li as id_num,Ai as insertion_effects,ai as isAsync,qt as isClass,W as isEmpty,ui as isError,Ft as isThenable,tt as isValidComponent,ii as isValidElement,Oi as layout_effects,Vi as lazy,Hr as length_css_attributes_set,ki as memo,Ii as passive_effects,zi as pauseTimers,Vr as processEffects,un as redux,ro as releaseSyntheticEvent,rs as releaseTimers,Ei as render,Qr as require,Ce as required_scripts,Zi as resetTimers,Qi as resumeTimers,$i as roots,st as run,Yi as runScripts,ks as scanBlockLabels,es as setInterval,je as setTimeout,se as shallowEqual,Gr as special_attributes,Ki as startTransition,os as timeoutPromise,Kt as toBool,co as traceError,Hn as transpileJSX,D as transpilerConfig,Ci as update_cbs,Ni as update_interval_margin,Si as update_set,Li as update_timeout,Mi as useActionState,ye as useCallback,ot as useContext,Fi as useDebugValue,qi as useDeferredValue,ps as useDispatch,ne as useEffect,ce as useHook,Pi as useId,Tn as useImperativeHandle,Di as useInsertionEffect,Re as useLayoutEffect,ji as useLocalStorage,Un as useLocation,vt as useMemo,qn as useNavigate,Ui as useReducer,N as useRef,io as useSelector,te as useState,Ht as useStore,Zr as useTransition,oo as wrapListener};
127
127
  //# sourceMappingURL=lilact.development.min.js.map