lilact 0.0.0 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/README.md +4 -2
  2. package/dist/lilact.development.min.js +64 -0
  3. package/dist/lilact.development.min.js.LICENSE.txt +77 -0
  4. package/dist/lilact.development.min.js.map +1 -0
  5. package/dist/lilact.production.min.js +1 -1
  6. package/dist/lilact.production.min.js.map +1 -1
  7. package/docs/assets/navigation.js +1 -1
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/accessories.ErrorBoundary.html +8 -8
  10. package/docs/classes/accessories.Suspense.html +7 -7
  11. package/docs/classes/components.Component.html +10 -10
  12. package/docs/classes/components.HTMLComponent.html +10 -10
  13. package/docs/classes/components.RootComponent.html +10 -10
  14. package/docs/functions/components.createComponent.html +1 -1
  15. package/docs/functions/components.createRoot.html +1 -1
  16. package/docs/functions/components.render.html +1 -1
  17. package/docs/functions/run.lazy.html +15 -0
  18. package/docs/functions/run.require.html +11 -11
  19. package/docs/functions/run.run.html +3 -5
  20. package/docs/functions/run.runScripts.html +1 -1
  21. package/docs/functions/run.traceError.html +1 -1
  22. package/docs/index.html +3 -2
  23. package/docs/modules/run.html +1 -1
  24. package/docs/static/demos/actionstate.jsx +1 -1
  25. package/docs/static/demos/context.jsx +1 -1
  26. package/docs/static/demos/css-transition.jsx +1 -1
  27. package/docs/static/demos/lazy.jsx +16 -0
  28. package/docs/static/demos/modal.jsx +1 -1
  29. package/docs/static/demos/proptypes.jsx +1 -1
  30. package/docs/static/demos/reducer.jsx +1 -1
  31. package/docs/static/demos/redux.jsx +1 -1
  32. package/docs/static/demos/router.jsx +1 -8
  33. package/docs/static/demos/stopwatch.jsx +1 -1
  34. package/docs/static/demos/suspense.jsx +1 -1
  35. package/{root/demos/use-differed.jsx → docs/static/demos/use-deffered.jsx} +1 -1
  36. package/docs/static/demos/usetransition.jsx +1 -1
  37. package/docs/static/index 2.html +95 -0
  38. package/docs/static/index.html +27 -29
  39. package/docs/static/lilact.development.min.js +64 -0
  40. package/docs/static/lilact.production.min.js +1 -1
  41. package/package.json +1 -2
  42. package/root/demos/actionstate.jsx +1 -1
  43. package/root/demos/context.jsx +1 -1
  44. package/root/demos/css-transition.jsx +1 -1
  45. package/root/demos/lazy.jsx +16 -0
  46. package/root/demos/modal.jsx +1 -1
  47. package/root/demos/proptypes.jsx +1 -1
  48. package/root/demos/reducer.jsx +1 -1
  49. package/root/demos/redux.jsx +1 -1
  50. package/root/demos/router.jsx +1 -8
  51. package/root/demos/stopwatch.jsx +1 -1
  52. package/root/demos/suspense.jsx +1 -1
  53. package/{docs/static/demos/use-differed.jsx → root/demos/use-deffered.jsx} +1 -1
  54. package/root/demos/usetransition.jsx +1 -1
  55. package/root/index 2.html +95 -0
  56. package/root/index.html +27 -29
  57. package/root/lilact.development.min.js +64 -0
  58. package/root/lilact.production.min.js +1 -1
  59. package/src/components.jsx +2 -1
  60. package/src/run.jsx +105 -43
  61. package/webpack.config.js +3 -13
  62. package/dist/lilact.development.js +0 -9344
  63. package/dist/lilact.development.js.map +0 -1
  64. package/docs/static/lilact.development.js +0 -9344
  65. package/root/lilact.development.js +0 -9344
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  ### A Little JSX/React Runtime Implementation for Browser
6
6
 
