From a9e4ff2029a769737982fcf7e0b7d76d35cf35e4 Mon Sep 17 00:00:00 2001 From: evan Date: Tue, 12 Jul 2022 04:40:12 -0400 Subject: cleanup benchmarks folder (#587) * cleanup benchmarks * run prettier --- bench/react-hello-world.node.js | 157 ---------------------------------------- 1 file changed, 157 deletions(-) delete mode 100644 bench/react-hello-world.node.js (limited to 'bench/react-hello-world.node.js') diff --git a/bench/react-hello-world.node.js b/bench/react-hello-world.node.js deleted file mode 100644 index 9227823c1..000000000 --- a/bench/react-hello-world.node.js +++ /dev/null @@ -1,157 +0,0 @@ -var Gd=Object.create;var Ac=Object.defineProperty;var Xd=Object.getOwnPropertyDescriptor;var Zd=Object.getOwnPropertyNames;var Jd=Object.getPrototypeOf,Qd=Object.prototype.hasOwnProperty;var an=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var Kd=(e,n,i,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let v of Zd(n))!Qd.call(e,v)&&v!==i&&Ac(e,v,{get:()=>n[v],enumerable:!(s=Xd(n,v))||s.enumerable});return e};var Dc=(e,n,i)=>(i=e!=null?Gd(Jd(e)):{},Kd(n||!e||!e.__esModule?Ac(i,"default",{value:e,enumerable:!0}):i,e));var Nc=an($=>{"use strict";var Ai=Symbol.for("react.element"),qd=Symbol.for("react.portal"),ep=Symbol.for("react.fragment"),tp=Symbol.for("react.strict_mode"),rp=Symbol.for("react.profiler"),np=Symbol.for("react.provider"),op=Symbol.for("react.context"),ap=Symbol.for("react.forward_ref"),ip=Symbol.for("react.suspense"),lp=Symbol.for("react.memo"),sp=Symbol.for("react.lazy"),Oc=Symbol.iterator;function up(e){return e===null||typeof e!="object"?null:(e=Oc&&e[Oc]||e["@@iterator"],typeof e=="function"?e:null)}var Bc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Uc=Object.assign,jc={};function sa(e,n,i){this.props=e,this.context=n,this.refs=jc,this.updater=i||Bc}sa.prototype.isReactComponent={};sa.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};sa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Hc(){}Hc.prototype=sa.prototype;function Hu(e,n,i){this.props=e,this.context=n,this.refs=jc,this.updater=i||Bc}var Wu=Hu.prototype=new Hc;Wu.constructor=Hu;Uc(Wu,sa.prototype);Wu.isPureReactComponent=!0;var Mc=Array.isArray,Wc=Object.prototype.hasOwnProperty,zu={current:null},zc={key:!0,ref:!0,__self:!0,__source:!0};function $c(e,n,i){var s,v={},c=null,m=null;if(n!=null)for(s in n.ref!==void 0&&(m=n.ref),n.key!==void 0&&(c=""+n.key),n)Wc.call(n,s)&&!zc.hasOwnProperty(s)&&(v[s]=n[s]);var S=arguments.length-2;if(S===1)v.children=i;else if(1{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e="18.2.0",n=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),S=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),te=Symbol.for("react.offscreen"),J=Symbol.iterator,Oe="@@iterator";function P(h){if(h===null||typeof h!="object")return null;var b=J&&h[J]||h[Oe];return typeof b=="function"?b:null}var ue={current:null},W={transition:null},q={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},xe={current:null},_e={},he=null;function F(h){he=h}_e.setExtraStackFrame=function(h){he=h},_e.getCurrentStack=null,_e.getStackAddendum=function(){var h="";he&&(h+=he);var b=_e.getCurrentStack;return b&&(h+=b()||""),h};var ct=!1,qt=!1,yt=!1,Mt=!1,Lt=!1,ft={ReactCurrentDispatcher:ue,ReactCurrentBatchConfig:W,ReactCurrentOwner:xe};ft.ReactDebugCurrentFrame=_e,ft.ReactCurrentActQueue=q;function Me(h){{for(var b=arguments.length,k=new Array(b>1?b-1:0),T=1;T1?b-1:0),T=1;T1){for(var Q=Array(Y),K=0;K1){for(var ee=Array(K),fe=0;fe is not supported and will be removed in a future major release. Did you mean to render instead?")),b.Provider},set:function(M){b.Provider=M}},_currentValue:{get:function(){return b._currentValue},set:function(M){b._currentValue=M}},_currentValue2:{get:function(){return b._currentValue2},set:function(M){b._currentValue2=M}},_threadCount:{get:function(){return b._threadCount},set:function(M){b._threadCount=M}},Consumer:{get:function(){return k||(k=!0,B("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),b.Consumer}},displayName:{get:function(){return b.displayName},set:function(M){I||(Me("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",M),I=!0)}}}),b.Consumer=U}return b._currentRenderer=null,b._currentRenderer2=null,b}var jt=-1,Pr=0,ge=1,Sa=2;function wa(h){if(h._status===jt){var b=h._result,k=b();if(k.then(function(U){if(h._status===Pr||h._status===jt){var M=h;M._status=ge,M._result=U}},function(U){if(h._status===Pr||h._status===jt){var M=h;M._status=Sa,M._result=U}}),h._status===jt){var T=h;T._status=Pr,T._result=k}}if(h._status===ge){var I=h._result;return I===void 0&&B(`lazy: Expected the result of a dynamic import() call. Instead received: %s - -Your code should look like: - const MyComponent = lazy(() => import('./MyComponent')) - -Did you accidentally put curly braces around the import?`,I),"default"in I||B(`lazy: Expected the result of a dynamic import() call. Instead received: %s - -Your code should look like: - const MyComponent = lazy(() => import('./MyComponent'))`,I),I.default}else throw h._result}function xa(h){var b={_status:jt,_result:h},k={$$typeof:V,_payload:b,_init:wa};{var T,I;Object.defineProperties(k,{defaultProps:{configurable:!0,get:function(){return T},set:function(U){B("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),T=U,Object.defineProperty(k,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return I},set:function(U){B("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),I=U,Object.defineProperty(k,"propTypes",{enumerable:!0})}}})}return k}function ka(h){h!=null&&h.$$typeof===D?B("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof h!="function"?B("forwardRef requires a render function but was given %s.",h===null?"null":typeof h):h.length!==0&&h.length!==2&&B("forwardRef render functions accept exactly two parameters: props and ref. %s",h.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),h!=null&&(h.defaultProps!=null||h.propTypes!=null)&&B("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var b={$$typeof:E,render:h};{var k;Object.defineProperty(b,"displayName",{enumerable:!1,configurable:!0,get:function(){return k},set:function(T){k=T,!h.name&&!h.displayName&&(h.displayName=T)}})}return b}var mn;mn=Symbol.for("react.module.reference");function yo(h){return!!(typeof h=="string"||typeof h=="function"||h===s||h===c||Lt||h===v||h===x||h===R||Mt||h===te||ct||qt||yt||typeof h=="object"&&h!==null&&(h.$$typeof===V||h.$$typeof===D||h.$$typeof===m||h.$$typeof===S||h.$$typeof===E||h.$$typeof===mn||h.getModuleId!==void 0))}function Ta(h,b){yo(h)||B("memo: The first argument must be a component. Instead received: %s",h===null?"null":typeof h);var k={$$typeof:D,type:h,compare:b===void 0?null:b};{var T;Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return T},set:function(I){T=I,!h.name&&!h.displayName&&(h.displayName=I)}})}return k}function me(){var h=ue.current;return h===null&&B(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: -1. You might have mismatching versions of React and the renderer (such as React DOM) -2. You might be breaking the Rules of Hooks -3. You might have more than one copy of React in the same app -See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),h}function be(h){var b=me();if(h._context!==void 0){var k=h._context;k.Consumer===h?B("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):k.Provider===h&&B("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return b.useContext(h)}function Ca(h){var b=me();return b.useState(h)}function Ea(h,b,k){var T=me();return T.useReducer(h,b,k)}function Ra(h){var b=me();return b.useRef(h)}function bo(h,b){var k=me();return k.useEffect(h,b)}function So(h,b){var k=me();return k.useInsertionEffect(h,b)}function Ia(h,b){var k=me();return k.useLayoutEffect(h,b)}function _a(h,b){var k=me();return k.useCallback(h,b)}function cr(h,b){var k=me();return k.useMemo(h,b)}function Fr(h,b,k){var T=me();return T.useImperativeHandle(h,b,k)}function kt(h,b){{var k=me();return k.useDebugValue(h,b)}}function Ar(){var h=me();return h.useTransition()}function Dr(h){var b=me();return b.useDeferredValue(h)}function fr(){var h=me();return h.useId()}function yn(h,b,k){var T=me();return T.useSyncExternalStore(h,b,k)}var Tt=0,Or,He,Ht,Ct,Wt,zt,Et;function dr(){}dr.__reactDisabledLog=!0;function bn(){{if(Tt===0){Or=console.log,He=console.info,Ht=console.warn,Ct=console.error,Wt=console.group,zt=console.groupCollapsed,Et=console.groupEnd;var h={configurable:!0,enumerable:!0,value:dr,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}Tt++}}function Sn(){{if(Tt--,Tt===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Le({},h,{value:Or}),info:Le({},h,{value:He}),warn:Le({},h,{value:Ht}),error:Le({},h,{value:Ct}),group:Le({},h,{value:Wt}),groupCollapsed:Le({},h,{value:zt}),groupEnd:Le({},h,{value:Et})})}Tt<0&&B("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ee=ft.ReactCurrentDispatcher,wn;function Mr(h,b,k){{if(wn===void 0)try{throw Error()}catch(I){var T=I.stack.trim().match(/\n( *(at )?)/);wn=T&&T[1]||""}return` -`+wn+h}}var Lr=!1,Br;{var wo=typeof WeakMap=="function"?WeakMap:Map;Br=new wo}function We(h,b){if(!h||Lr)return"";{var k=Br.get(h);if(k!==void 0)return k}var T;Lr=!0;var I=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var U;U=Ee.current,Ee.current=null,bn();try{if(b){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(Se){T=Se}Reflect.construct(h,[],M)}else{try{M.call()}catch(Se){T=Se}h.call(M.prototype)}}else{try{throw Error()}catch(Se){T=Se}h()}}catch(Se){if(Se&&T&&typeof Se.stack=="string"){for(var H=Se.stack.split(` -`),z=T.stack.split(` -`),Y=H.length-1,Q=z.length-1;Y>=1&&Q>=0&&H[Y]!==z[Q];)Q--;for(;Y>=1&&Q>=0;Y--,Q--)if(H[Y]!==z[Q]){if(Y!==1||Q!==1)do if(Y--,Q--,Q<0||H[Y]!==z[Q]){var K=` -`+H[Y].replace(" at new "," at ");return h.displayName&&K.includes("")&&(K=K.replace("",h.displayName)),typeof h=="function"&&Br.set(h,K),K}while(Y>=1&&Q>=0);break}}}finally{Lr=!1,Ee.current=U,Sn(),Error.prepareStackTrace=I}var ee=h?h.displayName||h.name:"",fe=ee?Mr(ee):"";return typeof h=="function"&&Br.set(h,fe),fe}function Rt(h,b,k){return We(h,!1)}function ht(h){var b=h.prototype;return!!(b&&b.isReactComponent)}function $t(h,b,k){if(h==null)return"";if(typeof h=="function")return We(h,ht(h));if(typeof h=="string")return Mr(h);switch(h){case x:return Mr("Suspense");case R:return Mr("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case E:return Rt(h.render);case D:return $t(h.type,b,k);case V:{var T=h,I=T._payload,U=T._init;try{return $t(U(I),b,k)}catch{}}}return""}var Ce={},rt=ft.ReactDebugCurrentFrame;function pr(h){if(h){var b=h._owner,k=$t(h.type,h._source,b?b.type:null);rt.setExtraStackFrame(k)}else rt.setExtraStackFrame(null)}function hr(h,b,k,T,I){{var U=Function.call.bind(ir);for(var M in h)if(U(h,M)){var H=void 0;try{if(typeof h[M]!="function"){var z=Error((T||"React class")+": "+k+" type `"+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[M]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}H=h[M](b,M,T,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Y){H=Y}H&&!(H instanceof Error)&&(pr(I),B("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",T||"React class",k,M,typeof H),pr(null)),H instanceof Error&&!(H.message in Ce)&&(Ce[H.message]=!0,pr(I),B("Failed %s type: %s",k,H.message),pr(null))}}}function It(h){if(h){var b=h._owner,k=$t(h.type,h._source,b?b.type:null);F(k)}else F(null)}var vr;vr=!1;function Ze(){if(xe.current){var h=dt(xe.current.type);if(h)return` - -Check the render method of \``+h+"`."}return""}function _t(h){if(h!==void 0){var b=h.fileName.replace(/^.*[\\\/]/,""),k=h.lineNumber;return` - -Check your code at `+b+":"+k+"."}return""}function vt(h){return h!=null?_t(h.__source):""}var Ur={};function Re(h){var b=Ze();if(!b){var k=typeof h=="string"?h:h.displayName||h.name;k&&(b=` - -Check the top-level render call using <`+k+">.")}return b}function Je(h,b){if(!(!h._store||h._store.validated||h.key!=null)){h._store.validated=!0;var k=Re(b);if(!Ur[k]){Ur[k]=!0;var T="";h&&h._owner&&h._owner!==xe.current&&(T=" It was passed a child from "+dt(h._owner.type)+"."),It(h),B('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,T),It(null)}}}function xn(h,b){if(typeof h=="object"){if(ye(h))for(var k=0;k",I=" Did you accidentally export a JSX literal instead of a component?"):M=typeof h,B("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",M,I)}var H=ho.apply(this,arguments);if(H==null)return H;if(T)for(var z=2;z10&&Me("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),T._updatedFibers.clear()}}}var Cn=!1,Pt=null;function Pa(h){if(Pt===null)try{var b=("require"+Math.random()).slice(0,7),k=Bl&&Bl[b];Pt=k.call(Bl,"timers").setImmediate}catch{Pt=function(I){Cn===!1&&(Cn=!0,typeof MessageChannel>"u"&&B("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var U=new MessageChannel;U.port1.onmessage=I,U.port2.postMessage(void 0)}}return Pt(h)}var gt=0,Hr=!1;function Fa(h){{var b=gt;gt++,q.current===null&&(q.current=[]);var k=q.isBatchingLegacy,T;try{if(q.isBatchingLegacy=!0,T=h(),!k&&q.didScheduleLegacyUpdate){var I=q.current;I!==null&&(q.didScheduleLegacyUpdate=!1,Rn(I))}}catch(ee){throw mr(b),ee}finally{q.isBatchingLegacy=k}if(T!==null&&typeof T=="object"&&typeof T.then=="function"){var U=T,M=!1,H={then:function(ee,fe){M=!0,U.then(function(Se){mr(b),gt===0?Be(Se,ee,fe):ee(Se)},function(Se){mr(b),fe(Se)})}};return!Hr&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){M||(Hr=!0,B("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),H}else{var z=T;if(mr(b),gt===0){var Y=q.current;Y!==null&&(Rn(Y),q.current=null);var Q={then:function(ee,fe){q.current===null?(q.current=[],Be(z,ee,fe)):ee(z)}};return Q}else{var K={then:function(ee,fe){ee(z)}};return K}}}}function mr(h){h!==gt-1&&B("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),gt=h}function Be(h,b,k){{var T=q.current;if(T!==null)try{Rn(T),Pa(function(){T.length===0?(q.current=null,b(h)):Be(h,b,k)})}catch(I){k(I)}else b(h)}}var En=!1;function Rn(h){if(!En){En=!0;var b=0;try{for(;b{"use strict";process.env.NODE_ENV==="production"?Nu.exports=Nc():Nu.exports=Vc()});var Wf=an(ca=>{"use strict";var pf=ua(),hp=require("stream"),qe=Object.prototype.hasOwnProperty,vp=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Yc={},Gc={};function hf(e){return qe.call(Gc,e)?!0:qe.call(Yc,e)?!1:vp.test(e)?Gc[e]=!0:(Yc[e]=!0,!1)}function Ge(e,n,i,s,v,c,m){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=s,this.attributeNamespace=v,this.mustUseProperty=i,this.propertyName=e,this.type=n,this.sanitizeURL=c,this.removeEmptyString=m}var Fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fe[e]=new Ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Fe[n]=new Ge(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new Ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[e]=new Ge(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Fe[e]=new Ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new Ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new Ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new Ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new Ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var qu=/[\-:]([a-z])/g;function ec(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(qu,ec);Fe[n]=new Ge(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(qu,ec);Fe[n]=new Ge(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(qu,ec);Fe[n]=new Ge(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new Ge(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new Ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new Ge(e,1,!1,e.toLowerCase(),null,!0,!0)});var Hl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},gp=["Webkit","ms","Moz","O"];Object.keys(Hl).forEach(function(e){gp.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Hl[n]=Hl[e]})});var mp=/["'&<>]/;function Ye(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var n=mp.exec(e);if(n){var i="",s,v=0;for(s=n.index;s"),Wl(e,v,i),typeof i=="string"?(e.push(Ye(i)),null):i}var xp=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Zc=new Map;function Jt(e){var n=Zc.get(e);if(n===void 0){if(!xp.test(e))throw Error("Invalid tag: "+e);n="<"+e,Zc.set(e,n)}return n}function kp(e,n,i,s,v){switch(n){case"select":e.push(Jt("select"));var c=null,m=null;for(R in i)if(qe.call(i,R)){var S=i[R];if(S!=null)switch(R){case"children":c=S;break;case"dangerouslySetInnerHTML":m=S;break;case"defaultValue":case"value":break;default:it(e,s,R,S)}}return e.push(">"),Wl(e,m,c),c;case"option":m=v.selectedValue,e.push(Jt("option"));var E=S=null,x=null,R=null;for(c in i)if(qe.call(i,c)){var D=i[c];if(D!=null)switch(c){case"children":S=D;break;case"selected":x=D;break;case"dangerouslySetInnerHTML":R=D;break;case"value":E=D;default:it(e,s,c,D)}}if(m!=null)if(i=E!==null?""+E:wp(S),Xu(m)){for(s=0;s"),Wl(e,R,S),S;case"textarea":e.push(Jt("textarea")),R=m=c=null;for(S in i)if(qe.call(i,S)&&(E=i[S],E!=null))switch(S){case"children":R=E;break;case"value":c=E;break;case"defaultValue":m=E;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on