lilact 0.22.0 → 0.23.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 (55) hide show
  1. package/dist/lilact.development.js +21 -8
  2. package/dist/lilact.development.js.map +2 -2
  3. package/dist/lilact.development.min.js +26 -25
  4. package/dist/lilact.development.min.js.map +3 -3
  5. package/dist/lilact.production.min.js +26 -25
  6. package/docs/assets/hierarchy.js +1 -1
  7. package/docs/assets/navigation.js +1 -1
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/components.Component.html +1 -1
  10. package/docs/classes/components.HTMLComponent.html +1 -1
  11. package/docs/classes/components.RootComponent.html +1 -1
  12. package/docs/functions/accessories.DragHandle.html +2 -2
  13. package/docs/functions/accessories.Spinner.html +2 -2
  14. package/docs/functions/components.cloneComponent.html +1 -0
  15. package/docs/functions/components.memo.html +1 -1
  16. package/docs/functions/components.render.html +1 -1
  17. package/docs/functions/redux.Provider.html +2 -2
  18. package/docs/functions/redux.connect.html +2 -2
  19. package/docs/functions/router.HashRouter.html +2 -2
  20. package/docs/functions/router.Link.html +2 -2
  21. package/docs/functions/router.NavLink.html +2 -2
  22. package/docs/functions/router.Routes.html +2 -2
  23. package/docs/functions/run.lazy.html +3 -3
  24. package/docs/functions/run.require.html +3 -7
  25. package/docs/functions/run.runScripts.html +1 -1
  26. package/docs/functions/timers.timeoutPromise.html +144 -2
  27. package/docs/functions/transition.CSSTransition.html +4 -4
  28. package/docs/functions/transition.SwitchTransition.html +2 -2
  29. package/docs/functions/transition.Transition.html +3 -3
  30. package/docs/hierarchy.html +1 -1
  31. package/docs/modules/components.html +1 -1
  32. package/docs/static/demos/cloneelement.jsx +66 -0
  33. package/docs/static/demos/reducer.jsx +2 -0
  34. package/docs/static/demos/router.jsx +1 -1
  35. package/docs/static/index.html +31 -30
  36. package/docs/static/lilact.development.js +21 -8
  37. package/docs/static/lilact.development.js.map +2 -2
  38. package/docs/static/lilact.development.min.js +26 -25
  39. package/docs/static/lilact.development.min.js.map +3 -3
  40. package/docs/static/lilact.production.min.js +26 -25
  41. package/docs/variables/components.cloneElement.html +1 -0
  42. package/examples/demos/cloneelement.jsx +66 -0
  43. package/examples/demos/reducer.jsx +2 -0
  44. package/examples/demos/router.jsx +1 -1
  45. package/examples/index.html +31 -30
  46. package/examples/lilact.development.js +21 -8
  47. package/examples/lilact.development.js.map +2 -2
  48. package/examples/lilact.development.min.js +26 -25
  49. package/examples/lilact.development.min.js.map +3 -3
  50. package/examples/lilact.production.min.js +26 -25
  51. package/package.json +1 -1
  52. package/src/components.jsx +7 -0
  53. package/src/expscan.js +7 -3
  54. package/src/lilact.jsx +5 -5
  55. package/src/run.jsx +6 -8
