@freact/core
Advanced tools
@@ -190,3 +190,3 @@ function f(n, e, ...t) { | ||
| function I(n) { | ||
| return n.props.children ? Array.isArray(n.props.children) ? n.props.children : [n.props.children] : []; | ||
| return Object.hasOwn(n.props, "children") ? Array.isArray(n.props.children) ? n.props.children : [n.props.children] : []; | ||
| } | ||
@@ -193,0 +193,0 @@ class H { |
@@ -1,1 +0,1 @@ | ||
| var Freact=function(_){"use strict";function c(n,e,...t){const l=e&&Object.hasOwn(e,"key"),i=e?.key;if(delete e?.key,n===k)return l&&(t.key=i),t.length>0?t:void 0;const u={type:n,props:{...e}};return t.length>0&&(u.props.children=t.length>1?t:t[0]),l&&(u.key=i),u}const o={self:null,index:0,data:[],fx:[],root:null};function L(n,e){const t=o.data,l=o.index++;if(!Object.hasOwn(t,l))t[l]={val:n(),deps:e};else{let i=t[l].deps.length===e.length;if(i){for(let u=0;u<e.length;u++)if(!Object.is(t[l].deps[u],e[u])){i=!1;break}}i||(t[l].val=n(),t[l].deps=e)}return t[l].val}const U=(n,e)=>{const t=Object.keys(e);if(t.length!==Object.keys(n).length)return!1;const l=Object.hasOwn(e,"children");if(Object.hasOwn(n,"children")!==l)return!1;if(l){if(n.children.length!==e.children.length)return!1;for(let i=0;i<e.children.length;i++)if(!Object.is(e.children[i],n.children[i]))return!1}for(const i of t)if(i!=="children"&&!Object.is(n[i],e[i]))return!1;return!0};function F(n,e=U){let t=!1;return l=>(t=e(o.self?.value.__context?.prevProps??{},l)?t:!t,L(()=>c(n,l),[t]))}function S(n,e){const t=o.data,l=o.index++;if(!Object.hasOwn(t,l))t[l]={effect:n,cb:null,deps:e??null},o.fx.push(t[l]);else{let i=!!t[l].deps&&t[l].deps?.length===e?.length;if(i){for(let u=0;u<e.length;u++)if(!Object.is(t[l].deps[u],e[u])){i=!1;break}}i||(t[l].effect=n,t[l].deps=e??null)}}function I(n){if(!o.self)throw new Error("Missing context data inside useContext hook");const e=o.data,t=o.index++,l=o.self;return Object.hasOwn(e,t)||(e[t]=j.get(n).value,e[t].subs.add(l)),S(()=>()=>e[t].subs.delete(l),[]),e[t].val}function P(n){const e=o.data,t=o.index++;return Object.hasOwn(e,t)||(e[t]={current:n}),e[t]}const j=new Map;class H{constructor(e){j.set(this,{prev:null,value:{val:e,subs:new Set}})}Provider=({value:e,children:t})=>{const l=P({val:e,subs:new Set});l.current.val!==e&&(l.current.val=e,l.current.subs.forEach(u=>{o.root?.__internalAddPending(u)}));const i=j.get(this);return j.set(this,{prev:i,value:l.current}),S(()=>{j.set(this,i)}),c(k,null,t)};Consumer=({children:e})=>{const t=I(this);return c(k,null,e(t))}}function V(n){return new H(n)}function $(n,e){return L(()=>n,e)}function B(n,e,t){if(!o.root||!o.self)throw new Error("Missing context data inside useReducer hook");const l=o.data,i=o.index++,u=o.root,O=o.self;if(!Object.hasOwn(l,i)){const b=D=>{const x=n(l[i].val,D);Object.is(x,l[i].val)||(l[i].val=x,u.__internalAddPending(O),u.__internalUpdate())};l[i]={val:t?t(e):e,dispatch:b}}return[l[i].val,l[i].dispatch]}function z(n){if(!o.root||!o.self)throw new Error("Missing context data inside useState hook");const e=o.data,t=o.index++,l=o.root,i=o.self;if(!Object.hasOwn(e,t)){const u=O=>{const b=typeof O=="function"?O(e[t].val):O;Object.is(b,e[t].val)||(e[t].val=b,l.__internalAddPending(i),l.__internalUpdate())};e[t]={setter:u,val:typeof n!="function"?n:n()}}return[e[t].val,e[t].setter]}var a=(n=>(n[n.LITERAL=0]="LITERAL",n[n.FRAGMENT=1]="FRAGMENT",n[n.ELEMENT=2]="ELEMENT",n[n.COMPONENT=4]="COMPONENT",n[n.NODRAW=5]="NODRAW",n))(a||{});function C(n){return typeof n!="object"||n===null||!Object.hasOwn(n,"key")?null:n.key}function G(n,e){for(const t of Object.keys(e))typeof e[t]=="object"?G(n[t],e[t]):n[t]=e[t]}function M(n,e,t){e==="class"&&(e="className"),typeof t=="object"?G(n[e],t):n[e]=t}function m(n,e,t){const l=typeof e=="object"?e:document.createTextNode(`${e}`);n.childNodes.length>0?n.insertBefore(l,n.childNodes[t]):n.appendChild(l)}function N(n){return typeof n=="object"&&n!==null?Array.isArray(n)?a.FRAGMENT:typeof n.type=="string"?a.ELEMENT:a.COMPONENT:typeof n=="string"||typeof n=="number"||typeof n=="bigint"?a.LITERAL:a.NODRAW}function K(n,e){const t=o.data,l=o.index,i=o.fx,u=o.self;o.self=n.self,o.index=0,o.data=n.hookData,o.fx=n.fx,e(),o.self=u,o.index=l,o.data=t,o.fx=i}function W(n){for(const e of n.fx)e.effect&&e.cb?.();for(const e of n.fx){if(!e.effect)continue;const t=e.effect();e.effect=null,typeof t=="function"&&(e.cb=t)}}function q(n){return n.props.children?Array.isArray(n.props.children)?n.props.children:[n.props.children]:[]}class J{#l;#t=new Set;#n=!1;constructor(e){this.#l=e,e.innerHTML=""}#e(e,t,l,i){const u=new Set([...Object.keys(t.props),...Object.keys(e.props)]);for(const s of u)if(s!=="children"){if(s==="ref"){Object.hasOwn(e.props,s)&&(e.props[s].current=null),Object.hasOwn(t.props,s)&&(t.props[s].current=l);continue}if(!Object.hasOwn(t.props,s))s.slice(0,2)==="on"&&typeof e.props[s]=="function"?l.removeEventListener(s.slice(2).toLowerCase(),e.props[s]):l[s]="";else if(!Object.hasOwn(e.props,s))s.slice(0,2)==="on"&&typeof t.props[s]=="function"?l.addEventListener(s.slice(2).toLowerCase(),t.props[s]):M(l,s,t.props[s]);else if(s.slice(0,2)==="on"){if(t.props[s]===e.props[s])continue;const h=s.slice(2).toLowerCase();typeof e.props[s]=="function"?l.removeEventListener(h,e.props[s]):M(l,s,""),typeof t.props[s]=="function"?l.addEventListener(h,t.props[s]):M(l,s,t.props[s])}else if(s==="value"||s==="checked")l[s]!==t.props[s]&&M(l,s,t.props[s]);else{if(t.props[s]===e.props[s])continue;M(l,s,t.props[s])}}const O=q(e),b=q(t),D=Math.max(O.length,b.length),x=new Map,f=i??{value:0};let T=f.value;for(let s=0;s<O.length;s++){const h=O[s],E=b[s],g=C(h),w=C(E),y=N(h),v=T;if(T=y===a.FRAGMENT||y===a.COMPONENT?h.__domEnd:T+1,g===null||g===w)continue;const r=[];for(let p=v;p<T;p++)r.push(l.childNodes[p]);x.set(g,[h,r]),O[s]=void 0}for(const[s,[h,E]]of x)for(const g of E)l.removeChild(g);for(let s=0;s<D;s++){const h=b[s];let E=O[s];const g=C(E),w=C(h);if(w!==null&&w!==g&&x.has(w)){const[d,A]=x.get(w);x.delete(w),g===null&&this.#e(c(null,null,E),c(null,null),l,f),O[s]=d,E=d;for(let R=0;R<A.length;R++)m(l,A[R],f.value+R)}const y=N(E),v=N(h),r=h,p=E;if(v!==a.NODRAW){if(y!==a.NODRAW)if(y!==v||(v===a.ELEMENT||v===a.COMPONENT)&&r.type!==p.type)this.#e(c(null,null,E),c(null,null),l,f),this.#e(c(null,null),c(null,null,h),l,f);else{if(Object.is(h,E)){v===a.COMPONENT||v===a.FRAGMENT?f.value=r.__domEnd:f.value++;continue}if(v===a.LITERAL)l.childNodes[f.value++].textContent=`${h}`;else if(v===a.ELEMENT){const d=l.childNodes[f.value++];this.#e(p,r,d)}else v===a.COMPONENT?(this.#t.delete(p.__context.self),K(p.__context,()=>{const d=r.type(r.props);r.__domStart=f.value,r.__ref=l,this.#e(c(null,null,p.__context.prevTree),c(null,null,d),l,f),r.__context=p.__context,r.__context.prevTree=d,r.__context.self.value=r,r.__domEnd=f.value,W(r.__context)})):(r.__domStart=f.value,this.#e(c(null,null,...E),c(null,null,...h),l,f),r.__domEnd=f.value)}else if(v===a.LITERAL)m(l,h,f.value++);else if(v===a.FRAGMENT)r.__domStart=f.value,this.#e(c(null,null),c(null,null,...h),l,f),r.__domEnd=f.value;else if(typeof r.type=="string"){const d=document.createElement(r.type);this.#e(c(r.type,{}),r,d),m(l,d,f.value++)}else if(r.type!==null){const d={hookData:[],fx:[],self:{value:r},prevProps:r.props,prevTree:null};K(d,()=>{const A=r.type(r.props);r.__domStart=f.value,r.__ref=l,this.#e(c(null,null),c(null,null,A),l,f),r.__domEnd=f.value,r.__context=d,d.prevTree=A,W(r.__context)})}}else if(y!==a.NODRAW)if(y===a.FRAGMENT)this.#e(c(null,null,...E),c(null,null,h),l,f);else if(y===a.COMPONENT){this.#t.delete(p.__context.self),this.#e(c(null,null,p.__context?.prevTree),c(null,null,h),l,f);for(const d of p.__context.fx)d.cb?.()}else y===a.ELEMENT&&(O.length>0&&this.#e(p,c(null,null),l.childNodes[f.value]),Object.hasOwn(p.props,"ref")&&(p.props.ref.current=null)),l.childNodes[f.value].remove()}}__internalAddPending(e){this.#t.add(e)}__internalUpdate(){this.#n||(this.#n=!0,requestIdleCallback(()=>{o.root=this;for(const e of this.#t){const t={value:e.value.__domStart};this.#t.delete(e),this.#e(c(null,null,e.value),c(null,null,{...e.value}),e.value.__ref,t)}this.#n=!1}))}render(e){o.root=this,this.#e(c(null,null),c(null,null,e),this.#l)}}function Q(n){const e=document.querySelector(n);if(!e)throw new Error("Root element doesn't exist");return new J(e)}const k=Symbol.for("freact.fragment");return _.Fragment=k,_.createContext=V,_.createRoot=Q,_.h=c,_.memo=F,_.useCallback=$,_.useContext=I,_.useEffect=S,_.useMemo=L,_.useReducer=B,_.useRef=P,_.useState=z,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),_}({}); | ||
| var Freact=function(_){"use strict";function c(n,e,...t){const l=e&&Object.hasOwn(e,"key"),i=e?.key;if(delete e?.key,n===k)return l&&(t.key=i),t.length>0?t:void 0;const u={type:n,props:{...e}};return t.length>0&&(u.props.children=t.length>1?t:t[0]),l&&(u.key=i),u}const o={self:null,index:0,data:[],fx:[],root:null};function L(n,e){const t=o.data,l=o.index++;if(!Object.hasOwn(t,l))t[l]={val:n(),deps:e};else{let i=t[l].deps.length===e.length;if(i){for(let u=0;u<e.length;u++)if(!Object.is(t[l].deps[u],e[u])){i=!1;break}}i||(t[l].val=n(),t[l].deps=e)}return t[l].val}const U=(n,e)=>{const t=Object.keys(e);if(t.length!==Object.keys(n).length)return!1;const l=Object.hasOwn(e,"children");if(Object.hasOwn(n,"children")!==l)return!1;if(l){if(n.children.length!==e.children.length)return!1;for(let i=0;i<e.children.length;i++)if(!Object.is(e.children[i],n.children[i]))return!1}for(const i of t)if(i!=="children"&&!Object.is(n[i],e[i]))return!1;return!0};function F(n,e=U){let t=!1;return l=>(t=e(o.self?.value.__context?.prevProps??{},l)?t:!t,L(()=>c(n,l),[t]))}function S(n,e){const t=o.data,l=o.index++;if(!Object.hasOwn(t,l))t[l]={effect:n,cb:null,deps:e??null},o.fx.push(t[l]);else{let i=!!t[l].deps&&t[l].deps?.length===e?.length;if(i){for(let u=0;u<e.length;u++)if(!Object.is(t[l].deps[u],e[u])){i=!1;break}}i||(t[l].effect=n,t[l].deps=e??null)}}function I(n){if(!o.self)throw new Error("Missing context data inside useContext hook");const e=o.data,t=o.index++,l=o.self;return Object.hasOwn(e,t)||(e[t]=j.get(n).value,e[t].subs.add(l)),S(()=>()=>e[t].subs.delete(l),[]),e[t].val}function P(n){const e=o.data,t=o.index++;return Object.hasOwn(e,t)||(e[t]={current:n}),e[t]}const j=new Map;class H{constructor(e){j.set(this,{prev:null,value:{val:e,subs:new Set}})}Provider=({value:e,children:t})=>{const l=P({val:e,subs:new Set});l.current.val!==e&&(l.current.val=e,l.current.subs.forEach(u=>{o.root?.__internalAddPending(u)}));const i=j.get(this);return j.set(this,{prev:i,value:l.current}),S(()=>{j.set(this,i)}),c(k,null,t)};Consumer=({children:e})=>{const t=I(this);return c(k,null,e(t))}}function V(n){return new H(n)}function $(n,e){return L(()=>n,e)}function B(n,e,t){if(!o.root||!o.self)throw new Error("Missing context data inside useReducer hook");const l=o.data,i=o.index++,u=o.root,O=o.self;if(!Object.hasOwn(l,i)){const b=D=>{const x=n(l[i].val,D);Object.is(x,l[i].val)||(l[i].val=x,u.__internalAddPending(O),u.__internalUpdate())};l[i]={val:t?t(e):e,dispatch:b}}return[l[i].val,l[i].dispatch]}function z(n){if(!o.root||!o.self)throw new Error("Missing context data inside useState hook");const e=o.data,t=o.index++,l=o.root,i=o.self;if(!Object.hasOwn(e,t)){const u=O=>{const b=typeof O=="function"?O(e[t].val):O;Object.is(b,e[t].val)||(e[t].val=b,l.__internalAddPending(i),l.__internalUpdate())};e[t]={setter:u,val:typeof n!="function"?n:n()}}return[e[t].val,e[t].setter]}var a=(n=>(n[n.LITERAL=0]="LITERAL",n[n.FRAGMENT=1]="FRAGMENT",n[n.ELEMENT=2]="ELEMENT",n[n.COMPONENT=4]="COMPONENT",n[n.NODRAW=5]="NODRAW",n))(a||{});function C(n){return typeof n!="object"||n===null||!Object.hasOwn(n,"key")?null:n.key}function G(n,e){for(const t of Object.keys(e))typeof e[t]=="object"?G(n[t],e[t]):n[t]=e[t]}function M(n,e,t){e==="class"&&(e="className"),typeof t=="object"?G(n[e],t):n[e]=t}function m(n,e,t){const l=typeof e=="object"?e:document.createTextNode(`${e}`);n.childNodes.length>0?n.insertBefore(l,n.childNodes[t]):n.appendChild(l)}function N(n){return typeof n=="object"&&n!==null?Array.isArray(n)?a.FRAGMENT:typeof n.type=="string"?a.ELEMENT:a.COMPONENT:typeof n=="string"||typeof n=="number"||typeof n=="bigint"?a.LITERAL:a.NODRAW}function K(n,e){const t=o.data,l=o.index,i=o.fx,u=o.self;o.self=n.self,o.index=0,o.data=n.hookData,o.fx=n.fx,e(),o.self=u,o.index=l,o.data=t,o.fx=i}function W(n){for(const e of n.fx)e.effect&&e.cb?.();for(const e of n.fx){if(!e.effect)continue;const t=e.effect();e.effect=null,typeof t=="function"&&(e.cb=t)}}function q(n){return Object.hasOwn(n.props,"children")?Array.isArray(n.props.children)?n.props.children:[n.props.children]:[]}class J{#l;#t=new Set;#n=!1;constructor(e){this.#l=e,e.innerHTML=""}#e(e,t,l,i){const u=new Set([...Object.keys(t.props),...Object.keys(e.props)]);for(const s of u)if(s!=="children"){if(s==="ref"){Object.hasOwn(e.props,s)&&(e.props[s].current=null),Object.hasOwn(t.props,s)&&(t.props[s].current=l);continue}if(!Object.hasOwn(t.props,s))s.slice(0,2)==="on"&&typeof e.props[s]=="function"?l.removeEventListener(s.slice(2).toLowerCase(),e.props[s]):l[s]="";else if(!Object.hasOwn(e.props,s))s.slice(0,2)==="on"&&typeof t.props[s]=="function"?l.addEventListener(s.slice(2).toLowerCase(),t.props[s]):M(l,s,t.props[s]);else if(s.slice(0,2)==="on"){if(t.props[s]===e.props[s])continue;const h=s.slice(2).toLowerCase();typeof e.props[s]=="function"?l.removeEventListener(h,e.props[s]):M(l,s,""),typeof t.props[s]=="function"?l.addEventListener(h,t.props[s]):M(l,s,t.props[s])}else if(s==="value"||s==="checked")l[s]!==t.props[s]&&M(l,s,t.props[s]);else{if(t.props[s]===e.props[s])continue;M(l,s,t.props[s])}}const O=q(e),b=q(t),D=Math.max(O.length,b.length),x=new Map,f=i??{value:0};let T=f.value;for(let s=0;s<O.length;s++){const h=O[s],E=b[s],g=C(h),w=C(E),y=N(h),v=T;if(T=y===a.FRAGMENT||y===a.COMPONENT?h.__domEnd:T+1,g===null||g===w)continue;const r=[];for(let p=v;p<T;p++)r.push(l.childNodes[p]);x.set(g,[h,r]),O[s]=void 0}for(const[s,[h,E]]of x)for(const g of E)l.removeChild(g);for(let s=0;s<D;s++){const h=b[s];let E=O[s];const g=C(E),w=C(h);if(w!==null&&w!==g&&x.has(w)){const[d,A]=x.get(w);x.delete(w),g===null&&this.#e(c(null,null,E),c(null,null),l,f),O[s]=d,E=d;for(let R=0;R<A.length;R++)m(l,A[R],f.value+R)}const y=N(E),v=N(h),r=h,p=E;if(v!==a.NODRAW){if(y!==a.NODRAW)if(y!==v||(v===a.ELEMENT||v===a.COMPONENT)&&r.type!==p.type)this.#e(c(null,null,E),c(null,null),l,f),this.#e(c(null,null),c(null,null,h),l,f);else{if(Object.is(h,E)){v===a.COMPONENT||v===a.FRAGMENT?f.value=r.__domEnd:f.value++;continue}if(v===a.LITERAL)l.childNodes[f.value++].textContent=`${h}`;else if(v===a.ELEMENT){const d=l.childNodes[f.value++];this.#e(p,r,d)}else v===a.COMPONENT?(this.#t.delete(p.__context.self),K(p.__context,()=>{const d=r.type(r.props);r.__domStart=f.value,r.__ref=l,this.#e(c(null,null,p.__context.prevTree),c(null,null,d),l,f),r.__context=p.__context,r.__context.prevTree=d,r.__context.self.value=r,r.__domEnd=f.value,W(r.__context)})):(r.__domStart=f.value,this.#e(c(null,null,...E),c(null,null,...h),l,f),r.__domEnd=f.value)}else if(v===a.LITERAL)m(l,h,f.value++);else if(v===a.FRAGMENT)r.__domStart=f.value,this.#e(c(null,null),c(null,null,...h),l,f),r.__domEnd=f.value;else if(typeof r.type=="string"){const d=document.createElement(r.type);this.#e(c(r.type,{}),r,d),m(l,d,f.value++)}else if(r.type!==null){const d={hookData:[],fx:[],self:{value:r},prevProps:r.props,prevTree:null};K(d,()=>{const A=r.type(r.props);r.__domStart=f.value,r.__ref=l,this.#e(c(null,null),c(null,null,A),l,f),r.__domEnd=f.value,r.__context=d,d.prevTree=A,W(r.__context)})}}else if(y!==a.NODRAW)if(y===a.FRAGMENT)this.#e(c(null,null,...E),c(null,null,h),l,f);else if(y===a.COMPONENT){this.#t.delete(p.__context.self),this.#e(c(null,null,p.__context?.prevTree),c(null,null,h),l,f);for(const d of p.__context.fx)d.cb?.()}else y===a.ELEMENT&&(O.length>0&&this.#e(p,c(null,null),l.childNodes[f.value]),Object.hasOwn(p.props,"ref")&&(p.props.ref.current=null)),l.childNodes[f.value].remove()}}__internalAddPending(e){this.#t.add(e)}__internalUpdate(){this.#n||(this.#n=!0,requestIdleCallback(()=>{o.root=this;for(const e of this.#t){const t={value:e.value.__domStart};this.#t.delete(e),this.#e(c(null,null,e.value),c(null,null,{...e.value}),e.value.__ref,t)}this.#n=!1}))}render(e){o.root=this,this.#e(c(null,null),c(null,null,e),this.#l)}}function Q(n){const e=document.querySelector(n);if(!e)throw new Error("Root element doesn't exist");return new J(e)}const k=Symbol.for("freact.fragment");return _.Fragment=k,_.createContext=V,_.createRoot=Q,_.h=c,_.memo=F,_.useCallback=$,_.useContext=I,_.useEffect=S,_.useMemo=L,_.useReducer=B,_.useRef=P,_.useState=z,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),_}({}); |
@@ -1,1 +0,1 @@ | ||
| (function(p,f){typeof exports=="object"&&typeof module<"u"?f(exports):typeof define=="function"&&define.amd?define(["exports"],f):(p=typeof globalThis<"u"?globalThis:p||self,f(p.Freact={}))})(this,function(p){"use strict";function f(n,e,...t){const l=e&&Object.hasOwn(e,"key"),i=e?.key;if(delete e?.key,n===C)return l&&(t.key=i),t.length>0?t:void 0;const u={type:n,props:{...e}};return t.length>0&&(u.props.children=t.length>1?t:t[0]),l&&(u.key=i),u}const o={self:null,index:0,data:[],fx:[],root:null};function L(n,e){const t=o.data,l=o.index++;if(!Object.hasOwn(t,l))t[l]={val:n(),deps:e};else{let i=t[l].deps.length===e.length;if(i){for(let u=0;u<e.length;u++)if(!Object.is(t[l].deps[u],e[u])){i=!1;break}}i||(t[l].val=n(),t[l].deps=e)}return t[l].val}const U=(n,e)=>{const t=Object.keys(e);if(t.length!==Object.keys(n).length)return!1;const l=Object.hasOwn(e,"children");if(Object.hasOwn(n,"children")!==l)return!1;if(l){if(n.children.length!==e.children.length)return!1;for(let i=0;i<e.children.length;i++)if(!Object.is(e.children[i],n.children[i]))return!1}for(const i of t)if(i!=="children"&&!Object.is(n[i],e[i]))return!1;return!0};function F(n,e=U){let t=!1;return l=>(t=e(o.self?.value.__context?.prevProps??{},l)?t:!t,L(()=>f(n,l),[t]))}function S(n,e){const t=o.data,l=o.index++;if(!Object.hasOwn(t,l))t[l]={effect:n,cb:null,deps:e??null},o.fx.push(t[l]);else{let i=!!t[l].deps&&t[l].deps?.length===e?.length;if(i){for(let u=0;u<e.length;u++)if(!Object.is(t[l].deps[u],e[u])){i=!1;break}}i||(t[l].effect=n,t[l].deps=e??null)}}function I(n){if(!o.self)throw new Error("Missing context data inside useContext hook");const e=o.data,t=o.index++,l=o.self;return Object.hasOwn(e,t)||(e[t]=j.get(n).value,e[t].subs.add(l)),S(()=>()=>e[t].subs.delete(l),[]),e[t].val}function P(n){const e=o.data,t=o.index++;return Object.hasOwn(e,t)||(e[t]={current:n}),e[t]}const j=new Map;class H{constructor(e){j.set(this,{prev:null,value:{val:e,subs:new Set}})}Provider=({value:e,children:t})=>{const l=P({val:e,subs:new Set});l.current.val!==e&&(l.current.val=e,l.current.subs.forEach(u=>{o.root?.__internalAddPending(u)}));const i=j.get(this);return j.set(this,{prev:i,value:l.current}),S(()=>{j.set(this,i)}),f(C,null,t)};Consumer=({children:e})=>{const t=I(this);return f(C,null,e(t))}}function V(n){return new H(n)}function $(n,e){return L(()=>n,e)}function B(n,e,t){if(!o.root||!o.self)throw new Error("Missing context data inside useReducer hook");const l=o.data,i=o.index++,u=o.root,O=o.self;if(!Object.hasOwn(l,i)){const b=D=>{const x=n(l[i].val,D);Object.is(x,l[i].val)||(l[i].val=x,u.__internalAddPending(O),u.__internalUpdate())};l[i]={val:t?t(e):e,dispatch:b}}return[l[i].val,l[i].dispatch]}function z(n){if(!o.root||!o.self)throw new Error("Missing context data inside useState hook");const e=o.data,t=o.index++,l=o.root,i=o.self;if(!Object.hasOwn(e,t)){const u=O=>{const b=typeof O=="function"?O(e[t].val):O;Object.is(b,e[t].val)||(e[t].val=b,l.__internalAddPending(i),l.__internalUpdate())};e[t]={setter:u,val:typeof n!="function"?n:n()}}return[e[t].val,e[t].setter]}var a=(n=>(n[n.LITERAL=0]="LITERAL",n[n.FRAGMENT=1]="FRAGMENT",n[n.ELEMENT=2]="ELEMENT",n[n.COMPONENT=4]="COMPONENT",n[n.NODRAW=5]="NODRAW",n))(a||{});function A(n){return typeof n!="object"||n===null||!Object.hasOwn(n,"key")?null:n.key}function G(n,e){for(const t of Object.keys(e))typeof e[t]=="object"?G(n[t],e[t]):n[t]=e[t]}function M(n,e,t){e==="class"&&(e="className"),typeof t=="object"?G(n[e],t):n[e]=t}function m(n,e,t){const l=typeof e=="object"?e:document.createTextNode(`${e}`);n.childNodes.length>0?n.insertBefore(l,n.childNodes[t]):n.appendChild(l)}function N(n){return typeof n=="object"&&n!==null?Array.isArray(n)?a.FRAGMENT:typeof n.type=="string"?a.ELEMENT:a.COMPONENT:typeof n=="string"||typeof n=="number"||typeof n=="bigint"?a.LITERAL:a.NODRAW}function K(n,e){const t=o.data,l=o.index,i=o.fx,u=o.self;o.self=n.self,o.index=0,o.data=n.hookData,o.fx=n.fx,e(),o.self=u,o.index=l,o.data=t,o.fx=i}function W(n){for(const e of n.fx)e.effect&&e.cb?.();for(const e of n.fx){if(!e.effect)continue;const t=e.effect();e.effect=null,typeof t=="function"&&(e.cb=t)}}function q(n){return n.props.children?Array.isArray(n.props.children)?n.props.children:[n.props.children]:[]}class J{#l;#t=new Set;#n=!1;constructor(e){this.#l=e,e.innerHTML=""}#e(e,t,l,i){const u=new Set([...Object.keys(t.props),...Object.keys(e.props)]);for(const s of u)if(s!=="children"){if(s==="ref"){Object.hasOwn(e.props,s)&&(e.props[s].current=null),Object.hasOwn(t.props,s)&&(t.props[s].current=l);continue}if(!Object.hasOwn(t.props,s))s.slice(0,2)==="on"&&typeof e.props[s]=="function"?l.removeEventListener(s.slice(2).toLowerCase(),e.props[s]):l[s]="";else if(!Object.hasOwn(e.props,s))s.slice(0,2)==="on"&&typeof t.props[s]=="function"?l.addEventListener(s.slice(2).toLowerCase(),t.props[s]):M(l,s,t.props[s]);else if(s.slice(0,2)==="on"){if(t.props[s]===e.props[s])continue;const h=s.slice(2).toLowerCase();typeof e.props[s]=="function"?l.removeEventListener(h,e.props[s]):M(l,s,""),typeof t.props[s]=="function"?l.addEventListener(h,t.props[s]):M(l,s,t.props[s])}else if(s==="value"||s==="checked")l[s]!==t.props[s]&&M(l,s,t.props[s]);else{if(t.props[s]===e.props[s])continue;M(l,s,t.props[s])}}const O=q(e),b=q(t),D=Math.max(O.length,b.length),x=new Map,c=i??{value:0};let k=c.value;for(let s=0;s<O.length;s++){const h=O[s],E=b[s],g=A(h),w=A(E),y=N(h),v=k;if(k=y===a.FRAGMENT||y===a.COMPONENT?h.__domEnd:k+1,g===null||g===w)continue;const r=[];for(let d=v;d<k;d++)r.push(l.childNodes[d]);x.set(g,[h,r]),O[s]=void 0}for(const[s,[h,E]]of x)for(const g of E)l.removeChild(g);for(let s=0;s<D;s++){const h=b[s];let E=O[s];const g=A(E),w=A(h);if(w!==null&&w!==g&&x.has(w)){const[_,T]=x.get(w);x.delete(w),g===null&&this.#e(f(null,null,E),f(null,null),l,c),O[s]=_,E=_;for(let R=0;R<T.length;R++)m(l,T[R],c.value+R)}const y=N(E),v=N(h),r=h,d=E;if(v!==a.NODRAW){if(y!==a.NODRAW)if(y!==v||(v===a.ELEMENT||v===a.COMPONENT)&&r.type!==d.type)this.#e(f(null,null,E),f(null,null),l,c),this.#e(f(null,null),f(null,null,h),l,c);else{if(Object.is(h,E)){v===a.COMPONENT||v===a.FRAGMENT?c.value=r.__domEnd:c.value++;continue}if(v===a.LITERAL)l.childNodes[c.value++].textContent=`${h}`;else if(v===a.ELEMENT){const _=l.childNodes[c.value++];this.#e(d,r,_)}else v===a.COMPONENT?(this.#t.delete(d.__context.self),K(d.__context,()=>{const _=r.type(r.props);r.__domStart=c.value,r.__ref=l,this.#e(f(null,null,d.__context.prevTree),f(null,null,_),l,c),r.__context=d.__context,r.__context.prevTree=_,r.__context.self.value=r,r.__domEnd=c.value,W(r.__context)})):(r.__domStart=c.value,this.#e(f(null,null,...E),f(null,null,...h),l,c),r.__domEnd=c.value)}else if(v===a.LITERAL)m(l,h,c.value++);else if(v===a.FRAGMENT)r.__domStart=c.value,this.#e(f(null,null),f(null,null,...h),l,c),r.__domEnd=c.value;else if(typeof r.type=="string"){const _=document.createElement(r.type);this.#e(f(r.type,{}),r,_),m(l,_,c.value++)}else if(r.type!==null){const _={hookData:[],fx:[],self:{value:r},prevProps:r.props,prevTree:null};K(_,()=>{const T=r.type(r.props);r.__domStart=c.value,r.__ref=l,this.#e(f(null,null),f(null,null,T),l,c),r.__domEnd=c.value,r.__context=_,_.prevTree=T,W(r.__context)})}}else if(y!==a.NODRAW)if(y===a.FRAGMENT)this.#e(f(null,null,...E),f(null,null,h),l,c);else if(y===a.COMPONENT){this.#t.delete(d.__context.self),this.#e(f(null,null,d.__context?.prevTree),f(null,null,h),l,c);for(const _ of d.__context.fx)_.cb?.()}else y===a.ELEMENT&&(O.length>0&&this.#e(d,f(null,null),l.childNodes[c.value]),Object.hasOwn(d.props,"ref")&&(d.props.ref.current=null)),l.childNodes[c.value].remove()}}__internalAddPending(e){this.#t.add(e)}__internalUpdate(){this.#n||(this.#n=!0,requestIdleCallback(()=>{o.root=this;for(const e of this.#t){const t={value:e.value.__domStart};this.#t.delete(e),this.#e(f(null,null,e.value),f(null,null,{...e.value}),e.value.__ref,t)}this.#n=!1}))}render(e){o.root=this,this.#e(f(null,null),f(null,null,e),this.#l)}}function Q(n){const e=document.querySelector(n);if(!e)throw new Error("Root element doesn't exist");return new J(e)}const C=Symbol.for("freact.fragment");p.Fragment=C,p.createContext=V,p.createRoot=Q,p.h=f,p.memo=F,p.useCallback=$,p.useContext=I,p.useEffect=S,p.useMemo=L,p.useReducer=B,p.useRef=P,p.useState=z,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})}); | ||
| (function(p,f){typeof exports=="object"&&typeof module<"u"?f(exports):typeof define=="function"&&define.amd?define(["exports"],f):(p=typeof globalThis<"u"?globalThis:p||self,f(p.Freact={}))})(this,function(p){"use strict";function f(n,e,...t){const l=e&&Object.hasOwn(e,"key"),i=e?.key;if(delete e?.key,n===C)return l&&(t.key=i),t.length>0?t:void 0;const u={type:n,props:{...e}};return t.length>0&&(u.props.children=t.length>1?t:t[0]),l&&(u.key=i),u}const o={self:null,index:0,data:[],fx:[],root:null};function L(n,e){const t=o.data,l=o.index++;if(!Object.hasOwn(t,l))t[l]={val:n(),deps:e};else{let i=t[l].deps.length===e.length;if(i){for(let u=0;u<e.length;u++)if(!Object.is(t[l].deps[u],e[u])){i=!1;break}}i||(t[l].val=n(),t[l].deps=e)}return t[l].val}const U=(n,e)=>{const t=Object.keys(e);if(t.length!==Object.keys(n).length)return!1;const l=Object.hasOwn(e,"children");if(Object.hasOwn(n,"children")!==l)return!1;if(l){if(n.children.length!==e.children.length)return!1;for(let i=0;i<e.children.length;i++)if(!Object.is(e.children[i],n.children[i]))return!1}for(const i of t)if(i!=="children"&&!Object.is(n[i],e[i]))return!1;return!0};function F(n,e=U){let t=!1;return l=>(t=e(o.self?.value.__context?.prevProps??{},l)?t:!t,L(()=>f(n,l),[t]))}function S(n,e){const t=o.data,l=o.index++;if(!Object.hasOwn(t,l))t[l]={effect:n,cb:null,deps:e??null},o.fx.push(t[l]);else{let i=!!t[l].deps&&t[l].deps?.length===e?.length;if(i){for(let u=0;u<e.length;u++)if(!Object.is(t[l].deps[u],e[u])){i=!1;break}}i||(t[l].effect=n,t[l].deps=e??null)}}function I(n){if(!o.self)throw new Error("Missing context data inside useContext hook");const e=o.data,t=o.index++,l=o.self;return Object.hasOwn(e,t)||(e[t]=j.get(n).value,e[t].subs.add(l)),S(()=>()=>e[t].subs.delete(l),[]),e[t].val}function P(n){const e=o.data,t=o.index++;return Object.hasOwn(e,t)||(e[t]={current:n}),e[t]}const j=new Map;class H{constructor(e){j.set(this,{prev:null,value:{val:e,subs:new Set}})}Provider=({value:e,children:t})=>{const l=P({val:e,subs:new Set});l.current.val!==e&&(l.current.val=e,l.current.subs.forEach(u=>{o.root?.__internalAddPending(u)}));const i=j.get(this);return j.set(this,{prev:i,value:l.current}),S(()=>{j.set(this,i)}),f(C,null,t)};Consumer=({children:e})=>{const t=I(this);return f(C,null,e(t))}}function V(n){return new H(n)}function $(n,e){return L(()=>n,e)}function B(n,e,t){if(!o.root||!o.self)throw new Error("Missing context data inside useReducer hook");const l=o.data,i=o.index++,u=o.root,O=o.self;if(!Object.hasOwn(l,i)){const b=D=>{const x=n(l[i].val,D);Object.is(x,l[i].val)||(l[i].val=x,u.__internalAddPending(O),u.__internalUpdate())};l[i]={val:t?t(e):e,dispatch:b}}return[l[i].val,l[i].dispatch]}function z(n){if(!o.root||!o.self)throw new Error("Missing context data inside useState hook");const e=o.data,t=o.index++,l=o.root,i=o.self;if(!Object.hasOwn(e,t)){const u=O=>{const b=typeof O=="function"?O(e[t].val):O;Object.is(b,e[t].val)||(e[t].val=b,l.__internalAddPending(i),l.__internalUpdate())};e[t]={setter:u,val:typeof n!="function"?n:n()}}return[e[t].val,e[t].setter]}var a=(n=>(n[n.LITERAL=0]="LITERAL",n[n.FRAGMENT=1]="FRAGMENT",n[n.ELEMENT=2]="ELEMENT",n[n.COMPONENT=4]="COMPONENT",n[n.NODRAW=5]="NODRAW",n))(a||{});function A(n){return typeof n!="object"||n===null||!Object.hasOwn(n,"key")?null:n.key}function G(n,e){for(const t of Object.keys(e))typeof e[t]=="object"?G(n[t],e[t]):n[t]=e[t]}function M(n,e,t){e==="class"&&(e="className"),typeof t=="object"?G(n[e],t):n[e]=t}function m(n,e,t){const l=typeof e=="object"?e:document.createTextNode(`${e}`);n.childNodes.length>0?n.insertBefore(l,n.childNodes[t]):n.appendChild(l)}function N(n){return typeof n=="object"&&n!==null?Array.isArray(n)?a.FRAGMENT:typeof n.type=="string"?a.ELEMENT:a.COMPONENT:typeof n=="string"||typeof n=="number"||typeof n=="bigint"?a.LITERAL:a.NODRAW}function K(n,e){const t=o.data,l=o.index,i=o.fx,u=o.self;o.self=n.self,o.index=0,o.data=n.hookData,o.fx=n.fx,e(),o.self=u,o.index=l,o.data=t,o.fx=i}function W(n){for(const e of n.fx)e.effect&&e.cb?.();for(const e of n.fx){if(!e.effect)continue;const t=e.effect();e.effect=null,typeof t=="function"&&(e.cb=t)}}function q(n){return Object.hasOwn(n.props,"children")?Array.isArray(n.props.children)?n.props.children:[n.props.children]:[]}class J{#l;#t=new Set;#n=!1;constructor(e){this.#l=e,e.innerHTML=""}#e(e,t,l,i){const u=new Set([...Object.keys(t.props),...Object.keys(e.props)]);for(const s of u)if(s!=="children"){if(s==="ref"){Object.hasOwn(e.props,s)&&(e.props[s].current=null),Object.hasOwn(t.props,s)&&(t.props[s].current=l);continue}if(!Object.hasOwn(t.props,s))s.slice(0,2)==="on"&&typeof e.props[s]=="function"?l.removeEventListener(s.slice(2).toLowerCase(),e.props[s]):l[s]="";else if(!Object.hasOwn(e.props,s))s.slice(0,2)==="on"&&typeof t.props[s]=="function"?l.addEventListener(s.slice(2).toLowerCase(),t.props[s]):M(l,s,t.props[s]);else if(s.slice(0,2)==="on"){if(t.props[s]===e.props[s])continue;const h=s.slice(2).toLowerCase();typeof e.props[s]=="function"?l.removeEventListener(h,e.props[s]):M(l,s,""),typeof t.props[s]=="function"?l.addEventListener(h,t.props[s]):M(l,s,t.props[s])}else if(s==="value"||s==="checked")l[s]!==t.props[s]&&M(l,s,t.props[s]);else{if(t.props[s]===e.props[s])continue;M(l,s,t.props[s])}}const O=q(e),b=q(t),D=Math.max(O.length,b.length),x=new Map,c=i??{value:0};let k=c.value;for(let s=0;s<O.length;s++){const h=O[s],E=b[s],g=A(h),w=A(E),y=N(h),v=k;if(k=y===a.FRAGMENT||y===a.COMPONENT?h.__domEnd:k+1,g===null||g===w)continue;const r=[];for(let d=v;d<k;d++)r.push(l.childNodes[d]);x.set(g,[h,r]),O[s]=void 0}for(const[s,[h,E]]of x)for(const g of E)l.removeChild(g);for(let s=0;s<D;s++){const h=b[s];let E=O[s];const g=A(E),w=A(h);if(w!==null&&w!==g&&x.has(w)){const[_,T]=x.get(w);x.delete(w),g===null&&this.#e(f(null,null,E),f(null,null),l,c),O[s]=_,E=_;for(let R=0;R<T.length;R++)m(l,T[R],c.value+R)}const y=N(E),v=N(h),r=h,d=E;if(v!==a.NODRAW){if(y!==a.NODRAW)if(y!==v||(v===a.ELEMENT||v===a.COMPONENT)&&r.type!==d.type)this.#e(f(null,null,E),f(null,null),l,c),this.#e(f(null,null),f(null,null,h),l,c);else{if(Object.is(h,E)){v===a.COMPONENT||v===a.FRAGMENT?c.value=r.__domEnd:c.value++;continue}if(v===a.LITERAL)l.childNodes[c.value++].textContent=`${h}`;else if(v===a.ELEMENT){const _=l.childNodes[c.value++];this.#e(d,r,_)}else v===a.COMPONENT?(this.#t.delete(d.__context.self),K(d.__context,()=>{const _=r.type(r.props);r.__domStart=c.value,r.__ref=l,this.#e(f(null,null,d.__context.prevTree),f(null,null,_),l,c),r.__context=d.__context,r.__context.prevTree=_,r.__context.self.value=r,r.__domEnd=c.value,W(r.__context)})):(r.__domStart=c.value,this.#e(f(null,null,...E),f(null,null,...h),l,c),r.__domEnd=c.value)}else if(v===a.LITERAL)m(l,h,c.value++);else if(v===a.FRAGMENT)r.__domStart=c.value,this.#e(f(null,null),f(null,null,...h),l,c),r.__domEnd=c.value;else if(typeof r.type=="string"){const _=document.createElement(r.type);this.#e(f(r.type,{}),r,_),m(l,_,c.value++)}else if(r.type!==null){const _={hookData:[],fx:[],self:{value:r},prevProps:r.props,prevTree:null};K(_,()=>{const T=r.type(r.props);r.__domStart=c.value,r.__ref=l,this.#e(f(null,null),f(null,null,T),l,c),r.__domEnd=c.value,r.__context=_,_.prevTree=T,W(r.__context)})}}else if(y!==a.NODRAW)if(y===a.FRAGMENT)this.#e(f(null,null,...E),f(null,null,h),l,c);else if(y===a.COMPONENT){this.#t.delete(d.__context.self),this.#e(f(null,null,d.__context?.prevTree),f(null,null,h),l,c);for(const _ of d.__context.fx)_.cb?.()}else y===a.ELEMENT&&(O.length>0&&this.#e(d,f(null,null),l.childNodes[c.value]),Object.hasOwn(d.props,"ref")&&(d.props.ref.current=null)),l.childNodes[c.value].remove()}}__internalAddPending(e){this.#t.add(e)}__internalUpdate(){this.#n||(this.#n=!0,requestIdleCallback(()=>{o.root=this;for(const e of this.#t){const t={value:e.value.__domStart};this.#t.delete(e),this.#e(f(null,null,e.value),f(null,null,{...e.value}),e.value.__ref,t)}this.#n=!1}))}render(e){o.root=this,this.#e(f(null,null),f(null,null,e),this.#l)}}function Q(n){const e=document.querySelector(n);if(!e)throw new Error("Root element doesn't exist");return new J(e)}const C=Symbol.for("freact.fragment");p.Fragment=C,p.createContext=V,p.createRoot=Q,p.h=f,p.memo=F,p.useCallback=$,p.useContext=I,p.useEffect=S,p.useMemo=L,p.useReducer=B,p.useRef=P,p.useState=z,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})}); |
| const f = Symbol.for("freact.fragment"); | ||
| function d(e, n, r) { | ||
| const i = typeof r < "u"; | ||
| if (e === f) { | ||
| if (!n.children) | ||
| function a(r, n, e) { | ||
| const i = typeof e < "u"; | ||
| if (r === f) { | ||
| if (!Object.hasOwn(n, "children")) | ||
| return; | ||
| const c = Array.isArray(n.children) ? n.children : [n.children]; | ||
| return i && (c.key = r), c; | ||
| return i && (c.key = e), c; | ||
| } | ||
| const t = { | ||
| type: e, | ||
| type: r, | ||
| props: n | ||
| }; | ||
| return i && (t.key = r), t; | ||
| return i && (t.key = e), t; | ||
| } | ||
| export { | ||
| f as Fragment, | ||
| d as jsxDEV | ||
| a as jsxDEV | ||
| }; |
@@ -1,1 +0,1 @@ | ||
| (function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.Freact={}))})(this,function(e){"use strict";const n=Symbol.for("freact.fragment");function c(f,i,t){const r=typeof t<"u";if(f===n){if(!i.children)return;const o=Array.isArray(i.children)?i.children:[i.children];return r&&(o.key=t),o}const d={type:f,props:i};return r&&(d.key=t),d}e.Fragment=n,e.jsxDEV=c,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}); | ||
| (function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.Freact={}))})(this,function(e){"use strict";const n=Symbol.for("freact.fragment");function o(f,t,i){const r=typeof i<"u";if(f===n){if(!Object.hasOwn(t,"children"))return;const c=Array.isArray(t.children)?t.children:[t.children];return r&&(c.key=i),c}const d={type:f,props:t};return r&&(d.key=i),d}e.Fragment=n,e.jsxDEV=o,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}); |
| const f = Symbol.for("freact.fragment"); | ||
| function d(e, n, r) { | ||
| const i = typeof r < "u"; | ||
| if (e === f) { | ||
| if (!n.children) | ||
| function a(r, n, e) { | ||
| const i = typeof e < "u"; | ||
| if (r === f) { | ||
| if (!Object.hasOwn(n, "children")) | ||
| return; | ||
| const c = Array.isArray(n.children) ? n.children : [n.children]; | ||
| return i && (c.key = r), c; | ||
| return i && (c.key = e), c; | ||
| } | ||
| const t = { | ||
| type: e, | ||
| type: r, | ||
| props: n | ||
| }; | ||
| return i && (t.key = r), t; | ||
| return i && (t.key = e), t; | ||
| } | ||
| export { | ||
| f as Fragment, | ||
| d as jsx, | ||
| d as jsxs | ||
| a as jsx, | ||
| a as jsxs | ||
| }; |
@@ -1,1 +0,1 @@ | ||
| (function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.Freact={}))})(this,function(e){"use strict";const n=Symbol.for("freact.fragment");function f(r,i,t){const d=typeof t<"u";if(r===n){if(!i.children)return;const o=Array.isArray(i.children)?i.children:[i.children];return d&&(o.key=t),o}const c={type:r,props:i};return d&&(c.key=t),c}e.Fragment=n,e.jsx=f,e.jsxs=f,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}); | ||
| (function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.Freact={}))})(this,function(e){"use strict";const n=Symbol.for("freact.fragment");function f(r,i,t){const d=typeof t<"u";if(r===n){if(!Object.hasOwn(i,"children"))return;const o=Array.isArray(i.children)?i.children:[i.children];return d&&(o.key=t),o}const c={type:r,props:i};return d&&(c.key=t),c}e.Fragment=n,e.jsx=f,e.jsxs=f,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}); |
+1
-1
| { | ||
| "name": "@freact/core", | ||
| "version": "0.0.9", | ||
| "version": "0.0.10", | ||
| "author": "Fry", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
78364
0.16%