@jsenv/core 41.2.4 → 41.2.5

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.
@@ -5382,30 +5382,27 @@ const createPackageImportNotDefinedError = (
5382
5382
  const isSpecifierForNodeBuiltin = (specifier) => {
5383
5383
  return (
5384
5384
  specifier.startsWith("node:") ||
5385
- NODE_BUILTIN_MODULE_SPECIFIERS.includes(specifier)
5385
+ NODE_BUILTIN_MODULE_SPECIFIER_SET.has(specifier)
5386
5386
  );
5387
5387
  };
5388
5388
 
5389
- const NODE_BUILTIN_MODULE_SPECIFIERS = [
5389
+ const NODE_BUILTIN_MODULE_SPECIFIER_SET = new Set([
5390
5390
  "assert",
5391
5391
  "assert/strict",
5392
5392
  "async_hooks",
5393
- "buffer_ieee754",
5394
5393
  "buffer",
5395
5394
  "child_process",
5396
5395
  "cluster",
5397
5396
  "console",
5398
5397
  "constants",
5399
5398
  "crypto",
5400
- "_debugger",
5401
5399
  "diagnostics_channel",
5402
5400
  "dgram",
5403
5401
  "dns",
5402
+ "dns/promises",
5404
5403
  "domain",
5405
5404
  "events",
5406
- "freelist",
5407
5405
  "fs",
5408
- "fsevents",
5409
5406
  "fs/promises",
5410
5407
  "_http_agent",
5411
5408
  "_http_client",
@@ -5417,21 +5414,21 @@ const NODE_BUILTIN_MODULE_SPECIFIERS = [
5417
5414
  "http2",
5418
5415
  "https",
5419
5416
  "inspector",
5420
- "_linklist",
5417
+ "inspector/promises",
5421
5418
  "module",
5422
5419
  "net",
5423
- "node-inspect/lib/_inspect",
5424
- "node-inspect/lib/internal/inspect_client",
5425
- "node-inspect/lib/internal/inspect_repl",
5426
5420
  "os",
5427
5421
  "path",
5422
+ "path/posix",
5423
+ "path/win32",
5428
5424
  "perf_hooks",
5429
5425
  "process",
5430
5426
  "punycode",
5431
5427
  "querystring",
5432
5428
  "readline",
5429
+ "readline/promises",
5433
5430
  "repl",
5434
- "smalloc",
5431
+ "sea",
5435
5432
  "sqlite",
5436
5433
  "_stream_duplex",
5437
5434
  "_stream_transform",
@@ -5440,10 +5437,15 @@ const NODE_BUILTIN_MODULE_SPECIFIERS = [
5440
5437
  "_stream_readable",
5441
5438
  "_stream_writable",
5442
5439
  "stream",
5440
+ "stream/consumers",
5443
5441
  "stream/promises",
5442
+ "stream/web",
5444
5443
  "string_decoder",
5445
5444
  "sys",
5445
+ "test",
5446
+ "test/reporters",
5446
5447
  "timers",
5448
+ "timers/promises",
5447
5449
  "_tls_common",
5448
5450
  "_tls_legacy",
5449
5451
  "_tls_wrap",
@@ -5452,20 +5454,15 @@ const NODE_BUILTIN_MODULE_SPECIFIERS = [
5452
5454
  "tty",
5453
5455
  "url",
5454
5456
  "util",
5455
- "v8/tools/arguments",
5456
- "v8/tools/codemap",
5457
- "v8/tools/consarray",
5458
- "v8/tools/csvparser",
5459
- "v8/tools/logreader",
5460
- "v8/tools/profile_view",
5461
- "v8/tools/splaytree",
5457
+ "util/types",
5462
5458
  "v8",
5463
5459
  "vm",
5460
+ "wasi",
5464
5461
  "worker_threads",
5465
5462
  "zlib",
5466
5463
  // global is special
5467
5464
  "global",
5468
- ];
5465
+ ]);
5469
5466
 
5470
5467
  /*
5471
5468
  * https://nodejs.org/api/esm.html#resolver-algorithm-specification
@@ -6,13 +6,19 @@
6
6
  const allowCustomElementsRedefine = ({
7
7
  updateWholeDOMOnRedefine = false,
8
8
  } = {}) => {
9
+ const patchedSymbol = Symbol.for("allowCustomElementsRedefine");
10
+ if (customElements.define[patchedSymbol]) {
11
+ customElements.define[patchedSymbol].updateWholeDOMOnRedefine =
12
+ updateWholeDOMOnRedefine;
13
+ return;
14
+ }
9
15
  let timeoutId;
10
16
  const onCustomElementChange = (
11
17
  customElementName,
12
18
  // customElementClass,
13
19
  // options,
14
20
  ) => {
15
- if (!updateWholeDOMOnRedefine) {
21
+ if (!customElements.define[patchedSymbol].updateWholeDOMOnRedefine) {
16
22
  return;
17
23
  }
18
24
  clearTimeout(timeoutId);
@@ -31,7 +37,7 @@ const allowCustomElementsRedefine = ({
31
37
 
32
38
  const customElementClassMap = new Map();
33
39
  const defineOriginal = customElements.define;
34
- customElements.define = (customElementName, customElementClass, options) => {
40
+ const definePatched = (customElementName, customElementClass, options) => {
35
41
  const registeredCustomElement = customElements.get(customElementName);
36
42
  customElementClassMap.set(customElementName, customElementClass);
37
43
  if (registeredCustomElement) {
@@ -49,6 +55,8 @@ const allowCustomElementsRedefine = ({
49
55
  options,
50
56
  );
51
57
  };
58
+ definePatched[patchedSymbol] = { updateWholeDOMOnRedefine };
59
+ customElements.define = definePatched;
52
60
 
53
61
  const observerSymbol = Symbol.for("observedAttributesObserver");
54
62
  const createCustomElementFacade = (
@@ -1,4 +1,4 @@
1
- import { F, u, E, k } from "../jsenv_core_node_modules.js";
1
+ import { G, u, E, k } from "../jsenv_core_node_modules.js";
2
2
 
3
3
  const directoryIconUrl = new URL("../other/dir.png", import.meta.url).href;
4
4
  const fileIconUrl = new URL("../other/file.png", import.meta.url).href;
@@ -275,4 +275,4 @@ if (autoreload) {
275
275
  }
276
276
  };
277
277
  }
278
- F(u(DirectoryListing, {}), document.querySelector("#root"));
278
+ G(u(DirectoryListing, {}), document.querySelector("#root"));
@@ -1,9 +1,9 @@
1
- var n,l$1,t$1,i$1,r$1,f$1,e$1,o$2,c$1,s$1,h$1={},p$1=[],v$1=Array.isArray,y$1=p$1.slice,w$1=Object.assign;function d$1(n){n&&n.parentNode&&n.remove();}function _$1(n,l,u){var t,i,r,f={};for(r in l)"key"==r?t=l[r]:"ref"==r&&"function"!=typeof n?i=l[r]:f[r]=l[r];return arguments.length>2&&(f.children=arguments.length>3?y$1.call(arguments,2):u),g$1(n,f,t,i,null)}function g$1(u,t,i,r,f){var e={type:u,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==f?++l$1:f,__i:-1,__u:0};return null==f&&null!=n.vnode&&n.vnode(e),e}function k$2(n){return n.children}function m$1(n,l){this.props=n,this.context=l,this.__g=0;}function M(n,l){if(null==l)return n.__?M(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?M(n):null}function S$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=u.__e;break}return S$1(n)}}function $(l){(8&l.__g||!(l.__g|=8)||!t$1.push(l)||r$1++)&&i$1==n.debounceRendering||((i$1=n.debounceRendering)||queueMicrotask)(x);}function x(){for(var l,u,i,e,o,c,s,a,h=1;t$1.length;)t$1.length>h&&t$1.sort(f$1),l=t$1.shift(),h=t$1.length,8&l.__g&&(i=void 0,o=(e=(u=l).__v).__e,c=[],s=[],(a=u.__P)&&((i=w$1({},e)).__v=e.__v+1,n.vnode&&n.vnode(i),q$1(a,i,e,u.__n,a.namespaceURI,32&e.__u?[o]:null,c,null==o?M(e):o,!!(32&e.__u),s,a.ownerDocument),i.__v=e.__v,i.__.__k[i.__i]=i,P(c,i,s),i.__e!=o&&S$1(i)));r$1=0;}function C$1(n,l,u,t,i,r,f,e,o,c,s,a){var v,y,w,d,_,g,b,k=t&&t.__k||p$1,m=l.length;for(o=j$1(u,l,k,o,m),v=0;v<m;v++)null!=(w=u.__k[v])&&(y=-1==w.__i?h$1:k[w.__i]||h$1,w.__i=v,g=q$1(n,w,y,i,r,f,e,o,c,s,a),d=w.__e,w.ref&&y.ref!=w.ref&&(y.ref&&B$2(y.ref,null,w),s.push(w.ref,w.__c||d,w)),null==_&&null!=d&&(_=d),(b=!!(4&w.__u))||y.__k===w.__k?o=A$1(w,o,n,b):"function"==typeof w.type&&void 0!==g?o=g:d&&(o=d.nextSibling),w.__u&=-7);return u.__e=_,o}function j$1(n,l,u,t,i){var r,f,e,o,c,s=u.length,a=s,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(f=l[r])&&"boolean"!=typeof f&&"function"!=typeof f?(o=r+h,(f=n.__k[r]="string"==typeof f||"number"==typeof f||"bigint"==typeof f||f.constructor==String?g$1(null,f,null,null,null):v$1(f)?g$1(k$2,{children:f},null,null,null):null==f.constructor&&f.__b>0?g$1(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f).__=n,f.__b=n.__b+1,e=null,-1!=(c=f.__i=I$1(f,u,o,a))&&(a--,(e=u[c])&&(e.__u|=2)),null==e||null==e.__v?(-1==c&&(i>s?h--:i<s&&h++),"function"!=typeof f.type&&(f.__u|=4)):c!=o&&(c==o-1?h--:c==o+1?h++:(c>o?h--:h++,f.__u|=4))):n.__k[r]=null;if(a)for(r=0;r<s;r++)null!=(e=u[r])&&0==(2&e.__u)&&(e.__e==t&&(t=M(e)),D$1(e,e));return t}function A$1(n,l,u,t){var i,r;if("function"==typeof n.type){for(i=n.__k,r=0;i&&r<i.length;r++)i[r]&&(i[r].__=n,l=A$1(i[r],l,u,t));return l}n.__e!=l&&(t&&(l&&n.type&&!l.parentNode&&(l=M(n)),u.insertBefore(n.__e,l||null)),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8==l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(v$1(n)?n.some(function(n){H(n,l);}):l.push(n)),l}function I$1(n,l,u,t){var i,r,f,e=n.key,o=n.type,c=l[u],s=null!=c&&0==(2&c.__u);if(null===c&&null==n.key||s&&e==c.key&&o==c.type)return u;if(t>(s?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;)if(null!=(c=l[f=i>=0?i--:r++])&&0==(2&c.__u)&&e==c.key&&o==c.type)return f;return -1}function L(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":u;}function O$1(n,l,u,t,i){var r;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||L(n.style,l,"");if(u)for(l in u)t&&u[l]==t[l]||L(n.style,l,u[l]);}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(e$1,"$1")),(l=l.slice(2))[0].toLowerCase()!=l[0]&&(l=l.toLowerCase()),n.__l||(n.__l={}),n.__l[l+r]=u,u?t?u.l=t.l:(u.l=o$2,n.addEventListener(l,r?s$1:c$1,r)):n.removeEventListener(l,r?s$1:c$1,r);else {if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||false===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u));}}function T$1(l){return function(u){if(this.__l){var t=this.__l[u.type+l];if(null==u.u)u.u=o$2++;else if(u.u<t.l)return;return t(n.event?n.event(u):u)}}}function q$1(l,u,t,i,r,f,e,o,c,s,a){var h,p,y,_,g,b,M,S,$,x,j,A,H,I,L,O,T,q,P,B,D,F=u.type;if(null!=u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),t.__c.__z&&(o=u.__e=t.__e=(f=t.__c.__z)[0],t.__c.__z=null)),(h=n.__b)&&h(u);n:if("function"==typeof F)try{if(S=u.props,$="prototype"in F&&F.prototype.render,x=(h=F.contextType)&&i[h.__c],j=h?x?x.props.value:h.__:i,t.__c?2&(p=u.__c=t.__c).__g&&(p.__g|=1,M=!0):($?u.__c=p=new F(S,j):(u.__c=p=new m$1(S,j),p.constructor=F,p.render=E$1),x&&x.sub(p),p.props=S,p.state||(p.state={}),p.context=j,p.__n=i,y=!0,p.__g|=8,p.__h=[],p._sb=[]),$&&null==p.__s&&(p.__s=p.state),$&&null!=F.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=w$1({},p.__s)),w$1(p.__s,F.getDerivedStateFromProps(S,p.__s))),_=p.props,g=p.state,p.__v=u,y)$&&null==F.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),$&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else {if($&&null==F.getDerivedStateFromProps&&S!==_&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(S,j),!(4&p.__g)&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(S,p.__s,j)||u.__v==t.__v){for(u.__v!=t.__v&&(p.props=S,p.state=p.__s,p.__g&=-9),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u);}),A=0;A<p._sb.length;A++)p.__h.push(p._sb[A]);p._sb=[],p.__h.length&&e.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(S,p.__s,j),$&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(_,g,b);});}if(p.context=j,p.props=S,p.__P=l,p.__g&=-5,H=n.__r,I=0,$){for(p.state=p.__s,p.__g&=-9,H&&H(u),h=p.render(p.props,p.state,p.context),L=0;L<p._sb.length;L++)p.__h.push(p._sb[L]);p._sb=[];}else do{p.__g&=-9,H&&H(u),h=p.render(p.props,p.state,p.context),p.state=p.__s;}while(8&p.__g&&++I<25);p.state=p.__s,null!=p.getChildContext&&(i=w$1({},i,p.getChildContext())),$&&!y&&null!=p.getSnapshotBeforeUpdate&&(b=p.getSnapshotBeforeUpdate(_,g)),O=h,null!=h&&h.type===k$2&&null==h.key&&(O=V$1(h.props.children)),o=C$1(l,v$1(O)?O:[O],u,t,i,r,f,e,o,c,s,a),u.__u&=-161,p.__h.length&&e.push(p),M&&(p.__g&=-4);}catch(l){if(u.__v=null,c||null!=f)if(l.then){for(T=0,q=false,u.__u|=c?160:128,u.__c.__z=[],P=0;P<f.length;P++)null==(B=f[P])||q||(8==B.nodeType&&"$s"==B.data?(T>0&&u.__c.__z.push(B),T++,f[P]=null):8==B.nodeType&&"/$s"==B.data?(--T>0&&u.__c.__z.push(B),q=0===T,o=f[P],f[P]=null):T>0&&(u.__c.__z.push(B),f[P]=null));if(!q){for(;o&&8==o.nodeType&&o.nextSibling;)o=o.nextSibling;f[f.indexOf(o)]=null,u.__c.__z=[o];}u.__e=o;}else {for(D=f.length;D--;)d$1(f[D]);N$1(u);}else u.__e=t.__e,u.__k=t.__k,l.then||N$1(u);n.__e(l,u,t);}else o=u.__e=z$1(t.__e,u,t,i,r,f,e,c,s,a);return (h=n.diffed)&&h(u),128&u.__u?void 0:o}function N$1(n){n&&n.__c&&(n.__c.__g|=4),n&&n.__k&&n.__k.forEach(N$1);}function P(l,u,t){for(var i=0;i<t.length;i++)B$2(t[i],t[++i],t[++i]);n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function V$1(n){return "object"!=typeof n||null==n||n.__b&&n.__b>0?n:v$1(n)?n.map(V$1):w$1({},n)}function z$1(l,u,t,i,r,f,e,o,c,s){var a,p,w,_,g,b,k,m,S=t.props,$=u.props,x=u.type;if("svg"==x?r="http://www.w3.org/2000/svg":"math"==x?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=f)for(a=0;a<f.length;a++)if((g=f[a])&&"setAttribute"in g==!!x&&(x?g.localName==x:3==g.nodeType)){l=g,f[a]=null;break}if(null==l){if(null==x)return s.createTextNode($);l=s.createElementNS(r,x,$.is&&$),o&&(n.__m&&n.__m(u,f),o=false),f=null;}if(null==x)S===$||o&&l.data==$||(l.data=$);else {if(f=f&&y$1.call(l.childNodes),S=t.props||h$1,!o&&null!=f)for(S={},a=0;a<l.attributes.length;a++)S[(g=l.attributes[a]).name]=g.value;for(a in S)if(g=S[a],"children"==a);else if("dangerouslySetInnerHTML"==a)w=g;else if(!(a in $)){if("value"==a&&"defaultValue"in $||"checked"==a&&"defaultChecked"in $)continue;O$1(l,a,null,g,r);}for(a in m=1&t.__u,$)g=$[a],"children"==a?_=g:"dangerouslySetInnerHTML"==a?p=g:"value"==a?b=g:"checked"==a?k=g:o&&"function"!=typeof g||S[a]===g&&!m||O$1(l,a,g,S[a],r);if(p)o||w&&(p.__html==w.__html||p.__html==l.innerHTML)||(l.innerHTML=p.__html),u.__k=[];else if(w&&(l.innerHTML=""),C$1("template"==x?l.content:l,v$1(_)?_:[_],u,t,i,"foreignObject"==x?"http://www.w3.org/1999/xhtml":r,f,e,f?f[0]:t.__k&&M(t,0),o,c,s),null!=f)for(a=f.length;a--;)d$1(f[a]);o||(a="value","progress"==x&&null==b?l.removeAttribute("value"):null==b||b===l[a]&&("progress"!==x||b)||O$1(l,a,b,S[a],r),a="checked",null!=k&&k!=l[a]&&O$1(l,a,k,S[a],r));}return l}function B$2(l,u,t){try{if("function"==typeof l){var i="function"==typeof l.__u;i&&l.__u(),i&&null==u||(l.__u=l(u));}else l.current=u;}catch(l){n.__e(l,t);}}function D$1(l,u,t){var i,r;if(n.unmount&&n.unmount(l),(i=l.ref)&&(i.current&&i.current!=l.__e||B$2(i,null,u)),null!=(i=l.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(l){n.__e(l,u);}i.__P=null;}if(i=l.__k)for(r=0;r<i.length;r++)i[r]&&D$1(i[r],u,t||"function"!=typeof l.type);t||d$1(l.__e),l.__e&&l.__e.__l&&(l.__e.__l=null),l.__e=l.__c=l.__=null;}function E$1(n,l,u){return this.constructor(n,u)}function F(l,u){var t,i,r,f;u==document&&(u=document.documentElement),n.__&&n.__(l,u),i=(t=!!(l&&32&l.__u))?null:u.__k,l=u.__k=_$1(k$2,null,[l]),r=[],f=[],q$1(u,l,i||h$1,h$1,u.namespaceURI,i?null:u.firstChild?y$1.call(u.childNodes):null,r,i?i.__e:u.firstChild,t,f,u.ownerDocument),P(r,l,f);}n={__e:function(n,l,u,t){for(var i,f,e;l=l.__;)if((i=l.__c)&&!(1&i.__g)){i.__g|=4;try{if((f=i.constructor)&&null!=f.getDerivedStateFromError&&(i.setState(f.getDerivedStateFromError(n)),e=8&i.__g),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),e=8&i.__g),e)return void(i.__g|=2)}catch(l){n=l;}}throw r$1=0,n}},l$1=0,m$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=w$1({},this.state),"function"==typeof n&&(n=n(w$1({},u),this.props)),n&&w$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),$(this));},m$1.prototype.forceUpdate=function(n){this.__v&&(this.__g|=4,n&&this.__h.push(n),$(this));},m$1.prototype.render=k$2,t$1=[],r$1=0,f$1=function(n,l){return n.__v.__b-l.__v.__b},e$1=/(PointerCapture)$|Capture$/i,o$2=0,c$1=T$1(false),s$1=T$1(true);
1
+ var n,l$1,t$1,i$1,r$1,o$2,f$1,e$1,c$1,s$1,a$1={},p$1=[],v$1=/(mi|mn|mo|ms$|mte|msp)/,y$1=Array.isArray,w$1=p$1.slice,d$1=Object.assign;function g$1(n){n&&n.parentNode&&n.remove();}function _$1(n,l,u){var t,i,r,o={};for(r in l)"key"==r?t=l[r]:"ref"==r&&"function"!=typeof n?i=l[r]:o[r]=l[r];return arguments.length>2&&(o.children=arguments.length>3?w$1.call(arguments,2):u),m$1(n,o,t,i,null)}function m$1(u,t,i,r,o){var f={type:u,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++l$1:o,__i:-1,__u:0};return null==o&&null!=n.vnode&&n.vnode(f),f}function k$2(n){return n.children}function M(n,l){this.props=n,this.context=l,this.__g=0;}function $(n,l){if(null==l)return n.__?$(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?$(n):null}function S(n){if(null!=(n=n.__)&&null!=n.__c)return n.__e=null,n.__k.some(function(l){if(null!=l&&null!=l.__e)return n.__e=l.__e}),S(n)}function x(l){(8&l.__g||!(l.__g|=8)||!t$1.push(l)||r$1++)&&i$1==n.debounceRendering||((i$1=n.debounceRendering)||queueMicrotask)(C$2);}function C$2(){for(var l,u,i,f,e,c,s,h,a=1;t$1.length;)t$1.length>a&&t$1.sort(o$2),l=t$1.shift(),a=t$1.length,8&l.__g&&(i=void 0,f=void 0,e=(f=(u=l).__v).__e,c=[],s=[],(h=u.__P)&&((i=d$1({},f)).__v=f.__v+1,n.vnode&&n.vnode(i),N$1(h,i,f,u.__n,h.namespaceURI,32&f.__u?[e]:null,c,null==e?$(f):e,!!(32&f.__u),s,h.ownerDocument),i.__v=f.__v,i.__.__k[i.__i]=i,V$1(c,i,s),f.__=f.__e=null,i.__e!=e&&S(i)));r$1=0;}function L(n,l,u,t,i,r,o,f,e,c,s,h){var v,y,w,d,g,_,m,b=t&&t.__k||p$1,k=l.length;for(e=j$1(u,l,b,e,k),v=0;v<k;v++)null!=(w=u.__k[v])&&(y=-1!=w.__i&&b[w.__i]||a$1,w.__i=v,_=N$1(n,w,y,i,r,o,f,e,c,s,h),d=w.__e,w.ref&&y.ref!=w.ref&&(y.ref&&D$1(y.ref,null,w),s.push(w.ref,w.__c||d,w)),null==g&&null!=d&&(g=d),(m=4&w.__u)||y.__k===w.__k?e=A$1(w,e,n,m):"function"==typeof w.type&&void 0!==_?e=_:d&&(e=d.nextSibling),w.__u&=-7);return u.__e=g,e}function j$1(n,l,u,t,i){var r,o,f,e,c,s=u.length,h=s,a=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&"boolean"!=typeof o&&"function"!=typeof o?("string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?o=n.__k[r]=m$1(null,o,null,null,null):y$1(o)?o=n.__k[r]=m$1(k$2,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?o=n.__k[r]=m$1(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):n.__k[r]=o,e=r+a,o.__=n,o.__b=n.__b+1,f=null,-1!=(c=o.__i=I$1(o,u,e,h))&&(h--,(f=u[c])&&(f.__u|=2)),null==f||null==f.__v?(-1==c&&(i>s?a--:i<s&&a++),"function"!=typeof o.type&&(o.__u|=4)):c!=e&&(c==e-1?a--:c==e+1?a++:(c>e?a--:a++,o.__u|=4))):n.__k[r]=null;if(h)for(r=0;r<s;r++)null!=(f=u[r])&&0==(2&f.__u)&&(f.__e==t&&(t=$(f)),E$1(f,f));return t}function A$1(n,l,u,t){var i,r;if("function"==typeof n.type){for(i=n.__k,r=0;i&&r<i.length;r++)i[r]&&(i[r].__=n,l=A$1(i[r],l,u,t));return l}n.__e!=l&&(t&&(l&&n.type&&!l.parentNode&&(l=$(n)),u.insertBefore(n.__e,l||null)),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8==l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(y$1(n)?n.some(function(n){H(n,l);}):l.push(n)),l}function I$1(n,l,u,t){var i,r,o,f=n.key,e=n.type,c=l[u],s=null!=c&&0==(2&c.__u);if(null===c&&null==f||s&&f==c.key&&e==c.type)return u;if(t>(s?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;)if(null!=(c=l[o=i>=0?i--:r++])&&0==(2&c.__u)&&f==c.key&&e==c.type)return o;return -1}function O$1(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":u;}function T$1(n,l,u,t,i){var r;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||O$1(n.style,l,"");if(u)for(l in u)t&&u[l]==t[l]||O$1(n.style,l,u[l]);}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(f$1,"$1")),l=l.slice(2).toLowerCase(),n.__l||(n.__l={}),n.__l[l+r]=u,u?t?u.l=t.l:(u.l=e$1,n.addEventListener(l,r?s$1:c$1,r)):n.removeEventListener(l,r?s$1:c$1,r);else {if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||false===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u));}}function q$1(l){return function(u){if(this.__l){var t=this.__l[u.type+l];if(null==u.u)u.u=e$1++;else if(u.u<t.l)return;return t(n.event?n.event(u):u)}}}function N$1(l,u,t,i,r,o,f,e,c,s,h){var a,p,v,w,_,m,b,$,S,x,C,j,A,H,I,O,T,q,N,V=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=32&t.__u)&&t.__c.__z&&(e=(o=t.__c.__z)[0],t.__c.__z=null),(a=n.__b)&&a(u);n:if("function"==typeof V)try{if(m=u.props,b="prototype"in V&&V.prototype.render,$=(a=V.contextType)&&i[a.__c],S=a?$?$.props.value:a.__:i,t.__c?2&(p=u.__c=t.__c).__g&&(p.__g|=1):(b?u.__c=p=new V(m,S):(u.__c=p=new M(m,S),p.constructor=V,p.render=F$1),$&&$.sub(p),p.state||(p.state={}),p.__n=i,p.__g|=8,p.__h=[],p._sb=[]),b&&null==p.__s&&(p.__s=p.state),b&&null!=V.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=d$1({},p.__s)),d$1(p.__s,V.getDerivedStateFromProps(m,p.__s))),v=p.props,w=p.state,p.__v=u,t.__c){if(b&&null==V.getDerivedStateFromProps&&m!==v&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(m,S),u.__v==t.__v||!(4&p.__g)&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(m,p.__s,S)){u.__v!=t.__v&&(p.props=m,p.state=p.__s,p.__g&=-9),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u);}),(x=p.__h).push.apply(x,p._sb),p._sb=[],p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(m,p.__s,S),b&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(v,w,_);});}else b&&null==V.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),b&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);if(p.context=S,p.props=m,p.__P=l,p.__g&=-5,C=n.__r,j=0,b)p.state=p.__s,p.__g&=-9,C&&C(u),a=p.render(p.props,p.state,p.context),(A=p.__h).push.apply(A,p._sb),p._sb=[];else do{p.__g&=-9,C&&C(u),a=p.render(p.props,p.state,p.context),p.state=p.__s;}while(8&p.__g&&++j<25);p.state=p.__s,null!=p.getChildContext&&(i=d$1({},i,p.getChildContext())),b&&t.__c&&null!=p.getSnapshotBeforeUpdate&&(_=p.getSnapshotBeforeUpdate(v,w)),H=null!=a&&a.type===k$2&&null==a.key?z$1(a.props.children):a,e=L(l,y$1(H)?H:[H],u,t,i,r,o,f,e,c,s,h),u.__u&=-161,p.__h.length&&f.push(p),2&p.__g&&(p.__g&=-4);}catch(l){if(u.__v=null,c||null!=o)if(l.then){for(I=0,u.__u|=c?160:128,u.__c.__z=[],T=0;T<o.length;T++)null==(q=o[T])||O||(8==q.nodeType?("$s"==q.data?(I&&u.__c.__z.push(q),I++):"/$s"==q.data&&(--I&&u.__c.__z.push(q),O=0==I,e=o[T]),o[T]=null):I&&(u.__c.__z.push(q),o[T]=null));if(!O){for(;e&&8==e.nodeType&&e.nextSibling;)e=e.nextSibling;o[o.indexOf(e)]=null,u.__c.__z=[e];}u.__e=e;}else {for(N=o.length;N--;)g$1(o[N]);P(u);}else u.__e=t.__e,u.__k=t.__k,l.then||P(u);n.__e(l,u,t);}else e=u.__e=B$2(t.__e,u,t,i,r,o,f,c,s,h);return (a=n.diffed)&&a(u),128&u.__u?void 0:e}function P(n){n&&n.__c&&(n.__c.__g|=4),n&&n.__k&&n.__k.forEach(P);}function V$1(l,u,t){for(var i=0;i<t.length;i++)D$1(t[i],t[++i],t[++i]);n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function z$1(n){return "object"!=typeof n||null==n||n.__b>0?n:y$1(n)?n.map(z$1):d$1({},n)}function B$2(l,u,t,i,r,o,f,e,c,s){var h,p,d,_,m,b,k,M,S=t.props||a$1,x=u.props,C=u.type;if("svg"==C?r="http://www.w3.org/2000/svg":"math"==C?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=o)for(h=0;h<o.length;h++)if((m=o[h])&&"setAttribute"in m==!!C&&(C?m.localName==C:3==m.nodeType)){l=m,o[h]=null;break}if(null==l){if(null==C)return s.createTextNode(x);l=s.createElementNS(r,C,x.is&&x),e&&(n.__m&&n.__m(u,o),e=false),o=null;}if(null==C)S===x||e&&l.data==x||(l.data=x);else {if(o=o&&w$1.call(l.childNodes),!e&&null!=o)for(S={},h=0;h<l.attributes.length;h++)S[(m=l.attributes[h]).name]=m.value;for(h in S)m=S[h],"dangerouslySetInnerHTML"==h?d=m:"children"==h||h in x||"value"==h&&"defaultValue"in x||"checked"==h&&"defaultChecked"in x||T$1(l,h,null,m,r);for(h in M=1&t.__u,x)m=x[h],"children"==h?_=m:"dangerouslySetInnerHTML"==h?p=m:"value"==h?b=m:"checked"==h?k=m:e&&"function"!=typeof m||S[h]===m&&!M||T$1(l,h,m,S[h],r);if(p)e||d&&(p.__html==d.__html||p.__html==l.innerHTML)||(l.innerHTML=p.__html),u.__k=[];else if(d&&(l.innerHTML=""),("foreignObject"==C||"http://www.w3.org/1998/Math/MathML"==r&&v$1.test(C))&&(r="http://www.w3.org/1999/xhtml"),L("template"==C?l.content:l,y$1(_)?_:[_],u,t,i,r,o,f,o?o[0]:t.__k&&$(t,0),e,c,s),null!=o)for(h=o.length;h--;)g$1(o[h]);e||(h="value","progress"==C&&null==b?l.removeAttribute("value"):null==b||b===l[h]&&("progress"!==C||b)||T$1(l,h,b,S[h],r),h="checked",null!=k&&k!=l[h]&&T$1(l,h,k,S[h],r));}return l}function D$1(l,u,t){try{"function"==typeof l?("function"==typeof l.__u&&l.__u(),"function"==typeof l.__u&&null==u||(l.__u=l(u))):l.current=u;}catch(l){n.__e(l,t);}}function E$1(l,u,t){var i,r;if(n.unmount&&n.unmount(l),!(i=l.ref)||i.current&&i.current!=l.__e||D$1(i,null,u),null!=(i=l.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(l){n.__e(l,u);}i.__P=null;}if(i=l.__k)for(r=0;r<i.length;r++)i[r]&&E$1(i[r],u,t||"function"!=typeof l.type);t||g$1(l.__e),l.__e&&l.__e.__l&&(l.__e.__l=null),l.__e=l.__c=l.__=null;}function F$1(n,l,u){return this.constructor(n,u)}function G$1(l,u){var t,i,r,o;u==document&&(u=document.documentElement),n.__&&n.__(l,u),i=(t=l&&32&l.__u)?null:u.__k,u.__k=_$1(k$2,null,[l]),r=[],o=[],N$1(u,u.__k,i||a$1,a$1,u.namespaceURI,i?null:u.firstChild?w$1.call(u.childNodes):null,r,i?i.__e:u.firstChild,t,o,u.ownerDocument),V$1(r,u.__k,o);}n={__e:function(n,l,u,t){for(var i,o,f;l=l.__;)if((i=l.__c)&&!(1&i.__g)){i.__g|=4;try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),f=8&i.__g),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),f=8&i.__g),f)return void(i.__g|=2)}catch(l){n=l;}}throw r$1=0,n}},l$1=0,M.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=d$1({},this.state),"function"==typeof n&&(n=n(d$1({},u),this.props)),n&&(d$1(u,n),this.__v&&(l&&this._sb.push(l),x(this)));},M.prototype.forceUpdate=function(n){this.__v&&(this.__g|=4,n&&this.__h.push(n),x(this));},M.prototype.render=k$2,t$1=[],r$1=0,o$2=function(n,l){return n.__v.__b-l.__v.__b},f$1=/(PointerCapture)$|Capture$/i,e$1=0,c$1=q$1(false),s$1=q$1(true);
2
2
 
3
- var t,r,u$1,i,o$1=Object.is,f=0,c=[],e=n,a=e.__b,v=e.__r,l=e.diffed,m=e.__c,s=e.unmount,p=e.__;function d(n,t){e.__h&&e.__h(r,n,f||t),f=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function h(n){return f=1,y(D,n)}function y(n,u,i){var f=d(t++,2);if(f.t=n,!f.__c&&(f.__=[i?i(u):D(void 0,u),function(n){var t=f.__N?f.__N[0]:f.__[0],r=f.t(t,n);o$1(t,r)||(f.__N=[r,f.__[1]],f.__c.setState({}));}],f.__c=r,!r.__f)){var c=function(n,t,r){if(!f.__c.__H)return true;var u=f.__c.__H.__.filter(function(n){return !!n.__c});if(u.every(function(n){return !n.__N}))return !e||e.call(this,n,t,r);var i=f.__c.props!==n;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,o$1(t,n.__[0])||(i=true);}}),e&&e.call(this,n,t,r)||i};r.__f=true;var e=r.shouldComponentUpdate,a=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(4&this.__g){var u=e;e=void 0,c(n,t,r),e=u;}a&&a.call(this,n,t,r);},r.shouldComponentUpdate=c;}return f.__N||f.__}function _(n,u){var i=d(t++,3);!e.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i));}function A(n,u){var i=d(t++,4);!e.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__h.push(i));}function g(){for(var n;n=c.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B$1),n.__H.__h=[];}catch(t){n.__H.__h=[],e.__e(t,n.__v);}}e.__b=function(n){r=null,a&&a(n);},e.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),p&&p(n,t);},e.__r=function(n){v&&v(n),t=0;var i=(r=n.__c).__H;i&&(u$1===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0;})):(i.__h.forEach(z),i.__h.forEach(B$1),i.__h=[],t=0)),u$1=r;},e.diffed=function(n){l&&l(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&i===e.requestAnimationFrame||((i=e.requestAnimationFrame)||w)(g)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0;})),u$1=r=null;},e.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return !n.__||B$1(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],e.__e(r,n.__v);}}),m&&m(n,t);},e.unmount=function(n){s&&s(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n);}catch(n){t=n;}}),r.__H=void 0,t&&e.__e(t,r.__v));};var k$1="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,35);k$1&&(t=requestAnimationFrame(r));}function z(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function B$1(n){var t=r;n.__c=n.__(),r=t;}function C(n,t){return !n||n.length!==t.length||t.some(function(t,r){return !o$1(t,n[r])})}function D(n,t){return "function"==typeof t?t(n):t}
3
+ var t,r,u$1,i,o$1=Object.is,f=0,c=[],e=n,a=e.__b,v=e.__r,l=e.diffed,m=e.__c,p=e.unmount,s=e.__;function d(n,t){e.__h&&e.__h(r,n,f||t),f=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function y(n){return f=1,h(D,n)}function h(n,u,i){var f=d(t++,2);if(f.t=n,!f.__c&&(f.__=[i?i(u):D(void 0,u),function(n){var t=f.__N?f.__N[0]:f.__[0],r=f.t(t,n);o$1(t,r)||(f.__N=[r,f.__[1]],f.__c.setState({}));}],f.__c=r,!r.__f)){var c=function(n,t,r){if(!f.__c.__H)return true;var u=f.__c.__H.__,i=f.__c.props!==n||u.every(function(n){return !n.__N});return u.some(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,o$1(t,n.__[0])||(i=true);}}),e&&e.call(this,n,t,r)||i};r.__f=true;var e=r.shouldComponentUpdate,a=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(4&this.__g){var u=e;e=void 0,c(n,t,r),e=u;}a&&a.call(this,n,t,r);},r.shouldComponentUpdate=c;}return f.__}function _(n,u){var i=d(t++,3);!e.__s&&C$1(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i));}function A(n,u){var i=d(t++,4);!e.__s&&C$1(i.__H,u)&&(i.__=n,i.u=u,r.__h.push(i));}function g(){for(var n;n=c.shift();)if(n.__P&&n.__H)try{n.__H.__h.some(z),n.__H.__h.some(B$1),n.__H.__h=[];}catch(t){n.__H.__h=[],e.__e(t,n.__v);}}e.__b=function(n){r=null,a&&a(n);},e.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t);},e.__r=function(n){v&&v(n),t=0;var i=(r=n.__c).__H;i&&(u$1===r?(i.__h=[],r.__h=[],i.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0;})):(i.__h.some(z),i.__h.some(B$1),i.__h=[],t=0)),u$1=r;},e.diffed=function(n){l&&l(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&i===e.requestAnimationFrame||((i=e.requestAnimationFrame)||w)(g)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0;})),u$1=r=null;},e.__c=function(n,t){t.some(function(n){try{n.__h.some(z),n.__h=n.__h.filter(function(n){return !n.__||B$1(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],e.__e(r,n.__v);}}),m&&m(n,t);},e.unmount=function(n){p&&p(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.some(function(n){try{z(n);}catch(n){t=n;}}),r.__H=void 0,t&&e.__e(t,r.__v));};var k$1="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,35);k$1&&(t=requestAnimationFrame(r));}function z(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function B$1(n){var t=r;n.__c=n.__(),r=t;}function C$1(n,t){return !n||n.length!==t.length||t.some(function(t,r){return !o$1(t,n[r])})}function D(n,t){return "function"==typeof t?t(n):t}
4
4
 
5
- function E(n,e){var t=e(),r=h({t:{__:t,u:e}}),u=r[0].t,o=r[1];return A(function(){u.__=t,u.u=e,S(u)&&o({t:u});},[n,t,e]),_(function(){return S(u)&&o({t:u}),n(function(){S(u)&&o({t:u});})},[n]),t}function S(n){var e=n.u,t=n.__;try{var r=e();return !Object.is(t,r)}catch(n){return true}}var k=Object.assign;function I(n,e){for(var t in n)if("__source"!==t&&!(t in e))return true;for(var r in e)if("__source"!==r&&n[r]!==e[r])return true;return false}var N=/^(-|f[lo].*[^se]$|g.{5,}[^ps]$|z|o[pr]|(W.{5})?[lL]i.*(t|mp)$|an|(bo|s).{4}Im|sca|m.{6}[ds]|ta|c.*[st]$|wido|ini)/;function O(n,e){this.props=n,this.context=e;}(O.prototype=new m$1).isPureReactComponent=true,O.prototype.shouldComponentUpdate=function(n,e){return I(this.props,n)||I(this.state,e)};var T=n.__e;n.__e=function(n,e,t,r){if(n.then)for(var u,o=e;o=o.__;)if((u=o.__c)&&u.__c)return null==e.__e&&(e.__e=t.__e,e.__k=t.__k),u.__c(n,e);T(n,e,t,r);};var U=n.unmount;function V(n,e,t){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=k({},n)).__c&&(n.__c.__P===t&&(n.__c.__P=e),n.__c.__g|=4,n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return V(n,e,t)})),n}function j(n,e,t){return n&&t&&("string"==typeof n.type&&(n.__u|=1),n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return j(n,e,t)}),n.__c&&n.__c.__P===e&&(n.__e&&t.appendChild(n.__e),n.__c.__g|=4,n.__c.__P=t)),n}function W(){this.__u=0,this.o=null,this.__b=null;}n.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),U&&U(n);},(W.prototype=new m$1).__c=function(n,e){var t=e.__c,r=this;null==r.o&&(r.o=[]),r.o.push(t);var u=false,o=function(){u||(u=true,t.__R=null,i());};t.__R=o;var i=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=j(n,n.__c.__P,n.__c.__O);}var e;for(r.setState({__a:r.__b=null});e=r.o.pop();)e.forceUpdate();}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(o,o);},W.prototype.componentWillUnmount=function(){this.o=[];},W.prototype.render=function(n,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=V(this.__b,r,o.__O=o.__P);}this.__b=null;}return [_$1(k$2,null,t.__a?null:n.children),t.__a&&_$1(k$2,null,n.fallback)]};var B=Symbol.for("react.element"),Z=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Y=/[A-Z0-9]/g,q="undefined"!=typeof document,G=function(n){return /fil|che|rad/.test(n)};m$1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(m$1.prototype,e,{configurable:true,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:true,writable:true,value:n});}});});var Q=n.event;function X(){}function nn(){return this.cancelBubble}function en(){return this.defaultPrevented}n.event=function(n){return Q&&(n=Q(n)),n.persist=X,n.isPropagationStopped=nn,n.isDefaultPrevented=en,n.nativeEvent=n};var rn={enumerable:false,configurable:true,get:function(){return this.class}},un=n.vnode;n.vnode=function(n){if("string"==typeof n.type)!function(n){var e=n.props,r=n.type,u={},o=-1===r.indexOf("-");for(var i in e){var l=e[i];if(!("value"===i&&"defaultValue"in e&&null==l||q&&"children"===i&&"noscript"===r||"class"===i||"className"===i)){if("style"===i&&"object"==typeof l)for(var c in l)"number"!=typeof l[c]||N.test(c)||(l[c]+="px");else if("defaultValue"===i&&"value"in e&&null==e.value)i="value";else if("download"===i&&true===l)l="";else if("translate"===i&&"no"===l)l=false;else if("o"===i[0]&&"n"===i[1]){var a=i.toLowerCase();"ondoubleclick"===a?i="ondblclick":"onchange"!==a||"input"!==r&&"textarea"!==r||G(e.type)?"onfocus"===a?i="onfocusin":"onblur"===a&&(i="onfocusout"):a=i="oninput","oninput"===a&&u[i=a]&&(i="oninputCapture");}else o&&Z.test(i)?i=i.replace(Y,"-$&").toLowerCase():null===l&&(l=void 0);u[i]=l;}}"select"==r&&u.multiple&&Array.isArray(u.value)&&(u.value=H(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==r&&null!=u.defaultValue&&(u.value=H(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),e.class&&!e.className?(u.class=e.class,Object.defineProperty(u,"className",rn)):(e.className&&!e.class||e.class&&e.className)&&(u.class=u.className=e.className),n.props=u;}(n);else if("function"==typeof n.type&&("ref"in n.props&&"prototype"in n.type&&n.type.prototype.render&&(n.ref=n.props.ref,delete n.props.ref),n.type.defaultProps)){var e=k({},n.props);for(var r in n.type.defaultProps) void 0===e[r]&&(e[r]=n.type.defaultProps[r]);n.props=e;}n.$$typeof=B,un&&un(n);};var on=n.__r;n.__r=function(n){on&&on(n),n.__c;};var ln=n.diffed;n.diffed=function(n){ln&&ln(n);var e=n.props,t=n.__e;null!=t&&"textarea"===n.type&&"value"in e&&e.value!==t.value&&(t.value=null==e.value?"":e.value);};
5
+ function E(n,e){var t=e(),r=y({t:{__:t,u:e}}),u=r[0].t,o=r[1];return A(function(){u.__=t,u.u=e,C(u)&&o({t:u});},[n,t,e]),_(function(){return C(u)&&o({t:u}),n(function(){C(u)&&o({t:u});})},[n]),t}function C(n){try{return !Object.is(n.__,n.u())}catch(n){return true}}var I=Object.assign;function k(n,e){for(var t in n)if("__source"!==t&&!(t in e))return true;for(var r in e)if("__source"!==r&&n[r]!==e[r])return true;return false}var N=/^(-|f[lo].*[^se]$|g.{5,}[^ps]$|z|o[pr]|(W.{5})?[lL]i.*(t|mp)$|an|(bo|s).{4}Im|sca|m.{6}[ds]|ta|c.*[st]$|wido|ini)/;function O(n,e){this.props=n,this.context=e;}(O.prototype=new M).isPureReactComponent=true,O.prototype.shouldComponentUpdate=function(n,e){return k(this.props,n)||k(this.state,e)};var F=n.__e;n.__e=function(n,e,t,r){if(n.then)for(var u,o=e;o=o.__;)if((u=o.__c)&&u.__c)return null==e.__e&&(e.__e=t.__e,e.__k=t.__k),u.__c(n,e);F(n,e,t,r);};var T=n.unmount;function V(n,e,t){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=I({},n)).__c&&(n.__c.__P===t&&(n.__c.__P=e),n.__c.__g|=4,n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return V(n,e,t)})),n}function j(n,e,t){return n&&t&&("string"==typeof n.type&&(n.__u|=1),n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return j(n,e,t)}),n.__c&&n.__c.__P===e&&(n.__e&&t.appendChild(n.__e),n.__c.__g|=4,n.__c.__P=t)),n}function W(){this.__u=0,this.o=null,this.__b=null;}n.unmount=function(n){var e=n.__c;e&&(e.__z=true),e&&e.__R&&e.__R(),T&&T(n);},(W.prototype=new M).__c=function(n,e){var t=e.__c,r=this;null==r.o&&(r.o=[]),r.o.push(t);var u=false,o=function(){u||r.__z||(u=true,t.__R=null,l());};t.__R=o;var i=t.__P;t.__P=null;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=j(n,n.__c.__P,n.__c.__O);}var e;for(r.setState({__a:r.__b=null});e=r.o.pop();)e.__P=i,e.forceUpdate();}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(o,o);},W.prototype.componentWillUnmount=function(){this.o=[];},W.prototype.render=function(n,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=V(this.__b,r,o.__O=o.__P);}this.__b=null;}return [_$1(k$2,null,t.__a?null:n.children),t.__a&&_$1(k$2,null,n.fallback)]};var B=Symbol.for("react.element"),Z=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Y=/[A-Z0-9]/g,q="undefined"!=typeof document,G=function(n){return /fil|che|rad/.test(n)};M.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(M.prototype,e,{configurable:true,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:true,writable:true,value:n});}});});var Q=n.event;function X(){}function nn(){return this.cancelBubble}function en(){return this.defaultPrevented}n.event=function(n){return Q&&(n=Q(n)),n.persist=X,n.isPropagationStopped=nn,n.isDefaultPrevented=en,n.nativeEvent=n};var rn={enumerable:false,configurable:true,get:function(){return this.class}},un=n.vnode;n.vnode=function(n){if("string"==typeof n.type)!function(n){var e=n.props,r=n.type,u={},o=-1===r.indexOf("-");for(var i in e){var l=e[i];if(!("value"===i&&"defaultValue"in e&&null==l||q&&"children"===i&&"noscript"===r||"class"===i||"className"===i)){if("style"===i&&"object"==typeof l)for(var c in l)"number"!=typeof l[c]||N.test(c)||(l[c]+="px");else if("defaultValue"===i&&"value"in e&&null==e.value)i="value";else if("download"===i&&true===l)l="";else if("translate"===i&&"no"===l)l=false;else if("o"===i[0]&&"n"===i[1]){var a=i.toLowerCase();"ondoubleclick"===a?i="ondblclick":"onchange"!==a||"input"!==r&&"textarea"!==r||G(e.type)?"onfocus"===a?i="onfocusin":"onblur"===a&&(i="onfocusout"):a=i="oninput","oninput"===a&&u[i=a]&&(i="oninputCapture");}else o&&Z.test(i)?i=i.replace(Y,"-$&").toLowerCase():null===l&&(l=void 0);u[i]=l;}}"select"==r&&u.multiple&&Array.isArray(u.value)&&(u.value=H(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==r&&null!=u.defaultValue&&(u.value=H(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),e.class&&!e.className?(u.class=e.class,Object.defineProperty(u,"className",rn)):e.className&&(u.class=u.className=e.className),n.props=u;}(n);else if("function"==typeof n.type&&("ref"in n.props&&"prototype"in n.type&&n.type.prototype.render&&(n.ref=n.props.ref,delete n.props.ref),n.type.defaultProps)){var e=I({},n.props);for(var r in n.type.defaultProps) void 0===e[r]&&(e[r]=n.type.defaultProps[r]);n.props=e;}n.$$typeof=B,un&&un(n);};var on=n.__r;n.__r=function(n){on&&on(n),n.__c;};var ln=n.diffed;n.diffed=function(n){ln&&ln(n);var e=n.props,t=n.__e;null!=t&&"textarea"===n.type&&"value"in e&&e.value!==t.value&&(t.value=null==e.value?"":e.value);};
6
6
 
7
7
  var o=0;function u(t,e,n$1,f,u,i){e||(e={});var a,c,l=e;if("ref"in l&&"function"!=typeof t)for(c in l={},e)"ref"==c?a=e[c]:l[c]=e[c];var p={type:t,props:l,key:n$1,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--o,__i:-1,__u:0,__source:u,__self:i};return n.vnode&&n.vnode(p),p}
8
8
 
9
- export { E, F, k$2 as k, u };
9
+ export { E, G$1 as G, k$2 as k, u };
@@ -4848,30 +4848,27 @@ const createPackageImportNotDefinedError = (
4848
4848
  const isSpecifierForNodeBuiltin = (specifier) => {
4849
4849
  return (
4850
4850
  specifier.startsWith("node:") ||
4851
- NODE_BUILTIN_MODULE_SPECIFIERS.includes(specifier)
4851
+ NODE_BUILTIN_MODULE_SPECIFIER_SET.has(specifier)
4852
4852
  );
4853
4853
  };
4854
4854
 
4855
- const NODE_BUILTIN_MODULE_SPECIFIERS = [
4855
+ const NODE_BUILTIN_MODULE_SPECIFIER_SET = new Set([
4856
4856
  "assert",
4857
4857
  "assert/strict",
4858
4858
  "async_hooks",
4859
- "buffer_ieee754",
4860
4859
  "buffer",
4861
4860
  "child_process",
4862
4861
  "cluster",
4863
4862
  "console",
4864
4863
  "constants",
4865
4864
  "crypto",
4866
- "_debugger",
4867
4865
  "diagnostics_channel",
4868
4866
  "dgram",
4869
4867
  "dns",
4868
+ "dns/promises",
4870
4869
  "domain",
4871
4870
  "events",
4872
- "freelist",
4873
4871
  "fs",
4874
- "fsevents",
4875
4872
  "fs/promises",
4876
4873
  "_http_agent",
4877
4874
  "_http_client",
@@ -4883,21 +4880,21 @@ const NODE_BUILTIN_MODULE_SPECIFIERS = [
4883
4880
  "http2",
4884
4881
  "https",
4885
4882
  "inspector",
4886
- "_linklist",
4883
+ "inspector/promises",
4887
4884
  "module",
4888
4885
  "net",
4889
- "node-inspect/lib/_inspect",
4890
- "node-inspect/lib/internal/inspect_client",
4891
- "node-inspect/lib/internal/inspect_repl",
4892
4886
  "os",
4893
4887
  "path",
4888
+ "path/posix",
4889
+ "path/win32",
4894
4890
  "perf_hooks",
4895
4891
  "process",
4896
4892
  "punycode",
4897
4893
  "querystring",
4898
4894
  "readline",
4895
+ "readline/promises",
4899
4896
  "repl",
4900
- "smalloc",
4897
+ "sea",
4901
4898
  "sqlite",
4902
4899
  "_stream_duplex",
4903
4900
  "_stream_transform",
@@ -4906,10 +4903,15 @@ const NODE_BUILTIN_MODULE_SPECIFIERS = [
4906
4903
  "_stream_readable",
4907
4904
  "_stream_writable",
4908
4905
  "stream",
4906
+ "stream/consumers",
4909
4907
  "stream/promises",
4908
+ "stream/web",
4910
4909
  "string_decoder",
4911
4910
  "sys",
4911
+ "test",
4912
+ "test/reporters",
4912
4913
  "timers",
4914
+ "timers/promises",
4913
4915
  "_tls_common",
4914
4916
  "_tls_legacy",
4915
4917
  "_tls_wrap",
@@ -4918,20 +4920,15 @@ const NODE_BUILTIN_MODULE_SPECIFIERS = [
4918
4920
  "tty",
4919
4921
  "url",
4920
4922
  "util",
4921
- "v8/tools/arguments",
4922
- "v8/tools/codemap",
4923
- "v8/tools/consarray",
4924
- "v8/tools/csvparser",
4925
- "v8/tools/logreader",
4926
- "v8/tools/profile_view",
4927
- "v8/tools/splaytree",
4923
+ "util/types",
4928
4924
  "v8",
4929
4925
  "vm",
4926
+ "wasi",
4930
4927
  "worker_threads",
4931
4928
  "zlib",
4932
4929
  // global is special
4933
4930
  "global",
4934
- ];
4931
+ ]);
4935
4932
 
4936
4933
  /*
4937
4934
  * https://nodejs.org/api/esm.html#resolver-algorithm-specification
package/package.json CHANGED
@@ -1,23 +1,32 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "41.2.4",
3
+ "version": "41.2.5",
4
+ "type": "module",
4
5
  "description": "Tool to develop, test and build js projects",
5
6
  "repository": {
6
7
  "type": "git",
7
8
  "url": "https://github.com/jsenv/core"
8
9
  },
9
- "license": "MIT",
10
10
  "author": {
11
11
  "name": "dmail",
12
12
  "email": "dmaillard06@gmail.com"
13
13
  },
14
- "sideEffects": [
15
- "./src/kitchen/client/inline_content.js",
16
- "./dist/client/new_stylesheet/new_stylesheet.js",
17
- "./dist/client/inline_content/inline_content.js",
18
- "./dist/client/directory_listing/jsenv_core_node_modules.js"
14
+ "license": "MIT",
15
+ "workspaces": [
16
+ "./packages/backend/*",
17
+ "./packages/frontend/*",
18
+ "./packages/internal/*",
19
+ "./packages/private/*",
20
+ "./packages/private/oto/packages/*",
21
+ "./packages/related/*",
22
+ "./packages/related/cli/*",
23
+ "./packages/tooling/*"
19
24
  ],
20
- "type": "module",
25
+ "packageManager": "npm@11.6.2",
26
+ "engines": {
27
+ "node": ">=20.8.0"
28
+ },
29
+ "main": "./src/main.js",
21
30
  "imports": {},
22
31
  "exports": {
23
32
  ".": {
@@ -28,21 +37,10 @@
28
37
  },
29
38
  "./*": "./*"
30
39
  },
31
- "main": "./src/main.js",
32
40
  "files": [
33
41
  "/dist/",
34
42
  "/src/"
35
43
  ],
36
- "workspaces": [
37
- "./packages/backend/*",
38
- "./packages/frontend/*",
39
- "./packages/internal/*",
40
- "./packages/private/*",
41
- "./packages/private/oto/packages/*",
42
- "./packages/related/*",
43
- "./packages/related/cli/*",
44
- "./packages/tooling/*"
45
- ],
46
44
  "scripts": {
47
45
  "build": "node --conditions=dev:jsenv ./scripts/build/build.mjs",
48
46
  "build:file_size": "node ./scripts/build/build_file_size.mjs --log",
@@ -76,7 +74,7 @@
76
74
  "dependencies": {
77
75
  "@jsenv/ast": "6.8.0",
78
76
  "@jsenv/js-module-fallback": "1.4.30",
79
- "@jsenv/plugin-bundling": "2.10.10",
77
+ "@jsenv/plugin-bundling": "2.10.11",
80
78
  "@jsenv/plugin-minification": "1.7.3",
81
79
  "@jsenv/plugin-supervisor": "1.8.1",
82
80
  "@jsenv/plugin-transpilation": "1.5.72",
@@ -127,7 +125,7 @@
127
125
  "globals": "17.4.0",
128
126
  "open": "11.0.0",
129
127
  "playwright": "1.58.1",
130
- "preact": "11.0.0-beta.0",
128
+ "preact": "11.0.0-beta.1",
131
129
  "prettier": "3.8.1",
132
130
  "prettier-plugin-css-order": "git+https://github.com/dmail-fork/prettier-plugin-css-order.git",
133
131
  "prettier-plugin-embed": "0.5.1",
@@ -136,15 +134,17 @@
136
134
  "prettier-plugin-sql": "0.19.2",
137
135
  "strip-ansi": "7.2.0"
138
136
  },
139
- "packageManager": "npm@11.6.2",
140
- "engines": {
141
- "node": ">=20.8.0"
137
+ "publishConfig": {
138
+ "access": "public"
142
139
  },
140
+ "sideEffects": [
141
+ "./src/kitchen/client/inline_content.js",
142
+ "./dist/client/new_stylesheet/new_stylesheet.js",
143
+ "./dist/client/inline_content/inline_content.js",
144
+ "./dist/client/directory_listing/jsenv_core_node_modules.js"
145
+ ],
143
146
  "volta": {
144
147
  "node": "25.8.1",
145
148
  "npm": "11.6.2"
146
- },
147
- "publishConfig": {
148
- "access": "public"
149
149
  }
150
150
  }