7
+ [Docs on GitHub Pages](https://arashkazemi.github.io/lilact/) - [Demos on GitHub Pages](https://arashkazemi.github.io/lilact/static)
8
+
7
9
  `Lilact` is an extremely lightweight implementation of the React API that is
8
10
  designed to work in the browser. It can be used as a single script
9
11
  that is around `70kb` minified and around `25kb` gzipped and includes everything.
@@ -54,7 +56,7 @@ To use in other node projects, install `Lilact` from npm public repository:
54
56
 
55
57
  It is also available via unpkg CDN and can be included in HTML files using
56
58
 
57
- <script src="https://unpkg.com/lilact/dist/lilact.development.js"></script>
59
+ <script src="https://unpkg.com/lilact/dist/lilact.development.min.js"></script>
58
60
 
59
61
  or
60
62
 
@@ -83,7 +85,7 @@ As a simple example Lilact can be used like this:
83
85
  <head>
84
86
  <meta charset="utf-8"/>
85
87
  <title>Lilact Demo</title>
86
- <script src='./lilact.development.js' type="module"></script>
88
+ <script src='./lilact.development.min.js' type="module"></script>
87
89
  </head>
88
90
  <body></body>
89
91
  <script type='text/jsx'>
@@ -0,0 +1,64 @@
1
+ /*
2
+
3
+ Lilact
4
+ Copyright (C) 2024-2025 Arash Kazemi <contact.arash.kazemi@gmail.com>
5
+ All rights reserved.
6
+
7
+ BSD-2-Clause
8
+
9
+ Redistribution and use in source and binary forms, with or without
10
+ modification, are permitted provided that the following conditions are met:
11
+
12
+ * Redistributions of source code must retain the above copyright
13
+ notice, this list of conditions and the following disclaimer.
14
+ * Redistributions in binary form must reproduce the above copyright
15
+ notice, this list of conditions and the following disclaimer in the
16
+ documentation and/or other materials provided with the distribution.
17
+
18
+ --------------------------------------------------------------------------------
19
+
20
+ Lilact also includes the following libraries accessible as members of
21
+ the Lilact object:
22
+
23
+ @emotion/css:
24
+ Copyright (c) Emotion team and other contributors
25
+ MIT License
26
+
27
+ prop-types:
28
+ Copyright (c) 2013-present, Facebook, Inc.
29
+ MIT License
30
+
31
+ redux:
32
+ Copyright (c) 2015-present Dan Abramov
33
+ MIT License
34
+
35
+
36
+ * MIT License Notice:
37
+
38
+ Permission is hereby granted, free of charge, to any person obtaining a copy
39
+ of this software and associated documentation files (the "Software"), to deal
40
+ in the Software without restriction, including without limitation the rights
41
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
42
+ copies of the Software, and to permit persons to whom the Software is
43
+ furnished to do so, subject to the following conditions:
44
+
45
+ The above copyright notice and this permission notice shall be included in all
46
+ copies or substantial portions of the Software.
47
+
48
+ --------------------------------------------------------------------------------
49
+
50
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
51
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
52
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
53
+ ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
54
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
55
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
56
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
57
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
58
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
59
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
60
+
61
+ */
62
+ /*! For license information please see lilact.development.min.js.LICENSE.txt */
63
+ var __webpack_modules__={207:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{transpileJSX:()=>transpileJSX,transpilerConfig:()=>transpilerConfig});var _jsx_addons_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(862),_vlq_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(919);const transpilerConfig={addons:_jsx_addons_js__WEBPACK_IMPORTED_MODULE_0__,setFunctionLabels:!0,enableLabelStack:!1,injectLabels:!0,preprocessorDelimiter:"ʔ",required:{},func_labels:{},func_num:Math.floor(1e4*Math.random())},TRANSPILER_OUTPUT=Symbol.for("LILACT:TRANSPILER_OUTPUT");let raiseError,tab=0;function lookAhead(e,t,n,...r){const o=e(t,n,...r);return o?[o.end,o]:[n]}function parseRegex(e,t,n){let r=t;const o=`;=,([{}!^~&|:?*-+\\/<>${transpilerConfig.preprocessorDelimiter}`;for(;--r>0;)if(-1===" \t\n\r".indexOf(e[r])){if(-1!==o.indexOf(e[r]))break;return}const i={type:"regex",begin:t++};for(;t<e.length;)switch(e[t]){case"\n":return;case"/":return i.end=t+1,n&&n.children.push(i),i;case"\\":t++;default:t++}}function parseComment(e,t,n){const r={type:"comment",begin:t++};if("*"!==e[t]&&"/"!==e[t])return parseRegex(e,t-1,n);const o="*"===e[t];for(t++;t<e.length;){switch(e[t]){case"*":if(o&&"/"===e[t+1])return r.end=t+2,n&&n.children.push(r),r;break;case"\n":if(!o)return r.end=t+1,n&&n.children.push(r),r}t++}raiseError("unterminated comment",t)}function parseDirective(e,t,n){let r=t+1;for(;e[r]&&"\n"!==e[r]&&e[r]!==transpilerConfig.preprocessorDelimiter||"\\"===e[r-1];)r++;if(e[r]===transpilerConfig.preprocessorDelimiter){const o={type:"directive",begin:t,cbegin:t,end:r+1,expression:e.slice(t+1,r).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(o),o}{let o=t;for(;o-- >=0&&(" "===e[o]||"\t"===e[o]););if(-1===o||"\n"===e[o]){const o={type:"directive",begin:t,cbegin:t,end:r+1,pragma:e.slice(t+1,r+1).replace(/\\(.)/gs,"$1"),value:""};return n&&n.children.push(o),o}}raiseError("error in preprocessor statement.")}function preprocessPragmas(node,context){const all_nodes=[];var segments=["const {"+Object.keys(_jsx_addons_js__WEBPACK_IMPORTED_MODULE_0__).join(", ")+"} = transpilerConfig.addons;"],scope_stack=[],last_block=null;const clone_block=(e,t)=>("directive"===(last_block="object"==typeof all_nodes[e]?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e]).type&&(last_block.value=t),scope_stack[0].out??=[],scope_stack[0].out.push(last_block),last_block),clone_attr=(e,t)=>(last_block="object"==typeof all_nodes[e]?structuredClone({...all_nodes[e],children:void 0,attributes:{}}):all_nodes[e],scope_stack[0].attributes[t]=last_block,last_block),push_scope=()=>{scope_stack=[last_block,scope_stack]},pop_scope=()=>{scope_stack=scope_stack[1]},vine_traverse=e=>{if("object"!=typeof e)return segments;if(segments.push("push_scope();"),e.attributes)for(const t in e.attributes){const n=e.attributes[t];all_nodes.push(n),segments.push(`clone_attr(${all_nodes.length-1}, "${t}");`),vine_traverse(n)}if(e.children)for(const t of e.children)all_nodes.push(t),"directive"===t.type&&void 0===t.expression?segments.push(t.pragma):(t.expression?segments.push(`clone_block(${all_nodes.length-1}, ${t.expression});`):segments.push(`clone_block(${all_nodes.length-1});`),vine_traverse(t));return segments.push("pop_scope();"),segments};node.out=[],last_block=node,push_scope(),vine_traverse(node);const cmd=segments.join("\n");return eval(cmd),segments}function parseString(e,t,n,r){const o={type:"string",begin:t++,cbegin:t};for(;t<e.length;){switch(e[t]){case n:return o.cend=t,o.end=t+1,r&&r.children.push(o),o;case"\n":"`"!==n&&raiseError("unterminated string",t);break;case"$":"`"===n&&"{"===e[++t]&&([t]=lookAhead(parseJS,e,t,!0,r),t--);break;case"\\":t++}t++}raiseError("unterminated string",t)}function parseXMLContent(e,t,n,r){let o=t,i=t;for(;o<e.length;){switch(e[o]){case"<":if("/"===e[o+1]){o+=2;let r=o;for(;r<e.length&&">"!==e[r];)r++;if(r===e.length)return null;const i=e.substring(o,r).trim();if(n.tag!==i)throw`ill-formed xml (close tag) [${n.tag},${i}] ${r}`;return n.end=r+1,n.cbegin=t+1,n.cend=o-2,r}[o]=lookAhead(parseXML,e,o,n),o>i?(i=o,o--):i++;break;case"{":[o]=lookAhead(parseJS,e,o,!0,n),o--}o++}return i}function parseXML(e,t,n){const r=[" ","\t","\n","/","&","^","%","|","!","~","+","*","?","<",">",";",",","=","{","}","(",")","[","]","'",'"',"`","\\","",void 0],o=()=>{for(;" "===e[t]||"\t"===e[t]||"\n"===e[t];)t++},i={type:"xml",begin:t++,children:[],attributes:{},self_closing:!1,js_attributes:[]};o();let a,s=t;for(;s<e.length&&-1===r.indexOf(e[s]);)s++;if(s!==e.length)for(i.tag=e.substring(t,s),t=s;t<e.length;){for(s=t;s<e.length&&-1===r.indexOf(e[s]);)s++;if(s===e.length)return;const c=e.substring(t,s);switch(c.length&&(a=c,i.attributes[c]=!0),t=s,e[t]){case"=":if(!a)return;{let n;switch(t++,o(),"/"===e[t]&&([c]=lookAhead(parseComment,e,t),c>t?t=c:t++),e[t]){case"'":case'"':[t,n]=lookAhead(parseString,e,t,e[t]),i.attributes[a]=n,a=void 0;break;case"{":[t,n]=lookAhead(parseJS,e,t,!0),i.attributes[a]=n,a=void 0;break;default:{for(c=t;c<e.length&&-1===r.indexOf(e[c]);)c++;if(c===e.length)return;const n=e.substring(t,c);t=c,i.attributes[a]=n,a=void 0}}}break;case"{":let s;[t,s]=lookAhead(parseJS,e,t,!0),s.is_xml_js=!0,i.js_attributes.push(s);break;case"/":if(">"===e[t+1])return i.end=t+2,i.cbegin=i.begin,i.cend=i.end,i.self_closing=!0,n&&n.children.push(i),i;[c]=lookAhead(parseComment,e,t),c>t?t=c:t++;break;case">":const c=parseXMLContent(e,t,i);if(null===c)return;if(c>t?t=c:t++,i.end)return n&&n.children.push(i),i;t++;break;case" ":case"\t":case"\n":o();break;default:return}}}function parseParanthesis(e,t,n){const r={type:"paranthesis",begin:t,cbegin:++t,children:[],self_closing:!1};for(;t<e.length;){const o=e[t];switch(o){case"<":{let[n]=lookAhead(parseXML,e,t,r);n>t?t=n:t++;break}case'"':case"'":case"`":[t]=lookAhead(parseString,e,t,o);break;case"{":[t]=lookAhead(parseJS,e,t,!0,r);break;case"(":[t]=lookAhead(parseParanthesis,e,t,r);break;case"}":raiseError("unmatched curly bracket",t);break;case")":return r.end=t+1,r.cend=t,n&&n.children.push(r),r;case"/":const[i]=lookAhead(parseComment,e,t,r);i>t?t=i:t++;break;case"\\":t++;default:t++}}raiseError(`unterminated paranthesis block (started at ${r.begin})`,t)}function parseJS(e,t=0,n=!1,r){const o={type:"js",begin:t,cbegin:t+=n?1:0,children:[]};for(;t<e.length;){const i=e[t];switch(i){case"<":{let[n]=lookAhead(parseXML,e,t,o);n>t?t=n:t++;break}case'"':case"'":case"`":[t]=lookAhead(parseString,e,t,i);break;case"{":[t]=lookAhead(parseJS,e,t,!0,o);break;case"(":[t]=lookAhead(parseParanthesis,e,t,o);break;case")":raiseError(`unmatched paranthesis ${t} [from ${o.begin}]`,t);break;case"}":if(n)return o.end=t+1,o.cend=t,r&&r.children.push(o),o;raiseError("unmatched curly bracket",t);break;case"/":{let[n]=lookAhead(parseComment,e,t,o);n>t?t=n:t++;break}case transpilerConfig.preprocessorDelimiter:{let[n]=lookAhead(parseDirective,e,t,o);n>t?t=n:t++;break}case"\\":t++;default:t++}}return n&&raiseError(`unterminated js block at ${t} (started at ${o.begin})`),o.end=t,o.cend=t,r&&r.children.push(o),o}function labelFunctions(e,t){function n(t,n=1){for(;(t+=n)<e.children.length&&t>=0;){const n=e.children[t];if("string"==typeof n){const e=n.trim();if(e.length)return[t,e]}if("object"==typeof n&&"comment"!==n.type)return[t,n]}return[null,null]}let r,o,i;e.already_labeled=!0;for(let a=0;a<e.children.length;a++)if("object"==typeof e.children[a]&&"paranthesis"===e.children[a].type){if([r,i]=n(a,-1),null===i)continue;if("string"!=typeof i||void 0!==["switch","catch","try","class"].find(e=>i.trim().endsWith(e)))continue;let e=i;if([r,i]=n(r,-1),null===i)continue;if("string"==typeof i&&-1!==["extern","class"].indexOf(i))continue;if([r,o]=n(a),null===o)continue;if(transpilerConfig.injectTraceLabels&&"object"==typeof o&&"js"===o.type){const n=getRowCol(t,a);o.children.splice(1,0,`/*LILACTBLOCK${++transpilerConfig.func_num}:${n}:${e}*/try{`),transpilerConfig.enableLabelStack?o.children.splice(o.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${transpilerConfig.func_num},e.lilact_trace];throw e}`):o.children.splice(o.children.length-1,0,`} catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${transpilerConfig.func_num};throw e}`),a+=2}}else if("=>"===e.children[a]&&([r,i]=n(a,-1),"object"==typeof i&&"paranthesis"===i.type)){const e=getRowCol(t,i.begin);[r,o]=n(a),"object"==typeof o&&"js"===o.type&&(transpilerConfig.injectTraceLabels&&(o.children.splice(1,0,`/*LILACTBLOCK${++transpilerConfig.func_num}:${e}:<ARROW>*/try {`),transpilerConfig.enableLabelStack?o.children.splice(o.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${transpilerConfig.func_num},e.lilact_trace];throw e}`):o.children.splice(o.children.length-1,0,`} catch(e){if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${transpilerConfig.func_num};throw e}`)),a+=2)}}function scanEOLs(e){const t=[0];for(let n in e)"\n"===e[n]&&t.push(parseInt(n));return t.push(e.length),t}function getRowCol(e,t){for(e.last||(e.last=1);t>e[e.last];)if(e.last++,e.last===e.length){e.last=e.length-1;break}for(;t<e[e.last-1]&&e.last>1;)e.last--;return[e.last-1,t-e[e.last-1]]}function generateSourceMap(e,t,n,r,o=[]){let i=[];const a={version:3,file:t,sourceRoot:"",sources:[t],names:[],mappings:""},s=e=>{if(e.children)for(const t of e.children)s(t);void 0!==e.begin&&void 0!==e.out_index&&i.push([...getRowCol(r,e.out_index),...getRowCol(n,e.begin),e])};s(e),i=i.sort((e,t)=>e[0]==t[0]?e[1]-t[1]:e[0]-t[0]),o.push(...i);let c="",l=0,u=0,p=0,f=0;for(let e=0;e<i.length;e++){const t=i[e];for(;l<t[0];)u=0,c+=";",l++;c+=",",c+=_vlq_js__WEBPACK_IMPORTED_MODULE_1__.encode(t[1]-u,0,t[2]-p,t[3]-f),u=t[1],p=t[2],f=t[3]}return a.mappings=c.substring(1).replace(/;,/g,";"),"\n\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(JSON.stringify(a))}function transpileJSX(e,{factory:t="Lilact.createComponent",path:n="anonymous",appendSourcemap:r=!0,mappings:o=[],injectTraceLabels:i=!1,discardComments:a=!1}={}){transpilerConfig.func_num??=0,transpilerConfig.preprocessorDelimiter??="ʔ",transpilerConfig.injectTraceLabels??=i;const s=scanEOLs(e);raiseError=((e,t,n)=>{const r=new Error(t);throw r.name="JSXParseError",[r.lineNumber,r.columnNumber]=getRowCol(e,n),r.lilact_trace="parse",r}).bind(null,s);const c=/([\{\}\(\),;\[\]\n]|[\s^\n]+)/g,l=parseJS(e);l.data=e;const u=t=>{if(void 0!==t.attributes)for(const e in t.attributes)"object"==typeof t.attributes[e]&&u(t.attributes[e]);if(void 0!==t.children&&!t.self_closing){let n="js"===t.type?t.begin:t.cbegin||t.begin;for(let r=0;r<t.children.length;r++){const o=t.children[r];if(o.begin>n){let i=e.substring(n,o.begin);"xml"===t.type&&(i=i.trim()),i.length&&("xml"===t.type?t.children.splice(r,0,'"'+i.replaceAll("\n","\\\n")+'"'):t.children.splice(r,0,...i.split(c)),r++)}n=o.end,u(o)}const r="js"===t.type?t.end:t.cend||t.end;if(n<r&&!t.self_closing){let o=e.substring(n,r);"xml"===t.type&&(o=o.trim()),o.length&&("xml"===t.type?t.children.push('"'+o.replaceAll("\n","\\\n")+'"'):t.children.push(...o.split(c)))}t.children=t.children.filter(e=>""!==e),transpilerConfig.setFunctionLabels&&!t.already_labeled&&labelFunctions(t,s)}};u(l),preprocessPragmas(l);const p=(n,r,o=!1,i=!1)=>{if("object"!=typeof r)return r;if(r.out_index=n,"string"===r.type)return e.substring(r.begin,r.end);if("regex"===r.type)return e.substring(r.begin,r.end);if("comment"===r.type)return a||o?"":e.substring(r.begin,r.end);if("directive"===r.type)return r.value;if("paranthesis"===r.type){let e="(";if(r.out)for(const t of r.out)e+=p(n+e.length-1,t);return e+")"}if("js"===r.type){let t="";if(r.out)for(const e of r.out)i&&"comment"===e.type||(t+=p(n+t.length-(o?1:0),e));return o?t.substring(1,t.length-1):r?.is_xml_js?e.substring(r.begin+1,r.end-1):t}if("xml"===r.type){0===r.tag.length?r.tag="null":r.tag[0]!==r.tag[0].toUpperCase()&&(r.tag=`"${r.tag}"`);let e="",o=!0;for(const t of r.js_attributes)e+=`${o?"":", "}${p(n+e.length,t,!1)}`,o=!1;if(r.attributes)for(const t in r.attributes)e+=`${o?"":", "}"${t}": ${p(n+e.length,r.attributes[t],!0)}`,o=!1;if(e+=" }",r.out)for(const t of r.out){const r=p(n+e.length,t,!0,!0);r.length>0&&(e+=`, ${r}`,o=!1)}return getRowCol(s,r.begin),e=`${t}( ${r.tag}, { ${e} )`,e}};let f="";i&&(f=`/*LILACTBLOCK${++transpilerConfig.func_num}:0,0:<EXEC>*/try{`,transpilerConfig.func_labels[transpilerConfig.func_num]={path:n,row:1,col:1,label:transpilerConfig.func_num,required:transpilerConfig.required[n]}),f+=p(0,l),i&&(transpilerConfig.enableLabelStack?f+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${transpilerConfig.func_num},e.lilact_trace];throw e}`:f+=`}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=${transpilerConfig.func_num};throw e}`);const d=generateSourceMap(l,n,s,scanEOLs(f),o);if(r&&(f+=d),globalThis[TRANSPILER_OUTPUT]){try{Promise.resolve().then(function(){var e=new Error("Cannot find module 'fs'");throw e.code="MODULE_NOT_FOUND",e}).writeFileSync(globalThis[TRANSPILER_OUTPUT],f)}catch(e){}globalThis[TRANSPILER_OUTPUT]=void 0}return f}},228:e=>{var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in i=Object(arguments[c]))n.call(i,l)&&(s[l]=i[l]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s}},363:(e,t,n)=>{e.exports=n(413)},376:e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},413:(e,t)=>{!function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var d=e.type;switch(d){case l:case u:case o:case a:case i:case f:return d;default:var y=d&&d.$$typeof;switch(y){case c:case p:case m:case h:case s:return y;default:return t}}case r:return t}}}var w=l,E=u,k=c,L=s,T=n,S=p,x=o,C=m,O=h,A=r,P=a,j=i,I=f,$=!1;function D(e){return v(e)===u}t.AsyncMode=w,t.ConcurrentMode=E,t.ContextConsumer=k,t.ContextProvider=L,t.Element=T,t.ForwardRef=S,t.Fragment=x,t.Lazy=C,t.Memo=O,t.Portal=A,t.Profiler=P,t.StrictMode=j,t.Suspense=I,t.isAsyncMode=function(e){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(e)||v(e)===l},t.isConcurrentMode=D,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===p},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===r},t.isProfiler=function(e){return v(e)===a},t.isStrictMode=function(e){return v(e)===i},t.isSuspense=function(e){return v(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===a||e===i||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===_||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},t.typeOf=v}()},491:(e,t,n)=>{n.d(t,{Lilact:()=>Xr,default:()=>Gr}),n.r(t);var r={};n.r(r),n.d(r,{__DO_NOT_USE__ActionTypes:()=>m,applyMiddleware:()=>T,bindActionCreators:()=>k,combineReducers:()=>w,compose:()=>L,createStore:()=>g,isAction:()=>S,isPlainObject:()=>y,legacy_createStore:()=>b});var o={};n.r(o),n.d(o,{cache:()=>dt,css:()=>pt,cx:()=>at,flush:()=>ot,getRegisteredStyles:()=>ct,hydrate:()=>it,injectGlobal:()=>lt,keyframes:()=>ut,merge:()=>st,sheet:()=>ft});var i={};n.r(i),n.d(i,{Children:()=>kt,Fragment:()=>Et,classNames:()=>Ct,current_component:()=>Ut,deepEqual:()=>Pt,err:()=>Ft,eval_num:()=>Nt,events_set:()=>Jt,findDOMNode:()=>wt,getComponentByPointer:()=>xt,getErrorLocation:()=>Lt,id_num:()=>Mt,isAsync:()=>It,isClass:()=>jt,isEmpty:()=>Ot,isError:()=>Dt,isThenable:()=>$t,isValidElement:()=>vt,layout_effects:()=>zt,mapLocation:()=>Tt,roots:()=>Bt,scanFunctionLabels:()=>St,shallowEqual:()=>At,special_attributes:()=>Kt,update_cbs:()=>Wt,update_interval_margin:()=>Rt,update_set:()=>qt,update_timeout:()=>{}});var a={};n.r(a),n.d(a,{Component:()=>sn,HTMLComponent:()=>cn,RootComponent:()=>ln,createComponent:()=>un,createElement:()=>dn,createRoot:()=>pn,render:()=>fn});var s={};n.r(s),n.d(s,{createContext:()=>bn,useActionState:()=>Cn,useCallback:()=>gn,useContext:()=>vn,useDeferredValue:()=>An,useEffect:()=>Sn,useHook:()=>yn,useId:()=>wn,useLayoutEffect:()=>Tn,useLocalStorage:()=>kn,useMemo:()=>xn,useReducer:()=>On,useRef:()=>Ln,useState:()=>_n,useTransition:()=>En});var c={};n.r(c),n.d(c,{animationFramePromise:()=>sr,clearInterval:()=>rr,clearTimeout:()=>nr,grabTimers:()=>or,pauseTimers:()=>Zn,releaseTimers:()=>ir,resetTimers:()=>Vn,resumeTimers:()=>Qn,setInterval:()=>tr,setTimeout:()=>er,timeoutPromise:()=>ar});var l={};n.r(l),n.d(l,{CSSTransition:()=>_r,Transition:()=>yr,TransitionGroup:()=>gr});var u={};n.r(u),n.d(u,{Provider:()=>Sr,connect:()=>Ar,useDispatch:()=>Cr,useSelector:()=>Or,useStore:()=>xr});var p={};n.r(p),n.d(p,{HashRouter:()=>Rr,Link:()=>Ur,NavLink:()=>Wr,Route:()=>Kr,Routes:()=>Fr,useLocation:()=>Mr,useNavigate:()=>Nr});var f={};n.r(f),n.d(f,{ErrorBoundary:()=>Jr,Spinner:()=>zr,Suspense:()=>Hr});var d=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),h=()=>Math.random().toString(36).substring(7).split("").join("."),m={INIT:`@@redux/INIT${h()}`,REPLACE:`@@redux/REPLACE${h()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${h()}`};function y(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function _(e){let t=typeof e;return t=function(e){if(void 0===e)return"undefined";if(null===e)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";const n=function(e){return"function"==typeof e.constructor?e.constructor.name:null}(e);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}(e),t}function g(e,t,n){if("function"!=typeof e)throw new Error(`Expected the root reducer to be a function. Instead, received: '${_(e)}'`);if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(`Expected the enhancer to be a function. Instead, received: '${_(n)}'`);return n(g)(e,t)}let r=e,o=t,i=new Map,a=i,s=0,c=!1;function l(){a===i&&(a=new Map,i.forEach((e,t)=>{a.set(t,e)}))}function u(){if(c)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function p(e){if("function"!=typeof e)throw new Error(`Expected the listener to be a function. Instead, received: '${_(e)}'`);if(c)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let t=!0;l();const n=s++;return a.set(n,e),function(){if(t){if(c)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");t=!1,l(),a.delete(n),i=null}}}function f(e){if(!y(e))throw new Error(`Actions must be plain objects. Instead, the actual type was: '${_(e)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if("string"!=typeof e.type)throw new Error(`Action "type" property must be a string. Instead, the actual type was: '${_(e.type)}'. Value was: '${e.type}' (stringified)`);if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,o=r(o,e)}finally{c=!1}return(i=a).forEach(e=>{e()}),e}return f({type:m.INIT}),{dispatch:f,subscribe:p,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(`Expected the nextReducer to be a function. Instead, received: '${_(e)}`);r=e,f({type:m.REPLACE})},[d]:function(){const e=p;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(`Expected the observer to be an object. Instead, received: '${_(t)}'`);function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[d](){return this}}}}}function b(e,t,n){return g(e,t,n)}function v(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}function w(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];void 0===e[o]&&v(`No reducer provided for key "${o}"`),"function"==typeof e[o]&&(n[o]=e[o])}const r=Object.keys(n);let o,i;o={};try{!function(e){Object.keys(e).forEach(t=>{const n=e[t];if(void 0===n(void 0,{type:m.INIT}))throw new Error(`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(void 0===n(void 0,{type:m.PROBE_UNKNOWN_ACTION()}))throw new Error(`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${m.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;{const r=function(e,t,n,r){const o=Object.keys(t),i=n&&n.type===m.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(0===o.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!y(e))return`The ${i} has unexpected type of "${_(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;const a=Object.keys(e).filter(e=>!t.hasOwnProperty(e)&&!r[e]);return a.forEach(e=>{r[e]=!0}),n&&n.type===m.REPLACE?void 0:a.length>0?`Unexpected ${a.length>1?"keys":"key"} "${a.join('", "')}" found in ${i}. Expected to find one of the known reducer keys instead: "${o.join('", "')}". Unexpected keys will be ignored.`:void 0}(e,n,t,o);r&&v(r)}let a=!1;const s={};for(let o=0;o<r.length;o++){const i=r[o],c=n[i],l=e[i],u=c(l,t);if(void 0===u){const e=t&&t.type;throw new Error(`When called with an action of type ${e?`"${String(e)}"`:"(unknown type)"}, the slice reducer for key "${i}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}s[i]=u,a=a||u!==l}return a=a||r.length!==Object.keys(e).length,a?s:e}}function E(e,t){return function(...n){return t(e.apply(this,n))}}function k(e,t){if("function"==typeof e)return E(e,t);if("object"!=typeof e||null===e)throw new Error(`bindActionCreators expected an object or a function, but instead received: '${_(e)}'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=E(o,t))}return n}function L(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function T(...e){return t=>(n,r)=>{const o=t(n,r);let i=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const a={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},s=e.map(e=>e(a));return i=L(...s)(o.dispatch),{...o,dispatch:i}}}function S(e){return y(e)&&"type"in e&&"string"==typeof e.type}var x=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0!==e.speedy&&e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1],n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);if(n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n,this.isSpeedy){var r=function(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]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),C=Math.abs,O=String.fromCharCode,A=Object.assign;function P(e){return e.trim()}function j(e,t,n){return e.replace(t,n)}function I(e,t){return e.indexOf(t)}function $(e,t){return 0|e.charCodeAt(t)}function D(e,t,n){return e.slice(t,n)}function R(e){return e.length}function M(e){return e.length}function N(e,t){return t.push(e),e}var U=1,q=1,W=0,B=0,K=0,F="";function z(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:U,column:q,length:a,return:""}}function J(e,t){return A(z("",null,null,"",null,null,0),e,{length:-e.length},t)}function H(){return K=B>0?$(F,--B):0,q--,10===K&&(q=1,U--),K}function Y(){return K=B<W?$(F,B++):0,q++,10===K&&(q=1,U++),K}function X(){return $(F,B)}function G(){return B}function V(e,t){return D(F,e,t)}function Z(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 Q(e){return U=q=1,W=R(F=e),B=0,[]}function ee(e){return F="",e}function te(e){return P(V(B-1,oe(91===e?e+2:40===e?e+1:e)))}function ne(e){for(;(K=X())&&K<33;)Y();return Z(e)>2||Z(K)>3?"":" "}function re(e,t){for(;--t&&Y()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return V(e,G()+(t<6&&32==X()&&32==Y()))}function oe(e){for(;Y();)switch(K){case e:return B;case 34:case 39:34!==e&&39!==e&&oe(K);break;case 40:41===e&&oe(e);break;case 92:Y()}return B}function ie(e,t){for(;Y()&&e+K!==57&&(e+K!==84||47!==X()););return"/*"+V(t,B-1)+"*"+O(47===e?e:Y())}function ae(e){for(;!Z(X());)Y();return V(e,B)}var se="-ms-",ce="-moz-",le="-webkit-",ue="comm",pe="rule",fe="decl",de="@keyframes";function he(e,t){for(var n="",r=M(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function me(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case fe:return e.return=e.return||e.value;case ue:return"";case de:return e.return=e.value+"{"+he(e.children,r)+"}";case pe:e.value=e.props.join(",")}return R(n=he(e.children,r))?e.return=e.value+"{"+n+"}":""}function ye(e){return ee(_e("",null,null,null,[""],e=Q(e),0,[0],e))}function _e(e,t,n,r,o,i,a,s,c){for(var l=0,u=0,p=a,f=0,d=0,h=0,m=1,y=1,_=1,g=0,b="",v=o,w=i,E=r,k=b;y;)switch(h=g,g=Y()){case 40:if(108!=h&&58==$(k,p-1)){-1!=I(k+=j(te(g),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:k+=te(g);break;case 9:case 10:case 13:case 32:k+=ne(h);break;case 92:k+=re(G()-1,7);continue;case 47:switch(X()){case 42:case 47:N(be(ie(Y(),G()),t,n),c);break;default:k+="/"}break;case 123*m:s[l++]=R(k)*_;case 125*m:case 59:case 0:switch(g){case 0:case 125:y=0;case 59+u:-1==_&&(k=j(k,/\f/g,"")),d>0&&R(k)-p&&N(d>32?ve(k+";",r,n,p-1):ve(j(k," ","")+";",r,n,p-2),c);break;case 59:k+=";";default:if(N(E=ge(k,t,n,l,u,o,s,b,v=[],w=[],p),i),123===g)if(0===u)_e(k,t,E,E,v,i,p,s,w);else switch(99===f&&110===$(k,3)?100:f){case 100:case 108:case 109:case 115:_e(e,E,E,r&&N(ge(e,E,E,0,0,o,s,b,o,v=[],p),w),o,w,p,s,r?v:w);break;default:_e(k,E,E,E,[""],w,0,s,w)}}l=u=d=0,m=_=1,b=k="",p=a;break;case 58:p=1+R(k),d=h;default:if(m<1)if(123==g)--m;else if(125==g&&0==m++&&125==H())continue;switch(k+=O(g),g*m){case 38:_=u>0?1:(k+="\f",-1);break;case 44:s[l++]=(R(k)-1)*_,_=1;break;case 64:45===X()&&(k+=te(Y())),f=X(),u=p=R(b=k+=ae(G())),g++;break;case 45:45===h&&2==R(k)&&(m=0)}}return i}function ge(e,t,n,r,o,i,a,s,c,l,u){for(var p=o-1,f=0===o?i:[""],d=M(f),h=0,m=0,y=0;h<r;++h)for(var _=0,g=D(e,p+1,p=C(m=a[h])),b=e;_<d;++_)(b=P(m>0?f[_]+" "+g:j(g,/&\f/g,f[_])))&&(c[y++]=b);return z(e,t,n,0===o?pe:s,c,l,u)}function be(e,t,n){return z(e,t,n,ue,O(K),D(e,2,-2),0)}function ve(e,t,n,r){return z(e,t,n,fe,D(e,0,r),D(e,r+1,-1),r)}function we(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ee=function(e,t,n){for(var r=0,o=0;r=o,o=X(),38===r&&12===o&&(t[n]=1),!Z(o);)Y();return V(e,B)},ke=new WeakMap,Le=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ke.get(n))&&!r){ke.set(e,!0);for(var o=[],i=function(e,t){return ee(function(e,t){var n=-1,r=44;do{switch(Z(r)){case 0:38===r&&12===X()&&(t[n]=1),e[n]+=Ee(B-1,t,n);break;case 2:e[n]+=te(r);break;case 4:if(44===r){e[++n]=58===X()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=O(r)}}while(r=Y());return e}(Q(e),t))}(t,o),a=n.props,s=0,c=0;s<i.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},Te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Se=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},xe=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Ce=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Oe=function(e,t,n){xe(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ce(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!xe(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ce(e)))};function Ae(e,t){switch(function(e,t){return 45^$(e,0)?(((t<<2^$(e,0))<<2^$(e,1))<<2^$(e,2))<<2^$(e,3):0}(e,t)){case 5103:return le+"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 le+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return le+e+ce+e+se+e+e;case 6828:case 4268:return le+e+se+e+e;case 6165:return le+e+se+"flex-"+e+e;case 5187:return le+e+j(e,/(\w+).+(:[^]+)/,le+"box-$1$2"+se+"flex-$1$2")+e;case 5443:return le+e+se+"flex-item-"+j(e,/flex-|-self/,"")+e;case 4675:return le+e+se+"flex-line-pack"+j(e,/align-content|flex-|-self/,"")+e;case 5548:return le+e+se+j(e,"shrink","negative")+e;case 5292:return le+e+se+j(e,"basis","preferred-size")+e;case 6060:return le+"box-"+j(e,"-grow","")+le+e+se+j(e,"grow","positive")+e;case 4554:return le+j(e,/([^-])(transform)/g,"$1"+le+"$2")+e;case 6187:return j(j(j(e,/(zoom-|grab)/,le+"$1"),/(image-set)/,le+"$1"),e,"")+e;case 5495:case 3959:return j(e,/(image-set\([^]*)/,le+"$1$`$1");case 4968:return j(j(e,/(.+:)(flex-)?(.*)/,le+"box-pack:$3"+se+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+le+e+e;case 4095:case 3583:case 4068:case 2532:return j(e,/(.+)-inline(.+)/,le+"$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(R(e)-1-t>6)switch($(e,t+1)){case 109:if(45!==$(e,t+4))break;case 102:return j(e,/(.+:)(.+)-([^]+)/,"$1"+le+"$2-$3$1"+ce+(108==$(e,t+3)?"$3":"$2-$3"))+e;case 115:return~I(e,"stretch")?Ae(j(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==$(e,t+1))break;case 6444:switch($(e,R(e)-3-(~I(e,"!important")&&10))){case 107:return j(e,":",":"+le)+e;case 101:return j(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+le+(45===$(e,14)?"inline-":"")+"box$3$1"+le+"$2$3$1"+se+"$2box$3")+e}break;case 5936:switch($(e,t+11)){case 114:return le+e+se+j(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return le+e+se+j(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return le+e+se+j(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return le+e+se+e+e}return e}var Pe,je=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case fe:e.return=Ae(e.value,e.length);break;case de:return he([J(e,{value:j(e.value,"@","@"+le)})],r);case pe:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return he([J(e,{props:[j(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return he([J(e,{props:[j(t,/:(plac\w+)/,":"+le+"input-$1")]}),J(e,{props:[j(t,/:(plac\w+)/,":-moz-$1")]}),J(e,{props:[j(t,/:(plac\w+)/,se+"input-$1")]})],r)}return""})}}],Ie=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;Pe=function(e){var t=e.match(Ie);if(t)return t[t.length-1]};var $e={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},De="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Re=/[A-Z]|^ms/g,Me=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ne=function(e){return 45===e.charCodeAt(1)},Ue=function(e){return null!=e&&"boolean"!=typeof e},qe=we(function(e){return Ne(e)?e:e.replace(Re,"-$&").toLowerCase()}),We=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Me,function(e,t,n){return Ge={name:t,styles:n,next:Ge},t})}return 1===$e[e]||Ne(e)||"number"!=typeof t||0===t?t:t+"px"},Be=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Ke=["normal","none","initial","inherit","unset"],Fe=We,ze=/^-ms-/,Je=/-(.)/g,He={};We=function(e,t){if("content"===e&&("string"!=typeof t||-1===Ke.indexOf(t)&&!Be.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=Fe(e,t);return""===n||Ne(e)||-1===e.indexOf("-")||void 0!==He[e]||(He[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(ze,"ms-").replace(Je,function(e,t){return t.toUpperCase()})+"?")),n};var Ye="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Xe(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles){if("NO_COMPONENT_SELECTOR"===String(r))throw new Error(Ye);return r}switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Ge={name:o.name,styles:o.styles,next:Ge},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Ge={name:a.name,styles:a.styles,next:Ge},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Xe(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":Ue(s)&&(r+=qe(i)+":"+We(i,s)+";")}else{if("NO_COMPONENT_SELECTOR"===i)throw new Error(Ye);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var c=Xe(e,t,a);switch(i){case"animation":case"animationName":r+=qe(i)+":"+c+";";break;default:"undefined"===i&&console.error("You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key)."),r+=i+"{"+c+"}"}}else for(var l=0;l<a.length;l++)Ue(a[l])&&(r+=qe(i)+":"+We(i,a[l])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var s=Ge,c=n(e);return Ge=s,Xe(e,t,c)}console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":var l=[],u=n.replace(Me,function(e,t,n){var r="animation"+l.length;return l.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+u+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+u+"`")}var p=n;if(null==t)return p;var f=t[p];return void 0!==f?f:p}var Ge,Ve=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ze(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ge=void 0;var i=e[0];if(null==i||void 0===i.raw)r=!1,o+=Xe(n,t,i);else{var a=i;void 0===a[0]&&console.error(De),o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Xe(n,t,e[s]),r){var c=i;void 0===c[s]&&console.error(De),o+=c[s]}Ve.lastIndex=0;for(var l,u="";null!==(l=Ve.exec(o));)u+="-"+l[1];var p=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:p,styles:o,next:Ge,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}}function Qe(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}function et(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function tt(e,t,n){var r=[],o=Qe(e,r,n);return r.length<2?n:o+t(r)}var nt=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},rt=function(){var e=function(e){var t=e.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r=e.stylisPlugins||je;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var c=[Le,Te];c.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(Se(s))return;break}}o.forEach(function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')})}}}}({get compat(){return h.compat}}),Oe);var l,u,p,f=[me,function(e){e.root||(e.return?l.insert(e.return):e.value&&e.type!==ue&&l.insert(e.value+"{}"))}],d=(u=c.concat(r,f),p=M(u),function(e,t,n,r){for(var o="",i=0;i<p;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){if(l=n,Pe){var o=Pe(t.styles);o&&(l={insert:function(e){n.insert(e+o)}})}he(ye(e?e+"{"+t.styles+"}":t.styles),d),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new x({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(s),h}({key:"css"});e.sheet.speedy=function(e){if(0!==this.ctr)throw new Error("speedy must be changed before any rules are inserted");this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ze(n,e.registered,void 0);return function(e,t){!function(e,t){var n=e.key+"-"+t.name;void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+n:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}(e,o),e.key+"-"+o.name};return{css:t,cx:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return tt(e.registered,t,nt(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ze(n,e.registered);et(e,o)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ze(n,e.registered),i="animation-"+o.name;return et(e,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(t){t.forEach(function(t){e.inserted[t]=!0})},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:Qe.bind(null,e.registered),merge:tt.bind(null,e.registered,t)}}(),ot=rt.flush,it=rt.hydrate,at=rt.cx,st=rt.merge,ct=rt.getRegisteredStyles,lt=rt.injectGlobal,ut=rt.keyframes,pt=rt.css,ft=rt.sheet,dt=rt.cache,ht=n(556),mt=n.n(ht);const[yt,_t,gt]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:MEMOIZED")],bt=e=>{const t=Object.prototype.toString.call(e).toLowerCase();return/\[object (.*)]/g.exec(t)[1]},vt=e=>void 0!==e[yt]||void 0!==e[TEXT],wt=e=>{if(console.warn("NOT IMPLEMENTED YET"),!e[yt]?.element?.parentNode)throw"findDOMNode only works on mounted components.";return e[yt].element},Et=({children:e})=>e,kt={only(e){e=[...e];let t=0;for(;t<e.length;){if("Array"===e[t]?.constructor?.name?(e.splice(t,1,...e[t]),t--):null!==e[t]&&void 0!==e[t]||(e.splice(t,1),t--),t>1)throw"no child or child is not the only one";t++}if(1===e.length)return e[0]},toArray:e=>e?"Array"===e?.constructor?.name?[...e]:[e]:[]};function Lt(e){if(void 0!==e.lineno||void 0!==e.line||void 0!==e.lineNumber)return[e.lineno||e.line||e.lineNumber,e.colno||e.column||e.columnNumber];let t=/:(\d+):(\d+)[\n].*/m.exec(e.stack);return null===t&&(t=/:(\d+):(\d+)\)\s+at .*/m.exec(e.stack)),t?[parseInt(t[1]),parseInt(t[2])]:null}function Tt(e,t,n){let r=[0,0,0,0];for(const o in e)if(!(e[o][0]<t)&&(e[o][0]>t||e[o][1]>=n)){r=e[o-1];break}return[t-r[0]+r[2],t-r[0]===0?r[3]:0]}function St(e,t){Array.from(e.matchAll(/LILACTBLOCK(\d+):(\d+),(\d+):([^*]+)\*\//gm)).forEach(e=>Gr.transpilerConfig.func_labels[e[1]]={path:t,row:parseInt(e[2])+1,col:parseInt(e[3])+1,label:e[4],required:Gr.transpilerConfig.required[t]})}function xt(){let e;const t=new Promise((t,n)=>{e=t});return window.addEventListener("click",function t(n){n.stopImmediatePropagation(),window.removeEventListener("click",t,!0);let r=n.target;for(;!r[_t]&&r.parentNode;)r=r.parentNode;return e(r[_t]),!1},!0),t}function Ct(e){return Object.entries(e).filter(([e,t])=>t).map(([e,t])=>e).join(" ")}function Ot(e){for(let t in e)return!1;return!0}const At=(e,t)=>bt(e)===bt(t)&&("array"===bt(e)?e.length===t.length&&e.every((e,n)=>e===t[n]):"object"===bt(e)?Object.keys(e).every(n=>e[n]===t[n]):"date"===bt(e)?e.getTime()===t.getTime():e===t);function Pt(e,t){return bt(e)===bt(t)&&("array"===bt(e)?e.length===t.length&&e.every((e,n)=>Pt(e,t[n])):"object"===bt(e)?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>Pt(e[n],t[n])):"date"===bt(e)?e.getTime()===t.getTime():e===t)}function jt(e){return!(!e||e.constructor!==Function||void 0===e.prototype)&&(Function.prototype!==Object.getPrototypeOf(e)||Object.getOwnPropertyNames(e.prototype).length>1)}function It(e){return"function"==typeof e&&e.constructor&&"AsyncFunction"===e.constructor.name}function $t(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function Dt(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}let Rt=0,Mt=Math.floor(1e4*Math.random()),Nt=Math.floor(1e4*Math.random()),Ut=[],qt=new Set,Wt=new Set,Bt=new Set,Kt=new Set(["classname","classname","ref","action","lilact_jsx_loc","children","key"]),Ft=null,zt=new Set,Jt=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"]);const[Ht,Yt,Xt,Gt,Vt,Zt,Qt]=[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")];class en{owner;current_map=new Map;new_map=new Map;pick_index=0;constructor(e){this.owner=e}pick(e,t){let n,r=this.current_map.get(e);return r&&r.length>r[Vt]?(n=r[r[Vt]],r[Vt]++,r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[Vt]=0)):(n=t(),r=this.new_map.get(e),void 0!==r?r.push(n):(r=[n],this.new_map.set(e,r),r[Vt]=0),n[Ht]&&(n[Ht].parent??=this.owner)),n}commit(){this.current_map.forEach(e=>{e.slice(e[Vt]).forEach(e=>{e.cleanup&&e.cleanup()})}),this.current_map=this.new_map,this.new_map=new Map}}class tn{component;props;constructor(e,t){this.component=e,this.props=t||{}}apply(e=this.props,t=this.next_state||this.state){if(this.entity?.propTypes?Lilact.PropTypes.checkPropTypes(this.entity.propTypes,this.props,"prop",this.entity.name):this.component?.propTypes&&Lilact.PropTypes.checkPropTypes(this.component.propTypes,this.props,"prop",this.component.name),"function"==typeof t&&(t=t(this.state)),this.component.constructor.defaultProps&&(e={...this.component.constructor.defaultProps,...e}),!this.component.shouldComponentUpdate||this.component.shouldComponentUpdate(t,e,this.context)){if("string"==typeof this.entity&&(this.element instanceof Element||(this.element=document.createElement(this.entity)),this.element[Yt]=this.component),e.ref&&(this.element?e.ref.current=this.element:e.ref.current=this.component),void 0!==e&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps(e),this.component.componentWillUpdate&&this.component.componentWillUpdate(e,t),this.state,this.props,this.element&&this.updateElementProps(e),this.props=e,void 0!==this.state||void 0!==t?this.state=t:delete this.state,this.next_state&&delete this.next_state,void 0!==this.hooks){this.hook_index=0,Lilact.current_component=[this,Lilact.current_component];try{this.outlet=this.component.render(e)}catch(e){nn(this,e)}Lilact.current_component=Lilact.current_component[1]}else try{this.outlet=this.component.render()}catch(e){nn(this,e)}"Array"!==this.outlet?.constructor?.name&&(this.outlet=[this.outlet]),this.outlet=[...this.outlet];for(let e=0;e<this.outlet.length;e++){let t=this.outlet[e];if(null==t||"boolean"==typeof t)this.outlet.splice(e,1),e--;else if("function"==typeof t){const n=this.childFunctionHandler(t);this.outlet.splice(e,1,n),e--}else if("Array"===t.constructor.name)this.outlet.splice(e,1,...t),e--;else{const n=rn(this,t);this.outlet[e]=n,void 0===n[Xt]?(n.container=this.element?this:this.container,n.apply(t.props)):n.element?n[Xt]!==t[Xt]&&(n.element.textContent=t[Xt],n[Xt]=t[Xt]):(n.element=document.createTextNode(t[Xt]),n[Xt]=t[Xt])}}this.cache&&this.cache.commit(),this.element&&this.arrangeOutlet(),this.component.componentDidUpdate&&this.component.componentDidUpdate(prev_props,prev_state,this.last_snapshot),this.last_snapshot&&delete this.last_snapshot}}async cleanup(){try{if(this.component.componentWillUnmount&&this.component.componentWillUnmount(),this?.element?.parentElement&&this.element.parentElement.removeChild(this.element),void 0!==this.outlet)for(let e of this.outlet)e.cleanup&&e.cleanup();if(void 0!==this.props?.children)for(let e of this.props.children)e.cleanup&&e.cleanup();if(void 0!==this.hooks)for(let e of this.hooks)e.cleanup&&e.cleanup()}catch(e){throw e}}updateElementProps(e,t=!1){if("input"===this.entity&&(e?.type!==this.element.type&&(this.element.type=e.type),e?.value!==this.element.value&&(this.element.value=e.value),"checkbox"===e?.type)){const t=!!e?.checked;this.element.checked==t&&null!==this.element.parentNode||(this.element.checked=t)}for(let t in this.props){const n=t.toLowerCase();e.hasOwnProperty(t)||(Lilact.events_set.has(n)?this.event_detachers[n]():this.element.setAttribute(t,void 0))}for(let n in e){const r=n.toLowerCase();Lilact.special_attributes.has(r)||e!==this.props&&Lilact.defaultIsEqual(e[n],this.props[n])&&!t||(Lilact.events_set.has(r)?(this.event_detachers??={},this.event_detachers[r]?.(),this.event_detachers[r]=Lilact.addWrappedEventListener(this.element,r.substring(2),e[n])):"style"===r?Object.assign(this.element.style,e[n]):this.element.setAttribute(r,e[n]))}this.element.onsubmit=e?.action?e.action:void 0,this.element.setAttribute("key",this.props.key),this.updateElementClass(e)}updateElementClass(e=this.props){let t=e?.className;if(t??=e?.class?e.class:"",this?.parent?.[Zt]&&(t+=" "+this?.parent?.[Zt]),t.length>0){t=t.split(/\s+/g);for(const e of Array.from(this.element.classList))-1===t.indexOf(e)&&this.element.classList.remove(e);for(const e of t)e.length>0&&this.element.classList.add(e)}else delete this.element.className}scanZombies(e,t){const n=e.element.childNodes;for(;n[e.insert_index]&&n[e.insert_index][Gt]&&n[e.insert_index]!==t;)e.insert_index++}appendElement(e){this.scanZombies(e.container,e.element),null===e?.element.parentNode?(e.container.element.insertBefore(e.element,e.container.element.childNodes[e.container.insert_index]||null),e?.component?.componentDidMount&&e.component.componentDidMount()):e.container.element.childNodes[e.container.insert_index]!==e.element&&e.container.element.insertBefore(e.element,e.container.element.childNodes[e.container.insert_index]||null),e.container.insert_index++}arrangeOutlet(){this.insert_index=0;for(const e of this.outlet)e&&(e.element?(e.container=this.element?this:this.container,e.container.appendElement(e)):(e.arrangeOutlet&&e.arrangeOutlet(),e?.mounted||(e.mounted=!0,e?.component?.componentDidMount&&e.component.componentDidMount())))}childFunctionHandler(e){return e(this.state)}}const nn=(e,t)=>{const n=[e];for(;e&&!e?.component?.componentDidCatch;)(e=e.parent)&&n.push(e);if(!e?.component?.componentDidCatch)throw t;{e.entity?.getDerivedStateFromError&&e.component.setState({...e.component.state,...e.entity.getDerivedStateFromError.call(e,t)}),Lilact.isError(t)&&(t=Lilact.traceError(t));let r=Array.prototype.map.call(n,e=>"in "+(("string"==typeof e.entity?e.entity:e.entity?.name)||e.component?.name||e.constructor?.name)??"undefined").join("\n");e.component.componentDidCatch(t,{componentStack:n,componentStackLog:r})}};function rn(e,t){try{return e.cache??=new en(e),t=e.cache.pick(void 0===t[Xt]?t?.props?.key:":text",()=>void 0!==t[Xt]||t instanceof tn?t:function(e,t){let n=e;if(void 0!==e[Xt]);else if("string"==typeof e.entity)n=new cn(e.entity,e.props);else{if(Lilact.isClass(e.entity)){e.entity?.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new e.entity(e.props);const t=Object.getOwnPropertyDescriptor(n,"state");t&&"function"!=typeof t.get&&"function"!=typeof t.set&&(n[Ht].state=n.state,Object.defineProperty(n,"state",{get(){return this[Ht].state},set(e){if(void 0!==this[Ht].state)throw"assigning component state this way is not allowed.";this[Ht].state=e}}))}else{if("function"!=typeof e.entity)throw console.error(e),"createComponent accepts a component class or a function or undefined for the first argument.";e.entity?.defaultProps&&(e.props={...e.entity.defaultProps,...e.props}),n=new sn(e.props),n.render=e.entity.bind(n),n[Ht].hooks=[],n[Ht].hook_index=0}n[Ht].entity=e.entity,e.container&&(n[Ht].container=e.container)}return t instanceof tn&&(n[Ht].parent=t),n}(t,e)[Ht])}catch(e){if(!t?.component?.componentDidCatch)throw e;t.component.componentDidCatch(e)}}function on(){requestAnimationFrame(()=>{let e=Lilact.layout_effects,t=Lilact.update_cbs,n=Lilact.update_set;Lilact.layout_effects=new Set,Lilact.update_cbs=new Set,Lilact.update_set=new Set;for(const t of e)t();for(const e of n)e.apply();for(const e of t)e()})}const an=(e,t)=>{let n;return void 0!==t.key?n=t.key:void 0!==t.id?n=":i:"+t.id:void 0!==t.path?n=":p:"+t.path:void 0!==t[Xt]?n=":text":(n="string"==typeof e?":t:"+e:e?e.name:"::",void 0!==t.name?n=n+":"+t.name:void 0!==t.path&&(n=n+":"+t.path)),n};class sn{get state(){return this[Ht].state}set state(e){if(void 0!==this[Ht].state)throw"assigning component state this way is not allowed.";this[Ht].state=e}get context(){return this[Ht].context}set context(e){throw"assigning component context this way is not allowed."}get type(){return this[Ht].entity}set type(e){throw"component type is immutable."}get props(){return this[Ht].props}set props(e){throw"assigning component props this way is not allowed."}get ref(){return this[Ht].ref}set ref(e){throw"component ref is immutable."}get key(){return this[Ht].props.key}set key(e){throw"component key is immutable."}constructor(e){this[Ht]=new tn(this,e)}forceUpdate(e){Lilact.clearTimeout(Lilact.update_timeout),Lilact.update_set.add(this[Ht].container||this[Ht]),e&&Lilact.update_cbs.add(e),Lilact.update_timeout=Lilact.setTimeout(on,Lilact.update_interval_margin)}setState(e,t){void 0!==this.getSnapshotBeforeUpdate&&(this[Ht].last_snapshot=this.getSnapshotBeforeUpdate(this[Ht].props,this.state)),this[Ht].next_state=e,this.forceUpdate(t?t.bind(this):void 0)}}class cn extends sn{constructor(e,t){super(t),this[Ht].entity=e}render(){return this[Ht].props.children}}class ln extends cn{constructor(e,t){super(":root",t),"string"==typeof this.element&&(e=document.querySelector(e)),this[Ht].element=e;for(const e of t.children)e[Ht]?e[Ht].container=this[Ht]:e.container=this[Ht]}}function un(e,t={},...n){for(let e=0;e<n.length;e++){let t=n[e];null!=t&&"boolean"!=typeof t?(-1!==["number","bigint"].indexOf(typeof t)&&(t=t.toString()),n[e]="string"==typeof t?{[Xt]:t}:t):(n.splice(e,1),e--)}return null===e?n:(t.key=an(e,t),t.children=n,{entity:e,props:t})}function pn(e){let t;return{render(n){if(t)throw"root already initialized!";return t=new ln(e,{children:[n]}),Lilact.roots.add(t[Ht]),t.forceUpdate(),t},unmount(){t&&(t.cleanup(),e.innerHTML="")}}}function fn(e,t){if(e[Ht]&&(e[Ht].container||e[Ht].parent))throw"component is already in use";return pn(t).render(e)}const dn=un,[hn,mn]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")];function yn(){const e=Lilact.current_component[0];return void 0===e.hooks[e.hook_index]&&e.hooks.push({}),e.hooks[e.hook_index++]}function _n(e){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.value="function"==typeof e?e():e,t.set_func=function(e,t,n){t.value="function"==typeof n?n(t.value):n,e.component.forceUpdate()}.bind(void 0,Lilact.current_component[0],t)),[t.value,t.set_func]}function gn(e,t=[{}]){const n=Lilact.useHook();if(Lilact.isEmpty(n))n.callback=e,n.deps=t;else for(let r in t)if(!Lilact.defaultIsEqual(t[r],n.deps[r])){n.callback=e,n.deps=t;break}return n.callback}function bn(e){return{default:e,Provider:function({value:e,children:t}){return t}}}function vn(e){let t=Lilact.current_component[0].parent;for(;t.entity!==e.Provider&&t.parent;)t=t.parent;if(t.parent){let n=t.props?.value;return n??=e.default}return e.default}function wn(e="N"){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.id=e+Lilact.id_num++),t.id}function En(){const e=Lilact.useHook();return Lilact.isEmpty(e)&&(e.count=0,e.func=async function(e,t,n){t.count++,1===t.count&&e.component.forceUpdate(),await n(),t.count--,0===t.count&&e.component.forceUpdate()}.bind(void 0,Lilact.current_component[0],e)),[0!=e.count,e.func]}function kn(e,t){const n=Lilact.useHook();let r;try{r=JSON.parse(localStorage[e])}catch(e){}return void 0===r&&("function"==typeof t&&(t=t()),r=t,localStorage[e]=JSON.stringify(r)),Lilact.isEmpty(n)&&(n.value=r,n.set_func=function(t,n,r){"function"==typeof r&&(r=r(n.value)),r!==n.value&&(localStorage[e]=JSON.stringify(r),n.value=r,t.component.forceUpdate())}.bind(void 0,Lilact.current_component[0],n)),[n.value,n.set_func]}function Ln(e=null){const t=Lilact.useHook();return Lilact.isEmpty(t)&&(t.current=e),t}function Tn(e,t=[{}]){if("object"!=typeof t||"Array"!==t.constructor.name)throw"effect dependencies must be an array or omitted.";const n=Lilact.useHook();if(!Lilact.isEmpty(n)){if(t.every((e,t)=>e===n.deps[t]))return;n.cleanup&&n.cleanup()}n.deps=t,Lilact.layout_effects.add(()=>{n.cleanup=e()}),Lilact.current_component[0].component.forceUpdate()}function Sn(e,t=[{}]){if("object"!=typeof t||"Array"!==t.constructor.name)throw"effect dependencies must be an array or omitted.";const n=Lilact.useHook();if(!Lilact.isEmpty(n)){if(t.every((e,t)=>e===n.deps[t]))return;n.cleanup&&n.cleanup()}n.deps=t,Lilact.setTimeout(()=>{n.cleanup=e()},0)}function xn(e,t=[]){const n=Lilact.useHook();if(Lilact.isEmpty(n))n.deps=t,n.value=e();else for(let r in t)if(!Lilact.defaultIsEqual(t[r],n.deps[r])){n.deps=t,n.value=e(n.value);break}return n.value}function Cn(e,t){const n=Lilact.useHook(),[r,o]=Lilact.useTransition();return Lilact.isEmpty(n)&&(n.state=t,n.form_action=t=>(event.preventDefault(),o(async()=>{const r=new FormData(t.target,t.submitter);n.state=await e(n.state,r)},[]),!1)),[n.state,n.form_action,r]}function On(e,t,n){const r=Lilact.useHook();return Lilact.isEmpty(r)&&(r.reducer=e,r.state=n?n(t):t,r.dispatch=function(e,t,n){const r=t.reducer(t.state,n);Lilact.defaultIsEqual(r,t.state)||(t.state=r,e.component.forceUpdate())}.bind(void 0,Lilact.current_component[0],r)),[r.state,r.dispatch]}function An(e,t){const{useEffect:n,useRef:r,useState:o}=Lilact,[i,a]=o(void 0!==t?t:e),s=r(e),c=r(null);return n(()=>{if(s.current===e)return;s.current=e,null!=c.current&&(c.current.cancelled=!0,c.current=null);const t={cancelled:!1};return c.current=t,Promise.resolve().then(()=>{t.cancelled||(a(e),c.current=null)}),()=>{c.current&&(c.current.cancelled=!0,c.current=null)}},[e]),i}var Pn=n(861);const[jn,In,$n,Dn,Rn,Mn,Nn,Un]=[Symbol.for("LILACT:TIMERS:CORE"),Symbol.for("LILACT:TIMERS:IDX"),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")];let qn,Wn=-1,Bn=[],Kn=-1,Fn={};const zn=window.setTimeout,Jn=window.setInterval,Hn=window.clearTimeout,Yn=window.clearInterval;function Xn(e,t=!1){const[n,r]=function(e){let t=0,n=Bn.length-1;for(;t<=n;){const r=Math.floor((t+n)/2),o=Bn[r][$n];if(o===e)return[r,Bn[r]];o<e?t=r+1:n=r-1}const r=[];return r[$n]=e,Bn.splice(t,0,r),[t,r]}(e[$n]);return t||(Wn++,Fn[Wn]=e,e[In]=Wn),r.push(e),Bn[0][0]===e&&(Hn(Kn),Kn=zn(Gn,e[Mn])),Wn}function Gn(){const e=Date.now();let t=0,n=Bn[t];for(;n&&n[$n]-e<=0;){for(const e of n)e[Rn]?delete Fn[e[In]]:(e[Nn](...e[Un]),e[Dn]?(e[$n]=Date.now()+e[Mn],Xn(e,!0)):delete Fn[e[In]]);t++,n=Bn[t]}Bn.splice(0,t),Bn.length>0&&(Hn(Kn),Kn=zn(Gn,Bn[0][$n]-e))}function Vn(){Hn(Kn),qn=void 0,Wn=-1,Bn=[],Kn=-1,Fn={}}function Zn(){Hn(Kn),qn=Date.now()}function Qn(){if(qn){if(Bn.length>0){const e=Date.now();qn-=e;for(const e of Bn)e[$n]-=qn;Kn=zn(Gn,Bn[0][$n]-e)}qn=void 0}}function er(e,t,...n){return Xn({[Nn]:e,[Mn]:t,[$n]:Date.now()+t,[Dn]:!1,[Un]:n})}function tr(e,t,...n){return Xn({[Nn]:e,[Mn]:t,[$n]:Date.now()+t,[Dn]:!0,[Un]:n})}function nr(e){Fn[e]&&(Fn[e][Rn]=!0)}function rr(e){Fn[e]&&(Fn[e][Rn]=!0)}function or(){globalThis.setTimeout=this.setTimeout,globalThis.setInterval=this.setInterval,globalThis.clearTimeout=this.clearTimeout,globalThis.clearInterval=this.clearInterval}function ir(){globalThis.setTimeout=zn,globalThis.setInterval=Jn,globalThis.clearTimeout=Hn,globalThis.clearInterval=Yn}function ar(e=0,t=this){let n,r,o;const i=new Promise((i,a)=>{r=i,o=a,n=t.setTimeout(()=>{r()},e)});return i.proceed=()=>{t.clearTimeout(n),r()},i.cancel=()=>{t.clearTimeout(n),o()},i}function sr(){return new Promise(e=>{requestAnimationFrame(()=>{e()})})}const[cr,lr,ur]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:CHILD_CLASS_ADDENDUM")],pr="unmounted",fr="exited",dr="entering",hr="entered",mr="exiting";function yr({in:e,timeout:t=Lilact.defaultTransitionTimeout,mountOnEnter:n=!1,unmountOnExit:r=!1,appear:o=!1,onEnter:i,onEntering:a,onEntered:s,onExit:c,onExiting:l,onExited:u,children:p,_classNames:f}){return this[cr].is_mounted??=!n||e||o,this[cr].is_appeared??=e,this[cr].timer??=null,this.state||(this[cr].is_mounted||(this.state=pr),e&&(this.state=o&&!this[cr].is_appeared?dr:hr),this.state=fr),Sn(()=>()=>nr(this[cr].timer),[]),Sn(()=>{!this[cr].is_appeared&&o&&this.state===dr&&e&&(i?.(),requestAnimationFrame(()=>{a?.(!this[cr].is_appeared),nr(this[cr].timer),this[cr].timer=er(()=>{this.setState(hr),this[cr].is_appeared=!0,s?.(!this[cr].is_appeared)},t)}))},[]),Sn(()=>{if(e){if(this[cr].is_mounted=!0,this.state===dr||this.state===hr)return;i?.(!this[cr].is_appeared),this.setState(dr,()=>{a?.(!this[cr].is_appeared),nr(this[cr].timer),this[cr].timer=er(()=>{this.setState(hr),this[cr].is_appeared=!0,s?.()},t)})}else{if(this.state===pr||this.state===mr||this.state===fr)return;c?.(),this.setState(mr,()=>{l?.(),nr(this[cr].timer),this[cr].timer=er(()=>{this.setState(fr),u?.(),r&&(this[cr].is_mounted=!1,this.setState(pr))},t)})}},[e,t]),this[cr].is_mounted?(f&&(this.state===dr?this[cr].is_appeared?this[cr][ur]=f.appearActive:this[cr][ur]=f.enterActive:this.state===hr?this[cr].is_appeared?this[cr][ur]=f.appearDone:this[cr][ur]=f.enterDone:this.state===mr?this[cr][ur]=f.exitActive:this.state===fr&&(this[cr][ur]=f.exitDone)),p):null}function _r({in:e,timeout:t=defaultTransitionTimeout,classNames:n="fade",mountOnEnter:r=!1,unmountOnExit:o=!1,appear:i=!1,children:a,onEnter:s,onEntering:c,onEntered:l,onExit:u,onExiting:p,onExited:f}){return"string"==typeof n&&(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`}),Lilact.createComponent(yr,{in:e,timeout:t,mountOnEnter:r,unmountOnExit:o,appear:i,onEnter:s,onEntering:c,onEntered:l,onExit:u,onExiting:p,onExited:f,_classNames:n},a)}function gr({children:e}){return e}"undefined"==typeof Element||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}),"undefined"==typeof Event||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});const br=[];function vr(e,t){const n=br.length?br.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.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.nativeEvent=e,n.key=e.key||null,n.code=e.code||null,n.which=e.which||e.keyCode||null;try{const e=n.target;n.value=e&&"value"in e?e.value:void 0,n.checked=e&&"checked"in e?e.checked:void 0}catch(e){n.value=void 0,n.checked=void 0}return n.path="function"==typeof e.composedPath?e.composedPath():[n.target],n}function wr(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.key=null,e.code=null,e.which=null,e.value=void 0,e.checked=void 0,e.path=null,br.length<10&&br.push(e))}function Er(e,t={}){const{stopPropagationOnTrueReturn:n=!1}=t;return function(t){const r=vr(t,this||t.currentTarget||null);try{const t=e(r);n&&!0===t&&r.stopPropagation()}finally{wr(r)}}}const kr={wrapListener:Er,addWrappedEventListener:function(e,t,n,r={}){const o=Er(n,r);return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)},createSyntheticEvent:vr,releaseSyntheticEvent:wr},[Lr]=[Symbol.for("LILACT:CORE")];let Tr;function Sr({store:e,children:t}){return Tr??=Lilact.createContext(null),Lilact.createComponent(Tr.Provider,{value:e},t)}function xr(){const e=Lilact.useContext(Tr);if(!e)throw new Error("Could not find Redux store in context. <Provider> is missing.");return e}function Cr(){return Lilact.useStore().dispatch}function Or(e,t=(e,t)=>e===t){const n=Lilact.useStore(),r=Lilact.useRef(),o=Lilact.useRef(),[,i]=Lilact.useState(0);o.current||(o.current=e),o.current=e;let a=e(n.getState());return void 0===r.current&&(r.current=a),Lilact.useLayoutEffect(()=>{r.current=a},[a]),Lilact.useEffect(()=>{let e=!1;function a(){if(!e)try{const e=o.current(n.getState()),a=r.current;t(a,e)||(r.current=e,i(e=>e+1))}catch(e){console.warn(e)}}const s=n.subscribe(a);return a(),()=>{e=!0,s()}},[n,t]),r.current}function Ar(e,t){return Boolean(e),function(n){return function(r){const o=Lilact.useStore();let i={dispatch:o.dispatch};if("function"==typeof t)i=t(o.dispatch,r);else if("object"==typeof t&&null!==t){i={};const e=o.dispatch;for(const n in t){const r=t[n];i[n]=(...t)=>e(r(...t))}}let a={};if(e){const t=t=>e(t,r);a=Lilact.useSelector(t,Lilact.shallowEqual)||{}}const s={...r,...a,...i};return Lilact.createComponent(n,{...s})}}}const[Pr,jr]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT")],Ir=bn(null),$r=bn({params:{}}),Dr=e=>"string"==typeof e?e:(e.pathname||"")+(e.search||"")+(e.hash||"");function Rr({children:e,basename:t=""}){const n=()=>{const e=(window.location.hash||"#/").slice(1).replace(new RegExp(`^${t}`),"")||"/",[n,r]=e.split("#"),[o,i=""]=n.split("?");return{pathname:o||"/",search:i?"?"+i:"",hash:r?"#"+r:"",state:history.state?.__state}},[r,o]=_n(n);Sn(()=>{const e=()=>o(n());return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[t]);const i=gn((e,{replace:r=!1,state:i}={})=>{const a=Dr(e),s="#"+(t+a);r?history.replaceState({__state:i},"",s):history.pushState({__state:i},"",s),o(n())},[t]);return Lilact.createComponent(Ir.Provider,{value:{location:r,navigate:i,basename:t}},e)}function Mr(){const e=vn(Ir);if(!e)throw new Error("useLocation must be used inside a Router");return e.location}function Nr(){const e=vn(Ir);if(!e)throw new Error("useNavigate must be used inside a Router");return e.navigate}function Ur({to:e,replace:t=!1,state:n,onClick:r,target:o,download:i,className:a,style:s,children:c,...l}){const u=Nr(),p="#"+Dr(e);return Lilact.createComponent("a",{...l,href:p,onClick:function(i){r&&r(i),i.defaultPrevented||0!==i.button||o&&"_self"!==o||i.metaKey||i.altKey||i.ctrlKey||i.shiftKey||(i.preventDefault(),u(e,{replace:t,state:n}))},target:o,download:i,className:a,style:s},c)}function qr(e){return e&&e.replace(/\/+$/,"")||"/"}function Wr({to:e,end:t=!1,activeClassName:n="active",className:r,activeStyle:o,style:i,replace:a=!1,state:s,children:c,onClick:l,...u}){const p=Nr(),f=Mr(),d="string"==typeof e?e.split("?")[0].split("#")[0]:e.pathname||"/",h=f.pathname||"/",m=t?qr(h)===qr(d):qr(h).startsWith(qr(d)),y=["function"==typeof r?r({isActive:m}):r,m?n:null].filter(Boolean).join(" ")||void 0,_="function"==typeof i?i({isActive:m}):i,g=m?{..._||{},...o||{}}:_,b="#"+Dr(e);return Lilact.createComponent("a",{...u,href:b,onClick:function(t){l&&l(t),t.defaultPrevented||0!==t.button||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),p(e,{replace:a,state:s}))},className:y,style:g,"aria-current":m?"page":void 0},"function"==typeof c?c({isActive:m}):c)}function Br(e,t){if(null==e)return{matched:!0,params:{}};const{regex:n,paramNames:r}=function(e){const t=[];let n="^"+e.replace(/\/+$/,"").replace(/([.+?^=!:${}()|[\]\/\\])/g,"\\$1").replace(/\\\:([A-Za-z0-9_]+)/g,(e,n)=>(t.push(n),"([^/]+)")).replace(/\\\*$/g,"(.+?)?");return n+="/?$",{regex:new RegExp(n),paramNames:t}}(e),o=n.exec(t);if(!o)return{matched:!1};const i={};return r.forEach((e,t)=>i[e]=decodeURIComponent(o[t+1]||"")),o.length>r.length+1&&(i["*"]=o[r.length+1]?decodeURIComponent(o[r.length+1]):void 0),{matched:!0,params:i}}function Kr({path:e,element:t=null,children:n}){return null}function Fr({children:e}){const t=Mr().pathname||"/",n=kt.toArray(e);for(let e=0;e<n.length;e++){const r=n[e],o=void 0===r.props.path?null:r.props.path,i=r.props.element??null,a=r.props.children,{matched:s,params:c}=Br(o,t);if(s)return i?Lilact.createComponent($r.Provider,{value:{params:c}},i):a?Lilact.createComponent($r.Provider,{value:{params:c}},Lilact.createComponent(Fr,{},a)):Lilact.createComponent($r.Provider,{value:{params:c}},Lilact.createComponent("div",{}))}return null}function zr({size:e=48,className:t,style:n,color:r="currentColor",strokeWidth:o=3,"aria-label":i="Loading"}){const a=Math.max(1,e)+"px";return Lilact.createComponent("div",{className:t,style:{width:"100%",height:"100%",display:"grid",placeItems:"center",...n},"aria-label":i,role:"status"},Lilact.createComponent("div",{style:{width:a,height:a,borderRadius:"50%",border:`${o}px solid rgba(0,0,0,0.15)`,borderTopColor:r,animation:"ddSpinnerSpin 0.9s linear infinite",boxSizing:"border-box"}}),Lilact.createComponent("style",{},"\n @keyframes ddSpinnerSpin { to { transform: rotate(360deg); } }\n "))}class Jr extends sn{state={hasError:!1,error:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){const{onError:n}=this.props;try{n&&n(e,t)}catch(e){console.error("onError threw",e)}}reset=()=>this.setState({hasError:!1,error:null});render(){const{Fallback:e,children:t}=this.props;return this.state.hasError?Lilact.createComponent(e,{error:this.state.error,reset:this.reset}):t}}class Hr extends sn{static defaultProps={minDelay:200,minShowTime:300};constructor(e){super(e),this.state={showingFallback:!1},this._pending=new Set,this._delayTimer=null,this._minShowTimer=null,this._fallbackShownAt=0}static getDerivedStateFromError(e){if(Lilact.isThenable(e))return null;throw e}componentDidCatch(e){if(!Lilact.isThenable(e))return;const t=e;if(!this._pending.has(t)&&(this._pending.add(t),1===this._pending.size)){const e=Math.max(0,this.props.minDelay);this._delayTimer&&(Lilact.clearTimeout(this._delayTimer),this._delayTimer=null),this._delayTimer=Lilact.setTimeout(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},e)}}componentWillUnmount(){this._clearTimers(),this._pending.clear()}_clearTimers(){this._delayTimer&&(Lilact.clearTimeout(this._delayTimer),this._delayTimer=null),this._minShowTimer&&(Lilact.clearTimeout(this._minShowTimer),this._minShowTimer=null)}_attachPromise(e){if(this._pending.has(e))return;if(this._pending.add(e),1===this._pending.size){const e=Math.max(0,this.props.minDelay);this._delayTimer&&(Lilact.clearTimeout(this._delayTimer),this._delayTimer=null),this._delayTimer=Lilact.setTimeout(()=>{this._delayTimer=null,this._fallbackShownAt=Date.now(),this.setState({showingFallback:!0})},e)}const t=()=>{if(this._pending.has(e)&&this._pending.delete(e),0===this._pending.size){if(this._delayTimer)return Lilact.clearTimeout(this._delayTimer),this._delayTimer=null,void this.setState({showingFallback:!1});const e=Date.now()-(this._fallbackShownAt||0),t=Math.max(0,this.props.minShowTime-e);0===t?this.setState({showingFallback:!1}):(this._minShowTimer&&(Lilact.clearTimeout(this._minShowTimer),this._minShowTimer=null),this._minShowTimer=Lilact.setTimeout(()=>{this._minShowTimer=null,this.setState({showingFallback:!1})},t))}};e.then(t,t)}componentDidCatch(e,t){Lilact.isThenable(e)&&this._attachPromise(e)}render(){return this.state.showingFallback?Lilact.createComponent(null,{},this.props.fallback):Lilact.createComponent(null,{},this.props.children)}}var Yr=n(207);const Xr={VERSION:"beta.0",defaultTransitionTimeout:300,defaultIsEqual:Object.is,...a,...s,...Pn,...l,...u,...c,...i,...kr,...p,...f,transpileJSX:Yr.transpileJSX,transpilerConfig:Yr.transpilerConfig,PropTypes:mt(),redux:r,emotion:o};document.addEventListener("DOMContentLoaded",()=>{Xr.runScripts()}),console.log(`Lilact (Version: ${Xr.VERSION}) - Debug Mode`),console.log("Copyright(C) 2024-2026 Arash Kazemi <contact.arash.kazemi@gmail.com>");const Gr=Xr},556:(e,t,n)=>{var r=n(363);e.exports=n(574)(r.isElement,!0)},574:(e,t,n)=>{var r,o=n(363),i=n(228),a=n(925),s=n(376),c=n(847);function l(){return null}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",p={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(l),arrayOf:function(e){return h(function(t,n,r,o,i){if("function"!=typeof e)return new d("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new d("Invalid "+o+" `"+i+"` of type `"+g(s)+"` supplied to `"+r+"`, expected an array.");for(var c=0;c<s.length;c++){var l=e(s,c,r,o,i+"["+c+"]",a);if(l instanceof Error)return l}return null})},element:h(function(t,n,r,o,i){var a=t[n];return e(a)?null:new d("Invalid "+o+" `"+i+"` of type `"+g(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:h(function(e,t,n,r,i){var a=e[t];return o.isValidElementType(a)?null:new d("Invalid "+r+" `"+i+"` of type `"+g(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return h(function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||u;return new d("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null})},node:h(function(e,t,n,r,o){return _(e[t])?null:new d("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return h(function(t,n,r,o,i){if("function"!=typeof e)return new d("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var c=t[n],l=g(c);if("object"!==l)return new d("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var u in c)if(s(c,u)){var p=e(c,u,r,o,i+"."+u,a);if(p instanceof Error)return p}return null})},oneOf:function(e){return Array.isArray(e)?h(function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(f(a,e[s]))return null;var c=JSON.stringify(e,function(e,t){return"symbol"===b(t)?String(t):t});return new d("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+c+".")}):(r(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),l)},oneOfType:function(e){if(!Array.isArray(e))return r("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+v(n)+" at index "+t+"."),l}return h(function(t,n,r,o,i){for(var c=[],l=0;l<e.length;l++){var u=(0,e[l])(t,n,r,o,i,a);if(null==u)return null;u.data&&s(u.data,"expectedType")&&c.push(u.data.expectedType)}return new d("Invalid "+o+" `"+i+"` supplied to `"+r+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")})},shape:function(e){return h(function(t,n,r,o,i){var s=t[n],c=g(s);if("object"!==c)return new d("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return y(r,o,i,l,b(u));var p=u(s,l,r,o,i+"."+l,a);if(p)return p}return null})},exact:function(e){return h(function(t,n,r,o,c){var l=t[n],u=g(l);if("object"!==u)return new d("Invalid "+o+" `"+c+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var p=i({},t[n],e);for(var f in p){var h=e[f];if(s(e,f)&&"function"!=typeof h)return y(r,o,c,f,b(h));if(!h)return new d("Invalid "+o+" `"+c+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(l,f,r,o,c+"."+f,a);if(m)return m}return null})}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){var n={},o=0;function i(i,s,c,l,p,f,h){if(l=l||u,f=f||c,h!==a){if(t){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("undefined"!=typeof console){var y=l+":"+c;!n[y]&&o<3&&(r("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[y]=!0,o++)}}return null==s[c]?i?null===s[c]?new d("The "+p+" `"+f+"` is marked as required in `"+l+"`, but its value is `null`."):new d("The "+p+" `"+f+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(s,c,l,p,f)}var s=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function m(e){return h(function(t,n,r,o,i,a){var s=t[n];return g(s)!==e?new d("Invalid "+o+" `"+i+"` of type `"+b(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function y(e,t,n,r,o){return new d((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function _(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(_);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!_(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!_(a[1]))return!1}return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function b(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function v(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,p.checkPropTypes=c,p.resetWarningCache=c.resetWarningCache,p.PropTypes=p,p}},847:(e,t,n)=>{var r=function(){},o=n(925),i={},a=n(376);function s(e,t,n,s,c){for(var l in e)if(a(e,l)){var u;try{if("function"!=typeof e[l]){var p=Error((s||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}u=e[l](t,l,s,n,null,o)}catch(e){u=e}if(!u||u instanceof Error||r((s||"React class")+": type specification of "+n+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var f=c?c():"";r("Failed "+n+" type: "+u.message+(null!=f?f:""))}}}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},s.resetWarningCache=function(){i={}},e.exports=s},861:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{lazy:()=>lazy,require:()=>require,run:()=>run,runScripts:()=>runScripts,traceError:()=>traceError});var _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(491);const[CORE,COMPONENT,LAZY]=[Symbol.for("LILACT:CORE"),Symbol.for("LILACT:COMPONENT"),Symbol.for("LILACT:LAZY")];function run(jsx,path=`<string input ${++_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.eval_num}>`,is_inline=!0){_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.checkTraceErrors&&_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.checkTraceErrors;const mappings=[];let processed;try{processed=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.transpileJSX(jsx,{path,mappings,factory:"Lilact.createComponent",append_sourcemap:!is_inline,wrap_all:!1})}catch(e){throw e.lilact_trace=path,e}const module={};_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.transpilerConfig.required[path]={mappings,processed,module,is_inline,path,code:jsx},_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.scanFunctionLabels(processed,path),_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.transpilerConfig.func_labels[path]={path,row:0,col:0,label:"<EXEC>",required:_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.transpilerConfig.required[path]};try{globalThis.Lilact=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default;const res=eval(processed);return module.exports?module.exports:res}catch(e){throw e.lilact_trace=path,e}}function require(e,t){if("#"===e[0]){const t=document.getElementById(e);if(t)return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.run(t.innerText,e)}else{if(_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default?.[LAZY])return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default[LAZY]=!1,fetch(e).then(e=>{if(!e.ok)throw new Error(`HTTP ${e.status}`);return e.text()}).then(t=>(t=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.run(t,e,!1),t?.default??t)).catch(e=>{throw e});{const t=new XMLHttpRequest;if(t.open("GET",e,!1),t.send(null),200===t.status)return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.run(t.responseText,e,!1)}}throw`required resource not found (${e})`}function lazy(e){let t,n="pending";return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default[LAZY]=!0,t=e(),_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.isThenable(t)&&t.then(e=>(n="success",t=e,t),e=>{throw n="error",t=e,e}),function(e){if("pending"===n)throw t;if("error"===n)throw t;const r=t;return _lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.createComponent(r,{...e})}}function traceError(e){const t=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.getErrorLocation(e),n={path:e.fileName,label:null,row:t[0],col:t[1],msg:e.message,name:e.name,stack:null,err:e};if(void 0!==e.lilact_trace){let t,r;"string"==typeof e.lilact_trace?(r=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.func_labels[e.lilact_trace],t=r.required.mappings):"object"==typeof e.lilact_trace&&(r=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.func_labels[e.lilact_trace[0]],t=r.mappings),n.path=r.path,n.label=r.label,[n.row,n.col]=_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.mapLocation(t,n.row,n.col)}return n}function scanScriptTagsWithType(){return Array.from(document.querySelectorAll('script[type="text/jsx"]')).map(e=>({src:e.getAttribute("src")??null,content:e.textContent??""}))}function runScripts(){const e=scanScriptTagsWithType();for(const t of e)t.src&&_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.require(t.src),t.content&&_lilact_jsx__WEBPACK_IMPORTED_MODULE_0__.default.run(t.content)}},862:(e,t,n)=>{n.r(t),n.d(t,{defineSymbols:()=>o,outputJS:()=>a,quote:()=>i});const r=Symbol.for("LILACT:TRANSPILER_OUTPUT");function o(e,t){void 0===t?(t=e,e=""):e+=":";const n=[],r=[];if(t instanceof Array){if(""!==e){"string"!=typeof e&&(e="");for(let o of t)r.push(o),n.push(`Symbol.for('${e}${o}')`)}else for(const e of t)r.push(e),n.push("Symbol()");return`const [${r.join(",")}]=[${n.join(",")}];`}}const i=e=>`"${String(e).replace(/(["\n])/g,"\\$1")}"`;function a(e){globalThis[r]=e}},919:(e,t,n)=>{n.r(t),n.d(t,{decode:()=>i,encode:()=>a});let r={},o={};function i(e){let t=[],n=0,o=0;for(let i=0;i<e.length;i+=1){let a=r[e[i]];if(void 0===a)throw new Error("Invalid character ("+e[i]+")");const s=32&a;if(a&=31,o+=a<<n,s)n+=5;else{const e=1&o;o>>>=1,e?t.push(0===o?-2147483648:-o):t.push(o),o=n=0}}return t}function a(...e){if("number"==typeof e)return s(e);let t="";for(let n=0;n<e.length;n+=1)t+=s(e[n]);return t}function s(e){let t="";e<0?e=-e<<1|1:e<<=1;do{let n=31&e;(e>>>=5)>0&&(n|=32),t+=o[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,o[t]=e})},925:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(491);const __webpack_exports__Lilact=__webpack_exports__.Lilact,__webpack_exports__default=__webpack_exports__.default;export{__webpack_exports__Lilact as Lilact,__webpack_exports__default as default};
64
+ //# sourceMappingURL=lilact.development.min.js.map
@@ -0,0 +1,77 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /*! ./checkPropTypes */
8
+
9
+ /*! ./cjs/react-is.development.js */
10
+
11
+ /*! ./factoryWithTypeCheckers */
12
+
13
+ /*! ./jsx.addons.js */
14
+
15
+ /*! ./lib/ReactPropTypesSecret */
16
+
17
+ /*! ./lib/has */
18
+
19
+ /*! ./lilact.jsx */
20
+
21
+ /*! ./vlq.js */
22
+
23
+ /*! object-assign */
24
+
25
+ /*! react-is */
26
+
27
+ /*!********************!*\
28
+ !*** ./src/jsx.js ***!
29
+ \********************/
30
+
31
+ /*!********************!*\
32
+ !*** ./src/vlq.js ***!
33
+ \********************/
34
+
35
+ /*!*********************!*\
36
+ !*** ./src/run.jsx ***!
37
+ \*********************/
38
+
39
+ /*!***************************!*\
40
+ !*** ./src/jsx.addons.js ***!
41
+ \***************************/
42
+
43
+ /*!*************************************!*\
44
+ !*** ./src/lilact.jsx + 27 modules ***!
45
+ \*************************************/
46
+
47
+ /*!****************************************!*\
48
+ !*** ./node_modules/react-is/index.js ***!
49
+ \****************************************/
50
+
51
+ /*!******************************************!*\
52
+ !*** ./node_modules/prop-types/index.js ***!
53
+ \******************************************/
54
+
55
+ /*!********************************************!*\
56
+ !*** ./node_modules/prop-types/lib/has.js ***!
57
+ \********************************************/
58
+
59
+ /*!*********************************************!*\
60
+ !*** ./node_modules/object-assign/index.js ***!
61
+ \*********************************************/
62
+
63
+ /*!***************************************************!*\
64
+ !*** ./node_modules/prop-types/checkPropTypes.js ***!
65
+ \***************************************************/
66
+
67
+ /*!***********************************************************!*\
68
+ !*** ./node_modules/react-is/cjs/react-is.development.js ***!
69
+ \***********************************************************/
70
+
71
+ /*!************************************************************!*\
72
+ !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
73
+ \************************************************************/
74
+
75
+ /*!*************************************************************!*\
76
+ !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
77
+ \*************************************************************/