@jsenv/cli 0.2.56 → 0.3.1

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 (48) hide show
  1. package/package.json +3 -3
  2. package/template-node-package/.vscode/launch.json +47 -0
  3. package/template-node-package/package.json +4 -4
  4. package/template-web/.jsenv/craft/main.js +1 -1
  5. package/template-web/.jsenv/shape/index.html +9 -2
  6. package/template-web/.jsenv/shape/main.js +1 -1
  7. package/template-web/.jsenv/shape/main.nomodule7js_module_fallback=.js +1 -1
  8. package/template-web/.vscode/launch.json +47 -0
  9. package/template-web/dist/index.html +9 -2
  10. package/template-web/dist/js/main.nomodule.js +1 -1
  11. package/template-web/package.json +7 -7
  12. package/template-web/src/main.js +1 -1
  13. package/template-web-components/.jsenv/craft/app/app_custom_element.js +1 -1
  14. package/template-web-components/.jsenv/shape/index.html +9 -2
  15. package/template-web-components/.jsenv/shape/main.js +1 -1
  16. package/template-web-components/.jsenv/shape/main.nomodule7js_module_fallback=.js +1 -1
  17. package/template-web-components/.vscode/launch.json +47 -0
  18. package/template-web-components/dist/index.html +9 -2
  19. package/template-web-components/dist/js/main.nomodule.js +1 -1
  20. package/template-web-components/package.json +7 -7
  21. package/template-web-components/src/app/app_custom_element.js +1 -1
  22. package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js +151 -154
  23. package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/hooks/dist/hooks.module.js +27 -23
  24. package/template-web-preact/.jsenv/craft/app/app.jsx +1 -1
  25. package/template-web-preact/.jsenv/shape/index.html +10 -2
  26. package/template-web-preact/.jsenv/shape/main.jsx +1 -1
  27. package/template-web-preact/.jsenv/shape/main.nomodule7js_module_fallback=.jsx +1 -1
  28. package/template-web-preact/.jsenv/shape/vendors.js +1 -1
  29. package/template-web-preact/.jsenv/shape/vendors.nomodule7js_module_fallback=.js +1 -1
  30. package/template-web-preact/.vscode/launch.json +47 -0
  31. package/template-web-preact/dist/index.html +10 -2
  32. package/template-web-preact/dist/js/main.nomodule.js +1 -1
  33. package/template-web-preact/dist/js/vendors.nomodule.js +1 -1
  34. package/template-web-preact/package.json +9 -9
  35. package/template-web-preact/src/app/app.jsx +1 -1
  36. package/template-web-react/.jsenv/craft/app/app.jsx +1 -1
  37. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js__compile_info__.json +2 -2
  38. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js__compile_info__.json +2 -2
  39. package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js__compile_info__.json +2 -2
  40. package/template-web-react/.jsenv/craft/cjs_to_esm/__compile_context__.json +1 -1
  41. package/template-web-react/.jsenv/shape/index.html +10 -2
  42. package/template-web-react/.jsenv/shape/main.jsx +1 -1
  43. package/template-web-react/.jsenv/shape/main.nomodule7js_module_fallback=.jsx +1 -1
  44. package/template-web-react/.vscode/launch.json +47 -0
  45. package/template-web-react/dist/index.html +10 -2
  46. package/template-web-react/dist/js/main.nomodule.js +1 -1
  47. package/template-web-react/package.json +8 -8
  48. package/template-web-react/src/app/app.jsx +1 -1
