((e,t)=>{"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):e.crel=t()})(this,()=>{var e="function",t="object",n="setAttribute",r="attrMap",i="isNode",o="isElement",a=document,f=(e,t)=>typeof e===t,l=(e,t)=>{Array.isArray(t)?t.map(t=>l(e,t)):(d[i](t)||(t=a.createTextNode(t)),e.appendChild(t))};function d(s){var u,c=arguments,p=c.length,y=c[1],m=2,x=d[r];if(s=d[o](s)?s:a.createElement(s),p>1){if((!f(y,t)||d[i](y)||Array.isArray(y))&&(m--,y=null),p-m==1&&f(c[m],"string"))s.textContent=c[m];else for(;m<p;m++)null!==(u=c[m])&&l(s,u);for(var A in y)if(x[A]){var b=x[A];f(b,e)?b(s,y[A]):s[n](b,y[A])}else f(y[A],e)?s[A]=y[A]:s[n](A,y[A])}return s}return d[r]={},d[o]=(e=>e instanceof Element),d[i]=(e=>e instanceof Node),f(Proxy,"undefined")||(d.proxy=new Proxy(d,{get:(e,t)=>(!(t in d)&&(d[t]=d.bind(null,t)),d[t])})),d});
((e,t)=>{"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):e.crel=t()})(this,()=>{var e="function",t="object",n="attrMap",r="isNode",o="isElement",i=document,a=(e,t)=>typeof e===t,f=(e,t)=>{null!==t&&(Array.isArray(t)?t.map(t=>f(e,t)):(d[r](t)||(t=i.createTextNode(t)),e.appendChild(t)))};function d(c,l){var u,p,s=arguments,y=1,m=d[n];if(c=d[o](c)?c:i.createElement(c),a(l,t)&&!d[r](l)&&!Array.isArray(l))for(u in y++,l)p=l[u],u=m[u]||u,a(u,e)?u(c,p):a(p,e)?c[u]=p:c.setAttribute(u,p);for(;y<s.length;y++)f(c,s[y]);return c}return d[n]={},d[o]=(e=>e instanceof Element),d[r]=(e=>e instanceof Node),a(Proxy,"undefined")||(d.proxy=new Proxy(d,{get:(e,t)=>(!(t in d)&&(d[t]=d.bind(null,t)),d[t])})),d});
Rebuild crel.min.js