import{Fragmentasn,optionsase,Componentast}from"preact";import"preact/devtools";varo={};functionr(){o={}}functiona(e){returne.type===n?"Fragment":"function"==typeofe.type?e.type.displayName||e.type.name:"string"==typeofe.type?e.type:"#text"}vari=[],s=[];functionl(){returni.length>0?i[i.length-1]:null}varc=!1;functionu(e){return"function"==typeofe.type&&e.type!=n}functionf(n){for(vare=[n],t=n;null!=t.__o;)e.push(t.__o),t=t.__o;returne.reduce(function(n,e){n+=" in "+a(e);vart=e.__source;returnt?n+=" (at "+t.fileName+":"+t.lineNumber+")":c||(c=!0,console.warn("Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons.")),n+"\n"},"")}varp="function"==typeofWeakMap;functiond(n){vare=[];returnn.__k?(n.__k.forEach(function(n){n&&"function"==typeofn.type?e.push.apply(e,d(n)):n&&"string"==typeofn.type&&e.push(n.type)}),e):e}functionh(n){returnn?"function"==typeofn.type?null===n.__?null!==n.__e&&null!==n.__e.parentNode?n.__e.parentNode.localName:"":h(n.__):n.type:""}varv=t.prototype.setState;functiony(n){return"table"===n||"tfoot"===n||"tbody"===n||"thead"===n||"td"===n||"tr"===n||"th"===n}t.prototype.setState=function(n,e){returnnull==this.__v&&null==this.state&&console.warn('Calling "this.setState" inside the constructor of a component is a no-op and might be a bug in your application. Instead, set "this.state = {}" directly.\n\n'+f(l())),v.call(this,n,e)};varm=/^(address|article|aside|blockquote|details|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|main|menu|nav|ol|p|pre|search|section|table|ul)$/,b=t.prototype.forceUpdate;functionw(n){vare=n.props,t=a(n),o="";for(varrine)if(e.hasOwnProperty(r)&&"children"!==r){vari=e[r];"function"==typeofi&&(i="function "+(i.displayName||i.name)+"() {}"),i=Object(i)!==i||i.toString?i+"":Object.prototype.toString.call(i),o+=" "+r+"="+JSON.stringify(i)}vars=e.children;return"<"+t+o+(s&&s.length?">..</"+t+">":" />")}t.prototype.forceUpdate=function(n){returnnull==this.__v?console.warn('Calling "this.forceUpdate" inside the constructor of a component is a no-op and might be a bug in your application.\n\n'+f(l())):null==this.__P&&console.warn('Can\'t call "this.forceUpdate" on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.\n\n'+f(this.__v)),b.call(this,n)},function(){!function(){varn=e.__b,t=e.diffed,o=e.__,r=e.vnode,a=e.__r;e.diffed=function(n){u(n)&&s.pop(),i.pop(),t&&t(n)},e.__b=function(e){u(e)&&i.push(e),n&&n(e)},e.__=function(n,e){s=[],o&&o(n,e)},e.vnode=function(n){n.__o=s.length>0?s[s.length-1]:null,r&&r(n)},e.__r=function(n){u(n)&&s.push(n),a&&a(n)}}();varn=!1,t=e.__b,r=e.diffed,l=e.vnode,c=e.__r,v=e.__e,b=e.__,g=e.__h,E=e.__c,k=p?{useEffect:newWeakMap,useLayoutEffect:newWeakMap,lazyPropTypes:newWeakMap}:null,_=[],I=[];e.__e=function(n,e,t,o){if(e&&e.__c&&"function"==typeofn.then){varr=n;n=newError("Missing Suspense. The throwing component was: "+a(e));for(vari=e;i;i=i.__)if(i.__c&&i.__c.__c){n=r;break}if(ninstanceofError)thrown}try{(o=o||{}).componentStack=f(e),v(n,e,t,o),"function"!=typeofn.then&&setTimeout(function(){thrown})}catch(n){thrown}},e.__=function(n,e){if(!e)thrownewError("Undefined parent passed to render(), this is the second argument.\nCheck if the element is available in the DOM/has the correct id.");vart;switch(e.nodeType){case1:case11:case9:t=!0;break;default:t=!1}if(!t){varo=a(n);thrownewError("Expected a valid HTML node as a second argument to render.\tReceived "+e+" instead: render(<"+o+" />, "+e+");")}b&&b(n,e)},e.__b=function(e){varr=e.type;if(("string"==typeofr&&y(r)||"p"===r)&&I.push(e),n=!0,void0===r)thrownewError("Undefined component passed to createElement()\n\nYou likely forgot to export your component or might have mixed up default and named imports"+w(e)+"\n\n"+f(e));if(null!=r&&"object"==typeofr){