lilact 0.26.2 → 0.26.3
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 +4 -4
- package/dist/lilact.development.js.map +2 -2
- package/dist/lilact.development.min.js +2 -2
- package/dist/lilact.development.min.js.map +2 -2
- package/dist/lilact.production.min.js +2 -2
- package/docs/functions/run.lazy.html +1 -1
- package/docs/functions/run.require.html +1 -1
- package/docs/functions/run.run.html +3 -4
- package/docs/functions/run.runScripts.html +1 -1
- package/docs/static/lilact.development.js +4 -4
- package/docs/static/lilact.development.js.map +2 -2
- package/docs/static/lilact.development.min.js +2 -2
- package/docs/static/lilact.development.min.js.map +2 -2
- package/docs/static/lilact.production.min.js +2 -2
- package/examples/lilact.development.js +4 -4
- package/examples/lilact.development.js.map +2 -2
- package/examples/lilact.development.min.js +2 -2
- package/examples/lilact.development.min.js.map +2 -2
- package/examples/lilact.production.min.js +2 -2
- package/package.json +1 -1
- package/src/run.jsx +5 -6
|
@@ -55,8 +55,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
57
|
var Zn=Object.defineProperty;var bo=(e,t,n)=>t in e?Zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var oe=(e,t)=>{for(var n in t)Zn(e,n,{get:t[n],enumerable:!0})};var H=(e,t,n)=>bo(e,typeof t!="symbol"?t+"":t,n);var rn={};oe(rn,{__DO_NOT_USE__ActionTypes:()=>st,applyMiddleware:()=>ko,bindActionCreators:()=>To,combineReducers:()=>vo,compose:()=>er,createStore:()=>nn,isAction:()=>So,isPlainObject:()=>tn,legacy_createStore:()=>_o});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 wo=typeof Symbol=="function"&&Symbol.observable||"@@observable",zn=wo,en=()=>Math.random().toString(36).substring(7).split("").join("."),xo={INIT:`@@redux/INIT${en()}`,REPLACE:`@@redux/REPLACE${en()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${en()}`},st=xo;function tn(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 nn(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(nn)(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((g,_)=>{c.set(_,g)}))}function l(){if(u)throw new Error(U(3));return o}function p(g){if(typeof g!="function")throw new Error(U(4));if(u)throw new Error(U(5));let _=!0;f();let h=a++;return c.set(h,g),function(){if(_){if(u)throw new Error(U(6));_=!1,f(),c.delete(h),s=null}}}function y(g){if(!tn(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(u)throw new Error(U(9));try{u=!0,o=r(o,g)}finally{u=!1}return(s=c).forEach(h=>{h()}),g}function m(g){if(typeof g!="function")throw new Error(U(10));r=g,y({type:st.REPLACE})}function d(){let g=p;return{subscribe(_){if(typeof _!="object"||_===null)throw new Error(U(11));function h(){let A=_;A.next&&A.next(l())}return h(),{unsubscribe:g(h)}},[zn](){return this}}}return y({type:st.INIT}),{dispatch:y,subscribe:p,getState:l,replaceReducer:m,[zn]:d}}function _o(e,t,n){return nn(e,t,n)}function Eo(e){Object.keys(e).forEach(t=>{let n=e[t];if(typeof n(void 0,{type:st.INIT})=="undefined")throw new Error(U(12));if(typeof n(void 0,{type:st.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(U(13))})}function vo(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{Eo(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 y=r[p],m=n[y],d=a[y],E=m(d,u);if(typeof E=="undefined"){let g=u&&u.type;throw new Error(U(14))}l[y]=E,f=f||E!==d}return f=f||r.length!==Object.keys(a).length,f?l:a}}function Qn(e,t){return function(...n){return t(e.apply(this,n))}}function To(e,t){if(typeof e=="function")return Qn(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]=Qn(o,t))}return n}function er(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function ko(...e){return t=>(n,r)=>{let o=t(n,r),s=()=>{throw new Error(U(15))},c={getState:o.getState,dispatch:(u,...f)=>s(u,...f)},a=e.map(u=>u(c));return s=er(...a)(o.dispatch),{...o,dispatch:s}}}function So(e){return tn(e)&&"type"in e&&typeof e.type=="string"}var pt={};oe(pt,{cache:()=>ei,css:()=>ln,cx:()=>Go,flush:()=>Xo,getRegisteredStyles:()=>Jo,hydrate:()=>Yo,injectGlobal:()=>Zo,keyframes:()=>zo,merge:()=>Ho,sheet:()=>Qo});var Co=!1;function Oo(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 $o(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 tr=(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?!Co: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($o(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Oo(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-",ct="-moz-",I="-webkit-",Tt="comm",Ve="rule",We="decl";var nr="@import";var kt="@keyframes";var rr="@layer";var or=Math.abs,Ue=String.fromCharCode,ir=Object.assign;function sr(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 St(e){return e.trim()}function on(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,n){return e.replace(t,n)}function at(e,t){return e.indexOf(t)}function N(e,t){return e.charCodeAt(t)|0}function Ae(e,t,n){return e.slice(t,n)}function V(e){return e.length}function Be(e){return e.length}function Xe(e,t){return t.push(e),e}function sn(e,t){return e.map(t).join("")}var Ct=1,Ye=1,cr=0,W=0,j=0,He="";function ut(e,t,n,r,o,s,c){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:Ct,column:Ye,length:c,return:""}}function Je(e,t){return ir(ut("",null,null,"",null,null,0),e,{length:-e.length},t)}function ar(){return j}function ur(){return j=W>0?N(He,--W):0,Ye--,j===10&&(Ye=1,Ct--),j}function B(){return j=W<cr?N(He,W++):0,Ye++,j===10&&(Ye=1,Ct++),j}function ce(){return N(He,W)}function lt(){return W}function Ze(e,t){return Ae(He,e,t)}function Ge(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ot(e){return Ct=Ye=1,cr=V(He=e),W=0,[]}function $t(e){return He="",e}function ze(e){return St(Ze(W-1,cn(e===91?e+2:e===40?e+1:e)))}function lr(e){for(;(j=ce())&&j<33;)B();return Ge(e)>2||Ge(j)>3?"":" "}function fr(e,t){for(;--t&&B()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return Ze(e,lt()+(t<6&&ce()==32&&B()==32))}function cn(e){for(;B();)switch(j){case e:return W;case 34:case 39:e!==34&&e!==39&&cn(j);break;case 40:e===41&&cn(e);break;case 92:B();break}return W}function pr(e,t){for(;B()&&e+j!==57;)if(e+j===84&&ce()===47)break;return"/*"+Ze(t,W-1)+"*"+Ue(e===47?e:B())}function hr(e){for(;!Ge(ce());)B();return Ze(e,W)}function yr(e){return $t(At("",null,null,null,[""],e=Ot(e),0,[0],e))}function At(e,t,n,r,o,s,c,a,u){for(var f=0,l=0,p=c,y=0,m=0,d=0,E=1,g=1,_=1,h=0,w="",A=o,S=s,T=r,k=w;g;)switch(d=h,h=B()){case 40:if(d!=108&&N(k,p-1)==58){at(k+=$(ze(h),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:k+=ze(h);break;case 9:case 10:case 13:case 32:k+=lr(d);break;case 92:k+=fr(lt()-1,7);continue;case 47:switch(ce()){case 42:case 47:Xe(Ao(pr(B(),lt()),t,n),u);break;default:k+="/"}break;case 123*E:a[f++]=V(k)*_;case 125*E:case 59:case 0:switch(h){case 0:case 125:g=0;case 59+l:_==-1&&(k=$(k,/\f/g,"")),m>0&&V(k)-p&&Xe(m>32?mr(k+";",r,n,p-1):mr($(k," ","")+";",r,n,p-2),u);break;case 59:k+=";";default:if(Xe(T=dr(k,t,n,f,l,o,a,w,A=[],S=[],p),s),h===123)if(l===0)At(k,t,T,T,A,s,p,a,S);else switch(y===99&&N(k,3)===110?100:y){case 100:case 108:case 109:case 115:At(e,T,T,r&&Xe(dr(e,T,T,0,0,o,a,w,o,A=[],p),S),o,S,p,a,r?A:S);break;default:At(k,T,T,T,[""],S,0,a,S)}}f=l=m=0,E=_=1,w=k="",p=c;break;case 58:p=1+V(k),m=d;default:if(E<1){if(h==123)--E;else if(h==125&&E++==0&&ur()==125)continue}switch(k+=Ue(h),h*E){case 38:_=l>0?1:(k+="\f",-1);break;case 44:a[f++]=(V(k)-1)*_,_=1;break;case 64:ce()===45&&(k+=ze(B())),y=ce(),l=p=V(w=k+=hr(lt())),h++;break;case 45:d===45&&V(k)==2&&(E=0)}}return s}function dr(e,t,n,r,o,s,c,a,u,f,l){for(var p=o-1,y=o===0?s:[""],m=Be(y),d=0,E=0,g=0;d<r;++d)for(var _=0,h=Ae(e,p+1,p=or(E=c[d])),w=e;_<m;++_)(w=St(E>0?y[_]+" "+h:$(h,/&\f/g,y[_])))&&(u[g++]=w);return ut(e,t,n,o===0?Ve:a,u,f,l)}function Ao(e,t,n){return ut(e,t,n,Tt,Ue(ar()),Ae(e,2,-2),0)}function mr(e,t,n,r){return ut(e,t,n,We,Ae(e,0,r),Ae(e,r+1,-1),r)}function qe(e,t){for(var n="",r=Be(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function gr(e,t,n,r){switch(e.type){case rr:if(e.children.length)break;case nr:case We:return e.return=e.return||e.value;case Tt:return"";case kt:return e.return=e.value+"{"+qe(e.children,r)+"}";case Ve:e.value=e.props.join(",")}return V(n=qe(e.children,r))?e.return=e.value+"{"+n+"}":""}function br(e){var t=Be(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 wr(e){return function(t){t.root||(t=t.return)&&e(t)}}function xr(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Io=function(t,n,r){for(var o=0,s=0;o=s,s=ce(),o===38&&s===12&&(n[r]=1),!Ge(s);)B();return Ze(t,W)},Ro=function(t,n){var r=-1,o=44;do switch(Ge(o)){case 0:o===38&&ce()===12&&(n[r]=1),t[r]+=Io(W-1,n,r);break;case 2:t[r]+=ze(o);break;case 4:if(o===44){t[++r]=ce()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Ue(o)}while(o=B());return t},Lo=function(t,n){return $t(Ro(Ot(t),n))},_r=new WeakMap,Po=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!_r.get(r))&&!o){_r.set(t,!0);for(var s=[],c=Lo(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]}}},No=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Er(e,t){switch(sr(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+ct+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(V(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"+ct+(N(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~at(e,"stretch")?Er($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(N(e,t+1)!==115)break;case 6444:switch(N(e,V(e)-3-(~at(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 jo=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case We:t.return=Er(t.value,t.length);break;case kt:return qe([Je(t,{value:$(t.value,"@","@"+I)})],o);case Ve:if(t.length)return sn(t.props,function(s){switch(on(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qe([Je(t,{props:[$(s,/:(read-\w+)/,":"+ct+"$1")]})],o);case"::placeholder":return qe([Je(t,{props:[$(s,/:(plac\w+)/,":"+I+"input-$1")]}),Je(t,{props:[$(s,/:(plac\w+)/,":"+ct+"$1")]}),Je(t,{props:[$(s,/:(plac\w+)/,q+"input-$1")]})],o)}return""})}},Do=[jo],vr=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(E){var g=E.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var o=t.stylisPlugins||Do,s={},c,a=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(E){for(var g=E.getAttribute("data-emotion").split(" "),_=1;_<g.length;_++)s[g[_]]=!0;a.push(E)});var u,f=[Po,No];{var l,p=[gr,wr(function(E){l.insert(E)})],y=br(f.concat(o,p)),m=function(g){return qe(yr(g),y)};u=function(g,_,h,w){l=h,m(g?g+"{"+_.styles+"}":_.styles),w&&(d.inserted[_.name]=!0)}}var d={key:n,sheet:new tr({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 d.sheet.hydrate(a),d};function Tr(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 kr={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 Mo=!1,Uo=/[A-Z]|^ms/g,qo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$r=function(t){return t.charCodeAt(1)===45},Sr=function(t){return t!=null&&typeof t!="boolean"},an=xr(function(e){return $r(e)?e:e.replace(Uo,"-$&").toLowerCase()}),Cr=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(qo,function(r,o,s){return xe={name:o,styles:s,next:xe},o})}return kr[t]!==1&&!$r(t)&&typeof n=="number"&&n!==0?n+"px":n},Fo="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ft(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 xe={name:o.name,styles:o.styles,next:xe},o.name;var s=n;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)xe={name:c.name,styles:c.styles,next:xe},c=c.next;var a=s.styles+";";return a}return Ko(e,t,n)}case"function":{if(e!==void 0){var u=xe,f=n(e);return xe=u,ft(e,t,f)}break}}var l=n;if(t==null)return l;var p=t[l];return p!==void 0?p:l}function Ko(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ft(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]+"}":Sr(a)&&(r+=an(s)+":"+Cr(s,a)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&Mo)throw new Error(Fo);if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var u=0;u<c.length;u++)Sr(c[u])&&(r+=an(s)+":"+Cr(s,c[u])+";");else{var f=ft(e,t,c);switch(s){case"animation":case"animationName":{r+=an(s)+":"+f+";";break}default:r+=s+"{"+f+"}"}}}}return r}var Or=/label:\s*([^\s;{]+)\s*(;|$)/g,xe;function It(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="";xe=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=ft(n,t,s);else{var c=s;o+=c[0]}for(var a=1;a<e.length;a++)if(o+=ft(n,t,e[a]),r){var u=s;o+=u[a]}Or.lastIndex=0;for(var f="",l;(l=Or.exec(o))!==null;)f+="-"+l[1];var p=Tr(o)+f;return{name:p,styles:o,next:xe}}var Vo=!0;function un(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var Wo=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Vo===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},Ar=function(t,n,r){Wo(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 Ir(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function Rr(e,t,n){var r=[],o=un(e,r,n);return r.length<2?n:o+t(r)}var Lr=function(t){var n=vr(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=It(f,n.registered,void 0);return Ar(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=It(f,n.registered),y="animation-"+p.name;return Ir(n,{name:p.name,styles:"@keyframes "+y+"{"+p.styles+"}"}),y},s=function(){for(var u=arguments.length,f=new Array(u),l=0;l<u;l++)f[l]=arguments[l];var p=It(f,n.registered);Ir(n,p)},c=function(){for(var u=arguments.length,f=new Array(u),l=0;l<u;l++)f[l]=arguments[l];return Rr(n.registered,r,Bo(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:un.bind(null,n.registered),merge:Rr.bind(null,n.registered,r)}},Bo=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var c in o)o[c]&&c&&(s&&(s+=" "),s+=c)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n};var _e=Lr({key:"css"}),Xo=_e.flush,Yo=_e.hydrate,Go=_e.cx,Ho=_e.merge,Jo=_e.getRegisteredStyles,Zo=_e.injectGlobal,zo=_e.keyframes,ln=_e.css,Qo=_e.sheet,ei=_e.cache;var hn={};oe(hn,{Children:()=>Fe,Fragment:()=>Nr,Portal:()=>jr,deepEqual:()=>fn,eval_num:()=>ci,findDOMNode:()=>ni,forwardRef:()=>pn,getComponentByPointer:()=>ri,id_num:()=>si,isAsync:()=>oi,isClass:()=>Dt,isEmpty:()=>J,isError:()=>ii,isThenable:()=>Mt,isValidComponent:()=>et,isValidElement:()=>ti,shallowEqual:()=>ie,toBool:()=>Ut});var[x,Qe,X,Pr,pe,Ee,Ie,Rt,he,Lt,Pt,ht,Nt,jt]=[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 ve=e=>{let t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},et=e=>e[x]!==void 0||e[TEXT]!==void 0,ti=et,ni=e=>{var t,n;if(!((n=(t=e[x])==null?void 0:t.element)!=null&&n.parentNode))throw new Error("findDOMNode only works on mounted components.");return e[x].element};function Nr({children:e}){return e}Nr.displayName="Fragment";function jr({children:e,view:t}){return this[x].portal=t,e}jr.displayName="Portal";var Fe={_isNil(e){return e==null},_flattenInto(e,t){if(!this._isNil(t)){if(Array.isArray(t)){for(let n of t)this._flattenInto(e,n);return}e.push(t)}},toArray(e){let t=[];if(!e)return t;for(let n of e)this._flattenInto(t,n);return t},count(e){return this.toArray(e).length},only(e){let t=this.toArray(e);if(t.length!==1)throw new Error(t.length===0?"Expected exactly one child, but received none.":"Expected exactly one child, but received more than one.");return t[0]},map(e,t){let n=this.toArray(e),r=[];for(let o=0;o<n.length;o++)r.push(t(n[o],o));return r},forEach(e,t){let n=this.toArray(e);for(let r=0;r<n.length;r++)t(n[r],r)},find(e,t){let n=this.toArray(e);for(let r=0;r<n.length;r++)if(t(n[r],r))return n[r]},pickOne(e,t){let n=this.toArray(e),r,o=0;for(let s=0;s<n.length&&!(t(n[s],s)&&(o++,r=n[s],o>1));s++);if(o!==1)throw new Error(o===0?"pickOne expected exactly one matching child, but matched none.":"pickOne expected exactly one matching child, but matched multiple.");return r},first(e){return this.toArray(e)[0]},last(e){let t=this.toArray(e);return t.length?t[t.length-1]:void 0}},pn=e=>{let t=function(n,r){return e({...n,ref:void 0},r)};return t.displayName="Forwarded "+e.displayName,t};function ri(){let e,t=new Promise((r,o)=>{e=r});function n(r){r.stopImmediatePropagation(),window.removeEventListener("click",n,!0);let o=r.target;for(;!o[Qe]&&o.parentNode;)o=o.parentNode;return e(o[Qe]),!1}return window.addEventListener("click",n,!0),t}function J(e){for(let t in e)return!1;return!0}var ie=(e,t,n)=>ve(e)!==ve(t)?!1:ve(e)==="array"?e.length!==t.length?!1:e.every((r,o)=>r===t[o]||o===n):ve(e)==="object"?Object.keys(e).every(r=>e[r]===t[r]||r===n):ve(e)==="date"?e.getTime()===t.getTime():e===t;function fn(e,t){return ve(e)!==ve(t)?!1:ve(e)==="array"?e.length!==t.length?!1:e.every((n,r)=>fn(n,t[r])):ve(e)==="object"?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>fn(e[n],t[n])):ve(e)==="date"?e.getTime()===t.getTime():e===t}function Dt(e){return!(e&&e.constructor===Function)||e.prototype===void 0?!1:Function.prototype!==Object.getPrototypeOf(e)?!0:Object.getOwnPropertyNames(e.prototype).length>1}function oi(e){return typeof e=="function"&&e.constructor&&e.constructor.name==="AsyncFunction"}function Mt(e){return e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}function ii(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}function Ut(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 si=Math.floor(Math.random()*1e4),ci=0;function Y(e){return e==null}function F(e){return e||"<<anonymous>>"}function ai(e){return e&&(e.displayName||e.name)||"Unknown"}function Dr(e){return e==null||e===!1||e===!0||typeof e=="string"||typeof e=="number"||et(e)?!0:Array.isArray(e)?e.every(Dr):!1}function ui(e){return typeof e=="function"||typeof e=="string"}function de(e){let t=function(r,o,s,c,a,u){let f=r[o];if(Y(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 \`${F(s)}\`, expected \`${l}\`.`)};return t.isRequired=function(r,o,s,c,a){let u=r[o];return Y(u)?new Error(`The ${c} \`${a}\` is marked as required in \`${F(s)}\`, but its value is \`${u}\`.`):t(r,o,s,c,a)},t}function li(){let e={};e.any=(function(){let r=function(s,c,a,u,f){return null};return r.isRequired=function(){return null},r})(),e.array=de(r=>Array.isArray(r)),e.array.expectedType="array",e.bool=de(r=>typeof r=="boolean"),e.bool.expectedType="boolean",e.func=de(r=>typeof r=="function"),e.func.expectedType="function",e.number=de(r=>typeof r=="number"&&!Number.isNaN(r)),e.number.expectedType="number",e.object=de(r=>typeof r=="object"&&r!==null&&!Array.isArray(r)),e.object.expectedType="object",e.string=de(r=>typeof r=="string"),e.string.expectedType="string",e.symbol=de(r=>typeof r=="symbol"),e.symbol.expectedType="symbol",e.component=de(r=>et(r)),e.component.expectedType="component",e.element=de(r=>et(r)),e.element.expectedType="element",e.node=de(r=>Dr(r)),e.node.expectedType="node",e.elementType=de(r=>ui(r)),e.elementType.expectedType="elementType",e.oneOf=function(o){let s=Array.isArray(o)?o:[],c=function(u,f,l,p,y){let m=u[f];if(Y(m))return null;for(let E=0;E<s.length;E++)if(m===s[E])return null;let d=m===null?"null":typeof m;return new Error(`Invalid ${p} \`${y}\` of value \`${String(m)}\` supplied to \`${F(l)}\`, expected one of [${s.map(String).join(", ")}] (received type \`${d}\`).`)};return c.isRequired=function(u,f,l,p,y){return Y(u[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${F(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,y)},c},e.oneOfType=function(o){let s=o||[],c=function(u,f,l,p,y){let m=u[f];if(Y(m))return null;for(let d=0;d<s.length;d++)if(s[d](u,f,l,p,y)===null)return null;return new Error(`Invalid ${p} \`${y}\` supplied to \`${F(l)}\` (none of the allowed types matched).`)};return c.isRequired=function(u,f,l,p,y){return Y(u[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${F(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,y)},c},e.arrayOf=function(o){let s=o,c=function(u,f,l,p,y){let m=u[f];if(Y(m))return null;if(!Array.isArray(m))return new Error(`Invalid ${p} \`${y}\` of type \`${typeof m}\` supplied to \`${F(l)}\`, expected an array.`);for(let d=0;d<m.length;d++){let E=`${y}[${d}]`,g=s({[f]:m[d]},f,l,p,E);if(g!==null)return g}return null};return c.isRequired=function(u,f,l,p,y){return Y(u[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${F(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,y)},c},e.objectOf=function(o){let s=o,c=function(u,f,l,p,y){let m=u[f];if(Y(m))return null;if(typeof m!="object"||m===null||Array.isArray(m))return new Error(`Invalid ${p} \`${y}\` of type \`${typeof m}\` supplied to \`${F(l)}\`, expected an object.`);let d=Object.keys(m);for(let E=0;E<d.length;E++){let g=d[E],_=`${y}.${g}`,h=s({[f]:m[g]},f,l,p,_);if(h!==null)return h}return null};return c.isRequired=function(u,f,l,p,y){return Y(u[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${F(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,y)},c};function t(r,{exact:o}){let s=r?Object.keys(r):[],c=function(u,f,l,p,y){let m=u[f];if(Y(m))return null;if(typeof m!="object"||m===null||Array.isArray(m))return new Error(`Invalid ${p} \`${y}\` of type \`${typeof m}\` supplied to \`${F(l)}\`, expected an object.`);if(o){let E=Object.keys(m);for(let g=0;g<E.length;g++){let _=E[g];if(!Object.prototype.hasOwnProperty.call(r,_)){let h=`${y}.${_}`;return new Error(`Invalid ${p} \`${h}\` supplied to \`${F(l)}\`: extra key \`${_}\` is not allowed by exact().`)}}}for(let E=0;E<s.length;E++){let g=s[E],_=r[g],h=m[g],w=`${y}.${g}`;if(Y(h)){let S=_({[f]:h},f,l,p,w);if(S!==null)return S;continue}let A=_({[f]:h},f,l,p,w);if(A!==null)return A}return null};return c.isRequired=function(u,f,l,p,y){return Y(u[f])?new Error(`The ${p} \`${y}\` is marked as required in \`${F(l)}\`, but its value is \`${u[f]}\`.`):c(u,f,l,p,y)},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 y=a[u];return Y(y)||y instanceof o?null:new Error(`Invalid ${l} \`${p}\` supplied to \`${F(f)}\`: expected instance of \`${ai(o)}\`.`)};return s.isRequired=function(a,u,f,l,p){return Y(a[u])?new Error(`The ${l} \`${p}\` is marked as required in \`${F(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){},e}var Mr=li();var yn={};oe(yn,{Component:()=>Re,HTMLComponent:()=>mt,RootComponent:()=>qt,boolean_html_attributes_set:()=>Br,capture_events_set:()=>Kt,cloneComponent:()=>Kr,cloneElement:()=>gi,createComponent:()=>mn,createElement:()=>xi,createPortal:()=>yi,createRoot:()=>Fr,current_component:()=>_i,effect_timeout:()=>$i,events_set:()=>Ft,insertion_effects:()=>Si,layout_effects:()=>ki,length_css_attributes_set:()=>Wr,memo:()=>wi,passive_effects:()=>Ci,processEffects:()=>qr,render:()=>bi,roots:()=>Ti,special_attributes:()=>Vr,update_cbs:()=>vi,update_interval_margin:()=>Ai,update_set:()=>Ei,update_timeout:()=>Oi});var fi="http://www.w3.org/2000/svg",dn=class{constructor(t){H(this,"owner");H(this,"current_map",new Map);H(this,"new_map",new Map);H(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[pe]?(r=o[o[pe]],o[pe]++,o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[pe]=0)):(r=n(),o=this.new_map.get(t),o!==void 0?o.push(r):(o=[r],this.new_map.set(t,o),o[pe]=0),r[x]&&((c=(s=r[x]).parent)!=null||(s.parent=this.owner))),r}commit(){this.current_map.forEach(t=>{t.slice(t[pe]).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}},dt=class{constructor(t,n){H(this,"component");H(this,"props");this.component=t,this.props=n||{}}apply(t=this.props,n=this.next_state||this.state){var o,a,u,f,l,p,y,m,d;let r=!0;if(this.outlet&&(this!=null&&this[Ie])&&ie(this.props,t,"children")&&ie((o=this.props)==null?void 0:o.children,t==null?void 0:t.children)&&(r=!1),r){if(typeof n=="function"&&(n=n(this.state)),this.component.constructor.defaultProps&&(t={...this.component.constructor.defaultProps,...t}),((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,...(y=(p=this.parent.component).getChildContext)==null?void 0:y.call(p)}),this.component.shouldComponentUpdate&&!this.component.shouldComponentUpdate(n,t,this.context))return;typeof this.entity=="string"&&(this.element instanceof Element||(this.is_svg||this.container.is_svg?(this.is_svg=!0,this.element=document.createElementNS(fi,this.entity)):this.element=document.createElement(this.entity),t!=null&&t.defaultValue&&(this.element.value=String(t.defaultValue).slice(0,t==null?void 0:t.maxLength)),t!=null&&t.defaultChecked&&(this.element.checked=t.defaultChecked)),this.element[Qe]=this.component),t.ref&&(typeof t.ref=="function"?t.ref(this.element||this.component):t.ref.current=this.element||this.component),t!==void 0&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps(t),this.component.componentWillUpdate&&this.component.componentWillUpdate(t,n);let E=this.state,g=this.props;if(this.element&&this.updateElementProps(t),this.props=t,typeof this.next_state=="object")this.state?Object.assign(this.state,n):this.state={...n};else if(this.next_state!==void 0)throw new Error("Component.setState only accepts objects or functions is new state.");if(this.next_state&&delete this.next_state,this.hooks!==void 0){this.hook_index=0,v.current_component=[this,v.current_component];try{this.outlet=this.component.render(t,{current:this.element||this.component})}catch(_){Ur(this,_)}v.current_component=v.current_component[1]}else try{this.outlet=this.component.render({current:this.element||this.component})}catch(_){Ur(this,_)}this!=null&&this.portal&&(this.element=this.portal),((d=(m=this.outlet)==null?void 0:m.constructor)==null?void 0:d.name)!=="Array"&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let _=0;_<this.outlet.length;_++){let h=this.outlet[_];if(h==null||typeof h=="boolean")this.outlet.splice(_,1),_--;else if(typeof h=="function"){let w=this.childFunctionHandler(h);this.outlet.splice(_,1,w),_--}else if(h.constructor.name==="Array")this.outlet.splice(_,1,...h),_--;else{let w=hi(this,h);this.outlet[_]=w,w[X]===void 0?(w.container=this.element?this:this.container,w.apply(h.props)):w.element?w[X]!==h[X]&&(w.element.textContent=h[X],w[X]=h[X]):(w.element=document.createTextNode(h[X]),w[X]=h[X])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(g,E,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}}async cleanup(){var t,n,r;try{let o=[];if((t=this.props)!=null&&t.ref&&(typeof this.props.ref=="function"?this.props.ref(null):this.props.current=null),this.component.componentWillUnmount&&this.component.componentWillUnmount(),(n=this==null?void 0:this.element)!=null&&n.parentElement&&!this.portal&&this.element.parentElement.removeChild(this.element),this.outlet!==void 0)for(let s of this.outlet)s.cleanup&&s.cleanup();if(((r=this.props)==null?void 0:r.children)!==void 0)for(let s of this.props.children)s.cleanup&&s.cleanup();if(this.hooks!==void 0)for(let s of this.hooks)s.cleanup&&s.cleanup()}catch(o){throw o}}updateElementProps(t,n=!1){var r,o,s,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)||(Ft.has(p)?this.event_detachers[p]():this.element.setAttribute(l,void 0))}for(let l in t){let p=l.toLowerCase();if(!Vr.has(p)&&(t===this.props||!v.defaultIsEqual(t[l],this.props[l])||n))if(Ft.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(Kt.hasOwnProperty(p)){let y=Kt[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,y.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 y in this.props.style)t.style.hasOwnProperty(y)||(this.element.style[y]="");for(let y in t.style)Wr.has(y)&&isFinite(t.style[y])&&(t.style[y]+="px");Object.assign(this.element.style,t.style)}else Br.has(l)?this.element[l]=Ut(t[l]):l==="autoFocus"?this.element.autofocus=Ut(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[Ee]&&(n+=" "+((o=this==null?void 0:this.parent)==null?void 0:o[Ee])),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][Pr]&&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)}},Ur=(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 pi(e,t){let n=e;if(e[X]===void 0){let r=e.entity,o=!1;if(typeof r=="object")if(r[Ie])o=r[Ie],r=r.component;else throw new Error("Invalid component.");if(typeof r=="string")n=new mt(r,e.props);else{if(Dt(r)){r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new r(e.props);let s=Object.getOwnPropertyDescriptor(n,"state");s&&typeof s.get!="function"&&typeof s.set!="function"&&(n[x].state=n.state,Object.defineProperty(n,"state",{get(){return this[x].state},set(c){if(this[x].state===void 0)this[x].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[x].hooks=[],n[x].hook_index=0;else throw new Error("Error in constructing component.");n[x].entity=r,e.container&&(n[x].container=e.container)}o&&(n[x][Ie]=!0)}return t instanceof dt&&(n[x].parent=t),n}function hi(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new dn(e)),t=e.cache.pick(t[X]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[X]!==void 0||t instanceof dt?t:pi(t,e)[x]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function di(){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();qr()}function qr(){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 mi=(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[X]!==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[x].state}set state(t){if(this[x].state===void 0)this[x].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[x].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[x].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[x].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[x].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[x].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[x].entity)!=null&&t.displayName?(n=this[x].entity)==null?void 0:n.displayName:typeof this[x].entity=="string"?this[x].entity:(Dt(this[x].entity)&&this[x].entity.constructor.name,typeof this[x].entity=="function"?this[x].entity.name:"Component")}constructor(t){this[x]=new dt(this,t)}forceUpdate(t){v.clearTimeout(v.update_timeout),v.update_set.add(this[x].container||this[x]),t&&v.update_cbs.add(t.bind(this)),v.update_timeout=v.setTimeout(di,v.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[x].last_snapshot=this.getSnapshotBeforeUpdate(this[x].props,this.state)),this[x].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},mt=class extends Re{constructor(t,n){super(n),this[x].entity=t,t==="svg"&&(this[x].is_svg=!0)}render(){return this[x].props.children}},qt=class extends mt{constructor(n,r){super(":root:",r);H(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[x].element=n;for(let o of r.children)o[x]?o[x].container=this[x]:o.container=this[x]}};function mn(e,t={},...n){if(typeof e!="string"&&typeof e!="function"&&(typeof e!="object"||!e[Ie]))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]={[X]:o}:n[r]=o}return t.key=mi(e,t),t.children=n,{entity:e,props:t,[x]:null}}function Fr(e){let t;return{render(n){if(t)throw new Error("root already rendered!");return t=new qt(e,{children:[n]}),v.roots.add(t[x]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function yi(e,t){return mn(v.Portal,{view:t},e)}function Kr(e,t,...n){return{entity:e.entity,props:{...e.props,...t,children:n},[x]:null}}var gi=Kr;function bi(e,t){if(e[x]&&(e[x].container||e[x].parent))throw new Error("Component is already in use");return Fr(t).render(e)}function wi(e){return typeof e=="object"?e[Ie]=!0:e={component:e,[Ie]:!0,[x]:null},e}var xi=mn,_i=[],Ei=new Set,vi=new Set,Ti=new Set,ki=new Set,Si=new Set,Ci=new Set,Oi,$i,Ai=0,Vr=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Ft=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"]),Kt={};for(let e of Ft)Kt[e+"capture"]=e;var Wr=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"]),Br=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var bn={};oe(bn,{createContext:()=>tt,startTransition:()=>Mi,useActionState:()=>Pi,useCallback:()=>me,useContext:()=>nt,useDebugValue:()=>Di,useDeferredValue:()=>ji,useEffect:()=>z,useHook:()=>se,useId:()=>Ii,useImperativeHandle:()=>gn,useInsertionEffect:()=>Li,useLayoutEffect:()=>Le,useLocalStorage:()=>Ri,useMemo:()=>yt,useReducer:()=>Ni,useRef:()=>L,useState:()=>Z,useTransition:()=>Xr});function se(){let e=v.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function Z(e){let t=se();return J(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 me(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=se();return!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function tt(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function nt(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 Ii(e="N"){let t=se();return J(t)&&(t.id=e+v.id_num++),t.id}function Xr(){let e=se();return J(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 Ri(e,t){let n=se(),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)),J(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=se();return J(t)&&(t.current=e),t}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=se();!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.layout_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function z(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=se();!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.passive_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function Li(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Insertion effect dependencies must be an array, object, or omitted.");let n=se();!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.insertion_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function yt(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=se();return!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n.deps=t,n.value=e()),n.value}function Pi(e,t){let n=se(),[r,o]=Xr();return J(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 Ni(e,t,n){let r=se();return J(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 ji(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 gn(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&ie(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}function Di(e,t=n=>n){}function Mi(e){e()}var wn={};oe(wn,{lazy:()=>qi,require:()=>Yr,required_scripts:()=>Te,run:()=>gt,runScripts:()=>Ki});function Ui(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 Te={};function gt(jsx,path=`InlineJSX-${++v.eval_num}`,is_inline=!0){let mappings=[],module={mappings,is_inline,path,code:jsx,exports:{}},processed;Te[path]=module;try{processed=v.transpileJSX(jsx,{path,mappings,factory:"createComponent",appendSourcemap:!1,blocks_info:v.blocks_info,injectTraceLabels:!0,produceCJS:!0})}catch(e){throw v.error=e,e}processed+=`
|
|
59
|
-
//# sourceURL=eval:/`+path,v.scanBlockLabels(processed,path);try{globalThis.Lilact=v,globalThis.createComponent=v.createComponent,globalThis.Fragment=v.Fragment;let res=eval(processed);return module.exports?module.exports:res}catch(e){throw e=v.traceError(e),e}}function Yr(e){var s,c,a,u,f,l;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(Te[e]&&!t)return Te[e].exports;if(e[0]==="#"){let p=document.getElementById(e);if(p)return gt(p.innerText,e)}else{if(r&&r.path&&(e=Ui(r.path,e)),(l=v)!=null&&l[Rt]||o)return v[Rt]=!1,fetch(e).then(p=>{if(!p.ok)throw new Error(`HTTP ${p.status}`);return p.text()}).then(p=>{var y;return p=gt(p,e,!1),(y=p==null?void 0:p.default)!=null?y:p}).catch(p=>{throw p});{let p=new XMLHttpRequest;if(p.open("GET",e,!1),p.send(null),p.status===200)return gt(p.responseText,e,!1)}}throw new Error(`Required resource not found (${e})`)}function qi(e){let t="pending",n;v[Rt]=!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 Fi(){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 Ki(){let e=Fi();for(let t of e)t.src&&Yr(t.src),t.content&>(t.content)}var kn={};oe(kn,{CSSTransition:()=>Hr,SwitchTransition:()=>ts,Transition:()=>Gr,TransitionGroup:()=>ns});var En={};oe(En,{animationFramePromise:()=>es,clearInterval:()=>Ji,clearTimeout:()=>ae,grabTimers:()=>Zi,pauseTimers:()=>Yi,releaseTimers:()=>zi,resetTimers:()=>Xi,resumeTimers:()=>Gi,setInterval:()=>Hi,setTimeout:()=>je,timeoutPromise:()=>Qi});var rt,bt=-1,Q=[],Pe=-1,Ne={},Vt=window.setTimeout,Vi=window.setInterval,wt=window.clearTimeout,Wi=window.clearInterval;function Bi(e){let t=0,n=Q.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=Q[o][he];if(s===e)return[o,Q[o]];s<e?t=o+1:n=o-1}let r=[];return r[he]=e,Q.splice(t,0,r),[t,r]}function xn(e,t=!1){let[n,r]=Bi(e[he]);return t||(bt++,Ne[bt]=e,e[pe]=bt),r.push(e),Q[0][0]===e&&(wt(Pe),Pe=Vt(_n,e[ht])),bt}function _n(){let e=Date.now(),t=0,n=Q[t];for(;n&&n[he]-e<=0;){for(let r of n)r[Pt]?delete Ne[r[pe]]:(r[Nt](...r[jt]),r[Lt]?(r[he]=Date.now()+r[ht],xn(r,!0)):delete Ne[r[pe]]);t++,n=Q[t]}Q.splice(0,t),Q.length>0&&(wt(Pe),Pe=Vt(_n,Q[0][he]-e))}function Xi(){wt(Pe),rt=void 0,bt=-1,Q=[],Pe=-1,Ne={}}function Yi(){wt(Pe),rt=Date.now()}function Gi(){if(rt){if(Q.length>0){let e=Date.now();rt-=e;for(let t of Q)t[he]-=rt;Pe=Vt(_n,Q[0][he]-e)}rt=void 0}}function je(e,t,...n){return xn({[Nt]:e,[ht]:t,[he]:Date.now()+t,[Lt]:!1,[jt]:n})}function Hi(e,t,...n){return xn({[Nt]:e,[ht]:t,[he]:Date.now()+t,[Lt]:!0,[jt]:n})}function ae(e){Ne[e]&&(Ne[e][Pt]=!0)}function Ji(e){Ne[e]&&(Ne[e][Pt]=!0)}function Zi(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function zi(){globalThis.setTimeout=Vt,globalThis.setInterval=Vi,globalThis.clearTimeout=wt,globalThis.clearInterval=Wi}function Qi(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 es(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var vn="unmounted",Wt="exited",xt="entering",_t="entered",Tn="exiting";function Gr({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:y}){var m,d,E,g,_,h;return(d=(m=this[x]).is_mounted)!=null||(m.is_mounted=!n||e||o),(g=(E=this[x]).is_appeared)!=null||(E.is_appeared=e),(h=(_=this[x]).timer)!=null||(_.timer=null),this[x].childFunctionHandler=w=>w(this[x].mount_state),this[x].mount_state||(this[x].is_mounted||(this[x].mount_state=vn),e?this[x].mount_state=o&&!this[x].is_appeared?xt:_t:this[x].mount_state=Wt),z(()=>()=>ae(this[x].timer),[]),z(()=>{!this[x].is_appeared&&o&&this[x].mount_state===xt&&e&&(s==null||s(),requestAnimationFrame(()=>{c==null||c(!this[x].is_appeared),ae(this[x].timer),this[x].timer=je(()=>{this[x].mount_state=_t,this.forceUpdate(),this[x].is_appeared=!0,a==null||a(!this[x].is_appeared)},t)}))},[]),z(()=>{if(e){if(this[x].is_mounted=!0,this[x].mount_state===xt||this[x].mount_state===_t)return;s==null||s(!this[x].is_appeared),this[x].mount_state=xt,this.forceUpdate(()=>{c==null||c(!this[x].is_appeared),ae(this[x].timer),this[x].timer=je(()=>{this[x].mount_state=_t,this.forceUpdate(),this[x].is_appeared=!0,a==null||a()},t)})}else{if(this[x].mount_state===vn||this[x].mount_state===Tn||this[x].mount_state===Wt)return;u==null||u(),this[x].mount_state=Tn,this.forceUpdate(()=>{f==null||f(),ae(this[x].timer),this[x].timer=je(()=>{this[x].mount_state=Wt,this.forceUpdate(),l==null||l(),r&&(this[x].is_mounted=!1,this[x].mount_state=vn,this.forceUpdate())},t)})}},[e,t]),this[x].is_mounted?(y&&(this[x].mount_state===xt?this[x].is_appeared?this[x][Ee]=y.appearActive:this[x][Ee]=y.enterActive:this[x].mount_state===_t?this[x].is_appeared?this[x][Ee]=y.appearDone:this[x][Ee]=y.enterDone:this[x].mount_state===Tn?this[x][Ee]=y.exitActive:this[x].mount_state===Wt&&(this[x][Ee]=y.exitDone)),p):null}function Hr({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:y}){return typeof n=="string"&&(n={appear:`${n}-enter ${n}-appear`,appearActive:`${n}-enter-active ${n}-appear-active`,appearDone:`${n}-enter-done ${n}-appear-done`,enter:`${n}-enter`,enterActive:`${n}-enter-active`,enterDone:`${n}-enter-done`,exit:`${n}-exit`,exitActive:`${n}-exit-active`,exitDone:`${n}-exit-done`}),createComponent(Gr,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:a,onEntering:u,onEntered:f,onExit:l,onExiting:p,onExited:y,_classNames:n},c)}function ts({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,...y}){let m=yt(()=>Fe.toArray(e),[e]),[d,E]=Z(null),[g,_]=Z(!1),[h,w]=Z(!0),A=L(t),S=L(t),T=L(d);Le(()=>{S.current=t},[t]),Le(()=>{T.current=d},[d]),Le(()=>{let C=A.current;C!==t&&(A.current=t,E(C),n==="out-in"?(w(!1),_(!0)):(w(!0),_(!1)))},[t,n]);let k=C=>(ee,te)=>{typeof u=="function"&&u(ee,te),C===T.current&&(E(null),n==="out-in"&&(_(!1),w(!0)),n==="in-out"&&_(!1))},P=C=>(ee,te)=>{typeof p=="function"&&p(ee,te),n==="in-out"&&C===S.current&&T.current!=null&&_(!0)};return createComponent("div",{style:{position:"relative"}},m.map((C,ee)=>{var De;let te=((De=C==null?void 0:C.props)==null?void 0:De.key)||ee,vt=te===t?h:te===d?!g:!1;return createComponent(Hr,{...y,key:te,in:vt,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:c,appear:a,onEnter:f,onExiting:l,onEntered:P(te),onExited:k(te)},createComponent("div",{style:{position:"absolute",inset:0}},C))}))}function ns({children:e}){return e}var Sn={};oe(Sn,{addWrappedEventListener:()=>is,createSyntheticEvent:()=>Jr,releaseSyntheticEvent:()=>Zr,wrapListener:()=>zr});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 Bt=[],rs=10,os=["mouse","pen","touch"];function Jr(e,t){var r,o,s,c,a,u,f,l,p,y,m,d,E,g,_,h,w,A,S,T,k,P;let n=Bt.length?Bt.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=(y=e.screenX)!=null?y:0,n.screenY=(m=e.screenY)!=null?m:0,n.pageX=(d=e.pageX)!=null?d:null,n.pageY=(E=e.pageY)!=null?E:null,n.movementX=(g=e.movementX)!=null?g:0,n.movementY=(_=e.movementY)!=null?_:0,n.pressure=(h=e.pressure)!=null?h:null,n.tiltX=(w=e.tiltX)!=null?w:null,n.tiltY=(A=e.tiltY)!=null?A:null,n.width=(S=e.width)!=null?S:null,n.height=(T=e.height)!=null?T:null,n.pointerEventsSupported=os.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 Zr(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,Bt.length<rs&&Bt.push(e))}function zr(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,c=Jr(o,s);try{let a=e(c);n&&a===!0&&c.stopPropagation()}finally{Zr(c)}}}function is(e,t,n,r={}){let o=zr(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var Cn={};oe(Cn,{Provider:()=>ss,combineReducers:()=>us,connect:()=>as,useDispatch:()=>cs,useSelector:()=>Qr,useStore:()=>Xt});var Et;function ss({store:e,children:t}){return Et!=null||(Et=tt(null)),createComponent(Et.Provider,{value:e},t)}function Xt(){let e=nt(Et);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function cs(){return Xt().dispatch}function Qr(e,t=(n,r)=>n===r){let n=Xt(),r=L(),o=L(e);o.current=e;let[s,c]=Z(()=>e(n.getState()));return r.current=s,z(()=>{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 as(e,t){let n=!!e;return function(o){function s(c){let a=Xt(),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 y in t){let m=t[y];u[y]=(...d)=>p(m(...d))}}let f={};e&&(f=Qr(y=>e(y,c),ie)||{});let l={...c,...f,...u};return createComponent(o,{...l})}return s}}function us(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 On={};oe(On,{blocks_info:()=>ds,error:()=>ms,globalErrorHandler:()=>hs,scanBlockLabels:()=>ps,traceError:()=>no});function eo(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 ls(e,t="eval:/"){let r=(typeof e=="string"?e:String(e||"")).split(/\r?\n/),o=new RegExp(`\\(?((?:${fs(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(`
|
|
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 pi(e,t){let n=e;if(e[X]===void 0){let r=e.entity,o=!1;if(typeof r=="object")if(r[Ie])o=r[Ie],r=r.component;else throw new Error("Invalid component.");if(typeof r=="string")n=new mt(r,e.props);else{if(Dt(r)){r!=null&&r.defaultProps&&(e.props={...r.defaultProps,...e.props}),n=new r(e.props);let s=Object.getOwnPropertyDescriptor(n,"state");s&&typeof s.get!="function"&&typeof s.set!="function"&&(n[x].state=n.state,Object.defineProperty(n,"state",{get(){return this[x].state},set(c){if(this[x].state===void 0)this[x].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[x].hooks=[],n[x].hook_index=0;else throw new Error("Error in constructing component.");n[x].entity=r,e.container&&(n[x].container=e.container)}o&&(n[x][Ie]=!0)}return t instanceof dt&&(n[x].parent=t),n}function hi(e,t){var n,r,o;try{return(n=e.cache)!=null||(e.cache=new dn(e)),t=e.cache.pick(t[X]===void 0?(r=t==null?void 0:t.props)==null?void 0:r.key:":text:",()=>t[X]!==void 0||t instanceof dt?t:pi(t,e)[x]),t}catch(s){if((o=t==null?void 0:t.component)!=null&&o.componentDidCatch)t.component.componentDidCatch(s);else throw s}}function di(){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();qr()}function qr(){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 mi=(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[X]!==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[x].state}set state(t){if(this[x].state===void 0)this[x].state=t;else throw new Error("Assigning component state this way is not allowed.")}get context(){return this[x].context}set context(t){throw new Error("Assigning component context this way is not allowed.")}get type(){return this[x].entity}set type(t){throw new Error("Component type is immutable.")}get props(){return this[x].props}set props(t){throw new Error("Assigning component props this way is not allowed.")}get ref(){return this[x].ref}set ref(t){throw new Error("Component ref is immutable.")}get key(){return this[x].props.key}set key(t){throw new Error("Component key is immutable.")}displayName(){var t,n;return(t=this[x].entity)!=null&&t.displayName?(n=this[x].entity)==null?void 0:n.displayName:typeof this[x].entity=="string"?this[x].entity:(Dt(this[x].entity)&&this[x].entity.constructor.name,typeof this[x].entity=="function"?this[x].entity.name:"Component")}constructor(t){this[x]=new dt(this,t)}forceUpdate(t){v.clearTimeout(v.update_timeout),v.update_set.add(this[x].container||this[x]),t&&v.update_cbs.add(t.bind(this)),v.update_timeout=v.setTimeout(di,v.update_interval_margin)}setState(t,n){this.getSnapshotBeforeUpdate!==void 0&&(this[x].last_snapshot=this.getSnapshotBeforeUpdate(this[x].props,this.state)),this[x].next_state=t,this.forceUpdate(n?n.bind(this):void 0)}},mt=class extends Re{constructor(t,n){super(n),this[x].entity=t,t==="svg"&&(this[x].is_svg=!0)}render(){return this[x].props.children}},qt=class extends mt{constructor(n,r){super(":root:",r);H(this,"displayName","Root");typeof this.element=="string"&&(n=document.querySelector(n)),this[x].element=n;for(let o of r.children)o[x]?o[x].container=this[x]:o.container=this[x]}};function mn(e,t={},...n){if(typeof e!="string"&&typeof e!="function"&&(typeof e!="object"||!e[Ie]))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]={[X]:o}:n[r]=o}return t.key=mi(e,t),t.children=n,{entity:e,props:t,[x]:null}}function Fr(e){let t;return{render(n){if(t)throw new Error("root already rendered!");return t=new qt(e,{children:[n]}),v.roots.add(t[x]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function yi(e,t){return mn(v.Portal,{view:t},e)}function Kr(e,t,...n){return{entity:e.entity,props:{...e.props,...t,children:n},[x]:null}}var gi=Kr;function bi(e,t){if(e[x]&&(e[x].container||e[x].parent))throw new Error("Component is already in use");return Fr(t).render(e)}function wi(e){return typeof e=="object"?e[Ie]=!0:e={component:e,[Ie]:!0,[x]:null},e}var xi=mn,_i=[],Ei=new Set,vi=new Set,Ti=new Set,ki=new Set,Si=new Set,Ci=new Set,Oi,$i,Ai=0,Vr=new Set(["classname","ref","action","lilact_jsx_loc","children","key","defaultvalue","defaultchecked"]),Ft=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"]),Kt={};for(let e of Ft)Kt[e+"capture"]=e;var Wr=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"]),Br=new Set(["disabled","readOnly","required","checked","multiple","hidden","open","loop","muted","controls","playsInline","allowFullScreen"]);var bn={};oe(bn,{createContext:()=>tt,startTransition:()=>Mi,useActionState:()=>Pi,useCallback:()=>me,useContext:()=>nt,useDebugValue:()=>Di,useDeferredValue:()=>ji,useEffect:()=>z,useHook:()=>se,useId:()=>Ii,useImperativeHandle:()=>gn,useInsertionEffect:()=>Li,useLayoutEffect:()=>Le,useLocalStorage:()=>Ri,useMemo:()=>yt,useReducer:()=>Ni,useRef:()=>L,useState:()=>Z,useTransition:()=>Xr});function se(){let e=v.current_component[0];return e.hooks[e.hook_index]===void 0&&e.hooks.push({}),e.hooks[e.hook_index++]}function Z(e){let t=se();return J(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 me(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=se();return!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,n.callback=e),n.callback}function tt(e){return{default:e,Provider:function({value:n,children:r}){return r}}}function nt(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 Ii(e="N"){let t=se();return J(t)&&(t.id=e+v.id_num++),t.id}function Xr(){let e=se();return J(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 Ri(e,t){let n=se(),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)),J(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=se();return J(t)&&(t.current=e),t}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=se();!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.layout_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function z(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=se();!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.passive_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function Li(e,t=void 0){if(t!==void 0&&(typeof t!="object"||t.constructor.name!=="Array"))throw new Error("Insertion effect dependencies must be an array, object, or omitted.");let n=se();!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n!=null&&n.cleanup&&n.cleanup(),n.deps=t,v.insertion_effects.add(()=>{n.cleanup=e()}),v.clearTimeout(v.effect_timeout),v.setTimeout(v.processEffects,0))}function yt(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=se();return!J(n)&&t!==void 0&&(n==null?void 0:n.deps)!==void 0&&ie(t,n.deps)||(n.deps=t,n.value=e()),n.value}function Pi(e,t){let n=se(),[r,o]=Xr();return J(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 Ni(e,t,n){let r=se();return J(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 ji(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 gn(e,t,n=void 0){n!==void 0&&(e==null?void 0:e.deps)!==void 0&&ie(n,e.deps)||(e.deps=n,typeof(e==null?void 0:e.current)!="object"&&(e.current={}),Object.assign(e.current,t(),0))}function Di(e,t=n=>n){}function Mi(e){e()}var wn={};oe(wn,{lazy:()=>qi,require:()=>Yr,required_scripts:()=>Te,run:()=>gt,runScripts:()=>Ki});function Ui(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 Te={};function gt(jsx,path=`InlineJSX-${++v.eval_num}`,{isInline,isModule}={isInline:!0,isModule:!0}){let mappings=[],module={mappings,isInline,path,code:jsx,exports:{}},processed;Te[path]=module;try{processed=v.transpileJSX(jsx,{path,mappings,factory:"createComponent",appendSourcemap:!1,blocks_info:v.blocks_info,injectTraceLabels:!0,produceCJS:!0})}catch(e){throw v.error=e,e}processed+=`
|
|
59
|
+
//# sourceURL=eval:/`+path,v.scanBlockLabels(processed,path);try{globalThis.Lilact=v,globalThis.createComponent=v.createComponent,globalThis.Fragment=v.Fragment;let res=eval(processed);return isModule&&module.exports?module.exports:res}catch(e){throw e=v.traceError(e),e}}function Yr(e){var s,c,a,u,f,l;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(Te[e]&&!t)return Te[e].exports;if(e[0]==="#"){let p=document.getElementById(e);if(p)return gt(p.innerText,e)}else{if(r&&r.path&&(e=Ui(r.path,e)),(l=v)!=null&&l[Rt]||o)return v[Rt]=!1,fetch(e).then(p=>{if(!p.ok)throw new Error(`HTTP ${p.status}`);return p.text()}).then(p=>{var y;return p=gt(p,e,!1),(y=p==null?void 0:p.default)!=null?y:p}).catch(p=>{throw p});{let p=new XMLHttpRequest;if(p.open("GET",e,{isInline:!1}),p.send(null),p.status===200)return gt(p.responseText,e,!1)}}throw new Error(`Required resource not found (${e})`)}function qi(e){let t="pending",n;v[Rt]=!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 Fi(){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 Ki(){let e=Fi();for(let t of e)t.src&&Yr(t.src),t.content&>(t.content)}var kn={};oe(kn,{CSSTransition:()=>Hr,SwitchTransition:()=>ts,Transition:()=>Gr,TransitionGroup:()=>ns});var En={};oe(En,{animationFramePromise:()=>es,clearInterval:()=>Ji,clearTimeout:()=>ae,grabTimers:()=>Zi,pauseTimers:()=>Yi,releaseTimers:()=>zi,resetTimers:()=>Xi,resumeTimers:()=>Gi,setInterval:()=>Hi,setTimeout:()=>je,timeoutPromise:()=>Qi});var rt,bt=-1,Q=[],Pe=-1,Ne={},Vt=window.setTimeout,Vi=window.setInterval,wt=window.clearTimeout,Wi=window.clearInterval;function Bi(e){let t=0,n=Q.length-1;for(;t<=n;){let o=Math.floor((t+n)/2),s=Q[o][he];if(s===e)return[o,Q[o]];s<e?t=o+1:n=o-1}let r=[];return r[he]=e,Q.splice(t,0,r),[t,r]}function xn(e,t=!1){let[n,r]=Bi(e[he]);return t||(bt++,Ne[bt]=e,e[pe]=bt),r.push(e),Q[0][0]===e&&(wt(Pe),Pe=Vt(_n,e[ht])),bt}function _n(){let e=Date.now(),t=0,n=Q[t];for(;n&&n[he]-e<=0;){for(let r of n)r[Pt]?delete Ne[r[pe]]:(r[Nt](...r[jt]),r[Lt]?(r[he]=Date.now()+r[ht],xn(r,!0)):delete Ne[r[pe]]);t++,n=Q[t]}Q.splice(0,t),Q.length>0&&(wt(Pe),Pe=Vt(_n,Q[0][he]-e))}function Xi(){wt(Pe),rt=void 0,bt=-1,Q=[],Pe=-1,Ne={}}function Yi(){wt(Pe),rt=Date.now()}function Gi(){if(rt){if(Q.length>0){let e=Date.now();rt-=e;for(let t of Q)t[he]-=rt;Pe=Vt(_n,Q[0][he]-e)}rt=void 0}}function je(e,t,...n){return xn({[Nt]:e,[ht]:t,[he]:Date.now()+t,[Lt]:!1,[jt]:n})}function Hi(e,t,...n){return xn({[Nt]:e,[ht]:t,[he]:Date.now()+t,[Lt]:!0,[jt]:n})}function ae(e){Ne[e]&&(Ne[e][Pt]=!0)}function Ji(e){Ne[e]&&(Ne[e][Pt]=!0)}function Zi(){globalThis.setTimeout=Lilact.setTimeout,globalThis.setInterval=Lilact.setInterval,globalThis.clearTimeout=Lilact.clearTimeout,globalThis.clearInterval=Lilact.clearInterval}function zi(){globalThis.setTimeout=Vt,globalThis.setInterval=Vi,globalThis.clearTimeout=wt,globalThis.clearInterval=Wi}function Qi(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 es(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}var vn="unmounted",Wt="exited",xt="entering",_t="entered",Tn="exiting";function Gr({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:y}){var m,d,E,g,_,h;return(d=(m=this[x]).is_mounted)!=null||(m.is_mounted=!n||e||o),(g=(E=this[x]).is_appeared)!=null||(E.is_appeared=e),(h=(_=this[x]).timer)!=null||(_.timer=null),this[x].childFunctionHandler=w=>w(this[x].mount_state),this[x].mount_state||(this[x].is_mounted||(this[x].mount_state=vn),e?this[x].mount_state=o&&!this[x].is_appeared?xt:_t:this[x].mount_state=Wt),z(()=>()=>ae(this[x].timer),[]),z(()=>{!this[x].is_appeared&&o&&this[x].mount_state===xt&&e&&(s==null||s(),requestAnimationFrame(()=>{c==null||c(!this[x].is_appeared),ae(this[x].timer),this[x].timer=je(()=>{this[x].mount_state=_t,this.forceUpdate(),this[x].is_appeared=!0,a==null||a(!this[x].is_appeared)},t)}))},[]),z(()=>{if(e){if(this[x].is_mounted=!0,this[x].mount_state===xt||this[x].mount_state===_t)return;s==null||s(!this[x].is_appeared),this[x].mount_state=xt,this.forceUpdate(()=>{c==null||c(!this[x].is_appeared),ae(this[x].timer),this[x].timer=je(()=>{this[x].mount_state=_t,this.forceUpdate(),this[x].is_appeared=!0,a==null||a()},t)})}else{if(this[x].mount_state===vn||this[x].mount_state===Tn||this[x].mount_state===Wt)return;u==null||u(),this[x].mount_state=Tn,this.forceUpdate(()=>{f==null||f(),ae(this[x].timer),this[x].timer=je(()=>{this[x].mount_state=Wt,this.forceUpdate(),l==null||l(),r&&(this[x].is_mounted=!1,this[x].mount_state=vn,this.forceUpdate())},t)})}},[e,t]),this[x].is_mounted?(y&&(this[x].mount_state===xt?this[x].is_appeared?this[x][Ee]=y.appearActive:this[x][Ee]=y.enterActive:this[x].mount_state===_t?this[x].is_appeared?this[x][Ee]=y.appearDone:this[x][Ee]=y.enterDone:this[x].mount_state===Tn?this[x][Ee]=y.exitActive:this[x].mount_state===Wt&&(this[x][Ee]=y.exitDone)),p):null}function Hr({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:y}){return typeof n=="string"&&(n={appear:`${n}-enter ${n}-appear`,appearActive:`${n}-enter-active ${n}-appear-active`,appearDone:`${n}-enter-done ${n}-appear-done`,enter:`${n}-enter`,enterActive:`${n}-enter-active`,enterDone:`${n}-enter-done`,exit:`${n}-exit`,exitActive:`${n}-exit-active`,exitDone:`${n}-exit-done`}),createComponent(Gr,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:s,onEnter:a,onEntering:u,onEntered:f,onExit:l,onExiting:p,onExited:y,_classNames:n},c)}function ts({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,...y}){let m=yt(()=>Fe.toArray(e),[e]),[d,E]=Z(null),[g,_]=Z(!1),[h,w]=Z(!0),A=L(t),S=L(t),T=L(d);Le(()=>{S.current=t},[t]),Le(()=>{T.current=d},[d]),Le(()=>{let C=A.current;C!==t&&(A.current=t,E(C),n==="out-in"?(w(!1),_(!0)):(w(!0),_(!1)))},[t,n]);let k=C=>(ee,te)=>{typeof u=="function"&&u(ee,te),C===T.current&&(E(null),n==="out-in"&&(_(!1),w(!0)),n==="in-out"&&_(!1))},P=C=>(ee,te)=>{typeof p=="function"&&p(ee,te),n==="in-out"&&C===S.current&&T.current!=null&&_(!0)};return createComponent("div",{style:{position:"relative"}},m.map((C,ee)=>{var De;let te=((De=C==null?void 0:C.props)==null?void 0:De.key)||ee,vt=te===t?h:te===d?!g:!1;return createComponent(Hr,{...y,key:te,in:vt,timeout:r,classNames:o,mountOnEnter:s,unmountOnExit:c,appear:a,onEnter:f,onExiting:l,onEntered:P(te),onExited:k(te)},createComponent("div",{style:{position:"absolute",inset:0}},C))}))}function ns({children:e}){return e}var Sn={};oe(Sn,{addWrappedEventListener:()=>is,createSyntheticEvent:()=>Jr,releaseSyntheticEvent:()=>Zr,wrapListener:()=>zr});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 Bt=[],rs=10,os=["mouse","pen","touch"];function Jr(e,t){var r,o,s,c,a,u,f,l,p,y,m,d,E,g,_,h,w,A,S,T,k,P;let n=Bt.length?Bt.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=(y=e.screenX)!=null?y:0,n.screenY=(m=e.screenY)!=null?m:0,n.pageX=(d=e.pageX)!=null?d:null,n.pageY=(E=e.pageY)!=null?E:null,n.movementX=(g=e.movementX)!=null?g:0,n.movementY=(_=e.movementY)!=null?_:0,n.pressure=(h=e.pressure)!=null?h:null,n.tiltX=(w=e.tiltX)!=null?w:null,n.tiltY=(A=e.tiltY)!=null?A:null,n.width=(S=e.width)!=null?S:null,n.height=(T=e.height)!=null?T:null,n.pointerEventsSupported=os.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 Zr(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,Bt.length<rs&&Bt.push(e))}function zr(e,t={}){let{stopPropagationOnTrueReturn:n=!1}=t;return function(o){let s=this||o.currentTarget||null,c=Jr(o,s);try{let a=e(c);n&&a===!0&&c.stopPropagation()}finally{Zr(c)}}}function is(e,t,n,r={}){let o=zr(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}var Cn={};oe(Cn,{Provider:()=>ss,combineReducers:()=>us,connect:()=>as,useDispatch:()=>cs,useSelector:()=>Qr,useStore:()=>Xt});var Et;function ss({store:e,children:t}){return Et!=null||(Et=tt(null)),createComponent(Et.Provider,{value:e},t)}function Xt(){let e=nt(Et);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function cs(){return Xt().dispatch}function Qr(e,t=(n,r)=>n===r){let n=Xt(),r=L(),o=L(e);o.current=e;let[s,c]=Z(()=>e(n.getState()));return r.current=s,z(()=>{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 as(e,t){let n=!!e;return function(o){function s(c){let a=Xt(),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 y in t){let m=t[y];u[y]=(...d)=>p(m(...d))}}let f={};e&&(f=Qr(y=>e(y,c),ie)||{});let l={...c,...f,...u};return createComponent(o,{...l})}return s}}function us(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 On={};oe(On,{blocks_info:()=>ds,error:()=>ms,globalErrorHandler:()=>hs,scanBlockLabels:()=>ps,traceError:()=>no});function eo(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 ls(e,t="eval:/"){let r=(typeof e=="string"?e:String(e||"")).split(/\r?\n/),o=new RegExp(`\\(?((?:${fs(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
60
|
`)}}function fs(e){return String(e).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function to(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 ps(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 no(e){var r;if(e!=null&&e.is_traced)return e;let t=ls(e.stack),n={fileName:((r=t.url)==null?void 0:r.slice(6))||e.fileName,lineNumber:t.line,columnNumber:t.col,message:e.message,name:e.name,stack:e.stack,_error:e,is_traced:!0};if(e.name!=="JSXParseError"){let o;if(t.url){o=Te[n.fileName].mappings;let c=to(o,n.lineNumber-1,n.columnNumber-1);n.lineNumber=c.line,n.columnNumber=c.col}else if(e.lilact_trace!==void 0){let s=eo(e),c,a;typeof e.lilact_trace=="object"?a=v.blocks_info.labels[e.lilact_trace[0]]:a=v.blocks_info.labels[e.lilact_trace],a&&(n.fileName=a.path,n.label=a.label,c=Te[a.path].mappings,s=to(c,s.line-1,s.col-1),n.lineNumber=s.line,n.columnNumber=s.col)}}else{let o=eo(e);e.fileName&&(n.fileName=e.fileName),n.lineNumber=o.line,n.columnNumber=o.col}return v.error=n,n}function hs(e){e.error&&(e=e.error),e=no(e);let t=ln(`
|
|
61
61
|
background: linear-gradient(135deg, #fff2f2d4, #ffffffd4);
|
|
62
62
|
backdrop-filter: blur(10px);
|
|
@@ -10,4 +10,4 @@ would work, but it will not be wired correctly to the <code>Lilact</code> runtim
|
|
|
10
10
|
The promise must resolve to a module whose module.exports.default is a Lilact component
|
|
11
11
|
or otherwise it will be whatever the module.exports is set to.</p>
|
|
12
12
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">props</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="../classes/components.HTMLComponent.html" class="tsd-signature-type tsd-kind-class">HTMLComponent</a></h4><p>A Lilact component that should be rendered inside a <code>Suspense</code> boundary.</p>
|
|
13
|
-
<aside class="tsd-sources"><ul><li>Defined in run.jsx:
|
|
13
|
+
<aside class="tsd-sources"><ul><li>Defined in run.jsx:231</li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -6,4 +6,4 @@ id and run its contents.</p>
|
|
|
6
6
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The path to the required file. Must be either absolute path or relative to the current
|
|
7
7
|
module or document’s URL (the page/location that initiated the request).</p>
|
|
8
8
|
</div></li><li><span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>An array representation of the children.</p>
|
|
9
|
-
<aside class="tsd-sources"><ul><li>Defined in run.jsx:
|
|
9
|
+
<aside class="tsd-sources"><ul><li>Defined in run.jsx:151</li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>run | Lilact</title><meta name="description" content="Documentation for Lilact"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Lilact</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/run.html">run</a></li><li><a href="" aria-current="page">run</a></li></ul><h1>Function run</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="run"><span class="tsd-kind-call-signature">run</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">jsx</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>run | Lilact</title><meta name="description" content="Documentation for Lilact"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Lilact</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/run.html">run</a></li><li><a href="" aria-current="page">run</a></li></ul><h1>Function run</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="run"><span class="tsd-kind-call-signature">run</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">jsx</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">path</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">__namedParameters</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">isInline</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">isModule</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><a href="#run" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Runs a jsx script. All scripts can access Lilact namespace as a global object.</p>
|
|
2
2
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">jsx</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The code to run.</p>
|
|
3
3
|
</div></li><li><span><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ...</span></span><div class="tsd-comment tsd-typography"><p>The optional path to be used in reporting errors.</p>
|
|
4
|
-
</div></li><li><span><span class="tsd-kind-parameter">
|
|
5
|
-
</div></li></ul></div><
|
|
6
|
-
<aside class="tsd-sources"><ul><li>Defined in run.jsx:75</li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
4
|
+
</div></li><li><span><span class="tsd-kind-parameter">__namedParameters</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">isInline</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">isModule</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>An array representation of the children.</p>
|
|
5
|
+
<aside class="tsd-sources"><ul><li>Defined in run.jsx:74</li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -4,4 +4,4 @@ It is automatically attached to document.onload when Lilact is loaded.</p>
|
|
|
4
4
|
If element has inner content, it will be executed via <code>run</code>.</p>
|
|
5
5
|
<p>If both are present, first the src is loaded and then the inner content is executed.</p>
|
|
6
6
|
<p>Note that it won't detect such elements that are added after document.onload.</p>
|
|
7
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in run.jsx:
|
|
7
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in run.jsx:290</li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -3597,11 +3597,11 @@ function joinPaths(basePath, relativePath) {
|
|
|
3597
3597
|
return (isAbs ? "/" : "") + stack.join("/");
|
|
3598
3598
|
}
|
|
3599
3599
|
var required_scripts = {};
|
|
3600
|
-
function run(jsx, path = `InlineJSX-${++lilact_default.eval_num}`,
|
|
3600
|
+
function run(jsx, path = `InlineJSX-${++lilact_default.eval_num}`, { isInline, isModule } = { isInline: true, isModule: true }) {
|
|
3601
3601
|
const mappings = [];
|
|
3602
3602
|
const module = {
|
|
3603
3603
|
mappings,
|
|
3604
|
-
|
|
3604
|
+
isInline,
|
|
3605
3605
|
path,
|
|
3606
3606
|
code: jsx,
|
|
3607
3607
|
exports: {}
|
|
@@ -3635,7 +3635,7 @@ function run(jsx, path = `InlineJSX-${++lilact_default.eval_num}`, is_inline = t
|
|
|
3635
3635
|
globalThis.createComponent = lilact_default.createComponent;
|
|
3636
3636
|
globalThis.Fragment = lilact_default.Fragment;
|
|
3637
3637
|
const res = eval(processed);
|
|
3638
|
-
if (module.exports) return module.exports;
|
|
3638
|
+
if (isModule && module.exports) return module.exports;
|
|
3639
3639
|
return res;
|
|
3640
3640
|
} catch (e) {
|
|
3641
3641
|
e = lilact_default.traceError(e);
|
|
@@ -3676,7 +3676,7 @@ function require2(path2) {
|
|
|
3676
3676
|
});
|
|
3677
3677
|
} else {
|
|
3678
3678
|
const request = new XMLHttpRequest();
|
|
3679
|
-
request.open("GET", path2, false);
|
|
3679
|
+
request.open("GET", path2, { isInline: false });
|
|
3680
3680
|
request.send(null);
|
|
3681
3681
|
if (request.status === 200) {
|
|
3682
3682
|
return run(request.responseText, path2, false);
|