/** * Reacton v4.0.12 * (c) 2022-2024 | github.com/reacton-js * Released under the MIT License. **/ var Rtn=function(){"use strict";const D=/\.\w+$/,F=/[A-Z]/g,H=/:(\w+)/g,z=/{{([^{}]*?)}}/,R=/('|"|`)[^]*?\1/g,q=/;|\bof\b|\bin\b/,V=/\b[A-Za-z_]\w*?\b/g,c=new WeakMap,Y=(new DOMParser).parseFromString("","text/html"),Z="window,location,history,document,navigation,screen,arguments",I="$host,$shadow,$data,$state,$event,$router,$,$$,$entities",w=e=>e.replace(R,"").split(q)[0].match(V).join(),n=[[/&/g,"&"],[//g,">"],[/"/g,"""],[/'/g,"'"]];const s=["push","pop","shift","unshift","splice","sort","reverse","toString","add","set","delete","clear"].reduce((e,t)=>(e[t]=!0,e),{}),J=Object.getPrototypeOf(async function(){}).constructor,U=(e,t)=>(0e[t],set:(e,t,n)=>(e[t]=n,!0)},G={childList:!0,subtree:!0};async function b(...e){for(let a of e){if(a instanceof HTMLTemplateElement){const d=a.content;var t=[...d.querySelectorAll("script")].map(e=>d.removeChild(e).innerHTML).join(""),t=await(t?new J(t)():null);if("function"!=typeof t){console.error(`Error: return value "${t}" is not a class`);continue}t.template=a.innerHTML,a=t}else if("function"!=typeof a){console.error(`Error: argument "${a}" is not a class or