lilact 0.26.13 → 0.26.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lilact.development.js +25 -19
- package/dist/lilact.development.js.map +2 -2
- package/dist/lilact.development.min.js +25 -25
- package/dist/lilact.development.min.js.map +3 -3
- package/dist/lilact.production.min.js +25 -25
- package/docs/functions/errors.globalErrorHandler.html +1 -1
- package/docs/functions/errors.traceError.html +2 -2
- package/docs/static/lilact.development.js +25 -19
- package/docs/static/lilact.development.js.map +2 -2
- package/docs/static/lilact.development.min.js +25 -25
- package/docs/static/lilact.development.min.js.map +3 -3
- package/docs/static/lilact.production.min.js +25 -25
- package/examples/lilact.development.js +25 -19
- package/examples/lilact.development.js.map +2 -2
- package/examples/lilact.development.min.js +25 -25
- package/examples/lilact.development.min.js.map +3 -3
- package/examples/lilact.production.min.js +25 -25
- package/package.json +1 -1
- package/scripts/esbuild-preprocessor-plugin.cjs +1 -0
- package/src/errors.jsx +27 -20
- package/src/jsx.js +5 -1
- package/src/run.jsx +1 -1
|
@@ -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 tr=Object.defineProperty;var xo=(e,t,n)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Z=(e,t)=>{for(var n in t)tr(e,n,{get:t[n],enumerable:!0})};var z=(e,t,n)=>xo(e,typeof t!="symbol"?t+"":t,n);var sn={};Z(sn,{__DO_NOT_USE__ActionTypes:()=>ut,applyMiddleware:()=>Co,bindActionCreators:()=>So,combineReducers:()=>ko,compose:()=>or,createStore:()=>on,isAction:()=>Oo,isPlainObject:()=>rn,legacy_createStore:()=>vo});function U(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 _o=typeof Symbol=="function"&&Symbol.observable||"@@observable",nr=_o,nn=()=>Math.random().toString(36).substring(7).split("").join("."),Eo={INIT:`@@redux/INIT${nn()}`,REPLACE:`@@redux/REPLACE${nn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${nn()}`},ut=Eo;function rn(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 on(e,t,n){if(typeof e!="function")throw new Error(U(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(U(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(U(1));return n(on)(e,t)}let r=e,o=t,s=new Map,c=s,a=0,l=!1;function f(){c===s&&(c=new Map,s.forEach((g,E)=>{c.set(E,g)}))}function u(){if(l)throw new Error(U(3));return o}function p(g){if(typeof g!="function")throw new Error(U(4));if(l)throw new Error(U(5));let E=!0;f();let _=a++;return c.set(_,g),function(){if(E){if(l)throw new Error(U(6));E=!1,f(),c.delete(_),s=null}}}function m(g){if(!rn(g))throw new Error(U(7));if(typeof g.type=="undefined")throw new Error(U(8));if(typeof g.type!="string")throw new Error(U(17));if(l)throw new Error(U(9));try{l=!0,o=r(o,g)}finally{l=!1}return(s=c).forEach(_=>{_()}),g}function h(g){if(typeof g!="function")throw new Error(U(10));r=g,m({type:ut.REPLACE})}function y(){let g=p;return{subscribe(E){if(typeof E!="object"||E===null)throw new Error(U(11));function _(){let A=E;A.next&&A.next(u())}return _(),{unsubscribe:g(_)}},[nr](){return this}}}return m({type:ut.INIT}),{dispatch:m,subscribe:p,getState:u,replaceReducer:h,[nr]:y}}function vo(e,t,n){return on(e,t,n)}function To(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:ut.INIT})=="undefined")throw new Error(U(12));if(typeof n(void 0,{type:ut.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(U(13))})}function ko(e){let t=Object.keys(e),n={};for(let c=0;c<t.length;c++){let a=t[c];typeof e[a]=="function"&&(n[a]=e[a])}let r=Object.keys(n),o,s;try{To(n)}catch(c){s=c}return function(a={},l){if(s)throw s;let f=!1,u={};for(let p=0;p<r.length;p++){let m=r[p],h=n[m],y=a[m],d=h(y,l);if(typeof d=="undefined"){let g=l&&l.type;throw new Error(U(14))}u[m]=d,f=f||d!==y}return f=f||r.length!==Object.keys(a).length,f?u:a}}function rr(e,t){return function(...n){return t(e.apply(this,n))}}function So(e,t){if(typeof e=="function")return rr(e,t);if(typeof e!="object"||e===null)throw new Error(U(16));let n={};for(let r in e){let o=e[r];typeof o=="function"&&(n[r]=rr(o,t))}return n}function or(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Co(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(U(15))},c={getState:o.getState,dispatch:(l,...f)=>s(l,...f)},a=e.map(l=>l(c));return s=or(...a)(o.dispatch),{...o,dispatch:s}}}function Oo(e){return rn(e)&&"type"in e&&typeof e.type=="string"}var yt={};Z(yt,{cache:()=>ti,css:()=>pn,cx:()=>Jo,flush:()=>Go,getRegisteredStyles:()=>zo,hydrate:()=>Ho,injectGlobal:()=>mt,keyframes:()=>Qo,merge:()=>Zo,sheet:()=>ei});var $o=!1;function Ao(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 Io(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 ir=(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?!$o: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(Io(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Ao(o);try{s.insertRule(r,s.cssRules.length)}catch(c){}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})();var q="-ms-",lt="-moz-",I="-webkit-",It="comm",Ve="rule",Be="decl";var sr="@import";var Rt="@keyframes";var cr="@layer";var ar=Math.abs,Ue=String.fromCharCode,ur=Object.assign;function lr(e,t){return N(e,0)^45?(((t<<2^N(e,0))<<2^N(e,1))<<2^N(e,2))<<2^N(e,3):0}function Lt(e){return e.trim()}function cn(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,n){return e.replace(t,n)}function ft(e,t){return e.indexOf(t)}function N(e,t){return e.charCodeAt(t)|0}function Ie(e,t,n){return e.slice(t,n)}function B(e){return e.length}function Xe(e){return e.length}function Ye(e,t){return t.push(e),e}function an(e,t){return e.map(t).join("")}var Pt=1,Ge=1,fr=0,X=0,j=0,Je="";function pt(e,t,n,r,o,s,c){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:Pt,column:Ge,length:c,return:""}}function Ze(e,t){return ur(pt("",null,null,"",null,null,0),e,{length:-e.length},t)}function pr(){return j}function hr(){return j=X>0?N(Je,--X):0,Ge--,j===10&&(Ge=1,Pt--),j}function Y(){return j=X<fr?N(Je,X++):0,Ge++,j===10&&(Ge=1,Pt++),j}function ae(){return N(Je,X)}function ht(){return X}function ze(e,t){return Ie(Je,e,t)}function He(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 Nt(e){return Pt=Ge=1,fr=B(Je=e),X=0,[]}function jt(e){return Je="",e}function Qe(e){return Lt(ze(X-1,un(e===91?e+2:e===40?e+1:e)))}function dr(e){for(;(j=ae())&&j<33;)Y();return He(e)>2||He(j)>3?"":" "}function mr(e,t){for(;--t&&Y()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return ze(e,ht()+(t<6&&ae()==32&&Y()==32))}function un(e){for(;Y();)switch(j){case e:return X;case 34:case 39:e!==34&&e!==39&&un(j);break;case 40:e===41&&un(e);break;case 92:Y();break}return X}function yr(e,t){for(;Y()&&e+j!==57;)if(e+j===84&&ae()===47)break;return"/*"+ze(t,X-1)+"*"+Ue(e===47?e:Y())}function gr(e){for(;!He(ae());)Y();return ze(e,X)}function xr(e){return jt(Dt("",null,null,null,[""],e=Nt(e),0,[0],e))}function Dt(e,t,n,r,o,s,c,a,l){for(var f=0,u=0,p=c,m=0,h=0,y=0,d=1,g=1,E=1,_=0,x="",A=o,S=s,T=r,k=x;g;)switch(y=_,_=Y()){case 40:if(y!=108&&N(k,p-1)==58){ft(k+=$(Qe(_),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:k+=Qe(_);break;case 9:case 10:case 13:case 32:k+=dr(y);break;case 92:k+=mr(ht()-1,7);continue;case 47:switch(ae()){case 42:case 47:Ye(Ro(yr(Y(),ht()),t,n),l);break;default:k+="/"}break;case 123*d:a[f++]=B(k)*E;case 125*d:case 59:case 0:switch(_){case 0:case 125:g=0;case 59+u:E==-1&&(k=$(k,/\f/g,"")),h>0&&B(k)-p&&Ye(h>32?wr(k+";",r,n,p-1):wr($(k," ","")+";",r,n,p-2),l);break;case 59:k+=";";default:if(Ye(T=br(k,t,n,f,u,o,a,x,A=[],S=[],p),s),_===123)if(u===0)Dt(k,t,T,T,A,s,p,a,S);else switch(m===99&&N(k,3)===110?100:m){case 100:case 108:case 109:case 115:Dt(e,T,T,r&&Ye(br(e,T,T,0,0,o,a,x,o,A=[],p),S),o,S,p,a,r?A:S);break;default:Dt(k,T,T,T,[""],S,0,a,S)}}f=u=h=0,d=E=1,x=k="",p=c;break;case 58:p=1+B(k),h=y;default:if(d<1){if(_==123)--d;else if(_==125&&d++==0&&hr()==125)continue}switch(k+=Ue(_),_*d){case 38:E=u>0?1:(k+="\f",-1);break;case 44:a[f++]=(B(k)-1)*E,E=1;break;case 64:ae()===45&&(k+=Qe(Y())),m=ae(),u=p=B(x=k+=gr(ht())),_++;break;case 45:y===45&&B(k)==2&&(d=0)}}return s}function br(e,t,n,r,o,s,c,a,l,f,u){for(var p=o-1,m=o===0?s:[""],h=Xe(m),y=0,d=0,g=0;y<r;++y)for(var E=0,_=Ie(e,p+1,p=ar(d=c[y])),x=e;E<h;++E)(x=Lt(d>0?m[E]+" "+_:$(_,/&\f/g,m[E])))&&(l[g++]=x);return pt(e,t,n,o===0?Ve:a,l,f,u)}function Ro(e,t,n){return pt(e,t,n,It,Ue(pr()),Ie(e,2,-2),0)}function wr(e,t,n,r){return pt(e,t,n,Be,Ie(e,0,r),Ie(e,r+1,-1),r)}function qe(e,t){for(var n="",r=Xe(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function _r(e,t,n,r){switch(e.type){case cr:if(e.children.length)break;case sr:case Be:return e.return=e.return||e.value;case It:return"";case Rt:return e.return=e.value+"{"+qe(e.children,r)+"}";case Ve:e.value=e.props.join(",")}return B(n=qe(e.children,r))?e.return=e.value+"{"+n+"}":""}function Er(e){var t=Xe(e);return function(n,r,o,s){for(var c="",a=0;a<t;a++)c+=e[a](n,r,o,s)||"";return c}}function vr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tr(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Lo=function(t,n,r){for(var o=0,s=0;o=s,s=ae(),o===38&&s===12&&(n[r]=1),!He(s);)Y();return ze(t,X)},Po=function(t,n){var r=-1,o=44;do switch(He(o)){case 0:o===38&&ae()===12&&(n[r]=1),t[r]+=Lo(X-1,n,r);break;case 2:t[r]+=Qe(o);break;case 4:if(o===44){t[++r]=ae()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Ue(o)}while(o=Y());return t},No=function(t,n){return jt(Po(Nt(t),n))},kr=new WeakMap,jo=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&&!kr.get(r))&&!o){kr.set(t,!0);for(var s=[],c=No(n,s),a=r.props,l=0,f=0;l<c.length;l++)for(var u=0;u<a.length;u++,f++)t.props[f]=s[l]?c[l].replace(/&\f/g,a[u]):a[u]+" "+c[l]}}},Do=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Sr(e,t){switch(lr(e,t)){case 5103:return I+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return I+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return I+e+lt+e+q+e+e;case 6828:case 4268:return I+e+q+e+e;case 6165:return I+e+q+"flex-"+e+e;case 5187:return I+e+$(e,/(\w+).+(:[^]+)/,I+"box-$1$2"+q+"flex-$1$2")+e;case 5443:return I+e+q+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return I+e+q+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return I+e+q+$(e,"shrink","negative")+e;case 5292:return I+e+q+$(e,"basis","preferred-size")+e;case 6060:return I+"box-"+$(e,"-grow","")+I+e+q+$(e,"grow","positive")+e;case 4554:return I+$(e,/([^-])(transform)/g,"$1"+I+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,I+"$1"),/(image-set)/,I+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,I+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,I+"box-pack:$3"+q+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+I+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,I+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(B(e)-1-t>6)switch(N(e,t+1)){case 109:if(N(e,t+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+lt+(N(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ft(e,"stretch")?Sr($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(N(e,t+1)!==115)break;case 6444:switch(N(e,B(e)-3-(~ft(e,"!important")&&10))){case 107:return $(e,":",":"+I)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(N(e,14)===45?"inline-":"")+"box$3$1"+I+"$2$3$1"+q+"$2box$3")+e}break;case 5936:switch(N(e,t+11)){case 114:return I+e+q+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+q+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+q+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+q+e+e}return e}var Mo=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Be:t.return=Sr(t.value,t.length);break;case Rt:return qe([Ze(t,{value:$(t.value,"@","@"+I)})],o);case Ve:if(t.length)return an(t.props,function(s){switch(cn(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qe([Ze(t,{props:[$(s,/:(read-\w+)/,":"+lt+"$1")]})],o);case"::placeholder":return qe([Ze(t,{props:[$(s,/:(plac\w+)/,":"+I+"input-$1")]}),Ze(t,{props:[$(s,/:(plac\w+)/,":"+lt+"$1")]}),Ze(t,{props:[$(s,/:(plac\w+)/,q+"input-$1")]})],o)}return""})}},Uo=[Mo],Cr=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(d){var g=d.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(d),d.setAttribute("data-s",""))})}var o=t.stylisPlugins||Uo,s={},c,a=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(d){for(var g=d.getAttribute("data-emotion").split(" "),E=1;E<g.length;E++)s[g[E]]=!0;a.push(d)});var l,f=[jo,Do];{var u,p=[_r,vr(function(d){u.insert(d)})],m=Er(f.concat(o,p)),h=function(g){return qe(xr(g),m)};l=function(g,E,_,x){u=_,h(g?g+"{"+E.styles+"}":E.styles),x&&(y.inserted[E.name]=!0)}}var y={key:n,sheet:new ir({key:n,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return y.sheet.hydrate(a),y};function 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 $r={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 qo=!1,Fo=/[A-Z]|^ms/g,Ko=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Lr=function(t){return t.charCodeAt(1)===45},Ar=function(t){return t!=null&&typeof t!="boolean"},ln=Tr(function(e){return Lr(e)?e:e.replace(Fo,"-$&").toLowerCase()}),Ir=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Ko,function(r,o,s){return Ee={name:o,styles:s,next:Ee},o})}return $r[t]!==1&&!Lr(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 dt(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Ee={name:o.name,styles:o.styles,next:Ee},o.name;var s=n;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)Ee={name:c.name,styles:c.styles,next:Ee},c=c.next;var a=s.styles+";";return a}return Vo(e,t,n)}case"function":{if(e!==void 0){var l=Ee,f=n(e);return Ee=l,dt(e,t,f)}break}}var u=n;if(t==null)return u;var p=t[u];return p!==void 0?p:u}function Vo(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=dt(e,t,n[o])+";";else for(var s in n){var c=n[s];if(typeof c!="object"){var a=c;t!=null&&t[a]!==void 0?r+=s+"{"+t[a]+"}":Ar(a)&&(r+=ln(s)+":"+Ir(s,a)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&qo)throw new Error(Wo);if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var l=0;l<c.length;l++)Ar(c[l])&&(r+=ln(s)+":"+Ir(s,c[l])+";");else{var f=dt(e,t,c);switch(s){case"animation":case"animationName":{r+=ln(s)+":"+f+";";break}default:r+=s+"{"+f+"}"}}}}return r}var Rr=/label:\s*([^\s;{]+)\s*(;|$)/g,Ee;function Mt(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Ee=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=dt(n,t,s);else{var c=s;o+=c[0]}for(var a=1;a<e.length;a++)if(o+=dt(n,t,e[a]),r){var l=s;o+=l[a]}Rr.lastIndex=0;for(var f="",u;(u=Rr.exec(o))!==null;)f+="-"+u[1];var p=Or(o)+f;return{name:p,styles:o,next:Ee}}var Bo=!0;function fn(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var Xo=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Bo===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},Pr=function(t,n,r){Xo(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 Nr(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function jr(e,t,n){var r=[],o=fn(e,r,n);return r.length<2?n:o+t(r)}var Dr=function(t){var n=Cr(t);n.sheet.speedy=function(a){this.isSpeedy=a},n.compat=!0;var r=function(){for(var l=arguments.length,f=new Array(l),u=0;u<l;u++)f[u]=arguments[u];var p=Mt(f,n.registered,void 0);return Pr(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 Nr(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);Nr(n,p)},c=function(){for(var l=arguments.length,f=new Array(l),u=0;u<l;u++)f[u]=arguments[u];return jr(n.registered,r,Yo(f))};return{css:r,cx:c,injectGlobal:s,keyframes:o,hydrate:function(l){l.forEach(function(f){n.inserted[f]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:fn.bind(null,n.registered),merge:jr.bind(null,n.registered,r)}},Yo=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var c in o)o[c]&&c&&(s&&(s+=" "),s+=c)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n};var ve=Dr({key:"css"}),Go=ve.flush,Ho=ve.hydrate,Jo=ve.cx,Zo=ve.merge,zo=ve.getRegisteredStyles,mt=ve.injectGlobal,Qo=ve.keyframes,pn=ve.css,ei=ve.sheet,ti=ve.cache;var gn={};Z(gn,{Children:()=>Ke,Fragment:()=>Mr,Portal:()=>Ur,deepEqual:()=>mn,eval_num:()=>ai,findDOMNode:()=>ri,forwardRef:()=>yn,getComponentByPointer:()=>oi,id_num:()=>ci,isAsync:()=>ii,isClass:()=>Ut,isEmpty:()=>K,isError:()=>si,isThenable:()=>qt,isValidComponent:()=>tt,isValidElement:()=>ni,shallowEqual:()=>se,toBool:()=>Ft});var dn={};Z(dn,{ARGS:()=>_t,CALLBACK:()=>xt,CHILD_CLASS_ADDENDUM:()=>de,CLEARED:()=>wt,COMPONENT:()=>Fe,CORE:()=>w,DUE:()=>le,IDX:()=>ue,INTERVAL:()=>et,IS_ZOMBIE:()=>hn,LAZY:()=>gt,MEMOIZED:()=>Ce,REPEAT:()=>bt,TEXT:()=>F});var[w,Fe,F,hn,ue,de,Ce,gt,le,bt,wt,et,xt,_t]=[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 Te=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},tt=e=>e[w]!==void 0||e[TEXT]!==void 0,ni=tt,ri=e=>{var t,n;if(!((n=(t=e[w])==null?void 0:t.element)!=null&&n.parentNode))throw new Error("findDOMNode only works on mounted components.");return e[w].element};function Mr({children:e}){return e}Mr.displayName="Fragment";function Ur({children:e,view:t}){return this[w].portal=t,e}Ur.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}},yn=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function oi(){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[Fe]&&o.parentNode;)o=o.parentNode;return e(o[Fe]),!1}return window.addEventListener("click",n,!0),t}function K(e){for(let t in e)return!1;return!0}var se=(e,t,n)=>Te(e)!==Te(t)?!1:Te(e)==="array"?e.length!==t.length?!1:e.every((r,o)=>r===t[o]||o===n):Te(e)==="object"?Object.keys(e).every(r=>e[r]===t[r]||r===n):Te(e)==="date"?e.getTime()===t.getTime():e===t;function mn(e,t){return Te(e)!==Te(t)?!1:Te(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>mn(n,t[r])):Te(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>mn(e[n],t[n])):Te(e)==="date"?e.getTime()===t.getTime():e===t}function Ut(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function ii(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function qt(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function si(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function Ft(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 ci=Math.floor(Math.random()*1e4),ai=0;function G(e){return e==null}function W(e){return e||"<<anonymous>>"}function ui(e){return e&&(e.displayName||e.name)||"Unknown"}function qr(e){return e==null||e===!1||e===!0||typeof e=="string"||typeof e=="number"||tt(e)?!0:Array.isArray(e)?e.every(qr):!1}function li(e){return typeof e=="function"||typeof e=="string"}function me(e){let t=function(r,o,s,c,a,l){let f=r[o];if(G(f)||e(f))return null;let u=e.expectedType||"the correct type",p=f===null?"null":typeof f;return new Error(`Invalid ${c} \`${a}\` of type \`${p}\` supplied to \`${W(s)}\`, expected \`${u}\`.`)};return t.isRequired=function(r,o,s,c,a){let l=r[o];return G(l)?new Error(`The ${c} \`${a}\` is marked as required in \`${W(s)}\`, but its value is \`${l}\`.`):t(r,o,s,c,a)},t}function fi(){let e={};e.any=(function(){let r=function(s,c,a,l,f){return null};return r.isRequired=function(){return null},r})(),e.array=me(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=me(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=me(r=>typeof r=="function"),e.func.expectedType="function",e.number=me(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=me(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=me(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=me(r=>typeof r=="symbol"),e.symbol.expectedType="symbol",e.component=me(r=>tt(r)),e.component.expectedType="component",e.element=me(r=>tt(r)),e.element.expectedType="element",e.node=me(r=>qr(r)),e.node.expectedType="node",e.elementType=me(r=>li(r)),e.elementType.expectedType="elementType",e.oneOf=function(o){let s=Array.isArray(o)?o:[],c=function(l,f,u,p,m){let h=l[f];if(G(h))return null;for(let d=0;d<s.length;d++)if(h===s[d])return null;let y=h===null?"null":typeof h;return new Error(`Invalid ${p} \`${m}\` of value \`${String(h)}\` supplied to \`${W(u)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${y}\`).`)};return c.isRequired=function(l,f,u,p,m){return G(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${W(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c},e.oneOfType=function(o){let s=o||[],c=function(l,f,u,p,m){let h=l[f];if(G(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 \`${W(u)}\` (none of the allowed types matched).`)};return c.isRequired=function(l,f,u,p,m){return G(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${W(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c},e.arrayOf=function(o){let s=o,c=function(l,f,u,p,m){let h=l[f];if(G(h))return null;if(!Array.isArray(h))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof h}\` supplied to \`${W(u)}\`, expected an array.`);for(let y=0;y<h.length;y++){let d=`${m}[${y}]`,g=s({[f]:h[y]},f,u,p,d);if(g!==null)return g}return null};return c.isRequired=function(l,f,u,p,m){return G(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${W(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c},e.objectOf=function(o){let s=o,c=function(l,f,u,p,m){let h=l[f];if(G(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof h}\` supplied to \`${W(u)}\`, expected an object.`);let y=Object.keys(h);for(let d=0;d<y.length;d++){let g=y[d],E=`${m}.${g}`,_=s({[f]:h[g]},f,u,p,E);if(_!==null)return _}return null};return c.isRequired=function(l,f,u,p,m){return G(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${W(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c};function t(r,{exact:o}){let s=r?Object.keys(r):[],c=function(l,f,u,p,m){let h=l[f];if(G(h))return null;if(typeof h!="object"||h===null||Array.isArray(h))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof h}\` supplied to \`${W(u)}\`, expected an object.`);if(o){let d=Object.keys(h);for(let g=0;g<d.length;g++){let E=d[g];if(!Object.prototype.hasOwnProperty.call(r,E)){let _=`${m}.${E}`;return new Error(`Invalid ${p} \`${_}\` supplied to \`${W(u)}\`: extra key \`${E}\` is not allowed by exact().`)}}}for(let d=0;d<s.length;d++){let g=s[d],E=r[g],_=h[g],x=`${m}.${g}`;if(G(_)){let S=E({[f]:_},f,u,p,x);if(S!==null)return S;continue}let A=E({[f]:_},f,u,p,x);if(A!==null)return A}return null};return c.isRequired=function(l,f,u,p,m){return G(l[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${W(u)}\`, but its value is \`${l[f]}\`.`):c(l,f,u,p,m)},c}e.shape=function(o){return t(o,{exact:!1})},e.exact=function(o){return t(o,{exact:!0})},e.instanceOf=function(o){let s=function(a,l,f,u,p){let m=a[l];return G(m)||m instanceof o?null:new Error(`Invalid ${u} \`${p}\` supplied to \`${W(f)}\`: expected instance of \`${ui(o)}\`.`)};return s.isRequired=function(a,l,f,u,p){return G(a[l])?new Error(`The ${u} \`${p}\` is marked as required in \`${W(f)}\`, but its value is \`${a[l]}\`.`):s(a,l,f,u,p)},s};let n=new Set;return e.checkPropTypes=function(o,s,c,a){if(!o)return;let l=o,f=W(a),u=Object.keys(l);for(let p=0;p<u.length;p++){let m=u[p],h=l[m];if(typeof h!="function")continue;let d=h(s||{},m,f,c,m);if(d instanceof Error){let g=`${f}|${c}|${m}|${d.message}`;if(n.has(g))continue;n.add(g),typeof console!="undefined"&&console.error&&console.error(`Warning: Failed prop type: ${d.message}`)}}},e}var nt=fi();var xn={};Z(xn,{Component:()=>Re,HTMLComponent:()=>vt,RootComponent:()=>Kt,boolean_html_attributes_set:()=>Yr,capture_events_set:()=>Vt,cloneComponent:()=>Vr,cloneElement:()=>bi,createComponent:()=>wn,createElement:()=>_i,createPortal:()=>gi,createRoot:()=>Wr,current_component:()=>Ei,effect_timeout:()=>Ai,events_set:()=>Wt,insertion_effects:()=>Ci,layout_effects:()=>Si,length_css_attributes_set:()=>Xr,memo:()=>xi,passive_effects:()=>Oi,processEffects:()=>Kr,render:()=>wi,roots:()=>ki,special_attributes:()=>Br,update_cbs:()=>Ti,update_interval_margin:()=>Ii,update_set:()=>vi,update_timeout:()=>$i});var pi="http://www.w3.org/2000/svg",bn=class{constructor(t){z(this,"owner");z(this,"current_map",new Map);z(this,"new_map",new Map);z(this,"pick_index",0);this.owner=t}pick(t,n){var s,c;let r,o=this.current_map.get(t);return o&&o.length>o[ue]?(r=o[o[ue]],o[ue]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ue]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ue]=0),r[w]&&((c=(s=r[w]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[ue]).forEach(n=>{n.cleanup?n.cleanup():n.element&&!n.portal&&n.element.parentElement.removeChild(n.element)})}),this.current_map=this.new_map,this.new_map=new Map}},Et=class{constructor(t,n){z(this,"component");z(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var o,s,c,a,l,f,u,p,m,h,y;let r=!0;if(this.outlet&&(this!=null&&this[Ce])&&se(this.props,t,"children")&&se((o=this.props)==null?void 0:o.children,t==null?void 0:t.children)&&(r=!1),r){if((s=this.entity)!=null&&s.propTypes?nt.checkPropTypes(this.entity.propTypes,this.props,"prop",this.entity.name):(c=this.component)!=null&&c.propTypes&&nt.checkPropTypes(this.component.propTypes,this.props,"prop",this.component.name),typeof n=="function"&&(n=n(this.state)),this.component.constructor.defaultProps&&(t={...this.component.constructor.defaultProps,...t}),((l=(a=this==null?void 0:this.parent)==null?void 0:a.component)!=null&&l.context||(u=(f=this==null?void 0:this.parent)==null?void 0:f.component)!=null&&u.getChildContext)&&(this.context={...this.parent.component.context,...(m=(p=this.parent.component).getChildContext)==null?void 0:m.call(p)},this.component.constructor.contextTypes&&nt.checkPropTypes(this.component.constructor.contextTypes,this.context,"context",this.entity.name)),this.component.shouldComponentUpdate&&!this.component.shouldComponentUpdate(n,t,this.context))return;typeof this.entity=="string"&&(this.element instanceof Element||(this.is_svg||this.container.is_svg?(this.is_svg=!0,this.element=document.createElementNS(pi,this.entity)):this.element=document.createElement(this.entity),t!=null&&t.defaultValue&&(this.element.value=String(t.defaultValue).slice(0,t==null?void 0:t.maxLength)),t!=null&&t.defaultChecked&&(this.element.checked=t.defaultChecked)),this.element[Fe]=this.component),t.ref&&(typeof t.ref=="function"?t.ref(this.element||this.component):t.ref.current=this.element||this.component),t!==void 0&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps(t),this.component.componentWillUpdate&&this.component.componentWillUpdate(t,n);let d=this.state,g=this.props;if(this.element&&this.updateElementProps(t),this.props=t,typeof this.next_state=="object")this.state?Object.assign(this.state,n):this.state={...n};else if(this.next_state!==void 0)throw new Error("Component.setState only accepts objects or functions is new state.");if(this.next_state&&delete this.next_state,this.hooks!==void 0){this.hook_index=0,v.current_component=[this,v.current_component];try{this.outlet=this.component.render(t,{current:this.element||this.component})}catch(E){Fr(this,E)}v.current_component=v.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(E){Fr(this,E)}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 E=0;E<this.outlet.length;E++){let _=this.outlet[E];if(_==null||typeof _=="boolean")this.outlet.splice(E,1),E--;else if(typeof _=="function"){let x=this.childFunctionHandler(_);this.outlet.splice(E,1,x),E--}else if(_.constructor.name==="Array")this.outlet.splice(E,1,..._),E--;else{let x=di(this,_);this.outlet[E]=x,x[F]===void 0?(x.container=this.element?this:this.container,x.apply(_.props)):x.element?x[F]!==_[F]&&(x.element.textContent=_[F],x[F]=_[F]):(x.element=document.createTextNode(_[F]),x[F]=_[F])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(g,d,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}}async cleanup(){var t,n,r;try{let o=[];if((t=this.props)!=null&&t.ref&&(typeof this.props.ref=="function"?this.props.ref(null):this.props.current=null),this.component.componentWillUnmount&&this.component.componentWillUnmount(),(n=this==null?void 0:this.element)!=null&&n.parentElement&&!this.portal&&this.element.parentElement.removeChild(this.element),this.outlet!==void 0)for(let s of this.outlet)s.cleanup&&s.cleanup();if(((r=this.props)==null?void 0:r.children)!==void 0)for(let s of this.props.children)s.cleanup&&s.cleanup();if(this.hooks!==void 0)for(let s of this.hooks)s.cleanup&&s.cleanup()}catch(o){throw o}}updateElementProps(t,n=!1){var r,o,s,c,a,l,f;this.entity==="input"?(t!=null&&t.type||(t.type="text"),t.type!==this.element.type&&(this.element.type=t.type),(t==null?void 0:t.value)!==void 0&&(t==null?void 0:t.value)!==this.element.value&&(t.value===void 0&&(t.value=""),this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength))):this.entity==="textarea"?(t==null?void 0:t.value)!==this.element.value&&(this.element.value=String(t.value).slice(0,t==null?void 0:t.maxLength)):this.entity==="select"&&(t==null?void 0:t.value)!==this.element.value&&v.setTimeout(()=>this.element.value=String(t.value),0);for(let u in this.props){let p=u.toLowerCase();t.hasOwnProperty(u)||(Wt.has(p)?this.event_detachers[p]():this.element.setAttribute(u,void 0))}for(let u in t){let p=u.toLowerCase();if(!Br.has(p)&&(t===this.props||!v.defaultIsEqual(t[u],this.props[u])||n))if(Wt.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(Vt.hasOwnProperty(p)){let m=Vt[p];(c=this.event_detachers)!=null||(this.event_detachers={}),(l=(a=this.event_detachers)[p])==null||l.call(a),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)Xr.has(m)&&isFinite(t.style[m])&&(t.style[m]+="px");Object.assign(this.element.style,t.style)}else Yr.has(u)?this.element[u]=Ft(t[u]):u==="autoFocus"?this.element.autofocus=Ft(t[u]):u==="htmlFor"?this.element.setAttribute("for",t[u]):(p!=="value"||["input","textarea","select"].indexOf(this.entity)===-1)&&this.element.setAttribute(p,t[u])}t!=null&&t.action?this.element.onsubmit=t.action:this.element.onsubmit=void 0,this.updateElementClass(t)}updateElementClass(t=this.props){var r,o;let n=t==null?void 0:t.className;if(n!=null||(n=t!=null&&t.class?t.class:""),(r=this==null?void 0:this.parent)!=null&&r[de]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[de])),n.length>0){n=n.split(/\s+/g);for(let s of Array.from(this.element.classList))n.indexOf(s)===-1&&this.element.classList.remove(s);for(let s of n)s.length>0&&this.element.classList.add(s)}else delete this.element.className}scanZombies(t,n){let r=t.element.childNodes;for(;r[t.insert_index]&&r[t.insert_index][hn]&&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)}},Fr=(e,t)=>{var o,s,c,a;let n=[e];for(;e&&!((o=e.component)!=null&&o.componentDidCatch);)e=e.parent,e&&n.push(e);(s=e==null?void 0:e.component)!=null&&s.componentDidCatch&&(c=e.entity)!=null&&c.getDerivedStateFromError&&e.component.setState(e.entity.getDerivedStateFromError.call(e,t));let r=Array.prototype.map.call(n,l=>`in ${typeof l.component.displayName=="function"?l.component.displayName():l.component.displayName}`).join(`
|
|
58
|
-
`);if(t.componentStack=n,t.componentStackLog=r,(a=e==null?void 0:e.component)!=null&&a.componentDidCatch)e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r});else throw t};function hi(e,t){let n=e;if(e[F]===void 0){let r=e.entity,o=!1;if(typeof r=="object")if(r[Ce])o=r[Ce],r=r.component;else throw new Error("Invalid component.");if(typeof r=="string")n=new vt(r,e.props);else{if(Ut(r)){r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new r(e.props);let s=Object.getOwnPropertyDescriptor(n,"state");s&&typeof s.get!="function"&&typeof s.set!="function"&&(n[w].state=n.state,Object.defineProperty(n,"state",{get(){return this[w].state},set(c){if(this[w].state===void 0)this[w].state=c;else throw new Error("Assigning component state this way is not allowed.")}}))}else if(typeof r=="function")r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new Re(e.props),n.render=r.bind(n),n[w].hooks=[],n[w].hook_index=0;else throw new Error("Error in constructing component.");n[w].entity=r,e.container&&(n[w].container=e.container)}o&&(n[w][Ce]=!0)}return t instanceof Et&&(n[w].parent=t),n}function di(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new bn(e)),t=e.cache.pick(t[F]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[F]!==void 0||t instanceof Et?t:hi(t,e)[w]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function mi(){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();Kr()}function Kr(){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 yi=(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[F]!==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},Re=class{get state(){return this[w].state}set state(t){if(this[w].state===void 0)this[w].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[w].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[w].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[w].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[w].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[w].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[w].entity)!=null&&t.displayName?(n=this[w].entity)==null?void 0:n.displayName:typeof this[w].entity=="string"?this[w].entity:(Ut(this[w].entity)&&this[w].entity.constructor.name,typeof this[w].entity=="function"?this[w].entity.name:"Component")}constructor(t){this[w]=new Et(this,t)}forceUpdate(t){v.clearTimeout(v.update_timeout),v.update_set.add(this[w].container||this[w]),t&&v.update_cbs.add(t.bind(this)),v.update_timeout=v.setTimeout(mi,v.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[w].last_snapshot=this.getSnapshotBeforeUpdate(this[w].props,this.state)),this[w].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},vt=class extends Re{constructor(t,n){super(n),this[w].entity=t,t==="svg"&&(this[w].is_svg=!0)}render(){return this[w].props.children}},Kt=class extends vt{constructor(n,r){super(":root:",r);z(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[w].element=n;for(let o of r.children)o[w]?o[w].container=this[w]:o.container=this[w]}};function wn(e,t={},...n){if(typeof e!="string"&&typeof e!="function"&&(typeof e!="object"||!e[Ce]))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]={[F]:o}:n[r]=o}return t.key=yi(e,t),t.children=n,{entity:e,props:t,[w]:null}}function Wr(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[w]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function gi(e,t){return wn(v.Portal,{view:t},e)}function Vr(e,t,...n){let r={entity:e.entity,props:{...e.props,...t},[w]:null};return n!=null&&n.length&&(r.props.children=n),r}var bi=Vr;function wi(e,t){if(e[w]&&(e[w].container||e[w].parent))throw new Error("Component is already in use");return Wr(t).render(e)}function xi(e){return typeof e=="object"?e[Ce]=!0:e={component:e,[Ce]:!0,[w]:null},e}var _i=wn,Ei=[],vi=new Set,Ti=new Set,ki=new Set,Si=new Set,Ci=new Set,Oi=new Set,$i,Ai,Ii=0,Br=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Wt=new Set(["onafterprint","onbeforeprint","onbeforeunload","onerror","onhashchange","onload","onmessage","onoffline","ononline","onpagehide","onpageshow","onpopstate","onresize","onstorage","onunload","onblur","onchange","oncontextmenu","onfocus","oninput","oninvalid","onreset","onsearch","onselect","onsubmit","onkeydown","onkeypress","onkeyup","onclick","ondblclick","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onwheel","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","onscroll","oncopy","oncut","onpaste","onabort","oncanplay","oncanplaythrough","oncuechange","ondurationchange","onemptied","onended","onerror","onloadeddata","onloadedmetadata","onloadstart","onpause","onplay","onplaying","onprogress","onratechange","onseeked","onseeking","onstalled","onsuspend","ontimeupdate","onvolumechange","onwaiting","ontoggle","onpointerdown","onpointerup","onpointermove","onpointercancel","onpointerover","onpointerout","onpointerenter","onpointerleave"]),Vt={};for(let e of Wt)Vt[e+"capture"]=e;var Xr=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"]),Yr=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var En={};Z(En,{createContext:()=>rt,startTransition:()=>Ui,useActionState:()=>Ni,useCallback:()=>ye,useContext:()=>ot,useDebugValue:()=>Mi,useDeferredValue:()=>Di,useEffect:()=>ee,useHook:()=>ce,useId:()=>Ri,useImperativeHandle:()=>_n,useInsertionEffect:()=>Pi,useLayoutEffect:()=>Le,useLocalStorage:()=>Li,useMemo:()=>Tt,useReducer:()=>ji,useRef:()=>L,useState:()=>Q,useTransition:()=>Gr});function ce(){let e=v.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function Q(e){let t=ce();return K(t)&&(typeof e=="function"?t.value=e():t.value=e,t.set_func=function(n,r,o){typeof o=="function"?r.value=o(r.value):r.value=o,n.component.forceUpdate()}.bind(void 0,v.current_component[0],t)),[t.value,t.set_func]}function ye(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Callback dependencies must be an array or omitted.");let n=ce();return!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function rt(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function ot(e){var n;let t=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 Ri(e="N"){let t=ce();return K(t)&&(t.id=e+v.id_num++),t.id}function Gr(){let e=ce();return K(e)&&(e.count=0,e.func=(async function(t,n,r){n.count===0&&t.component.forceUpdate(),n.count++,await r(),n.count--,n.count===0&&t.component.forceUpdate()}).bind(void 0,v.current_component[0],e)),[e.count!=0,e.func]}function Li(e,t){let n=ce(),r;try{r=JSON.parse(localStorage[e])}catch(o){}return r===void 0&&(typeof t=="function"&&(t=t()),r=t,localStorage[e]=JSON.stringify(r)),K(n)&&(n.value=r,n.set_func=function(o,s,c){typeof c=="function"&&(c=c(s.value)),c!==s.value&&(localStorage[e]=JSON.stringify(c),s.value=c,o.component.forceUpdate())}.bind(void 0,v.current_component[0],n)),[n.value,n.set_func]}function L(e=null){let t=ce();return K(t)&&(t.current=e),t}async function Le(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Layout effect dependencies must be an array, object or omitted.");let n=ce();!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&await n.cleanup(),n.deps=t,v.layout_effects.add(async()=>{n.cleanup=await e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}async 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=ce();!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&await n.cleanup(),n.deps=t,v.passive_effects.add(async()=>{n.cleanup=await e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}async function Pi(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Insertion effect dependencies must be an array, object, or omitted.");let n=ce();!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&await n.cleanup(),n.deps=t,v.insertion_effects.add(async()=>{n.cleanup=await e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function Tt(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Memo dependencies must be an array or omitted.");let n=ce();return!K(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n.deps=t,n.value=e()),n.value}function Ni(e,t){let n=ce(),[r,o]=Gr();return K(n)&&(n.state=t,n.form_action=s=>(event.preventDefault(),o(async()=>{let c=new FormData(s.target,s.submitter);n.state=await e(n.state,c)},[]),!1)),[n.state,n.form_action,r]}function ji(e,t,n){let r=ce();return K(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(o,s,c){let a=s.reducer(s.state,c);v.defaultIsEqual(a,s.state)||(s.state=a,o.component.forceUpdate())}.bind(void 0,v.current_component[0],r)),[r.state,r.dispatch]}function Di(e,t){let{useEffect:n,useRef:r,useState:o}=v,[s,c]=o(typeof t!="undefined"?t:e),a=r(e),l=r(null);return n(()=>{if(a.current===e)return;a.current=e,l.current!=null&&(l.current.cancelled=!0,l.current=null);let f={cancelled:!1};return l.current=f,Promise.resolve().then(()=>{f.cancelled||(c(e),l.current=null)}),()=>{l.current&&(l.current.cancelled=!0,l.current=null)}},[e]),s}function _n(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&se(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}function Mi(e,t=n=>n){console.log(t(e))}function Ui(e){e()}var vn={};Z(vn,{lazy:()=>Fi,require:()=>Hr,required_scripts:()=>ge,run:()=>it,runScripts:()=>Wi});function qi(e,t){let n=t.startsWith("/"),r=[],o=(n?"":e).split("/").filter(Boolean);for(let c of o)r.push(c);e.endsWith("/")||r.pop();let s=t.split("/");for(let c of s)c===""||c==="."||(c===".."?r.length>0&&r.pop():r.push(c));return(n?"/":"")+r.join("/")}var ge={};function it(jsx,path=`InlineJSX-${++v.eval_num}`,{isInline,isModule}={isInline:!0,isModule:!0}){let mappings=[],module={mappings,isInline,path,code:jsx,exports:{}},processed;ge[path]=module;try{processed=v.transpileJSX(jsx,{path,mappings,factory:"createComponent",appendSourcemap:!1,injectTraceLabels:!0,produceCJS:!0,blocks_info:v.blocks_info})}catch(e){throw v.error=e,e}ge[path].processed=processed,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 K(module.exports)?res:module.exports}catch(e){throw e=v.traceError(e),e}}function Hr(e){var s,c,a,l,f,u,p,m,h,y;let t,n,r,o;if(arguments.length===2&&typeof(arguments[1]==="object")&&(t=(s=arguments[1])==null?void 0:s.forceUpdate,n=(c=arguments[1])==null?void 0:c.checkExport,r=(a=arguments[1])==null?void 0:a.requirer,o=(l=arguments[1])==null?void 0:l.isLazy),(f=v.importObjectPaths)!=null&&f[e])return v.importObjectPaths[e];if(ge[e]&&!t)return ge[e].exports;if(e[0]==="#"){let d=document.getElementById(e);if(d)return it(d.innerText,e);throw new Error(`Required element not found (${e})`)}else if(r&&r.path&&(e=qi(r.path,e)),(u=v)!=null&&u[gt]||o){v[gt]=!1;let d=(m=(p=v).resolver)==null?void 0:m.call(p,e);return d?d=Promise.resolve(d):d=fetch(e).then(g=>{if(!g.ok)throw new Error(`HTTP ${g.status}`);return g.text()}),d.then(g=>{var E;if(e.endsWith(".css")){mt(g);return}return g=it(g,e,{isInline:!1}),(E=g==null?void 0:g.default)!=null?E:g}).catch(g=>{throw g})}else{let d=(y=(h=v).resolver)==null?void 0:y.call(h,e);if(d){if(e.endsWith(".css")){mt(d);return}return it(d,e,{isInline:!1})}else{let g=new XMLHttpRequest;if(g.open("GET",e,!1),g.send(null),g.status===200){if(e.endsWith(".css")){mt(res);return}return it(g.responseText,e,{isInline:!1})}}}throw new Error(`Required resource not found (${e})`)}function Fi(e){let t="pending",n;v[gt]=!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 Ki(){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=Ki();for(let t of e)t.src&&Hr(t.src),t.content&&it(t.content)}var $n={};Z($n,{CSSTransition:()=>Zr,SwitchTransition:()=>ns,Transition:()=>Jr,TransitionGroup:()=>rs});var Sn={};Z(Sn,{animationFramePromise:()=>ts,clearInterval:()=>Zi,clearTimeout:()=>fe,grabTimers:()=>zi,pauseTimers:()=>Gi,releaseTimers:()=>Qi,resetTimers:()=>Yi,resumeTimers:()=>Hi,setInterval:()=>Ji,setTimeout:()=>je,timeoutPromise:()=>es});var st,kt=-1,te=[],Pe=-1,Ne={},Bt=window.setTimeout,Vi=window.setInterval,St=window.clearTimeout,Bi=window.clearInterval;function Xi(e){let t=0,n=te.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=te[o][le];if(s===e)return[o,te[o]];s<e?t=o+1:n=o-1}let r=[];return r[le]=e,te.splice(t,0,r),[t,r]}function Tn(e,t=!1){let[n,r]=Xi(e[le]);return t||(kt++,Ne[kt]=e,e[ue]=kt),r.push(e),te[0][0]===e&&(St(Pe),Pe=Bt(kn,e[et])),kt}function kn(){let e=Date.now(),t=0,n=te[t];for(;n&&n[le]-e<=0;){for(let r of n)r[wt]?delete Ne[r[ue]]:(r[xt](...r[_t]),r[bt]?(r[le]=Date.now()+r[et],Tn(r,!0)):delete Ne[r[ue]]);t++,n=te[t]}te.splice(0,t),te.length>0&&(St(Pe),Pe=Bt(kn,te[0][le]-e))}function Yi(){St(Pe),st=void 0,kt=-1,te=[],Pe=-1,Ne={}}function Gi(){St(Pe),st=Date.now()}function Hi(){if(st){if(te.length>0){let e=Date.now();st-=e;for(let t of te)t[le]-=st;Pe=Bt(kn,te[0][le]-e)}st=void 0}}function je(e,t,...n){return Tn({[xt]:e,[et]:t,[le]:Date.now()+t,[bt]:!1,[_t]:n})}function Ji(e,t,...n){return Tn({[xt]:e,[et]:t,[le]:Date.now()+t,[bt]:!0,[_t]:n})}function fe(e){Ne[e]&&(Ne[e][wt]=!0)}function Zi(e){Ne[e]&&(Ne[e][wt]=!0)}function zi(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function Qi(){globalThis.setTimeout=Bt,globalThis.setInterval=Vi,globalThis.clearTimeout=St,globalThis.clearInterval=Bi}function es(e=0,t=Lilact){let n,r,o,s=new Promise((c,a)=>{r=c,o=a,n=t.setTimeout(()=>{r()},e)});return s.proceed=()=>{t.clearTimeout(n),r()},s.cancel=()=>{t.clearTimeout(n),o()},s}function ts(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var Cn="unmounted",Xt="exited",Ct="entering",Ot="entered",On="exiting";function Jr({in:e,timeout:t=v.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:s,onEntering:c,onEntered:a,onExit:l,onExiting:f,onExited:u,children:p,_classNames:m}){var h,y,d,g,E,_;return(y=(h=this[w]).is_mounted)!=null||(h.is_mounted=!n||e||o),(g=(d=this[w]).is_appeared)!=null||(d.is_appeared=e),(_=(E=this[w]).timer)!=null||(E.timer=null),this[w].childFunctionHandler=x=>x(this[w].mount_state),this[w].mount_state||(this[w].is_mounted||(this[w].mount_state=Cn),e?this[w].mount_state=o&&!this[w].is_appeared?Ct:Ot:this[w].mount_state=Xt),ee(()=>()=>fe(this[w].timer),[]),ee(()=>{!this[w].is_appeared&&o&&this[w].mount_state===Ct&&e&&(s==null||s(),requestAnimationFrame(()=>{c==null||c(!this[w].is_appeared),fe(this[w].timer),this[w].timer=je(()=>{this[w].mount_state=Ot,this.forceUpdate(),this[w].is_appeared=!0,a==null||a(!this[w].is_appeared)},t)}))},[]),ee(()=>{if(e){if(this[w].is_mounted=!0,this[w].mount_state===Ct||this[w].mount_state===Ot)return;s==null||s(!this[w].is_appeared),this[w].mount_state=Ct,this.forceUpdate(()=>{c==null||c(!this[w].is_appeared),fe(this[w].timer),this[w].timer=je(()=>{this[w].mount_state=Ot,this.forceUpdate(),this[w].is_appeared=!0,a==null||a()},t)})}else{if(this[w].mount_state===Cn||this[w].mount_state===On||this[w].mount_state===Xt)return;l==null||l(),this[w].mount_state=On,this.forceUpdate(()=>{f==null||f(),fe(this[w].timer),this[w].timer=je(()=>{this[w].mount_state=Xt,this.forceUpdate(),u==null||u(),r&&(this[w].is_mounted=!1,this[w].mount_state=Cn,this.forceUpdate())},t)})}},[e,t]),this[w].is_mounted?(m&&(this[w].mount_state===Ct?this[w].is_appeared?this[w][de]=m.appearActive:this[w][de]=m.enterActive:this[w].mount_state===Ot?this[w].is_appeared?this[w][de]=m.appearDone:this[w][de]=m.enterDone:this[w].mount_state===On?this[w][de]=m.exitActive:this[w].mount_state===Xt&&(this[w][de]=m.exitDone)),p):null}function Zr({in:e,timeout:t=v.defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:s=!1,children:c,onEnter:a,onEntering:l,onEntered:f,onExit:u,onExiting:p,onExited:m}){return typeof n=="string"&&(n={appear:`${n}-enter ${n}-appear`,appearActive:`${n}-enter-active ${n}-appear-active`,appearDone:`${n}-enter-done ${n}-appear-done`,enter:`${n}-enter`,enterActive:`${n}-enter-active`,enterDone:`${n}-enter-done`,exit:`${n}-exit`,exitActive:`${n}-exit-active`,exitDone:`${n}-exit-done`}),createComponent(Jr,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:a,onEntering:l,onEntered:f,onExit:u,onExiting:p,onExited:m,_classNames:n},c)}function ns({children:e,activeKey:t,mode:n="out-in",timeout:r=v.defaultTransitionTimeout,classNames:o="switch",mountOnEnter:s=!1,unmountOnExit:c=!1,appear:a=!1,onExited:l,onEnter:f,onExiting:u,onEntered:p,...m}){let h=Tt(()=>Ke.toArray(e),[e]),[y,d]=Q(null),[g,E]=Q(!1),[_,x]=Q(!0),A=L(t),S=L(t),T=L(y);Le(()=>{S.current=t},[t]),Le(()=>{T.current=y},[y]),Le(()=>{let C=A.current;C!==t&&(A.current=t,d(C),n==="out-in"?(x(!1),E(!0)):(x(!0),E(!1)))},[t,n]);let k=C=>(ne,re)=>{typeof l=="function"&&l(ne,re),C===T.current&&(d(null),n==="out-in"&&(E(!1),x(!0)),n==="in-out"&&E(!1))},P=C=>(ne,re)=>{typeof p=="function"&&p(ne,re),n==="in-out"&&C===S.current&&T.current!=null&&E(!0)};return createComponent("div",{style:{position:"relative"}},h.map((C,ne)=>{var De;let re=((De=C==null?void 0:C.props)==null?void 0:De.key)||ne,At=re===t?_:re===y?!g:!1;return createComponent(Zr,{...m,key:re,in:At,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:c,appear:a,onEnter:f,onExiting:u,onEntered:P(re),onExited:k(re)},createComponent("div",{style:{position:"absolute",inset:0}},C))}))}function rs({children:e}){return e}var An={};Z(An,{addWrappedEventListener:()=>ss,createSyntheticEvent:()=>zr,releaseSyntheticEvent:()=>Qr,wrapListener:()=>eo});typeof Element!="undefined"&&!Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1});typeof Event!="undefined"&&!Event.prototype.composedPath&&(Event.prototype.composedPath=function(){for(var e=[],t=this.target;t;)e.push(t),t=t.parentElement;return e.push(window),e});var Yt=[],os=10,is=["mouse","pen","touch"];function zr(e,t){var r,o,s,c,a,l,f,u,p,m,h,y,d,g,E,_,x,A,S,T,k,P;let n=Yt.length?Yt.pop():{};n.nativeEvent=e,n.type=e.type,n.target=e.target||e.srcElement||null,n.currentTarget=t||e.currentTarget||null,n.timeStamp=e.timeStamp||Date.now(),n.defaultPrevented=!!e.defaultPrevented,n.isPropagationStopped=!1,n.isPersistent=!1,n.bubbles=!!e.bubbles,n.cancelable=!!e.cancelable,n.composed=!!e.composed,n.detail=e.detail,n.relatedTarget=e.relatedTarget||(e.fromElement?e.fromElement:null)||(e.toElement?e.toElement:null)||null,n.altKey=!!e.altKey,n.ctrlKey=!!e.ctrlKey,n.metaKey=!!e.metaKey,n.shiftKey=!!e.shiftKey,n.isDefaultPrevented=()=>n.defaultPrevented,n.preventDefault=()=>{e.preventDefault&&e.preventDefault(),n.defaultPrevented=!0},n.stopPropagation=()=>{e.stopPropagation&&e.stopPropagation(),n.isPropagationStopped=!0},n.persist=()=>{n.isPersistent=!0},n.key=e.key||null,n.code=e.code||null,n.which=(o=(r=e.which)!=null?r:e.keyCode)!=null?o:null,n.button=(s=e.button)!=null?s:null,n.buttons=(c=e.buttons)!=null?c:null,n.pointerId=(a=e.pointerId)!=null?a:null,n.pointerType=(l=e.pointerType)!=null?l:null,n.isPrimary=(f=e.isPrimary)!=null?f:null,n.clientX=(u=e.clientX)!=null?u:0,n.clientY=(p=e.clientY)!=null?p:0,n.screenX=(m=e.screenX)!=null?m:0,n.screenY=(h=e.screenY)!=null?h:0,n.pageX=(y=e.pageX)!=null?y:null,n.pageY=(d=e.pageY)!=null?d:null,n.movementX=(g=e.movementX)!=null?g:0,n.movementY=(E=e.movementY)!=null?E:0,n.pressure=(_=e.pressure)!=null?_:null,n.tiltX=(x=e.tiltX)!=null?x:null,n.tiltY=(A=e.tiltY)!=null?A:null,n.width=(S=e.width)!=null?S:null,n.height=(T=e.height)!=null?T:null,n.pointerEventsSupported=is.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=(k=e.repeat)!=null?k:!1,n.location=(P=e.location)!=null?P:0,n}function Qr(e){e&&!e.isPersistent&&(e.nativeEvent=null,e.type=null,e.target=null,e.currentTarget=null,e.timeStamp=0,e.defaultPrevented=!1,e.isPropagationStopped=!1,e.isPersistent=!1,e.isDefaultPrevented=null,e.preventDefault=null,e.stopPropagation=null,e.persist=null,e.bubbles=!1,e.cancelable=!1,e.composed=!1,e.detail=void 0,e.relatedTarget=null,e.altKey=!1,e.ctrlKey=!1,e.metaKey=!1,e.shiftKey=!1,e.key=null,e.code=null,e.which=null,e.button=null,e.buttons=null,e.pointerId=null,e.pointerType=null,e.isPrimary=null,e.clientX=0,e.clientY=0,e.screenX=0,e.screenY=0,e.pageX=null,e.pageY=null,e.movementX=0,e.movementY=0,e.pressure=null,e.tiltX=null,e.tiltY=null,e.width=null,e.height=null,e.value=void 0,e.checked=void 0,e.selectionStart=void 0,e.selectionEnd=void 0,e.touches=null,e.targetTouches=null,e.changedTouches=null,e.path=null,e.repeat=!1,e.location=0,Yt.length<os&&Yt.push(e))}function eo(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,c=zr(o,s);try{let a=e(c);n&&a===!0&&c.stopPropagation()}finally{Qr(c)}}}function ss(e,t,n,r={}){let o=eo(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var In={};Z(In,{Provider:()=>cs,combineReducers:()=>ls,connect:()=>us,useDispatch:()=>as,useSelector:()=>to,useStore:()=>Gt});var $t;function cs({store:e,children:t}){return $t!=null||($t=rt(null)),createComponent($t.Provider,{value:e},t)}function Gt(){let e=ot($t);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function as(){return Gt().dispatch}function to(e,t=(n,r)=>n===r){let n=Gt(),r=L(),o=L(e);o.current=e;let[s,c]=Q(()=>e(n.getState()));return r.current=s,ee(()=>{function a(){let f=o.current(n.getState());t(r.current,f)||(r.current=f,c(f))}let l=n.subscribe(a);return a(),l},[n,t]),s}function us(e,t){let n=!!e;return function(o){function s(c){let a=Gt(),l={dispatch:a.dispatch};if(typeof t=="function")l=t(a.dispatch,c);else if(typeof t=="object"&&t!==null){l={};let p=a.dispatch;for(let m in t){let h=t[m];l[m]=(...y)=>p(h(...y))}}let f={};e&&(f=to(m=>e(m,c),se)||{});let u={...c,...f,...l};return createComponent(o,{...u})}return s}}function ls(e){let t=Object.keys(e);for(let n of t)if(typeof e[n]!="function")throw new Error(`combineReducers: reducer for key "${n}" is not a function`);return function(r={},o){let s=!1,c={};for(let a of t){let l=e[a],f=r[a],u=l(f,o);c[a]=u,s=s||u!==f}return s?c:r}}var Rn={};Z(Rn,{blocks_info:()=>ms,error:()=>ys,globalErrorHandler:()=>ds,scanBlockLabels:()=>hs,traceError:()=>oo});function no(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 fs(e,t="eval:/"){let r=(typeof e=="string"?e:String(e||"")).split(/\r?\n/),o=new RegExp(`\\(?((?:${ps(t)})[^\\s):]+):(\\d+):(?:(\\d+))?\\)?$`);for(let s of r){let c=s.trim();if(!c.includes(t))continue;let a=c.match(o);if(!a)continue;let l=a[1],f=Number(a[2]),u=a[3]==null?null:Number(a[3]);if(Number.isFinite(f)&&(u===null||Number.isFinite(u)))return{url:l,line:f,col:u,matched:c}}return{url:null,line:null,col:null,matched:null,stackPreview:r.slice(0,6).join(`
|
|
60
|
-
`)}}function ps(e){return String(e).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ro(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 hs(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 oo(e){var
|
|
57
|
+
var tr=Object.defineProperty;var xo=(e,t,n)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Q=(e,t)=>{for(var n in t)tr(e,n,{get:t[n],enumerable:!0})};var ee=(e,t,n)=>xo(e,typeof t!="symbol"?t+"":t,n);var sn={};Q(sn,{__DO_NOT_USE__ActionTypes:()=>ut,applyMiddleware:()=>Co,bindActionCreators:()=>So,combineReducers:()=>ko,compose:()=>or,createStore:()=>on,isAction:()=>Oo,isPlainObject:()=>rn,legacy_createStore:()=>vo});function q(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var _o=typeof Symbol=="function"&&Symbol.observable||"@@observable",nr=_o,nn=()=>Math.random().toString(36).substring(7).split("").join("."),Eo={INIT:`@@redux/INIT${nn()}`,REPLACE:`@@redux/REPLACE${nn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${nn()}`},ut=Eo;function rn(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 on(e,t,n){if(typeof e!="function")throw new Error(q(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof t=="function"&&typeof n=="undefined"&&(n=t,t=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(q(1));return n(on)(e,t)}let r=e,o=t,s=new Map,c=s,a=0,u=!1;function f(){c===s&&(c=new Map,s.forEach((y,x)=>{c.set(x,y)}))}function l(){if(u)throw new Error(q(3));return o}function p(y){if(typeof y!="function")throw new Error(q(4));if(u)throw new Error(q(5));let x=!0;f();let k=a++;return c.set(k,y),function(){if(x){if(u)throw new Error(q(6));x=!1,f(),c.delete(k),s=null}}}function m(y){if(!rn(y))throw new Error(q(7));if(typeof y.type=="undefined")throw new Error(q(8));if(typeof y.type!="string")throw new Error(q(17));if(u)throw new Error(q(9));try{u=!0,o=r(o,y)}finally{u=!1}return(s=c).forEach(k=>{k()}),y}function d(y){if(typeof y!="function")throw new Error(q(10));r=y,m({type:ut.REPLACE})}function g(){let y=p;return{subscribe(x){if(typeof x!="object"||x===null)throw new Error(q(11));function k(){let E=x;E.next&&E.next(l())}return k(),{unsubscribe:y(k)}},[nr](){return this}}}return m({type:ut.INIT}),{dispatch:m,subscribe:p,getState:l,replaceReducer:d,[nr]:g}}function vo(e,t,n){return on(e,t,n)}function To(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:ut.INIT})=="undefined")throw new Error(q(12));if(typeof n(void 0,{type:ut.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(q(13))})}function ko(e){let t=Object.keys(e),n={};for(let c=0;c<t.length;c++){let a=t[c];typeof e[a]=="function"&&(n[a]=e[a])}let r=Object.keys(n),o,s;try{To(n)}catch(c){s=c}return function(a={},u){if(s)throw s;let f=!1,l={};for(let p=0;p<r.length;p++){let m=r[p],d=n[m],g=a[m],h=d(g,u);if(typeof h=="undefined"){let y=u&&u.type;throw new Error(q(14))}l[m]=h,f=f||h!==g}return f=f||r.length!==Object.keys(a).length,f?l:a}}function rr(e,t){return function(...n){return t(e.apply(this,n))}}function So(e,t){if(typeof e=="function")return rr(e,t);if(typeof e!="object"||e===null)throw new Error(q(16));let n={};for(let r in e){let o=e[r];typeof o=="function"&&(n[r]=rr(o,t))}return n}function or(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Co(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(q(15))},c={getState:o.getState,dispatch:(u,...f)=>s(u,...f)},a=e.map(u=>u(c));return s=or(...a)(o.dispatch),{...o,dispatch:s}}}function Oo(e){return rn(e)&&"type"in e&&typeof e.type=="string"}var yt={};Q(yt,{cache:()=>ti,css:()=>pn,cx:()=>Jo,flush:()=>Go,getRegisteredStyles:()=>zo,hydrate:()=>Ho,injectGlobal:()=>mt,keyframes:()=>Qo,merge:()=>Zo,sheet:()=>ei});var $o=!1;function Ao(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 Io(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 ir=(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?!$o: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(Io(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Ao(o);try{s.insertRule(r,s.cssRules.length)}catch(c){}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})();var F="-ms-",lt="-moz-",R="-webkit-",It="comm",Ve="rule",Be="decl";var sr="@import";var Rt="@keyframes";var cr="@layer";var ar=Math.abs,Ue=String.fromCharCode,ur=Object.assign;function lr(e,t){return N(e,0)^45?(((t<<2^N(e,0))<<2^N(e,1))<<2^N(e,2))<<2^N(e,3):0}function Lt(e){return e.trim()}function cn(e,t){return(e=t.exec(e))?e[0]:e}function I(e,t,n){return e.replace(t,n)}function ft(e,t){return e.indexOf(t)}function N(e,t){return e.charCodeAt(t)|0}function Ie(e,t,n){return e.slice(t,n)}function Y(e){return e.length}function Xe(e){return e.length}function Ye(e,t){return t.push(e),e}function an(e,t){return e.map(t).join("")}var Pt=1,Ge=1,fr=0,G=0,j=0,Je="";function pt(e,t,n,r,o,s,c){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:Pt,column:Ge,length:c,return:""}}function Ze(e,t){return ur(pt("",null,null,"",null,null,0),e,{length:-e.length},t)}function pr(){return j}function hr(){return j=G>0?N(Je,--G):0,Ge--,j===10&&(Ge=1,Pt--),j}function H(){return j=G<fr?N(Je,G++):0,Ge++,j===10&&(Ge=1,Pt++),j}function ae(){return N(Je,G)}function ht(){return G}function ze(e,t){return Ie(Je,e,t)}function He(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 Nt(e){return Pt=Ge=1,fr=Y(Je=e),G=0,[]}function jt(e){return Je="",e}function Qe(e){return Lt(ze(G-1,un(e===91?e+2:e===40?e+1:e)))}function dr(e){for(;(j=ae())&&j<33;)H();return He(e)>2||He(j)>3?"":" "}function mr(e,t){for(;--t&&H()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return ze(e,ht()+(t<6&&ae()==32&&H()==32))}function un(e){for(;H();)switch(j){case e:return G;case 34:case 39:e!==34&&e!==39&&un(j);break;case 40:e===41&&un(e);break;case 92:H();break}return G}function yr(e,t){for(;H()&&e+j!==57;)if(e+j===84&&ae()===47)break;return"/*"+ze(t,G-1)+"*"+Ue(e===47?e:H())}function gr(e){for(;!He(ae());)H();return ze(e,G)}function xr(e){return jt(Dt("",null,null,null,[""],e=Nt(e),0,[0],e))}function Dt(e,t,n,r,o,s,c,a,u){for(var f=0,l=0,p=c,m=0,d=0,g=0,h=1,y=1,x=1,k=0,_="",E=o,O=s,S=r,T=_;y;)switch(g=k,k=H()){case 40:if(g!=108&&N(T,p-1)==58){ft(T+=I(Qe(k),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:T+=Qe(k);break;case 9:case 10:case 13:case 32:T+=dr(g);break;case 92:T+=mr(ht()-1,7);continue;case 47:switch(ae()){case 42:case 47:Ye(Ro(yr(H(),ht()),t,n),u);break;default:T+="/"}break;case 123*h:a[f++]=Y(T)*x;case 125*h:case 59:case 0:switch(k){case 0:case 125:y=0;case 59+l:x==-1&&(T=I(T,/\f/g,"")),d>0&&Y(T)-p&&Ye(d>32?wr(T+";",r,n,p-1):wr(I(T," ","")+";",r,n,p-2),u);break;case 59:T+=";";default:if(Ye(S=br(T,t,n,f,l,o,a,_,E=[],O=[],p),s),k===123)if(l===0)Dt(T,t,S,S,E,s,p,a,O);else switch(m===99&&N(T,3)===110?100:m){case 100:case 108:case 109:case 115:Dt(e,S,S,r&&Ye(br(e,S,S,0,0,o,a,_,o,E=[],p),O),o,O,p,a,r?E:O);break;default:Dt(T,S,S,S,[""],O,0,a,O)}}f=l=d=0,h=x=1,_=T="",p=c;break;case 58:p=1+Y(T),d=g;default:if(h<1){if(k==123)--h;else if(k==125&&h++==0&&hr()==125)continue}switch(T+=Ue(k),k*h){case 38:x=l>0?1:(T+="\f",-1);break;case 44:a[f++]=(Y(T)-1)*x,x=1;break;case 64:ae()===45&&(T+=Qe(H())),m=ae(),l=p=Y(_=T+=gr(ht())),k++;break;case 45:g===45&&Y(T)==2&&(h=0)}}return s}function br(e,t,n,r,o,s,c,a,u,f,l){for(var p=o-1,m=o===0?s:[""],d=Xe(m),g=0,h=0,y=0;g<r;++g)for(var x=0,k=Ie(e,p+1,p=ar(h=c[g])),_=e;x<d;++x)(_=Lt(h>0?m[x]+" "+k:I(k,/&\f/g,m[x])))&&(u[y++]=_);return pt(e,t,n,o===0?Ve:a,u,f,l)}function Ro(e,t,n){return pt(e,t,n,It,Ue(pr()),Ie(e,2,-2),0)}function wr(e,t,n,r){return pt(e,t,n,Be,Ie(e,0,r),Ie(e,r+1,-1),r)}function qe(e,t){for(var n="",r=Xe(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function _r(e,t,n,r){switch(e.type){case cr:if(e.children.length)break;case sr:case Be:return e.return=e.return||e.value;case It:return"";case Rt:return e.return=e.value+"{"+qe(e.children,r)+"}";case Ve:e.value=e.props.join(",")}return Y(n=qe(e.children,r))?e.return=e.value+"{"+n+"}":""}function Er(e){var t=Xe(e);return function(n,r,o,s){for(var c="",a=0;a<t;a++)c+=e[a](n,r,o,s)||"";return c}}function vr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tr(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Lo=function(t,n,r){for(var o=0,s=0;o=s,s=ae(),o===38&&s===12&&(n[r]=1),!He(s);)H();return ze(t,G)},Po=function(t,n){var r=-1,o=44;do switch(He(o)){case 0:o===38&&ae()===12&&(n[r]=1),t[r]+=Lo(G-1,n,r);break;case 2:t[r]+=Qe(o);break;case 4:if(o===44){t[++r]=ae()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Ue(o)}while(o=H());return t},No=function(t,n){return jt(Po(Nt(t),n))},kr=new WeakMap,jo=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&&!kr.get(r))&&!o){kr.set(t,!0);for(var s=[],c=No(n,s),a=r.props,u=0,f=0;u<c.length;u++)for(var l=0;l<a.length;l++,f++)t.props[f]=s[u]?c[u].replace(/&\f/g,a[l]):a[l]+" "+c[u]}}},Do=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Sr(e,t){switch(lr(e,t)){case 5103:return R+"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 R+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return R+e+lt+e+F+e+e;case 6828:case 4268:return R+e+F+e+e;case 6165:return R+e+F+"flex-"+e+e;case 5187:return R+e+I(e,/(\w+).+(:[^]+)/,R+"box-$1$2"+F+"flex-$1$2")+e;case 5443:return R+e+F+"flex-item-"+I(e,/flex-|-self/,"")+e;case 4675:return R+e+F+"flex-line-pack"+I(e,/align-content|flex-|-self/,"")+e;case 5548:return R+e+F+I(e,"shrink","negative")+e;case 5292:return R+e+F+I(e,"basis","preferred-size")+e;case 6060:return R+"box-"+I(e,"-grow","")+R+e+F+I(e,"grow","positive")+e;case 4554:return R+I(e,/([^-])(transform)/g,"$1"+R+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+F+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+e+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,R+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Y(e)-1-t>6)switch(N(e,t+1)){case 109:if(N(e,t+4)!==45)break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+lt+(N(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ft(e,"stretch")?Sr(I(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(N(e,t+1)!==115)break;case 6444:switch(N(e,Y(e)-3-(~ft(e,"!important")&&10))){case 107:return I(e,":",":"+R)+e;case 101:return I(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+R+(N(e,14)===45?"inline-":"")+"box$3$1"+R+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(N(e,t+11)){case 114:return R+e+F+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return R+e+F+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return R+e+F+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return R+e+F+e+e}return e}var Mo=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Be:t.return=Sr(t.value,t.length);break;case Rt:return qe([Ze(t,{value:I(t.value,"@","@"+R)})],o);case Ve:if(t.length)return an(t.props,function(s){switch(cn(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qe([Ze(t,{props:[I(s,/:(read-\w+)/,":"+lt+"$1")]})],o);case"::placeholder":return qe([Ze(t,{props:[I(s,/:(plac\w+)/,":"+R+"input-$1")]}),Ze(t,{props:[I(s,/:(plac\w+)/,":"+lt+"$1")]}),Ze(t,{props:[I(s,/:(plac\w+)/,F+"input-$1")]})],o)}return""})}},Uo=[Mo],Cr=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(h){var y=h.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||Uo,s={},c,a=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var y=h.getAttribute("data-emotion").split(" "),x=1;x<y.length;x++)s[y[x]]=!0;a.push(h)});var u,f=[jo,Do];{var l,p=[_r,vr(function(h){l.insert(h)})],m=Er(f.concat(o,p)),d=function(y){return qe(xr(y),m)};u=function(y,x,k,_){l=k,d(y?y+"{"+x.styles+"}":x.styles),_&&(g.inserted[x.name]=!0)}}var g={key:n,sheet:new ir({key:n,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return g.sheet.hydrate(a),g};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 $r={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 qo=!1,Fo=/[A-Z]|^ms/g,Ko=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Lr=function(t){return t.charCodeAt(1)===45},Ar=function(t){return t!=null&&typeof t!="boolean"},ln=Tr(function(e){return Lr(e)?e:e.replace(Fo,"-$&").toLowerCase()}),Ir=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Ko,function(r,o,s){return Ee={name:o,styles:s,next:Ee},o})}return $r[t]!==1&&!Lr(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 dt(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Ee={name:o.name,styles:o.styles,next:Ee},o.name;var s=n;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)Ee={name:c.name,styles:c.styles,next:Ee},c=c.next;var a=s.styles+";";return a}return Vo(e,t,n)}case"function":{if(e!==void 0){var u=Ee,f=n(e);return Ee=u,dt(e,t,f)}break}}var l=n;if(t==null)return l;var p=t[l];return p!==void 0?p:l}function Vo(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=dt(e,t,n[o])+";";else for(var s in n){var c=n[s];if(typeof c!="object"){var a=c;t!=null&&t[a]!==void 0?r+=s+"{"+t[a]+"}":Ar(a)&&(r+=ln(s)+":"+Ir(s,a)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&qo)throw new Error(Wo);if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var u=0;u<c.length;u++)Ar(c[u])&&(r+=ln(s)+":"+Ir(s,c[u])+";");else{var f=dt(e,t,c);switch(s){case"animation":case"animationName":{r+=ln(s)+":"+f+";";break}default:r+=s+"{"+f+"}"}}}}return r}var Rr=/label:\s*([^\s;{]+)\s*(;|$)/g,Ee;function Mt(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Ee=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=dt(n,t,s);else{var c=s;o+=c[0]}for(var a=1;a<e.length;a++)if(o+=dt(n,t,e[a]),r){var u=s;o+=u[a]}Rr.lastIndex=0;for(var f="",l;(l=Rr.exec(o))!==null;)f+="-"+l[1];var p=Or(o)+f;return{name:p,styles:o,next:Ee}}var Bo=!0;function fn(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var Xo=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Bo===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},Pr=function(t,n,r){Xo(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 Nr(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function jr(e,t,n){var r=[],o=fn(e,r,n);return r.length<2?n:o+t(r)}var Dr=function(t){var n=Cr(t);n.sheet.speedy=function(a){this.isSpeedy=a},n.compat=!0;var r=function(){for(var u=arguments.length,f=new Array(u),l=0;l<u;l++)f[l]=arguments[l];var p=Mt(f,n.registered,void 0);return Pr(n,p,!1),n.key+"-"+p.name},o=function(){for(var u=arguments.length,f=new Array(u),l=0;l<u;l++)f[l]=arguments[l];var p=Mt(f,n.registered),m="animation-"+p.name;return Nr(n,{name:p.name,styles:"@keyframes "+m+"{"+p.styles+"}"}),m},s=function(){for(var u=arguments.length,f=new Array(u),l=0;l<u;l++)f[l]=arguments[l];var p=Mt(f,n.registered);Nr(n,p)},c=function(){for(var u=arguments.length,f=new Array(u),l=0;l<u;l++)f[l]=arguments[l];return jr(n.registered,r,Yo(f))};return{css:r,cx:c,injectGlobal:s,keyframes:o,hydrate:function(u){u.forEach(function(f){n.inserted[f]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:fn.bind(null,n.registered),merge:jr.bind(null,n.registered,r)}},Yo=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var c in o)o[c]&&c&&(s&&(s+=" "),s+=c)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n};var ve=Dr({key:"css"}),Go=ve.flush,Ho=ve.hydrate,Jo=ve.cx,Zo=ve.merge,zo=ve.getRegisteredStyles,mt=ve.injectGlobal,Qo=ve.keyframes,pn=ve.css,ei=ve.sheet,ti=ve.cache;var gn={};Q(gn,{Children:()=>Ke,Fragment:()=>Mr,Portal:()=>Ur,deepEqual:()=>mn,eval_num:()=>ai,findDOMNode:()=>ri,forwardRef:()=>yn,getComponentByPointer:()=>oi,id_num:()=>ci,isAsync:()=>ii,isClass:()=>Ut,isEmpty:()=>W,isError:()=>si,isThenable:()=>qt,isValidComponent:()=>tt,isValidElement:()=>ni,shallowEqual:()=>se,toBool:()=>Ft});var dn={};Q(dn,{ARGS:()=>_t,CALLBACK:()=>xt,CHILD_CLASS_ADDENDUM:()=>de,CLEARED:()=>wt,COMPONENT:()=>Fe,CORE:()=>w,DUE:()=>le,IDX:()=>ue,INTERVAL:()=>et,IS_ZOMBIE:()=>hn,LAZY:()=>gt,MEMOIZED:()=>Ce,REPEAT:()=>bt,TEXT:()=>K});var[w,Fe,K,hn,ue,de,Ce,gt,le,bt,wt,et,xt,_t]=[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 Te=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},tt=e=>e[w]!==void 0||e[TEXT]!==void 0,ni=tt,ri=e=>{var t,n;if(!((n=(t=e[w])==null?void 0:t.element)!=null&&n.parentNode))throw new Error("findDOMNode only works on mounted components.");return e[w].element};function Mr({children:e}){return e}Mr.displayName="Fragment";function Ur({children:e,view:t}){return this[w].portal=t,e}Ur.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}},yn=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function oi(){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[Fe]&&o.parentNode;)o=o.parentNode;return e(o[Fe]),!1}return window.addEventListener("click",n,!0),t}function W(e){for(let t in e)return!1;return!0}var se=(e,t,n)=>Te(e)!==Te(t)?!1:Te(e)==="array"?e.length!==t.length?!1:e.every((r,o)=>r===t[o]||o===n):Te(e)==="object"?Object.keys(e).every(r=>e[r]===t[r]||r===n):Te(e)==="date"?e.getTime()===t.getTime():e===t;function mn(e,t){return Te(e)!==Te(t)?!1:Te(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>mn(n,t[r])):Te(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>mn(e[n],t[n])):Te(e)==="date"?e.getTime()===t.getTime():e===t}function Ut(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function ii(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function qt(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function si(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function Ft(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 ci=Math.floor(Math.random()*1e4),ai=0;function J(e){return e==null}function V(e){return e||"<<anonymous>>"}function ui(e){return e&&(e.displayName||e.name)||"Unknown"}function qr(e){return e==null||e===!1||e===!0||typeof e=="string"||typeof e=="number"||tt(e)?!0:Array.isArray(e)?e.every(qr):!1}function li(e){return typeof e=="function"||typeof e=="string"}function me(e){let t=function(r,o,s,c,a,u){let f=r[o];if(J(f)||e(f))return null;let l=e.expectedType||"the correct type",p=f===null?"null":typeof f;return new Error(`Invalid ${c} \`${a}\` of type \`${p}\` supplied to \`${V(s)}\`, expected \`${l}\`.`)};return t.isRequired=function(r,o,s,c,a){let u=r[o];return J(u)?new Error(`The ${c} \`${a}\` is marked as required in \`${V(s)}\`, but its value is \`${u}\`.`):t(r,o,s,c,a)},t}function fi(){let e={};e.any=(function(){let r=function(s,c,a,u,f){return null};return r.isRequired=function(){return null},r})(),e.array=me(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=me(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=me(r=>typeof r=="function"),e.func.expectedType="function",e.number=me(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=me(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=me(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=me(r=>typeof r=="symbol"),e.symbol.expectedType="symbol",e.component=me(r=>tt(r)),e.component.expectedType="component",e.element=me(r=>tt(r)),e.element.expectedType="element",e.node=me(r=>qr(r)),e.node.expectedType="node",e.elementType=me(r=>li(r)),e.elementType.expectedType="elementType",e.oneOf=function(o){let s=Array.isArray(o)?o:[],c=function(u,f,l,p,m){let d=u[f];if(J(d))return null;for(let h=0;h<s.length;h++)if(d===s[h])return null;let g=d===null?"null":typeof d;return new Error(`Invalid ${p} \`${m}\` of value \`${String(d)}\` supplied to \`${V(l)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${g}\`).`)};return c.isRequired=function(u,f,l,p,m){return J(u[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${V(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,m)},c},e.oneOfType=function(o){let s=o||[],c=function(u,f,l,p,m){let d=u[f];if(J(d))return null;for(let g=0;g<s.length;g++)if(s[g](u,f,l,p,m)===null)return null;return new Error(`Invalid ${p} \`${m}\` supplied to \`${V(l)}\` (none of the allowed types matched).`)};return c.isRequired=function(u,f,l,p,m){return J(u[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${V(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,m)},c},e.arrayOf=function(o){let s=o,c=function(u,f,l,p,m){let d=u[f];if(J(d))return null;if(!Array.isArray(d))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof d}\` supplied to \`${V(l)}\`, expected an array.`);for(let g=0;g<d.length;g++){let h=`${m}[${g}]`,y=s({[f]:d[g]},f,l,p,h);if(y!==null)return y}return null};return c.isRequired=function(u,f,l,p,m){return J(u[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${V(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,m)},c},e.objectOf=function(o){let s=o,c=function(u,f,l,p,m){let d=u[f];if(J(d))return null;if(typeof d!="object"||d===null||Array.isArray(d))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof d}\` supplied to \`${V(l)}\`, expected an object.`);let g=Object.keys(d);for(let h=0;h<g.length;h++){let y=g[h],x=`${m}.${y}`,k=s({[f]:d[y]},f,l,p,x);if(k!==null)return k}return null};return c.isRequired=function(u,f,l,p,m){return J(u[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${V(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,m)},c};function t(r,{exact:o}){let s=r?Object.keys(r):[],c=function(u,f,l,p,m){let d=u[f];if(J(d))return null;if(typeof d!="object"||d===null||Array.isArray(d))return new Error(`Invalid ${p} \`${m}\` of type \`${typeof d}\` supplied to \`${V(l)}\`, expected an object.`);if(o){let h=Object.keys(d);for(let y=0;y<h.length;y++){let x=h[y];if(!Object.prototype.hasOwnProperty.call(r,x)){let k=`${m}.${x}`;return new Error(`Invalid ${p} \`${k}\` supplied to \`${V(l)}\`: extra key \`${x}\` is not allowed by exact().`)}}}for(let h=0;h<s.length;h++){let y=s[h],x=r[y],k=d[y],_=`${m}.${y}`;if(J(k)){let O=x({[f]:k},f,l,p,_);if(O!==null)return O;continue}let E=x({[f]:k},f,l,p,_);if(E!==null)return E}return null};return c.isRequired=function(u,f,l,p,m){return J(u[f])?new Error(`The ${p} \`${m}\` is marked as required in \`${V(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,m)},c}e.shape=function(o){return t(o,{exact:!1})},e.exact=function(o){return t(o,{exact:!0})},e.instanceOf=function(o){let s=function(a,u,f,l,p){let m=a[u];return J(m)||m instanceof o?null:new Error(`Invalid ${l} \`${p}\` supplied to \`${V(f)}\`: expected instance of \`${ui(o)}\`.`)};return s.isRequired=function(a,u,f,l,p){return J(a[u])?new Error(`The ${l} \`${p}\` is marked as required in \`${V(f)}\`, but its value is \`${a[u]}\`.`):s(a,u,f,l,p)},s};let n=new Set;return e.checkPropTypes=function(o,s,c,a){if(!o)return;let u=o,f=V(a),l=Object.keys(u);for(let p=0;p<l.length;p++){let m=l[p],d=u[m];if(typeof d!="function")continue;let h=d(s||{},m,f,c,m);if(h instanceof Error){let y=`${f}|${c}|${m}|${h.message}`;if(n.has(y))continue;n.add(y),typeof console!="undefined"&&console.error&&console.error(`Warning: Failed prop type: ${h.message}`)}}},e}var nt=fi();var xn={};Q(xn,{Component:()=>Re,HTMLComponent:()=>vt,RootComponent:()=>Kt,boolean_html_attributes_set:()=>Yr,capture_events_set:()=>Vt,cloneComponent:()=>Vr,cloneElement:()=>bi,createComponent:()=>wn,createElement:()=>_i,createPortal:()=>gi,createRoot:()=>Wr,current_component:()=>Ei,effect_timeout:()=>Ai,events_set:()=>Wt,insertion_effects:()=>Ci,layout_effects:()=>Si,length_css_attributes_set:()=>Xr,memo:()=>xi,passive_effects:()=>Oi,processEffects:()=>Kr,render:()=>wi,roots:()=>ki,special_attributes:()=>Br,update_cbs:()=>Ti,update_interval_margin:()=>Ii,update_set:()=>vi,update_timeout:()=>$i});var pi="http://www.w3.org/2000/svg",bn=class{constructor(t){ee(this,"owner");ee(this,"current_map",new Map);ee(this,"new_map",new Map);ee(this,"pick_index",0);this.owner=t}pick(t,n){var s,c;let r,o=this.current_map.get(t);return o&&o.length>o[ue]?(r=o[o[ue]],o[ue]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ue]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[ue]=0),r[w]&&((c=(s=r[w]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[ue]).forEach(n=>{n.cleanup?n.cleanup():n.element&&!n.portal&&n.element.parentElement.removeChild(n.element)})}),this.current_map=this.new_map,this.new_map=new Map}},Et=class{constructor(t,n){ee(this,"component");ee(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var o,s,c,a,u,f,l,p,m,d,g;let r=!0;if(this.outlet&&(this!=null&&this[Ce])&&se(this.props,t,"children")&&se((o=this.props)==null?void 0:o.children,t==null?void 0:t.children)&&(r=!1),r){if((s=this.entity)!=null&&s.propTypes?nt.checkPropTypes(this.entity.propTypes,this.props,"prop",this.entity.name):(c=this.component)!=null&&c.propTypes&&nt.checkPropTypes(this.component.propTypes,this.props,"prop",this.component.name),typeof n=="function"&&(n=n(this.state)),this.component.constructor.defaultProps&&(t={...this.component.constructor.defaultProps,...t}),((u=(a=this==null?void 0:this.parent)==null?void 0:a.component)!=null&&u.context||(l=(f=this==null?void 0:this.parent)==null?void 0:f.component)!=null&&l.getChildContext)&&(this.context={...this.parent.component.context,...(m=(p=this.parent.component).getChildContext)==null?void 0:m.call(p)},this.component.constructor.contextTypes&&nt.checkPropTypes(this.component.constructor.contextTypes,this.context,"context",this.entity.name)),this.component.shouldComponentUpdate&&!this.component.shouldComponentUpdate(n,t,this.context))return;typeof this.entity=="string"&&(this.element instanceof Element||(this.is_svg||this.container.is_svg?(this.is_svg=!0,this.element=document.createElementNS(pi,this.entity)):this.element=document.createElement(this.entity),t!=null&&t.defaultValue&&(this.element.value=String(t.defaultValue).slice(0,t==null?void 0:t.maxLength)),t!=null&&t.defaultChecked&&(this.element.checked=t.defaultChecked)),this.element[Fe]=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 h=this.state,y=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(x){Fr(this,x)}v.current_component=v.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(x){Fr(this,x)}this!=null&&this.portal&&(this.element=this.portal),((g=(d=this.outlet)==null?void 0:d.constructor)==null?void 0:g.name)!=="Array"&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let x=0;x<this.outlet.length;x++){let k=this.outlet[x];if(k==null||typeof k=="boolean")this.outlet.splice(x,1),x--;else if(typeof k=="function"){let _=this.childFunctionHandler(k);this.outlet.splice(x,1,_),x--}else if(k.constructor.name==="Array")this.outlet.splice(x,1,...k),x--;else{let _=di(this,k);this.outlet[x]=_,_[K]===void 0?(_.container=this.element?this:this.container,_.apply(k.props)):_.element?_[K]!==k[K]&&(_.element.textContent=k[K],_[K]=k[K]):(_.element=document.createTextNode(k[K]),_[K]=k[K])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(y,h,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}}async cleanup(){var t,n,r;try{let o=[];if((t=this.props)!=null&&t.ref&&(typeof this.props.ref=="function"?this.props.ref(null):this.props.current=null),this.component.componentWillUnmount&&this.component.componentWillUnmount(),(n=this==null?void 0:this.element)!=null&&n.parentElement&&!this.portal&&this.element.parentElement.removeChild(this.element),this.outlet!==void 0)for(let s of this.outlet)s.cleanup&&s.cleanup();if(((r=this.props)==null?void 0:r.children)!==void 0)for(let s of this.props.children)s.cleanup&&s.cleanup();if(this.hooks!==void 0)for(let s of this.hooks)s.cleanup&&s.cleanup()}catch(o){throw o}}updateElementProps(t,n=!1){var r,o,s,c,a,u,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 l in this.props){let p=l.toLowerCase();t.hasOwnProperty(l)||(Wt.has(p)?this.event_detachers[p]():this.element.setAttribute(l,void 0))}for(let l in t){let p=l.toLowerCase();if(!Br.has(p)&&(t===this.props||!v.defaultIsEqual(t[l],this.props[l])||n))if(Wt.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[l]);else if(Vt.hasOwnProperty(p)){let m=Vt[p];(c=this.event_detachers)!=null||(this.event_detachers={}),(u=(a=this.event_detachers)[p])==null||u.call(a),this.event_detachers[p]=v.addWrappedEventListener(this.element,m.substring(2),t[l],{capture:!0})}else if(l==="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)Xr.has(m)&&isFinite(t.style[m])&&(t.style[m]+="px");Object.assign(this.element.style,t.style)}else Yr.has(l)?this.element[l]=Ft(t[l]):l==="autoFocus"?this.element.autofocus=Ft(t[l]):l==="htmlFor"?this.element.setAttribute("for",t[l]):(p!=="value"||["input","textarea","select"].indexOf(this.entity)===-1)&&this.element.setAttribute(p,t[l])}t!=null&&t.action?this.element.onsubmit=t.action:this.element.onsubmit=void 0,this.updateElementClass(t)}updateElementClass(t=this.props){var r,o;let n=t==null?void 0:t.className;if(n!=null||(n=t!=null&&t.class?t.class:""),(r=this==null?void 0:this.parent)!=null&&r[de]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[de])),n.length>0){n=n.split(/\s+/g);for(let s of Array.from(this.element.classList))n.indexOf(s)===-1&&this.element.classList.remove(s);for(let s of n)s.length>0&&this.element.classList.add(s)}else delete this.element.className}scanZombies(t,n){let r=t.element.childNodes;for(;r[t.insert_index]&&r[t.insert_index][hn]&&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)}},Fr=(e,t)=>{var o,s,c,a;let n=[e];for(;e&&!((o=e.component)!=null&&o.componentDidCatch);)e=e.parent,e&&n.push(e);(s=e==null?void 0:e.component)!=null&&s.componentDidCatch&&(c=e.entity)!=null&&c.getDerivedStateFromError&&e.component.setState(e.entity.getDerivedStateFromError.call(e,t));let r=Array.prototype.map.call(n,u=>`in ${typeof u.component.displayName=="function"?u.component.displayName():u.component.displayName}`).join(`
|
|
58
|
+
`);if(t.componentStack=n,t.componentStackLog=r,(a=e==null?void 0:e.component)!=null&&a.componentDidCatch)e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r});else throw t};function hi(e,t){let n=e;if(e[K]===void 0){let r=e.entity,o=!1;if(typeof r=="object")if(r[Ce])o=r[Ce],r=r.component;else throw new Error("Invalid component.");if(typeof r=="string")n=new vt(r,e.props);else{if(Ut(r)){r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new r(e.props);let s=Object.getOwnPropertyDescriptor(n,"state");s&&typeof s.get!="function"&&typeof s.set!="function"&&(n[w].state=n.state,Object.defineProperty(n,"state",{get(){return this[w].state},set(c){if(this[w].state===void 0)this[w].state=c;else throw new Error("Assigning component state this way is not allowed.")}}))}else if(typeof r=="function")r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new Re(e.props),n.render=r.bind(n),n[w].hooks=[],n[w].hook_index=0;else throw new Error("Error in constructing component.");n[w].entity=r,e.container&&(n[w].container=e.container)}o&&(n[w][Ce]=!0)}return t instanceof Et&&(n[w].parent=t),n}function di(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new bn(e)),t=e.cache.pick(t[K]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[K]!==void 0||t instanceof Et?t:hi(t,e)[w]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function mi(){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();Kr()}function Kr(){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 yi=(e,t)=>{let n;return t.key!==void 0?n=t.key:t.id!==void 0?n=":i:"+t.id:t.path!==void 0?n=":p:"+t.path:t[K]!==void 0?n=":text:":(typeof e=="string"?n=":t:"+e:e!=null&&e.name?n=e.name:n="::",t.name!==void 0?n=n+":"+t.name:t.path!==void 0&&(n=n+":"+t.path)),n},Re=class{get state(){return this[w].state}set state(t){if(this[w].state===void 0)this[w].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[w].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[w].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[w].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[w].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[w].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[w].entity)!=null&&t.displayName?(n=this[w].entity)==null?void 0:n.displayName:typeof this[w].entity=="string"?this[w].entity:(Ut(this[w].entity)&&this[w].entity.constructor.name,typeof this[w].entity=="function"?this[w].entity.name:"Component")}constructor(t){this[w]=new Et(this,t)}forceUpdate(t){v.clearTimeout(v.update_timeout),v.update_set.add(this[w].container||this[w]),t&&v.update_cbs.add(t.bind(this)),v.update_timeout=v.setTimeout(mi,v.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[w].last_snapshot=this.getSnapshotBeforeUpdate(this[w].props,this.state)),this[w].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},vt=class extends Re{constructor(t,n){super(n),this[w].entity=t,t==="svg"&&(this[w].is_svg=!0)}render(){return this[w].props.children}},Kt=class extends vt{constructor(n,r){super(":root:",r);ee(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[w].element=n;for(let o of r.children)o[w]?o[w].container=this[w]:o.container=this[w]}};function wn(e,t={},...n){if(typeof e!="string"&&typeof e!="function"&&(typeof e!="object"||!e[Ce]))throw new Error("Invalid entity for createComponent.");for(let r=0;r<n.length;r++){let o=n[r];if(o==null||typeof o=="boolean"){n.splice(r,1),r--;continue}["number","bigint"].indexOf(typeof o)!==-1&&(o=o.toString()),typeof o=="string"?n[r]={[K]:o}:n[r]=o}return t.key=yi(e,t),t.children=n,{entity:e,props:t,[w]:null}}function Wr(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[w]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function gi(e,t){return wn(v.Portal,{view:t},e)}function Vr(e,t,...n){let r={entity:e.entity,props:{...e.props,...t},[w]:null};return n!=null&&n.length&&(r.props.children=n),r}var bi=Vr;function wi(e,t){if(e[w]&&(e[w].container||e[w].parent))throw new Error("Component is already in use");return Wr(t).render(e)}function xi(e){return typeof e=="object"?e[Ce]=!0:e={component:e,[Ce]:!0,[w]:null},e}var _i=wn,Ei=[],vi=new Set,Ti=new Set,ki=new Set,Si=new Set,Ci=new Set,Oi=new Set,$i,Ai,Ii=0,Br=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Wt=new Set(["onafterprint","onbeforeprint","onbeforeunload","onerror","onhashchange","onload","onmessage","onoffline","ononline","onpagehide","onpageshow","onpopstate","onresize","onstorage","onunload","onblur","onchange","oncontextmenu","onfocus","oninput","oninvalid","onreset","onsearch","onselect","onsubmit","onkeydown","onkeypress","onkeyup","onclick","ondblclick","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onwheel","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","onscroll","oncopy","oncut","onpaste","onabort","oncanplay","oncanplaythrough","oncuechange","ondurationchange","onemptied","onended","onerror","onloadeddata","onloadedmetadata","onloadstart","onpause","onplay","onplaying","onprogress","onratechange","onseeked","onseeking","onstalled","onsuspend","ontimeupdate","onvolumechange","onwaiting","ontoggle","onpointerdown","onpointerup","onpointermove","onpointercancel","onpointerover","onpointerout","onpointerenter","onpointerleave"]),Vt={};for(let e of Wt)Vt[e+"capture"]=e;var Xr=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"]),Yr=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var En={};Q(En,{createContext:()=>rt,startTransition:()=>Ui,useActionState:()=>Ni,useCallback:()=>ye,useContext:()=>ot,useDebugValue:()=>Mi,useDeferredValue:()=>Di,useEffect:()=>ne,useHook:()=>ce,useId:()=>Ri,useImperativeHandle:()=>_n,useInsertionEffect:()=>Pi,useLayoutEffect:()=>Le,useLocalStorage:()=>Li,useMemo:()=>Tt,useReducer:()=>ji,useRef:()=>P,useState:()=>te,useTransition:()=>Gr});function ce(){let e=v.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function te(e){let t=ce();return W(t)&&(typeof e=="function"?t.value=e():t.value=e,t.set_func=function(n,r,o){typeof o=="function"?r.value=o(r.value):r.value=o,n.component.forceUpdate()}.bind(void 0,v.current_component[0],t)),[t.value,t.set_func]}function ye(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Callback dependencies must be an array or omitted.");let n=ce();return!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function rt(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function ot(e){var n;let t=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 Ri(e="N"){let t=ce();return W(t)&&(t.id=e+v.id_num++),t.id}function Gr(){let e=ce();return W(e)&&(e.count=0,e.func=(async function(t,n,r){n.count===0&&t.component.forceUpdate(),n.count++,await r(),n.count--,n.count===0&&t.component.forceUpdate()}).bind(void 0,v.current_component[0],e)),[e.count!=0,e.func]}function Li(e,t){let n=ce(),r;try{r=JSON.parse(localStorage[e])}catch(o){}return r===void 0&&(typeof t=="function"&&(t=t()),r=t,localStorage[e]=JSON.stringify(r)),W(n)&&(n.value=r,n.set_func=function(o,s,c){typeof c=="function"&&(c=c(s.value)),c!==s.value&&(localStorage[e]=JSON.stringify(c),s.value=c,o.component.forceUpdate())}.bind(void 0,v.current_component[0],n)),[n.value,n.set_func]}function P(e=null){let t=ce();return W(t)&&(t.current=e),t}async function Le(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Layout effect dependencies must be an array, object or omitted.");let n=ce();!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&await n.cleanup(),n.deps=t,v.layout_effects.add(async()=>{n.cleanup=await e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}async function ne(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Effect dependencies must be an array, object or omitted.");let n=ce();!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&await n.cleanup(),n.deps=t,v.passive_effects.add(async()=>{n.cleanup=await e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}async function Pi(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Insertion effect dependencies must be an array, object, or omitted.");let n=ce();!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n!=null&&n.cleanup&&await n.cleanup(),n.deps=t,v.insertion_effects.add(async()=>{n.cleanup=await e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function Tt(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Memo dependencies must be an array or omitted.");let n=ce();return!W(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&se(t,n.deps)||(n.deps=t,n.value=e()),n.value}function Ni(e,t){let n=ce(),[r,o]=Gr();return W(n)&&(n.state=t,n.form_action=s=>(event.preventDefault(),o(async()=>{let c=new FormData(s.target,s.submitter);n.state=await e(n.state,c)},[]),!1)),[n.state,n.form_action,r]}function ji(e,t,n){let r=ce();return W(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(o,s,c){let a=s.reducer(s.state,c);v.defaultIsEqual(a,s.state)||(s.state=a,o.component.forceUpdate())}.bind(void 0,v.current_component[0],r)),[r.state,r.dispatch]}function Di(e,t){let{useEffect:n,useRef:r,useState:o}=v,[s,c]=o(typeof t!="undefined"?t:e),a=r(e),u=r(null);return n(()=>{if(a.current===e)return;a.current=e,u.current!=null&&(u.current.cancelled=!0,u.current=null);let f={cancelled:!1};return u.current=f,Promise.resolve().then(()=>{f.cancelled||(c(e),u.current=null)}),()=>{u.current&&(u.current.cancelled=!0,u.current=null)}},[e]),s}function _n(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&se(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}function Mi(e,t=n=>n){console.log(t(e))}function Ui(e){e()}var vn={};Q(vn,{lazy:()=>Fi,require:()=>Hr,required_scripts:()=>ge,run:()=>it,runScripts:()=>Wi});function qi(e,t){let n=t.startsWith("/"),r=[],o=(n?"":e).split("/").filter(Boolean);for(let c of o)r.push(c);e.endsWith("/")||r.pop();let s=t.split("/");for(let c of s)c===""||c==="."||(c===".."?r.length>0&&r.pop():r.push(c));return(n?"/":"")+r.join("/")}var ge={};function it(jsx,path=`InlineJSX-${++v.eval_num}`,{isInline,isModule}={isInline:!0,isModule:!0}){let mappings=[],module={mappings,isInline,path,code:jsx,exports:{}},processed;ge[path]=module;try{processed=v.transpileJSX(jsx,{path,mappings,factory:"createComponent",appendSourcemap:!1,injectTraceLabels:!0,produceCJS:!0,blocks_info:v.blocks_info})}catch(e){throw v.error=e,e}ge[path].processed=processed,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 W(module.exports)?res:module.exports}catch(e){throw e=v.traceError(e,path),e}}function Hr(e){var s,c,a,u,f,l,p,m,d,g;let t,n,r,o;if(arguments.length===2&&typeof(arguments[1]==="object")&&(t=(s=arguments[1])==null?void 0:s.forceUpdate,n=(c=arguments[1])==null?void 0:c.checkExport,r=(a=arguments[1])==null?void 0:a.requirer,o=(u=arguments[1])==null?void 0:u.isLazy),(f=v.importObjectPaths)!=null&&f[e])return v.importObjectPaths[e];if(ge[e]&&!t)return ge[e].exports;if(e[0]==="#"){let h=document.getElementById(e);if(h)return it(h.innerText,e);throw new Error(`Required element not found (${e})`)}else if(r&&r.path&&(e=qi(r.path,e)),(l=v)!=null&&l[gt]||o){v[gt]=!1;let h=(m=(p=v).resolver)==null?void 0:m.call(p,e);return h?h=Promise.resolve(h):h=fetch(e).then(y=>{if(!y.ok)throw new Error(`HTTP ${y.status}`);return y.text()}),h.then(y=>{var x;if(e.endsWith(".css")){mt(y);return}return y=it(y,e,{isInline:!1}),(x=y==null?void 0:y.default)!=null?x:y}).catch(y=>{throw y})}else{let h=(g=(d=v).resolver)==null?void 0:g.call(d,e);if(h){if(e.endsWith(".css")){mt(h);return}return it(h,e,{isInline:!1})}else{let y=new XMLHttpRequest;if(y.open("GET",e,!1),y.send(null),y.status===200){if(e.endsWith(".css")){mt(res);return}return it(y.responseText,e,{isInline:!1})}}}throw new Error(`Required resource not found (${e})`)}function Fi(e){let t="pending",n;v[gt]=!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 Ki(){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=Ki();for(let t of e)t.src&&Hr(t.src),t.content&&it(t.content)}var $n={};Q($n,{CSSTransition:()=>Zr,SwitchTransition:()=>ns,Transition:()=>Jr,TransitionGroup:()=>rs});var Sn={};Q(Sn,{animationFramePromise:()=>ts,clearInterval:()=>Zi,clearTimeout:()=>fe,grabTimers:()=>zi,pauseTimers:()=>Gi,releaseTimers:()=>Qi,resetTimers:()=>Yi,resumeTimers:()=>Hi,setInterval:()=>Ji,setTimeout:()=>je,timeoutPromise:()=>es});var st,kt=-1,re=[],Pe=-1,Ne={},Bt=window.setTimeout,Vi=window.setInterval,St=window.clearTimeout,Bi=window.clearInterval;function Xi(e){let t=0,n=re.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=re[o][le];if(s===e)return[o,re[o]];s<e?t=o+1:n=o-1}let r=[];return r[le]=e,re.splice(t,0,r),[t,r]}function Tn(e,t=!1){let[n,r]=Xi(e[le]);return t||(kt++,Ne[kt]=e,e[ue]=kt),r.push(e),re[0][0]===e&&(St(Pe),Pe=Bt(kn,e[et])),kt}function kn(){let e=Date.now(),t=0,n=re[t];for(;n&&n[le]-e<=0;){for(let r of n)r[wt]?delete Ne[r[ue]]:(r[xt](...r[_t]),r[bt]?(r[le]=Date.now()+r[et],Tn(r,!0)):delete Ne[r[ue]]);t++,n=re[t]}re.splice(0,t),re.length>0&&(St(Pe),Pe=Bt(kn,re[0][le]-e))}function Yi(){St(Pe),st=void 0,kt=-1,re=[],Pe=-1,Ne={}}function Gi(){St(Pe),st=Date.now()}function Hi(){if(st){if(re.length>0){let e=Date.now();st-=e;for(let t of re)t[le]-=st;Pe=Bt(kn,re[0][le]-e)}st=void 0}}function je(e,t,...n){return Tn({[xt]:e,[et]:t,[le]:Date.now()+t,[bt]:!1,[_t]:n})}function Ji(e,t,...n){return Tn({[xt]:e,[et]:t,[le]:Date.now()+t,[bt]:!0,[_t]:n})}function fe(e){Ne[e]&&(Ne[e][wt]=!0)}function Zi(e){Ne[e]&&(Ne[e][wt]=!0)}function zi(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function Qi(){globalThis.setTimeout=Bt,globalThis.setInterval=Vi,globalThis.clearTimeout=St,globalThis.clearInterval=Bi}function es(e=0,t=Lilact){let n,r,o,s=new Promise((c,a)=>{r=c,o=a,n=t.setTimeout(()=>{r()},e)});return s.proceed=()=>{t.clearTimeout(n),r()},s.cancel=()=>{t.clearTimeout(n),o()},s}function ts(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var Cn="unmounted",Xt="exited",Ct="entering",Ot="entered",On="exiting";function Jr({in:e,timeout:t=v.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:s,onEntering:c,onEntered:a,onExit:u,onExiting:f,onExited:l,children:p,_classNames:m}){var d,g,h,y,x,k;return(g=(d=this[w]).is_mounted)!=null||(d.is_mounted=!n||e||o),(y=(h=this[w]).is_appeared)!=null||(h.is_appeared=e),(k=(x=this[w]).timer)!=null||(x.timer=null),this[w].childFunctionHandler=_=>_(this[w].mount_state),this[w].mount_state||(this[w].is_mounted||(this[w].mount_state=Cn),e?this[w].mount_state=o&&!this[w].is_appeared?Ct:Ot:this[w].mount_state=Xt),ne(()=>()=>fe(this[w].timer),[]),ne(()=>{!this[w].is_appeared&&o&&this[w].mount_state===Ct&&e&&(s==null||s(),requestAnimationFrame(()=>{c==null||c(!this[w].is_appeared),fe(this[w].timer),this[w].timer=je(()=>{this[w].mount_state=Ot,this.forceUpdate(),this[w].is_appeared=!0,a==null||a(!this[w].is_appeared)},t)}))},[]),ne(()=>{if(e){if(this[w].is_mounted=!0,this[w].mount_state===Ct||this[w].mount_state===Ot)return;s==null||s(!this[w].is_appeared),this[w].mount_state=Ct,this.forceUpdate(()=>{c==null||c(!this[w].is_appeared),fe(this[w].timer),this[w].timer=je(()=>{this[w].mount_state=Ot,this.forceUpdate(),this[w].is_appeared=!0,a==null||a()},t)})}else{if(this[w].mount_state===Cn||this[w].mount_state===On||this[w].mount_state===Xt)return;u==null||u(),this[w].mount_state=On,this.forceUpdate(()=>{f==null||f(),fe(this[w].timer),this[w].timer=je(()=>{this[w].mount_state=Xt,this.forceUpdate(),l==null||l(),r&&(this[w].is_mounted=!1,this[w].mount_state=Cn,this.forceUpdate())},t)})}},[e,t]),this[w].is_mounted?(m&&(this[w].mount_state===Ct?this[w].is_appeared?this[w][de]=m.appearActive:this[w][de]=m.enterActive:this[w].mount_state===Ot?this[w].is_appeared?this[w][de]=m.appearDone:this[w][de]=m.enterDone:this[w].mount_state===On?this[w][de]=m.exitActive:this[w].mount_state===Xt&&(this[w][de]=m.exitDone)),p):null}function Zr({in:e,timeout:t=v.defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:s=!1,children:c,onEnter:a,onEntering:u,onEntered:f,onExit:l,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(Jr,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:a,onEntering:u,onEntered:f,onExit:l,onExiting:p,onExited:m,_classNames:n},c)}function ns({children:e,activeKey:t,mode:n="out-in",timeout:r=v.defaultTransitionTimeout,classNames:o="switch",mountOnEnter:s=!1,unmountOnExit:c=!1,appear:a=!1,onExited:u,onEnter:f,onExiting:l,onEntered:p,...m}){let d=Tt(()=>Ke.toArray(e),[e]),[g,h]=te(null),[y,x]=te(!1),[k,_]=te(!0),E=P(t),O=P(t),S=P(g);Le(()=>{O.current=t},[t]),Le(()=>{S.current=g},[g]),Le(()=>{let $=E.current;$!==t&&(E.current=t,h($),n==="out-in"?(_(!1),x(!0)):(_(!0),x(!1)))},[t,n]);let T=$=>(B,U)=>{typeof u=="function"&&u(B,U),$===S.current&&(h(null),n==="out-in"&&(x(!1),_(!0)),n==="in-out"&&x(!1))},C=$=>(B,U)=>{typeof p=="function"&&p(B,U),n==="in-out"&&$===O.current&&S.current!=null&&x(!0)};return createComponent("div",{style:{position:"relative"}},d.map(($,B)=>{var De;let U=((De=$==null?void 0:$.props)==null?void 0:De.key)||B,At=U===t?k:U===g?!y:!1;return createComponent(Zr,{...m,key:U,in:At,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:c,appear:a,onEnter:f,onExiting:l,onEntered:C(U),onExited:T(U)},createComponent("div",{style:{position:"absolute",inset:0}},$))}))}function rs({children:e}){return e}var An={};Q(An,{addWrappedEventListener:()=>ss,createSyntheticEvent:()=>zr,releaseSyntheticEvent:()=>Qr,wrapListener:()=>eo});typeof Element!="undefined"&&!Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1});typeof Event!="undefined"&&!Event.prototype.composedPath&&(Event.prototype.composedPath=function(){for(var e=[],t=this.target;t;)e.push(t),t=t.parentElement;return e.push(window),e});var Yt=[],os=10,is=["mouse","pen","touch"];function zr(e,t){var r,o,s,c,a,u,f,l,p,m,d,g,h,y,x,k,_,E,O,S,T,C;let n=Yt.length?Yt.pop():{};n.nativeEvent=e,n.type=e.type,n.target=e.target||e.srcElement||null,n.currentTarget=t||e.currentTarget||null,n.timeStamp=e.timeStamp||Date.now(),n.defaultPrevented=!!e.defaultPrevented,n.isPropagationStopped=!1,n.isPersistent=!1,n.bubbles=!!e.bubbles,n.cancelable=!!e.cancelable,n.composed=!!e.composed,n.detail=e.detail,n.relatedTarget=e.relatedTarget||(e.fromElement?e.fromElement:null)||(e.toElement?e.toElement:null)||null,n.altKey=!!e.altKey,n.ctrlKey=!!e.ctrlKey,n.metaKey=!!e.metaKey,n.shiftKey=!!e.shiftKey,n.isDefaultPrevented=()=>n.defaultPrevented,n.preventDefault=()=>{e.preventDefault&&e.preventDefault(),n.defaultPrevented=!0},n.stopPropagation=()=>{e.stopPropagation&&e.stopPropagation(),n.isPropagationStopped=!0},n.persist=()=>{n.isPersistent=!0},n.key=e.key||null,n.code=e.code||null,n.which=(o=(r=e.which)!=null?r:e.keyCode)!=null?o:null,n.button=(s=e.button)!=null?s:null,n.buttons=(c=e.buttons)!=null?c:null,n.pointerId=(a=e.pointerId)!=null?a:null,n.pointerType=(u=e.pointerType)!=null?u:null,n.isPrimary=(f=e.isPrimary)!=null?f:null,n.clientX=(l=e.clientX)!=null?l:0,n.clientY=(p=e.clientY)!=null?p:0,n.screenX=(m=e.screenX)!=null?m:0,n.screenY=(d=e.screenY)!=null?d:0,n.pageX=(g=e.pageX)!=null?g:null,n.pageY=(h=e.pageY)!=null?h:null,n.movementX=(y=e.movementX)!=null?y:0,n.movementY=(x=e.movementY)!=null?x:0,n.pressure=(k=e.pressure)!=null?k:null,n.tiltX=(_=e.tiltX)!=null?_:null,n.tiltY=(E=e.tiltY)!=null?E:null,n.width=(O=e.width)!=null?O:null,n.height=(S=e.height)!=null?S:null,n.pointerEventsSupported=is.includes(n.pointerType);try{let $=n.target;n.value=$&&"value"in $?$.value:void 0,n.checked=$&&"checked"in $?$.checked:void 0,n.selectionStart=$&&"selectionStart"in $?$.selectionStart:void 0,n.selectionEnd=$&&"selectionEnd"in $?$.selectionEnd:void 0}catch($){n.value=void 0,n.checked=void 0,n.selectionStart=void 0,n.selectionEnd=void 0}return n.touches=e.touches||null,n.targetTouches=e.targetTouches||null,n.changedTouches=e.changedTouches||null,n.path=typeof e.composedPath=="function"?e.composedPath():[n.target],n.repeat=(T=e.repeat)!=null?T:!1,n.location=(C=e.location)!=null?C:0,n}function Qr(e){e&&!e.isPersistent&&(e.nativeEvent=null,e.type=null,e.target=null,e.currentTarget=null,e.timeStamp=0,e.defaultPrevented=!1,e.isPropagationStopped=!1,e.isPersistent=!1,e.isDefaultPrevented=null,e.preventDefault=null,e.stopPropagation=null,e.persist=null,e.bubbles=!1,e.cancelable=!1,e.composed=!1,e.detail=void 0,e.relatedTarget=null,e.altKey=!1,e.ctrlKey=!1,e.metaKey=!1,e.shiftKey=!1,e.key=null,e.code=null,e.which=null,e.button=null,e.buttons=null,e.pointerId=null,e.pointerType=null,e.isPrimary=null,e.clientX=0,e.clientY=0,e.screenX=0,e.screenY=0,e.pageX=null,e.pageY=null,e.movementX=0,e.movementY=0,e.pressure=null,e.tiltX=null,e.tiltY=null,e.width=null,e.height=null,e.value=void 0,e.checked=void 0,e.selectionStart=void 0,e.selectionEnd=void 0,e.touches=null,e.targetTouches=null,e.changedTouches=null,e.path=null,e.repeat=!1,e.location=0,Yt.length<os&&Yt.push(e))}function eo(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,c=zr(o,s);try{let a=e(c);n&&a===!0&&c.stopPropagation()}finally{Qr(c)}}}function ss(e,t,n,r={}){let o=eo(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var In={};Q(In,{Provider:()=>cs,combineReducers:()=>ls,connect:()=>us,useDispatch:()=>as,useSelector:()=>to,useStore:()=>Gt});var $t;function cs({store:e,children:t}){return $t!=null||($t=rt(null)),createComponent($t.Provider,{value:e},t)}function Gt(){let e=ot($t);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function as(){return Gt().dispatch}function to(e,t=(n,r)=>n===r){let n=Gt(),r=P(),o=P(e);o.current=e;let[s,c]=te(()=>e(n.getState()));return r.current=s,ne(()=>{function a(){let f=o.current(n.getState());t(r.current,f)||(r.current=f,c(f))}let u=n.subscribe(a);return a(),u},[n,t]),s}function us(e,t){let n=!!e;return function(o){function s(c){let a=Gt(),u={dispatch:a.dispatch};if(typeof t=="function")u=t(a.dispatch,c);else if(typeof t=="object"&&t!==null){u={};let p=a.dispatch;for(let m in t){let d=t[m];u[m]=(...g)=>p(d(...g))}}let f={};e&&(f=to(m=>e(m,c),se)||{});let l={...c,...f,...u};return createComponent(o,{...l})}return s}}function ls(e){let t=Object.keys(e);for(let n of t)if(typeof e[n]!="function")throw new Error(`combineReducers: reducer for key "${n}" is not a function`);return function(r={},o){let s=!1,c={};for(let a of t){let u=e[a],f=r[a],l=u(f,o);c[a]=l,s=s||l!==f}return s?c:r}}var Rn={};Q(Rn,{blocks_info:()=>ms,error:()=>ys,globalErrorHandler:()=>ds,scanBlockLabels:()=>hs,traceError:()=>oo});function no(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 fs(e,t="eval:/"){let r=(typeof e=="string"?e:String(e||"")).split(/\r?\n/),o=new RegExp(`\\(?((?:${ps(t)})[^\\s):]+):(\\d+):(?:(\\d+))?\\)?$`);for(let s of r){let c=s.trim();if(!c.includes(t))continue;let a=c.match(o);if(!a)continue;let u=a[1],f=Number(a[2]),l=a[3]==null?null:Number(a[3]);if(Number.isFinite(f)&&(l===null||Number.isFinite(l)))return{url:u,line:f,col:l,matched:c}}return{url:null,line:null,col:null,matched:null,stackPreview:r.slice(0,6).join(`
|
|
60
|
+
`)}}function ps(e){return String(e).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ro(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 hs(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 oo(e,t){var o;if(e!=null&&e.is_traced)return e;let n=fs(e.stack),r={fileName:((o=n.url)==null?void 0:o.slice(6))||t||e.fileName,lineNumber:n.line,columnNumber:n.col,message:e.message,name:e.name,stack:e.stack,_error:e,is_traced:!0};if(e.name!=="JSXParseError"){let s;if(n.url){s=ge[r.fileName].mappings;let a=ro(s,r.lineNumber-1,r.columnNumber-1);r.lineNumber=a.line,r.columnNumber=a.col}else{let c=no(e);if(e.lilact_trace!==void 0){let a,u;typeof e.lilact_trace=="object"?u=v.blocks_info.labels[e.lilact_trace[0]]:u=v.blocks_info.labels[e.lilact_trace],u&&(r.fileName=u.path,r.label=u.label,a=ge[u.path].mappings,c=ro(a,c.line-1,c.col-1))}r.lineNumber=c.line,r.columnNumber=c.col}}else{let s=no(e);e.fileName?r.fileName=e.fileName:t&&(r.fileName=t),r.lineNumber=s.line,r.columnNumber=s.col}return v.error=r,r}function ds(e){e.error&&(e=e.error),e=oo(e);let t=pn(`
|
|
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,37 +82,37 @@ var tr=Object.defineProperty;var xo=(e,t,n)=>t in e?tr(e,t,{enumerable:!0,config
|
|
|
82
82
|
${ge[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(ge[e.fileName]){let o=ge[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 ms={counter:0,labels:{}},ys=null;var Mn={};
|
|
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 ms={counter:0,labels:{}},ys=null;var Mn={};Q(Mn,{HashRouter:()=>bs,Link:()=>ws,NavLink:()=>xs,Route:()=>vs,Routes:()=>io,useLocation:()=>jn,useNavigate:()=>Dn});var Pn=rt(null),Ln=rt({params:{}}),Nn=e=>typeof e=="string"?e:(e.pathname||"")+(e.search||"")+(e.hash||""),gs=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function bs({children:e,basename:t=""}){let n=()=>{var g;let a=(window.location.hash||"#/").slice(1),u=new RegExp("^"+gs(t)),f=a.replace(u,"")||"/",[l,p]=f.split("#"),[m,d=""]=l.split("?");return{pathname:m||"/",search:d?"?"+d:"",hash:p?"#"+p:"",state:(g=history.state)==null?void 0:g.__state}},[r,o]=te(n);ne(()=>{let c=()=>o(n());return window.addEventListener("hashchange",c),window.addEventListener("popstate",c),c(),()=>{window.removeEventListener("hashchange",c),window.removeEventListener("popstate",c)}},[t]);let s=ye((c,{replace:a=!1,state:u}={})=>{if(typeof c=="number")return new Promise(p=>{let m=!1,d=y=>{m||(m=!0,window.removeEventListener("popstate",g),window.removeEventListener("hashchange",h),y==null||y(),p())},g=()=>d(()=>o(n())),h=()=>d(()=>o(n()));window.addEventListener("popstate",g,{once:!0}),window.addEventListener("hashchange",h,{once:!0}),setTimeout(()=>d(()=>o(n())),0),history.go(c)});let f=Nn(c),l="#"+(t+f);a?history.replaceState({__state:u},"",l):history.pushState({__state:u},"",l),o(n())},[t]);return createComponent(Pn.Provider,{value:{location:r,navigate:s,basename:t}},e)}function jn(){let e=ot(Pn);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function Dn(){let e=ot(Pn);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function ws({to:e,replace:t=!1,state:n,onClick:r,target:o,download:s,className:c,style:a,children:u,...f}){let l=Dn(),p="#"+Nn(e);function m(d){r&&r(d),!(d.defaultPrevented||d.button!==0||o&&o!=="_self"||d.metaKey||d.altKey||d.ctrlKey||d.shiftKey)&&(d.preventDefault(),l(e,{replace:t,state:n}))}return createComponent("a",{...f,href:p,onClick:m,target:o,download:s,className:c,style:a},u)}function Ht(e){return e&&e.replace(/\/+$/,"")||"/"}function xs({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:s,target:c,download:a,replace:u=!1,state:f,children:l,onClick:p,...m}){let d=Dn(),g=jn(),h=typeof e=="string"?e.split("?")[0].split("#")[0]:e.pathname||"/",y=g.pathname||"/",x=t?Ht(y)===Ht(h):Ht(y).startsWith(Ht(h)),_=[typeof r=="function"?r({isActive:x}):r,x?n:null].filter(Boolean).join(" ")||void 0,E=typeof s=="function"?s({isActive:x}):s,O=x?{...E||{},...o||{}}:E,S="#"+Nn(e);function T(C){p&&p(C),!(C.defaultPrevented||C.button!==0||C.metaKey||C.altKey||C.ctrlKey||C.shiftKey)&&(C.preventDefault(),d(e,{replace:u,state:f}))}return createComponent("a",{...m,href:S,onClick:T,target:c,download:a,className:_,style:O,"aria-current":x?"page":void 0},typeof l=="function"?l({isActive:x}):l)}function _s(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 Es(e,t){if(e==null)return{matched:!0,params:{}};let{regex:n,paramNames:r}=_s(e),o=n.exec(t);if(!o)return{matched:!1};let s={};return r.forEach((c,a)=>s[c]=decodeURIComponent(o[a+1]||"")),o.length>r.length+1&&(s["*"]=o[r.length+1]?decodeURIComponent(o[r.length+1]):void 0),{matched:!0,params:s}}function vs({path:e,element:t=null,children:n}){return null}function io({children:e}){var o;let n=jn().pathname||"/",r=Ke.toArray(e);for(let s=0;s<r.length;s++){let c=r[s],a=c.props.path===void 0?null:c.props.path,u=(o=c.props.element)!=null?o:null,f=c.props.children,{matched:l,params:p}=Es(a,n);if(l)return u?createComponent(Ln.Provider,{value:{params:p}},u):f?createComponent(Ln.Provider,{value:{params:p}},createComponent(io,{},f)):createComponent(Ln.Provider,{value:{params:p}},createComponent("div",{}))}return null}var qn={};Q(qn,{DragHandle:()=>so,ErrorBoundary:()=>Un,Spinner:()=>ks,SplitPane:()=>Ss,Suspense:()=>Zt});var{css:ya,cx:Ts}=yt;function ks({size:e=48,className:t,style:n,color:r="currentColor",strokeWidth:o=3,"aria-label":s="Loading"}){let c=Math.max(1,e)+"px";return createComponent("div",{className:t,style:{width:"100%",height:"100%",display:"grid",placeItems:"center",...n},"aria-label":s,role:"status"},createComponent("div",{style:{width:c,height:c,borderRadius:"50%",border:`${o}px solid rgba(0,0,0,0.15)`,borderTopColor:r,animation:"ddSpinnerSpin 0.9s linear infinite",boxSizing:"border-box"}}),createComponent("style",{},`
|
|
86
86
|
@keyframes ddSpinnerSpin { to { transform: rotate(360deg); } }
|
|
87
|
-
`))}var Un=class extends Re{constructor(){super(...arguments);
|
|
87
|
+
`))}var Un=class extends Re{constructor(){super(...arguments);ee(this,"displayName","ErrorBoundary");ee(this,"state",{hasError:!1,error:null});ee(this,"reset",()=>this.setState({hasError:!1,error:null}))}static getDerivedStateFromError(n){return{hasError:!0,error:n}}componentDidCatch(n,r){let{onError:o}=this.props;try{o&&o(n,r)}catch(s){console.error("onError threw",s)}}render(){let{Fallback:n,children:r}=this.props;return this.state.hasError?createComponent(n,{error:this.state.error,reset:this.reset}):r}},Zt=class extends Re{constructor(n){super(n);ee(this,"displayName","Suspense");this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(n){if(qt(n))return null;throw n}componentDidCatch(n,r){qt(n)&&this._attachPromise(n)}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(fe(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(fe(this._minShowTimer),this._minShowTimer=null)}_attachPromise(n){if(this._pending.has(n))return;if(this._pending.add(n),this._pending.size===1){let o=Math.max(0,this.props.minDelay);this._delayTimer&&(fe(this._delayTimer),this._delayTimer=null),this._delayTimer=je(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},o)}let r=()=>{if(this._pending.has(n)&&this._pending.delete(n),this._pending.size===0){if(this._delayTimer){fe(this._delayTimer),this._delayTimer=null,this.setState({showingFallback:!1});return}let o=Date.now()-(this._fallbackShownAt||0),s=Math.max(0,this.props.minShowTime-o);s===0?this.setState({showingFallback:!1}):(this._minShowTimer&&(fe(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=je(()=>{this._minShowTimer=null,this.setState({showingFallback:!1})},s))}};n.then(r,r)}render(){return this.state.showingFallback?createComponent(Fragment,{},this.props.fallback):createComponent(Fragment,{},this.props.children)}};ee(Zt,"defaultProps",{minDelay:200,minShowTime:300});function so({onDelta:e,onStart:t,onEnd:n,style:r,className:o,children:s,data:c}){let a=P(null),u=P(0),f=P(0),l=P(0),p=P(0),m=P(!1),[d,g]=te(!1),h=ye(()=>{a.current=null,m.current=!1,u.current=0,f.current=0,l.current=0,p.current=0,g(!1)},[]),y=ye((S,T)=>{let C=S-u.current,$=T-f.current;return{dx:C,dy:$}},[]),x=ye((S="up")=>{m.current&&(n==null||n(S),h())},[n,h]),k=ye(S=>{if(!(S.button!=null&&S.button!==0)){m.current=!0,a.current=S.pointerId,u.current=S.clientX,f.current=S.clientY,l.current=S.clientX,p.current=S.clientY,g(!0),t==null||t(c);try{S.currentTarget.setPointerCapture(S.pointerId)}catch(T){}}},[t]),_=ye(S=>{if(!m.current||a.current!==S.pointerId)return;let{dx:T,dy:C}=y(S.clientX,S.clientY);e==null||e(T,C,c),l.current=S.clientX,p.current=S.clientY},[y,e]),E=ye(S=>{a.current===S.pointerId&&x("up",c)},[x]),O=ye(S=>{a.current===S.pointerId&&x("cancel",c)},[x]);return createComponent("div",{role:"button",tabIndex:0,style:{...r,touchAction:"none"},className:Ts(o,d?"dragging":""),onPointerDown:k,onPointerMove:_,onPointerUp:E,onPointerCancel:O},s)}var Ss=yn(function({mode:t="horizontal",position:n,defaultPosition:r=.5,min:o=.1,max:s=.9,splitterSize:c=8,onSizeChange:a,resizePolicy:u="proportional",style:f,className:l,firstPaneStyle:p,secondPaneStyle:m,splitterStyle:d,splitterChild:g,children:h},y){let x=P(null),k=P({w:0,h:0}),[_,E]=te(t==="vertical"?"vertical":"horizontal"),O=P(_),[S,T]=te(r),C=P(S),$=P(void 0),B=P(u);ne(()=>{B.current=u},[u]),O.current=_,ne(()=>{C.current=S},[S]),Le(()=>{E(t==="vertical"?"vertical":"horizontal")},[t]);let U=(A,L,_e,pe)=>Cs(A,o,s,L==="vertical"?pe:_e,c),we=Tt(()=>{let A=n==null?S:n,{w:L,h:_e}=k.current;return(t==="vertical"?_e>0:L>0)?U(A,O.current,L,_e):A},[n,S,o,s,c,t]);ne(()=>{$.current=we},[we]);let Oe=A=>{let L=O.current,{w:_e,h:pe}=k.current;if(L==="vertical"?pe<=0:_e<=0){n==null&&T(A),a==null||a(A);return}let z=U(A,L,_e,pe);n==null&&T(z),$.current=z,a==null||a(z)};_n(y,()=>({setPosition:Oe,setMode:A=>E(A==="vertical"?"vertical":"horizontal"),getPosition:()=>{var A;return(A=$.current)!=null?A:we},getMode:()=>O.current}));let At=P(!1);Le(()=>{let A=x.current;if(!A)return;let L=new ResizeObserver(_e=>{var er;let pe=A.getBoundingClientRect(),z=k.current,oe={w:pe.width,h:pe.height};k.current=oe;let at=O.current,wo=at==="vertical"?z.h>0:z.w>0,zn=at==="vertical"?oe.h>0:oe.w>0;if(!At.current&&zn){At.current=!0;let ie=n==null?C.current:n,X=U(ie,at,oe.w,oe.h);n==null&&T(X),$.current=X,a==null||a(X);return}if(!wo||!zn)return;let $e=(er=$.current)!=null?er:we,Qn=B.current,Ae=c;if(Qn==="fixFirst")if(at==="vertical"){let ie=z.h-Ae,X=oe.h-Ae;if(ie>0&&X>0){let he=$e*ie/X;Math.abs(he-$e)>Jt&&Oe(he)}}else{let ie=z.w-Ae,X=oe.w-Ae;if(ie>0&&X>0){let he=$e*ie/X;Math.abs(he-$e)>Jt&&Oe(he)}}else if(Qn==="fixSecond")if(at==="vertical"){let ie=z.h-Ae,X=oe.h-Ae;if(ie>0&&X>0){let he=1-(1-$e)*ie/X;Math.abs(he-$e)>Jt&&Oe(he)}}else{let ie=z.w-Ae,X=oe.w-Ae;if(ie>0&&X>0){let he=1-(1-$e)*ie/X;Math.abs(he-$e)>Jt&&Oe(he)}}});return L.observe(A),()=>L.disconnect()},[o,s,c,a,n]);let De=P(we),[Yn,Gn]=te(!1);ne(()=>{Yn||(De.current=we)},[we,Yn]);let ho=()=>{var A;Gn(!0),De.current=(A=$.current)!=null?A:we},mo=(A,L)=>{let _e=O.current,{w:pe,h:z}=k.current;if(_e==="horizontal"){let oe=pe>0?pe:1;Oe(De.current+A/oe)}else{let oe=z>0?z:1;Oe(De.current+L/oe)}},yo=()=>Gn(!1),Hn=Ke.toArray(h),go=Hn[0],bo=Hn[1],ke=we,{w:Jn,h:Zn}=k.current,xe={position:"absolute",top:0,left:0,overflow:"auto",...p||{}},Se={position:"absolute",bottom:0,right:0,overflow:"auto",...m||{}},Me={background:"rgba(0,0,0,0.08)",boxShadow:"inset 0 0 2px rgba(0,0,0,0.25)",zIndex:1e6,position:"absolute",cursor:_==="horizontal"?"col-resize":"row-resize",touchAction:"none",pointerEvents:"auto",...d||{}};if(_==="horizontal")if(xe.bottom=0,Se.top=0,u==="fixFirst"){let A=Jn-c,L=A>0?ke*A:0;xe.width=L,Se.left=L+c,Object.assign(Me,{top:0,bottom:0,left:L,width:c})}else if(u==="fixSecond"){let A=Jn-c,L=A>0?(1-ke)*A:0;Se.width=L,xe.right=L+c,Object.assign(Me,{top:0,bottom:0,right:L,width:c})}else xe.width=`calc(${ke} * (100% - ${c}px))`,Se.left=`calc(${ke} * (100% - ${c}px) + ${c}px)`,Object.assign(Me,{top:0,bottom:0,left:`calc(${ke} * (100% - ${c}px))`,width:c});else if(xe.right=0,Se.left=0,u==="fixFirst"){let A=Zn-c,L=A>0?ke*A:0;xe.height=L,Se.top=L+c,Object.assign(Me,{left:0,right:0,top:L,height:c})}else if(u==="fixSecond"){let A=Zn-c,L=A>0?(1-ke)*A:0;Se.height=L,xe.bottom=L+c,Object.assign(Me,{left:0,right:0,bottom:L,height:c})}else xe.height=`calc(${ke} * (100% - ${c}px))`,Se.top=`calc(${ke} * (100% - ${c}px) + ${c}px)`,Object.assign(Me,{left:0,right:0,top:xe.height,height:c});return createComponent("div",{ref:x,className:l,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",...f||{}}},createComponent("div",{style:xe},go),createComponent("div",{style:Se},bo),createComponent(so,{key:_,onStart:ho,onDelta:mo,onEnd:yo,style:Me,className:"splitter"},g))}),Jt=1e-6,Cs=function(e,t,n,r,o){let s=t,c=n;return typeof s=="function"&&(r>0?s=s(r,o):s=0),typeof c=="function"&&(r>0?c=c(r,o):c=1),s=Math.max(0,Math.min(s,1)),c=Math.max(0,Math.min(c,1)),Math.max(s,Math.min(c,e))};var Os={},ao={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){Os[e]=t,ao[t]=e});function uo(...e){if(typeof e=="number")return co(e);let t="";for(let n=0;n<e.length;n+=1)t+=co(e[n]);return t}function co(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=e&31;e>>>=5,e>0&&(n|=32),t+=ao[n]}while(e>0);return t}var Qt=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"]),As=new Set(["(",")","{","}","[","]","...",".","=>",",",";",":","?","++","--","+","-","*","/","%","**",">>","<<",">>>","<<<","&","|","^","~","==","!=","===","!==",">","<",">=","<=","&&","||","??","?.","=","+=","-=","*=","/=","%=","**=","<<=",">>=",">>>=","&=","|=","^=","??=","&&=","||=","!"]);function Is(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)?!Qt.has(e):!1}function Rs(e){return/(?:\\u\{[0-9a-fA-F]+\}|\\u[0-9a-fA-F]{4})/g.test(e)?!Qt.has(e):!1}function Ls(e){return/^(?:[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*)$/u.test(e)?!Qt.has(e):!1}function Fn(e,t){if(typeof t=="string"){if(e&&e.hasOwnProperty(t))return e[t];if(t.trim()==="")return t.indexOf(`
|
|
88
88
|
`)!==-1?`
|
|
89
89
|
`:" ";if(Qt.has(t))return"K";if(As.has(t))return"O";if(Ls(t))return"I";if(Rs(t))return"U";if(Is(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 Kn(e,t=t.bind(null,null)){return e.map(t).join("")}var Ps=/(?:i[C \n]*(?:(?:I|J|(?:\*[C \n]*a[C \n]*I))[C \n]*,[C \n]*)*(?:(?:(?:I(?:[C \n]*a[C \n]*I)?)|J|(?:\*[C \n]*a[C \n]*I))[C \n]*f[C \n]*)?S)|(?:e[C \n]*(?:(?:[*J][C \n]*f[C \n]*S)|(?:d[C \n]*[IFJ])|J|(?:[VF][c \n]*I)|I))|(?:r[c \n]*P)/mg,zt=/O[C \n]*(?:[Id](?:[C \n]*a[C \n]*I)?[C \n]*,[C \n]*)*(?:I(?:[C \n]*a[C \n]*I)?)[C \n]*O/mg;function Wn(e,t){let n=Kn(e.out,Fn.bind(null,{import:"i",export:"e",as:"a",from:"f",",":",",".":".","*":"*",";":";",var:"V",let:"V",const:"V",function:"F",class:"F","=":"=",default:"d",require:"r"})),r,o=(a=1)=>{for(;n[r]===" "||n[r]===`
|
|
90
|
-
`||n[r]==="C";)a===1&&(e.out[r]=null),r+=a},s=e.begin,c=[];for(r=0;r<e.out.length;r++)r==0?c.push(e.begin):typeof e.out[r-1]=="string"?c.push(c[r-1]+e.out[r-1].length):c.push(e.out[r-1].end);c.push(e.end);for(let a of n.matchAll(Ps))if(a[0].startsWith("r")){let
|
|
91
|
-
`||y
|
|
92
|
-
`||y
|
|
93
|
-
`||y
|
|
94
|
-
`;for(let
|
|
95
|
-
`;if(Object.keys(
|
|
96
|
-
`||p[
|
|
97
|
-
`||p[
|
|
98
|
-
`||p[
|
|
90
|
+
`||n[r]==="C";)a===1&&(e.out[r]=null),r+=a},s=e.begin,c=[];for(r=0;r<e.out.length;r++)r==0?c.push(e.begin):typeof e.out[r-1]=="string"?c.push(c[r-1]+e.out[r-1].length):c.push(e.out[r-1].end);c.push(e.end);for(let a of n.matchAll(Ps))if(a[0].startsWith("r")){let u=a[0],f=e.out[a.index+u.length-1].out;f.length===1&&f.push(", {requirer:module}")}else if(a[0].startsWith("i")){let u=a[0];if(r=a.index-1,o(-1),n[r]===".")continue;let f=t.substring(e.out[a.index+u.length-1].begin,e.out[a.index+u.length-1].end),l={},p=[],m=[];for(r=a.index+1;r<a.index+u.length-1;r++)switch(e.out.splice(a.index,1,{type:"import",begin:c[a.index],end:c[a.index+u.length],cjs:""}),o(),n[r]){case",":break;case"I":{m.push(e.out[r]);continue}case"J":{let g=Kn(e.out[r].out,Fn.bind(null,{as:"a",",":","}));if(zt.lastIndex=-1,!zt.test(g))throw"incorrect import properties definition.";let h=e.out[r].out;for(let y=1;y<g.length-1;y++){for(;g[y]===" "||g[y]===`
|
|
91
|
+
`||g[y]==="C"||g[y]===",";)y++;let x=h[y];for(y++;g[y]===" "||g[y]===`
|
|
92
|
+
`||g[y]==="C";)y++;if(g[y]==="a"){for(y++;g[y]===" "||g[y]===`
|
|
93
|
+
`||g[y]==="C";)y++;l[h[y]]=x,y++}else l[x]=x}continue}case"*":{r++,o(),r++,o(),p.push(e.out[r]);continue}case"S":for(r=a.index+1;r<a.index+u.length;r++)e.out[r]=null;let d="";for(let g of m)d+=`const ${g} = require(${f},{requirer:module});
|
|
94
|
+
`;for(let g of p)d+=`const ${g} = require(${f},{requirer:module, checkExport: ['default']}).default;
|
|
95
|
+
`;if(Object.keys(l).length){let g="{",h="[";for(let y in l)g.length>1&&(g+=",",h+=","),y===l[y]?(g+=y,h+=`'${y}'`):(g+=y+":"+l[y],h+=`'${l[y]}'`);g+="}",h+="]",d+=`const ${g} = require(${f}, {checkExport: ${h},requirer:module})`}else d.length===0&&(d+=`require(${f},{requirer:module})`);e.out[a.index].cjs=d;continue}}else{let u=a[0];if(e.out.splice(a.index,1,{type:"export",begin:c[a.index],end:c[a.index+1]}),r=a.index-1,o(-1),n[r]===".")continue;switch(r=a.index+1,o(),n[r]){case"d":e.out[r]=null,e.out[a.index].cjs="module.exports.default =";continue;case"V":{let l=e.out[r];e.out[r]=null,r++,o();let p=e.out[r];e.out[r]=null,r++,o(),e.out[a.index].cjs=`${l} ${p} = module.exports.${p} `;continue}case"F":{let l=e.out[r];e.out[r]=null,r++,o();let p=e.out[r];e.out[a.index].cjs=`module.exports.${p} = ${l} `;continue}case"*":e.out[r]=null,r++,o(),e.out[r]=null,r++,o();let f=t.substring(e.out[r].begin,e.out[r].end);e.out[r]=null,e.out[a.index].cjs=`Object.assign(module.exports, require(${f},{requirer:module}))`;continue;case"I":e.out[a.index].cjs=`module.exports.${e.out[r]} = `;continue;case"J":{let l={},p=Kn(e.out[r].out,Fn.bind(null,{as:"a",",":",",default:"I"}));if(zt.lastIndex=-1,!zt.test(p))throw"incorrect export properties definition.";let m=e.out[r].out;for(let h=1;h<p.length-1;h++){for(;p[h]===" "||p[h]===`
|
|
96
|
+
`||p[h]==="C"||p[h]===",";)h++;let y=m[h];for(h++;p[h]===" "||p[h]===`
|
|
97
|
+
`||p[h]==="C";)h++;if(p[h]==="a"){for(h++;p[h]===" "||p[h]===`
|
|
98
|
+
`||p[h]==="C";)h++;l[m[h]]=y,h++}else l[y]=y}let d="{",g="{";for(let h in l)d.length>1&&(d+=",",g+=","),h===l[h]?(d+=h,g+=h):(d+=h+":"+l[h],g+=l[h]);if(d+="}",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[a.index].cjs=`{ const ${d} = require(${h},{requirer:module}); Object.assign(module.exports, ${g}); }`}else e.out[a.index].cjs=`Object.assign(module.exports, ${d})`;continue}}}}var D={setBlockLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"\u0294"},be,xa=0,lo=/(\{|\}|\[|\]|\(|\)|\.\.\.|=>|\?\?=|\?\?|\?\.|===|!==|>>>|<<=|>>=|>>>=|\*\*=|\*\*|&&=|\|\|=|<=|>=|==|!=|<<|>>|\+\+|--|\+=|-=|\*=|\/=|%=|&=|\^=|\|=|=|\+|-|\*|\/|%|&|\^|\||!|~|\?|:|<|>|=|\.|,|;|\n+|[\s^\n]+)/g;function M(e,t,n,...r){let o=e(t,n,...r);return o?[o.end,o]:[n]}function Ns(code,index,container){let i=index,dels=`;=,([{}!^~&|:?*%-+/<>${D.preprocessorDelimiter}`;for(;--i>0;)if(" \r".indexOf(code[i])===-1){if(code[i]===`
|
|
99
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`
|
|
100
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 en(e,t,n){let r={type:"comment",begin:t++};if(e[t]!=="*"&&e[t]!=="/")return Ns(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
101
|
`:if(!o)return r.end=t+1,n&&n.children.push(r),r;break}t++}be("Unterminated comment",r.begin)}function js(e,t,n){let r=t+1;for(;e[r]&&e[r]!==`
|
|
102
102
|
`&&e[r]!==D.preprocessorDelimiter||e[r-1]==="\\";)r++;if(e[r]===D.preprocessorDelimiter){let s={type:"directive",begin:t,cbegin:t,end:r+1,expression:e.slice(t+1,r).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(s),s}else{let s=t;for(;s-->=0&&(e[s]===" "||e[s]===" "););if(s===-1||e[s]===`
|
|
103
103
|
`){let a={type:"directive",begin:t,cbegin:t,end:r+1,pragma:e.slice(t+1,r+1).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(a),a}}be("Error in preprocessor statement",t)}function Ds(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(`
|
|
104
104
|
`);return eval(cmd),segments}function Vn(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`
|
|
105
|
-
`:n!=="`"&&be("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=M(We,e,t+1,!0),t--);break;case"\\":t++;break}t++}be("Unterminated string",o.begin)}function Ms(e,t,n,r){let o=t,s=t;for(;o<e.length;){switch(e[o]){case"<":if(e[o+1]==="/"){o+=2;let a=o;for(;a<e.length&&e[a]!==">";)a++;if(a===e.length)return null;let
|
|
106
|
-
`.indexOf(e[
|
|
107
|
-
{};)`.indexOf(e[
|
|
108
|
-
{};)`.indexOf(e[
|
|
105
|
+
`:n!=="`"&&be("Unterminated string",o.begin);break;case"$":n==="`"&&e[t+1]==="{"&&([t]=M(We,e,t+1,!0),t--);break;case"\\":t++;break}t++}be("Unterminated string",o.begin)}function Ms(e,t,n,r){let o=t,s=t;for(;o<e.length;){switch(e[o]){case"<":if(e[o+1]==="/"){o+=2;let a=o;for(;a<e.length&&e[a]!==">";)a++;if(a===e.length)return null;let u=e.substring(o,a).trim();return n.tag!==u&&be("Ill-formed xml (not closed properly)",t),n.end=a+1,n.cbegin=t+1,n.cend=o-2,a}else[o]=M(Bn,e,o,n),o>s?(s=o,o--):s++;break;case"{":let c=o;[o]=M(We,e,o,!0,n),o--;break}o++}return s}function Bn(e,t,n,r=!1){if(r){let f=["=",",","(","&","|","?",":","{","["],l=t;for(;--l>0;)if(` \r
|
|
106
|
+
`.indexOf(e[l])===-1){if(f.indexOf(e[l])!==-1||l>1&&e[l-1]==="="&&e[l]===">")break;if(l>=5&&e.slice(l-5,l+1)==="return"){if(l>5&&` \r
|
|
107
|
+
{};)`.indexOf(e[l-6])===-1)return;break}if(l>=4&&(e.slice(l-4,l+1)==="yield"||e.slice(l-4,l+1)==="throw")){if(l>4&&` \r
|
|
108
|
+
{};)`.indexOf(e[l-5])===-1)return;break}return}}let o=[" "," ",`
|
|
109
109
|
`,"/","&","^","%","|","!","~","+","*","?","<",">",";",",","=","{","}","(",")","[","]","'",'"',"`","\\","",void 0],s=()=>{for(;e[t]===" "||e[t]===" "||e[t]===`
|
|
110
|
-
`;)t++},c={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};s();let a=t;for(;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;c.tag=e.substring(t,a),t=a;let
|
|
111
|
-
`:s();break;default:return}}}function po(e,t,n){let r={type:"paranthesis",begin:t,cbegin:++t,children:[],self_closing:!1};for(;t<e.length;){let o=e[t];switch(o){case"<":{let[c]=M(Bn,e,t,r,!0);c>t?t=c:t++;break}case'"':case"'":case"`":[t]=M(Vn,e,t,o,r);break;case"{":[t]=M(We,e,t,!0,r);break;case"(":[t]=M(po,e,t,r);break;case"}":be("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":let[s]=M(en,e,t,r);s>t?t=s:t++;break;case"\\":t++;default:t++;break}}be("Unterminated paranthesis block",r.begin)}function We(e,t=0,n=!1,r){let o={type:"js",begin:t,cbegin:t+=n?1:0,children:[]};for(;t<e.length;){let s=e[t];switch(s){case"<":{let[c]=M(Bn,e,t,o,!0);c>t?t=c:t++;break}case'"':case"'":case"`":[t]=M(Vn,e,t,s,o);break;case"{":{let c=t;[t]=M(We,e,t,!0,o);break}case"(":[t]=M(po,e,t,o);break;case")":be("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;be("Unmatched curly bracket",o.begin);break;case"/":{let[c]=M(en,e,t,o);c>t?t=c:t++;break}case D.preprocessorDelimiter:{let[c]=M(js,e,t,o);c>t?t=c:t++;break}case"\\":t++;default:t++}}return n&&be("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function Us(e,t,n){e.already_labeled=!0;function r(a,
|
|
112
|
-
`&&t.push(parseInt(n));return t.push(e.length),t}function ct(e,t){for(e.last||(e.last=1);t>e[e.last];)if(e.last++,e.last===e.length){e.last=e.length-1;break}for(;t<e[e.last-1]&&e.last>1;)e.last--;return[e.last-1,t-e[e.last-1]]}function qs(e,t,n,r,o=[]){let s=[],c={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},a=
|
|
110
|
+
`;)t++},c={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};s();let a=t;for(;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;c.tag=e.substring(t,a),t=a;let u;for(;t<e.length;){for(a=t;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;let f=e.substring(t,a);switch(f.length&&(u=f,c.attributes[f]=!0),t=a,e[t]){case"=":if(u){for(t++,s();e[t]==="/";){let g=M(en,e,t);g[0]>t?t=g[0]:t++,s()}let d;switch(e[t]){case"'":case'"':[t,d]=M(Vn,e,t,e[t]),c.attributes[u]=d,u=void 0;break;case"{":[t,d]=M(We,e,t,!0),c.attributes[u]=d,u=void 0;break;default:for(a=t;a<e.length&&o.indexOf(e[a])===-1;)a++;if(a===e.length)return;let g=e.substring(t,a);t=a,c.attributes[u]=g,u=void 0}}else return;break;case"{":let l;[t,l]=M(We,e,t,!0),l.is_xml_js=!0,c.js_attributes.push(l);break;case"/":if(e[t+1]===">")return c.end=t+2,c.cbegin=c.begin,c.cend=c.end,c.self_closing=!0,n&&n.children.push(c),c;let p=M(en,e,t);p[0]>t?t=p[0]:t++;break;case">":let m=Ms(e,t,c);if(m===null)return;if(m>t?t=m:t++,c.end)return n&&n.children.push(c),c;t++;break;case" ":case" ":case`
|
|
111
|
+
`:s();break;default:return}}}function po(e,t,n){let r={type:"paranthesis",begin:t,cbegin:++t,children:[],self_closing:!1};for(;t<e.length;){let o=e[t];switch(o){case"<":{let[c]=M(Bn,e,t,r,!0);c>t?t=c:t++;break}case'"':case"'":case"`":[t]=M(Vn,e,t,o,r);break;case"{":[t]=M(We,e,t,!0,r);break;case"(":[t]=M(po,e,t,r);break;case"}":be("Unmatched curly bracket",r.begin);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":let[s]=M(en,e,t,r);s>t?t=s:t++;break;case"\\":t++;default:t++;break}}be("Unterminated paranthesis block",r.begin)}function We(e,t=0,n=!1,r){let o={type:"js",begin:t,cbegin:t+=n?1:0,children:[]};for(;t<e.length;){let s=e[t];switch(s){case"<":{let[c]=M(Bn,e,t,o,!0);c>t?t=c:t++;break}case'"':case"'":case"`":[t]=M(Vn,e,t,s,o);break;case"{":{let c=t;[t]=M(We,e,t,!0,o);break}case"(":[t]=M(po,e,t,o);break;case")":be("Unmatched paranthesis",o.begin);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;be("Unmatched curly bracket",o.begin);break;case"/":{let[c]=M(en,e,t,o);c>t?t=c:t++;break}case D.preprocessorDelimiter:{let[c]=M(js,e,t,o);c>t?t=c:t++;break}case"\\":t++;default:t++}}return n&&be("Unterminated JS block",o.begin),o.end=t,o.cend=t,r&&r.children.push(o),o}function Us(e,t,n){e.already_labeled=!0;function r(a,u=1){for(;(a+=u)<e.children.length&&a>=0;){let f=e.children[a];if(typeof f=="string"){let l=f.trim();if(l.length)return[a,l]}if(typeof f=="object"&&f.type!=="comment")return[a,f]}return[null,null]}let o,s,c;for(let a=0;a<e.children.length;a++)if(typeof e.children[a]=="object"&&e.children[a].type==="paranthesis"){if([o,c]=r(a,-1),c===null||typeof c!="string"||["switch","catch","try","class"].find(f=>c.trim().endsWith(f))!==void 0)continue;let u=c;if([o,c]=r(o,-1),c===null||typeof c=="string"&&["extern","class"].indexOf(c)!==-1||([o,s]=r(a),s===null))continue;if(D.injectTraceLabels&&typeof s=="object"&&s.type==="js"){let f=ct(t,a);s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${f}:${u}*/try{`),D.enableLabelStack?s.children.splice(s.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):s.children.splice(s.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`),a+=2}}else if(e.children[a]==="=>"&&([o,c]=r(a,-1),typeof c=="object"&&c.type==="paranthesis")){let u=ct(t,c.begin);[o,s]=r(a),typeof s=="object"&&s.type==="js"&&(D.injectTraceLabels&&(s.children.splice(1,0,`/*LILACTBLOCK${++n.counter}:${u}:<ARROW>*/try {`),D.enableLabelStack?s.children.splice(s.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${n.counter},e.lilact_trace];throw e}`):s.children.splice(s.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${n.counter};throw e}`)),a+=2)}}function fo(e){let t=[0];for(let n in e)e[n]===`
|
|
112
|
+
`&&t.push(parseInt(n));return t.push(e.length),t}function ct(e,t){for(e.last||(e.last=1);t>e[e.last];)if(e.last++,e.last===e.length){e.last=e.length-1;break}for(;t<e[e.last-1]&&e.last>1;)e.last--;return[e.last-1,t-e[e.last-1]]}function qs(e,t,n,r,o=[]){let s=[],c={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},a=d=>{var g;if(((g=d==null?void 0:d.out)==null?void 0:g.length)>0)for(let h of d.out)a(h);(d==null?void 0:d.begin)!==void 0&&(d==null?void 0:d.out_index)!==void 0&&s.push([...ct(r,d.out_index),...ct(n,d.begin),d])};a(e),s=s.sort((d,g)=>d[0]==g[0]?d[1]-g[1]:d[0]-g[0]),o.push(...s);let u="",f=0,l=0,p=0,m=0;for(let d=0;d<s.length;d++){let g=s[d];for(;f<g[0];)l=0,u+=";",f++;u+=",",u+=uo(g[1]-l,0,g[2]-p,g[3]-m),l=g[1],p=g[2],m=g[3]}return c.mappings=u.substring(1).replace(/;,/g,";"),`
|
|
113
113
|
|
|
114
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,`+btoa(JSON.stringify(c))}function Xn(e,{factory:t="createComponent",fragment:n="Fragment",path:r="anonymous",appendSourcemap:o=!0,injectTraceLabels:s=!1,discardComments:c=!1,produceCJS:a=!1,blocks_info:
|
|
114
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,`+btoa(JSON.stringify(c))}function Xn(e,{factory:t="createComponent",fragment:n="Fragment",path:r="anonymous",appendSourcemap:o=!0,injectTraceLabels:s=!1,discardComments:c=!1,produceCJS:a=!1,logErrors:u=!1,blocks_info:f={labels:{},counter:0},mappings:l=[]}={}){var x,k;(x=D.preprocessorDelimiter)!=null||(D.preprocessorDelimiter="\u0294"),(k=D.injectTraceLabels)!=null||(D.injectTraceLabels=s);let p=fo(e);be=((_,E,O)=>{let S=ct(_,O),T=new Error(E);throw u&&console.error(`JSXParserError: ${E} [file ${r} at line ${S[0]}]`),[T.lineNumber,T.columnNumber]=S,T.name="JSXParseError",T.fileName=r,T.lilact_trace="parse",T}).bind(null,p);let m=We(e);m.data=e;let d=_=>{if(_.attributes!==void 0)for(let E in _.attributes)typeof _.attributes[E]=="object"&&d(_.attributes[E]);if(_.children!==void 0&&!_.self_closing){let E=_.type==="js"?_.begin:_.cbegin||_.begin;for(let S=0;S<_.children.length;S++){let T=_.children[S];if(T.begin>E){let C=e.substring(E,T.begin);_.type==="xml"&&(C=C.trim()),C.length&&(_.type==="xml"?_.children.splice(S,0,'"'+C.replaceAll(`
|
|
115
115
|
`,`\\
|
|
116
|
-
`).replaceAll('"','\\"')+'"'):_.children.splice(S,0,...
|
|
117
|
-
`})[T])+'"'):_.children.push(...S.split(lo)))}_.children=_.children.filter(S=>S!==""),D.setBlockLabels&&!_.already_labeled&&Us(_,
|
|
116
|
+
`).replaceAll('"','\\"')+'"'):_.children.splice(S,0,...C.split(lo)),S++)}E=T.end,d(T)}let O=_.type==="js"?_.end:_.cend||_.end;if(E<O&&!_.self_closing){let S=e.substring(E,O);_.type==="xml"&&(S=S.trim()),S.length&&(_.type==="xml"?_.children.push('"'+S.replace(/[\\\"\n]/g,T=>({"\\":"\\\\",'"':'\\"',"\n":`\\
|
|
117
|
+
`})[T])+'"'):_.children.push(...S.split(lo)))}_.children=_.children.filter(S=>S!==""),D.setBlockLabels&&!_.already_labeled&&Us(_,p,f)}};d(m),Ds(m);let g=(_,E,O=!1,S=!1)=>{if(typeof E!="object")return E;if(E===null)return"";if(E.out_index=_,E.type==="string")return e.substring(E.begin,E.end);if(E.type==="import"||E.type==="export")return E.cjs;if(E.type==="regex")return e.substring(E.begin,E.end);if(E.type==="comment")return c||O?"":e.substring(E.begin,E.end);if(E.type==="directive")return E.value;if(E.type==="paranthesis"){let T="(";if(E.out){a&&Wn(E,e);for(let C of E.out)T+=g(_+T.length-1,C)}return T+")"}if(E.type==="js"){let T="";if(E.out){a&&Wn(E,e);for(let C of E.out)S&&C.type==="comment"||(T+=g(_+T.length-(O?1:0),C))}return O?T.substring(1,T.length-1):E!=null&&E.is_xml_js?e.substring(E.begin+1,E.end-1):T}if(E.type==="xml"){E.tag.length===0?E.tag=n:E.tag[0]!==E.tag[0].toUpperCase()&&(E.tag=`"${E.tag}"`);let T="",C=!0;for(let B of E.js_attributes){let U=g(_+T.length,B,!1);T+=`${C?"":", "}${U}`,C=!1}if(E.attributes)for(let B in E.attributes)T+=`${C?"":", "}"${B}": ${g(_+T.length,E.attributes[B],!0)}`,C=!1;if(T+=" }",E.out)for(let B of E.out){let U=g(_+T.length,B,!0,!0);U.length>0&&(T+=`, ${U}`,C=!1)}let $=ct(p,E.begin);return T=` ${t}( ${E.tag}, { ${T} )`,T}},h="";s&&(h=`/*LILACTBLOCK${++f.counter}:0,0:<EXEC>*/try{`),h+=g(h.length,m),s&&(D.enableLabelStack?h+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${f.counter},e.lilact_trace];throw e}`:h+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${f.counter};throw e}`);let y=qs(m,r,p,fo(h),l);return o&&(h+=y),h}var Z={VERSION:"RC.3",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...gn,...vn,...xn,...En,...$n,...In,...Sn,...An,...Rn,...dn,...Mn,...qn,transpileJSX:Xn,transpilerConfig:D,PropTypes:nt,redux:sn,emotion:yt};Z.default=Z;var v=Z;Z.importObjectPaths={lilact:Z,"@emotion/css":Z.emotion,redux:Z.redux};globalThis.Lilact=Z;globalThis.createComponent=Z.createComponent;globalThis.Fragment=Z.Fragment;globalThis.require=Z.require;document.addEventListener("DOMContentLoaded",()=>{Z.runScripts()});window.addEventListener("unhandledrejection",e=>{Z.globalErrorHandler(e.reason)}),window.addEventListener("error",e=>{Z.globalErrorHandler(e)});console.log(`Lilact (Version: ${Z.VERSION}) - Debug Mode`),console.log("Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>");export{_t as ARGS,xt as CALLBACK,de as CHILD_CLASS_ADDENDUM,wt as CLEARED,Fe as COMPONENT,w as CORE,Zr as CSSTransition,Ke as Children,Re as Component,le as DUE,so as DragHandle,Un as ErrorBoundary,Mr as Fragment,vt as HTMLComponent,bs as HashRouter,ue as IDX,et as INTERVAL,hn as IS_ZOMBIE,gt as LAZY,Z as Lilact,ws as Link,Ce as MEMOIZED,xs as NavLink,Ur as Portal,nt as PropTypes,cs as Provider,bt as REPEAT,Kt as RootComponent,vs as Route,io as Routes,ks as Spinner,Ss as SplitPane,Zt as Suspense,ns as SwitchTransition,K as TEXT,Jr as Transition,rs as TransitionGroup,ss as addWrappedEventListener,ts as animationFramePromise,ms as blocks_info,Yr as boolean_html_attributes_set,Vt as capture_events_set,Zi as clearInterval,fe as clearTimeout,Vr as cloneComponent,bi as cloneElement,ls as combineReducers,us as connect,wn as createComponent,rt as createContext,_i as createElement,gi as createPortal,Wr as createRoot,zr as createSyntheticEvent,Ei as current_component,mn as deepEqual,v as default,Ai as effect_timeout,yt as emotion,ys as error,ai as eval_num,Wt as events_set,ri as findDOMNode,yn as forwardRef,oi as getComponentByPointer,ds as globalErrorHandler,zi as grabTimers,ci as id_num,Ci as insertion_effects,ii as isAsync,Ut as isClass,W as isEmpty,si as isError,qt as isThenable,tt as isValidComponent,ni as isValidElement,Si as layout_effects,Fi as lazy,Xr as length_css_attributes_set,xi as memo,Oi as passive_effects,Gi as pauseTimers,Kr as processEffects,sn as redux,Qr as releaseSyntheticEvent,Qi as releaseTimers,wi as render,Hr as require,ge as required_scripts,Yi as resetTimers,Hi as resumeTimers,ki as roots,it as run,Wi as runScripts,hs as scanBlockLabels,Ji as setInterval,je as setTimeout,se as shallowEqual,Br as special_attributes,Ui as startTransition,es as timeoutPromise,Ft as toBool,oo as traceError,Xn as transpileJSX,D as transpilerConfig,Ti as update_cbs,Ii as update_interval_margin,vi as update_set,$i as update_timeout,Ni as useActionState,ye as useCallback,ot as useContext,Mi as useDebugValue,Di as useDeferredValue,as as useDispatch,ne as useEffect,ce as useHook,Ri as useId,_n as useImperativeHandle,Pi as useInsertionEffect,Le as useLayoutEffect,Li as useLocalStorage,jn as useLocation,Tt as useMemo,Dn as useNavigate,ji as useReducer,P as useRef,to as useSelector,te as useState,Gt as useStore,Gr as useTransition,eo as wrapListener};
|
|
118
118
|
//# sourceMappingURL=lilact.development.min.js.map
|