@@ -54,10 +54,10 @@ 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 In=Object.defineProperty;var zr=(e,t,n)=>t in e?In(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var H=(e,t)=>{for(var n in t)In(e,n,{get:t[n],enumerable:!0})};var W=(e,t,n)=>zr(e,typeof t!="symbol"?t+"":t,n);var Ft={};H(Ft,{__DO_NOT_USE__ActionTypes:()=>Be,applyMiddleware:()=>no,bindActionCreators:()=>to,combineReducers:()=>eo,compose:()=>Pn,createStore:()=>qt,isAction:()=>ro,isPlainObject:()=>Ut,legacy_createStore:()=>Zr});function j(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 Hr=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ln=Hr,Mt=()=>Math.random().toString(36).substring(7).split("").join("."),Jr={INIT:`@@redux/INIT${Mt()}`,REPLACE:`@@redux/REPLACE${Mt()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Mt()}`},Be=Jr;function Ut(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 qt(e,t,n){if(typeof e!="function")throw new Error(j(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(j(1));return n(qt)(e,t)}let r=e,o=t,s=new Map,a=s,c=0,l=!1;function f(){a===s&&(a=new Map,s.forEach((E,_)=>{a.set(_,E)}))}function u(){if(l)throw new Error(j(3));return o}function p(E){if(typeof E!="function")throw new Error(j(4));if(l)throw new Error(j(5));let _=!0;f();let d=c++;return a.set(d,E),function(){if(_){if(l)throw new Error(j(6));_=!1,f(),a.delete(d),s=null}}}function m(E){if(!Ut(E))throw new Error(j(7));if(typeof E.type=="undefined")throw new Error(j(8));if(typeof E.type!="string")throw new Error(j(17));if(l)throw new Error(j(9));try{l=!0,o=r(o,E)}finally{l=!1}return(s=a).forEach(d=>{d()}),E}function h(E){if(typeof E!="function")throw new Error(j(10));r=E,m({type:Be.REPLACE})}function y(){let E=p;return{subscribe(_){if(typeof _!="object"||_===null)throw new Error(j(11));function d(){let O=_;O.next&&O.next(u())}return d(),{unsubscribe:E(d)}},[Ln](){return this}}}return m({type:Be.INIT}),{dispatch:m,subscribe:p,getState:u,replaceReducer:h,[Ln]:y}}function Zr(e,t,n){return qt(e,t,n)}function Qr(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:Be.INIT})=="undefined")throw new Error(j(12));if(typeof n(void 0,{type:Be.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(j(13))})}function eo(e){let t=Object.keys(e),n={};for(let a=0;a<t.length;a++){let c=t[a];typeof e[c]=="function"&&(n[c]=e[c])}let r=Object.keys(n),o,s;try{Qr(n)}catch(a){s=a}return function(c={},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=c[m],g=h(y,l);if(typeof g=="undefined"){let E=l&&l.type;throw new Error(j(14))}u[m]=g,f=f||g!==y}return f=f||r.length!==Object.keys(c).length,f?u:c}}function Rn(e,t){return function(...n){return t(e.apply(this,n))}}function to(e,t){if(typeof e=="function")return Rn(e,t);if(typeof e!="object"||e===null)throw new Error(j(16));let n={};for(let r in e){let o=e[r];typeof o=="function"&&(n[r]=Rn(o,t))}return n}function Pn(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function no(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(j(15))},a={getState:o.getState,dispatch:(l,...f)=>s(l,...f)},c=e.map(l=>l(a));return s=Pn(...c)(o.dispatch),{...o,dispatch:s}}}function ro(e){return Ut(e)&&"type"in e&&typeof e.type=="string"}var ze={};H(ze,{cache:()=>Lo,css:()=>Yt,cx:()=>So,flush:()=>ko,getRegisteredStyles:()=>Oo,hydrate:()=>To,injectGlobal:()=>$o,keyframes:()=>Ao,merge:()=>Co,sheet:()=>Io});var oo=!1;function io(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 so(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 Nn=(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?!oo: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(so(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=io(o);try{s.insertRule(r,s.cssRules.length)}catch(a){}}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 M="-ms-",Ve="-moz-",A="-webkit-",ct="comm",Oe="rule",$e="decl";var jn="@import";var ut="@keyframes";var Dn="@layer";var Mn=Math.abs,_e=String.fromCharCode,Un=Object.assign;function qn(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 lt(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,n){return e.replace(t,n)}function We(e,t){return e.indexOf(t)}function L(e,t){return e.charCodeAt(t)|0}function de(e,t,n){return e.slice(t,n)}function q(e){return e.length}function Ae(e){return e.length}function Ie(e,t){return t.push(e),e}function Bt(e,t){return e.map(t).join("")}var ft=1,Le=1,Fn=0,F=0,R=0,Pe="";function Xe(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:ft,column:Le,length:a,return:""}}function Ne(e,t){return Un(Xe("",null,null,"",null,null,0),e,{length:-e.length},t)}function Kn(){return R}function Bn(){return R=F>0?L(Pe,--F):0,Le--,R===10&&(Le=1,ft--),R}function K(){return R=F<Fn?L(Pe,F++):0,Le++,R===10&&(Le=1,ft++),R}function Q(){return L(Pe,F)}function Ye(){return F}function je(e,t){return de(Pe,e,t)}function Re(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 pt(e){return ft=Le=1,Fn=q(Pe=e),F=0,[]}function ht(e){return Pe="",e}function De(e){return lt(je(F-1,Vt(e===91?e+2:e===40?e+1:e)))}function Vn(e){for(;(R=Q())&&R<33;)K();return Re(e)>2||Re(R)>3?"":" "}function Wn(e,t){for(;--t&&K()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return je(e,Ye()+(t<6&&Q()==32&&K()==32))}function Vt(e){for(;K();)switch(R){case e:return F;case 34:case 39:e!==34&&e!==39&&Vt(R);break;case 40:e===41&&Vt(e);break;case 92:K();break}return F}function Xn(e,t){for(;K()&&e+R!==57;)if(e+R===84&&Q()===47)break;return"/*"+je(t,F-1)+"*"+_e(e===47?e:K())}function Yn(e){for(;!Re(Q());)K();return je(e,F)}function Hn(e){return ht(dt("",null,null,null,[""],e=pt(e),0,[0],e))}function dt(e,t,n,r,o,s,a,c,l){for(var f=0,u=0,p=a,m=0,h=0,y=0,g=1,E=1,_=1,d=0,w="",O=o,S=s,k=r,T=w;E;)switch(y=d,d=K()){case 40:if(y!=108&&L(T,p-1)==58){We(T+=$(De(d),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:T+=De(d);break;case 9:case 10:case 13:case 32:T+=Vn(y);break;case 92:T+=Wn(Ye()-1,7);continue;case 47:switch(Q()){case 42:case 47:Ie(ao(Xn(K(),Ye()),t,n),l);break;default:T+="/"}break;case 123*g:c[f++]=q(T)*_;case 125*g:case 59:case 0:switch(d){case 0:case 125:E=0;case 59+u:_==-1&&(T=$(T,/\f/g,"")),h>0&&q(T)-p&&Ie(h>32?zn(T+";",r,n,p-1):zn($(T," ","")+";",r,n,p-2),l);break;case 59:T+=";";default:if(Ie(k=Gn(T,t,n,f,u,o,c,w,O=[],S=[],p),s),d===123)if(u===0)dt(T,t,k,k,O,s,p,c,S);else switch(m===99&&L(T,3)===110?100:m){case 100:case 108:case 109:case 115:dt(e,k,k,r&&Ie(Gn(e,k,k,0,0,o,c,w,o,O=[],p),S),o,S,p,c,r?O:S);break;default:dt(T,k,k,k,[""],S,0,c,S)}}f=u=h=0,g=_=1,w=T="",p=a;break;case 58:p=1+q(T),h=y;default:if(g<1){if(d==123)--g;else if(d==125&&g++==0&&Bn()==125)continue}switch(T+=_e(d),d*g){case 38:_=u>0?1:(T+="\f",-1);break;case 44:c[f++]=(q(T)-1)*_,_=1;break;case 64:Q()===45&&(T+=De(K())),m=Q(),u=p=q(w=T+=Yn(Ye())),d++;break;case 45:y===45&&q(T)==2&&(g=0)}}return s}function Gn(e,t,n,r,o,s,a,c,l,f,u){for(var p=o-1,m=o===0?s:[""],h=Ae(m),y=0,g=0,E=0;y<r;++y)for(var _=0,d=de(e,p+1,p=Mn(g=a[y])),w=e;_<h;++_)(w=lt(g>0?m[_]+" "+d:$(d,/&\f/g,m[_])))&&(l[E++]=w);return Xe(e,t,n,o===0?Oe:c,l,f,u)}function ao(e,t,n){return Xe(e,t,n,ct,_e(Kn()),de(e,2,-2),0)}function zn(e,t,n,r){return Xe(e,t,n,$e,de(e,0,r),de(e,r+1,-1),r)}function Ee(e,t){for(var n="",r=Ae(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Jn(e,t,n,r){switch(e.type){case Dn:if(e.children.length)break;case jn:case $e:return e.return=e.return||e.value;case ct:return"";case ut:return e.return=e.value+"{"+Ee(e.children,r)+"}";case Oe:e.value=e.props.join(",")}return q(n=Ee(e.children,r))?e.return=e.value+"{"+n+"}":""}function Zn(e){var t=Ae(e);return function(n,r,o,s){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,s)||"";return a}}function Qn(e){return function(t){t.root||(t=t.return)&&e(t)}}function er(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var co=function(t,n,r){for(var o=0,s=0;o=s,s=Q(),o===38&&s===12&&(n[r]=1),!Re(s);)K();return je(t,F)},uo=function(t,n){var r=-1,o=44;do switch(Re(o)){case 0:o===38&&Q()===12&&(n[r]=1),t[r]+=co(F-1,n,r);break;case 2:t[r]+=De(o);break;case 4:if(o===44){t[++r]=Q()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=_e(o)}while(o=K());return t},lo=function(t,n){return ht(uo(pt(t),n))},tr=new WeakMap,fo=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&&!tr.get(r))&&!o){tr.set(t,!0);for(var s=[],a=lo(n,s),c=r.props,l=0,f=0;l<a.length;l++)for(var u=0;u<c.length;u++,f++)t.props[f]=s[l]?a[l].replace(/&\f/g,c[u]):c[u]+" "+a[l]}}},po=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function nr(e,t){switch(qn(e,t)){case 5103:return A+"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 A+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+Ve+e+M+e+e;case 6828:case 4268:return A+e+M+e+e;case 6165:return A+e+M+"flex-"+e+e;case 5187:return A+e+$(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+M+"flex-$1$2")+e;case 5443:return A+e+M+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return A+e+M+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return A+e+M+$(e,"shrink","negative")+e;case 5292:return A+e+M+$(e,"basis","preferred-size")+e;case 6060:return A+"box-"+$(e,"-grow","")+A+e+M+$(e,"grow","positive")+e;case 4554:return A+$(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+M+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,A+"$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(q(e)-1-t>6)switch(L(e,t+1)){case 109:if(L(e,t+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+Ve+(L(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~We(e,"stretch")?nr($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(L(e,t+1)!==115)break;case 6444:switch(L(e,q(e)-3-(~We(e,"!important")&&10))){case 107:return $(e,":",":"+A)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(L(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+M+"$2box$3")+e}break;case 5936:switch(L(e,t+11)){case 114:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+M+e+e}return e}var ho=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case $e:t.return=nr(t.value,t.length);break;case ut:return Ee([Ne(t,{value:$(t.value,"@","@"+A)})],o);case Oe:if(t.length)return Bt(t.props,function(s){switch(Kt(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ee([Ne(t,{props:[$(s,/:(read-\w+)/,":"+Ve+"$1")]})],o);case"::placeholder":return Ee([Ne(t,{props:[$(s,/:(plac\w+)/,":"+A+"input-$1")]}),Ne(t,{props:[$(s,/:(plac\w+)/,":"+Ve+"$1")]}),Ne(t,{props:[$(s,/:(plac\w+)/,M+"input-$1")]})],o)}return""})}},mo=[ho],rr=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(g){var E=g.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var o=t.stylisPlugins||mo,s={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var E=g.getAttribute("data-emotion").split(" "),_=1;_<E.length;_++)s[E[_]]=!0;c.push(g)});var l,f=[fo,po];{var u,p=[Jn,Qn(function(g){u.insert(g)})],m=Zn(f.concat(o,p)),h=function(E){return Ee(Hn(E),m)};l=function(E,_,d,w){u=d,h(E?E+"{"+_.styles+"}":_.styles),w&&(y.inserted[_.name]=!0)}}var y={key:n,sheet:new Nn({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return y.sheet.hydrate(c),y};function or(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 ir={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 yo=!1,go=/[A-Z]|^ms/g,bo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ur=function(t){return t.charCodeAt(1)===45},sr=function(t){return t!=null&&typeof t!="boolean"},Wt=er(function(e){return ur(e)?e:e.replace(go,"-$&").toLowerCase()}),ar=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(bo,function(r,o,s){return ue={name:o,styles:s,next:ue},o})}return ir[t]!==1&&!ur(t)&&typeof n=="number"&&n!==0?n+"px":n},wo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ge(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 ue={name:o.name,styles:o.styles,next:ue},o.name;var s=n;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)ue={name:a.name,styles:a.styles,next:ue},a=a.next;var c=s.styles+";";return c}return xo(e,t,n)}case"function":{if(e!==void 0){var l=ue,f=n(e);return ue=l,Ge(e,t,f)}break}}var u=n;if(t==null)return u;var p=t[u];return p!==void 0?p:u}function xo(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ge(e,t,n[o])+";";else for(var s in n){var a=n[s];if(typeof a!="object"){var c=a;t!=null&&t[c]!==void 0?r+=s+"{"+t[c]+"}":sr(c)&&(r+=Wt(s)+":"+ar(s,c)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&yo)throw new Error(wo);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)sr(a[l])&&(r+=Wt(s)+":"+ar(s,a[l])+";");else{var f=Ge(e,t,a);switch(s){case"animation":case"animationName":{r+=Wt(s)+":"+f+";";break}default:r+=s+"{"+f+"}"}}}}return r}var cr=/label:\s*([^\s;{]+)\s*(;|$)/g,ue;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="";ue=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=Ge(n,t,s);else{var a=s;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=Ge(n,t,e[c]),r){var l=s;o+=l[c]}cr.lastIndex=0;for(var f="",u;(u=cr.exec(o))!==null;)f+="-"+u[1];var p=or(o)+f;return{name:p,styles:o,next:ue}}var _o=!0;function Xt(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var Eo=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||_o===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},lr=function(t,n,r){Eo(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 fr(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function pr(e,t,n){var r=[],o=Xt(e,r,n);return r.length<2?n:o+t(r)}var hr=function(t){var n=rr(t);n.sheet.speedy=function(c){this.isSpeedy=c},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 lr(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 fr(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);fr(n,p)},a=function(){for(var l=arguments.length,f=new Array(l),u=0;u<l;u++)f[u]=arguments[u];return pr(n.registered,r,vo(f))};return{css:r,cx:a,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:Xt.bind(null,n.registered),merge:pr.bind(null,n.registered,r)}},vo=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 a in o)o[a]&&a&&(s&&(s+=" "),s+=a)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n};var le=hr({key:"css"}),ko=le.flush,To=le.hydrate,So=le.cx,Co=le.merge,Oo=le.getRegisteredStyles,$o=le.injectGlobal,Ao=le.keyframes,Yt=le.css,Io=le.sheet,Lo=le.cache;function B(e){return e==null}function U(e){return e||"<<anonymous>>"}function Ro(e){return e&&(e.displayName||e.name)||"Unknown"}function ve(e){let t=function(r,o,s,a,c,l){let f=r[o];if(B(f)||e(f))return null;let u=e.expectedType||"the correct type",p=f===null?"null":typeof f;return new Error(`Invalid ${a} \`${c}\` of type \`${p}\` supplied to \`${U(s)}\`, expected \`${u}\`.`)};return t.isRequired=function(r,o,s,a,c){let l=r[o];return B(l)?new Error(`The ${a} \`${c}\` is marked as required in \`${U(s)}\`, but its value is \`${l}\`.`):t(r,o,s,a,c)},t}function Po(){let e={};e.any=(function(){let r=function(s,a,c,l,f){return null};return r.isRequired=function(){return null},r})(),e.array=ve(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=ve(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=ve(r=>typeof r=="function"),e.func.expectedType="function",e.number=ve(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=ve(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=ve(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=ve(r=>typeof r=="symbol"),e.symbol.expectedType="symbol",e.oneOf=function(o){let s=Array.isArray(o)?o:[],a=function(l,f,u,p,m){let h=l[f];if(B(h))return null;for(let g=0;g<s.length;g++)if(h===s[g])return null;let y=h===null?"null":typeof h;return new Error(`Invalid ${p} \`${m}\` of value \`${String(h)}\` supplied to \`${U(u)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${y}\`).`)};return a.isRequired=function(l,f,u,p,m){return B(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,m)},a},e.oneOfType=function(o){let s=o||[],a=function(l,f,u,p,m){let h=l[f];if(B(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 \`${U(u)}\` (none of the allowed types matched).`)};return a.isRequired=function(l,f,u,p,m){return B(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,m)},a},e.arrayOf=function(o){let s=o,a=function(l,f,u,p,m){let h=l[f];if(B(h))return null;if(!Array.isArray(h))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof h}\` supplied to \`${U(u)}\`, expected an array.`);for(let y=0;y<h.length;y++){let g=`${m}[${y}]`,E=s({[f]:h[y]},f,u,p,g);if(E!==null)return E}return null};return a.isRequired=function(l,f,u,p,m){return B(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,m)},a},e.objectOf=function(o){let s=o,a=function(l,f,u,p,m){let h=l[f];if(B(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof h}\` supplied to \`${U(u)}\`, expected an object.`);let y=Object.keys(h);for(let g=0;g<y.length;g++){let E=y[g],_=`${m}.${E}`,d=s({[f]:h[E]},f,u,p,_);if(d!==null)return d}return null};return a.isRequired=function(l,f,u,p,m){return B(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,m)},a};function t(r,{exact:o}){let s=r?Object.keys(r):[],a=function(l,f,u,p,m){let h=l[f];if(B(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof h}\` supplied to \`${U(u)}\`, expected an object.`);if(o){let g=Object.keys(h);for(let E=0;E<g.length;E++){let _=g[E];if(!Object.prototype.hasOwnProperty.call(r,_)){let d=`${m}.${_}`;return new Error(`Invalid ${p} \`${d}\` supplied to \`${U(u)}\`: extra key \`${_}\` is not allowed by exact().`)}}}for(let g=0;g<s.length;g++){let E=s[g],_=r[E],d=h[E],w=`${m}.${E}`;if(B(d)){let S=_({[f]:d},f,u,p,w);if(S!==null)return S;continue}let O=_({[f]:d},f,u,p,w);if(O!==null)return O}return null};return a.isRequired=function(l,f,u,p,m){return B(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,m)},a}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(c,l,f,u,p){let m=c[l];return B(m)||m instanceof o?null:new Error(`Invalid ${u} \`${p}\` supplied to \`${U(f)}\`: expected instance of \`${Ro(o)}\`.`)};return s.isRequired=function(c,l,f,u,p){return B(c[l])?new Error(`The ${u} \`${p}\` is marked as required in \`${U(f)}\`, but its value is \`${c[l]}\`.`):s(c,l,f,u,p)},s};let n=new Set;return e.checkPropTypes=function(o,s,a,c){},e}var dr=Po();var Qt={};H(Qt,{Component:()=>ye,HTMLComponent:()=>Ze,RootComponent:()=>kt,boolean_html_attributes_set:()=>kr,capture_events_set:()=>St,createComponent:()=>Zt,createElement:()=>zo,createPortal:()=>Xo,createRoot:()=>_r,current_component:()=>Ho,effect_timeout:()=>oi,events_set:()=>Tt,insertion_effects:()=>ti,layout_effects:()=>ei,length_css_attributes_set:()=>vr,memo:()=>Go,passive_effects:()=>ni,processEffects:()=>xr,render:()=>Yo,roots:()=>Qo,special_attributes:()=>Er,update_cbs:()=>Zo,update_interval_margin:()=>ii,update_set:()=>Jo,update_timeout:()=>ri});var[x,Me,V,mr,re,fe,me,yt,oe,gt,bt,He,wt,xt]=[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 Ht={};H(Ht,{Children:()=>ke,Fragment:()=>gr,Portal:()=>br,deepEqual:()=>Gt,eval_num:()=>Fo,findDOMNode:()=>jo,forwardRef:()=>zt,getComponentByPointer:()=>Do,id_num:()=>qo,isAsync:()=>Mo,isClass:()=>_t,isEmpty:()=>X,isError:()=>Uo,isThenable:()=>Et,isValidComponent:()=>yr,isValidElement:()=>No,shallowEqual:()=>J,toBool:()=>vt});var pe=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},yr=e=>e[x]!==void 0||e[TEXT]!==void 0,No=yr,jo=e=>{var t,n;if(!((n=(t=e[x])==null?void 0:t.element)!=null&&n.parentNode))throw new Error("findDOMNode only works on mounted components.");return e[x].element};function gr({children:e}){return e}gr.displayName="Fragment";function br({children:e,view:t}){return this[x].portal=t,e}br.displayName="Portal";var ke={_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}},zt=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function Do(){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[Me]&&o.parentNode;)o=o.parentNode;return e(o[Me]),!1}return window.addEventListener("click",n,!0),t}function X(e){for(let t in e)return!1;return!0}var J=(e,t,n)=>pe(e)!==pe(t)?!1:pe(e)==="array"?e.length!==t.length?!1:e.every((r,o)=>r===t[o]||o===n):pe(e)==="object"?Object.keys(e).every(r=>e[r]===t[r]||r===n):pe(e)==="date"?e.getTime()===t.getTime():e===t;function Gt(e,t){return pe(e)!==pe(t)?!1:pe(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>Gt(n,t[r])):pe(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>Gt(e[n],t[n])):pe(e)==="date"?e.getTime()===t.getTime():e===t}function _t(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function Mo(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function Et(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function Uo(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function vt(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 qo=Math.floor(Math.random()*1e4),Fo=0;var Jt=class{constructor(t){W(this,"owner");W(this,"current_map",new Map);W(this,"new_map",new Map);W(this,"pick_index",0);this.owner=t}pick(t,n){var s,a;let r,o=this.current_map.get(t);return o&&o.length>o[re]?(r=o[o[re]],o[re]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[re]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[re]=0),r[x]&&((a=(s=r[x]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[re]).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}},Je=class{constructor(t,n){W(this,"component");W(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var o,c,l,f,u,p,m,h,y;let r=!0;if(this.outlet&&(this!=null&&this[me])&&J(this.props,t,"children")&&J((o=this.props)==null?void 0:o.children,t==null?void 0:t.children)&&(r=!1),r){if(typeof n=="function"&&(n=n(this.state)),this.component.constructor.defaultProps&&(t={...this.component.constructor.defaultProps,...t}),((l=(c=this==null?void 0:this.parent)==null?void 0:c.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.shouldComponentUpdate&&!this.component.shouldComponentUpdate(n,t,this.context))return;typeof this.entity=="string"&&(this.element instanceof Element||(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[Me]=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 g=this.state,E=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,v.current_component=[this,v.current_component];try{this.outlet=this.component.render(t,{current:this.element||this.component})}catch(_){wr(this,_)}v.current_component=v.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(_){wr(this,_)}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 _=0;_<this.outlet.length;_++){let d=this.outlet[_];if(d==null||typeof d=="boolean")this.outlet.splice(_,1),_--;else if(typeof d=="function"){let w=this.childFunctionHandler(d);this.outlet.splice(_,1,w),_--}else if(d.constructor.name==="Array")this.outlet.splice(_,1,...d),_--;else{let w=Bo(this,d);this.outlet[_]=w,w[V]===void 0?(w.container=this.element?this:this.container,w.apply(d.props)):w.element?w[V]!==d[V]&&(w.element.textContent=d[V],w[V]=d[V]):(w.element=document.createTextNode(d[V]),w[V]=d[V])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(E,g,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,a,c,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&&v.setTimeout(()=>this.element.value=String(t.value),0);for(let u in this.props){let p=u.toLowerCase();t.hasOwnProperty(u)||(Tt.has(p)?this.event_detachers[p]():this.element.setAttribute(u,void 0))}for(let u in t){let p=u.toLowerCase();if(!Er.has(p)&&(t===this.props||!v.defaultIsEqual(t[u],this.props[u])||n))if(Tt.has(p))(r=this.event_detachers)!=null||(this.event_detachers={}),(s=(o=this.event_detachers)[p])==null||s.call(o),this.event_detachers[p]=v.addWrappedEventListener(this.element,p.substring(2),t[u]);else if(St.hasOwnProperty(p)){let m=St[p];(a=this.event_detachers)!=null||(this.event_detachers={}),(l=(c=this.event_detachers)[p])==null||l.call(c),this.event_detachers[p]=v.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)vr.has(m)&&isFinite(t.style[m])&&(t.style[m]+="px");Object.assign(this.element.style,t.style)}else kr.has(u)?this.element[u]=vt(t[u]):u==="autoFocus"?this.element.autofocus=vt(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[fe]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[fe])),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][mr]&&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)}},wr=(e,t)=>{var o,s,a,c;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&&(a=e.entity)!=null&&a.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,(c=e==null?void 0:e.component)!=null&&c.componentDidCatch)e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r});else throw t};function Ko(e,t){let n=e;if(e[V]===void 0){let r=e.entity,o=!1;if(typeof r=="object")if(r[me])o=r[me],r=r.component;else throw new Error("Invalid component.");if(typeof r=="string")n=new Ze(r,e.props);else{if(_t(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[x].state=n.state,Object.defineProperty(n,"state",{get(){return this[x].state},set(a){if(this[x].state===void 0)this[x].state=a;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 ye(e.props),n.render=r.bind(n),n[x].hooks=[],n[x].hook_index=0;else throw new Error("Error in constructing component.");n[x].entity=r,e.container&&(n[x].container=e.container)}o&&(n[x][me]=!0)}return t instanceof Je&&(n[x].parent=t),n}function Bo(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new Jt(e)),t=e.cache.pick(t[V]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[V]!==void 0||t instanceof Je?t:Ko(t,e)[x]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function Vo(){clearTimeout(v.effect_timeout);let e=v.update_set,t=v.update_cbs;v.update_set=new Set,v.update_cbs=new Set;for(let n of e)n.apply();for(let n of t)n();xr()}function xr(){let e=v.insertion_effects,t=v.layout_effects,n=v.passive_effects;v.insertion_effects=new Set,v.layout_effects=new Set,v.passive_effects=new Set;for(let r of e)r();for(let r of t)r();requestAnimationFrame(()=>{for(let r of n)r()})}var Wo=(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[V]!==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},ye=class{get state(){return this[x].state}set state(t){if(this[x].state===void 0)this[x].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[x].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[x].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[x].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[x].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[x].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[x].entity)!=null&&t.displayName?(n=this[x].entity)==null?void 0:n.displayName:typeof this[x].entity=="string"?this[x].entity:(_t(this[x].entity)&&this[x].entity.constructor.name,typeof this[x].entity=="function"?this[x].entity.name:"Component")}constructor(t){this[x]=new Je(this,t)}forceUpdate(t){v.clearTimeout(v.update_timeout),v.update_set.add(this[x].container||this[x]),t&&v.update_cbs.add(t.bind(this)),v.update_timeout=v.setTimeout(Vo,v.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[x].last_snapshot=this.getSnapshotBeforeUpdate(this[x].props,this.state)),this[x].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},Ze=class extends ye{constructor(t,n){super(n),this[x].entity=t}render(){return this[x].props.children}},kt=class extends Ze{constructor(n,r){super(":root",r);W(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[x].element=n;for(let o of r.children)o[x]?o[x].container=this[x]:o.container=this[x]}};function Zt(e,t={},...n){if(typeof e!="string"&&typeof e!="function"&&(typeof e!="object"||!e[me]))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]={[V]:o}:n[r]=o}return t.key=Wo(e,t),t.children=n,{entity:e,props:t}}function _r(e){let t;return{render(n){if(t)throw new Error("root already rendered!");return t=new kt(e,{children:[n]}),v.roots.add(t[x]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function Xo(e,t){return Zt(v.Portal,{view:t},e)}function Yo(e,t){if(e[x]&&(e[x].container||e[x].parent))throw new Error("Component is already in use");return _r(t).render(e)}function Go(e){return typeof e=="object"?e[me]=!0:e={component:e,[me]:!0},e}var zo=Zt,Ho=[],Jo=new Set,Zo=new Set,Qo=new Set,ei=new Set,ti=new Set,ni=new Set,ri,oi,ii=0,Er=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Tt=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"]),St={};for(let e of Tt)St[e+"capture"]=e;var vr=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"]),kr=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var nn={};H(nn,{createContext:()=>Ue,startTransition:()=>hi,useActionState:()=>ui,useCallback:()=>ie,useContext:()=>qe,useDebugValue:()=>pi,useDeferredValue:()=>fi,useEffect:()=>ee,useHook:()=>Z,useId:()=>si,useImperativeHandle:()=>tn,useInsertionEffect:()=>ci,useLayoutEffect:()=>Te,useLocalStorage:()=>ai,useMemo:()=>en,useReducer:()=>li,useRef:()=>D,useState:()=>Y,useTransition:()=>Tr});function Z(){let e=v.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function Y(e){let t=Z();return X(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,v.current_component[0],t)),[t.value,t.set_func]}function ie(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=Z();return!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function Ue(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function qe(e){var n;let t=v.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 si(e="N"){let t=Z();return X(t)&&(t.id=e+v.id_num++),t.id}function Tr(){let e=Z();return X(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,v.current_component[0],e)),[e.count!=0,e.func]}function ai(e,t){let n=Z(),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)),X(n)&&(n.value=r,n.set_func=function(o,s,a){typeof a=="function"&&(a=a(s.value)),a!==s.value&&(localStorage[e]=JSON.stringify(a),s.value=a,o.component.forceUpdate())}.bind(void 0,v.current_component[0],n)),[n.value,n.set_func]}function D(e=null){let t=Z();return X(t)&&(t.current=e),t}function Te(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=Z();!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.layout_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function ee(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=Z();!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.passive_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function ci(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=Z();!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.insertion_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function en(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=Z();return!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n.deps=t,n.value=e()),n.value}function ui(e,t){let n=Z(),[r,o]=Tr();return X(n)&&(n.state=t,n.form_action=s=>(event.preventDefault(),o(async()=>{let a=new FormData(s.target,s.submitter);n.state=await e(n.state,a)},[]),!1)),[n.state,n.form_action,r]}function li(e,t,n){let r=Z();return X(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(o,s,a){let c=s.reducer(s.state,a);v.defaultIsEqual(c,s.state)||(s.state=c,o.component.forceUpdate())}.bind(void 0,v.current_component[0],r)),[r.state,r.dispatch]}function fi(e,t){let{useEffect:n,useRef:r,useState:o}=v,[s,a]=o(typeof t!="undefined"?t:e),c=r(e),l=r(null);return n(()=>{if(c.current===e)return;c.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||(a(e),l.current=null)}),()=>{l.current&&(l.current.cancelled=!0,l.current=null)}},[e]),s}function tn(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&J(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}function pi(e,t=n=>n){}function hi(e){e()}var rn={};H(rn,{lazy:()=>mi,require:()=>Sr,required_scripts:()=>he,run:()=>Qe,runScripts:()=>gi});function di(e,t){let n=t.startsWith("/"),r=[],o=(n?"":e).split("/").filter(Boolean);for(let a of o)r.push(a);e.endsWith("/")||r.pop();let s=t.split("/");for(let a of s)a===""||a==="."||(a===".."?r.length>0&&r.pop():r.push(a));return(n?"/":"")+r.join("/")}var he={};function Qe(jsx,path=`InlineJSX-${++v.eval_num}`,is_inline=!0){let mappings=[],module={mappings,is_inline,path,code:jsx,exports:{}},processed;he[path]=module;try{processed=v.transpileJSX(jsx,{path,mappings,factory:"createComponent",appendSourcemap:!1,blocks_info:v.blocks_info,injectTraceLabels:!0,produceCJS:!0})}catch(e){throw v.error=e,e}processed+=`
59
- //# sourceURL=eval:/`+path,v.scanBlockLabels(processed,path);try{globalThis.Lilact=v,globalThis.createComponent=v.createComponent,globalThis.Fragment=v.Fragment;let res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=v.traceError(e),e}}function Sr(e,{forceUpdate:t,checkExport:n,requirer:r,isLazy:o}){var s,a;if((s=v.importObjectPaths)!=null&&s[e])return v.importObjectPaths[e];if(he[e]&&!t)return he[e].exports;if(e[0]==="#"){let c=document.getElementById(e);if(c)return Qe(c.innerText,e)}else{if(r&&r.path&&(e=di(r.path,e)),(a=v)!=null&&a[yt]||o)return v[yt]=!1,fetch(e).then(c=>{if(!c.ok)throw new Error(`HTTP ${c.status}`);return c.text()}).then(c=>{var l;return c=Qe(c,e,!1),(l=c==null?void 0:c.default)!=null?l:c}).catch(c=>{throw c});{let c=new XMLHttpRequest;if(c.open("GET",e,!1),c.send(null),c.status===200)return Qe(c.responseText,e,!1)}}throw new Error(`Required resource not found (${e})`)}function mi(e){let t="pending",n;v[yt]=!0,n=e(),v.isThenable(n)?n.then(o=>(t="success",n=o,n),o=>{throw t="error",n=o,o}):t="success";function r(o){if(t==="pending"||t==="error")throw n;let s=n;return createComponent(s,{...o})}return r}function yi(){return Array.from(document.querySelectorAll('script[type="text/jsx"]')).map(t=>{var n,r;return{src:(n=t.getAttribute("src"))!=null?n:null,content:(r=t.textContent)!=null?r:""}})}function gi(){let e=yi();for(let t of e)t.src&&Sr(t.src),t.content&&Qe(t.content)}var ln={};H(ln,{CSSTransition:()=>Or,SwitchTransition:()=>Ai,Transition:()=>Cr,TransitionGroup:()=>Ii});var an={};H(an,{animationFramePromise:()=>$i,clearInterval:()=>Ti,clearTimeout:()=>te,grabTimers:()=>Si,pauseTimers:()=>Ei,releaseTimers:()=>Ci,resetTimers:()=>_i,resumeTimers:()=>vi,setInterval:()=>ki,setTimeout:()=>we,timeoutPromise:()=>Oi});var Fe,et=-1,G=[],ge=-1,be={},Ct=window.setTimeout,bi=window.setInterval,tt=window.clearTimeout,wi=window.clearInterval;function xi(e){let t=0,n=G.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=G[o][oe];if(s===e)return[o,G[o]];s<e?t=o+1:n=o-1}let r=[];return r[oe]=e,G.splice(t,0,r),[t,r]}function on(e,t=!1){let[n,r]=xi(e[oe]);return t||(et++,be[et]=e,e[re]=et),r.push(e),G[0][0]===e&&(tt(ge),ge=Ct(sn,e[He])),et}function sn(){let e=Date.now(),t=0,n=G[t];for(;n&&n[oe]-e<=0;){for(let r of n)r[bt]?delete be[r[re]]:(r[wt](...r[xt]),r[gt]?(r[oe]=Date.now()+r[He],on(r,!0)):delete be[r[re]]);t++,n=G[t]}G.splice(0,t),G.length>0&&(tt(ge),ge=Ct(sn,G[0][oe]-e))}function _i(){tt(ge),Fe=void 0,et=-1,G=[],ge=-1,be={}}function Ei(){tt(ge),Fe=Date.now()}function vi(){if(Fe){if(G.length>0){let e=Date.now();Fe-=e;for(let t of G)t[oe]-=Fe;ge=Ct(sn,G[0][oe]-e)}Fe=void 0}}function we(e,t,...n){return on({[wt]:e,[He]:t,[oe]:Date.now()+t,[gt]:!1,[xt]:n})}function ki(e,t,...n){return on({[wt]:e,[He]:t,[oe]:Date.now()+t,[gt]:!0,[xt]:n})}function te(e){be[e]&&(be[e][bt]=!0)}function Ti(e){be[e]&&(be[e][bt]=!0)}function Si(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function Ci(){globalThis.setTimeout=Ct,globalThis.setInterval=bi,globalThis.clearTimeout=tt,globalThis.clearInterval=wi}function Oi(e=0,t=Lilact){let n,r,o,s=new Promise((a,c)=>{r=a,o=c,n=t.setTimeout(()=>{r()},e)});return s.proceed=()=>{t.clearTimeout(n),r()},s.cancel=()=>{t.clearTimeout(n),o()},s}function $i(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var cn="unmounted",Ot="exited",nt="entering",rt="entered",un="exiting";function Cr({in:e,timeout:t=v.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:s,onEntering:a,onEntered:c,onExit:l,onExiting:f,onExited:u,children:p,_classNames:m}){var h,y,g,E,_,d;return(y=(h=this[x]).is_mounted)!=null||(h.is_mounted=!n||e||o),(E=(g=this[x]).is_appeared)!=null||(g.is_appeared=e),(d=(_=this[x]).timer)!=null||(_.timer=null),this[x].childFunctionHandler=w=>w(this[x].mount_state),this[x].mount_state||(this[x].is_mounted||(this[x].mount_state=cn),e?this[x].mount_state=o&&!this[x].is_appeared?nt:rt:this[x].mount_state=Ot),ee(()=>()=>te(this[x].timer),[]),ee(()=>{!this[x].is_appeared&&o&&this[x].mount_state===nt&&e&&(s==null||s(),requestAnimationFrame(()=>{a==null||a(!this[x].is_appeared),te(this[x].timer),this[x].timer=we(()=>{this[x].mount_state=rt,this.forceUpdate(),this[x].is_appeared=!0,c==null||c(!this[x].is_appeared)},t)}))},[]),ee(()=>{if(e){if(this[x].is_mounted=!0,this[x].mount_state===nt||this[x].mount_state===rt)return;s==null||s(!this[x].is_appeared),this[x].mount_state=nt,this.forceUpdate(()=>{a==null||a(!this[x].is_appeared),te(this[x].timer),this[x].timer=we(()=>{this[x].mount_state=rt,this.forceUpdate(),this[x].is_appeared=!0,c==null||c()},t)})}else{if(this[x].mount_state===cn||this[x].mount_state===un||this[x].mount_state===Ot)return;l==null||l(),this[x].mount_state=un,this.forceUpdate(()=>{f==null||f(),te(this[x].timer),this[x].timer=we(()=>{this[x].mount_state=Ot,this.forceUpdate(),u==null||u(),r&&(this[x].is_mounted=!1,this[x].mount_state=cn,this.forceUpdate())},t)})}},[e,t]),this[x].is_mounted?(m&&(this[x].mount_state===nt?this[x].is_appeared?this[x][fe]=m.appearActive:this[x][fe]=m.enterActive:this[x].mount_state===rt?this[x].is_appeared?this[x][fe]=m.appearDone:this[x][fe]=m.enterDone:this[x].mount_state===un?this[x][fe]=m.exitActive:this[x].mount_state===Ot&&(this[x][fe]=m.exitDone)),p):null}function Or({in:e,timeout:t=v.defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:s=!1,children:a,onEnter:c,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(Cr,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:c,onEntering:l,onEntered:f,onExit:u,onExiting:p,onExited:m,_classNames:n},a)}function Ai({children:e,activeKey:t,mode:n="out-in",timeout:r=v.defaultTransitionTimeout,classNames:o="switch",mountOnEnter:s=!1,unmountOnExit:a=!1,appear:c=!1,onExited:l,onEnter:f,onExiting:u,onEntered:p,...m}){let h=en(()=>ke.toArray(e),[e]),[y,g]=Y(null),[E,_]=Y(!1),[d,w]=Y(!0),O=D(t),S=D(t),k=D(y);Te(()=>{S.current=t},[t]),Te(()=>{k.current=y},[y]),Te(()=>{let C=O.current;C!==t&&(O.current=t,g(C),n==="out-in"?(w(!1),_(!0)):(w(!0),_(!1)))},[t,n]);let T=C=>(z,ne)=>{typeof l=="function"&&l(z,ne),C===k.current&&(g(null),n==="out-in"&&(_(!1),w(!0)),n==="in-out"&&_(!1))},I=C=>(z,ne)=>{typeof p=="function"&&p(z,ne),n==="in-out"&&C===S.current&&k.current!=null&&_(!0)};return createComponent("div",{style:{position:"relative"}},h.map((C,z)=>{var st;let ne=((st=C==null?void 0:C.props)==null?void 0:st.key)||z,it=ne===t?d:ne===y?!E:!1;return createComponent(Or,{...m,key:ne,in:it,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:a,appear:c,onEnter:f,onExiting:u,onEntered:I(ne),onExited:T(ne)},createComponent("div",{style:{position:"absolute",inset:0}},C))}))}function Ii({children:e}){return e}var fn={};H(fn,{addWrappedEventListener:()=>Pi,createSyntheticEvent:()=>$r,releaseSyntheticEvent:()=>Ar,wrapListener:()=>Ir});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 $t=[],Li=10,Ri=["mouse","pen","touch"];function $r(e,t){var r,o,s,a,c,l,f,u,p,m,h,y,g,E,_,d,w,O,S,k,T,I;let n=$t.length?$t.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=(a=e.buttons)!=null?a:null,n.pointerId=(c=e.pointerId)!=null?c: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=(g=e.pageY)!=null?g:null,n.movementX=(E=e.movementX)!=null?E:0,n.movementY=(_=e.movementY)!=null?_:0,n.pressure=(d=e.pressure)!=null?d:null,n.tiltX=(w=e.tiltX)!=null?w:null,n.tiltY=(O=e.tiltY)!=null?O:null,n.width=(S=e.width)!=null?S:null,n.height=(k=e.height)!=null?k:null,n.pointerEventsSupported=Ri.includes(n.pointerType);try{let C=n.target;n.value=C&&"value"in C?C.value:void 0,n.checked=C&&"checked"in C?C.checked:void 0,n.selectionStart=C&&"selectionStart"in C?C.selectionStart:void 0,n.selectionEnd=C&&"selectionEnd"in C?C.selectionEnd:void 0}catch(C){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=(I=e.location)!=null?I:0,n}function Ar(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,$t.length<Li&&$t.push(e))}function Ir(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,a=$r(o,s);try{let c=e(a);n&&c===!0&&a.stopPropagation()}finally{Ar(a)}}}function Pi(e,t,n,r={}){let o=Ir(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var pn={};H(pn,{Provider:()=>Ni,combineReducers:()=>Mi,connect:()=>Di,useDispatch:()=>ji,useSelector:()=>Lr,useStore:()=>At});var ot;function Ni({store:e,children:t}){return ot!=null||(ot=Ue(null)),createComponent(ot.Provider,{value:e},t)}function At(){let e=qe(ot);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function ji(){return At().dispatch}function Lr(e,t=(n,r)=>n===r){let n=At(),r=D(),o=D(e);o.current=e;let[s,a]=Y(()=>e(n.getState()));return r.current=s,ee(()=>{function c(){let f=o.current(n.getState());t(r.current,f)||(r.current=f,a(f))}let l=n.subscribe(c);return c(),l},[n,t]),s}function Di(e,t){let n=!!e;return function(o){function s(a){let c=At(),l={dispatch:c.dispatch};if(typeof t=="function")l=t(c.dispatch,a);else if(typeof t=="object"&&t!==null){l={};let p=c.dispatch;for(let m in t){let h=t[m];l[m]=(...y)=>p(h(...y))}}let f={};e&&(f=Lr(m=>e(m,a),J)||{});let u={...a,...f,...l};return createComponent(o,{...u})}return s}}function Mi(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,a={};for(let c of t){let l=e[c],f=r[c],u=l(f,o);a[c]=u,s=s||u!==f}return s?a:r}}var hn={};H(hn,{blocks_info:()=>Bi,error:()=>Vi,globalErrorHandler:()=>Ki,scanBlockLabels:()=>Fi,traceError:()=>Nr});function Rr(e){if(e.lineno!==void 0||e.line!==void 0||e.lineNumber!==void 0){let n=e.lineNumber||e.lineno||e.line,r=e.columnNumber||e.colno||e.column;return{line:n,col:r}}let t=/:(\d+):(\d+)[\n].*/m.exec(e.stack);return t===null&&(t=/:(\d+):(\d+)\)\s+at .*/m.exec(e.stack)),t?{line:parseInt(t[1]),col:parseInt(t[2])}:null}function Ui(e,t="eval:/"){let r=(typeof e=="string"?e:String(e||"")).split(/\r?\n/),o=new RegExp(`\\(?((?:${qi(t)})[^\\s):]+):(\\d+):(?:(\\d+))?\\)?$`);for(let s of r){let a=s.trim();if(!a.includes(t))continue;let c=a.match(o);if(!c)continue;let l=c[1],f=Number(c[2]),u=c[3]==null?null:Number(c[3]);if(Number.isFinite(f)&&(u===null||Number.isFinite(u)))return{url:l,line:f,col:u,matched:a}}return{url:null,line:null,col:null,matched:null,stackPreview:r.slice(0,6).join(`
60
- `)}}function qi(e){return String(e).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Pr(e,t,n){let r=null;for(let o in e)if(!(e[o][0]<t)&&(e[o][0]>t||e[o][0]===t&&e[o][1]>=n)){r=e[o-1];break}return r||(r=e[e.length-1]),{line:t-r[0]+r[2],col:t-r[0]===0?r[3]:0}}function Fi(e,t){Array.from(e.matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//mg)).forEach(r=>{v.blocks_info.labels[r[1]]={path:t,desc:r[4]}})}function Nr(e){var r;if(e!=null&&e.is_traced)return e;let t=Ui(e.stack),n={fileName:((r=t.url)==null?void 0:r.slice(6))||e.fileName,lineNumber:t.line,columnNumber:t.col,message:e.message,name:e.name,stack:e.stack,_error:e,is_traced:!0};if(e.name!=="JSXParseError"){let o;if(t.url){o=he[n.fileName].mappings;let a=Pr(o,n.lineNumber-1,n.columnNumber-1);n.lineNumber=a.line,n.columnNumber=a.col}else if(e.lilact_trace!==void 0){let s=Rr(e),a,c;typeof e.lilact_trace=="object"?c=v.blocks_info.labels[e.lilact_trace[0]]:c=v.blocks_info.labels[e.lilact_trace],c&&(n.fileName=c.path,n.label=c.label,a=he[c.path].mappings,s=Pr(a,s.line-1,s.col-1),n.lineNumber=s.line,n.columnNumber=s.col)}}else{let o=Rr(e);e.fileName&&(n.fileName=e.fileName),n.lineNumber=o.line,n.columnNumber=o.col}return v.error=n,n}function Ki(e){e.error&&(e=e.error),e=Nr(e);let t=Yt(`
57
+ var In=Object.defineProperty;var Hr=(e,t,n)=>t in e?In(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var H=(e,t)=>{for(var n in t)In(e,n,{get:t[n],enumerable:!0})};var W=(e,t,n)=>Hr(e,typeof t!="symbol"?t+"":t,n);var Ft={};H(Ft,{__DO_NOT_USE__ActionTypes:()=>Be,applyMiddleware:()=>ro,bindActionCreators:()=>no,combineReducers:()=>to,compose:()=>Pn,createStore:()=>qt,isAction:()=>oo,isPlainObject:()=>Ut,legacy_createStore:()=>Qr});function j(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 Jr=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ln=Jr,Mt=()=>Math.random().toString(36).substring(7).split("").join("."),Zr={INIT:`@@redux/INIT${Mt()}`,REPLACE:`@@redux/REPLACE${Mt()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Mt()}`},Be=Zr;function Ut(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 qt(e,t,n){if(typeof e!="function")throw new Error(j(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(j(1));return n(qt)(e,t)}let r=e,o=t,s=new Map,a=s,c=0,l=!1;function f(){a===s&&(a=new Map,s.forEach((g,_)=>{a.set(_,g)}))}function u(){if(l)throw new Error(j(3));return o}function p(g){if(typeof g!="function")throw new Error(j(4));if(l)throw new Error(j(5));let _=!0;f();let h=c++;return a.set(h,g),function(){if(_){if(l)throw new Error(j(6));_=!1,f(),a.delete(h),s=null}}}function y(g){if(!Ut(g))throw new Error(j(7));if(typeof g.type=="undefined")throw new Error(j(8));if(typeof g.type!="string")throw new Error(j(17));if(l)throw new Error(j(9));try{l=!0,o=r(o,g)}finally{l=!1}return(s=a).forEach(h=>{h()}),g}function m(g){if(typeof g!="function")throw new Error(j(10));r=g,y({type:Be.REPLACE})}function d(){let g=p;return{subscribe(_){if(typeof _!="object"||_===null)throw new Error(j(11));function h(){let O=_;O.next&&O.next(u())}return h(),{unsubscribe:g(h)}},[Ln](){return this}}}return y({type:Be.INIT}),{dispatch:y,subscribe:p,getState:u,replaceReducer:m,[Ln]:d}}function Qr(e,t,n){return qt(e,t,n)}function eo(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:Be.INIT})=="undefined")throw new Error(j(12));if(typeof n(void 0,{type:Be.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(j(13))})}function to(e){let t=Object.keys(e),n={};for(let a=0;a<t.length;a++){let c=t[a];typeof e[c]=="function"&&(n[c]=e[c])}let r=Object.keys(n),o,s;try{eo(n)}catch(a){s=a}return function(c={},l){if(s)throw s;let f=!1,u={};for(let p=0;p<r.length;p++){let y=r[p],m=n[y],d=c[y],E=m(d,l);if(typeof E=="undefined"){let g=l&&l.type;throw new Error(j(14))}u[y]=E,f=f||E!==d}return f=f||r.length!==Object.keys(c).length,f?u:c}}function Rn(e,t){return function(...n){return t(e.apply(this,n))}}function no(e,t){if(typeof e=="function")return Rn(e,t);if(typeof e!="object"||e===null)throw new Error(j(16));let n={};for(let r in e){let o=e[r];typeof o=="function"&&(n[r]=Rn(o,t))}return n}function Pn(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function ro(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(j(15))},a={getState:o.getState,dispatch:(l,...f)=>s(l,...f)},c=e.map(l=>l(a));return s=Pn(...c)(o.dispatch),{...o,dispatch:s}}}function oo(e){return Ut(e)&&"type"in e&&typeof e.type=="string"}var ze={};H(ze,{cache:()=>Ro,css:()=>Yt,cx:()=>Co,flush:()=>To,getRegisteredStyles:()=>$o,hydrate:()=>So,injectGlobal:()=>Ao,keyframes:()=>Io,merge:()=>Oo,sheet:()=>Lo});var io=!1;function so(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 ao(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 Nn=(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?!io: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(ao(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=so(o);try{s.insertRule(r,s.cssRules.length)}catch(a){}}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 M="-ms-",Ve="-moz-",A="-webkit-",ct="comm",Oe="rule",$e="decl";var jn="@import";var ut="@keyframes";var Dn="@layer";var Mn=Math.abs,_e=String.fromCharCode,Un=Object.assign;function qn(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 lt(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,n){return e.replace(t,n)}function We(e,t){return e.indexOf(t)}function L(e,t){return e.charCodeAt(t)|0}function de(e,t,n){return e.slice(t,n)}function q(e){return e.length}function Ae(e){return e.length}function Ie(e,t){return t.push(e),e}function Bt(e,t){return e.map(t).join("")}var ft=1,Le=1,Fn=0,F=0,R=0,Pe="";function Xe(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:ft,column:Le,length:a,return:""}}function Ne(e,t){return Un(Xe("",null,null,"",null,null,0),e,{length:-e.length},t)}function Kn(){return R}function Bn(){return R=F>0?L(Pe,--F):0,Le--,R===10&&(Le=1,ft--),R}function K(){return R=F<Fn?L(Pe,F++):0,Le++,R===10&&(Le=1,ft++),R}function Q(){return L(Pe,F)}function Ye(){return F}function je(e,t){return de(Pe,e,t)}function Re(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 pt(e){return ft=Le=1,Fn=q(Pe=e),F=0,[]}function ht(e){return Pe="",e}function De(e){return lt(je(F-1,Vt(e===91?e+2:e===40?e+1:e)))}function Vn(e){for(;(R=Q())&&R<33;)K();return Re(e)>2||Re(R)>3?"":" "}function Wn(e,t){for(;--t&&K()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return je(e,Ye()+(t<6&&Q()==32&&K()==32))}function Vt(e){for(;K();)switch(R){case e:return F;case 34:case 39:e!==34&&e!==39&&Vt(R);break;case 40:e===41&&Vt(e);break;case 92:K();break}return F}function Xn(e,t){for(;K()&&e+R!==57;)if(e+R===84&&Q()===47)break;return"/*"+je(t,F-1)+"*"+_e(e===47?e:K())}function Yn(e){for(;!Re(Q());)K();return je(e,F)}function Hn(e){return ht(dt("",null,null,null,[""],e=pt(e),0,[0],e))}function dt(e,t,n,r,o,s,a,c,l){for(var f=0,u=0,p=a,y=0,m=0,d=0,E=1,g=1,_=1,h=0,w="",O=o,S=s,k=r,T=w;g;)switch(d=h,h=K()){case 40:if(d!=108&&L(T,p-1)==58){We(T+=$(De(h),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:T+=De(h);break;case 9:case 10:case 13:case 32:T+=Vn(d);break;case 92:T+=Wn(Ye()-1,7);continue;case 47:switch(Q()){case 42:case 47:Ie(co(Xn(K(),Ye()),t,n),l);break;default:T+="/"}break;case 123*E:c[f++]=q(T)*_;case 125*E:case 59:case 0:switch(h){case 0:case 125:g=0;case 59+u:_==-1&&(T=$(T,/\f/g,"")),m>0&&q(T)-p&&Ie(m>32?zn(T+";",r,n,p-1):zn($(T," ","")+";",r,n,p-2),l);break;case 59:T+=";";default:if(Ie(k=Gn(T,t,n,f,u,o,c,w,O=[],S=[],p),s),h===123)if(u===0)dt(T,t,k,k,O,s,p,c,S);else switch(y===99&&L(T,3)===110?100:y){case 100:case 108:case 109:case 115:dt(e,k,k,r&&Ie(Gn(e,k,k,0,0,o,c,w,o,O=[],p),S),o,S,p,c,r?O:S);break;default:dt(T,k,k,k,[""],S,0,c,S)}}f=u=m=0,E=_=1,w=T="",p=a;break;case 58:p=1+q(T),m=d;default:if(E<1){if(h==123)--E;else if(h==125&&E++==0&&Bn()==125)continue}switch(T+=_e(h),h*E){case 38:_=u>0?1:(T+="\f",-1);break;case 44:c[f++]=(q(T)-1)*_,_=1;break;case 64:Q()===45&&(T+=De(K())),y=Q(),u=p=q(w=T+=Yn(Ye())),h++;break;case 45:d===45&&q(T)==2&&(E=0)}}return s}function Gn(e,t,n,r,o,s,a,c,l,f,u){for(var p=o-1,y=o===0?s:[""],m=Ae(y),d=0,E=0,g=0;d<r;++d)for(var _=0,h=de(e,p+1,p=Mn(E=a[d])),w=e;_<m;++_)(w=lt(E>0?y[_]+" "+h:$(h,/&\f/g,y[_])))&&(l[g++]=w);return Xe(e,t,n,o===0?Oe:c,l,f,u)}function co(e,t,n){return Xe(e,t,n,ct,_e(Kn()),de(e,2,-2),0)}function zn(e,t,n,r){return Xe(e,t,n,$e,de(e,0,r),de(e,r+1,-1),r)}function Ee(e,t){for(var n="",r=Ae(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Jn(e,t,n,r){switch(e.type){case Dn:if(e.children.length)break;case jn:case $e:return e.return=e.return||e.value;case ct:return"";case ut:return e.return=e.value+"{"+Ee(e.children,r)+"}";case Oe:e.value=e.props.join(",")}return q(n=Ee(e.children,r))?e.return=e.value+"{"+n+"}":""}function Zn(e){var t=Ae(e);return function(n,r,o,s){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,s)||"";return a}}function Qn(e){return function(t){t.root||(t=t.return)&&e(t)}}function er(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var uo=function(t,n,r){for(var o=0,s=0;o=s,s=Q(),o===38&&s===12&&(n[r]=1),!Re(s);)K();return je(t,F)},lo=function(t,n){var r=-1,o=44;do switch(Re(o)){case 0:o===38&&Q()===12&&(n[r]=1),t[r]+=uo(F-1,n,r);break;case 2:t[r]+=De(o);break;case 4:if(o===44){t[++r]=Q()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=_e(o)}while(o=K());return t},fo=function(t,n){return ht(lo(pt(t),n))},tr=new WeakMap,po=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&&!tr.get(r))&&!o){tr.set(t,!0);for(var s=[],a=fo(n,s),c=r.props,l=0,f=0;l<a.length;l++)for(var u=0;u<c.length;u++,f++)t.props[f]=s[l]?a[l].replace(/&\f/g,c[u]):c[u]+" "+a[l]}}},ho=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function nr(e,t){switch(qn(e,t)){case 5103:return A+"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 A+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+Ve+e+M+e+e;case 6828:case 4268:return A+e+M+e+e;case 6165:return A+e+M+"flex-"+e+e;case 5187:return A+e+$(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+M+"flex-$1$2")+e;case 5443:return A+e+M+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return A+e+M+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return A+e+M+$(e,"shrink","negative")+e;case 5292:return A+e+M+$(e,"basis","preferred-size")+e;case 6060:return A+"box-"+$(e,"-grow","")+A+e+M+$(e,"grow","positive")+e;case 4554:return A+$(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+M+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,A+"$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(q(e)-1-t>6)switch(L(e,t+1)){case 109:if(L(e,t+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+Ve+(L(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~We(e,"stretch")?nr($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(L(e,t+1)!==115)break;case 6444:switch(L(e,q(e)-3-(~We(e,"!important")&&10))){case 107:return $(e,":",":"+A)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(L(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+M+"$2box$3")+e}break;case 5936:switch(L(e,t+11)){case 114:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+M+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+M+e+e}return e}var mo=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case $e:t.return=nr(t.value,t.length);break;case ut:return Ee([Ne(t,{value:$(t.value,"@","@"+A)})],o);case Oe:if(t.length)return Bt(t.props,function(s){switch(Kt(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ee([Ne(t,{props:[$(s,/:(read-\w+)/,":"+Ve+"$1")]})],o);case"::placeholder":return Ee([Ne(t,{props:[$(s,/:(plac\w+)/,":"+A+"input-$1")]}),Ne(t,{props:[$(s,/:(plac\w+)/,":"+Ve+"$1")]}),Ne(t,{props:[$(s,/:(plac\w+)/,M+"input-$1")]})],o)}return""})}},yo=[mo],rr=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(E){var g=E.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var o=t.stylisPlugins||yo,s={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var g=E.getAttribute("data-emotion").split(" "),_=1;_<g.length;_++)s[g[_]]=!0;c.push(E)});var l,f=[po,ho];{var u,p=[Jn,Qn(function(E){u.insert(E)})],y=Zn(f.concat(o,p)),m=function(g){return Ee(Hn(g),y)};l=function(g,_,h,w){u=h,m(g?g+"{"+_.styles+"}":_.styles),w&&(d.inserted[_.name]=!0)}}var d={key:n,sheet:new Nn({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return d.sheet.hydrate(c),d};function or(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 ir={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 go=!1,bo=/[A-Z]|^ms/g,wo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ur=function(t){return t.charCodeAt(1)===45},sr=function(t){return t!=null&&typeof t!="boolean"},Wt=er(function(e){return ur(e)?e:e.replace(bo,"-$&").toLowerCase()}),ar=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(wo,function(r,o,s){return ue={name:o,styles:s,next:ue},o})}return ir[t]!==1&&!ur(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 Ge(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 ue={name:o.name,styles:o.styles,next:ue},o.name;var s=n;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)ue={name:a.name,styles:a.styles,next:ue},a=a.next;var c=s.styles+";";return c}return _o(e,t,n)}case"function":{if(e!==void 0){var l=ue,f=n(e);return ue=l,Ge(e,t,f)}break}}var u=n;if(t==null)return u;var p=t[u];return p!==void 0?p:u}function _o(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ge(e,t,n[o])+";";else for(var s in n){var a=n[s];if(typeof a!="object"){var c=a;t!=null&&t[c]!==void 0?r+=s+"{"+t[c]+"}":sr(c)&&(r+=Wt(s)+":"+ar(s,c)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&go)throw new Error(xo);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)sr(a[l])&&(r+=Wt(s)+":"+ar(s,a[l])+";");else{var f=Ge(e,t,a);switch(s){case"animation":case"animationName":{r+=Wt(s)+":"+f+";";break}default:r+=s+"{"+f+"}"}}}}return r}var cr=/label:\s*([^\s;{]+)\s*(;|$)/g,ue;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="";ue=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=Ge(n,t,s);else{var a=s;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=Ge(n,t,e[c]),r){var l=s;o+=l[c]}cr.lastIndex=0;for(var f="",u;(u=cr.exec(o))!==null;)f+="-"+u[1];var p=or(o)+f;return{name:p,styles:o,next:ue}}var Eo=!0;function Xt(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var vo=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Eo===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},lr=function(t,n,r){vo(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 fr(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function pr(e,t,n){var r=[],o=Xt(e,r,n);return r.length<2?n:o+t(r)}var hr=function(t){var n=rr(t);n.sheet.speedy=function(c){this.isSpeedy=c},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 lr(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),y="animation-"+p.name;return fr(n,{name:p.name,styles:"@keyframes "+y+"{"+p.styles+"}"}),y},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);fr(n,p)},a=function(){for(var l=arguments.length,f=new Array(l),u=0;u<l;u++)f[u]=arguments[u];return pr(n.registered,r,ko(f))};return{css:r,cx:a,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:Xt.bind(null,n.registered),merge:pr.bind(null,n.registered,r)}},ko=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 a in o)o[a]&&a&&(s&&(s+=" "),s+=a)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n};var le=hr({key:"css"}),To=le.flush,So=le.hydrate,Co=le.cx,Oo=le.merge,$o=le.getRegisteredStyles,Ao=le.injectGlobal,Io=le.keyframes,Yt=le.css,Lo=le.sheet,Ro=le.cache;function B(e){return e==null}function U(e){return e||"<<anonymous>>"}function Po(e){return e&&(e.displayName||e.name)||"Unknown"}function ve(e){let t=function(r,o,s,a,c,l){let f=r[o];if(B(f)||e(f))return null;let u=e.expectedType||"the correct type",p=f===null?"null":typeof f;return new Error(`Invalid ${a} \`${c}\` of type \`${p}\` supplied to \`${U(s)}\`, expected \`${u}\`.`)};return t.isRequired=function(r,o,s,a,c){let l=r[o];return B(l)?new Error(`The ${a} \`${c}\` is marked as required in \`${U(s)}\`, but its value is \`${l}\`.`):t(r,o,s,a,c)},t}function No(){let e={};e.any=(function(){let r=function(s,a,c,l,f){return null};return r.isRequired=function(){return null},r})(),e.array=ve(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=ve(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=ve(r=>typeof r=="function"),e.func.expectedType="function",e.number=ve(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=ve(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=ve(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=ve(r=>typeof r=="symbol"),e.symbol.expectedType="symbol",e.oneOf=function(o){let s=Array.isArray(o)?o:[],a=function(l,f,u,p,y){let m=l[f];if(B(m))return null;for(let E=0;E<s.length;E++)if(m===s[E])return null;let d=m===null?"null":typeof m;return new Error(`Invalid ${p} \`${y}\` of value \`${String(m)}\` supplied to \`${U(u)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${d}\`).`)};return a.isRequired=function(l,f,u,p,y){return B(l[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,y)},a},e.oneOfType=function(o){let s=o||[],a=function(l,f,u,p,y){let m=l[f];if(B(m))return null;for(let d=0;d<s.length;d++)if(s[d](l,f,u,p,y)===null)return null;return new Error(`Invalid ${p} \`${y}\` supplied to \`${U(u)}\` (none of the allowed types matched).`)};return a.isRequired=function(l,f,u,p,y){return B(l[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,y)},a},e.arrayOf=function(o){let s=o,a=function(l,f,u,p,y){let m=l[f];if(B(m))return null;if(!Array.isArray(m))return new Error(`Invalid ${p} \`${y}\` of type \`${typeof m}\` supplied to \`${U(u)}\`, expected an array.`);for(let d=0;d<m.length;d++){let E=`${y}[${d}]`,g=s({[f]:m[d]},f,u,p,E);if(g!==null)return g}return null};return a.isRequired=function(l,f,u,p,y){return B(l[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,y)},a},e.objectOf=function(o){let s=o,a=function(l,f,u,p,y){let m=l[f];if(B(m))return null;if(typeof m!="object"||m===null||Array.isArray(m))return new Error(`Invalid ${p} \`${y}\` of type \`${typeof m}\` supplied to \`${U(u)}\`, expected an object.`);let d=Object.keys(m);for(let E=0;E<d.length;E++){let g=d[E],_=`${y}.${g}`,h=s({[f]:m[g]},f,u,p,_);if(h!==null)return h}return null};return a.isRequired=function(l,f,u,p,y){return B(l[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,y)},a};function t(r,{exact:o}){let s=r?Object.keys(r):[],a=function(l,f,u,p,y){let m=l[f];if(B(m))return null;if(typeof m!="object"||m===null||Array.isArray(m))return new Error(`Invalid ${p} \`${y}\` of type \`${typeof m}\` supplied to \`${U(u)}\`, expected an object.`);if(o){let E=Object.keys(m);for(let g=0;g<E.length;g++){let _=E[g];if(!Object.prototype.hasOwnProperty.call(r,_)){let h=`${y}.${_}`;return new Error(`Invalid ${p} \`${h}\` supplied to \`${U(u)}\`: extra key \`${_}\` is not allowed by exact().`)}}}for(let E=0;E<s.length;E++){let g=s[E],_=r[g],h=m[g],w=`${y}.${g}`;if(B(h)){let S=_({[f]:h},f,u,p,w);if(S!==null)return S;continue}let O=_({[f]:h},f,u,p,w);if(O!==null)return O}return null};return a.isRequired=function(l,f,u,p,y){return B(l[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${U(u)}\`, but its value is \`${l[f]}\`.`):a(l,f,u,p,y)},a}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(c,l,f,u,p){let y=c[l];return B(y)||y instanceof o?null:new Error(`Invalid ${u} \`${p}\` supplied to \`${U(f)}\`: expected instance of \`${Po(o)}\`.`)};return s.isRequired=function(c,l,f,u,p){return B(c[l])?new Error(`The ${u} \`${p}\` is marked as required in \`${U(f)}\`, but its value is \`${c[l]}\`.`):s(c,l,f,u,p)},s};let n=new Set;return e.checkPropTypes=function(o,s,a,c){},e}var dr=No();var Qt={};H(Qt,{Component:()=>ye,HTMLComponent:()=>Ze,RootComponent:()=>kt,boolean_html_attributes_set:()=>Tr,capture_events_set:()=>St,cloneComponent:()=>Er,cloneElement:()=>Go,createComponent:()=>Zt,createElement:()=>Jo,createPortal:()=>Yo,createRoot:()=>_r,current_component:()=>Zo,effect_timeout:()=>si,events_set:()=>Tt,insertion_effects:()=>ri,layout_effects:()=>ni,length_css_attributes_set:()=>kr,memo:()=>Ho,passive_effects:()=>oi,processEffects:()=>xr,render:()=>zo,roots:()=>ti,special_attributes:()=>vr,update_cbs:()=>ei,update_interval_margin:()=>ai,update_set:()=>Qo,update_timeout:()=>ii});var[x,Me,V,mr,oe,fe,me,yt,ie,gt,bt,He,wt,xt]=[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 Ht={};H(Ht,{Children:()=>ke,Fragment:()=>gr,Portal:()=>br,deepEqual:()=>Gt,eval_num:()=>Ko,findDOMNode:()=>Do,forwardRef:()=>zt,getComponentByPointer:()=>Mo,id_num:()=>Fo,isAsync:()=>Uo,isClass:()=>_t,isEmpty:()=>X,isError:()=>qo,isThenable:()=>Et,isValidComponent:()=>yr,isValidElement:()=>jo,shallowEqual:()=>J,toBool:()=>vt});var pe=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},yr=e=>e[x]!==void 0||e[TEXT]!==void 0,jo=yr,Do=e=>{var t,n;if(!((n=(t=e[x])==null?void 0:t.element)!=null&&n.parentNode))throw new Error("findDOMNode only works on mounted components.");return e[x].element};function gr({children:e}){return e}gr.displayName="Fragment";function br({children:e,view:t}){return this[x].portal=t,e}br.displayName="Portal";var ke={_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}},zt=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function Mo(){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[Me]&&o.parentNode;)o=o.parentNode;return e(o[Me]),!1}return window.addEventListener("click",n,!0),t}function X(e){for(let t in e)return!1;return!0}var J=(e,t,n)=>pe(e)!==pe(t)?!1:pe(e)==="array"?e.length!==t.length?!1:e.every((r,o)=>r===t[o]||o===n):pe(e)==="object"?Object.keys(e).every(r=>e[r]===t[r]||r===n):pe(e)==="date"?e.getTime()===t.getTime():e===t;function Gt(e,t){return pe(e)!==pe(t)?!1:pe(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>Gt(n,t[r])):pe(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>Gt(e[n],t[n])):pe(e)==="date"?e.getTime()===t.getTime():e===t}function _t(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function Uo(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function Et(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function qo(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function vt(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 Fo=Math.floor(Math.random()*1e4),Ko=0;var Jt=class{constructor(t){W(this,"owner");W(this,"current_map",new Map);W(this,"new_map",new Map);W(this,"pick_index",0);this.owner=t}pick(t,n){var s,a;let r,o=this.current_map.get(t);return o&&o.length>o[oe]?(r=o[o[oe]],o[oe]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[oe]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[oe]=0),r[x]&&((a=(s=r[x]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[oe]).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}},Je=class{constructor(t,n){W(this,"component");W(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var o,c,l,f,u,p,y,m,d;let r=!0;if(this.outlet&&(this!=null&&this[me])&&J(this.props,t,"children")&&J((o=this.props)==null?void 0:o.children,t==null?void 0:t.children)&&(r=!1),r){if(typeof n=="function"&&(n=n(this.state)),this.component.constructor.defaultProps&&(t={...this.component.constructor.defaultProps,...t}),((l=(c=this==null?void 0:this.parent)==null?void 0:c.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,...(y=(p=this.parent.component).getChildContext)==null?void 0:y.call(p)}),this.component.shouldComponentUpdate&&!this.component.shouldComponentUpdate(n,t,this.context))return;typeof this.entity=="string"&&(this.element instanceof Element||(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[Me]=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 E=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,v.current_component=[this,v.current_component];try{this.outlet=this.component.render(t,{current:this.element||this.component})}catch(_){wr(this,_)}v.current_component=v.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(_){wr(this,_)}this!=null&&this.portal&&(this.element=this.portal),((d=(m=this.outlet)==null?void 0:m.constructor)==null?void 0:d.name)!=="Array"&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let _=0;_<this.outlet.length;_++){let h=this.outlet[_];if(h==null||typeof h=="boolean")this.outlet.splice(_,1),_--;else if(typeof h=="function"){let w=this.childFunctionHandler(h);this.outlet.splice(_,1,w),_--}else if(h.constructor.name==="Array")this.outlet.splice(_,1,...h),_--;else{let w=Vo(this,h);this.outlet[_]=w,w[V]===void 0?(w.container=this.element?this:this.container,w.apply(h.props)):w.element?w[V]!==h[V]&&(w.element.textContent=h[V],w[V]=h[V]):(w.element=document.createTextNode(h[V]),w[V]=h[V])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(g,E,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,a,c,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&&v.setTimeout(()=>this.element.value=String(t.value),0);for(let u in this.props){let p=u.toLowerCase();t.hasOwnProperty(u)||(Tt.has(p)?this.event_detachers[p]():this.element.setAttribute(u,void 0))}for(let u in t){let p=u.toLowerCase();if(!vr.has(p)&&(t===this.props||!v.defaultIsEqual(t[u],this.props[u])||n))if(Tt.has(p))(r=this.event_detachers)!=null||(this.event_detachers={}),(s=(o=this.event_detachers)[p])==null||s.call(o),this.event_detachers[p]=v.addWrappedEventListener(this.element,p.substring(2),t[u]);else if(St.hasOwnProperty(p)){let y=St[p];(a=this.event_detachers)!=null||(this.event_detachers={}),(l=(c=this.event_detachers)[p])==null||l.call(c),this.event_detachers[p]=v.addWrappedEventListener(this.element,y.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 y in this.props.style)t.style.hasOwnProperty(y)||(this.element.style[y]="");for(let y in t.style)kr.has(y)&&isFinite(t.style[y])&&(t.style[y]+="px");Object.assign(this.element.style,t.style)}else Tr.has(u)?this.element[u]=vt(t[u]):u==="autoFocus"?this.element.autofocus=vt(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[fe]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[fe])),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][mr]&&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)}},wr=(e,t)=>{var o,s,a,c;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&&(a=e.entity)!=null&&a.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,(c=e==null?void 0:e.component)!=null&&c.componentDidCatch)e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r});else throw t};function Bo(e,t){let n=e;if(e[V]===void 0){let r=e.entity,o=!1;if(typeof r=="object")if(r[me])o=r[me],r=r.component;else throw new Error("Invalid component.");if(typeof r=="string")n=new Ze(r,e.props);else{if(_t(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[x].state=n.state,Object.defineProperty(n,"state",{get(){return this[x].state},set(a){if(this[x].state===void 0)this[x].state=a;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 ye(e.props),n.render=r.bind(n),n[x].hooks=[],n[x].hook_index=0;else throw new Error("Error in constructing component.");n[x].entity=r,e.container&&(n[x].container=e.container)}o&&(n[x][me]=!0)}return t instanceof Je&&(n[x].parent=t),n}function Vo(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new Jt(e)),t=e.cache.pick(t[V]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[V]!==void 0||t instanceof Je?t:Bo(t,e)[x]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function Wo(){clearTimeout(v.effect_timeout);let e=v.update_set,t=v.update_cbs;v.update_set=new Set,v.update_cbs=new Set;for(let n of e)n.apply();for(let n of t)n();xr()}function xr(){let e=v.insertion_effects,t=v.layout_effects,n=v.passive_effects;v.insertion_effects=new Set,v.layout_effects=new Set,v.passive_effects=new Set;for(let r of e)r();for(let r of t)r();requestAnimationFrame(()=>{for(let r of n)r()})}var Xo=(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[V]!==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},ye=class{get state(){return this[x].state}set state(t){if(this[x].state===void 0)this[x].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[x].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[x].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[x].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[x].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[x].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[x].entity)!=null&&t.displayName?(n=this[x].entity)==null?void 0:n.displayName:typeof this[x].entity=="string"?this[x].entity:(_t(this[x].entity)&&this[x].entity.constructor.name,typeof this[x].entity=="function"?this[x].entity.name:"Component")}constructor(t){this[x]=new Je(this,t)}forceUpdate(t){v.clearTimeout(v.update_timeout),v.update_set.add(this[x].container||this[x]),t&&v.update_cbs.add(t.bind(this)),v.update_timeout=v.setTimeout(Wo,v.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[x].last_snapshot=this.getSnapshotBeforeUpdate(this[x].props,this.state)),this[x].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},Ze=class extends ye{constructor(t,n){super(n),this[x].entity=t}render(){return this[x].props.children}},kt=class extends Ze{constructor(n,r){super(":root",r);W(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[x].element=n;for(let o of r.children)o[x]?o[x].container=this[x]:o.container=this[x]}};function Zt(e,t={},...n){if(typeof e!="string"&&typeof e!="function"&&(typeof e!="object"||!e[me]))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]={[V]:o}:n[r]=o}return t.key=Xo(e,t),t.children=n,{entity:e,props:t}}function _r(e){let t;return{render(n){if(t)throw new Error("root already rendered!");return t=new kt(e,{children:[n]}),v.roots.add(t[x]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function Yo(e,t){return Zt(v.Portal,{view:t},e)}function Er(e,t,...n){return{entity:e.entity,props:{...e.props,...t,children:n}}}var Go=Er;function zo(e,t){if(e[x]&&(e[x].container||e[x].parent))throw new Error("Component is already in use");return _r(t).render(e)}function Ho(e){return typeof e=="object"?e[me]=!0:e={component:e,[me]:!0},e}var Jo=Zt,Zo=[],Qo=new Set,ei=new Set,ti=new Set,ni=new Set,ri=new Set,oi=new Set,ii,si,ai=0,vr=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Tt=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"]),St={};for(let e of Tt)St[e+"capture"]=e;var kr=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"]),Tr=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var nn={};H(nn,{createContext:()=>Ue,startTransition:()=>mi,useActionState:()=>fi,useCallback:()=>se,useContext:()=>qe,useDebugValue:()=>di,useDeferredValue:()=>hi,useEffect:()=>ee,useHook:()=>Z,useId:()=>ci,useImperativeHandle:()=>tn,useInsertionEffect:()=>li,useLayoutEffect:()=>Te,useLocalStorage:()=>ui,useMemo:()=>en,useReducer:()=>pi,useRef:()=>D,useState:()=>Y,useTransition:()=>Sr});function Z(){let e=v.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function Y(e){let t=Z();return X(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,v.current_component[0],t)),[t.value,t.set_func]}function se(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=Z();return!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function Ue(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function qe(e){var n;let t=v.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 ci(e="N"){let t=Z();return X(t)&&(t.id=e+v.id_num++),t.id}function Sr(){let e=Z();return X(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,v.current_component[0],e)),[e.count!=0,e.func]}function ui(e,t){let n=Z(),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)),X(n)&&(n.value=r,n.set_func=function(o,s,a){typeof a=="function"&&(a=a(s.value)),a!==s.value&&(localStorage[e]=JSON.stringify(a),s.value=a,o.component.forceUpdate())}.bind(void 0,v.current_component[0],n)),[n.value,n.set_func]}function D(e=null){let t=Z();return X(t)&&(t.current=e),t}function Te(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=Z();!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.layout_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function ee(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=Z();!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.passive_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function li(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=Z();!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.insertion_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function en(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=Z();return!X(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&J(t,n.deps)||(n.deps=t,n.value=e()),n.value}function fi(e,t){let n=Z(),[r,o]=Sr();return X(n)&&(n.state=t,n.form_action=s=>(event.preventDefault(),o(async()=>{let a=new FormData(s.target,s.submitter);n.state=await e(n.state,a)},[]),!1)),[n.state,n.form_action,r]}function pi(e,t,n){let r=Z();return X(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(o,s,a){let c=s.reducer(s.state,a);v.defaultIsEqual(c,s.state)||(s.state=c,o.component.forceUpdate())}.bind(void 0,v.current_component[0],r)),[r.state,r.dispatch]}function hi(e,t){let{useEffect:n,useRef:r,useState:o}=v,[s,a]=o(typeof t!="undefined"?t:e),c=r(e),l=r(null);return n(()=>{if(c.current===e)return;c.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||(a(e),l.current=null)}),()=>{l.current&&(l.current.cancelled=!0,l.current=null)}},[e]),s}function tn(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&J(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}function di(e,t=n=>n){}function mi(e){e()}var rn={};H(rn,{lazy:()=>gi,require:()=>Cr,required_scripts:()=>he,run:()=>Qe,runScripts:()=>wi});function yi(e,t){let n=t.startsWith("/"),r=[],o=(n?"":e).split("/").filter(Boolean);for(let a of o)r.push(a);e.endsWith("/")||r.pop();let s=t.split("/");for(let a of s)a===""||a==="."||(a===".."?r.length>0&&r.pop():r.push(a));return(n?"/":"")+r.join("/")}var he={};function Qe(jsx,path=`InlineJSX-${++v.eval_num}`,is_inline=!0){let mappings=[],module={mappings,is_inline,path,code:jsx,exports:{}},processed;he[path]=module;try{processed=v.transpileJSX(jsx,{path,mappings,factory:"createComponent",appendSourcemap:!1,blocks_info:v.blocks_info,injectTraceLabels:!0,produceCJS:!0})}catch(e){throw v.error=e,e}processed+=`
59
+ //# sourceURL=eval:/`+path,v.scanBlockLabels(processed,path);try{globalThis.Lilact=v,globalThis.createComponent=v.createComponent,globalThis.Fragment=v.Fragment;let res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=v.traceError(e),e}}function Cr(e,{forceUpdate:t,checkExport:n,requirer:r,isLazy:o}){var s,a;if((s=v.importObjectPaths)!=null&&s[e])return v.importObjectPaths[e];if(he[e]&&!t)return he[e].exports;if(e[0]==="#"){let c=document.getElementById(e);if(c)return Qe(c.innerText,e)}else{if(r&&r.path&&(e=yi(r.path,e)),(a=v)!=null&&a[yt]||o)return v[yt]=!1,fetch(e).then(c=>{if(!c.ok)throw new Error(`HTTP ${c.status}`);return c.text()}).then(c=>{var l;return c=Qe(c,e,!1),(l=c==null?void 0:c.default)!=null?l:c}).catch(c=>{throw c});{let c=new XMLHttpRequest;if(c.open("GET",e,!1),c.send(null),c.status===200)return Qe(c.responseText,e,!1)}}throw new Error(`Required resource not found (${e})`)}function gi(e){let t="pending",n;v[yt]=!0,n=e(),v.isThenable(n)?n.then(o=>(t="success",n=o,n),o=>{throw t="error",n=o,o}):t="success";function r(o){if(t==="pending"||t==="error")throw n;let s=n;return createComponent(s,{...o})}return r}function bi(){return Array.from(document.querySelectorAll('script[type="text/jsx"]')).map(t=>{var n,r;return{src:(n=t.getAttribute("src"))!=null?n:null,content:(r=t.textContent)!=null?r:""}})}function wi(){let e=bi();for(let t of e)t.src&&Cr(t.src),t.content&&Qe(t.content)}var ln={};H(ln,{CSSTransition:()=>$r,SwitchTransition:()=>Li,Transition:()=>Or,TransitionGroup:()=>Ri});var an={};H(an,{animationFramePromise:()=>Ii,clearInterval:()=>Ci,clearTimeout:()=>te,grabTimers:()=>Oi,pauseTimers:()=>ki,releaseTimers:()=>$i,resetTimers:()=>vi,resumeTimers:()=>Ti,setInterval:()=>Si,setTimeout:()=>we,timeoutPromise:()=>Ai});var Fe,et=-1,G=[],ge=-1,be={},Ct=window.setTimeout,xi=window.setInterval,tt=window.clearTimeout,_i=window.clearInterval;function Ei(e){let t=0,n=G.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=G[o][ie];if(s===e)return[o,G[o]];s<e?t=o+1:n=o-1}let r=[];return r[ie]=e,G.splice(t,0,r),[t,r]}function on(e,t=!1){let[n,r]=Ei(e[ie]);return t||(et++,be[et]=e,e[oe]=et),r.push(e),G[0][0]===e&&(tt(ge),ge=Ct(sn,e[He])),et}function sn(){let e=Date.now(),t=0,n=G[t];for(;n&&n[ie]-e<=0;){for(let r of n)r[bt]?delete be[r[oe]]:(r[wt](...r[xt]),r[gt]?(r[ie]=Date.now()+r[He],on(r,!0)):delete be[r[oe]]);t++,n=G[t]}G.splice(0,t),G.length>0&&(tt(ge),ge=Ct(sn,G[0][ie]-e))}function vi(){tt(ge),Fe=void 0,et=-1,G=[],ge=-1,be={}}function ki(){tt(ge),Fe=Date.now()}function Ti(){if(Fe){if(G.length>0){let e=Date.now();Fe-=e;for(let t of G)t[ie]-=Fe;ge=Ct(sn,G[0][ie]-e)}Fe=void 0}}function we(e,t,...n){return on({[wt]:e,[He]:t,[ie]:Date.now()+t,[gt]:!1,[xt]:n})}function Si(e,t,...n){return on({[wt]:e,[He]:t,[ie]:Date.now()+t,[gt]:!0,[xt]:n})}function te(e){be[e]&&(be[e][bt]=!0)}function Ci(e){be[e]&&(be[e][bt]=!0)}function Oi(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function $i(){globalThis.setTimeout=Ct,globalThis.setInterval=xi,globalThis.clearTimeout=tt,globalThis.clearInterval=_i}function Ai(e=0,t=Lilact){let n,r,o,s=new Promise((a,c)=>{r=a,o=c,n=t.setTimeout(()=>{r()},e)});return s.proceed=()=>{t.clearTimeout(n),r()},s.cancel=()=>{t.clearTimeout(n),o()},s}function Ii(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var cn="unmounted",Ot="exited",nt="entering",rt="entered",un="exiting";function Or({in:e,timeout:t=v.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:s,onEntering:a,onEntered:c,onExit:l,onExiting:f,onExited:u,children:p,_classNames:y}){var m,d,E,g,_,h;return(d=(m=this[x]).is_mounted)!=null||(m.is_mounted=!n||e||o),(g=(E=this[x]).is_appeared)!=null||(E.is_appeared=e),(h=(_=this[x]).timer)!=null||(_.timer=null),this[x].childFunctionHandler=w=>w(this[x].mount_state),this[x].mount_state||(this[x].is_mounted||(this[x].mount_state=cn),e?this[x].mount_state=o&&!this[x].is_appeared?nt:rt:this[x].mount_state=Ot),ee(()=>()=>te(this[x].timer),[]),ee(()=>{!this[x].is_appeared&&o&&this[x].mount_state===nt&&e&&(s==null||s(),requestAnimationFrame(()=>{a==null||a(!this[x].is_appeared),te(this[x].timer),this[x].timer=we(()=>{this[x].mount_state=rt,this.forceUpdate(),this[x].is_appeared=!0,c==null||c(!this[x].is_appeared)},t)}))},[]),ee(()=>{if(e){if(this[x].is_mounted=!0,this[x].mount_state===nt||this[x].mount_state===rt)return;s==null||s(!this[x].is_appeared),this[x].mount_state=nt,this.forceUpdate(()=>{a==null||a(!this[x].is_appeared),te(this[x].timer),this[x].timer=we(()=>{this[x].mount_state=rt,this.forceUpdate(),this[x].is_appeared=!0,c==null||c()},t)})}else{if(this[x].mount_state===cn||this[x].mount_state===un||this[x].mount_state===Ot)return;l==null||l(),this[x].mount_state=un,this.forceUpdate(()=>{f==null||f(),te(this[x].timer),this[x].timer=we(()=>{this[x].mount_state=Ot,this.forceUpdate(),u==null||u(),r&&(this[x].is_mounted=!1,this[x].mount_state=cn,this.forceUpdate())},t)})}},[e,t]),this[x].is_mounted?(y&&(this[x].mount_state===nt?this[x].is_appeared?this[x][fe]=y.appearActive:this[x][fe]=y.enterActive:this[x].mount_state===rt?this[x].is_appeared?this[x][fe]=y.appearDone:this[x][fe]=y.enterDone:this[x].mount_state===un?this[x][fe]=y.exitActive:this[x].mount_state===Ot&&(this[x][fe]=y.exitDone)),p):null}function $r({in:e,timeout:t=v.defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:s=!1,children:a,onEnter:c,onEntering:l,onEntered:f,onExit:u,onExiting:p,onExited:y}){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(Or,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:c,onEntering:l,onEntered:f,onExit:u,onExiting:p,onExited:y,_classNames:n},a)}function Li({children:e,activeKey:t,mode:n="out-in",timeout:r=v.defaultTransitionTimeout,classNames:o="switch",mountOnEnter:s=!1,unmountOnExit:a=!1,appear:c=!1,onExited:l,onEnter:f,onExiting:u,onEntered:p,...y}){let m=en(()=>ke.toArray(e),[e]),[d,E]=Y(null),[g,_]=Y(!1),[h,w]=Y(!0),O=D(t),S=D(t),k=D(d);Te(()=>{S.current=t},[t]),Te(()=>{k.current=d},[d]),Te(()=>{let C=O.current;C!==t&&(O.current=t,E(C),n==="out-in"?(w(!1),_(!0)):(w(!0),_(!1)))},[t,n]);let T=C=>(z,re)=>{typeof l=="function"&&l(z,re),C===k.current&&(E(null),n==="out-in"&&(_(!1),w(!0)),n==="in-out"&&_(!1))},I=C=>(z,re)=>{typeof p=="function"&&p(z,re),n==="in-out"&&C===S.current&&k.current!=null&&_(!0)};return createComponent("div",{style:{position:"relative"}},m.map((C,z)=>{var st;let re=((st=C==null?void 0:C.props)==null?void 0:st.key)||z,it=re===t?h:re===d?!g:!1;return createComponent($r,{...y,key:re,in:it,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:a,appear:c,onEnter:f,onExiting:u,onEntered:I(re),onExited:T(re)},createComponent("div",{style:{position:"absolute",inset:0}},C))}))}function Ri({children:e}){return e}var fn={};H(fn,{addWrappedEventListener:()=>ji,createSyntheticEvent:()=>Ar,releaseSyntheticEvent:()=>Ir,wrapListener:()=>Lr});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 $t=[],Pi=10,Ni=["mouse","pen","touch"];function Ar(e,t){var r,o,s,a,c,l,f,u,p,y,m,d,E,g,_,h,w,O,S,k,T,I;let n=$t.length?$t.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=(a=e.buttons)!=null?a:null,n.pointerId=(c=e.pointerId)!=null?c: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=(y=e.screenX)!=null?y:0,n.screenY=(m=e.screenY)!=null?m:0,n.pageX=(d=e.pageX)!=null?d:null,n.pageY=(E=e.pageY)!=null?E:null,n.movementX=(g=e.movementX)!=null?g:0,n.movementY=(_=e.movementY)!=null?_:0,n.pressure=(h=e.pressure)!=null?h:null,n.tiltX=(w=e.tiltX)!=null?w:null,n.tiltY=(O=e.tiltY)!=null?O:null,n.width=(S=e.width)!=null?S:null,n.height=(k=e.height)!=null?k:null,n.pointerEventsSupported=Ni.includes(n.pointerType);try{let C=n.target;n.value=C&&"value"in C?C.value:void 0,n.checked=C&&"checked"in C?C.checked:void 0,n.selectionStart=C&&"selectionStart"in C?C.selectionStart:void 0,n.selectionEnd=C&&"selectionEnd"in C?C.selectionEnd:void 0}catch(C){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=(I=e.location)!=null?I:0,n}function Ir(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,$t.length<Pi&&$t.push(e))}function Lr(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,a=Ar(o,s);try{let c=e(a);n&&c===!0&&a.stopPropagation()}finally{Ir(a)}}}function ji(e,t,n,r={}){let o=Lr(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var pn={};H(pn,{Provider:()=>Di,combineReducers:()=>qi,connect:()=>Ui,useDispatch:()=>Mi,useSelector:()=>Rr,useStore:()=>At});var ot;function Di({store:e,children:t}){return ot!=null||(ot=Ue(null)),createComponent(ot.Provider,{value:e},t)}function At(){let e=qe(ot);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function Mi(){return At().dispatch}function Rr(e,t=(n,r)=>n===r){let n=At(),r=D(),o=D(e);o.current=e;let[s,a]=Y(()=>e(n.getState()));return r.current=s,ee(()=>{function c(){let f=o.current(n.getState());t(r.current,f)||(r.current=f,a(f))}let l=n.subscribe(c);return c(),l},[n,t]),s}function Ui(e,t){let n=!!e;return function(o){function s(a){let c=At(),l={dispatch:c.dispatch};if(typeof t=="function")l=t(c.dispatch,a);else if(typeof t=="object"&&t!==null){l={};let p=c.dispatch;for(let y in t){let m=t[y];l[y]=(...d)=>p(m(...d))}}let f={};e&&(f=Rr(y=>e(y,a),J)||{});let u={...a,...f,...l};return createComponent(o,{...u})}return s}}function qi(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,a={};for(let c of t){let l=e[c],f=r[c],u=l(f,o);a[c]=u,s=s||u!==f}return s?a:r}}var hn={};H(hn,{blocks_info:()=>Wi,error:()=>Xi,globalErrorHandler:()=>Vi,scanBlockLabels:()=>Bi,traceError:()=>jr});function Pr(e){if(e.lineno!==void 0||e.line!==void 0||e.lineNumber!==void 0){let n=e.lineNumber||e.lineno||e.line,r=e.columnNumber||e.colno||e.column;return{line:n,col:r}}let t=/:(\d+):(\d+)[\n].*/m.exec(e.stack);return t===null&&(t=/:(\d+):(\d+)\)\s+at .*/m.exec(e.stack)),t?{line:parseInt(t[1]),col:parseInt(t[2])}:null}function Fi(e,t="eval:/"){let r=(typeof e=="string"?e:String(e||"")).split(/\r?\n/),o=new RegExp(`\\(?((?:${Ki(t)})[^\\s):]+):(\\d+):(?:(\\d+))?\\)?$`);for(let s of r){let a=s.trim();if(!a.includes(t))continue;let c=a.match(o);if(!c)continue;let l=c[1],f=Number(c[2]),u=c[3]==null?null:Number(c[3]);if(Number.isFinite(f)&&(u===null||Number.isFinite(u)))return{url:l,line:f,col:u,matched:a}}return{url:null,line:null,col:null,matched:null,stackPreview:r.slice(0,6).join(`
60
+ `)}}function Ki(e){return String(e).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Nr(e,t,n){let r=null;for(let o in e)if(!(e[o][0]<t)&&(e[o][0]>t||e[o][0]===t&&e[o][1]>=n)){r=e[o-1];break}return r||(r=e[e.length-1]),{line:t-r[0]+r[2],col:t-r[0]===0?r[3]:0}}function Bi(e,t){Array.from(e.matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//mg)).forEach(r=>{v.blocks_info.labels[r[1]]={path:t,desc:r[4]}})}function jr(e){var r;if(e!=null&&e.is_traced)return e;let t=Fi(e.stack),n={fileName:((r=t.url)==null?void 0:r.slice(6))||e.fileName,lineNumber:t.line,columnNumber:t.col,message:e.message,name:e.name,stack:e.stack,_error:e,is_traced:!0};if(e.name!=="JSXParseError"){let o;if(t.url){o=he[n.fileName].mappings;let a=Nr(o,n.lineNumber-1,n.columnNumber-1);n.lineNumber=a.line,n.columnNumber=a.col}else if(e.lilact_trace!==void 0){let s=Pr(e),a,c;typeof e.lilact_trace=="object"?c=v.blocks_info.labels[e.lilact_trace[0]]:c=v.blocks_info.labels[e.lilact_trace],c&&(n.fileName=c.path,n.label=c.label,a=he[c.path].mappings,s=Nr(a,s.line-1,s.col-1),n.lineNumber=s.line,n.columnNumber=s.col)}}else{let o=Pr(e);e.fileName&&(n.fileName=e.fileName),n.lineNumber=o.line,n.columnNumber=o.col}return v.error=n,n}function Vi(e){e.error&&(e=e.error),e=jr(e);let t=Yt(`
61
61
  background: linear-gradient(135deg, #fff2f2d4, #ffffffd4);
62
62
  backdrop-filter: blur(10px);
63
63
  border: 1px solid rgba(255,255,255,.25);
@@ -82,35 +82,36 @@ var In=Object.defineProperty;var zr=(e,t,n)=>t in e?In(e,t,{enumerable:!0,config
82
82
  ${he[e.fileName]?"<code><pre></pre><pre><red></red></pre><pre></pre></code>":""}
83
83
  ${e._error.componentStackLog?"<br>Component Stack:<br><code><pre>"+e._error.componentStackLog+"</pre></code>":""}
84
84
  `,document.body.appendChild(n);let r=n.querySelectorAll("pre");if(he[e.fileName]){let o=he[e.fileName].code.split(`
85
- `);o!=null&&o[e.lineNumber-1]&&(r[0].innerText=o[e.lineNumber-1]),o!=null&&o[e.lineNumber]&&(n.querySelector("pre red").innerText=o[e.lineNumber]),o!=null&&o[e.lineNumber+1]&&(r[2].innerText=o[e.lineNumber+1])}n.showModal()}var Bi={counter:0,labels:{}},Vi=null;var wn={};H(wn,{HashRouter:()=>Xi,Link:()=>Yi,NavLink:()=>Gi,Route:()=>Ji,Routes:()=>jr,useLocation:()=>gn,useNavigate:()=>bn});var mn=Ue(null),dn=Ue({params:{}}),yn=e=>typeof e=="string"?e:(e.pathname||"")+(e.search||"")+(e.hash||""),Wi=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Xi({children:e,basename:t=""}){let n=()=>{var y;let c=(window.location.hash||"#/").slice(1),l=new RegExp("^"+Wi(t)),f=c.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]=Y(n);ee(()=>{let a=()=>o(n());return window.addEventListener("hashchange",a),window.addEventListener("popstate",a),a(),()=>{window.removeEventListener("hashchange",a),window.removeEventListener("popstate",a)}},[t]);let s=ie((a,{replace:c=!1,state:l}={})=>{if(typeof a=="number")return new Promise(p=>{let m=!1,h=E=>{m||(m=!0,window.removeEventListener("popstate",y),window.removeEventListener("hashchange",g),E==null||E(),p())},y=()=>h(()=>o(n())),g=()=>h(()=>o(n()));window.addEventListener("popstate",y,{once:!0}),window.addEventListener("hashchange",g,{once:!0}),setTimeout(()=>h(()=>o(n())),0),history.go(a)});let f=yn(a),u="#"+(t+f);c?history.replaceState({__state:l},"",u):history.pushState({__state:l},"",u),o(n())},[t]);return createComponent(mn.Provider,{value:{location:r,navigate:s,basename:t}},e)}function gn(){let e=qe(mn);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function bn(){let e=qe(mn);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function Yi({to:e,replace:t=!1,state:n,onClick:r,target:o,download:s,className:a,style:c,children:l,...f}){let u=bn(),p="#"+yn(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:a,style:c},l)}function It(e){return e&&e.replace(/\/+$/,"")||"/"}function Gi({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:s,target:a,download:c,replace:l=!1,state:f,children:u,onClick:p,...m}){let h=bn(),y=gn(),g=typeof e=="string"?e.split("?")[0].split("#")[0]:e.pathname||"/",E=y.pathname||"/",_=t?It(E)===It(g):It(E).startsWith(It(g)),w=[typeof r=="function"?r({isActive:_}):r,_?n:null].filter(Boolean).join(" ")||void 0,O=typeof s=="function"?s({isActive:_}):s,S=_?{...O||{},...o||{}}:O,k="#"+yn(e);function T(I){p&&p(I),!(I.defaultPrevented||I.button!==0||I.metaKey||I.altKey||I.ctrlKey||I.shiftKey)&&(I.preventDefault(),h(e,{replace:l,state:f}))}return createComponent("a",{...m,href:k,onClick:T,target:a,download:c,className:w,style:S,"aria-current":_?"page":void 0},typeof u=="function"?u({isActive:_}):u)}function zi(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 Hi(e,t){if(e==null)return{matched:!0,params:{}};let{regex:n,paramNames:r}=zi(e),o=n.exec(t);if(!o)return{matched:!1};let s={};return r.forEach((a,c)=>s[a]=decodeURIComponent(o[c+1]||"")),o.length>r.length+1&&(s["*"]=o[r.length+1]?decodeURIComponent(o[r.length+1]):void 0),{matched:!0,params:s}}function Ji({path:e,element:t=null,children:n}){return null}function jr({children:e}){var o;let n=gn().pathname||"/",r=ke.toArray(e);for(let s=0;s<r.length;s++){let a=r[s],c=a.props.path===void 0?null:a.props.path,l=(o=a.props.element)!=null?o:null,f=a.props.children,{matched:u,params:p}=Hi(c,n);if(u)return l?createComponent(dn.Provider,{value:{params:p}},l):f?createComponent(dn.Provider,{value:{params:p}},createComponent(jr,{},f)):createComponent(dn.Provider,{value:{params:p}},createComponent("div",{}))}return null}var _n={};H(_n,{DragHandle:()=>Dr,ErrorBoundary:()=>xn,Spinner:()=>Qi,SplitPane:()=>es,Suspense:()=>Rt});var{css:Ba,cx:Zi}=ze;function Qi({size:e=48,className:t,style:n,color:r="currentColor",strokeWidth:o=3,"aria-label":s="Loading"}){let a=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:a,height:a,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",{},`
85
+ `);o!=null&&o[e.lineNumber-1]&&(r[0].innerText=o[e.lineNumber-1]),o!=null&&o[e.lineNumber]&&(n.querySelector("pre red").innerText=o[e.lineNumber]),o!=null&&o[e.lineNumber+1]&&(r[2].innerText=o[e.lineNumber+1])}n.showModal()}var Wi={counter:0,labels:{}},Xi=null;var wn={};H(wn,{HashRouter:()=>Gi,Link:()=>zi,NavLink:()=>Hi,Route:()=>Qi,Routes:()=>Dr,useLocation:()=>gn,useNavigate:()=>bn});var mn=Ue(null),dn=Ue({params:{}}),yn=e=>typeof e=="string"?e:(e.pathname||"")+(e.search||"")+(e.hash||""),Yi=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Gi({children:e,basename:t=""}){let n=()=>{var d;let c=(window.location.hash||"#/").slice(1),l=new RegExp("^"+Yi(t)),f=c.replace(l,"")||"/",[u,p]=f.split("#"),[y,m=""]=u.split("?");return{pathname:y||"/",search:m?"?"+m:"",hash:p?"#"+p:"",state:(d=history.state)==null?void 0:d.__state}},[r,o]=Y(n);ee(()=>{let a=()=>o(n());return window.addEventListener("hashchange",a),window.addEventListener("popstate",a),a(),()=>{window.removeEventListener("hashchange",a),window.removeEventListener("popstate",a)}},[t]);let s=se((a,{replace:c=!1,state:l}={})=>{if(typeof a=="number")return new Promise(p=>{let y=!1,m=g=>{y||(y=!0,window.removeEventListener("popstate",d),window.removeEventListener("hashchange",E),g==null||g(),p())},d=()=>m(()=>o(n())),E=()=>m(()=>o(n()));window.addEventListener("popstate",d,{once:!0}),window.addEventListener("hashchange",E,{once:!0}),setTimeout(()=>m(()=>o(n())),0),history.go(a)});let f=yn(a),u="#"+(t+f);c?history.replaceState({__state:l},"",u):history.pushState({__state:l},"",u),o(n())},[t]);return createComponent(mn.Provider,{value:{location:r,navigate:s,basename:t}},e)}function gn(){let e=qe(mn);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function bn(){let e=qe(mn);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function zi({to:e,replace:t=!1,state:n,onClick:r,target:o,download:s,className:a,style:c,children:l,...f}){let u=bn(),p="#"+yn(e);function y(m){r&&r(m),!(m.defaultPrevented||m.button!==0||o&&o!=="_self"||m.metaKey||m.altKey||m.ctrlKey||m.shiftKey)&&(m.preventDefault(),u(e,{replace:t,state:n}))}return createComponent("a",{...f,href:p,onClick:y,target:o,download:s,className:a,style:c},l)}function It(e){return e&&e.replace(/\/+$/,"")||"/"}function Hi({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:s,target:a,download:c,replace:l=!1,state:f,children:u,onClick:p,...y}){let m=bn(),d=gn(),E=typeof e=="string"?e.split("?")[0].split("#")[0]:e.pathname||"/",g=d.pathname||"/",_=t?It(g)===It(E):It(g).startsWith(It(E)),w=[typeof r=="function"?r({isActive:_}):r,_?n:null].filter(Boolean).join(" ")||void 0,O=typeof s=="function"?s({isActive:_}):s,S=_?{...O||{},...o||{}}:O,k="#"+yn(e);function T(I){p&&p(I),!(I.defaultPrevented||I.button!==0||I.metaKey||I.altKey||I.ctrlKey||I.shiftKey)&&(I.preventDefault(),m(e,{replace:l,state:f}))}return createComponent("a",{...y,href:k,onClick:T,target:a,download:c,className:w,style:S,"aria-current":_?"page":void 0},typeof u=="function"?u({isActive:_}):u)}function Ji(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 Zi(e,t){if(e==null)return{matched:!0,params:{}};let{regex:n,paramNames:r}=Ji(e),o=n.exec(t);if(!o)return{matched:!1};let s={};return r.forEach((a,c)=>s[a]=decodeURIComponent(o[c+1]||"")),o.length>r.length+1&&(s["*"]=o[r.length+1]?decodeURIComponent(o[r.length+1]):void 0),{matched:!0,params:s}}function Qi({path:e,element:t=null,children:n}){return null}function Dr({children:e}){var o;let n=gn().pathname||"/",r=ke.toArray(e);for(let s=0;s<r.length;s++){let a=r[s],c=a.props.path===void 0?null:a.props.path,l=(o=a.props.element)!=null?o:null,f=a.props.children,{matched:u,params:p}=Zi(c,n);if(u)return l?createComponent(dn.Provider,{value:{params:p}},l):f?createComponent(dn.Provider,{value:{params:p}},createComponent(Dr,{},f)):createComponent(dn.Provider,{value:{params:p}},createComponent("div",{}))}return null}var _n={};H(_n,{DragHandle:()=>Mr,ErrorBoundary:()=>xn,Spinner:()=>ts,SplitPane:()=>ns,Suspense:()=>Rt});var{css:Wa,cx:es}=ze;function ts({size:e=48,className:t,style:n,color:r="currentColor",strokeWidth:o=3,"aria-label":s="Loading"}){let a=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:a,height:a,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",{},`
86
86
  @keyframes ddSpinnerSpin { to { transform: rotate(360deg); } }
87
- `))}var xn=class extends ye{constructor(){super(...arguments);W(this,"displayName","ErrorBoundary");W(this,"state",{hasError:!1,error:null});W(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}},Rt=class extends ye{constructor(n){super(n);W(this,"displayName","Suspense");this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(n){if(Et(n))return null;throw n}componentDidCatch(n,r){Et(n)&&this._attachPromise(n)}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(te(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(te(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&&(te(this._delayTimer),this._delayTimer=null),this._delayTimer=we(()=>{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){te(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&&(te(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=we(()=>{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)}};W(Rt,"defaultProps",{minDelay:200,minShowTime:300});function Dr({onDelta:e,onStart:t,onEnd:n,style:r,className:o,children:s,data:a}){let c=D(null),l=D(0),f=D(0),u=D(0),p=D(0),m=D(!1),[h,y]=Y(!1),g=ie(()=>{c.current=null,m.current=!1,l.current=0,f.current=0,u.current=0,p.current=0,y(!1)},[]),E=ie((k,T)=>{let I=k-l.current,C=T-f.current;return{dx:I,dy:C}},[]),_=ie((k="up")=>{m.current&&(n==null||n(k),g())},[n,g]),d=ie(k=>{if(!(k.button!=null&&k.button!==0)){m.current=!0,c.current=k.pointerId,l.current=k.clientX,f.current=k.clientY,u.current=k.clientX,p.current=k.clientY,y(!0),t==null||t(a);try{k.currentTarget.setPointerCapture(k.pointerId)}catch(T){}}},[t]),w=ie(k=>{if(!m.current||c.current!==k.pointerId)return;let{dx:T,dy:I}=E(k.clientX,k.clientY);e==null||e(T,I,a),u.current=k.clientX,p.current=k.clientY},[E,e]),O=ie(k=>{c.current===k.pointerId&&_("up",a)},[_]),S=ie(k=>{c.current===k.pointerId&&_("cancel",a)},[_]);return createComponent("div",{role:"button",tabIndex:0,style:{...r,touchAction:"none"},className:Zi(o,h?"dragging":""),onPointerDown:d,onPointerMove:w,onPointerUp:O,onPointerCancel:S},s)}var es=zt(function({mode:t="horizontal",position:n,defaultPosition:r=.5,min:o=.1,max:s=.9,splitterSize:a=8,onSizeChange:c,style:l,className:f,firstPaneStyle:u,secondPaneStyle:p,splitterStyle:m,children:h},y){let g=t==="vertical"?"vertical":"horizontal",[E,_]=Y(g),[d,w]=Y(Lt(r,o,s)),O=n==null?d:Lt(n,o,s);ee(()=>{n!=null&&w(Lt(n,o,s))},[n,o,s]),ee(()=>{_(t==="vertical"?"vertical":"horizontal")},[t]);let S=ce=>{let xe=Lt(ce,o,s);n==null&&w(xe),c==null||c(xe)};tn(y,()=>({setPosition:S,setMode:ce=>_(ce==="vertical"?"vertical":"horizontal"),getPosition:()=>O,getMode:()=>E}));let k=D(null),T=D({w:0,h:0});Te(()=>{let ce=k.current;if(!ce)return;let xe=new ResizeObserver(()=>{let at=ce.getBoundingClientRect();T.current={w:at.width,h:at.height}});xe.observe(ce);let Dt=ce.getBoundingClientRect();return T.current={w:Dt.width,h:Dt.height},()=>xe.disconnect()},[]);let I=D(O),[C,z]=Y(!1),ne=()=>{z(!0),I.current=O},On=(ce,xe,Dt)=>{let{w:at,h:Gr}=T.current;S(E==="horizontal"?I.current+ce/(at||1):I.current+xe/(Gr||1))},$n=()=>z(!1),it=ke.toArray(h),st=it[0],Vr=it[1],Ce=O,Wr=E==="horizontal"?{position:"absolute",top:0,bottom:0,left:0,width:`calc(${Ce} * (100% - ${a}px))`,overflow:"auto",...u||{}}:{position:"absolute",left:0,right:0,top:0,height:`calc(${Ce} * (100% - ${a}px))`,overflow:"auto",...u||{}},Xr=E==="horizontal"?{position:"absolute",top:0,bottom:0,left:`calc(${Ce} * (100% - ${a}px) + ${a}px)`,right:0,overflow:"auto",...p||{}}:{position:"absolute",left:0,right:0,top:`calc(${Ce} * (100% - ${a}px) + ${a}px)`,bottom:0,overflow:"auto",...p||{}},An={background:"rgba(0,0,0,0.08)",boxShadow:"inset 0 0 2px rgba(0,0,0,0.25)",zIndex:10},Yr=E==="horizontal"?{position:"absolute",top:0,bottom:0,left:`calc(${Ce} * (100% - ${a}px))`,width:a,height:"100%",cursor:"col-resize",touchAction:"none",pointerEvents:"auto",...An,...m||{}}:{position:"absolute",left:0,right:0,top:`calc(${Ce} * (100% - ${a}px))`,height:a,width:"100%",cursor:"row-resize",touchAction:"none",pointerEvents:"auto",...An,...m||{}};return createComponent("div",{ref:k,className:f,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",...l||{}}},createComponent("div",{style:Wr},st),createComponent("div",{style:Xr},Vr),createComponent(Dr,{onStart:ne,onDelta:On,onEnd:$n,style:Yr,className:"splitter"}))}),Lt=(e,t,n)=>Math.max(t,Math.min(n,e));var ts={},Ur={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){ts[e]=t,Ur[t]=e});function qr(...e){if(typeof e=="number")return Mr(e);let t="";for(let n=0;n<e.length;n+=1)t+=Mr(e[n]);return t}function Mr(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=e&31;e>>>=5,e>0&&(n|=32),t+=Ur[n]}while(e>0);return t}var Nt=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"]),rs=new Set(["(",")","{","}","[","]","...",".","=>",",",";",":","?","++","--","+","-","*","/","%","**",">>","<<",">>>","<<<","&","|","^","~","==","!=","===","!==",">","<",">=","<=","&&","||","??","?.","=","+=","-=","*=","/=","%=","**=","<<=",">>=",">>>=","&=","|=","^=","??=","&&=","||=","!"]);function os(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)?!Nt.has(e):!1}function is(e){return/(?:\\u\{[0-9a-fA-F]+\}|\\u[0-9a-fA-F]{4})/g.test(e)?!Nt.has(e):!1}function ss(e){return/^(?:[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*)$/u.test(e)?!Nt.has(e):!1}function En(e,t){if(typeof t=="string"){if(e&&e.hasOwnProperty(t))return e[t];if(t.trim()==="")return t.indexOf(`
87
+ `))}var xn=class extends ye{constructor(){super(...arguments);W(this,"displayName","ErrorBoundary");W(this,"state",{hasError:!1,error:null});W(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}},Rt=class extends ye{constructor(n){super(n);W(this,"displayName","Suspense");this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(n){if(Et(n))return null;throw n}componentDidCatch(n,r){Et(n)&&this._attachPromise(n)}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(te(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(te(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&&(te(this._delayTimer),this._delayTimer=null),this._delayTimer=we(()=>{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){te(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&&(te(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=we(()=>{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)}};W(Rt,"defaultProps",{minDelay:200,minShowTime:300});function Mr({onDelta:e,onStart:t,onEnd:n,style:r,className:o,children:s,data:a}){let c=D(null),l=D(0),f=D(0),u=D(0),p=D(0),y=D(!1),[m,d]=Y(!1),E=se(()=>{c.current=null,y.current=!1,l.current=0,f.current=0,u.current=0,p.current=0,d(!1)},[]),g=se((k,T)=>{let I=k-l.current,C=T-f.current;return{dx:I,dy:C}},[]),_=se((k="up")=>{y.current&&(n==null||n(k),E())},[n,E]),h=se(k=>{if(!(k.button!=null&&k.button!==0)){y.current=!0,c.current=k.pointerId,l.current=k.clientX,f.current=k.clientY,u.current=k.clientX,p.current=k.clientY,d(!0),t==null||t(a);try{k.currentTarget.setPointerCapture(k.pointerId)}catch(T){}}},[t]),w=se(k=>{if(!y.current||c.current!==k.pointerId)return;let{dx:T,dy:I}=g(k.clientX,k.clientY);e==null||e(T,I,a),u.current=k.clientX,p.current=k.clientY},[g,e]),O=se(k=>{c.current===k.pointerId&&_("up",a)},[_]),S=se(k=>{c.current===k.pointerId&&_("cancel",a)},[_]);return createComponent("div",{role:"button",tabIndex:0,style:{...r,touchAction:"none"},className:es(o,m?"dragging":""),onPointerDown:h,onPointerMove:w,onPointerUp:O,onPointerCancel:S},s)}var ns=zt(function({mode:t="horizontal",position:n,defaultPosition:r=.5,min:o=.1,max:s=.9,splitterSize:a=8,onSizeChange:c,style:l,className:f,firstPaneStyle:u,secondPaneStyle:p,splitterStyle:y,children:m},d){let E=t==="vertical"?"vertical":"horizontal",[g,_]=Y(E),[h,w]=Y(Lt(r,o,s)),O=n==null?h:Lt(n,o,s);ee(()=>{n!=null&&w(Lt(n,o,s))},[n,o,s]),ee(()=>{_(t==="vertical"?"vertical":"horizontal")},[t]);let S=ce=>{let xe=Lt(ce,o,s);n==null&&w(xe),c==null||c(xe)};tn(d,()=>({setPosition:S,setMode:ce=>_(ce==="vertical"?"vertical":"horizontal"),getPosition:()=>O,getMode:()=>g}));let k=D(null),T=D({w:0,h:0});Te(()=>{let ce=k.current;if(!ce)return;let xe=new ResizeObserver(()=>{let at=ce.getBoundingClientRect();T.current={w:at.width,h:at.height}});xe.observe(ce);let Dt=ce.getBoundingClientRect();return T.current={w:Dt.width,h:Dt.height},()=>xe.disconnect()},[]);let I=D(O),[C,z]=Y(!1),re=()=>{z(!0),I.current=O},On=(ce,xe,Dt)=>{let{w:at,h:zr}=T.current;S(g==="horizontal"?I.current+ce/(at||1):I.current+xe/(zr||1))},$n=()=>z(!1),it=ke.toArray(m),st=it[0],Wr=it[1],Ce=O,Xr=g==="horizontal"?{position:"absolute",top:0,bottom:0,left:0,width:`calc(${Ce} * (100% - ${a}px))`,overflow:"auto",...u||{}}:{position:"absolute",left:0,right:0,top:0,height:`calc(${Ce} * (100% - ${a}px))`,overflow:"auto",...u||{}},Yr=g==="horizontal"?{position:"absolute",top:0,bottom:0,left:`calc(${Ce} * (100% - ${a}px) + ${a}px)`,right:0,overflow:"auto",...p||{}}:{position:"absolute",left:0,right:0,top:`calc(${Ce} * (100% - ${a}px) + ${a}px)`,bottom:0,overflow:"auto",...p||{}},An={background:"rgba(0,0,0,0.08)",boxShadow:"inset 0 0 2px rgba(0,0,0,0.25)",zIndex:10},Gr=g==="horizontal"?{position:"absolute",top:0,bottom:0,left:`calc(${Ce} * (100% - ${a}px))`,width:a,height:"100%",cursor:"col-resize",touchAction:"none",pointerEvents:"auto",...An,...y||{}}:{position:"absolute",left:0,right:0,top:`calc(${Ce} * (100% - ${a}px))`,height:a,width:"100%",cursor:"row-resize",touchAction:"none",pointerEvents:"auto",...An,...y||{}};return createComponent("div",{ref:k,className:f,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",...l||{}}},createComponent("div",{style:Xr},st),createComponent("div",{style:Yr},Wr),createComponent(Mr,{onStart:re,onDelta:On,onEnd:$n,style:Gr,className:"splitter"}))}),Lt=(e,t,n)=>Math.max(t,Math.min(n,e));var rs={},qr={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){rs[e]=t,qr[t]=e});function Fr(...e){if(typeof e=="number")return Ur(e);let t="";for(let n=0;n<e.length;n+=1)t+=Ur(e[n]);return t}function Ur(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=e&31;e>>>=5,e>0&&(n|=32),t+=qr[n]}while(e>0);return t}var Nt=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"]),is=new Set(["(",")","{","}","[","]","...",".","=>",",",";",":","?","++","--","+","-","*","/","%","**",">>","<<",">>>","<<<","&","|","^","~","==","!=","===","!==",">","<",">=","<=","&&","||","??","?.","=","+=","-=","*=","/=","%=","**=","<<=",">>=",">>>=","&=","|=","^=","??=","&&=","||=","!"]);function ss(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)?!Nt.has(e):!1}function as(e){return/(?:\\u\{[0-9a-fA-F]+\}|\\u[0-9a-fA-F]{4})/g.test(e)?!Nt.has(e):!1}function cs(e){return/^(?:[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*)$/u.test(e)?!Nt.has(e):!1}function En(e,t){if(typeof t=="string"){if(e&&e.hasOwnProperty(t))return e[t];if(t.trim()==="")return t.indexOf(`
88
88
  `)!==-1?`
89
- `:" ";if(Nt.has(t))return"K";if(rs.has(t))return"O";if(ss(t))return"I";if(is(t))return"U";if(os(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 vn(e,t=t.bind(null,null)){return e.map(t).join("")}var as=/(?: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,Pt=/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 kn(e,t){let n=vn(e.out,En.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=(c=1)=>{for(;n[r]===" "||n[r]===`
90
- `||n[r]==="C";)c===1&&(e.out[r]=null),r+=c},s=e.begin,a=[];for(r=0;r<e.out.length;r++)r==0?a.push(e.begin):typeof e.out[r-1]=="string"?a.push(a[r-1]+e.out[r-1].length):a.push(e.out[r-1].end);a.push(e.end);for(let c of n.matchAll(as))if(c[0].startsWith("r")){let l=c[0],f=e.out[c.index+l.length-1].out;f.length===1&&f.push(", {requirer:module}")}else if(c[0].startsWith("i")){let l=c[0];if(r=c.index-1,o(-1),n[r]===".")continue;let f=t.substring(e.out[c.index+l.length-1].begin,e.out[c.index+l.length-1].end),u={},p=[];for(r=c.index+1;r<c.index+l.length-1;r++)switch(e.out.splice(c.index,1,{type:"import",begin:a[c.index],end:a[c.index+l.length]}),o(),n[r]){case",":break;case"I":{let h=e.out[r];u[h]="default";continue}case"J":{let h=vn(e.out[r].out,En.bind(null,{as:"a",",":","}));if(Pt.lastIndex=-1,!Pt.test(h))throw"incorrect import properties definition.";let y=e.out[r].out;for(let g=1;g<h.length-1;g++){for(;h[g]===" "||h[g]===`
91
- `||h[g]==="C"||h[g]===",";)g++;let E=y[g];for(g++;h[g]===" "||h[g]===`
92
- `||h[g]==="C";)g++;if(h[g]==="a"){for(g++;h[g]===" "||h[g]===`
93
- `||h[g]==="C";)g++;u[y[g]]=E,g++}else u[E]=E}continue}case"*":{r++,o(),r++,o(),p.push(e.out[r]);continue}case"S":for(r=c.index+1;r<c.index+l.length;r++)e.out[r]=null;let m="";for(let h of p)m+=`const ${h} = require(${f},{requirer:module});
94
- `;if(Object.keys(u).length){let h="{",y="[";for(let g in u)h.length>1&&(h+=",",y+=","),g===u[g]?(h+=g,y+=`'${g}'`):(h+=g+":"+u[g],y+=`'${u[g]}'`);h+="}",y+="]",m+=`const ${h} = require(${f}, {checkExport: ${y},requirer:module})`}else m+=`require(${f},{requirer:module})`;e.out[c.index].cjs=m;continue}}else{let l=c[0];if(e.out.splice(c.index,1,{type:"export",begin:a[c.index],end:a[c.index+1]}),r=c.index-1,o(-1),n[r]===".")continue;switch(r=c.index+1,o(),n[r]){case"d":e.out[r]=null,e.out[c.index].cjs="module.exports.default =";continue;case"V":case"F":let f=r,u=n[r]==="F"?`= ${e.out[r]} `:"";e.out[r]=null,r++,o();let p=e.out[r];n[f]==="V"&&(e.out[r]=null,r++),o(),e.out[c.index].cjs=`module.exports.${p} ${u}`;continue;case"*":e.out[r]=null,r++,o(),e.out[r]=null,r++,o();let m=t.substring(e.out[r].begin,e.out[r].end);e.out[r]=null,e.out[c.index].cjs=`Object.assign(module.exports, require(${m},{requirer:module}))`;continue;case"I":e.out[c.index].cjs=`module.exports.${e.out[r]} = `;continue;case"J":{let h={},y=vn(e.out[r].out,En.bind(null,{as:"a",",":",",default:"I"}));if(Pt.lastIndex=-1,!Pt.test(y))throw"incorrect export properties definition.";let g=e.out[r].out;for(let d=1;d<y.length-1;d++){for(;y[d]===" "||y[d]===`
95
- `||y[d]==="C"||y[d]===",";)d++;let w=g[d];for(d++;y[d]===" "||y[d]===`
96
- `||y[d]==="C";)d++;if(y[d]==="a"){for(d++;y[d]===" "||y[d]===`
97
- `||y[d]==="C";)d++;h[g[d]]=w,d++}else h[w]=w}let E="{",_="{";for(let d in h)E.length>1&&(E+=",",_+=","),d===h[d]?(E+=d,_+=d):(E+=d+":"+h[d],_+=h[d]);if(E+="}",_+="}",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[c.index].cjs=`{ const ${E} = require(${d},{requirer:module}); Object.assign(module.exports, ${_}); }`}else e.out[c.index].cjs=`Object.assign(module.exports, ${E})`;continue}}}}var P={setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"\u0294"},se,Ya=0,Fr=/(\{|\}|\[|\]|\(|\)|\.\.\.|=>|\?\?=|\?\?|\?\.|===|!==|>>>|<<=|>>=|>>>=|\*\*=|\*\*|&&=|\|\|=|<=|>=|==|!=|<<|>>|\+\+|--|\+=|-=|\*=|\/=|%=|&=|\^=|\|=|=|\+|-|\*|\/|%|&|\^|\||!|~|\?|:|<|>|=|\.|,|;|\n+|[\s^\n]+)/gm;function N(e,t,n,...r){let o=e(t,n,...r);return o?[o.end,o]:[n]}function cs(code,index,container){let i=index,dels=`;=,([{}!^~&|:?*%-+/<>${P.preprocessorDelimiter}`;for(;--i>0;)if(" \r".indexOf(code[i])===-1){if(code[i]===`
89
+ `:" ";if(Nt.has(t))return"K";if(is.has(t))return"O";if(cs(t))return"I";if(as(t))return"U";if(ss(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 vn(e,t=t.bind(null,null)){return e.map(t).join("")}var us=/(?: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,Pt=/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 kn(e,t){let n=vn(e.out,En.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=(c=1)=>{for(;n[r]===" "||n[r]===`
90
+ `||n[r]==="C";)c===1&&(e.out[r]=null),r+=c},s=e.begin,a=[];for(r=0;r<e.out.length;r++)r==0?a.push(e.begin):typeof e.out[r-1]=="string"?a.push(a[r-1]+e.out[r-1].length):a.push(e.out[r-1].end);a.push(e.end);for(let c of n.matchAll(us))if(c[0].startsWith("r")){let l=c[0],f=e.out[c.index+l.length-1].out;f.length===1&&f.push(", {requirer:module}")}else if(c[0].startsWith("i")){let l=c[0];if(r=c.index-1,o(-1),n[r]===".")continue;let f=t.substring(e.out[c.index+l.length-1].begin,e.out[c.index+l.length-1].end),u={},p=[],y=[];for(r=c.index+1;r<c.index+l.length-1;r++)switch(e.out.splice(c.index,1,{type:"import",begin:a[c.index],end:a[c.index+l.length],cjs:""}),o(),n[r]){case",":break;case"I":{y.push(e.out[r]);continue}case"J":{let d=vn(e.out[r].out,En.bind(null,{as:"a",",":","}));if(Pt.lastIndex=-1,!Pt.test(d))throw"incorrect import properties definition.";let E=e.out[r].out;for(let g=1;g<d.length-1;g++){for(;d[g]===" "||d[g]===`
91
+ `||d[g]==="C"||d[g]===",";)g++;let _=E[g];for(g++;d[g]===" "||d[g]===`
92
+ `||d[g]==="C";)g++;if(d[g]==="a"){for(g++;d[g]===" "||d[g]===`
93
+ `||d[g]==="C";)g++;u[E[g]]=_,g++}else u[_]=_}continue}case"*":{r++,o(),r++,o(),p.push(e.out[r]);continue}case"S":for(r=c.index+1;r<c.index+l.length;r++)e.out[r]=null;let m="";for(let d of y)m+=`const ${d} = require(${f},{requirer:module});
94
+ `;for(let d of p)m+=`const ${d} = require(${f},{requirer:module, checkExport: ['default']}).default;
95
+ `;if(Object.keys(u).length){let d="{",E="[";for(let g in u)d.length>1&&(d+=",",E+=","),g===u[g]?(d+=g,E+=`'${g}'`):(d+=g+":"+u[g],E+=`'${u[g]}'`);d+="}",E+="]",m+=`const ${d} = require(${f}, {checkExport: ${E},requirer:module})`}else m+=`require(${f},{requirer:module})`;e.out[c.index].cjs=m;continue}}else{let l=c[0];if(e.out.splice(c.index,1,{type:"export",begin:a[c.index],end:a[c.index+1]}),r=c.index-1,o(-1),n[r]===".")continue;switch(r=c.index+1,o(),n[r]){case"d":e.out[r]=null,e.out[c.index].cjs="module.exports.default =";continue;case"V":case"F":let f=r,u=n[r]==="F"?`= ${e.out[r]} `:"";e.out[r]=null,r++,o();let p=e.out[r];n[f]==="V"&&(e.out[r]=null,r++),o(),e.out[c.index].cjs=`module.exports.${p} ${u}`;continue;case"*":e.out[r]=null,r++,o(),e.out[r]=null,r++,o();let y=t.substring(e.out[r].begin,e.out[r].end);e.out[r]=null,e.out[c.index].cjs=`Object.assign(module.exports, require(${y},{requirer:module}))`;continue;case"I":e.out[c.index].cjs=`module.exports.${e.out[r]} = `;continue;case"J":{let m={},d=vn(e.out[r].out,En.bind(null,{as:"a",",":",",default:"I"}));if(Pt.lastIndex=-1,!Pt.test(d))throw"incorrect export properties definition.";let E=e.out[r].out;for(let h=1;h<d.length-1;h++){for(;d[h]===" "||d[h]===`
96
+ `||d[h]==="C"||d[h]===",";)h++;let w=E[h];for(h++;d[h]===" "||d[h]===`
97
+ `||d[h]==="C";)h++;if(d[h]==="a"){for(h++;d[h]===" "||d[h]===`
98
+ `||d[h]==="C";)h++;m[E[h]]=w,h++}else m[w]=w}let g="{",_="{";for(let h in m)g.length>1&&(g+=",",_+=","),h===m[h]?(g+=h,_+=h):(g+=h+":"+m[h],_+=m[h]);if(g+="}",_+="}",e.out[r]=null,r++,o(),e.out[r]==="from"){e.out[r]=null,r++,o();let h=t.substring(e.out[r].begin,e.out[r].end);e.out[r]=null,e.out[c.index].cjs=`{ const ${g} = require(${h},{requirer:module}); Object.assign(module.exports, ${_}); }`}else e.out[c.index].cjs=`Object.assign(module.exports, ${g})`;continue}}}}var P={setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"\u0294"},ae,za=0,Kr=/(\{|\}|\[|\]|\(|\)|\.\.\.|=>|\?\?=|\?\?|\?\.|===|!==|>>>|<<=|>>=|>>>=|\*\*=|\*\*|&&=|\|\|=|<=|>=|==|!=|<<|>>|\+\+|--|\+=|-=|\*=|\/=|%=|&=|\^=|\|=|=|\+|-|\*|\/|%|&|\^|\||!|~|\?|:|<|>|=|\.|,|;|\n+|[\s^\n]+)/gm;function N(e,t,n,...r){let o=e(t,n,...r);return o?[o.end,o]:[n]}function ls(code,index,container){let i=index,dels=`;=,([{}!^~&|:?*%-+/<>${P.preprocessorDelimiter}`;for(;--i>0;)if(" \r".indexOf(code[i])===-1){if(code[i]===`
98
99
  `){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`
99
- `: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 jt(e,t,n){let r={type:"comment",begin:t++};if(e[t]!=="*"&&e[t]!=="/")return cs(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`
100
- `:if(!o)return r.end=t+1,n&&n.children.push(r),r;break}t++}se("Unterminated comment",r.begin)}function us(e,t,n){let r=t+1;for(;e[r]&&e[r]!==`
100
+ `: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 jt(e,t,n){let r={type:"comment",begin:t++};if(e[t]!=="*"&&e[t]!=="/")return ls(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`
101
+ `:if(!o)return r.end=t+1,n&&n.children.push(r),r;break}t++}ae("Unterminated comment",r.begin)}function fs(e,t,n){let r=t+1;for(;e[r]&&e[r]!==`
101
102
  `&&e[r]!==P.preprocessorDelimiter||e[r-1]==="\\";)r++;if(e[r]===P.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]===`
102
- `){let c={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(c),c}}se("Error in preprocessor statement",t)}function ls(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(`
103
+ `){let c={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(c),c}}ae("Error in preprocessor statement",t)}function ps(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(`
103
104
  `);return eval(cmd),segments}function Tn(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`
104
- `:n!=="`"&&se("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=N(Se,e,t+1,!0),t--);break;case"\\":t++;break}t++}se("Unterminated string",o.begin)}function fs(e,t,n,r){let o=t,s=t;for(;o<e.length;){switch(e[o]){case"<":if(e[o+1]==="/"){o+=2;let c=o;for(;c<e.length&&e[c]!==">";)c++;if(c===e.length)return null;let l=e.substring(o,c).trim();return n.tag!==l&&se("Ill-formed xml (not closed properly)",t),n.end=c+1,n.cbegin=t+1,n.cend=o-2,c}else[o]=N(Sn,e,o,n),o>s?(s=o,o--):s++;break;case"{":let a=o;[o]=N(Se,e,o,!0,n),o--;break}o++}return s}function Sn(e,t,n,r=!1){if(r){let f=["=",",","(","&","|","?",":","{","["],u=t;for(;--u>0;)if(` \r
105
+ `:n!=="`"&&ae("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=N(Se,e,t+1,!0),t--);break;case"\\":t++;break}t++}ae("Unterminated string",o.begin)}function hs(e,t,n,r){let o=t,s=t;for(;o<e.length;){switch(e[o]){case"<":if(e[o+1]==="/"){o+=2;let c=o;for(;c<e.length&&e[c]!==">";)c++;if(c===e.length)return null;let l=e.substring(o,c).trim();return n.tag!==l&&ae("Ill-formed xml (not closed properly)",t),n.end=c+1,n.cbegin=t+1,n.cend=o-2,c}else[o]=N(Sn,e,o,n),o>s?(s=o,o--):s++;break;case"{":let a=o;[o]=N(Se,e,o,!0,n),o--;break}o++}return s}function Sn(e,t,n,r=!1){if(r){let f=["=",",","(","&","|","?",":","{","["],u=t;for(;--u>0;)if(` \r
105
106
  `.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
106
107
  {};)`.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
107
108
  {};)`.indexOf(e[u-5])===-1)return;break}return}}let o=[" "," ",`
108
109
  `,"/","&","^","%","|","!","~","+","*","?","<",">",";",",","=","{","}","(",")","[","]","'",'"',"`","\\","",void 0],s=()=>{for(;e[t]===" "||e[t]===" "||e[t]===`
109
- `;)t++},a={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};s();let c=t;for(;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;a.tag=e.substring(t,c),t=c;let l;for(;t<e.length;){for(c=t;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;let f=e.substring(t,c);switch(f.length&&(l=f,a.attributes[f]=!0),t=c,e[t]){case"=":if(l){for(t++,s();e[t]==="/";){let y=N(jt,e,t);y[0]>t?t=y[0]:t++,s()}let h;switch(e[t]){case"'":case'"':[t,h]=N(Tn,e,t,e[t]),a.attributes[l]=h,l=void 0;break;case"{":[t,h]=N(Se,e,t,!0),a.attributes[l]=h,l=void 0;break;default:for(c=t;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;let y=e.substring(t,c);t=c,a.attributes[l]=y,l=void 0}}else return;break;case"{":let u;[t,u]=N(Se,e,t,!0),u.is_xml_js=!0,a.js_attributes.push(u);break;case"/":if(e[t+1]===">")return a.end=t+2,a.cbegin=a.begin,a.cend=a.end,a.self_closing=!0,n&&n.children.push(a),a;let p=N(jt,e,t);p[0]>t?t=p[0]:t++;break;case">":let m=fs(e,t,a);if(m===null)return;if(m>t?t=m:t++,a.end)return n&&n.children.push(a),a;t++;break;case" ":case" ":case`
110
- `:s();break;default:return}}}function Br(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[a]=N(Sn,e,t,r,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=N(Tn,e,t,o,r);break;case"{":[t]=N(Se,e,t,!0,r);break;case"(":[t]=N(Br,e,t,r);break;case"}":se("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":let[s]=N(jt,e,t,r);s>t?t=s:t++;break;case"\\":t++;default:t++;break}}se("Unterminated paranthesis block",r.begin)}function Se(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[a]=N(Sn,e,t,o,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=N(Tn,e,t,s,o);break;case"{":{let a=t;[t]=N(Se,e,t,!0,o);break}case"(":[t]=N(Br,e,t,o);break;case")":se("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;se("Unmatched curly bracket",o.begin);break;case"/":{let[a]=N(jt,e,t,o);a>t?t=a:t++;break}case P.preprocessorDelimiter:{let[a]=N(us,e,t,o);a>t?t=a:t++;break}case"\\":t++;default:t++}}return n&&se("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function ps(e,t,n){e.already_labeled=!0;function r(c,l=1){for(;(c+=l)<e.children.length&&c>=0;){let f=e.children[c];if(typeof f=="string"){let u=f.trim();if(u.length)return[c,u]}if(typeof f=="object"&&f.type!=="comment")return[c,f]}return[null,null]}let o,s,a;for(let c=0;c<e.children.length;c++)if(typeof e.children[c]=="object"&&e.children[c].type==="paranthesis"){if([o,a]=r(c,-1),a===null||typeof a!="string"||["switch","catch","try","class"].find(f=>a.trim().endsWith(f))!==void 0)continue;let l=a;if([o,a]=r(o,-1),a===null||typeof a=="string"&&["extern","class"].indexOf(a)!==-1||([o,s]=r(c),s===null))continue;if(P.injectTraceLabels&&typeof s=="object"&&s.type==="js"){let f=Ke(t,c);s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${f}:${l}*/try{`),P.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}`),c+=2}}else if(e.children[c]==="=>"&&([o,a]=r(c,-1),typeof a=="object"&&a.type==="paranthesis")){let l=Ke(t,a.begin);[o,s]=r(c),typeof s=="object"&&s.type==="js"&&(P.injectTraceLabels&&(s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${l}:<ARROW>*/try {`),P.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}`)),c+=2)}}function Kr(e){let t=[0];for(let n in e)e[n]===`
111
- `&&t.push(parseInt(n));return t.push(e.length),t}function Ke(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=[],a={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},c=h=>{var y;if(((y=h==null?void 0:h.out)==null?void 0:y.length)>0)for(let g of h.out)c(g);(h==null?void 0:h.begin)!==void 0&&(h==null?void 0:h.out_index)!==void 0&&s.push([...Ke(r,h.out_index),...Ke(n,h.begin),h])};c(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+=qr(y[1]-u,0,y[2]-p,y[3]-m),u=y[1],p=y[2],m=y[3]}return a.mappings=l.substring(1).replace(/;,/g,";"),`
110
+ `;)t++},a={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};s();let c=t;for(;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;a.tag=e.substring(t,c),t=c;let l;for(;t<e.length;){for(c=t;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;let f=e.substring(t,c);switch(f.length&&(l=f,a.attributes[f]=!0),t=c,e[t]){case"=":if(l){for(t++,s();e[t]==="/";){let d=N(jt,e,t);d[0]>t?t=d[0]:t++,s()}let m;switch(e[t]){case"'":case'"':[t,m]=N(Tn,e,t,e[t]),a.attributes[l]=m,l=void 0;break;case"{":[t,m]=N(Se,e,t,!0),a.attributes[l]=m,l=void 0;break;default:for(c=t;c<e.length&&o.indexOf(e[c])===-1;)c++;if(c===e.length)return;let d=e.substring(t,c);t=c,a.attributes[l]=d,l=void 0}}else return;break;case"{":let u;[t,u]=N(Se,e,t,!0),u.is_xml_js=!0,a.js_attributes.push(u);break;case"/":if(e[t+1]===">")return a.end=t+2,a.cbegin=a.begin,a.cend=a.end,a.self_closing=!0,n&&n.children.push(a),a;let p=N(jt,e,t);p[0]>t?t=p[0]:t++;break;case">":let y=hs(e,t,a);if(y===null)return;if(y>t?t=y:t++,a.end)return n&&n.children.push(a),a;t++;break;case" ":case" ":case`
111
+ `:s();break;default:return}}}function Vr(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[a]=N(Sn,e,t,r,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=N(Tn,e,t,o,r);break;case"{":[t]=N(Se,e,t,!0,r);break;case"(":[t]=N(Vr,e,t,r);break;case"}":ae("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":let[s]=N(jt,e,t,r);s>t?t=s:t++;break;case"\\":t++;default:t++;break}}ae("Unterminated paranthesis block",r.begin)}function Se(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[a]=N(Sn,e,t,o,!0);a>t?t=a:t++;break}case'"':case"'":case"`":[t]=N(Tn,e,t,s,o);break;case"{":{let a=t;[t]=N(Se,e,t,!0,o);break}case"(":[t]=N(Vr,e,t,o);break;case")":ae("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;ae("Unmatched curly bracket",o.begin);break;case"/":{let[a]=N(jt,e,t,o);a>t?t=a:t++;break}case P.preprocessorDelimiter:{let[a]=N(fs,e,t,o);a>t?t=a:t++;break}case"\\":t++;default:t++}}return n&&ae("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function ds(e,t,n){e.already_labeled=!0;function r(c,l=1){for(;(c+=l)<e.children.length&&c>=0;){let f=e.children[c];if(typeof f=="string"){let u=f.trim();if(u.length)return[c,u]}if(typeof f=="object"&&f.type!=="comment")return[c,f]}return[null,null]}let o,s,a;for(let c=0;c<e.children.length;c++)if(typeof e.children[c]=="object"&&e.children[c].type==="paranthesis"){if([o,a]=r(c,-1),a===null||typeof a!="string"||["switch","catch","try","class"].find(f=>a.trim().endsWith(f))!==void 0)continue;let l=a;if([o,a]=r(o,-1),a===null||typeof a=="string"&&["extern","class"].indexOf(a)!==-1||([o,s]=r(c),s===null))continue;if(P.injectTraceLabels&&typeof s=="object"&&s.type==="js"){let f=Ke(t,c);s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${f}:${l}*/try{`),P.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}`),c+=2}}else if(e.children[c]==="=>"&&([o,a]=r(c,-1),typeof a=="object"&&a.type==="paranthesis")){let l=Ke(t,a.begin);[o,s]=r(c),typeof s=="object"&&s.type==="js"&&(P.injectTraceLabels&&(s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${l}:<ARROW>*/try {`),P.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}`)),c+=2)}}function Br(e){let t=[0];for(let n in e)e[n]===`
112
+ `&&t.push(parseInt(n));return t.push(e.length),t}function Ke(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 ms(e,t,n,r,o=[]){let s=[],a={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},c=m=>{var d;if(((d=m==null?void 0:m.out)==null?void 0:d.length)>0)for(let E of m.out)c(E);(m==null?void 0:m.begin)!==void 0&&(m==null?void 0:m.out_index)!==void 0&&s.push([...Ke(r,m.out_index),...Ke(n,m.begin),m])};c(e),s=s.sort((m,d)=>m[0]==d[0]?m[1]-d[1]:m[0]-d[0]),o.push(...s);let l="",f=0,u=0,p=0,y=0;for(let m=0;m<s.length;m++){let d=s[m];for(;f<d[0];)u=0,l+=";",f++;l+=",",l+=Fr(d[1]-u,0,d[2]-p,d[3]-y),u=d[1],p=d[2],y=d[3]}return a.mappings=l.substring(1).replace(/;,/g,";"),`
112
113
 
113
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+btoa(JSON.stringify(a))}function Cn(e,{factory:t="createComponent",fragment:n="Fragment",path:r="anonymous",appendSourcemap:o=!0,injectTraceLabels:s=!1,discardComments:a=!1,produceCJS:c=!1,blocks_info:l={labels:{},counter:0},mappings:f=[]}={}){var E,_;(E=P.preprocessorDelimiter)!=null||(P.preprocessorDelimiter="\u0294"),(_=P.injectTraceLabels)!=null||(P.injectTraceLabels=s);let u=Kr(e);se=((d,w,O)=>{let S=new Error(w);throw S.name="JSXParseError",[S.lineNumber,S.columnNumber]=Ke(d,O),S.fileName=r,S.lilact_trace="parse",S}).bind(null,u);let p=Se(e);p.data=e;let m=d=>{if(d.attributes!==void 0)for(let w in d.attributes)typeof d.attributes[w]=="object"&&m(d.attributes[w]);if(d.children!==void 0&&!d.self_closing){let w=d.type==="js"?d.begin:d.cbegin||d.begin;for(let S=0;S<d.children.length;S++){let k=d.children[S];if(k.begin>w){let T=e.substring(w,k.begin);d.type==="xml"&&(T=T.trim()),T.length&&(d.type==="xml"?d.children.splice(S,0,'"'+T.replaceAll(`
114
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+btoa(JSON.stringify(a))}function Cn(e,{factory:t="createComponent",fragment:n="Fragment",path:r="anonymous",appendSourcemap:o=!0,injectTraceLabels:s=!1,discardComments:a=!1,produceCJS:c=!1,blocks_info:l={labels:{},counter:0},mappings:f=[]}={}){var g,_;(g=P.preprocessorDelimiter)!=null||(P.preprocessorDelimiter="\u0294"),(_=P.injectTraceLabels)!=null||(P.injectTraceLabels=s);let u=Br(e);ae=((h,w,O)=>{let S=new Error(w);throw S.name="JSXParseError",[S.lineNumber,S.columnNumber]=Ke(h,O),S.fileName=r,S.lilact_trace="parse",S}).bind(null,u);let p=Se(e);p.data=e;let y=h=>{if(h.attributes!==void 0)for(let w in h.attributes)typeof h.attributes[w]=="object"&&y(h.attributes[w]);if(h.children!==void 0&&!h.self_closing){let w=h.type==="js"?h.begin:h.cbegin||h.begin;for(let S=0;S<h.children.length;S++){let k=h.children[S];if(k.begin>w){let T=e.substring(w,k.begin);h.type==="xml"&&(T=T.trim()),T.length&&(h.type==="xml"?h.children.splice(S,0,'"'+T.replaceAll(`
114
115
  `,`\\
115
- `).replaceAll('"','\\"')+'"'):d.children.splice(S,0,...T.split(Fr)),S++)}w=k.end,m(k)}let O=d.type==="js"?d.end:d.cend||d.end;if(w<O&&!d.self_closing){let S=e.substring(w,O);d.type==="xml"&&(S=S.trim()),S.length&&(d.type==="xml"?d.children.push('"'+S.replace(/[\\\"\n]/g,k=>({"\\":"\\\\",'"':'\\"',"\n":`\\
116
- `})[k])+'"'):d.children.push(...S.split(Fr)))}d.children=d.children.filter(S=>S!==""),P.setBlockLabels&&!d.already_labeled&&ps(d,u,l)}};m(p),ls(p);let h=(d,w,O=!1,S=!1)=>{if(typeof w!="object")return w;if(w===null)return"";if(w.out_index=d,w.type==="string")return e.substring(w.begin,w.end);if(w.type==="import"||w.type==="export")return w.cjs;if(w.type==="regex")return e.substring(w.begin,w.end);if(w.type==="comment")return a||O?"":e.substring(w.begin,w.end);if(w.type==="directive")return w.value;if(w.type==="paranthesis"){let k="(";if(w.out){c&&kn(w,e);for(let T of w.out)k+=h(d+k.length-1,T)}return k+")"}if(w.type==="js"){let k="";if(w.out){c&&kn(w,e);for(let T of w.out)S&&T.type==="comment"||(k+=h(d+k.length-(O?1:0),T))}return O?k.substring(1,k.length-1):w!=null&&w.is_xml_js?e.substring(w.begin+1,w.end-1):k}if(w.type==="xml"){w.tag.length===0?w.tag=n:w.tag[0]!==w.tag[0].toUpperCase()&&(w.tag=`"${w.tag}"`);let k="",T=!0;for(let C of w.js_attributes){let z=h(d+k.length,C,!1);k+=`${T?"":", "}${z}`,T=!1}if(w.attributes)for(let C in w.attributes)k+=`${T?"":", "}"${C}": ${h(d+k.length,w.attributes[C],!0)}`,T=!1;if(k+=" }",w.out)for(let C of w.out){let z=h(d+k.length,C,!0,!0);z.length>0&&(k+=`, ${z}`,T=!1)}let I=Ke(u,w.begin);return k=` ${t}( ${w.tag}, { ${k} )`,k}},y="";s&&(y=`/*LILACTBLOCK${++l.counter}:0,0:<EXEC>*/try{`),y+=h(y.length,p),s&&(P.enableLabelStack?y+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${l.counter},e.lilact_trace];throw e}`:y+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${l.counter};throw e}`);let g=hs(p,r,u,Kr(y),f);return o&&(y+=g),y}var ae={VERSION:"beta.22",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...Ht,...rn,...Qt,...nn,...ln,...pn,...an,...fn,...hn,...wn,..._n,transpileJSX:Cn,transpilerConfig:P,PropTypes:dr,redux:Ft,emotion:ze,default:ae};ae.importObjectPaths={lilact:ae,"@emotion/css":ae.emotion,redux:ae.redux};globalThis.Lilact=ae;globalThis.createComponent=ae.createComponent;globalThis.Fragment=ae.Fragment;globalThis.require=ae.require;document.addEventListener("DOMContentLoaded",()=>{ae.runScripts()});var v=ae;export{Or as CSSTransition,ke as Children,ye as Component,Dr as DragHandle,xn as ErrorBoundary,gr as Fragment,Ze as HTMLComponent,Xi as HashRouter,ae as Lilact,Yi as Link,Gi as NavLink,br as Portal,dr as PropTypes,Ni as Provider,kt as RootComponent,Ji as Route,jr as Routes,Qi as Spinner,es as SplitPane,Rt as Suspense,Ai as SwitchTransition,Cr as Transition,Ii as TransitionGroup,Pi as addWrappedEventListener,$i as animationFramePromise,Bi as blocks_info,kr as boolean_html_attributes_set,St as capture_events_set,Ti as clearInterval,te as clearTimeout,Mi as combineReducers,Di as connect,Zt as createComponent,Ue as createContext,zo as createElement,Xo as createPortal,_r as createRoot,$r as createSyntheticEvent,Ho as current_component,Gt as deepEqual,v as default,oi as effect_timeout,ze as emotion,Vi as error,Fo as eval_num,Tt as events_set,jo as findDOMNode,zt as forwardRef,Do as getComponentByPointer,Ki as globalErrorHandler,Si as grabTimers,qo as id_num,ti as insertion_effects,Mo as isAsync,_t as isClass,X as isEmpty,Uo as isError,Et as isThenable,yr as isValidComponent,No as isValidElement,ei as layout_effects,mi as lazy,vr as length_css_attributes_set,Go as memo,ni as passive_effects,Ei as pauseTimers,xr as processEffects,Ft as redux,Ar as releaseSyntheticEvent,Ci as releaseTimers,Yo as render,Sr as require,he as required_scripts,_i as resetTimers,vi as resumeTimers,Qo as roots,Qe as run,gi as runScripts,Fi as scanBlockLabels,ki as setInterval,we as setTimeout,J as shallowEqual,Er as special_attributes,hi as startTransition,Oi as timeoutPromise,vt as toBool,Nr as traceError,Cn as transpileJSX,P as transpilerConfig,Zo as update_cbs,ii as update_interval_margin,Jo as update_set,ri as update_timeout,ui as useActionState,ie as useCallback,qe as useContext,pi as useDebugValue,fi as useDeferredValue,ji as useDispatch,ee as useEffect,Z as useHook,si as useId,tn as useImperativeHandle,ci as useInsertionEffect,Te as useLayoutEffect,ai as useLocalStorage,gn as useLocation,en as useMemo,bn as useNavigate,li as useReducer,D as useRef,Lr as useSelector,Y as useState,At as useStore,Tr as useTransition,Ir as wrapListener};
116
+ `).replaceAll('"','\\"')+'"'):h.children.splice(S,0,...T.split(Kr)),S++)}w=k.end,y(k)}let O=h.type==="js"?h.end:h.cend||h.end;if(w<O&&!h.self_closing){let S=e.substring(w,O);h.type==="xml"&&(S=S.trim()),S.length&&(h.type==="xml"?h.children.push('"'+S.replace(/[\\\"\n]/g,k=>({"\\":"\\\\",'"':'\\"',"\n":`\\
117
+ `})[k])+'"'):h.children.push(...S.split(Kr)))}h.children=h.children.filter(S=>S!==""),P.setBlockLabels&&!h.already_labeled&&ds(h,u,l)}};y(p),ps(p);let m=(h,w,O=!1,S=!1)=>{if(typeof w!="object")return w;if(w===null)return"";if(w.out_index=h,w.type==="string")return e.substring(w.begin,w.end);if(w.type==="import"||w.type==="export")return w.cjs;if(w.type==="regex")return e.substring(w.begin,w.end);if(w.type==="comment")return a||O?"":e.substring(w.begin,w.end);if(w.type==="directive")return w.value;if(w.type==="paranthesis"){let k="(";if(w.out){c&&kn(w,e);for(let T of w.out)k+=m(h+k.length-1,T)}return k+")"}if(w.type==="js"){let k="";if(w.out){c&&kn(w,e);for(let T of w.out)S&&T.type==="comment"||(k+=m(h+k.length-(O?1:0),T))}return O?k.substring(1,k.length-1):w!=null&&w.is_xml_js?e.substring(w.begin+1,w.end-1):k}if(w.type==="xml"){w.tag.length===0?w.tag=n:w.tag[0]!==w.tag[0].toUpperCase()&&(w.tag=`"${w.tag}"`);let k="",T=!0;for(let C of w.js_attributes){let z=m(h+k.length,C,!1);k+=`${T?"":", "}${z}`,T=!1}if(w.attributes)for(let C in w.attributes)k+=`${T?"":", "}"${C}": ${m(h+k.length,w.attributes[C],!0)}`,T=!1;if(k+=" }",w.out)for(let C of w.out){let z=m(h+k.length,C,!0,!0);z.length>0&&(k+=`, ${z}`,T=!1)}let I=Ke(u,w.begin);return k=` ${t}( ${w.tag}, { ${k} )`,k}},d="";s&&(d=`/*LILACTBLOCK${++l.counter}:0,0:<EXEC>*/try{`),d+=m(d.length,p),s&&(P.enableLabelStack?d+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${l.counter},e.lilact_trace];throw e}`:d+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${l.counter};throw e}`);let E=ms(p,r,u,Br(d),f);return o&&(d+=E),d}var ne={VERSION:"beta.23",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...Ht,...rn,...Qt,...nn,...ln,...pn,...an,...fn,...hn,...wn,..._n,transpileJSX:Cn,transpilerConfig:P,PropTypes:dr,redux:Ft,emotion:ze};ne.default=ne;var v=ne;ne.importObjectPaths={lilact:ne,"@emotion/css":ne.emotion,redux:ne.redux};globalThis.Lilact=ne;globalThis.createComponent=ne.createComponent;globalThis.Fragment=ne.Fragment;globalThis.require=ne.require;document.addEventListener("DOMContentLoaded",()=>{ne.runScripts()});export{$r as CSSTransition,ke as Children,ye as Component,Mr as DragHandle,xn as ErrorBoundary,gr as Fragment,Ze as HTMLComponent,Gi as HashRouter,ne as Lilact,zi as Link,Hi as NavLink,br as Portal,dr as PropTypes,Di as Provider,kt as RootComponent,Qi as Route,Dr as Routes,ts as Spinner,ns as SplitPane,Rt as Suspense,Li as SwitchTransition,Or as Transition,Ri as TransitionGroup,ji as addWrappedEventListener,Ii as animationFramePromise,Wi as blocks_info,Tr as boolean_html_attributes_set,St as capture_events_set,Ci as clearInterval,te as clearTimeout,Er as cloneComponent,Go as cloneElement,qi as combineReducers,Ui as connect,Zt as createComponent,Ue as createContext,Jo as createElement,Yo as createPortal,_r as createRoot,Ar as createSyntheticEvent,Zo as current_component,Gt as deepEqual,v as default,si as effect_timeout,ze as emotion,Xi as error,Ko as eval_num,Tt as events_set,Do as findDOMNode,zt as forwardRef,Mo as getComponentByPointer,Vi as globalErrorHandler,Oi as grabTimers,Fo as id_num,ri as insertion_effects,Uo as isAsync,_t as isClass,X as isEmpty,qo as isError,Et as isThenable,yr as isValidComponent,jo as isValidElement,ni as layout_effects,gi as lazy,kr as length_css_attributes_set,Ho as memo,oi as passive_effects,ki as pauseTimers,xr as processEffects,Ft as redux,Ir as releaseSyntheticEvent,$i as releaseTimers,zo as render,Cr as require,he as required_scripts,vi as resetTimers,Ti as resumeTimers,ti as roots,Qe as run,wi as runScripts,Bi as scanBlockLabels,Si as setInterval,we as setTimeout,J as shallowEqual,vr as special_attributes,mi as startTransition,Ai as timeoutPromise,vt as toBool,jr as traceError,Cn as transpileJSX,P as transpilerConfig,ei as update_cbs,ai as update_interval_margin,Qo as update_set,ii as update_timeout,fi as useActionState,se as useCallback,qe as useContext,di as useDebugValue,hi as useDeferredValue,Mi as useDispatch,ee as useEffect,Z as useHook,ci as useId,tn as useImperativeHandle,li as useInsertionEffect,Te as useLayoutEffect,ui as useLocalStorage,gn as useLocation,en as useMemo,bn as useNavigate,pi as useReducer,D as useRef,Rr as useSelector,Y as useState,At as useStore,Sr as useTransition,Lr as wrapListener};
@@ -1 +1 @@
1
- window.hierarchyData = "eJyVkDFrwzAQhf/LmxUXKSS2NbYUOjRL2y1kMPKVmMi6oJOHEPzfizEp9lLXyw3He/d93B2ROQns0ejypBDp25NLDQeBvaPIhxmqlmDxGiPHZ+5CXcUbFC5NqGG1KRS66GHhfCVC8lQ5RyIcG5JsVsrOqfVQYxAWSerNcGUzLnoFvZ0SPzu5UhD6L+yRX+YYXU44L9xeOVBIf4HcIyTZb34BpODOja8jBdhjkSu9zZXZ7U+DwG4/EXj7OryvlZh11oiYcjQopwYfzGmtwayz9PO+/wHbvc7q"
1
+ window.hierarchyData = "eJyVkDFPw0AMhf/Lm6+huVRNdCMIiQEWYKs6RBejRlzOlX0ZUJX/jkJVlCyELB6s9/x98gXCnBTuYG15NBD6CORTy1HhLqjKcca6Izg8irDccx+bWr5g8NnGBi63lUEvAQ4+1Kqkd7X3pMrSkmazUnZKXYC5BuGQtNmMVzbXxWCQF1PiW69nikr/hd3yyxxrp5wH7s4cKaa/QP4W0uw3vwAy8Kc2NEIR7lCVJi9KY/e74yiw300Ent5fntdKzDprRIrtj0GxnRq8Mqe1BrPO0s+H4RvNBs7S"