@@ -1 +1 @@
1
- System.register([],(function(e,t){"use strict";var n,o,r,c,i;return{setters:[],execute:function(){!function(){if("undefined"!=typeof document&&!("adoptedStyleSheets"in document)){var e="ShadyCSS"in window&&!ShadyCSS.nativeShadow,t=document.implementation.createHTMLDocument(""),n=new WeakMap,o="object"==typeof DOMException?Error:DOMException,r=Object.defineProperty,c=Array.prototype.forEach,i=/@import.+?;?$/gm,a=CSSStyleSheet.prototype;a.replace=function(){return Promise.reject(new o("Can't call replace on non-constructed CSSStyleSheets."))},a.replaceSync=function(){throw new o("Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't call replaceSync on non-constructed CSSStyleSheets.")};var s=new WeakMap,u=new WeakMap,l=new WeakMap,d=new WeakMap,p=x.prototype;p.replace=function(e){try{return this.replaceSync(e),Promise.resolve(this)}catch(e){return Promise.reject(e)}},p.replaceSync=function(e){if(T(this),"string"==typeof e){var t=this;s.get(t).textContent=function(e){var t=e.replace(i,"");return t!==e&&console.warn("@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418"),t.trim()}(e),d.set(t,[]),u.get(t).forEach((function(e){e.isConnected()&&M(t,_(t,e))}))}},r(p,"cssRules",{configurable:!0,enumerable:!0,get:function(){return T(this),s.get(this).sheet.cssRules}}),r(p,"media",{configurable:!0,enumerable:!0,get:function(){return T(this),s.get(this).sheet.media}}),["addRule","deleteRule","insertRule","removeRule"].forEach((function(e){p[e]=function(){var t=this;T(t);var n=arguments;d.get(t).push({method:e,args:n}),u.get(t).forEach((function(o){if(o.isConnected()){var r=_(t,o).sheet;r[e].apply(r,n)}}));var o=s.get(t).sheet;return o[e].apply(o,n)}})),r(x,Symbol.hasInstance,{configurable:!0,value:C});var f={childList:!0,subtree:!0},h=new WeakMap,y=new WeakMap,S=new WeakMap,m=new WeakMap;if(j.prototype={isConnected:function(){var e=y.get(this);return e instanceof Document?"loading"!==e.readyState:function(e){return"isConnected"in e?e.isConnected:document.contains(e)}(e.host)},connect:function(){var e=F(this);m.get(this).observe(e,f),S.get(this).length>0&&W(this),L(e,(function(e){R(e).connect()}))},disconnect:function(){m.get(this).disconnect()},update:function(e){var t=this,n=y.get(t)===document?"Document":"ShadowRoot";if(!Array.isArray(e))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+n+": Iterator getter is not callable.");if(!e.every(C))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+n+": Failed to convert value to 'CSSStyleSheet'");if(e.some(b))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+n+": Can't adopt non-constructed stylesheets");t.sheets=e;var o,r,c=S.get(t),i=(o=e).filter((function(e,t){return o.indexOf(e)===t}));(r=i,c.filter((function(e){return-1===r.indexOf(e)}))).forEach((function(e){var n;(n=_(e,t)).parentNode.removeChild(n),function(e,t){l.get(e).delete(t),u.set(e,u.get(e).filter((function(e){return e!==t})))}(e,t)})),S.set(t,i),t.isConnected()&&i.length>0&&W(t)}},window.CSSStyleSheet=x,k(Document),"ShadowRoot"in window){k(ShadowRoot);var g=Element.prototype,v=g.attachShadow;g.attachShadow=function(e){var t=v.call(this,e);return"closed"===e.mode&&n.set(this,t),t}}var w=R(document);w.isConnected()?w.connect():document.addEventListener("DOMContentLoaded",w.connect.bind(w))}function E(e){return e.shadowRoot||n.get(e)}function C(e){return"object"==typeof e&&(p.isPrototypeOf(e)||a.isPrototypeOf(e))}function b(e){return"object"==typeof e&&a.isPrototypeOf(e)}function _(e,t){return l.get(e).get(t)}function M(e,t){requestAnimationFrame((function(){t.textContent=s.get(e).textContent,d.get(e).forEach((function(e){return t.sheet[e.method].apply(t.sheet,e.args)}))}))}function T(e){if(!s.has(e))throw new TypeError("Illegal invocation")}function x(){var e=this,n=document.createElement("style");t.body.appendChild(n),s.set(e,n),u.set(e,[]),l.set(e,new WeakMap),d.set(e,[])}function R(e){var t=h.get(e);return t||(t=new j(e),h.set(e,t)),t}function k(e){r(e.prototype,"adoptedStyleSheets",{configurable:!0,enumerable:!0,get:function(){return R(this).sheets},set:function(e){R(this).update(e)}})}function L(e,t){for(var n=document.createNodeIterator(e,NodeFilter.SHOW_ELEMENT,(function(e){return E(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),null,!1),o=void 0;o=n.nextNode();)t(E(o))}function F(e){var t=y.get(e);return t instanceof Document?t.body:t}function W(e){var t=document.createDocumentFragment(),n=S.get(e),o=m.get(e),r=F(e);o.disconnect(),n.forEach((function(n){t.appendChild(_(n,e)||function(e,t){var n=document.createElement("style");return l.get(e).set(t,n),u.get(e).push(t),n}(n,e))})),r.insertBefore(t,null),o.observe(r,f),n.forEach((function(t){M(t,_(t,e))}))}function j(t){var n=this;n.sheets=[],y.set(n,t),S.set(n,[]),m.set(n,new MutationObserver((function(t,o){document?t.forEach((function(t){e||c.call(t.addedNodes,(function(e){e instanceof Element&&L(e,(function(e){R(e).connect()}))})),c.call(t.removedNodes,(function(t){t instanceof Element&&(function(e,t){return t instanceof HTMLStyleElement&&S.get(e).some((function(t){return _(t,e)}))}(n,t)&&W(n),e||L(t,(function(e){R(e).disconnect()})))}))})):o.disconnect()})))}}(),("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t},o=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),(r=new CSSStyleSheet).replaceSync(o.text),c=0,i=new URL(__v__("/other/jsenv_logo.svg"),t.meta.url),n=class extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,r],e.innerHTML='\n<h1>Hello world!</h1>\n<img class="logo" src='.concat(i,' alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch(\'/__open_in_editor__/jsenv_logo.svg\')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>'),(e=>{const t=e.querySelector("#counter_button"),n=e.querySelector("#counter_output");n.innerHTML=c,t.onclick=()=>{c++,n.innerHTML=c}})(e)}},customElements.define("my-app",n),document.querySelector("#root").innerHTML="<my-app></my-app>"}}}));
1
+ System.register([],(function(e,t){"use strict";var n,o,r,c,i;return{setters:[],execute:function(){!function(){if("undefined"!=typeof document&&!("adoptedStyleSheets"in document)){var e="ShadyCSS"in window&&!ShadyCSS.nativeShadow,t=document.implementation.createHTMLDocument(""),n=new WeakMap,o="object"==typeof DOMException?Error:DOMException,r=Object.defineProperty,c=Array.prototype.forEach,i=/@import.+?;?$/gm,a=CSSStyleSheet.prototype;a.replace=function(){return Promise.reject(new o("Can't call replace on non-constructed CSSStyleSheets."))},a.replaceSync=function(){throw new o("Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't call replaceSync on non-constructed CSSStyleSheets.")};var s=new WeakMap,u=new WeakMap,l=new WeakMap,d=new WeakMap,p=x.prototype;p.replace=function(e){try{return this.replaceSync(e),Promise.resolve(this)}catch(e){return Promise.reject(e)}},p.replaceSync=function(e){if(T(this),"string"==typeof e){var t=this;s.get(t).textContent=function(e){var t=e.replace(i,"");return t!==e&&console.warn("@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418"),t.trim()}(e),d.set(t,[]),u.get(t).forEach((function(e){e.isConnected()&&_(t,M(t,e))}))}},r(p,"cssRules",{configurable:!0,enumerable:!0,get:function(){return T(this),s.get(this).sheet.cssRules}}),r(p,"media",{configurable:!0,enumerable:!0,get:function(){return T(this),s.get(this).sheet.media}}),["addRule","deleteRule","insertRule","removeRule"].forEach((function(e){p[e]=function(){var t=this;T(t);var n=arguments;d.get(t).push({method:e,args:n}),u.get(t).forEach((function(o){if(o.isConnected()){var r=M(t,o).sheet;r[e].apply(r,n)}}));var o=s.get(t).sheet;return o[e].apply(o,n)}})),r(x,Symbol.hasInstance,{configurable:!0,value:C});var f={childList:!0,subtree:!0},h=new WeakMap,y=new WeakMap,S=new WeakMap,m=new WeakMap;if(j.prototype={isConnected:function(){var e=y.get(this);return e instanceof Document?"loading"!==e.readyState:function(e){return"isConnected"in e?e.isConnected:document.contains(e)}(e.host)},connect:function(){var e=F(this);m.get(this).observe(e,f),S.get(this).length>0&&W(this),L(e,(function(e){R(e).connect()}))},disconnect:function(){m.get(this).disconnect()},update:function(e){var t=this,n=y.get(t)===document?"Document":"ShadowRoot";if(!Array.isArray(e))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+n+": Iterator getter is not callable.");if(!e.every(C))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+n+": Failed to convert value to 'CSSStyleSheet'");if(e.some(b))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+n+": Can't adopt non-constructed stylesheets");t.sheets=e;var o,r,c=S.get(t),i=(o=e).filter((function(e,t){return o.indexOf(e)===t}));(r=i,c.filter((function(e){return-1===r.indexOf(e)}))).forEach((function(e){var n;(n=M(e,t)).parentNode.removeChild(n),function(e,t){l.get(e).delete(t),u.set(e,u.get(e).filter((function(e){return e!==t})))}(e,t)})),S.set(t,i),t.isConnected()&&i.length>0&&W(t)}},window.CSSStyleSheet=x,k(Document),"ShadowRoot"in window){k(ShadowRoot);var g=Element.prototype,v=g.attachShadow;g.attachShadow=function(e){var t=v.call(this,e);return"closed"===e.mode&&n.set(this,t),t}}var w=R(document);w.isConnected()?w.connect():document.addEventListener("DOMContentLoaded",w.connect.bind(w))}function E(e){return e.shadowRoot||n.get(e)}function C(e){return"object"==typeof e&&(p.isPrototypeOf(e)||a.isPrototypeOf(e))}function b(e){return"object"==typeof e&&a.isPrototypeOf(e)}function M(e,t){return l.get(e).get(t)}function _(e,t){requestAnimationFrame((function(){t.textContent=s.get(e).textContent,d.get(e).forEach((function(e){return t.sheet[e.method].apply(t.sheet,e.args)}))}))}function T(e){if(!s.has(e))throw new TypeError("Illegal invocation")}function x(){var e=this,n=document.createElement("style");t.body.appendChild(n),s.set(e,n),u.set(e,[]),l.set(e,new WeakMap),d.set(e,[])}function R(e){var t=h.get(e);return t||(t=new j(e),h.set(e,t)),t}function k(e){r(e.prototype,"adoptedStyleSheets",{configurable:!0,enumerable:!0,get:function(){return R(this).sheets},set:function(e){R(this).update(e)}})}function L(e,t){for(var n=document.createNodeIterator(e,NodeFilter.SHOW_ELEMENT,(function(e){return E(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),null,!1),o=void 0;o=n.nextNode();)t(E(o))}function F(e){var t=y.get(e);return t instanceof Document?t.body:t}function W(e){var t=document.createDocumentFragment(),n=S.get(e),o=m.get(e),r=F(e);o.disconnect(),n.forEach((function(n){t.appendChild(M(n,e)||function(e,t){var n=document.createElement("style");return l.get(e).set(t,n),u.get(e).push(t),n}(n,e))})),r.insertBefore(t,null),o.observe(r,f),n.forEach((function(t){_(t,M(t,e))}))}function j(t){var n=this;n.sheets=[],y.set(n,t),S.set(n,[]),m.set(n,new MutationObserver((function(t,o){document?t.forEach((function(t){e||c.call(t.addedNodes,(function(e){e instanceof Element&&L(e,(function(e){R(e).connect()}))})),c.call(t.removedNodes,(function(t){t instanceof Element&&(function(e,t){return t instanceof HTMLStyleElement&&S.get(e).some((function(t){return M(t,e)}))}(n,t)&&W(n),e||L(t,(function(e){R(e).disconnect()})))}))})):o.disconnect()})))}}(),("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t},o=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),(r=new CSSStyleSheet).replaceSync(o.text),c=0,i=new URL(__v__("/other/jsenv_logo.svg"),t.meta.url),n=class extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,r],e.innerHTML='\n<h1>Hello world!</h1>\n<img class="logo" src='.concat(i,' alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch(\'/.internal/open_file/jsenv_logo.svg\')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>'),(e=>{const t=e.querySelector("#counter_button"),n=e.querySelector("#counter_output");n.innerHTML=c,t.onclick=()=>{c++,n.innerHTML=c}})(e)}},customElements.define("my-app",n),document.querySelector("#root").innerHTML="<my-app></my-app>"}}}));
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "start": "npm run dev -- --open",
8
- "dev": "node ./scripts/dev.mjs",
8
+ "dev": "node --watch ./scripts/dev.mjs",
9
9
  "test": "node ./scripts/test.mjs",
10
10
  "test:coverage": "npm run test -- --coverage",
11
11
  "build": "node ./scripts/build.mjs",
@@ -17,12 +17,12 @@
17
17
  "devDependencies": {
18
18
  "@babel/plugin-syntax-import-attributes": "7.26.0",
19
19
  "@jsenv/custom-elements-redefine": "0.0.1",
20
- "@jsenv/assert": "4.4.2",
21
- "@jsenv/core": "39.14.3",
22
- "@jsenv/plugin-bundling": "2.7.25",
23
- "@jsenv/plugin-minification": "1.5.13",
24
- "@jsenv/eslint-config-relax": "1.3.13",
25
- "@jsenv/test": "3.5.45",
20
+ "@jsenv/assert": "4.4.3",
21
+ "@jsenv/core": "40.0.0",
22
+ "@jsenv/plugin-bundling": "2.8.0",
23
+ "@jsenv/plugin-minification": "1.6.0",
24
+ "@jsenv/eslint-config-relax": "1.4.0",
25
+ "@jsenv/test": "3.6.0",
26
26
  "eslint": "9.18.0",
27
27
  "open": "10.1.0",
28
28
  "@playwright/browser-chromium": "1.49.1",
@@ -21,7 +21,7 @@ class AppCustomElement extends HTMLElement {
21
21
  </p>
22
22
  </p>
23
23
  <p>
24
- Edit <a href="javascript:window.fetch('/__open_in_editor__/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.
24
+ Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.
25
25
  </p>
26
26
  <a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`;
27
27
  initCounter(shadow);
@@ -1,7 +1,7 @@
1
1
  var n,
2
2
  l,
3
- u,
4
3
  t,
4
+ u,
5
5
  i,
6
6
  r,
7
7
  o,
@@ -16,25 +16,25 @@ var n,
16
16
  y = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,
17
17
  d = Array.isArray;
18
18
  function w(n, l) {
19
- for (var u in l) n[u] = l[u];
19
+ for (var t in l) n[t] = l[t];
20
20
  return n;
21
21
  }
22
- function _(n) {
22
+ function g(n) {
23
23
  n && n.parentNode && n.parentNode.removeChild(n);
24
24
  }
25
- function g(l, u, t) {
25
+ function _(l, t, u) {
26
26
  var i,
27
27
  r,
28
28
  o,
29
29
  e = {};
30
- for (o in u) "key" == o ? i = u[o] : "ref" == o ? r = u[o] : e[o] = u[o];
31
- if (arguments.length > 2 && (e.children = arguments.length > 3 ? n.call(arguments, 2) : t), "function" == typeof l && null != l.defaultProps) for (o in l.defaultProps) void 0 === e[o] && (e[o] = l.defaultProps[o]);
30
+ for (o in t) "key" == o ? i = t[o] : "ref" == o ? r = t[o] : e[o] = t[o];
31
+ if (arguments.length > 2 && (e.children = arguments.length > 3 ? n.call(arguments, 2) : u), "function" == typeof l && null != l.defaultProps) for (o in l.defaultProps) void 0 === e[o] && (e[o] = l.defaultProps[o]);
32
32
  return m(l, e, i, r, null);
33
33
  }
34
- function m(n, t, i, r, o) {
34
+ function m(n, u, i, r, o) {
35
35
  var e = {
36
36
  type: n,
37
- props: t,
37
+ props: u,
38
38
  key: i,
39
39
  ref: r,
40
40
  __k: null,
@@ -43,7 +43,7 @@ function m(n, t, i, r, o) {
43
43
  __e: null,
44
44
  __c: null,
45
45
  constructor: void 0,
46
- __v: null == o ? ++u : o,
46
+ __v: null == o ? ++t : o,
47
47
  __i: -1,
48
48
  __u: 0
49
49
  };
@@ -60,63 +60,62 @@ function k(n) {
60
60
  function x(n, l) {
61
61
  this.props = n, this.context = l;
62
62
  }
63
- function C(n, l) {
64
- if (null == l) return n.__ ? C(n.__, n.__i + 1) : null;
65
- for (var u; l < n.__k.length; l++) if (null != (u = n.__k[l]) && null != u.__e) return u.__e;
66
- return "function" == typeof n.type ? C(n) : null;
63
+ function S(n, l) {
64
+ if (null == l) return n.__ ? S(n.__, n.__i + 1) : null;
65
+ for (var t; l < n.__k.length; l++) if (null != (t = n.__k[l]) && null != t.__e) return t.__e;
66
+ return "function" == typeof n.type ? S(n) : null;
67
67
  }
68
- function S(n) {
69
- var l, u;
68
+ function C(n) {
69
+ var l, t;
70
70
  if (null != (n = n.__) && null != n.__c) {
71
- for (n.__e = n.__c.base = null, l = 0; l < n.__k.length; l++) if (null != (u = n.__k[l]) && null != u.__e) {
72
- n.__e = n.__c.base = u.__e;
71
+ for (n.__e = n.__c.base = null, l = 0; l < n.__k.length; l++) if (null != (t = n.__k[l]) && null != t.__e) {
72
+ n.__e = n.__c.base = t.__e;
73
73
  break;
74
74
  }
75
- return S(n);
75
+ return C(n);
76
76
  }
77
77
  }
78
78
  function M(n) {
79
- (!n.__d && (n.__d = !0) && i.push(n) && !P.__r++ || r !== l.debounceRendering) && ((r = l.debounceRendering) || o)(P);
79
+ (!n.__d && (n.__d = !0) && i.push(n) && !$.__r++ || r !== l.debounceRendering) && ((r = l.debounceRendering) || o)($);
80
80
  }
81
- function P() {
82
- var n, u, t, r, o, f, c, s;
83
- for (i.sort(e); n = i.shift();) n.__d && (u = i.length, r = void 0, f = (o = (t = n).__v).__e, c = [], s = [], t.__P && ((r = w({}, o)).__v = o.__v + 1, l.vnode && l.vnode(r), j(t.__P, r, o, t.__n, t.__P.namespaceURI, 32 & o.__u ? [f] : null, c, null == f ? C(o) : f, !!(32 & o.__u), s), r.__v = o.__v, r.__.__k[r.__i] = r, z(c, r, s), r.__e != f && S(r)), i.length > u && i.sort(e));
84
- P.__r = 0;
81
+ function $() {
82
+ for (var n, t, u, r, o, f, c, s = 1; i.length;) i.length > s && i.sort(e), n = i.shift(), s = i.length, n.__d && (u = void 0, o = (r = (t = n).__v).__e, f = [], c = [], t.__P && ((u = w({}, r)).__v = r.__v + 1, l.vnode && l.vnode(u), O(t.__P, u, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [o] : null, f, null == o ? S(r) : o, !!(32 & r.__u), c), u.__v = r.__v, u.__.__k[u.__i] = u, z(f, u, c), u.__e != o && C(u)));
83
+ $.__r = 0;
85
84
  }
86
- function $(n, l, u, t, i, r, o, e, f, c, s) {
85
+ function I(n, l, t, u, i, r, o, e, f, c, s) {
87
86
  var a,
88
87
  h,
89
88
  y,
90
89
  d,
91
90
  w,
92
- _,
93
- g = t && t.__k || v,
91
+ g,
92
+ _ = u && u.__k || v,
94
93
  m = l.length;
95
- for (f = I(u, l, g, f, m), a = 0; a < m; a++) null != (y = u.__k[a]) && (h = -1 === y.__i ? p : g[y.__i] || p, y.__i = a, _ = j(n, y, h, i, r, o, e, f, c, s), d = y.__e, y.ref && h.ref != y.ref && (h.ref && V(h.ref, null, y), s.push(y.ref, y.__c || d, y)), null == w && null != d && (w = d), 4 & y.__u || h.__k === y.__k ? f = A(y, f, n) : "function" == typeof y.type && void 0 !== _ ? f = _ : d && (f = d.nextSibling), y.__u &= -7);
96
- return u.__e = w, f;
94
+ for (f = P(t, l, _, f, m), a = 0; a < m; a++) null != (y = t.__k[a]) && (h = -1 === y.__i ? p : _[y.__i] || p, y.__i = a, g = O(n, y, h, i, r, o, e, f, c, s), d = y.__e, y.ref && h.ref != y.ref && (h.ref && q(h.ref, null, y), s.push(y.ref, y.__c || d, y)), null == w && null != d && (w = d), 4 & y.__u || h.__k === y.__k ? f = A(y, f, n) : "function" == typeof y.type && void 0 !== g ? f = g : d && (f = d.nextSibling), y.__u &= -7);
95
+ return t.__e = w, f;
97
96
  }
98
- function I(n, l, u, t, i) {
97
+ function P(n, l, t, u, i) {
99
98
  var r,
100
99
  o,
101
100
  e,
102
101
  f,
103
102
  c,
104
- s = u.length,
103
+ s = t.length,
105
104
  a = s,
106
105
  h = 0;
107
106
  for (n.__k = new Array(i), r = 0; r < i; r++) null != (o = l[r]) && "boolean" != typeof o && "function" != typeof o ? (f = r + h, (o = n.__k[r] = "string" == typeof o || "number" == typeof o || "bigint" == typeof o || o.constructor == String ? m(null, o, null, null, null) : d(o) ? m(k, {
108
107
  children: o
109
- }, null, null, null) : void 0 === o.constructor && o.__b > 0 ? m(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = n, o.__b = n.__b + 1, e = null, -1 !== (c = o.__i = L(o, u, f, a)) && (a--, (e = u[c]) && (e.__u |= 2)), null == e || null === e.__v ? (-1 == c && h--, "function" != typeof o.type && (o.__u |= 4)) : c != f && (c == f - 1 ? h-- : c == f + 1 ? h++ : (c > f ? h-- : h++, o.__u |= 4))) : n.__k[r] = null;
110
- if (a) for (r = 0; r < s; r++) null != (e = u[r]) && 0 == (2 & e.__u) && (e.__e == t && (t = C(e)), q(e, e));
111
- return t;
108
+ }, null, null, null) : void 0 === o.constructor && o.__b > 0 ? m(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = n, o.__b = n.__b + 1, e = null, -1 !== (c = o.__i = L(o, t, f, a)) && (a--, (e = t[c]) && (e.__u |= 2)), null == e || null === e.__v ? (-1 == c && (i > s ? h-- : i < s && h++), "function" != typeof o.type && (o.__u |= 4)) : c != f && (c == f - 1 ? h-- : c == f + 1 ? h++ : (c > f ? h-- : h++, o.__u |= 4))) : n.__k[r] = null;
109
+ if (a) for (r = 0; r < s; r++) null != (e = t[r]) && 0 == (2 & e.__u) && (e.__e == u && (u = S(e)), B(e, e));
110
+ return u;
112
111
  }
113
- function A(n, l, u) {
114
- var t, i;
112
+ function A(n, l, t) {
113
+ var u, i;
115
114
  if ("function" == typeof n.type) {
116
- for (t = n.__k, i = 0; t && i < t.length; i++) t[i] && (t[i].__ = n, l = A(t[i], l, u));
115
+ for (u = n.__k, i = 0; u && i < u.length; i++) u[i] && (u[i].__ = n, l = A(u[i], l, t));
117
116
  return l;
118
117
  }
119
- n.__e != l && (l && n.type && !u.contains(l) && (l = C(n)), u.insertBefore(n.__e, l || null), l = n.__e);
118
+ n.__e != l && (l && n.type && !t.contains(l) && (l = S(n)), t.insertBefore(n.__e, l || null), l = n.__e);
120
119
  do {
121
120
  l = l && l.nextSibling;
122
121
  } while (null != l && 8 == l.nodeType);
@@ -127,14 +126,14 @@ function H(n, l) {
127
126
  H(n, l);
128
127
  }) : l.push(n)), l;
129
128
  }
130
- function L(n, l, u, t) {
129
+ function L(n, l, t, u) {
131
130
  var i,
132
131
  r,
133
132
  o = n.key,
134
133
  e = n.type,
135
- f = l[u];
136
- if (null === f || f && o == f.key && e === f.type && 0 == (2 & f.__u)) return u;
137
- if (t > (null != f && 0 == (2 & f.__u) ? 1 : 0)) for (i = u - 1, r = u + 1; i >= 0 || r < l.length;) {
134
+ f = l[t];
135
+ if (null === f && null == n.key || f && o == f.key && e === f.type && 0 == (2 & f.__u)) return t;
136
+ if (u > (null != f && 0 == (2 & f.__u) ? 1 : 0)) for (i = t - 1, r = t + 1; i >= 0 || r < l.length;) {
138
137
  if (i >= 0) {
139
138
  if ((f = l[i]) && 0 == (2 & f.__u) && o == f.key && e === f.type) return i;
140
139
  i--;
@@ -146,215 +145,213 @@ function L(n, l, u, t) {
146
145
  }
147
146
  return -1;
148
147
  }
149
- function T(n, l, u) {
150
- "-" == l[0] ? n.setProperty(l, null == u ? "" : u) : n[l] = null == u ? "" : "number" != typeof u || y.test(l) ? u : u + "px";
148
+ function T(n, l, t) {
149
+ "-" == l[0] ? n.setProperty(l, null == t ? "" : t) : n[l] = null == t ? "" : "number" != typeof t || y.test(l) ? t : t + "px";
151
150
  }
152
- function F(n, l, u, t, i) {
151
+ function j(n, l, t, u, i) {
153
152
  var r;
154
153
  n: if ("style" == l) {
155
- if ("string" == typeof u) n.style.cssText = u;else {
156
- if ("string" == typeof t && (n.style.cssText = t = ""), t) for (l in t) u && l in u || T(n.style, l, "");
157
- if (u) for (l in u) t && u[l] === t[l] || T(n.style, l, u[l]);
154
+ if ("string" == typeof t) n.style.cssText = t;else {
155
+ if ("string" == typeof u && (n.style.cssText = u = ""), u) for (l in u) t && l in t || T(n.style, l, "");
156
+ if (t) for (l in t) u && t[l] === u[l] || T(n.style, l, t[l]);
158
157
  }
159
- } else if ("o" == l[0] && "n" == l[1]) r = l != (l = l.replace(f, "$1")), l = l.toLowerCase() in n || "onFocusOut" == l || "onFocusIn" == l ? l.toLowerCase().slice(2) : l.slice(2), n.l || (n.l = {}), n.l[l + r] = u, u ? t ? u.u = t.u : (u.u = c, n.addEventListener(l, r ? a : s, r)) : n.removeEventListener(l, r ? a : s, r);else {
158
+ } else if ("o" == l[0] && "n" == l[1]) r = l != (l = l.replace(f, "$1")), l = l.toLowerCase() in n || "onFocusOut" == l || "onFocusIn" == l ? l.toLowerCase().slice(2) : l.slice(2), n.l || (n.l = {}), n.l[l + r] = t, t ? u ? t.t = u.t : (t.t = c, n.addEventListener(l, r ? a : s, r)) : n.removeEventListener(l, r ? a : s, r);else {
160
159
  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 {
161
- n[l] = null == u ? "" : u;
160
+ n[l] = null == t ? "" : t;
162
161
  break n;
163
162
  } catch (n) {}
164
- "function" == typeof u || (null == u || !1 === u && "-" != l[4] ? n.removeAttribute(l) : n.setAttribute(l, "popover" == l && 1 == u ? "" : u));
163
+ "function" == typeof t || (null == t || !1 === t && "-" != l[4] ? n.removeAttribute(l) : n.setAttribute(l, "popover" == l && 1 == t ? "" : t));
165
164
  }
166
165
  }
167
- function O(n) {
168
- return function (u) {
166
+ function F(n) {
167
+ return function (t) {
169
168
  if (this.l) {
170
- var t = this.l[u.type + n];
171
- if (null == u.t) u.t = c++;else if (u.t < t.u) return;
172
- return t(l.event ? l.event(u) : u);
169
+ var u = this.l[t.type + n];
170
+ if (null == t.u) t.u = c++;else if (t.u < u.t) return;
171
+ return u(l.event ? l.event(t) : t);
173
172
  }
174
173
  };
175
174
  }
176
- function j(n, u, t, i, r, o, e, f, c, s) {
175
+ function O(n, t, u, i, r, o, e, f, c, s) {
177
176
  var a,
178
177
  h,
179
178
  p,
180
179
  v,
181
180
  y,
182
- g,
181
+ _,
183
182
  m,
184
183
  b,
185
- C,
186
184
  S,
185
+ C,
187
186
  M,
187
+ $,
188
188
  P,
189
- I,
190
189
  A,
191
190
  H,
192
191
  L,
193
192
  T,
194
- F = u.type;
195
- if (void 0 !== u.constructor) return null;
196
- 128 & t.__u && (c = !!(32 & t.__u), o = [f = u.__e = t.__e]), (a = l.__b) && a(u);
197
- n: if ("function" == typeof F) try {
198
- if (b = u.props, C = "prototype" in F && F.prototype.render, S = (a = F.contextType) && i[a.__c], M = a ? S ? S.props.value : a.__ : i, t.__c ? m = (h = u.__c = t.__c).__ = h.__E : (C ? u.__c = h = new F(b, M) : (u.__c = h = new x(b, M), h.constructor = F, h.render = B), S && S.sub(h), h.props = b, h.state || (h.state = {}), h.context = M, h.__n = i, p = h.__d = !0, h.__h = [], h._sb = []), C && null == h.__s && (h.__s = h.state), C && null != F.getDerivedStateFromProps && (h.__s == h.state && (h.__s = w({}, h.__s)), w(h.__s, F.getDerivedStateFromProps(b, h.__s))), v = h.props, y = h.state, h.__v = u, p) C && null == F.getDerivedStateFromProps && null != h.componentWillMount && h.componentWillMount(), C && null != h.componentDidMount && h.__h.push(h.componentDidMount);else {
199
- if (C && null == F.getDerivedStateFromProps && b !== v && null != h.componentWillReceiveProps && h.componentWillReceiveProps(b, M), !h.__e && (null != h.shouldComponentUpdate && !1 === h.shouldComponentUpdate(b, h.__s, M) || u.__v == t.__v)) {
200
- for (u.__v != t.__v && (h.props = b, h.state = h.__s, h.__d = !1), u.__e = t.__e, u.__k = t.__k, u.__k.some(function (n) {
201
- n && (n.__ = u);
202
- }), P = 0; P < h._sb.length; P++) h.__h.push(h._sb[P]);
193
+ j = t.type;
194
+ if (void 0 !== t.constructor) return null;
195
+ 128 & u.__u && (c = !!(32 & u.__u), o = [f = t.__e = u.__e]), (a = l.__b) && a(t);
196
+ n: if ("function" == typeof j) try {
197
+ if (b = t.props, S = "prototype" in j && j.prototype.render, C = (a = j.contextType) && i[a.__c], M = a ? C ? C.props.value : a.__ : i, u.__c ? m = (h = t.__c = u.__c).__ = h.__E : (S ? t.__c = h = new j(b, M) : (t.__c = h = new x(b, M), h.constructor = j, h.render = D), C && C.sub(h), h.props = b, h.state || (h.state = {}), h.context = M, h.__n = i, p = h.__d = !0, h.__h = [], h._sb = []), S && null == h.__s && (h.__s = h.state), S && null != j.getDerivedStateFromProps && (h.__s == h.state && (h.__s = w({}, h.__s)), w(h.__s, j.getDerivedStateFromProps(b, h.__s))), v = h.props, y = h.state, h.__v = t, p) S && null == j.getDerivedStateFromProps && null != h.componentWillMount && h.componentWillMount(), S && null != h.componentDidMount && h.__h.push(h.componentDidMount);else {
198
+ if (S && null == j.getDerivedStateFromProps && b !== v && null != h.componentWillReceiveProps && h.componentWillReceiveProps(b, M), !h.__e && (null != h.shouldComponentUpdate && !1 === h.shouldComponentUpdate(b, h.__s, M) || t.__v == u.__v)) {
199
+ for (t.__v != u.__v && (h.props = b, h.state = h.__s, h.__d = !1), t.__e = u.__e, t.__k = u.__k, t.__k.some(function (n) {
200
+ n && (n.__ = t);
201
+ }), $ = 0; $ < h._sb.length; $++) h.__h.push(h._sb[$]);
203
202
  h._sb = [], h.__h.length && e.push(h);
204
203
  break n;
205
204
  }
206
- null != h.componentWillUpdate && h.componentWillUpdate(b, h.__s, M), C && null != h.componentDidUpdate && h.__h.push(function () {
207
- h.componentDidUpdate(v, y, g);
205
+ null != h.componentWillUpdate && h.componentWillUpdate(b, h.__s, M), S && null != h.componentDidUpdate && h.__h.push(function () {
206
+ h.componentDidUpdate(v, y, _);
208
207
  });
209
208
  }
210
- if (h.context = M, h.props = b, h.__P = n, h.__e = !1, I = l.__r, A = 0, C) {
211
- for (h.state = h.__s, h.__d = !1, I && I(u), a = h.render(h.props, h.state, h.context), H = 0; H < h._sb.length; H++) h.__h.push(h._sb[H]);
209
+ if (h.context = M, h.props = b, h.__P = n, h.__e = !1, P = l.__r, A = 0, S) {
210
+ for (h.state = h.__s, h.__d = !1, P && P(t), a = h.render(h.props, h.state, h.context), H = 0; H < h._sb.length; H++) h.__h.push(h._sb[H]);
212
211
  h._sb = [];
213
212
  } else do {
214
- h.__d = !1, I && I(u), a = h.render(h.props, h.state, h.context), h.state = h.__s;
213
+ h.__d = !1, P && P(t), a = h.render(h.props, h.state, h.context), h.state = h.__s;
215
214
  } while (h.__d && ++A < 25);
216
- h.state = h.__s, null != h.getChildContext && (i = w(w({}, i), h.getChildContext())), C && !p && null != h.getSnapshotBeforeUpdate && (g = h.getSnapshotBeforeUpdate(v, y)), f = $(n, d(L = null != a && a.type === k && null == a.key ? a.props.children : a) ? L : [L], u, t, i, r, o, e, f, c, s), h.base = u.__e, u.__u &= -161, h.__h.length && e.push(h), m && (h.__E = h.__ = null);
215
+ h.state = h.__s, null != h.getChildContext && (i = w(w({}, i), h.getChildContext())), S && !p && null != h.getSnapshotBeforeUpdate && (_ = h.getSnapshotBeforeUpdate(v, y)), L = a, null != a && a.type === k && null == a.key && (L = N(a.props.children)), f = I(n, d(L) ? L : [L], t, u, i, r, o, e, f, c, s), h.base = t.__e, t.__u &= -161, h.__h.length && e.push(h), m && (h.__E = h.__ = null);
217
216
  } catch (n) {
218
- if (u.__v = null, c || null != o) {
217
+ if (t.__v = null, c || null != o) {
219
218
  if (n.then) {
220
- for (u.__u |= c ? 160 : 128; f && 8 == f.nodeType && f.nextSibling;) f = f.nextSibling;
221
- o[o.indexOf(f)] = null, u.__e = f;
222
- } else for (T = o.length; T--;) _(o[T]);
223
- } else u.__e = t.__e, u.__k = t.__k;
224
- l.__e(n, u, t);
225
- } else null == o && u.__v == t.__v ? (u.__k = t.__k, u.__e = t.__e) : f = u.__e = N(t.__e, u, t, i, r, o, e, c, s);
226
- return (a = l.diffed) && a(u), 128 & u.__u ? void 0 : f;
219
+ for (t.__u |= c ? 160 : 128; f && 8 == f.nodeType && f.nextSibling;) f = f.nextSibling;
220
+ o[o.indexOf(f)] = null, t.__e = f;
221
+ } else for (T = o.length; T--;) g(o[T]);
222
+ } else t.__e = u.__e, t.__k = u.__k;
223
+ l.__e(n, t, u);
224
+ } else null == o && t.__v == u.__v ? (t.__k = u.__k, t.__e = u.__e) : f = t.__e = V(u.__e, t, u, i, r, o, e, c, s);
225
+ return (a = l.diffed) && a(t), 128 & t.__u ? void 0 : f;
227
226
  }
228
- function z(n, u, t) {
229
- for (var i = 0; i < t.length; i++) V(t[i], t[++i], t[++i]);
230
- l.__c && l.__c(u, n), n.some(function (u) {
227
+ function z(n, t, u) {
228
+ for (var i = 0; i < u.length; i++) q(u[i], u[++i], u[++i]);
229
+ l.__c && l.__c(t, n), n.some(function (t) {
231
230
  try {
232
- n = u.__h, u.__h = [], n.some(function (n) {
233
- n.call(u);
231
+ n = t.__h, t.__h = [], n.some(function (n) {
232
+ n.call(t);
234
233
  });
235
234
  } catch (n) {
236
- l.__e(n, u.__v);
235
+ l.__e(n, t.__v);
237
236
  }
238
237
  });
239
238
  }
240
- function N(u, t, i, r, o, e, f, c, s) {
239
+ function N(n) {
240
+ return "object" != typeof n || null == n ? n : d(n) ? n.map(N) : w({}, n);
241
+ }
242
+ function V(t, u, i, r, o, e, f, c, s) {
241
243
  var a,
242
244
  h,
243
245
  v,
244
246
  y,
245
247
  w,
246
- g,
248
+ _,
247
249
  m,
248
250
  b = i.props,
249
- k = t.props,
250
- x = t.type;
251
+ k = u.props,
252
+ x = u.type;
251
253
  if ("svg" == x ? o = "http://www.w3.org/2000/svg" : "math" == x ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), null != e) for (a = 0; a < e.length; a++) if ((w = e[a]) && "setAttribute" in w == !!x && (x ? w.localName == x : 3 == w.nodeType)) {
252
- u = w, e[a] = null;
254
+ t = w, e[a] = null;
253
255
  break;
254
256
  }
255
- if (null == u) {
257
+ if (null == t) {
256
258
  if (null == x) return document.createTextNode(k);
257
- u = document.createElementNS(o, x, k.is && k), c && (l.__m && l.__m(t, e), c = !1), e = null;
259
+ t = document.createElementNS(o, x, k.is && k), c && (l.__m && l.__m(u, e), c = !1), e = null;
258
260
  }
259
- if (null === x) b === k || c && u.data === k || (u.data = k);else {
260
- if (e = e && n.call(u.childNodes), b = i.props || p, !c && null != e) for (b = {}, a = 0; a < u.attributes.length; a++) b[(w = u.attributes[a]).name] = w.value;
261
+ if (null === x) b === k || c && t.data === k || (t.data = k);else {
262
+ if (e = e && n.call(t.childNodes), b = i.props || p, !c && null != e) for (b = {}, a = 0; a < t.attributes.length; a++) b[(w = t.attributes[a]).name] = w.value;
261
263
  for (a in b) if (w = b[a], "children" == a) ;else if ("dangerouslySetInnerHTML" == a) v = w;else if (!(a in k)) {
262
264
  if ("value" == a && "defaultValue" in k || "checked" == a && "defaultChecked" in k) continue;
263
- F(u, a, null, w, o);
265
+ j(t, a, null, w, o);
264
266
  }
265
- for (a in k) w = k[a], "children" == a ? y = w : "dangerouslySetInnerHTML" == a ? h = w : "value" == a ? g = w : "checked" == a ? m = w : c && "function" != typeof w || b[a] === w || F(u, a, w, b[a], o);
266
- if (h) c || v && (h.__html === v.__html || h.__html === u.innerHTML) || (u.innerHTML = h.__html), t.__k = [];else if (v && (u.innerHTML = ""), $(u, d(y) ? y : [y], t, i, r, "foreignObject" == x ? "http://www.w3.org/1999/xhtml" : o, e, f, e ? e[0] : i.__k && C(i, 0), c, s), null != e) for (a = e.length; a--;) _(e[a]);
267
- c || (a = "value", "progress" == x && null == g ? u.removeAttribute("value") : void 0 !== g && (g !== u[a] || "progress" == x && !g || "option" == x && g !== b[a]) && F(u, a, g, b[a], o), a = "checked", void 0 !== m && m !== u[a] && F(u, a, m, b[a], o));
267
+ for (a in k) w = k[a], "children" == a ? y = w : "dangerouslySetInnerHTML" == a ? h = w : "value" == a ? _ = w : "checked" == a ? m = w : c && "function" != typeof w || b[a] === w || j(t, a, w, b[a], o);
268
+ if (h) c || v && (h.__html === v.__html || h.__html === t.innerHTML) || (t.innerHTML = h.__html), u.__k = [];else if (v && (t.innerHTML = ""), I("template" === u.type ? t.content : t, d(y) ? y : [y], u, i, r, "foreignObject" == x ? "http://www.w3.org/1999/xhtml" : o, e, f, e ? e[0] : i.__k && S(i, 0), c, s), null != e) for (a = e.length; a--;) g(e[a]);
269
+ c || (a = "value", "progress" == x && null == _ ? t.removeAttribute("value") : void 0 !== _ && (_ !== t[a] || "progress" == x && !_ || "option" == x && _ !== b[a]) && j(t, a, _, b[a], o), a = "checked", void 0 !== m && m !== t[a] && j(t, a, m, b[a], o));
268
270
  }
269
- return u;
271
+ return t;
270
272
  }
271
- function V(n, u, t) {
273
+ function q(n, t, u) {
272
274
  try {
273
275
  if ("function" == typeof n) {
274
276
  var i = "function" == typeof n.__u;
275
- i && n.__u(), i && null == u || (n.__u = n(u));
276
- } else n.current = u;
277
+ i && n.__u(), i && null == t || (n.__u = n(t));
278
+ } else n.current = t;
277
279
  } catch (n) {
278
- l.__e(n, t);
280
+ l.__e(n, u);
279
281
  }
280
282
  }
281
- function q(n, u, t) {
283
+ function B(n, t, u) {
282
284
  var i, r;
283
- if (l.unmount && l.unmount(n), (i = n.ref) && (i.current && i.current !== n.__e || V(i, null, u)), null != (i = n.__c)) {
285
+ if (l.unmount && l.unmount(n), (i = n.ref) && (i.current && i.current !== n.__e || q(i, null, t)), null != (i = n.__c)) {
284
286
  if (i.componentWillUnmount) try {
285
287
  i.componentWillUnmount();
286
288
  } catch (n) {
287
- l.__e(n, u);
289
+ l.__e(n, t);
288
290
  }
289
291
  i.base = i.__P = null;
290
292
  }
291
- if (i = n.__k) for (r = 0; r < i.length; r++) i[r] && q(i[r], u, t || "function" != typeof n.type);
292
- t || _(n.__e), n.__c = n.__ = n.__e = void 0;
293
+ if (i = n.__k) for (r = 0; r < i.length; r++) i[r] && B(i[r], t, u || "function" != typeof n.type);
294
+ u || g(n.__e), n.__c = n.__ = n.__e = void 0;
293
295
  }
294
- function B(n, l, u) {
295
- return this.constructor(n, u);
296
+ function D(n, l, t) {
297
+ return this.constructor(n, t);
296
298
  }
297
- function D(u, t, i) {
299
+ function E(t, u, i) {
298
300
  var r, o, e, f;
299
- t == document && (t = document.documentElement), l.__ && l.__(u, t), o = (r = "function" == typeof i) ? null : i && i.__k || t.__k, e = [], f = [], j(t, u = (!r && i || t).__k = g(k, null, [u]), o || p, p, t.namespaceURI, !r && i ? [i] : o ? null : t.firstChild ? n.call(t.childNodes) : null, e, !r && i ? i : o ? o.__e : t.firstChild, r, f), z(e, u, f);
301
+ u == document && (u = document.documentElement), l.__ && l.__(t, u), o = (r = "function" == typeof i) ? null : i && i.__k || u.__k, e = [], f = [], O(u, t = (!r && i || u).__k = _(k, null, [t]), o || p, p, u.namespaceURI, !r && i ? [i] : o ? null : u.firstChild ? n.call(u.childNodes) : null, e, !r && i ? i : o ? o.__e : u.firstChild, r, f), z(e, t, f);
300
302
  }
301
- function E(n, l) {
302
- D(n, l, E);
303
+ function G(n, l) {
304
+ E(n, l, G);
303
305
  }
304
- function G(l, u, t) {
306
+ function J(l, t, u) {
305
307
  var i,
306
308
  r,
307
309
  o,
308
310
  e,
309
311
  f = w({}, l.props);
310
- for (o in l.type && l.type.defaultProps && (e = l.type.defaultProps), u) "key" == o ? i = u[o] : "ref" == o ? r = u[o] : f[o] = void 0 === u[o] && void 0 !== e ? e[o] : u[o];
311
- return arguments.length > 2 && (f.children = arguments.length > 3 ? n.call(arguments, 2) : t), m(l.type, f, i || l.key, r || l.ref, null);
312
+ for (o in l.type && l.type.defaultProps && (e = l.type.defaultProps), t) "key" == o ? i = t[o] : "ref" == o ? r = t[o] : f[o] = void 0 === t[o] && void 0 !== e ? e[o] : t[o];
313
+ return arguments.length > 2 && (f.children = arguments.length > 3 ? n.call(arguments, 2) : u), m(l.type, f, i || l.key, r || l.ref, null);
312
314
  }
313
- function J(n, l) {
314
- var u = {
315
- __c: l = "__cC" + h++,
316
- __: n,
317
- Consumer: function (n, l) {
318
- return n.children(l);
319
- },
320
- Provider: function (n) {
321
- var u, t;
322
- return this.getChildContext || (u = new Set(), (t = {})[l] = this, this.getChildContext = function () {
323
- return t;
324
- }, this.componentWillUnmount = function () {
325
- u = null;
326
- }, this.shouldComponentUpdate = function (n) {
327
- this.props.value !== n.value && u.forEach(function (n) {
328
- n.__e = !0, M(n);
329
- });
330
- }, this.sub = function (n) {
331
- u.add(n);
332
- var l = n.componentWillUnmount;
333
- n.componentWillUnmount = function () {
334
- u && u.delete(n), l && l.call(n);
335
- };
336
- }), n.children;
337
- }
338
- };
339
- return u.Provider.__ = u.Consumer.contextType = u;
315
+ function K(n) {
316
+ function l(n) {
317
+ var t, u;
318
+ return this.getChildContext || (t = new Set(), (u = {})[l.__c] = this, this.getChildContext = function () {
319
+ return u;
320
+ }, this.componentWillUnmount = function () {
321
+ t = null;
322
+ }, this.shouldComponentUpdate = function (n) {
323
+ this.props.value !== n.value && t.forEach(function (n) {
324
+ n.__e = !0, M(n);
325
+ });
326
+ }, this.sub = function (n) {
327
+ t.add(n);
328
+ var l = n.componentWillUnmount;
329
+ n.componentWillUnmount = function () {
330
+ t && t.delete(n), l && l.call(n);
331
+ };
332
+ }), n.children;
333
+ }
334
+ return l.__c = "__cC" + h++, l.__ = n, l.Provider = l.__l = (l.Consumer = function (n, l) {
335
+ return n.children(l);
336
+ }).contextType = l, l;
340
337
  }
341
338
  n = v.slice, l = {
342
- __e: function (n, l, u, t) {
339
+ __e: function (n, l, t, u) {
343
340
  for (var i, r, o; l = l.__;) if ((i = l.__c) && !i.__) try {
344
- if ((r = i.constructor) && null != r.getDerivedStateFromError && (i.setState(r.getDerivedStateFromError(n)), o = i.__d), null != i.componentDidCatch && (i.componentDidCatch(n, t || {}), o = i.__d), o) return i.__E = i;
341
+ if ((r = i.constructor) && null != r.getDerivedStateFromError && (i.setState(r.getDerivedStateFromError(n)), o = i.__d), null != i.componentDidCatch && (i.componentDidCatch(n, u || {}), o = i.__d), o) return i.__E = i;
345
342
  } catch (l) {
346
343
  n = l;
347
344
  }
348
345
  throw n;
349
346
  }
350
- }, u = 0, t = function (n) {
347
+ }, t = 0, u = function (n) {
351
348
  return null != n && null == n.constructor;
352
349
  }, x.prototype.setState = function (n, l) {
353
- var u;
354
- u = null != this.__s && this.__s !== this.state ? this.__s : this.__s = w({}, this.state), "function" == typeof n && (n = n(w({}, u), this.props)), n && w(u, n), null != n && this.__v && (l && this._sb.push(l), M(this));
350
+ var t;
351
+ t = null != this.__s && this.__s !== this.state ? this.__s : this.__s = w({}, this.state), "function" == typeof n && (n = n(w({}, t), this.props)), n && w(t, n), null != n && this.__v && (l && this._sb.push(l), M(this));
355
352
  }, x.prototype.forceUpdate = function (n) {
356
353
  this.__v && (this.__e = !0, n && this.__h.push(n), M(this));
357
354
  }, x.prototype.render = k, i = [], o = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, e = function (n, l) {
358
355
  return n.__v.__b - l.__v.__b;
359
- }, P.__r = 0, f = /(PointerCapture)$|Capture$/i, c = 0, s = O(!1), a = O(!0), h = 0;
360
- export { x as Component, k as Fragment, G as cloneElement, J as createContext, g as createElement, b as createRef, g as h, E as hydrate, t as isValidElement, l as options, D as render, H as toChildArray };
356
+ }, $.__r = 0, f = /(PointerCapture)$|Capture$/i, c = 0, s = F(!1), a = F(!0), h = 0;
357
+ export { x as Component, k as Fragment, J as cloneElement, K as createContext, _ as createElement, b as createRef, _ as h, G as hydrate, u as isValidElement, l as options, E as render, H as toChildArray };