diff --git a/404.html b/404.html
index a919caeb..cb1e4538 100644
--- a/404.html
+++ b/404.html
@@ -28,7 +28,7 @@
gtag("config", "UA-133759045-1")
-
+
diff --git a/assets/index-839db278.js b/assets/index-c1bbc8a9.js
similarity index 94%
rename from assets/index-839db278.js
rename to assets/index-c1bbc8a9.js
index dfc28316..17efaba7 100644
--- a/assets/index-839db278.js
+++ b/assets/index-c1bbc8a9.js
@@ -1,4 +1,4 @@
-function mp(e,n){for(var t=0;tr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function t(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(l){if(l.ep)return;l.ep=!0;const s=t(l);fetch(l.href,s)}})();var pr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ba(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ma={exports:{}},ml={},Wa={exports:{}},T={};/**
+function mp(e,n){for(var t=0;tr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function t(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(l){if(l.ep)return;l.ep=!0;const s=t(l);fetch(l.href,s)}})();var pr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ma(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ba={exports:{}},ml={},Wa={exports:{}},T={};/**
* @license React
* react.production.min.js
*
@@ -6,7 +6,7 @@ function mp(e,n){for(var t=0;t>>1,J=N[H];if(0>>1;Hl(Wl,L))Cnl(cr,Wl)?(N[H]=cr,N[Cn]=L,H=Cn):(N[H]=Wl,N[Sn]=L,H=Sn);else if(Cnl(cr,L))N[H]=cr,N[Cn]=L,H=Cn;else break e}}return P}function l(N,P){var L=N.sortIndex-P.sortIndex;return L!==0?L:N.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,i=o.now();e.unstable_now=function(){return o.now()-i}}var a=[],u=[],d=1,h=null,m=3,w=!1,v=!1,k=!1,R=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(N){for(var P=t(u);P!==null;){if(P.callback===null)r(u);else if(P.startTime<=N)r(u),P.sortIndex=P.expirationTime,n(a,P);else break;P=t(u)}}function y(N){if(k=!1,f(N),!v)if(t(a)!==null)v=!0,Bl(I);else{var P=t(u);P!==null&&Ml(y,P.startTime-N)}}function I(N,P){v=!1,k&&(k=!1,p(_),_=-1),w=!0;var L=m;try{for(f(P),h=t(a);h!==null&&(!(h.expirationTime>P)||N&&!_e());){var H=h.callback;if(typeof H=="function"){h.callback=null,m=h.priorityLevel;var J=H(h.expirationTime<=P);P=e.unstable_now(),typeof J=="function"?h.callback=J:h===t(a)&&r(a),f(P)}else r(a);h=t(a)}if(h!==null)var ur=!0;else{var Sn=t(u);Sn!==null&&Ml(y,Sn.startTime-P),ur=!1}return ur}finally{h=null,m=L,w=!1}}var C=!1,x=null,_=-1,U=5,z=-1;function _e(){return!(e.unstable_now()-zN||125H?(N.sortIndex=L,n(u,N),t(a)===null&&N===t(u)&&(k?(p(_),_=-1):k=!0,Ml(y,L-H))):(N.sortIndex=J,n(a,N),v||w||(v=!0,Bl(I))),N},e.unstable_shouldYield=_e,e.unstable_wrapCallback=function(N){var P=m;return function(){var L=m;m=P;try{return N.apply(this,arguments)}finally{m=L}}}})(Qa);Ka.exports=Qa;var Fp=Ka.exports;/**
+ */(function(e){function n(N,P){var L=N.length;N.push(P);e:for(;0>>1,J=N[H];if(0>>1;Hl(Wl,L))Cnl(cr,Wl)?(N[H]=cr,N[Cn]=L,H=Cn):(N[H]=Wl,N[Sn]=L,H=Sn);else if(Cnl(cr,L))N[H]=cr,N[Cn]=L,H=Cn;else break e}}return P}function l(N,P){var L=N.sortIndex-P.sortIndex;return L!==0?L:N.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,i=o.now();e.unstable_now=function(){return o.now()-i}}var a=[],u=[],d=1,h=null,m=3,w=!1,v=!1,k=!1,R=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(N){for(var P=t(u);P!==null;){if(P.callback===null)r(u);else if(P.startTime<=N)r(u),P.sortIndex=P.expirationTime,n(a,P);else break;P=t(u)}}function y(N){if(k=!1,f(N),!v)if(t(a)!==null)v=!0,Ml(I);else{var P=t(u);P!==null&&Bl(y,P.startTime-N)}}function I(N,P){v=!1,k&&(k=!1,p(_),_=-1),w=!0;var L=m;try{for(f(P),h=t(a);h!==null&&(!(h.expirationTime>P)||N&&!_e());){var H=h.callback;if(typeof H=="function"){h.callback=null,m=h.priorityLevel;var J=H(h.expirationTime<=P);P=e.unstable_now(),typeof J=="function"?h.callback=J:h===t(a)&&r(a),f(P)}else r(a);h=t(a)}if(h!==null)var ur=!0;else{var Sn=t(u);Sn!==null&&Bl(y,Sn.startTime-P),ur=!1}return ur}finally{h=null,m=L,w=!1}}var C=!1,x=null,_=-1,U=5,z=-1;function _e(){return!(e.unstable_now()-zN||125H?(N.sortIndex=L,n(u,N),t(a)===null&&N===t(u)&&(k?(p(_),_=-1):k=!0,Bl(y,L-H))):(N.sortIndex=J,n(a,N),v||w||(v=!0,Ml(I))),N},e.unstable_shouldYield=_e,e.unstable_wrapCallback=function(N){var P=m;return function(){var L=m;m=P;try{return N.apply(this,arguments)}finally{m=L}}}})(Qa);Ka.exports=Qa;var Fp=Ka.exports;/**
* @license React
* react-dom.production.min.js
*
@@ -30,14 +30,14 @@ function mp(e,n){for(var t=0;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hs=Object.prototype.hasOwnProperty,Up=/^[: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]*$/,hi={},mi={};function Vp(e){return hs.call(mi,e)?!0:hs.call(hi,e)?!1:Up.test(e)?mi[e]=!0:(hi[e]=!0,!1)}function Gp(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Zp(e,n,t,r){if(n===null||typeof n>"u"||Gp(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ce(e,n,t,r,l,s,o){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=s,this.removeEmptyString=o}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];te[n]=new ce(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ce(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){te[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var mo=/[\-:]([a-z])/g;function go(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(mo,go);te[n]=new ce(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(mo,go);te[n]=new ce(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(mo,go);te[n]=new ce(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function yo(e,n,t,r){var l=te.hasOwnProperty(n)?te[n]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hs=Object.prototype.hasOwnProperty,Up=/^[: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]*$/,hi={},mi={};function Vp(e){return hs.call(mi,e)?!0:hs.call(hi,e)?!1:Up.test(e)?mi[e]=!0:(hi[e]=!0,!1)}function Gp(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Zp(e,n,t,r){if(n===null||typeof n>"u"||Gp(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ce(e,n,t,r,l,s,o){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=s,this.removeEmptyString=o}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];te[n]=new ce(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ce(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){te[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var mo=/[\-:]([a-z])/g;function go(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(mo,go);te[n]=new ce(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(mo,go);te[n]=new ce(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(mo,go);te[n]=new ce(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function yo(e,n,t,r){var l=te.hasOwnProperty(n)?te[n]:null;(l!==null?l.type!==0:r||!(2i||l[o]!==s[i]){var a=`
-`+l[o].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=o&&0<=i);break}}}finally{Vl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Nt(e):""}function Op(e){switch(e.tag){case 5:return Nt(e.type);case 16:return Nt("Lazy");case 13:return Nt("Suspense");case 19:return Nt("SuspenseList");case 0:case 2:case 15:return e=Gl(e.type,!1),e;case 11:return e=Gl(e.type.render,!1),e;case 1:return e=Gl(e.type,!0),e;default:return""}}function vs(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Gn:return"Fragment";case Vn:return"Portal";case ms:return"Profiler";case vo:return"StrictMode";case gs:return"Suspense";case ys:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qa:return(e.displayName||"Context")+".Consumer";case ba:return(e._context.displayName||"Context")+".Provider";case wo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ko:return n=e.displayName||null,n!==null?n:vs(e.type)||"Memo";case en:n=e._payload,e=e._init;try{return vs(e(n))}catch{}}return null}function Dp(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return vs(n);case 8:return n===vo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function gn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function nu(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Hp(e){var n=nu(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,s=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function hr(e){e._valueTracker||(e._valueTracker=Hp(e))}function tu(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=nu(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Zr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ws(e,n){var t=n.checked;return O({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function yi(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=gn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ru(e,n){n=n.checked,n!=null&&yo(e,"checked",n,!1)}function ks(e,n){ru(e,n);var t=gn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Ss(e,n.type,t):n.hasOwnProperty("defaultValue")&&Ss(e,n.type,gn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function vi(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Ss(e,n,t){(n!=="number"||Zr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var _t=Array.isArray;function bn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=mr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Gt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Lt={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},Xp=["Webkit","ms","Moz","O"];Object.keys(Lt).forEach(function(e){Xp.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Lt[n]=Lt[e]})});function iu(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Lt.hasOwnProperty(e)&&Lt[e]?(""+n).trim():n+"px"}function au(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=iu(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Yp=O({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function js(e,n){if(n){if(Yp[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(S(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(S(61))}if(n.style!=null&&typeof n.style!="object")throw Error(S(62))}}function xs(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Es=null;function So(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ns=null,qn=null,et=null;function Si(e){if(e=ir(e)){if(typeof Ns!="function")throw Error(S(280));var n=e.stateNode;n&&(n=kl(n),Ns(e.stateNode,e.type,n))}}function uu(e){qn?et?et.push(e):et=[e]:qn=e}function cu(){if(qn){var e=qn,n=et;if(et=qn=null,Si(e),n)for(e=0;e>>=0,e===0?32:31-(ld(e)/sd|0)|0}var gr=64,yr=4194304;function Rt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xr(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,s=e.pingedLanes,o=t&268435455;if(o!==0){var i=o&~l;i!==0?r=Rt(i):(s&=o,s!==0&&(r=Rt(s)))}else o=t&~l,o!==0?r=Rt(o):s!==0&&(r=Rt(s));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,s=n&-n,l>=s||l===16&&(s&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function sr(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Ae(n),e[n]=t}function ud(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zt),Pi=String.fromCharCode(32),Li=!1;function Pu(e,n){switch(e){case"keyup":return Wd.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zn=!1;function Ud(e,n){switch(e){case"compositionend":return Lu(n);case"keypress":return n.which!==32?null:(Li=!0,Pi);case"textInput":return e=n.data,e===Pi&&Li?null:e;default:return null}}function Vd(e,n){if(Zn)return e==="compositionend"||!Ro&&Pu(e,n)?(e=_u(),zr=Eo=ln=null,Zn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Bi(t)}}function Bu(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Bu(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Mu(){for(var e=window,n=Zr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Zr(e.document)}return n}function Po(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Qd(e){var n=Mu(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Bu(t.ownerDocument.documentElement,t)){if(r!==null&&Po(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,s=Math.min(r.start,l);r=r.end===void 0?s:Math.min(r.end,l),!e.extend&&s>r&&(l=r,r=s,s=l),l=Mi(t,s);var o=Mi(t,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),s>r?(e.addRange(n),e.extend(o.node,o.offset)):(n.setEnd(o.node,o.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,On=null,zs=null,Bt=null,As=!1;function Wi(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;As||On==null||On!==Zr(r)||(r=On,"selectionStart"in r&&Po(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Bt&&Yt(Bt,r)||(Bt=r,r=Qr(zs,"onSelect"),0Xn||(e.current=Vs[Xn],Vs[Xn]=null,Xn--)}function M(e,n){Xn++,Vs[Xn]=e.current,e.current=n}var yn={},oe=wn(yn),fe=wn(!1),Ln=yn;function st(e,n){var t=e.type.contextTypes;if(!t)return yn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in t)l[s]=n[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Jr(){F(fe),F(oe)}function Di(e,n,t){if(oe.current!==yn)throw Error(S(168));M(oe,n),M(fe,t)}function Hu(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(S(108,Dp(e)||"Unknown",l));return O({},t,r)}function br(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yn,Ln=oe.current,M(oe,e),M(fe,fe.current),!0}function Hi(e,n,t){var r=e.stateNode;if(!r)throw Error(S(169));t?(e=Hu(e,n,Ln),r.__reactInternalMemoizedMergedChildContext=e,F(fe),F(oe),M(oe,e)):F(fe),M(fe,t)}var Oe=null,Sl=!1,ns=!1;function Xu(e){Oe===null?Oe=[e]:Oe.push(e)}function af(e){Sl=!0,Xu(e)}function kn(){if(!ns&&Oe!==null){ns=!0;var e=0,n=B;try{var t=Oe;for(B=1;e>=o,l-=o,De=1<<32-Ae(n)+l|t<_?(U=x,x=null):U=x.sibling;var z=m(p,x,f[_],y);if(z===null){x===null&&(x=U);break}e&&x&&z.alternate===null&&n(p,x),c=s(z,c,_),C===null?I=z:C.sibling=z,C=z,x=U}if(_===f.length)return t(p,x),V&&In(p,_),I;if(x===null){for(;__?(U=x,x=null):U=x.sibling;var _e=m(p,x,z.value,y);if(_e===null){x===null&&(x=U);break}e&&x&&_e.alternate===null&&n(p,x),c=s(_e,c,_),C===null?I=_e:C.sibling=_e,C=_e,x=U}if(z.done)return t(p,x),V&&In(p,_),I;if(x===null){for(;!z.done;_++,z=f.next())z=h(p,z.value,y),z!==null&&(c=s(z,c,_),C===null?I=z:C.sibling=z,C=z);return V&&In(p,_),I}for(x=r(p,x);!z.done;_++,z=f.next())z=w(x,p,_,z.value,y),z!==null&&(e&&z.alternate!==null&&x.delete(z.key===null?_:z.key),c=s(z,c,_),C===null?I=z:C.sibling=z,C=z);return e&&x.forEach(function(gt){return n(p,gt)}),V&&In(p,_),I}function R(p,c,f,y){if(typeof f=="object"&&f!==null&&f.type===Gn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case fr:e:{for(var I=f.key,C=c;C!==null;){if(C.key===I){if(I=f.type,I===Gn){if(C.tag===7){t(p,C.sibling),c=l(C,f.props.children),c.return=p,p=c;break e}}else if(C.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===en&&bi(I)===C.type){t(p,C.sibling),c=l(C,f.props),c.ref=It(p,C,f),c.return=p,p=c;break e}t(p,C);break}else n(p,C);C=C.sibling}f.type===Gn?(c=Rn(f.props.children,p.mode,y,f.key),c.return=p,p=c):(y=Gr(f.type,f.key,f.props,null,p.mode,y),y.ref=It(p,c,f),y.return=p,p=y)}return o(p);case Vn:e:{for(C=f.key;c!==null;){if(c.key===C)if(c.tag===4&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){t(p,c.sibling),c=l(c,f.children||[]),c.return=p,p=c;break e}else{t(p,c);break}else n(p,c);c=c.sibling}c=us(f,p.mode,y),c.return=p,p=c}return o(p);case en:return C=f._init,R(p,c,C(f._payload),y)}if(_t(f))return v(p,c,f,y);if(vt(f))return k(p,c,f,y);jr(p,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,c!==null&&c.tag===6?(t(p,c.sibling),c=l(c,f),c.return=p,p=c):(t(p,c),c=as(f,p.mode,y),c.return=p,p=c),o(p)):t(p,c)}return R}var it=ec(!0),nc=ec(!1),ar={},Ge=wn(ar),Jt=wn(ar),bt=wn(ar);function Nn(e){if(e===ar)throw Error(S(174));return e}function Uo(e,n){switch(M(bt,n),M(Jt,e),M(Ge,ar),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Is(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Is(n,e)}F(Ge),M(Ge,n)}function at(){F(Ge),F(Jt),F(bt)}function tc(e){Nn(bt.current);var n=Nn(Ge.current),t=Is(n,e.type);n!==t&&(M(Jt,e),M(Ge,t))}function Vo(e){Jt.current===e&&(F(Ge),F(Jt))}var G=wn(0);function ll(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var ts=[];function Go(){for(var e=0;et?t:4,e(!0);var r=rs.transition;rs.transition={};try{e(!1),n()}finally{B=t,rs.transition=r}}function vc(){return Ne().memoizedState}function df(e,n,t){var r=hn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},wc(e))kc(n,t);else if(t=$u(e,n,t,r),t!==null){var l=ae();Be(t,e,r,l),Sc(t,n,r)}}function ff(e,n,t){var r=hn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(wc(e))kc(n,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=n.lastRenderedReducer,s!==null))try{var o=n.lastRenderedState,i=s(o,t);if(l.hasEagerState=!0,l.eagerState=i,Me(i,o)){var a=n.interleaved;a===null?(l.next=l,Wo(n)):(l.next=a.next,a.next=l),n.interleaved=l;return}}catch{}finally{}t=$u(e,n,l,r),t!==null&&(l=ae(),Be(t,e,r,l),Sc(t,n,r))}}function wc(e){var n=e.alternate;return e===Z||n!==null&&n===Z}function kc(e,n){Mt=sl=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Sc(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Io(e,t)}}var ol={readContext:Ee,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},hf={readContext:Ee,useCallback:function(e,n){return Fe().memoizedState=[e,n===void 0?null:n],e},useContext:Ee,useEffect:ea,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Wr(4194308,4,fc.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Wr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Wr(4,2,e,n)},useMemo:function(e,n){var t=Fe();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Fe();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=df.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var n=Fe();return e={current:e},n.memoizedState=e},useState:qi,useDebugValue:Xo,useDeferredValue:function(e){return Fe().memoizedState=e},useTransition:function(){var e=qi(!1),n=e[0];return e=pf.bind(null,e[1]),Fe().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=Z,l=Fe();if(V){if(t===void 0)throw Error(S(407));t=t()}else{if(t=n(),q===null)throw Error(S(349));zn&30||sc(r,n,t)}l.memoizedState=t;var s={value:t,getSnapshot:n};return l.queue=s,ea(ic.bind(null,r,s,e),[e]),r.flags|=2048,nr(9,oc.bind(null,r,s,t,n),void 0,null),t},useId:function(){var e=Fe(),n=q.identifierPrefix;if(V){var t=He,r=De;t=(r&~(1<<32-Ae(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=qt++,0")&&(a=a.replace("",e.displayName)),a}while(1<=o&&0<=i);break}}}finally{Vl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Nt(e):""}function Op(e){switch(e.tag){case 5:return Nt(e.type);case 16:return Nt("Lazy");case 13:return Nt("Suspense");case 19:return Nt("SuspenseList");case 0:case 2:case 15:return e=Gl(e.type,!1),e;case 11:return e=Gl(e.type.render,!1),e;case 1:return e=Gl(e.type,!0),e;default:return""}}function vs(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Gn:return"Fragment";case Vn:return"Portal";case ms:return"Profiler";case vo:return"StrictMode";case gs:return"Suspense";case ys:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qa:return(e.displayName||"Context")+".Consumer";case ba:return(e._context.displayName||"Context")+".Provider";case wo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ko:return n=e.displayName||null,n!==null?n:vs(e.type)||"Memo";case en:n=e._payload,e=e._init;try{return vs(e(n))}catch{}}return null}function Dp(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return vs(n);case 8:return n===vo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function gn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function nu(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Hp(e){var n=nu(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,s=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function hr(e){e._valueTracker||(e._valueTracker=Hp(e))}function tu(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=nu(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Zr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ws(e,n){var t=n.checked;return O({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function yi(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=gn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ru(e,n){n=n.checked,n!=null&&yo(e,"checked",n,!1)}function ks(e,n){ru(e,n);var t=gn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Ss(e,n.type,t):n.hasOwnProperty("defaultValue")&&Ss(e,n.type,gn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function vi(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Ss(e,n,t){(n!=="number"||Zr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var _t=Array.isArray;function bn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=mr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Gt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Lt={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},Xp=["Webkit","ms","Moz","O"];Object.keys(Lt).forEach(function(e){Xp.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Lt[n]=Lt[e]})});function iu(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Lt.hasOwnProperty(e)&&Lt[e]?(""+n).trim():n+"px"}function au(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=iu(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Yp=O({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function js(e,n){if(n){if(Yp[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(S(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(S(61))}if(n.style!=null&&typeof n.style!="object")throw Error(S(62))}}function xs(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Es=null;function So(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ns=null,qn=null,et=null;function Si(e){if(e=ir(e)){if(typeof Ns!="function")throw Error(S(280));var n=e.stateNode;n&&(n=kl(n),Ns(e.stateNode,e.type,n))}}function uu(e){qn?et?et.push(e):et=[e]:qn=e}function cu(){if(qn){var e=qn,n=et;if(et=qn=null,Si(e),n)for(e=0;e>>=0,e===0?32:31-(ld(e)/sd|0)|0}var gr=64,yr=4194304;function Rt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xr(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,s=e.pingedLanes,o=t&268435455;if(o!==0){var i=o&~l;i!==0?r=Rt(i):(s&=o,s!==0&&(r=Rt(s)))}else o=t&~l,o!==0?r=Rt(o):s!==0&&(r=Rt(s));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,s=n&-n,l>=s||l===16&&(s&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function sr(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Ae(n),e[n]=t}function ud(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zt),Pi=String.fromCharCode(32),Li=!1;function Pu(e,n){switch(e){case"keyup":return Wd.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zn=!1;function Ud(e,n){switch(e){case"compositionend":return Lu(n);case"keypress":return n.which!==32?null:(Li=!0,Pi);case"textInput":return e=n.data,e===Pi&&Li?null:e;default:return null}}function Vd(e,n){if(Zn)return e==="compositionend"||!Ro&&Pu(e,n)?(e=_u(),zr=Eo=ln=null,Zn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Mi(t)}}function Mu(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Mu(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Bu(){for(var e=window,n=Zr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Zr(e.document)}return n}function Po(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Qd(e){var n=Bu(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Mu(t.ownerDocument.documentElement,t)){if(r!==null&&Po(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,s=Math.min(r.start,l);r=r.end===void 0?s:Math.min(r.end,l),!e.extend&&s>r&&(l=r,r=s,s=l),l=Bi(t,s);var o=Bi(t,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),s>r?(e.addRange(n),e.extend(o.node,o.offset)):(n.setEnd(o.node,o.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,On=null,zs=null,Mt=null,As=!1;function Wi(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;As||On==null||On!==Zr(r)||(r=On,"selectionStart"in r&&Po(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Mt&&Yt(Mt,r)||(Mt=r,r=Qr(zs,"onSelect"),0Xn||(e.current=Vs[Xn],Vs[Xn]=null,Xn--)}function B(e,n){Xn++,Vs[Xn]=e.current,e.current=n}var yn={},oe=wn(yn),fe=wn(!1),Ln=yn;function st(e,n){var t=e.type.contextTypes;if(!t)return yn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in t)l[s]=n[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Jr(){F(fe),F(oe)}function Di(e,n,t){if(oe.current!==yn)throw Error(S(168));B(oe,n),B(fe,t)}function Hu(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(S(108,Dp(e)||"Unknown",l));return O({},t,r)}function br(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yn,Ln=oe.current,B(oe,e),B(fe,fe.current),!0}function Hi(e,n,t){var r=e.stateNode;if(!r)throw Error(S(169));t?(e=Hu(e,n,Ln),r.__reactInternalMemoizedMergedChildContext=e,F(fe),F(oe),B(oe,e)):F(fe),B(fe,t)}var Oe=null,Sl=!1,ns=!1;function Xu(e){Oe===null?Oe=[e]:Oe.push(e)}function af(e){Sl=!0,Xu(e)}function kn(){if(!ns&&Oe!==null){ns=!0;var e=0,n=M;try{var t=Oe;for(M=1;e>=o,l-=o,De=1<<32-Ae(n)+l|t<_?(U=x,x=null):U=x.sibling;var z=m(p,x,f[_],y);if(z===null){x===null&&(x=U);break}e&&x&&z.alternate===null&&n(p,x),c=s(z,c,_),C===null?I=z:C.sibling=z,C=z,x=U}if(_===f.length)return t(p,x),V&&In(p,_),I;if(x===null){for(;__?(U=x,x=null):U=x.sibling;var _e=m(p,x,z.value,y);if(_e===null){x===null&&(x=U);break}e&&x&&_e.alternate===null&&n(p,x),c=s(_e,c,_),C===null?I=_e:C.sibling=_e,C=_e,x=U}if(z.done)return t(p,x),V&&In(p,_),I;if(x===null){for(;!z.done;_++,z=f.next())z=h(p,z.value,y),z!==null&&(c=s(z,c,_),C===null?I=z:C.sibling=z,C=z);return V&&In(p,_),I}for(x=r(p,x);!z.done;_++,z=f.next())z=w(x,p,_,z.value,y),z!==null&&(e&&z.alternate!==null&&x.delete(z.key===null?_:z.key),c=s(z,c,_),C===null?I=z:C.sibling=z,C=z);return e&&x.forEach(function(gt){return n(p,gt)}),V&&In(p,_),I}function R(p,c,f,y){if(typeof f=="object"&&f!==null&&f.type===Gn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case fr:e:{for(var I=f.key,C=c;C!==null;){if(C.key===I){if(I=f.type,I===Gn){if(C.tag===7){t(p,C.sibling),c=l(C,f.props.children),c.return=p,p=c;break e}}else if(C.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===en&&bi(I)===C.type){t(p,C.sibling),c=l(C,f.props),c.ref=It(p,C,f),c.return=p,p=c;break e}t(p,C);break}else n(p,C);C=C.sibling}f.type===Gn?(c=Rn(f.props.children,p.mode,y,f.key),c.return=p,p=c):(y=Gr(f.type,f.key,f.props,null,p.mode,y),y.ref=It(p,c,f),y.return=p,p=y)}return o(p);case Vn:e:{for(C=f.key;c!==null;){if(c.key===C)if(c.tag===4&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){t(p,c.sibling),c=l(c,f.children||[]),c.return=p,p=c;break e}else{t(p,c);break}else n(p,c);c=c.sibling}c=us(f,p.mode,y),c.return=p,p=c}return o(p);case en:return C=f._init,R(p,c,C(f._payload),y)}if(_t(f))return v(p,c,f,y);if(vt(f))return k(p,c,f,y);jr(p,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,c!==null&&c.tag===6?(t(p,c.sibling),c=l(c,f),c.return=p,p=c):(t(p,c),c=as(f,p.mode,y),c.return=p,p=c),o(p)):t(p,c)}return R}var it=ec(!0),nc=ec(!1),ar={},Ge=wn(ar),Jt=wn(ar),bt=wn(ar);function Nn(e){if(e===ar)throw Error(S(174));return e}function Uo(e,n){switch(B(bt,n),B(Jt,e),B(Ge,ar),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Is(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Is(n,e)}F(Ge),B(Ge,n)}function at(){F(Ge),F(Jt),F(bt)}function tc(e){Nn(bt.current);var n=Nn(Ge.current),t=Is(n,e.type);n!==t&&(B(Jt,e),B(Ge,t))}function Vo(e){Jt.current===e&&(F(Ge),F(Jt))}var G=wn(0);function ll(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var ts=[];function Go(){for(var e=0;et?t:4,e(!0);var r=rs.transition;rs.transition={};try{e(!1),n()}finally{M=t,rs.transition=r}}function vc(){return Ne().memoizedState}function df(e,n,t){var r=hn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},wc(e))kc(n,t);else if(t=$u(e,n,t,r),t!==null){var l=ae();Me(t,e,r,l),Sc(t,n,r)}}function ff(e,n,t){var r=hn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(wc(e))kc(n,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=n.lastRenderedReducer,s!==null))try{var o=n.lastRenderedState,i=s(o,t);if(l.hasEagerState=!0,l.eagerState=i,Be(i,o)){var a=n.interleaved;a===null?(l.next=l,Wo(n)):(l.next=a.next,a.next=l),n.interleaved=l;return}}catch{}finally{}t=$u(e,n,l,r),t!==null&&(l=ae(),Me(t,e,r,l),Sc(t,n,r))}}function wc(e){var n=e.alternate;return e===Z||n!==null&&n===Z}function kc(e,n){Bt=sl=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Sc(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Io(e,t)}}var ol={readContext:Ee,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},hf={readContext:Ee,useCallback:function(e,n){return Fe().memoizedState=[e,n===void 0?null:n],e},useContext:Ee,useEffect:ea,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Wr(4194308,4,fc.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Wr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Wr(4,2,e,n)},useMemo:function(e,n){var t=Fe();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Fe();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=df.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var n=Fe();return e={current:e},n.memoizedState=e},useState:qi,useDebugValue:Xo,useDeferredValue:function(e){return Fe().memoizedState=e},useTransition:function(){var e=qi(!1),n=e[0];return e=pf.bind(null,e[1]),Fe().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=Z,l=Fe();if(V){if(t===void 0)throw Error(S(407));t=t()}else{if(t=n(),q===null)throw Error(S(349));zn&30||sc(r,n,t)}l.memoizedState=t;var s={value:t,getSnapshot:n};return l.queue=s,ea(ic.bind(null,r,s,e),[e]),r.flags|=2048,nr(9,oc.bind(null,r,s,t,n),void 0,null),t},useId:function(){var e=Fe(),n=q.identifierPrefix;if(V){var t=He,r=De;t=(r&~(1<<32-Ae(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=qt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(t,{is:r.is}):(e=o.createElement(t),t==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,t),e[Ue]=n,e[$t]=r,Pc(e,n,!1,!1),n.stateNode=e;e:{switch(o=xs(t,r),t){case"dialog":W("cancel",e),W("close",e),l=r;break;case"iframe":case"object":case"embed":W("load",e),l=r;break;case"video":case"audio":for(l=0;lct&&(n.flags|=128,r=!0,jt(s,!1),n.lanes=4194304)}else{if(!r)if(e=ll(o),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),jt(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!V)return le(n),null}else 2*X()-s.renderingStartTime>ct&&t!==1073741824&&(n.flags|=128,r=!0,jt(s,!1),n.lanes=4194304);s.isBackwards?(o.sibling=n.child,n.child=o):(t=s.last,t!==null?t.sibling=o:n.child=o,s.last=o)}return s.tail!==null?(n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=X(),n.sibling=null,t=G.current,M(G,r?t&1|2:t&1),n):(le(n),null);case 22:case 23:return bo(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ge&1073741824&&(le(n),n.subtreeFlags&6&&(n.flags|=8192)):le(n),null;case 24:return null;case 25:return null}throw Error(S(156,n.tag))}function Cf(e,n){switch(To(n),n.tag){case 1:return he(n.type)&&Jr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return at(),F(fe),F(oe),Go(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Vo(n),null;case 13:if(F(G),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(S(340));ot()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(G),null;case 4:return at(),null;case 10:return Mo(n.type._context),null;case 22:case 23:return bo(),null;case 24:return null;default:return null}}var Er=!1,se=!1,If=typeof WeakSet=="function"?WeakSet:Set,E=null;function $n(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){D(e,n,r)}else t.current=null}function bs(e,n,t){try{t()}catch(r){D(e,n,r)}}var ua=!1;function jf(e,n){if(Bs=Yr,e=Mu(),Po(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{t.nodeType,s.nodeType}catch{t=null;break e}var o=0,i=-1,a=-1,u=0,d=0,h=e,m=null;n:for(;;){for(var w;h!==t||l!==0&&h.nodeType!==3||(i=o+l),h!==s||r!==0&&h.nodeType!==3||(a=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(w=h.firstChild)!==null;)m=h,h=w;for(;;){if(h===e)break n;if(m===t&&++u===l&&(i=o),m===s&&++d===r&&(a=o),(w=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=w}t=i===-1||a===-1?null:{start:i,end:a}}else t=null}t=t||{start:0,end:0}}else t=null;for(Ms={focusedElem:e,selectionRange:t},Yr=!1,E=n;E!==null;)if(n=E,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,E=e;else for(;E!==null;){n=E;try{var v=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var k=v.memoizedProps,R=v.memoizedState,p=n.stateNode,c=p.getSnapshotBeforeUpdate(n.elementType===n.type?k:Le(n.type,k),R);p.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(y){D(n,n.return,y)}if(e=n.sibling,e!==null){e.return=n.return,E=e;break}E=n.return}return v=ua,ua=!1,v}function Wt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,s!==void 0&&bs(n,t,s)}l=l.next}while(l!==r)}}function jl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function qs(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function zc(e){var n=e.alternate;n!==null&&(e.alternate=null,zc(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ue],delete n[$t],delete n[Us],delete n[sf],delete n[of])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ac(e){return e.tag===5||e.tag===3||e.tag===4}function ca(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ac(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function eo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=$r));else if(r!==4&&(e=e.child,e!==null))for(eo(e,n,t),e=e.sibling;e!==null;)eo(e,n,t),e=e.sibling}function no(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(no(e,n,t),e=e.sibling;e!==null;)no(e,n,t),e=e.sibling}var ee=null,Te=!1;function be(e,n,t){for(t=t.child;t!==null;)Bc(e,n,t),t=t.sibling}function Bc(e,n,t){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(gl,t)}catch{}switch(t.tag){case 5:se||$n(t,n);case 6:var r=ee,l=Te;ee=null,be(e,n,t),ee=r,Te=l,ee!==null&&(Te?(e=ee,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):ee.removeChild(t.stateNode));break;case 18:ee!==null&&(Te?(e=ee,t=t.stateNode,e.nodeType===8?es(e.parentNode,t):e.nodeType===1&&es(e,t),Ht(e)):es(ee,t.stateNode));break;case 4:r=ee,l=Te,ee=t.stateNode.containerInfo,Te=!0,be(e,n,t),ee=r,Te=l;break;case 0:case 11:case 14:case 15:if(!se&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var s=l,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&bs(t,n,o),l=l.next}while(l!==r)}be(e,n,t);break;case 1:if(!se&&($n(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(i){D(t,n,i)}be(e,n,t);break;case 21:be(e,n,t);break;case 22:t.mode&1?(se=(r=se)||t.memoizedState!==null,be(e,n,t),se=r):be(e,n,t);break;default:be(e,n,t)}}function pa(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new If),n.forEach(function(r){var l=zf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Re(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=o),r&=~s}if(r=l,r=X()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ef(r/1960))-r,10e?16:e,sn===null)var r=!1;else{if(e=sn,sn=null,ul=0,A&6)throw Error(S(331));var l=A;for(A|=4,E=e.current;E!==null;){var s=E,o=s.child;if(E.flags&16){var i=s.deletions;if(i!==null){for(var a=0;aX()-$o?_n(e,0):Qo|=t),me(e,n)}function Oc(e,n){n===0&&(e.mode&1?(n=yr,yr<<=1,!(yr&130023424)&&(yr=4194304)):n=1);var t=ae();e=Qe(e,n),e!==null&&(sr(e,n,t),me(e,t))}function Tf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Oc(e,t)}function zf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(n),Oc(e,t)}var Dc;Dc=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||fe.current)de=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return de=!1,kf(e,n,t);de=!!(e.flags&131072)}else de=!1,V&&n.flags&1048576&&Yu(n,el,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Fr(e,n),e=n.pendingProps;var l=st(n,oe.current);tt(n,t),l=Oo(null,n,r,e,l,t);var s=Do();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,he(r)?(s=!0,br(n)):s=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Fo(n),l.updater=Cl,n.stateNode=l,l._reactInternals=n,Hs(n,r,e,t),n=Ks(null,n,r,!0,s,t)):(n.tag=0,V&&s&&Lo(n),ie(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Fr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Bf(r),e=Le(r,e),l){case 0:n=Ys(null,n,r,e,t);break e;case 1:n=oa(null,n,r,e,t);break e;case 11:n=la(null,n,r,e,t);break e;case 14:n=sa(null,n,r,Le(r.type,e),t);break e}throw Error(S(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Ys(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),oa(e,n,r,l,t);case 3:e:{if(Nc(n),e===null)throw Error(S(387));r=n.pendingProps,s=n.memoizedState,l=s.element,Ju(e,n),rl(n,r,null,t);var o=n.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=s,n.memoizedState=s,n.flags&256){l=ut(Error(S(423)),n),n=ia(e,n,r,t,l);break e}else if(r!==l){l=ut(Error(S(424)),n),n=ia(e,n,r,t,l);break e}else for(ye=pn(n.stateNode.containerInfo.firstChild),ve=n,V=!0,ze=null,t=nc(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(ot(),r===l){n=$e(e,n,t);break e}ie(e,n,r,t)}n=n.child}return n;case 5:return tc(n),e===null&&Zs(n),r=n.type,l=n.pendingProps,s=e!==null?e.memoizedProps:null,o=l.children,Ws(r,l)?o=null:s!==null&&Ws(r,s)&&(n.flags|=32),Ec(e,n),ie(e,n,o,t),n.child;case 6:return e===null&&Zs(n),null;case 13:return _c(e,n,t);case 4:return Uo(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=it(n,null,r,t):ie(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),la(e,n,r,l,t);case 7:return ie(e,n,n.pendingProps,t),n.child;case 8:return ie(e,n,n.pendingProps.children,t),n.child;case 12:return ie(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,s=n.memoizedProps,o=l.value,M(nl,r._currentValue),r._currentValue=o,s!==null)if(Me(s.value,o)){if(s.children===l.children&&!fe.current){n=$e(e,n,t);break e}}else for(s=n.child,s!==null&&(s.return=n);s!==null;){var i=s.dependencies;if(i!==null){o=s.child;for(var a=i.firstContext;a!==null;){if(a.context===r){if(s.tag===1){a=Xe(-1,t&-t),a.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?a.next=a:(a.next=d.next,d.next=a),u.pending=a}}s.lanes|=t,a=s.alternate,a!==null&&(a.lanes|=t),Os(s.return,t,n),i.lanes|=t;break}a=a.next}}else if(s.tag===10)o=s.type===n.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(S(341));o.lanes|=t,i=o.alternate,i!==null&&(i.lanes|=t),Os(o,t,n),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===n){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}ie(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,tt(n,t),l=Ee(l),r=r(l),n.flags|=1,ie(e,n,r,t),n.child;case 14:return r=n.type,l=Le(r,n.pendingProps),l=Le(r.type,l),sa(e,n,r,l,t);case 15:return jc(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Fr(e,n),n.tag=1,he(r)?(e=!0,br(n)):e=!1,tt(n,t),qu(n,r,l),Hs(n,r,l,t),Ks(null,n,r,!0,e,t);case 19:return Rc(e,n,t);case 22:return xc(e,n,t)}throw Error(S(156,n.tag))};function Hc(e,n){return yu(e,n)}function Af(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(e,n,t,r){return new Af(e,n,t,r)}function ei(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Bf(e){if(typeof e=="function")return ei(e)?1:0;if(e!=null){if(e=e.$$typeof,e===wo)return 11;if(e===ko)return 14}return 2}function mn(e,n){var t=e.alternate;return t===null?(t=je(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Gr(e,n,t,r,l,s){var o=2;if(r=e,typeof e=="function")ei(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Gn:return Rn(t.children,l,s,n);case vo:o=8,l|=8;break;case ms:return e=je(12,t,n,l|2),e.elementType=ms,e.lanes=s,e;case gs:return e=je(13,t,n,l),e.elementType=gs,e.lanes=s,e;case ys:return e=je(19,t,n,l),e.elementType=ys,e.lanes=s,e;case eu:return El(t,l,s,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ba:o=10;break e;case qa:o=9;break e;case wo:o=11;break e;case ko:o=14;break e;case en:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return n=je(o,t,n,l),n.elementType=e,n.type=r,n.lanes=s,n}function Rn(e,n,t,r){return e=je(7,e,r,n),e.lanes=t,e}function El(e,n,t,r){return e=je(22,e,r,n),e.elementType=eu,e.lanes=t,e.stateNode={isHidden:!1},e}function as(e,n,t){return e=je(6,e,null,n),e.lanes=t,e}function us(e,n,t){return n=je(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Mf(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ol(0),this.expirationTimes=Ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ni(e,n,t,r,l,s,o,i,a){return e=new Mf(e,n,t,i,a),n===1?(n=1,s===!0&&(n|=8)):n=0,s=je(3,null,null,n),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fo(s),e}function Wf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Qc)}catch(e){console.error(e)}}Qc(),Ya.exports=ke;var Zf=Ya.exports,$c,Jc,wa=Zf;Jc=wa.createRoot,$c=wa.hydrateRoot;const bc={theme:"light",sideNav:!0,initialized:!1},qc=j.createContext({state:bc,init:e=>{},setTheme:e=>{},toggleSideNav:()=>{}});function si(){return j.useContext(qc)}function ka(e,n){try{localStorage.setItem(e,n)}catch(t){console.error(t)}}const Sa=({children:e})=>{const[n,t]=j.useState(bc);function r(i){i=="dark"?(document.body.classList.remove("light"),document.body.classList.add("dark")):(document.body.classList.remove("dark"),document.body.classList.add("light"))}function l(i){try{const a=localStorage.getItem("theme")||"light";let u=i.width>=500;{const d=localStorage.getItem("sideNav");d&&(u=d=="true")}r(a),t(d=>({...d,theme:a,sideNav:u}))}catch(a){console.error(a)}t(a=>({...a,initialized:!0}))}function s(i){r(i),t({...n,theme:i}),ka("theme",i)}function o(){const i=!n.sideNav;t({...n,sideNav:i}),ka("sideNav",i)}return g.jsx(qc.Provider,{value:j.useMemo(()=>({state:n,init:l,setTheme:s,toggleSideNav:o}),[n]),children:e})};/**
+`+s.stack}return{value:e,source:n,stack:l,digest:null}}function os(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function Xs(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var yf=typeof WeakMap=="function"?WeakMap:Map;function Cc(e,n,t){t=Xe(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){al||(al=!0,to=r),Xs(e,n)},t}function Ic(e,n,t){t=Xe(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){Xs(e,n)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(t.callback=function(){Xs(e,n),typeof r!="function"&&(fn===null?fn=new Set([this]):fn.add(this));var o=n.stack;this.componentDidCatch(n.value,{componentStack:o!==null?o:""})}),t}function na(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new yf;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Lf.bind(null,e,n,t),n.then(e,e))}function ta(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function ra(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=Xe(-1,1),n.tag=2,dn(t,n,1))),t.lanes|=1),e)}var vf=Je.ReactCurrentOwner,de=!1;function ie(e,n,t,r){n.child=e===null?nc(n,null,t,r):it(n,e.child,t,r)}function la(e,n,t,r,l){t=t.render;var s=n.ref;return tt(n,l),r=Oo(e,n,t,r,s,l),t=Do(),e!==null&&!de?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,$e(e,n,l)):(V&&t&&Lo(n),n.flags|=1,ie(e,n,r,l),n.child)}function sa(e,n,t,r,l){if(e===null){var s=t.type;return typeof s=="function"&&!ei(s)&&s.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=s,jc(e,n,s,r,l)):(e=Gr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(s=e.child,!(e.lanes&l)){var o=s.memoizedProps;if(t=t.compare,t=t!==null?t:Yt,t(o,r)&&e.ref===n.ref)return $e(e,n,l)}return n.flags|=1,e=mn(s,r),e.ref=n.ref,e.return=n,n.child=e}function jc(e,n,t,r,l){if(e!==null){var s=e.memoizedProps;if(Yt(s,r)&&e.ref===n.ref)if(de=!1,n.pendingProps=r=s,(e.lanes&l)!==0)e.flags&131072&&(de=!0);else return n.lanes=e.lanes,$e(e,n,l)}return Ys(e,n,t,r,l)}function xc(e,n,t){var r=n.pendingProps,l=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},B(Jn,ge),ge|=t;else{if(!(t&1073741824))return e=s!==null?s.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,B(Jn,ge),ge|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:t,B(Jn,ge),ge|=r}else s!==null?(r=s.baseLanes|t,n.memoizedState=null):r=t,B(Jn,ge),ge|=r;return ie(e,n,l,t),n.child}function Ec(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function Ys(e,n,t,r,l){var s=he(t)?Ln:oe.current;return s=st(n,s),tt(n,l),t=Oo(e,n,t,r,s,l),r=Do(),e!==null&&!de?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,$e(e,n,l)):(V&&r&&Lo(n),n.flags|=1,ie(e,n,t,l),n.child)}function oa(e,n,t,r,l){if(he(t)){var s=!0;br(n)}else s=!1;if(tt(n,l),n.stateNode===null)Fr(e,n),qu(n,t,r),Hs(n,t,r,l),r=!0;else if(e===null){var o=n.stateNode,i=n.memoizedProps;o.props=i;var a=o.context,u=t.contextType;typeof u=="object"&&u!==null?u=Ee(u):(u=he(t)?Ln:oe.current,u=st(n,u));var d=t.getDerivedStateFromProps,h=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";h||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(i!==r||a!==u)&&Ji(n,o,r,u),nn=!1;var m=n.memoizedState;o.state=m,rl(n,r,o,l),a=n.memoizedState,i!==r||m!==a||fe.current||nn?(typeof d=="function"&&(Ds(n,t,d,r),a=n.memoizedState),(i=nn||$i(n,t,i,r,m,a,u))?(h||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(n.flags|=4194308)):(typeof o.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=a),o.props=r,o.state=a,o.context=u,r=i):(typeof o.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{o=n.stateNode,Ju(e,n),i=n.memoizedProps,u=n.type===n.elementType?i:Le(n.type,i),o.props=u,h=n.pendingProps,m=o.context,a=t.contextType,typeof a=="object"&&a!==null?a=Ee(a):(a=he(t)?Ln:oe.current,a=st(n,a));var w=t.getDerivedStateFromProps;(d=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(i!==h||m!==a)&&Ji(n,o,r,a),nn=!1,m=n.memoizedState,o.state=m,rl(n,r,o,l);var v=n.memoizedState;i!==h||m!==v||fe.current||nn?(typeof w=="function"&&(Ds(n,t,w,r),v=n.memoizedState),(u=nn||$i(n,t,u,r,m,v,a)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,a),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,a)),typeof o.componentDidUpdate=="function"&&(n.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof o.componentDidUpdate!="function"||i===e.memoizedProps&&m===e.memoizedState||(n.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&m===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=v),o.props=r,o.state=v,o.context=a,r=u):(typeof o.componentDidUpdate!="function"||i===e.memoizedProps&&m===e.memoizedState||(n.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&m===e.memoizedState||(n.flags|=1024),r=!1)}return Ks(e,n,t,r,s,l)}function Ks(e,n,t,r,l,s){Ec(e,n);var o=(n.flags&128)!==0;if(!r&&!o)return l&&Hi(n,t,!1),$e(e,n,s);r=n.stateNode,vf.current=n;var i=o&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&o?(n.child=it(n,e.child,null,s),n.child=it(n,null,i,s)):ie(e,n,i,s),n.memoizedState=r.state,l&&Hi(n,t,!0),n.child}function Nc(e){var n=e.stateNode;n.pendingContext?Di(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Di(e,n.context,!1),Uo(e,n.containerInfo)}function ia(e,n,t,r,l){return ot(),zo(l),n.flags|=256,ie(e,n,t,r),n.child}var Qs={dehydrated:null,treeContext:null,retryLane:0};function $s(e){return{baseLanes:e,cachePool:null,transitions:null}}function _c(e,n,t){var r=n.pendingProps,l=G.current,s=!1,o=(n.flags&128)!==0,i;if((i=o)||(i=e!==null&&e.memoizedState===null?!1:(l&2)!==0),i?(s=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),B(G,l&1),e===null)return Zs(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(o=r.children,e=r.fallback,s?(r=n.mode,s=n.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=El(o,r,0,null),e=Rn(e,r,t,null),s.return=n,e.return=n,s.sibling=e,n.child=s,n.child.memoizedState=$s(t),n.memoizedState=Qs,e):Yo(n,o));if(l=e.memoizedState,l!==null&&(i=l.dehydrated,i!==null))return wf(e,n,o,r,i,l,t);if(s){s=r.fallback,o=n.mode,l=e.child,i=l.sibling;var a={mode:"hidden",children:r.children};return!(o&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=a,n.deletions=null):(r=mn(l,a),r.subtreeFlags=l.subtreeFlags&14680064),i!==null?s=mn(i,s):(s=Rn(s,o,t,null),s.flags|=2),s.return=n,r.return=n,r.sibling=s,n.child=r,r=s,s=n.child,o=e.child.memoizedState,o=o===null?$s(t):{baseLanes:o.baseLanes|t,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~t,n.memoizedState=Qs,r}return s=e.child,e=s.sibling,r=mn(s,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function Yo(e,n){return n=El({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function xr(e,n,t,r){return r!==null&&zo(r),it(n,e.child,null,t),e=Yo(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function wf(e,n,t,r,l,s,o){if(t)return n.flags&256?(n.flags&=-257,r=os(Error(S(422))),xr(e,n,o,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(s=r.fallback,l=n.mode,r=El({mode:"visible",children:r.children},l,0,null),s=Rn(s,l,o,null),s.flags|=2,r.return=n,s.return=n,r.sibling=s,n.child=r,n.mode&1&&it(n,e.child,null,o),n.child.memoizedState=$s(o),n.memoizedState=Qs,s);if(!(n.mode&1))return xr(e,n,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var i=r.dgst;return r=i,s=Error(S(419)),r=os(s,r,void 0),xr(e,n,o,r)}if(i=(o&e.childLanes)!==0,de||i){if(r=q,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==s.retryLane&&(s.retryLane=l,Qe(e,l),Me(r,e,l,-1))}return qo(),r=os(Error(S(421))),xr(e,n,o,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Tf.bind(null,e),l._reactRetry=n,null):(e=s.treeContext,ye=pn(l.nextSibling),ve=n,V=!0,ze=null,e!==null&&(Ce[Ie++]=De,Ce[Ie++]=He,Ce[Ie++]=Tn,De=e.id,He=e.overflow,Tn=n),n=Yo(n,r.children),n.flags|=4096,n)}function aa(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),Os(e.return,n,t)}function is(e,n,t,r,l){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(s.isBackwards=n,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=t,s.tailMode=l)}function Rc(e,n,t){var r=n.pendingProps,l=r.revealOrder,s=r.tail;if(ie(e,n,r.children,t),r=G.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&aa(e,t,n);else if(e.tag===19)aa(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(B(G,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&ll(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),is(n,!1,l,t,s);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&ll(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}is(n,!0,t,null,s);break;case"together":is(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Fr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function $e(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),An|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(S(153));if(n.child!==null){for(e=n.child,t=mn(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=mn(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function kf(e,n,t){switch(n.tag){case 3:Nc(n),ot();break;case 5:tc(n);break;case 1:he(n.type)&&br(n);break;case 4:Uo(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;B(nl,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(B(G,G.current&1),n.flags|=128,null):t&n.child.childLanes?_c(e,n,t):(B(G,G.current&1),e=$e(e,n,t),e!==null?e.sibling:null);B(G,G.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return Rc(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),B(G,G.current),r)break;return null;case 22:case 23:return n.lanes=0,xc(e,n,t)}return $e(e,n,t)}var Pc,Js,Lc,Tc;Pc=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};Js=function(){};Lc=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,Nn(Ge.current);var s=null;switch(t){case"input":l=ws(e,l),r=ws(e,r),s=[];break;case"select":l=O({},l,{value:void 0}),r=O({},r,{value:void 0}),s=[];break;case"textarea":l=Cs(e,l),r=Cs(e,r),s=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=$r)}js(t,r);var o;t=null;for(u in l)if(!r.hasOwnProperty(u)&&l.hasOwnProperty(u)&&l[u]!=null)if(u==="style"){var i=l[u];for(o in i)i.hasOwnProperty(o)&&(t||(t={}),t[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Vt.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var a=r[u];if(i=l!=null?l[u]:void 0,r.hasOwnProperty(u)&&a!==i&&(a!=null||i!=null))if(u==="style")if(i){for(o in i)!i.hasOwnProperty(o)||a&&a.hasOwnProperty(o)||(t||(t={}),t[o]="");for(o in a)a.hasOwnProperty(o)&&i[o]!==a[o]&&(t||(t={}),t[o]=a[o])}else t||(s||(s=[]),s.push(u,t)),t=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,i=i?i.__html:void 0,a!=null&&i!==a&&(s=s||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(s=s||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Vt.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&W("scroll",e),s||i===a||(s=[])):(s=s||[]).push(u,a))}t&&(s=s||[]).push("style",t);var u=s;(n.updateQueue=u)&&(n.flags|=4)}};Tc=function(e,n,t,r){t!==r&&(n.flags|=4)};function jt(e,n){if(!V)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function le(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function Sf(e,n,t){var r=n.pendingProps;switch(To(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return le(n),null;case 1:return he(n.type)&&Jr(),le(n),null;case 3:return r=n.stateNode,at(),F(fe),F(oe),Go(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ir(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,ze!==null&&(so(ze),ze=null))),Js(e,n),le(n),null;case 5:Vo(n);var l=Nn(bt.current);if(t=n.type,e!==null&&n.stateNode!=null)Lc(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(S(166));return le(n),null}if(e=Nn(Ge.current),Ir(n)){r=n.stateNode,t=n.type;var s=n.memoizedProps;switch(r[Ue]=n,r[$t]=s,e=(n.mode&1)!==0,t){case"dialog":W("cancel",r),W("close",r);break;case"iframe":case"object":case"embed":W("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(t,{is:r.is}):(e=o.createElement(t),t==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,t),e[Ue]=n,e[$t]=r,Pc(e,n,!1,!1),n.stateNode=e;e:{switch(o=xs(t,r),t){case"dialog":W("cancel",e),W("close",e),l=r;break;case"iframe":case"object":case"embed":W("load",e),l=r;break;case"video":case"audio":for(l=0;lct&&(n.flags|=128,r=!0,jt(s,!1),n.lanes=4194304)}else{if(!r)if(e=ll(o),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),jt(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!V)return le(n),null}else 2*X()-s.renderingStartTime>ct&&t!==1073741824&&(n.flags|=128,r=!0,jt(s,!1),n.lanes=4194304);s.isBackwards?(o.sibling=n.child,n.child=o):(t=s.last,t!==null?t.sibling=o:n.child=o,s.last=o)}return s.tail!==null?(n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=X(),n.sibling=null,t=G.current,B(G,r?t&1|2:t&1),n):(le(n),null);case 22:case 23:return bo(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ge&1073741824&&(le(n),n.subtreeFlags&6&&(n.flags|=8192)):le(n),null;case 24:return null;case 25:return null}throw Error(S(156,n.tag))}function Cf(e,n){switch(To(n),n.tag){case 1:return he(n.type)&&Jr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return at(),F(fe),F(oe),Go(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Vo(n),null;case 13:if(F(G),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(S(340));ot()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(G),null;case 4:return at(),null;case 10:return Bo(n.type._context),null;case 22:case 23:return bo(),null;case 24:return null;default:return null}}var Er=!1,se=!1,If=typeof WeakSet=="function"?WeakSet:Set,E=null;function $n(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){D(e,n,r)}else t.current=null}function bs(e,n,t){try{t()}catch(r){D(e,n,r)}}var ua=!1;function jf(e,n){if(Ms=Yr,e=Bu(),Po(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{t.nodeType,s.nodeType}catch{t=null;break e}var o=0,i=-1,a=-1,u=0,d=0,h=e,m=null;n:for(;;){for(var w;h!==t||l!==0&&h.nodeType!==3||(i=o+l),h!==s||r!==0&&h.nodeType!==3||(a=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(w=h.firstChild)!==null;)m=h,h=w;for(;;){if(h===e)break n;if(m===t&&++u===l&&(i=o),m===s&&++d===r&&(a=o),(w=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=w}t=i===-1||a===-1?null:{start:i,end:a}}else t=null}t=t||{start:0,end:0}}else t=null;for(Bs={focusedElem:e,selectionRange:t},Yr=!1,E=n;E!==null;)if(n=E,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,E=e;else for(;E!==null;){n=E;try{var v=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var k=v.memoizedProps,R=v.memoizedState,p=n.stateNode,c=p.getSnapshotBeforeUpdate(n.elementType===n.type?k:Le(n.type,k),R);p.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(y){D(n,n.return,y)}if(e=n.sibling,e!==null){e.return=n.return,E=e;break}E=n.return}return v=ua,ua=!1,v}function Wt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,s!==void 0&&bs(n,t,s)}l=l.next}while(l!==r)}}function jl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function qs(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function zc(e){var n=e.alternate;n!==null&&(e.alternate=null,zc(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ue],delete n[$t],delete n[Us],delete n[sf],delete n[of])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ac(e){return e.tag===5||e.tag===3||e.tag===4}function ca(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ac(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function eo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=$r));else if(r!==4&&(e=e.child,e!==null))for(eo(e,n,t),e=e.sibling;e!==null;)eo(e,n,t),e=e.sibling}function no(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(no(e,n,t),e=e.sibling;e!==null;)no(e,n,t),e=e.sibling}var ee=null,Te=!1;function be(e,n,t){for(t=t.child;t!==null;)Mc(e,n,t),t=t.sibling}function Mc(e,n,t){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(gl,t)}catch{}switch(t.tag){case 5:se||$n(t,n);case 6:var r=ee,l=Te;ee=null,be(e,n,t),ee=r,Te=l,ee!==null&&(Te?(e=ee,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):ee.removeChild(t.stateNode));break;case 18:ee!==null&&(Te?(e=ee,t=t.stateNode,e.nodeType===8?es(e.parentNode,t):e.nodeType===1&&es(e,t),Ht(e)):es(ee,t.stateNode));break;case 4:r=ee,l=Te,ee=t.stateNode.containerInfo,Te=!0,be(e,n,t),ee=r,Te=l;break;case 0:case 11:case 14:case 15:if(!se&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var s=l,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&bs(t,n,o),l=l.next}while(l!==r)}be(e,n,t);break;case 1:if(!se&&($n(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(i){D(t,n,i)}be(e,n,t);break;case 21:be(e,n,t);break;case 22:t.mode&1?(se=(r=se)||t.memoizedState!==null,be(e,n,t),se=r):be(e,n,t);break;default:be(e,n,t)}}function pa(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new If),n.forEach(function(r){var l=zf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Re(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=o),r&=~s}if(r=l,r=X()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ef(r/1960))-r,10e?16:e,sn===null)var r=!1;else{if(e=sn,sn=null,ul=0,A&6)throw Error(S(331));var l=A;for(A|=4,E=e.current;E!==null;){var s=E,o=s.child;if(E.flags&16){var i=s.deletions;if(i!==null){for(var a=0;aX()-$o?_n(e,0):Qo|=t),me(e,n)}function Oc(e,n){n===0&&(e.mode&1?(n=yr,yr<<=1,!(yr&130023424)&&(yr=4194304)):n=1);var t=ae();e=Qe(e,n),e!==null&&(sr(e,n,t),me(e,t))}function Tf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Oc(e,t)}function zf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(n),Oc(e,t)}var Dc;Dc=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||fe.current)de=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return de=!1,kf(e,n,t);de=!!(e.flags&131072)}else de=!1,V&&n.flags&1048576&&Yu(n,el,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Fr(e,n),e=n.pendingProps;var l=st(n,oe.current);tt(n,t),l=Oo(null,n,r,e,l,t);var s=Do();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,he(r)?(s=!0,br(n)):s=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Fo(n),l.updater=Cl,n.stateNode=l,l._reactInternals=n,Hs(n,r,e,t),n=Ks(null,n,r,!0,s,t)):(n.tag=0,V&&s&&Lo(n),ie(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Fr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Mf(r),e=Le(r,e),l){case 0:n=Ys(null,n,r,e,t);break e;case 1:n=oa(null,n,r,e,t);break e;case 11:n=la(null,n,r,e,t);break e;case 14:n=sa(null,n,r,Le(r.type,e),t);break e}throw Error(S(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Ys(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),oa(e,n,r,l,t);case 3:e:{if(Nc(n),e===null)throw Error(S(387));r=n.pendingProps,s=n.memoizedState,l=s.element,Ju(e,n),rl(n,r,null,t);var o=n.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=s,n.memoizedState=s,n.flags&256){l=ut(Error(S(423)),n),n=ia(e,n,r,t,l);break e}else if(r!==l){l=ut(Error(S(424)),n),n=ia(e,n,r,t,l);break e}else for(ye=pn(n.stateNode.containerInfo.firstChild),ve=n,V=!0,ze=null,t=nc(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(ot(),r===l){n=$e(e,n,t);break e}ie(e,n,r,t)}n=n.child}return n;case 5:return tc(n),e===null&&Zs(n),r=n.type,l=n.pendingProps,s=e!==null?e.memoizedProps:null,o=l.children,Ws(r,l)?o=null:s!==null&&Ws(r,s)&&(n.flags|=32),Ec(e,n),ie(e,n,o,t),n.child;case 6:return e===null&&Zs(n),null;case 13:return _c(e,n,t);case 4:return Uo(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=it(n,null,r,t):ie(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),la(e,n,r,l,t);case 7:return ie(e,n,n.pendingProps,t),n.child;case 8:return ie(e,n,n.pendingProps.children,t),n.child;case 12:return ie(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,s=n.memoizedProps,o=l.value,B(nl,r._currentValue),r._currentValue=o,s!==null)if(Be(s.value,o)){if(s.children===l.children&&!fe.current){n=$e(e,n,t);break e}}else for(s=n.child,s!==null&&(s.return=n);s!==null;){var i=s.dependencies;if(i!==null){o=s.child;for(var a=i.firstContext;a!==null;){if(a.context===r){if(s.tag===1){a=Xe(-1,t&-t),a.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?a.next=a:(a.next=d.next,d.next=a),u.pending=a}}s.lanes|=t,a=s.alternate,a!==null&&(a.lanes|=t),Os(s.return,t,n),i.lanes|=t;break}a=a.next}}else if(s.tag===10)o=s.type===n.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(S(341));o.lanes|=t,i=o.alternate,i!==null&&(i.lanes|=t),Os(o,t,n),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===n){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}ie(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,tt(n,t),l=Ee(l),r=r(l),n.flags|=1,ie(e,n,r,t),n.child;case 14:return r=n.type,l=Le(r,n.pendingProps),l=Le(r.type,l),sa(e,n,r,l,t);case 15:return jc(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Fr(e,n),n.tag=1,he(r)?(e=!0,br(n)):e=!1,tt(n,t),qu(n,r,l),Hs(n,r,l,t),Ks(null,n,r,!0,e,t);case 19:return Rc(e,n,t);case 22:return xc(e,n,t)}throw Error(S(156,n.tag))};function Hc(e,n){return yu(e,n)}function Af(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(e,n,t,r){return new Af(e,n,t,r)}function ei(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Mf(e){if(typeof e=="function")return ei(e)?1:0;if(e!=null){if(e=e.$$typeof,e===wo)return 11;if(e===ko)return 14}return 2}function mn(e,n){var t=e.alternate;return t===null?(t=je(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Gr(e,n,t,r,l,s){var o=2;if(r=e,typeof e=="function")ei(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Gn:return Rn(t.children,l,s,n);case vo:o=8,l|=8;break;case ms:return e=je(12,t,n,l|2),e.elementType=ms,e.lanes=s,e;case gs:return e=je(13,t,n,l),e.elementType=gs,e.lanes=s,e;case ys:return e=je(19,t,n,l),e.elementType=ys,e.lanes=s,e;case eu:return El(t,l,s,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ba:o=10;break e;case qa:o=9;break e;case wo:o=11;break e;case ko:o=14;break e;case en:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return n=je(o,t,n,l),n.elementType=e,n.type=r,n.lanes=s,n}function Rn(e,n,t,r){return e=je(7,e,r,n),e.lanes=t,e}function El(e,n,t,r){return e=je(22,e,r,n),e.elementType=eu,e.lanes=t,e.stateNode={isHidden:!1},e}function as(e,n,t){return e=je(6,e,null,n),e.lanes=t,e}function us(e,n,t){return n=je(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Bf(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ol(0),this.expirationTimes=Ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ni(e,n,t,r,l,s,o,i,a){return e=new Bf(e,n,t,i,a),n===1?(n=1,s===!0&&(n|=8)):n=0,s=je(3,null,null,n),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fo(s),e}function Wf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Qc)}catch(e){console.error(e)}}Qc(),Ya.exports=ke;var Zf=Ya.exports,$c,Jc,wa=Zf;Jc=wa.createRoot,$c=wa.hydrateRoot;const bc={theme:"light",sideNav:!0,initialized:!1},qc=j.createContext({state:bc,init:e=>{},setTheme:e=>{},toggleSideNav:()=>{}});function si(){return j.useContext(qc)}function ka(e,n){try{localStorage.setItem(e,n)}catch(t){console.error(t)}}const Sa=({children:e})=>{const[n,t]=j.useState(bc);function r(i){i=="dark"?(document.body.classList.remove("light"),document.body.classList.add("dark")):(document.body.classList.remove("dark"),document.body.classList.add("light"))}function l(i){try{const a=localStorage.getItem("theme")||"light";let u=i.width>=500;{const d=localStorage.getItem("sideNav");d&&(u=d=="true")}r(a),t(d=>({...d,theme:a,sideNav:u}))}catch(a){console.error(a)}t(a=>({...a,initialized:!0}))}function s(i){r(i),t({...n,theme:i}),ka("theme",i)}function o(){const i=!n.sideNav;t({...n,sideNav:i}),ka("sideNav",i)}return g.jsx(qc.Provider,{value:j.useMemo(()=>({state:n,init:l,setTheme:s,toggleSideNav:o}),[n]),children:e})};/**
* @remix-run/router v1.11.0
*
* Copyright (c) Remix Software Inc.
@@ -64,7 +64,7 @@ Error generating stack: `+s.message+`
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
- */function ao(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((n,t)=>{let r=e[t];return n.concat(Array.isArray(r)?r.map(l=>[t,l]):[[t,r]])},[]))}function Th(e,n){let t=ao(e);return n&&n.forEach((r,l)=>{t.has(l)||n.getAll(l).forEach(s=>{t.append(l,s)})}),t}const zh="startTransition",Ea=Lp[zh];function Ah(e){let{basename:n,children:t,future:r,window:l}=e,s=j.useRef();s.current==null&&(s.current=Of({window:l,v5Compat:!0}));let o=s.current,[i,a]=j.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=j.useCallback(h=>{u&&Ea?Ea(()=>a(h)):a(h)},[a,u]);return j.useLayoutEffect(()=>o.listen(d),[o,d]),j.createElement(Ph,{basename:n,children:t,location:i.location,navigationType:i.action,navigator:o})}var Na;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Na||(Na={}));var _a;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_a||(_a={}));function Bh(e){let n=j.useRef(ao(e)),t=j.useRef(!1),r=Al(),l=j.useMemo(()=>Th(r.search,t.current?null:n.current),[r.search]),s=gh(),o=j.useCallback((i,a)=>{const u=ao(typeof i=="function"?i(l):i);t.current=!0,s("?"+u,a)},[s,l]);return[l,o]}const Mh="_component_nqcni_1",Wh="_sideNav_nqcni_6",Fh="_main_nqcni_13",Uh="_children_nqcni_21",Rr={component:Mh,sideNav:Wh,main:Fh,children:Uh},Vh="_list_1ltry_1",Gh="_title_1ltry_6",Zh="_listItem_1ltry_11",Oh="_listItemActive_1ltry_18",Dh="_link_1ltry_26",Un={list:Vh,title:Gh,listItem:Zh,listItemActive:Oh,link:Dh},Hh=[{path:"initialize",title:"Initialize Pool"},{path:"create-liquidity",title:"Create Liquidity"},{path:"swap",title:"Swap"}],ai=[{title:"",routes:Hh.map(e=>({...e,path:`/${e.path}`}))}],hl=ai.map(({routes:e})=>e).flat(),Xh=hl.reduce((e,n,t)=>(e[n.path]=t,e),{});function Yh(e){const n=Xh[e];if(n>=0){const t=hl[n-1]||null,r=hl[n+1]||null;return{prev:t,next:r}}return{prev:null,next:null}}const Kh=({onClick:e})=>{const n=Al();function t(r,l){r.preventDefault(),e(l)}return g.jsxs(g.Fragment,{children:[g.jsx("h3",{className:Un.category,children:"Lifecycle"}),ai.map(({routes:r,title:l},s)=>g.jsxs("div",{children:[l&&g.jsx("h3",{className:Un.title,children:l}),g.jsx("ul",{className:Un.list,children:r.map(({path:o,title:i})=>{const a=!!rp(o,n.pathname);return g.jsx("li",{className:a?Un.listItemActive:Un.listItem,children:g.jsx("a",{className:Un.link,href:o,onClick:u=>t(u,o),children:i})},o)})})]},s))]})},Qh=({size:e,className:n="",onClick:t})=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",strokeWidth:2,stroke:"currentColor",className:n,width:e,height:e,onClick:t,children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})}),$h="_component_15x91_1",Jh="_a_15x91_13",bh="_center_15x91_16",qh="_logo_15x91_21",em="_header_15x91_24",nm="_mode_15x91_28",tm="_hamburger_15x91_33",qe={component:$h,a:Jh,center:bh,logo:qh,header:em,mode:nm,hamburger:tm},rm=({size:e,className:n=""})=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",viewBox:"0 0 438.277 438.277",width:e,height:e,className:n,children:g.jsx("path",{d:"M428.756 300.104c-.664-3.81-2.334-7.047-4.996-9.713-5.9-5.903-12.752-7.142-20.554-3.716-20.937 9.708-42.641 14.558-65.097 14.558-28.171 0-54.152-6.94-77.943-20.838-23.791-13.894-42.631-32.736-56.525-56.53-13.899-23.793-20.844-49.773-20.844-77.945 0-21.888 4.333-42.683 12.991-62.384 8.66-19.7 21.176-36.973 37.543-51.82 6.283-5.898 7.713-12.752 4.287-20.557-3.236-7.801-9.041-11.511-17.415-11.132-29.121 1.141-56.72 7.664-82.797 19.556C111.33 31.478 88.917 47.13 70.168 66.548c-18.747 19.414-33.595 42.399-44.54 68.95-10.942 26.553-16.416 54.39-16.416 83.511 0 29.694 5.806 58.054 17.416 85.082 11.613 27.028 27.218 50.344 46.824 69.949 19.604 19.599 42.92 35.207 69.951 46.822 27.028 11.607 55.384 17.415 85.075 17.415 42.64 0 81.987-11.563 118.054-34.69 36.069-23.124 63.05-54.006 80.944-92.645 1.524-3.423 1.951-7.036 1.28-10.838zm-122.191 84.064c-24.646 11.711-50.676 17.562-78.087 17.562-24.743 0-48.39-4.853-70.947-14.558-22.554-9.705-41.971-22.695-58.246-38.972-16.271-16.272-29.259-35.686-38.97-58.241-9.707-22.556-14.561-46.203-14.561-70.948 0-40.922 12.135-77.466 36.403-109.636 24.266-32.165 55.531-53.959 93.788-65.379-19.795 31.405-29.694 65.379-29.694 101.926 0 34.644 8.564 66.715 25.697 96.223 17.128 29.499 40.446 52.811 69.95 69.948 29.499 17.129 61.565 25.694 96.211 25.694 10.656 0 21.129-.855 31.408-2.57-17.318 20.938-38.307 37.255-62.952 48.951z"})}),lm=({size:e,className:n=""})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 302.4 302.4",width:e,height:e,className:n,children:[g.jsx("path",{d:"M204.8 97.6C191.2 84 172 75.2 151.2 75.2s-40 8.4-53.6 22.4c-13.6 13.6-22.4 32.8-22.4 53.6s8.8 40 22.4 53.6c13.6 13.6 32.8 22.4 53.6 22.4s40-8.4 53.6-22.4c13.6-13.6 22.4-32.8 22.4-53.6s-8.4-40-22.4-53.6zm-14.4 92.8c-10 10-24 16-39.2 16s-29.2-6-39.2-16-16-24-16-39.2 6-29.2 16-39.2 24-16 39.2-16 29.2 6 39.2 16 16 24 16 39.2-6 29.2-16 39.2z",stroke:"#252519",strokeWidth:12}),g.jsx("path",{d:"M292 140.8h-30.8c-5.6 0-10.4 4.8-10.4 10.4 0 5.6 4.8 10.4 10.4 10.4H292c5.6 0 10.4-4.8 10.4-10.4 0-5.6-4.8-10.4-10.4-10.4zm-140.8 110c-5.6 0-10.4 4.8-10.4 10.4V292c0 5.6 4.8 10.4 10.4 10.4 5.6 0 10.4-4.8 10.4-10.4v-30.8c0-5.6-4.8-10.4-10.4-10.4zm106.8-7.2-22-22c-3.6-4-10.4-4-14.4 0s-4 10.4 0 14.4l22 22c4 4 10.4 4 14.4 0s4-10.4 0-14.4zM151.2 0c-5.6 0-10.4 4.8-10.4 10.4v30.8c0 5.6 4.8 10.4 10.4 10.4 5.6 0 10.4-4.8 10.4-10.4V10.4c0-5.6-4.8-10.4-10.4-10.4zm107.2 44.4c-4-4-10.4-4-14.4 0l-22 22c-4 4-4 10.4 0 14.4 3.6 4 10.4 4 14.4 0l22-22c4-4 4-10.4 0-14.4zM41.2 140.8H10.4c-5.6 0-10.4 4.8-10.4 10.4s4.4 10.4 10.4 10.4h30.8c5.6 0 10.4-4.8 10.4-10.4 0-5.6-4.8-10.4-10.4-10.4zm39.2 80.8c-3.6-4-10.4-4-14.4 0l-22 22c-4 4-4 10.4 0 14.4s10.4 4 14.4 0l22-22c4-4 4-10.4 0-14.4zm0-155.2-22-22c-4-4-10.4-4-14.4 0s-4 10.4 0 14.4l22 22c4 4 10.4 4 14.4 0s4-10.4 0-14.4z",stroke:"#252519",strokeWidth:5})]}),sm=({size:e,className:n="",fill:t})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1300 1300",xmlSpace:"preserve",width:e,height:e,className:n,fill:t,children:[g.jsx("path",{opacity:.45,d:"M773.772 253.308 643.068 485.61H381.842l130.614-232.302h261.316"}),g.jsx("path",{opacity:.6,d:"M643.068 485.61h261.318L773.772 253.308H512.456L643.068 485.61z"}),g.jsx("path",{opacity:.8,d:"M512.456 717.822 643.068 485.61 512.456 253.308 381.842 485.61l130.614 232.212z"}),g.jsx("path",{opacity:.45,d:"m513.721 1066.275 130.704-232.303h261.318l-130.705 232.303H513.721"}),g.jsx("path",{opacity:.6,d:"M644.424 833.973H383.107l130.613 232.303h261.317L644.424 833.973z"}),g.jsx("path",{opacity:.8,d:"M775.038 601.761 644.424 833.973l130.614 232.303 130.704-232.303-130.704-232.212z"})]});function om(){const{state:e,setTheme:n,toggleSideNav:t}=si();function r(){n(e.theme=="light"?"dark":"light")}return g.jsxs("div",{className:qe.component,children:[g.jsx(Qh,{size:20,className:qe.hamburger,onClick:t}),g.jsxs("div",{className:qe.center,children:[g.jsx("a",{href:"/",className:qe.a,children:g.jsx(sm,{className:qe.logo,size:30,fill:e.theme=="dark"?"rgb(0, 255, 0)":"currentColor"})}),g.jsx("h3",{className:qe.header,children:g.jsx("a",{href:"/",className:qe.a,children:"Uniswap v4 by Example"})})]}),g.jsx("button",{className:qe.mode,onClick:r,children:e.theme=="dark"?g.jsx(rm,{size:20}):g.jsx(lm,{size:20})})]})}const im="_component_h47vh_1",am="_row_h47vh_8",um="_bar_h47vh_13",cm="_to_h47vh_21",pm="_social_h47vh_24",dm="_sce_h47vh_29",fm="_telegram_h47vh_34",hm="_discord_h47vh_38",mm="_youTube_h47vh_42",Et={component:im,row:am,bar:um,to:cm,social:pm,sce:dm,telegram:fm,discord:hm,youTube:mm};function gm(){return g.jsxs("div",{className:Et.component,children:[g.jsxs("div",{className:Et.row,children:[g.jsx("span",{children:"🦄 "}),g.jsx("a",{href:"https://uniswapfoundation.org",target:"__blank",children:"Uniswap Foundation"})]}),g.jsxs("div",{className:Et.row,children:[g.jsx("a",{href:"https://github.com/uniswapfoundation/v4-by-example",target:"__blank",children:"source"}),g.jsx("div",{className:Et.bar,children:"|"}),g.jsx("a",{href:"https://github.com/uniswapfoundation/v4-by-example/blob/gh-pages/LICENSE",target:"__blank",children:"license"})]}),g.jsxs("div",{className:Et.row,children:["(fork of ",g.jsx("a",{href:"https://solidity-by-example.org",target:"__blank",children:"solidity-by-example)"})]})]})}const ym=({children:e})=>{const{state:n}=si(),t=j.useRef(null);j.useLayoutEffect(()=>{t.current&&(t.current.scrollTop=sessionStorage.getItem("scroll")||0)},[]);function r(l){var s;sessionStorage.setItem("scroll",(s=t.current)==null?void 0:s.scrollTop),window.location.href=l}return g.jsxs("div",{className:Rr.component,children:[g.jsx("div",{ref:t,className:Rr.sideNav,style:n.sideNav?{width:"var(--side-nav-width)",padding:"20px 10px 60px 10px"}:{width:0},children:n.sideNav?g.jsx(Kh,{onClick:r}):null}),g.jsxs("div",{className:Rr.main,children:[g.jsx(om,{}),g.jsxs("div",{className:Rr.children,children:[e,g.jsx(gm,{})]})]})]})},pp=({title:e,description:n})=>(j.useEffect(()=>{document.title=e;const t=document.querySelector("meta[name='description']");t&&t.setAttribute("content",n)},[]),null),vm=({html:e})=>(j.useEffect(()=>{if(navigator.userAgent==="ReactSnap")return;const n=r=>{const l=document.createElement("textarea");l.setAttribute("style","width:1px;border:0;opacity:0;"),document.body.appendChild(l),l.value=r.innerText,l.select(),document.execCommand("copy"),document.body.removeChild(l)};document.querySelectorAll("pre").forEach(r=>{const l=document.createElement("div");l.className="buttons";const s=document.createElement("button");s.className="fa fa-copy clip-button",s.title="Copy to clipboard",s.ariaLabel="Copy to clipboard";const o=document.createElement("i");o.className="tooltiptext",s.appendChild(o),l.appendChild(s);const i=r.firstChild;r.insertBefore(l,i),s.addEventListener("click",a=>{a.preventDefault(),n(r.childNodes[1])})})},[]),g.jsx("div",{dangerouslySetInnerHTML:{__html:e}})),wm="_component_ni5i2_1",km="_content_ni5i2_5",Sm="_prevNext_ni5i2_8",ps={component:wm,content:km,prevNext:Sm},ui=({title:e,version:n,description:t,html:r,prev:l,next:s,codes:o})=>g.jsxs("div",{className:ps.component,children:[g.jsx(pp,{title:`${e} | Uniswap v4 by Example | ${n}`,description:t}),g.jsxs("div",{className:ps.content,children:[g.jsx("h2",{children:e}),g.jsx(vm,{html:r}),g.jsxs("div",{className:ps.prevNext,children:[l&&g.jsxs("a",{href:l.path,children:["< ",l.title]}),s&&g.jsxs("a",{href:s.path,children:[s.title," >"]})]}),g.jsx("h3",{children:"Try on Remix"}),g.jsx("ul",{children:o.map(({fileName:i,code:a},u)=>g.jsx("li",{children:g.jsx("a",{href:`https://remix.ethereum.org/?#code=${a}`,target:"_blank",rel:"noreferrer",children:i})},u))})]})]}),Cm="0.8.20",Im="Create Liquidity",jm="Providing Liquidity to a Uniswap V4 Pool",xm=[{fileName:"CreateLiquidity.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4yMDsKCmltcG9ydCB7SVBvb2xNYW5hZ2VyfSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy9pbnRlcmZhY2VzL0lQb29sTWFuYWdlci5zb2wiOwppbXBvcnQge1Bvb2xLZXl9IGZyb20gIkB1bmlzd2FwL3Y0LWNvcmUvY29udHJhY3RzL3R5cGVzL1Bvb2xLZXkuc29sIjsKaW1wb3J0IHtQb29sTW9kaWZ5UG9zaXRpb25UZXN0fSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy90ZXN0L1Bvb2xNb2RpZnlQb3NpdGlvblRlc3Quc29sIjsKCmNvbnRyYWN0IENyZWF0ZUxpcXVpZGl0eSB7CiAgICAvLyBzZXQgdGhlIHJvdXRlciBhZGRyZXNzCiAgICBQb29sTW9kaWZ5UG9zaXRpb25UZXN0IGxwUm91dGVyID0gUG9vbE1vZGlmeVBvc2l0aW9uVGVzdCgweDAxKTsKCiAgICBmdW5jdGlvbiBjcmVhdGVMaXF1aWRpdHkoCiAgICAgICAgUG9vbEtleSBtZW1vcnkgcG9vbEtleSwKICAgICAgICBpbnQyNCB0aWNrTG93ZXIsCiAgICAgICAgaW50MjQgdGlja1VwcGVyLAogICAgICAgIGludDI1NiBsaXF1aWRpdHksCiAgICAgICAgYnl0ZXMgY2FsbGRhdGEgaG9va0RhdGEKICAgICkgZXh0ZXJuYWwgewogICAgICAgIC8vIGlmIDAgPCBsaXF1aWRpdHk6IGFkZCBsaXF1aWRpdHkgLS0gb3RoZXJ3aXNlIHJlbW92ZSBsaXF1aWRpdHkKICAgICAgICBscFJvdXRlci5tb2RpZnlQb3NpdGlvbigKICAgICAgICAgICAgcG9vbEtleSwKICAgICAgICAgICAgSVBvb2xNYW5hZ2VyLk1vZGlmeVBvc2l0aW9uUGFyYW1zKHt0aWNrTG93ZXI6IHRpY2tMb3dlciwgdGlja1VwcGVyOiB0aWNrVXBwZXIsIGxpcXVpZGl0eURlbHRhOiBsaXF1aWRpdHl9KSwKICAgICAgICAgICAgaG9va0RhdGEKICAgICAgICApOwogICAgfQp9Cg=="},{fileName:"CreateLiquidityExampleInputs.sol",code:"aW1wb3J0IHtQb29sTW9kaWZ5UG9zaXRpb25UZXN0fSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy90ZXN0L1Bvb2xNb2RpZnlQb3NpdGlvblRlc3Quc29sIjsKClBvb2xNb2RpZnlQb3NpdGlvblRlc3QgbHBSb3V0ZXIgPSBQb29sTW9kaWZ5UG9zaXRpb25UZXN0KDB4MDEpOwphZGRyZXNzIHRva2VuMCA9IGFkZHJlc3MoMHgxMSk7CmFkZHJlc3MgdG9rZW4xID0gYWRkcmVzcygweDIyKTsKYWRkcmVzcyBob29rQWRkcmVzcyA9IGFkZHJlc3MoMHg4MCk7CgovLyBQb29sIHRoYXQgd2lsbCByZWNlaWV2ZSBsaXF1aWRpdHkKUG9vbEtleSBtZW1vcnkgcG9vbCA9IFBvb2xLZXkoewogICAgY3VycmVuY3kwOiBDdXJyZW5jeS53cmFwKHRva2VuMCksCiAgICBjdXJyZW5jeTE6IEN1cnJlbmN5LndyYXAodG9rZW4xKSwKICAgIGZlZTogMzAwMCwKICAgIHRpY2tTcGFjaW5nOiA2MCwKICAgIGhvb2tzOiBJSG9va3MoaG9va0FkZHJlc3MpCn0pOwoKLy8gYXBwcm92ZSB0b2tlbnMgdG8gdGhlIExQIFJvdXRlcgpJRVJDMjAodG9rZW4wKS5hcHByb3ZlKGFkZHJlc3MobHBSb3V0ZXIpLCB0eXBlKHVpbnQyNTYpLm1heCk7CklFUkMyMCh0b2tlbjEpLmFwcHJvdmUoYWRkcmVzcyhscFJvdXRlciksIHR5cGUodWludDI1NikubWF4KTsKCi8vIFByb3ZpZGUgMTBlMTggd29ydGggb2YgbGlxdWlkaXR5IG9uIHRoZSByYW5nZSBvZiBbLTYwMCwgNjAwXQppbnQyNCB0aWNrTG93ZXIgPSAtNjAwOwppbnQyNCB0aWNrVXBwZXIgPSA2MDA7CmludDI1NiBsaXF1aWRpdHkgPSAxMGUxODsKbHBSb3V0ZXIubW9kaWZ5UG9zaXRpb24oCiAgICBwb29sS2V5LAogICAgSVBvb2xNYW5hZ2VyLk1vZGlmeVBvc2l0aW9uUGFyYW1zKHt0aWNrTG93ZXI6IHRpY2tMb3dlciwgdGlja1VwcGVyOiB0aWNrVXBwZXIsIGxpcXVpZGl0eURlbHRhOiBsaXF1aWRpdHl9KSwKICAgIG5ldyBieXRlcygwKQopOwo="}],Em=`
+ */function ao(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((n,t)=>{let r=e[t];return n.concat(Array.isArray(r)?r.map(l=>[t,l]):[[t,r]])},[]))}function Th(e,n){let t=ao(e);return n&&n.forEach((r,l)=>{t.has(l)||n.getAll(l).forEach(s=>{t.append(l,s)})}),t}const zh="startTransition",Ea=Lp[zh];function Ah(e){let{basename:n,children:t,future:r,window:l}=e,s=j.useRef();s.current==null&&(s.current=Of({window:l,v5Compat:!0}));let o=s.current,[i,a]=j.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=j.useCallback(h=>{u&&Ea?Ea(()=>a(h)):a(h)},[a,u]);return j.useLayoutEffect(()=>o.listen(d),[o,d]),j.createElement(Ph,{basename:n,children:t,location:i.location,navigationType:i.action,navigator:o})}var Na;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Na||(Na={}));var _a;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_a||(_a={}));function Mh(e){let n=j.useRef(ao(e)),t=j.useRef(!1),r=Al(),l=j.useMemo(()=>Th(r.search,t.current?null:n.current),[r.search]),s=gh(),o=j.useCallback((i,a)=>{const u=ao(typeof i=="function"?i(l):i);t.current=!0,s("?"+u,a)},[s,l]);return[l,o]}const Bh="_component_nqcni_1",Wh="_sideNav_nqcni_6",Fh="_main_nqcni_13",Uh="_children_nqcni_21",Rr={component:Bh,sideNav:Wh,main:Fh,children:Uh},Vh="_list_1ltry_1",Gh="_title_1ltry_6",Zh="_listItem_1ltry_11",Oh="_listItemActive_1ltry_18",Dh="_link_1ltry_26",Un={list:Vh,title:Gh,listItem:Zh,listItemActive:Oh,link:Dh},Hh=[{path:"initialize",title:"Initialize Pool"},{path:"create-liquidity",title:"Create Liquidity"},{path:"swap",title:"Swap"}],ai=[{title:"",routes:Hh.map(e=>({...e,path:`/${e.path}`}))}],hl=ai.map(({routes:e})=>e).flat(),Xh=hl.reduce((e,n,t)=>(e[n.path]=t,e),{});function Yh(e){const n=Xh[e];if(n>=0){const t=hl[n-1]||null,r=hl[n+1]||null;return{prev:t,next:r}}return{prev:null,next:null}}const Kh=({onClick:e})=>{const n=Al();function t(r,l){r.preventDefault(),e(l)}return g.jsxs(g.Fragment,{children:[g.jsx("h3",{className:Un.category,children:"Lifecycle"}),ai.map(({routes:r,title:l},s)=>g.jsxs("div",{children:[l&&g.jsx("h3",{className:Un.title,children:l}),g.jsx("ul",{className:Un.list,children:r.map(({path:o,title:i})=>{const a=!!rp(o,n.pathname);return g.jsx("li",{className:a?Un.listItemActive:Un.listItem,children:g.jsx("a",{className:Un.link,href:o,onClick:u=>t(u,o),children:i})},o)})})]},s))]})},Qh=({size:e,className:n="",onClick:t})=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",strokeWidth:2,stroke:"currentColor",className:n,width:e,height:e,onClick:t,children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})}),$h="_component_15x91_1",Jh="_a_15x91_13",bh="_center_15x91_16",qh="_logo_15x91_21",em="_header_15x91_24",nm="_mode_15x91_28",tm="_hamburger_15x91_33",qe={component:$h,a:Jh,center:bh,logo:qh,header:em,mode:nm,hamburger:tm},rm=({size:e,className:n=""})=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#fff",viewBox:"0 0 438.277 438.277",width:e,height:e,className:n,children:g.jsx("path",{d:"M428.756 300.104c-.664-3.81-2.334-7.047-4.996-9.713-5.9-5.903-12.752-7.142-20.554-3.716-20.937 9.708-42.641 14.558-65.097 14.558-28.171 0-54.152-6.94-77.943-20.838-23.791-13.894-42.631-32.736-56.525-56.53-13.899-23.793-20.844-49.773-20.844-77.945 0-21.888 4.333-42.683 12.991-62.384 8.66-19.7 21.176-36.973 37.543-51.82 6.283-5.898 7.713-12.752 4.287-20.557-3.236-7.801-9.041-11.511-17.415-11.132-29.121 1.141-56.72 7.664-82.797 19.556C111.33 31.478 88.917 47.13 70.168 66.548c-18.747 19.414-33.595 42.399-44.54 68.95-10.942 26.553-16.416 54.39-16.416 83.511 0 29.694 5.806 58.054 17.416 85.082 11.613 27.028 27.218 50.344 46.824 69.949 19.604 19.599 42.92 35.207 69.951 46.822 27.028 11.607 55.384 17.415 85.075 17.415 42.64 0 81.987-11.563 118.054-34.69 36.069-23.124 63.05-54.006 80.944-92.645 1.524-3.423 1.951-7.036 1.28-10.838zm-122.191 84.064c-24.646 11.711-50.676 17.562-78.087 17.562-24.743 0-48.39-4.853-70.947-14.558-22.554-9.705-41.971-22.695-58.246-38.972-16.271-16.272-29.259-35.686-38.97-58.241-9.707-22.556-14.561-46.203-14.561-70.948 0-40.922 12.135-77.466 36.403-109.636 24.266-32.165 55.531-53.959 93.788-65.379-19.795 31.405-29.694 65.379-29.694 101.926 0 34.644 8.564 66.715 25.697 96.223 17.128 29.499 40.446 52.811 69.95 69.948 29.499 17.129 61.565 25.694 96.211 25.694 10.656 0 21.129-.855 31.408-2.57-17.318 20.938-38.307 37.255-62.952 48.951z"})}),lm=({size:e,className:n=""})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 302.4 302.4",width:e,height:e,className:n,children:[g.jsx("path",{d:"M204.8 97.6C191.2 84 172 75.2 151.2 75.2s-40 8.4-53.6 22.4c-13.6 13.6-22.4 32.8-22.4 53.6s8.8 40 22.4 53.6c13.6 13.6 32.8 22.4 53.6 22.4s40-8.4 53.6-22.4c13.6-13.6 22.4-32.8 22.4-53.6s-8.4-40-22.4-53.6zm-14.4 92.8c-10 10-24 16-39.2 16s-29.2-6-39.2-16-16-24-16-39.2 6-29.2 16-39.2 24-16 39.2-16 29.2 6 39.2 16 16 24 16 39.2-6 29.2-16 39.2z",stroke:"#252519",strokeWidth:12}),g.jsx("path",{d:"M292 140.8h-30.8c-5.6 0-10.4 4.8-10.4 10.4 0 5.6 4.8 10.4 10.4 10.4H292c5.6 0 10.4-4.8 10.4-10.4 0-5.6-4.8-10.4-10.4-10.4zm-140.8 110c-5.6 0-10.4 4.8-10.4 10.4V292c0 5.6 4.8 10.4 10.4 10.4 5.6 0 10.4-4.8 10.4-10.4v-30.8c0-5.6-4.8-10.4-10.4-10.4zm106.8-7.2-22-22c-3.6-4-10.4-4-14.4 0s-4 10.4 0 14.4l22 22c4 4 10.4 4 14.4 0s4-10.4 0-14.4zM151.2 0c-5.6 0-10.4 4.8-10.4 10.4v30.8c0 5.6 4.8 10.4 10.4 10.4 5.6 0 10.4-4.8 10.4-10.4V10.4c0-5.6-4.8-10.4-10.4-10.4zm107.2 44.4c-4-4-10.4-4-14.4 0l-22 22c-4 4-4 10.4 0 14.4 3.6 4 10.4 4 14.4 0l22-22c4-4 4-10.4 0-14.4zM41.2 140.8H10.4c-5.6 0-10.4 4.8-10.4 10.4s4.4 10.4 10.4 10.4h30.8c5.6 0 10.4-4.8 10.4-10.4 0-5.6-4.8-10.4-10.4-10.4zm39.2 80.8c-3.6-4-10.4-4-14.4 0l-22 22c-4 4-4 10.4 0 14.4s10.4 4 14.4 0l22-22c4-4 4-10.4 0-14.4zm0-155.2-22-22c-4-4-10.4-4-14.4 0s-4 10.4 0 14.4l22 22c4 4 10.4 4 14.4 0s4-10.4 0-14.4z",stroke:"#252519",strokeWidth:5})]}),sm=({size:e,className:n="",fill:t})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1300 1300",xmlSpace:"preserve",width:e,height:e,className:n,fill:t,children:[g.jsx("path",{opacity:.45,d:"M773.772 253.308 643.068 485.61H381.842l130.614-232.302h261.316"}),g.jsx("path",{opacity:.6,d:"M643.068 485.61h261.318L773.772 253.308H512.456L643.068 485.61z"}),g.jsx("path",{opacity:.8,d:"M512.456 717.822 643.068 485.61 512.456 253.308 381.842 485.61l130.614 232.212z"}),g.jsx("path",{opacity:.45,d:"m513.721 1066.275 130.704-232.303h261.318l-130.705 232.303H513.721"}),g.jsx("path",{opacity:.6,d:"M644.424 833.973H383.107l130.613 232.303h261.317L644.424 833.973z"}),g.jsx("path",{opacity:.8,d:"M775.038 601.761 644.424 833.973l130.614 232.303 130.704-232.303-130.704-232.212z"})]});function om(){const{state:e,setTheme:n,toggleSideNav:t}=si();function r(){n(e.theme=="light"?"dark":"light")}return g.jsxs("div",{className:qe.component,children:[g.jsx(Qh,{size:20,className:qe.hamburger,onClick:t}),g.jsxs("div",{className:qe.center,children:[g.jsx("a",{href:"/",className:qe.a,children:g.jsx(sm,{className:qe.logo,size:30,fill:e.theme=="dark"?"rgb(0, 255, 0)":"currentColor"})}),g.jsx("h3",{className:qe.header,children:g.jsx("a",{href:"/",className:qe.a,children:"Uniswap v4 by Example"})})]}),g.jsx("button",{className:qe.mode,onClick:r,children:e.theme=="dark"?g.jsx(rm,{size:20}):g.jsx(lm,{size:20})})]})}const im="_component_h47vh_1",am="_row_h47vh_8",um="_bar_h47vh_13",cm="_to_h47vh_21",pm="_social_h47vh_24",dm="_sce_h47vh_29",fm="_telegram_h47vh_34",hm="_discord_h47vh_38",mm="_youTube_h47vh_42",Et={component:im,row:am,bar:um,to:cm,social:pm,sce:dm,telegram:fm,discord:hm,youTube:mm};function gm(){return g.jsxs("div",{className:Et.component,children:[g.jsxs("div",{className:Et.row,children:[g.jsx("span",{children:"🦄 "}),g.jsx("a",{href:"https://uniswapfoundation.org",target:"__blank",children:"Uniswap Foundation"})]}),g.jsxs("div",{className:Et.row,children:[g.jsx("a",{href:"https://github.com/uniswapfoundation/v4-by-example",target:"__blank",children:"source"}),g.jsx("div",{className:Et.bar,children:"|"}),g.jsx("a",{href:"https://github.com/uniswapfoundation/v4-by-example/blob/gh-pages/LICENSE",target:"__blank",children:"license"})]}),g.jsxs("div",{className:Et.row,children:["(fork of ",g.jsx("a",{href:"https://solidity-by-example.org",target:"__blank",children:"solidity-by-example)"})]})]})}const ym=({children:e})=>{const{state:n}=si(),t=j.useRef(null);j.useLayoutEffect(()=>{t.current&&(t.current.scrollTop=sessionStorage.getItem("scroll")||0)},[]);function r(l){var s;sessionStorage.setItem("scroll",(s=t.current)==null?void 0:s.scrollTop),window.location.href=l}return g.jsxs("div",{className:Rr.component,children:[g.jsx("div",{ref:t,className:Rr.sideNav,style:n.sideNav?{width:"var(--side-nav-width)",padding:"20px 10px 60px 10px"}:{width:0},children:n.sideNav?g.jsx(Kh,{onClick:r}):null}),g.jsxs("div",{className:Rr.main,children:[g.jsx(om,{}),g.jsxs("div",{className:Rr.children,children:[e,g.jsx(gm,{})]})]})]})},pp=({title:e,description:n})=>(j.useEffect(()=>{document.title=e;const t=document.querySelector("meta[name='description']");t&&t.setAttribute("content",n)},[]),null),vm=({html:e})=>(j.useEffect(()=>{if(navigator.userAgent==="ReactSnap")return;const n=r=>{const l=document.createElement("textarea");l.setAttribute("style","width:1px;border:0;opacity:0;"),document.body.appendChild(l),l.value=r.innerText,l.select(),document.execCommand("copy"),document.body.removeChild(l)};document.querySelectorAll("pre").forEach(r=>{const l=document.createElement("div");l.className="buttons";const s=document.createElement("button");s.className="fa fa-copy clip-button",s.title="Copy to clipboard",s.ariaLabel="Copy to clipboard";const o=document.createElement("i");o.className="tooltiptext",s.appendChild(o),l.appendChild(s);const i=r.firstChild;r.insertBefore(l,i),s.addEventListener("click",a=>{a.preventDefault(),n(r.childNodes[1])})})},[]),g.jsx("div",{dangerouslySetInnerHTML:{__html:e}})),wm="_component_ni5i2_1",km="_content_ni5i2_5",Sm="_prevNext_ni5i2_8",ps={component:wm,content:km,prevNext:Sm},ui=({title:e,version:n,description:t,html:r,prev:l,next:s,codes:o})=>g.jsxs("div",{className:ps.component,children:[g.jsx(pp,{title:`${e} | Uniswap v4 by Example | ${n}`,description:t}),g.jsxs("div",{className:ps.content,children:[g.jsx("h2",{children:e}),g.jsx(vm,{html:r}),g.jsxs("div",{className:ps.prevNext,children:[l&&g.jsxs("a",{href:l.path,children:["< ",l.title]}),s&&g.jsxs("a",{href:s.path,children:[s.title," >"]})]}),g.jsx("h3",{children:"Try on Remix"}),g.jsx("ul",{children:o.map(({fileName:i,code:a},u)=>g.jsx("li",{children:g.jsx("a",{href:`https://remix.ethereum.org/?#code=${a}`,target:"_blank",rel:"noreferrer",children:i})},u))})]})]}),Cm="0.8.20",Im="Create Liquidity",jm="Providing Liquidity to a Uniswap V4 Pool",xm=[{fileName:"CreateLiquidity.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4yMDsKCmltcG9ydCB7SVBvb2xNYW5hZ2VyfSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy9pbnRlcmZhY2VzL0lQb29sTWFuYWdlci5zb2wiOwppbXBvcnQge1Bvb2xLZXl9IGZyb20gIkB1bmlzd2FwL3Y0LWNvcmUvY29udHJhY3RzL3R5cGVzL1Bvb2xLZXkuc29sIjsKaW1wb3J0IHtQb29sTW9kaWZ5UG9zaXRpb25UZXN0fSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy90ZXN0L1Bvb2xNb2RpZnlQb3NpdGlvblRlc3Quc29sIjsKCmNvbnRyYWN0IENyZWF0ZUxpcXVpZGl0eSB7CiAgICAvLyBzZXQgdGhlIHJvdXRlciBhZGRyZXNzCiAgICBQb29sTW9kaWZ5UG9zaXRpb25UZXN0IGxwUm91dGVyID0gUG9vbE1vZGlmeVBvc2l0aW9uVGVzdCgweDAxKTsKCiAgICBmdW5jdGlvbiBjcmVhdGVMaXF1aWRpdHkoCiAgICAgICAgUG9vbEtleSBtZW1vcnkgcG9vbEtleSwKICAgICAgICBpbnQyNCB0aWNrTG93ZXIsCiAgICAgICAgaW50MjQgdGlja1VwcGVyLAogICAgICAgIGludDI1NiBsaXF1aWRpdHksCiAgICAgICAgYnl0ZXMgY2FsbGRhdGEgaG9va0RhdGEKICAgICkgZXh0ZXJuYWwgewogICAgICAgIC8vIGlmIDAgPCBsaXF1aWRpdHk6IGFkZCBsaXF1aWRpdHkgLS0gb3RoZXJ3aXNlIHJlbW92ZSBsaXF1aWRpdHkKICAgICAgICBscFJvdXRlci5tb2RpZnlQb3NpdGlvbigKICAgICAgICAgICAgcG9vbEtleSwKICAgICAgICAgICAgSVBvb2xNYW5hZ2VyLk1vZGlmeVBvc2l0aW9uUGFyYW1zKHt0aWNrTG93ZXI6IHRpY2tMb3dlciwgdGlja1VwcGVyOiB0aWNrVXBwZXIsIGxpcXVpZGl0eURlbHRhOiBsaXF1aWRpdHl9KSwKICAgICAgICAgICAgaG9va0RhdGEKICAgICAgICApOwogICAgfQp9Cg=="},{fileName:"CreateLiquidityExampleInputs.sol",code:"aW1wb3J0IHtQb29sTW9kaWZ5UG9zaXRpb25UZXN0fSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy90ZXN0L1Bvb2xNb2RpZnlQb3NpdGlvblRlc3Quc29sIjsKClBvb2xNb2RpZnlQb3NpdGlvblRlc3QgbHBSb3V0ZXIgPSBQb29sTW9kaWZ5UG9zaXRpb25UZXN0KDB4MDEpOwphZGRyZXNzIHRva2VuMCA9IGFkZHJlc3MoMHgxMSk7CmFkZHJlc3MgdG9rZW4xID0gYWRkcmVzcygweDIyKTsKYWRkcmVzcyBob29rQWRkcmVzcyA9IGFkZHJlc3MoMHg4MCk7CgovLyBQb29sIHRoYXQgd2lsbCByZWNlaWV2ZSBsaXF1aWRpdHkKUG9vbEtleSBtZW1vcnkgcG9vbCA9IFBvb2xLZXkoewogICAgY3VycmVuY3kwOiBDdXJyZW5jeS53cmFwKHRva2VuMCksCiAgICBjdXJyZW5jeTE6IEN1cnJlbmN5LndyYXAodG9rZW4xKSwKICAgIGZlZTogMzAwMCwKICAgIHRpY2tTcGFjaW5nOiA2MCwKICAgIGhvb2tzOiBJSG9va3MoaG9va0FkZHJlc3MpCn0pOwoKLy8gYXBwcm92ZSB0b2tlbnMgdG8gdGhlIExQIFJvdXRlcgpJRVJDMjAodG9rZW4wKS5hcHByb3ZlKGFkZHJlc3MobHBSb3V0ZXIpLCB0eXBlKHVpbnQyNTYpLm1heCk7CklFUkMyMCh0b2tlbjEpLmFwcHJvdmUoYWRkcmVzcyhscFJvdXRlciksIHR5cGUodWludDI1NikubWF4KTsKCi8vIFByb3ZpZGUgMTBlMTggd29ydGggb2YgbGlxdWlkaXR5IG9uIHRoZSByYW5nZSBvZiBbLTYwMCwgNjAwXQppbnQyNCB0aWNrTG93ZXIgPSAtNjAwOwppbnQyNCB0aWNrVXBwZXIgPSA2MDA7CmludDI1NiBsaXF1aWRpdHkgPSAxMGUxODsKbHBSb3V0ZXIubW9kaWZ5UG9zaXRpb24oCiAgICBwb29sS2V5LAogICAgSVBvb2xNYW5hZ2VyLk1vZGlmeVBvc2l0aW9uUGFyYW1zKHt0aWNrTG93ZXI6IHRpY2tMb3dlciwgdGlja1VwcGVyOiB0aWNrVXBwZXIsIGxpcXVpZGl0eURlbHRhOiBsaXF1aWRpdHl9KSwKICAgIG5ldyBieXRlcygwKQopOwo="}],Em=`
Provide Liquidity to a Uniswap v4 Pool
Creating liquidity involves using periphery contracts. It is not recommended to directly provide liquidity with poolManager.modifyPosition
@@ -136,7 +136,7 @@ lpRouter.modifyPosition(
IPoolManager.ModifyPositionParams({tickLower: tickLower, tickUpper: tickUpper, liquidityDelta: liquidity}),
new bytes (0 )
);
-`,Nm=({prev:e,next:n})=>g.jsx(ui,{version:Cm,title:Im,description:jm,html:Em,prev:e,next:n,codes:xm}),_m="0.8.20",Rm="Initialize a Pool",Pm="Initializing a pool in Uniswap v4",Lm=[{fileName:"HookDataInit.sol",code:"SVBvb2xNYW5hZ2VyIG1hbmFnZXIgPSBJUG9vbE1hbmFnZXIoMHgwMSk7CgphZGRyZXNzIGhvb2sgPSBhZGRyZXNzKDB4ODApOyAvLyBwcmVmaXggaW5kaWNhdGVzIHRoZSBob29rIG9ubHkgaGFzIGEgYmVmb3JlSW5pdGlhbGl6ZSgpIGZ1bmN0aW9uCmFkZHJlc3MgdG9rZW4wID0gYWRkcmVzcygweDExKTsKYWRkcmVzcyB0b2tlbjEgPSBhZGRyZXNzKDB4MjIpOwp1aW50MjQgc3dhcEZlZSA9IDMwMDA7IC8vIDAuMDUlIGZlZSB0aWVyCmludDI0IHRpY2tTcGFjaW5nID0gNjA7CgovLyBmbG9vcihzcXJ0KDEpICogMl45NikKdWludDE2MCBzdGFydGluZ1ByaWNlID0gNzkyMjgxNjI1MTQyNjQzMzc1OTM1NDM5NTAzMzY7CgovLyBBc3N1bWUgdGhlIGN1c3RvbSBob29rIHJlcXVpcmVzIGEgdGltZXN0YW1wIHdoZW4gaW5pdGlhbGl6aW5nIGl0CmJ5dGVzIG1lbW9yeSBob29rRGF0YSA9IGFiaS5lbmNvZGUoYmxvY2sudGltZXN0YW1wKTsKClBvb2xLZXkgbWVtb3J5IHBvb2wgPSBQb29sS2V5KHsKICAgIGN1cnJlbmN5MDogQ3VycmVuY3kud3JhcCh0b2tlbjApLAogICAgY3VycmVuY3kxOiBDdXJyZW5jeS53cmFwKHRva2VuMSksCiAgICBmZWU6IHN3YXBGZWUsCiAgICB0aWNrU3BhY2luZzogdGlja1NwYWNpbmcsCiAgICBob29rczogSUhvb2tzKGhvb2spCn0pOwptYW5hZ2VyLmluaXRpYWxpemUocG9vbCwgc3RhcnRpbmdQcmljZSwgaG9va0RhdGEpOw=="},{fileName:"Hookless.sol",code:"SVBvb2xNYW5hZ2VyIG1hbmFnZXIgPSBJUG9vbE1hbmFnZXIoMHgwMSk7CgphZGRyZXNzIHRva2VuMCA9IGFkZHJlc3MoMHgxMSk7CmFkZHJlc3MgdG9rZW4xID0gYWRkcmVzcygweDIyKTsKdWludDI0IHN3YXBGZWUgPSA1MDA7IC8vIDAuMDUlIGZlZSB0aWVyCmludDI0IHRpY2tTcGFjaW5nID0gMTA7CgovLyBmbG9vcihzcXJ0KDEpICogMl45NikKdWludDE2MCBzdGFydGluZ1ByaWNlID0gNzkyMjgxNjI1MTQyNjQzMzc1OTM1NDM5NTAzMzY7CgovLyBob29rbGVzcyBwb29sIGRvZXNudCBleHBlY3QgYW55IGluaXRpYWxpemF0aW9uIGRhdGEKYnl0ZXMgbWVtb3J5IGhvb2tEYXRhID0gbmV3IGJ5dGVzKDApOwoKUG9vbEtleSBtZW1vcnkgcG9vbCA9IFBvb2xLZXkoewogICAgY3VycmVuY3kwOiBDdXJyZW5jeS53cmFwKHRva2VuMCksCiAgICBjdXJyZW5jeTE6IEN1cnJlbmN5LndyYXAodG9rZW4xKSwKICAgIGZlZTogc3dhcEZlZSwKICAgIHRpY2tTcGFjaW5nOiB0aWNrU3BhY2luZywKICAgIGhvb2tzOiBJSG9va3MoYWRkcmVzcygweDApKSAvLyAhISEgSG9va2xlc3MgcG9vbCBpcyBhZGRyZXNzKDB4MCkKfSk7Cm1hbmFnZXIuaW5pdGlhbGl6ZShwb29sLCBzdGFydGluZ1ByaWNlLCBob29rRGF0YSk7"},{fileName:"PoolInitialize.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4yMDsKCmltcG9ydCB7SVBvb2xNYW5hZ2VyfSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy9pbnRlcmZhY2VzL0lQb29sTWFuYWdlci5zb2wiOwppbXBvcnQge0lIb29rc30gZnJvbSAiQHVuaXN3YXAvdjQtY29yZS9jb250cmFjdHMvaW50ZXJmYWNlcy9JSG9va3Muc29sIjsKaW1wb3J0IHtQb29sS2V5fSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy90eXBlcy9Qb29sS2V5LnNvbCI7CmltcG9ydCB7Q3VycmVuY3lMaWJyYXJ5LCBDdXJyZW5jeX0gZnJvbSAiQHVuaXN3YXAvdjQtY29yZS9jb250cmFjdHMvdHlwZXMvQ3VycmVuY3kuc29sIjsKCmNvbnRyYWN0IFBvb2xJbml0aWFsaXplIHsKICAgIHVzaW5nIEN1cnJlbmN5TGlicmFyeSBmb3IgQ3VycmVuY3k7CgogICAgLy8gc2V0IHRoZSBwb29sIG1hbmFnZXIgYWRkcmVzcwogICAgSVBvb2xNYW5hZ2VyIG1hbmFnZXIgPSBJUG9vbE1hbmFnZXIoMHgwMSk7CgogICAgZnVuY3Rpb24gaW5pdCgKICAgICAgICBhZGRyZXNzIHRva2VuMCwKICAgICAgICBhZGRyZXNzIHRva2VuMSwKICAgICAgICB1aW50MjQgc3dhcEZlZSwKICAgICAgICBpbnQyNCB0aWNrU3BhY2luZywKICAgICAgICBhZGRyZXNzIGhvb2ssCiAgICAgICAgdWludDE2MCBzcXJ0UHJpY2VYOTYsCiAgICAgICAgYnl0ZXMgY2FsbGRhdGEgaG9va0RhdGEKICAgICkgZXh0ZXJuYWwgewogICAgICAgIC8vIHNvcnQgeW91ciB0b2tlbnMhIHY0IHJlcXVpcmVzIHRva2VuMCA8IHRva2VuMQogICAgICAgIGlmICh0b2tlbjAgPiB0b2tlbjEpIHsKICAgICAgICAgICAgKHRva2VuMCwgdG9rZW4xKSA9ICh0b2tlbjEsIHRva2VuMCk7CiAgICAgICAgfQoKICAgICAgICBQb29sS2V5IG1lbW9yeSBwb29sID0gUG9vbEtleSh7CiAgICAgICAgICAgIGN1cnJlbmN5MDogQ3VycmVuY3kud3JhcCh0b2tlbjApLAogICAgICAgICAgICBjdXJyZW5jeTE6IEN1cnJlbmN5LndyYXAodG9rZW4xKSwKICAgICAgICAgICAgZmVlOiBzd2FwRmVlLAogICAgICAgICAgICB0aWNrU3BhY2luZzogdGlja1NwYWNpbmcsCiAgICAgICAgICAgIGhvb2tzOiBJSG9va3MoaG9vaykKICAgICAgICB9KTsKICAgICAgICBtYW5hZ2VyLmluaXRpYWxpemUocG9vbCwgc3FydFByaWNlWDk2LCBob29rRGF0YSk7CiAgICB9Cn0K"}],Tm=`
+`,Nm=({prev:e,next:n})=>g.jsx(ui,{version:Cm,title:Im,description:jm,html:Em,prev:e,next:n,codes:xm}),_m="0.8.20",Rm="Initialize a Pool",Pm="Initializing a pool in Uniswap v4",Lm=[{fileName:"HookDataInit.sol",code:"SVBvb2xNYW5hZ2VyIG1hbmFnZXIgPSBJUG9vbE1hbmFnZXIoMHgwMSk7CgphZGRyZXNzIGhvb2sgPSBhZGRyZXNzKDB4ODApOyAvLyBwcmVmaXggaW5kaWNhdGVzIHRoZSBob29rIG9ubHkgaGFzIGEgYmVmb3JlSW5pdGlhbGl6ZSgpIGZ1bmN0aW9uCmFkZHJlc3MgdG9rZW4wID0gYWRkcmVzcygweDExKTsKYWRkcmVzcyB0b2tlbjEgPSBhZGRyZXNzKDB4MjIpOwp1aW50MjQgc3dhcEZlZSA9IDMwMDA7IC8vIDAuMzAlIGZlZSB0aWVyCmludDI0IHRpY2tTcGFjaW5nID0gNjA7CgovLyBmbG9vcihzcXJ0KDEpICogMl45NikKdWludDE2MCBzdGFydGluZ1ByaWNlID0gNzkyMjgxNjI1MTQyNjQzMzc1OTM1NDM5NTAzMzY7CgovLyBBc3N1bWUgdGhlIGN1c3RvbSBob29rIHJlcXVpcmVzIGEgdGltZXN0YW1wIHdoZW4gaW5pdGlhbGl6aW5nIGl0CmJ5dGVzIG1lbW9yeSBob29rRGF0YSA9IGFiaS5lbmNvZGUoYmxvY2sudGltZXN0YW1wKTsKClBvb2xLZXkgbWVtb3J5IHBvb2wgPSBQb29sS2V5KHsKICAgIGN1cnJlbmN5MDogQ3VycmVuY3kud3JhcCh0b2tlbjApLAogICAgY3VycmVuY3kxOiBDdXJyZW5jeS53cmFwKHRva2VuMSksCiAgICBmZWU6IHN3YXBGZWUsCiAgICB0aWNrU3BhY2luZzogdGlja1NwYWNpbmcsCiAgICBob29rczogSUhvb2tzKGhvb2spCn0pOwptYW5hZ2VyLmluaXRpYWxpemUocG9vbCwgc3RhcnRpbmdQcmljZSwgaG9va0RhdGEpOw=="},{fileName:"Hookless.sol",code:"SVBvb2xNYW5hZ2VyIG1hbmFnZXIgPSBJUG9vbE1hbmFnZXIoMHgwMSk7CgphZGRyZXNzIHRva2VuMCA9IGFkZHJlc3MoMHgxMSk7CmFkZHJlc3MgdG9rZW4xID0gYWRkcmVzcygweDIyKTsKdWludDI0IHN3YXBGZWUgPSA1MDA7IC8vIDAuMDUlIGZlZSB0aWVyCmludDI0IHRpY2tTcGFjaW5nID0gMTA7CgovLyBmbG9vcihzcXJ0KDEpICogMl45NikKdWludDE2MCBzdGFydGluZ1ByaWNlID0gNzkyMjgxNjI1MTQyNjQzMzc1OTM1NDM5NTAzMzY7CgovLyBob29rbGVzcyBwb29sIGRvZXNudCBleHBlY3QgYW55IGluaXRpYWxpemF0aW9uIGRhdGEKYnl0ZXMgbWVtb3J5IGhvb2tEYXRhID0gbmV3IGJ5dGVzKDApOwoKUG9vbEtleSBtZW1vcnkgcG9vbCA9IFBvb2xLZXkoewogICAgY3VycmVuY3kwOiBDdXJyZW5jeS53cmFwKHRva2VuMCksCiAgICBjdXJyZW5jeTE6IEN1cnJlbmN5LndyYXAodG9rZW4xKSwKICAgIGZlZTogc3dhcEZlZSwKICAgIHRpY2tTcGFjaW5nOiB0aWNrU3BhY2luZywKICAgIGhvb2tzOiBJSG9va3MoYWRkcmVzcygweDApKSAvLyAhISEgSG9va2xlc3MgcG9vbCBpcyBhZGRyZXNzKDB4MCkKfSk7Cm1hbmFnZXIuaW5pdGlhbGl6ZShwb29sLCBzdGFydGluZ1ByaWNlLCBob29rRGF0YSk7"},{fileName:"PoolInitialize.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4yMDsKCmltcG9ydCB7SVBvb2xNYW5hZ2VyfSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy9pbnRlcmZhY2VzL0lQb29sTWFuYWdlci5zb2wiOwppbXBvcnQge0lIb29rc30gZnJvbSAiQHVuaXN3YXAvdjQtY29yZS9jb250cmFjdHMvaW50ZXJmYWNlcy9JSG9va3Muc29sIjsKaW1wb3J0IHtQb29sS2V5fSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy90eXBlcy9Qb29sS2V5LnNvbCI7CmltcG9ydCB7Q3VycmVuY3lMaWJyYXJ5LCBDdXJyZW5jeX0gZnJvbSAiQHVuaXN3YXAvdjQtY29yZS9jb250cmFjdHMvdHlwZXMvQ3VycmVuY3kuc29sIjsKCmNvbnRyYWN0IFBvb2xJbml0aWFsaXplIHsKICAgIHVzaW5nIEN1cnJlbmN5TGlicmFyeSBmb3IgQ3VycmVuY3k7CgogICAgLy8gc2V0IHRoZSBwb29sIG1hbmFnZXIgYWRkcmVzcwogICAgSVBvb2xNYW5hZ2VyIG1hbmFnZXIgPSBJUG9vbE1hbmFnZXIoMHgwMSk7CgogICAgZnVuY3Rpb24gaW5pdCgKICAgICAgICBhZGRyZXNzIHRva2VuMCwKICAgICAgICBhZGRyZXNzIHRva2VuMSwKICAgICAgICB1aW50MjQgc3dhcEZlZSwKICAgICAgICBpbnQyNCB0aWNrU3BhY2luZywKICAgICAgICBhZGRyZXNzIGhvb2ssCiAgICAgICAgdWludDE2MCBzcXJ0UHJpY2VYOTYsCiAgICAgICAgYnl0ZXMgY2FsbGRhdGEgaG9va0RhdGEKICAgICkgZXh0ZXJuYWwgewogICAgICAgIC8vIHNvcnQgeW91ciB0b2tlbnMhIHY0IHJlcXVpcmVzIHRva2VuMCA8IHRva2VuMQogICAgICAgIGlmICh0b2tlbjAgPiB0b2tlbjEpIHsKICAgICAgICAgICAgKHRva2VuMCwgdG9rZW4xKSA9ICh0b2tlbjEsIHRva2VuMCk7CiAgICAgICAgfQoKICAgICAgICBQb29sS2V5IG1lbW9yeSBwb29sID0gUG9vbEtleSh7CiAgICAgICAgICAgIGN1cnJlbmN5MDogQ3VycmVuY3kud3JhcCh0b2tlbjApLAogICAgICAgICAgICBjdXJyZW5jeTE6IEN1cnJlbmN5LndyYXAodG9rZW4xKSwKICAgICAgICAgICAgZmVlOiBzd2FwRmVlLAogICAgICAgICAgICB0aWNrU3BhY2luZzogdGlja1NwYWNpbmcsCiAgICAgICAgICAgIGhvb2tzOiBJSG9va3MoaG9vaykKICAgICAgICB9KTsKICAgICAgICBtYW5hZ2VyLmluaXRpYWxpemUocG9vbCwgc3FydFByaWNlWDk2LCBob29rRGF0YSk7CiAgICB9Cn0K"}],Tm=`
A single trading pair (ETH/USDC ), can exist as an infinite number of pools in v4. Uniswap v4 does not restrict fee tiers to 1%, 0.30%, or 0.05%. A trading pair exists as many pools, but one pool has one hook contract
@@ -217,7 +217,7 @@ manager.initialize(pool, startingPrice, hookData);
address hook = address (0x80 );
address token0 = address (0x11 );
address token1 = address (0x22 );
-uint24 swapFee = 3000 ;
+uint24 swapFee = 3000 ;
int24 tickSpacing = 60 ;
@@ -234,7 +234,7 @@ PoolKey memory pool
+`,zm=({prev:e,next:n})=>g.jsx(ui,{version:_m,title:Rm,description:Pm,html:Tm,prev:e,next:n,codes:Lm}),Am="0.8.20",Mm="Single Swap",Bm="Swapping on a single pool",Wm=[{fileName:"Swap.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4yMDsKCmltcG9ydCB7SVBvb2xNYW5hZ2VyfSBmcm9tICJAdW5pc3dhcC92NC1jb3JlL2NvbnRyYWN0cy9pbnRlcmZhY2VzL0lQb29sTWFuYWdlci5zb2wiOwppbXBvcnQge1Bvb2xLZXl9IGZyb20gIkB1bmlzd2FwL3Y0LWNvcmUvY29udHJhY3RzL3R5cGVzL1Bvb2xLZXkuc29sIjsKaW1wb3J0IHtQb29sU3dhcFRlc3R9IGZyb20gIkB1bmlzd2FwL3Y0LWNvcmUvY29udHJhY3RzL3Rlc3QvUG9vbFN3YXBUZXN0LnNvbCI7CmltcG9ydCB7VGlja01hdGh9IGZyb20gIkB1bmlzd2FwL3Y0LWNvcmUvY29udHJhY3RzL2xpYnJhcmllcy9UaWNrTWF0aC5zb2wiOwoKY29udHJhY3QgU3dhcCB7CiAgICAvLyBzZXQgdGhlIHJvdXRlciBhZGRyZXNzCiAgICBQb29sU3dhcFRlc3Qgc3dhcFJvdXRlciA9IFBvb2xTd2FwVGVzdCgweDAxKTsKCiAgICAvLyBzbGlwcGFnZSB0b2xlcmFuY2UgdG8gYWxsb3cgZm9yIHVubGltaXRlZCBwcmljZSBpbXBhY3QKICAgIHVpbnQxNjAgcHVibGljIGNvbnN0YW50IE1JTl9QUklDRV9MSU1JVCA9IFRpY2tNYXRoLk1JTl9TUVJUX1JBVElPICsgMTsKICAgIHVpbnQxNjAgcHVibGljIGNvbnN0YW50IE1BWF9QUklDRV9MSU1JVCA9IFRpY2tNYXRoLk1BWF9TUVJUX1JBVElPIC0gMTsKCiAgICAvLy8gQG5vdGljZSBTd2FwIHRva2VucwogICAgLy8vIEBwYXJhbSBrZXkgdGhlIHBvb2wgd2hlcmUgdGhlIHN3YXAgaXMgaGFwcGVuaW5nCiAgICAvLy8gQHBhcmFtIGFtb3VudFNwZWNpZmllZCB0aGUgYW1vdW50IG9mIHRva2VucyB0byBzd2FwCiAgICAvLy8gQHBhcmFtIHplcm9Gb3JPbmUgd2hldGhlciB0aGUgc3dhcCBpcyB0b2tlbjAgLT4gdG9rZW4xIG9yIHRva2VuMSAtPiB0b2tlbjAKICAgIC8vLyBAcGFyYW0gaG9va0RhdGEgYW55IGRhdGEgdG8gYmUgcGFzc2VkIHRvIHRoZSBwb29sJ3MgaG9vawogICAgZnVuY3Rpb24gc3dhcChQb29sS2V5IG1lbW9yeSBrZXksIGludDI1NiBhbW91bnRTcGVjaWZpZWQsIGJvb2wgemVyb0Zvck9uZSwgYnl0ZXMgbWVtb3J5IGhvb2tEYXRhKSBpbnRlcm5hbCB7CiAgICAgICAgSVBvb2xNYW5hZ2VyLlN3YXBQYXJhbXMgbWVtb3J5IHBhcmFtcyA9IElQb29sTWFuYWdlci5Td2FwUGFyYW1zKHsKICAgICAgICAgICAgemVyb0Zvck9uZTogemVyb0Zvck9uZSwKICAgICAgICAgICAgYW1vdW50U3BlY2lmaWVkOiBhbW91bnRTcGVjaWZpZWQsCiAgICAgICAgICAgIHNxcnRQcmljZUxpbWl0WDk2OiB6ZXJvRm9yT25lID8gTUlOX1BSSUNFX0xJTUlUIDogTUFYX1BSSUNFX0xJTUlUIC8vIHVubGltaXRlZCBpbXBhY3QKICAgICAgICB9KTsKCiAgICAgICAgLy8gaW4gdjQsIHVzZXJzIGhhdmUgdGhlIG9wdGlvbiB0byByZWNlaWV2ZSBuYXRpdmUgRVJDMjBzIG9yIHdyYXBwZWQgRVJDMTE1NSB0b2tlbnMKICAgICAgICAvLyBoZXJlLCB3ZSdsbCB0YWtlIHRoZSBFUkMyMHMKICAgICAgICBQb29sU3dhcFRlc3QuVGVzdFNldHRpbmdzIG1lbW9yeSB0ZXN0U2V0dGluZ3MgPQogICAgICAgICAgICBQb29sU3dhcFRlc3QuVGVzdFNldHRpbmdzKHt3aXRoZHJhd1Rva2VuczogdHJ1ZSwgc2V0dGxlVXNpbmdUcmFuc2ZlcjogdHJ1ZX0pOwoKICAgICAgICBzd2FwUm91dGVyLnN3YXAoa2V5LCBwYXJhbXMsIHRlc3RTZXR0aW5ncywgaG9va0RhdGEpOwogICAgfQp9Cg=="},{fileName:"SwapExampleInputs.sol",code:"UG9vbFN3YXBUZXN0IHN3YXBSb3V0ZXIgPSBQb29sU3dhcFRlc3QoMHgwMSk7CgovLyBzbGlwcGFnZSB0b2xlcmFuY2UgdG8gYWxsb3cgZm9yIHVubGltaXRlZCBwcmljZSBpbXBhY3QKdWludDE2MCBwdWJsaWMgY29uc3RhbnQgTUlOX1BSSUNFX0xJTUlUID0gVGlja01hdGguTUlOX1NRUlRfUkFUSU8gKyAxOwp1aW50MTYwIHB1YmxpYyBjb25zdGFudCBNQVhfUFJJQ0VfTElNSVQgPSBUaWNrTWF0aC5NQVhfU1FSVF9SQVRJTyAtIDE7CgphZGRyZXNzIHRva2VuMCA9IGFkZHJlc3MoMHgxMSk7CmFkZHJlc3MgdG9rZW4xID0gYWRkcmVzcygweDIyKTsKYWRkcmVzcyBob29rQWRkciA9IGFkZHJlc3MoMHgzMyk7CgpQb29sS2V5IG1lbW9yeSBwb29sID0gUG9vbEtleSh7CiAgICBjdXJyZW5jeTA6IEN1cnJlbmN5LndyYXAodG9rZW4wKSwKICAgIGN1cnJlbmN5MTogQ3VycmVuY3kud3JhcCh0b2tlbjEpLAogICAgZmVlOiAzMDAwLAogICAgdGlja1NwYWNpbmc6IDYwLAogICAgaG9va3M6IElIb29rcyhob29rQWRkcikKfSk7CgovLyBhcHByb3ZlIHRva2VucyB0byB0aGUgc3dhcCByb3V0ZXIKSUVSQzIwKHRva2VuMCkuYXBwcm92ZShhZGRyZXNzKHN3YXBSb3V0ZXIpLCB0eXBlKHVpbnQyNTYpLm1heCk7CklFUkMyMCh0b2tlbjEpLmFwcHJvdmUoYWRkcmVzcyhzd2FwUm91dGVyKSwgdHlwZSh1aW50MjU2KS5tYXgpOwoKLy8gLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSAvLwovLyBTd2FwIDFlMTggdG9rZW4wIGludG8gdG9rZW4xCi8vIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gLy8KYm9vbCB6ZXJvRm9yT25lID0gdHJ1ZTsKSVBvb2xNYW5hZ2VyLlN3YXBQYXJhbXMgbWVtb3J5IHBhcmFtcyA9IElQb29sTWFuYWdlci5Td2FwUGFyYW1zKHsKICAgIHplcm9Gb3JPbmU6IHplcm9Gb3JPbmUsCiAgICBhbW91bnRTcGVjaWZpZWQ6IDFlMTgsCiAgICBzcXJ0UHJpY2VMaW1pdFg5NjogemVyb0Zvck9uZSA/IE1JTl9QUklDRV9MSU1JVCA6IE1BWF9QUklDRV9MSU1JVCAvLyB1bmxpbWl0ZWQgaW1wYWN0Cn0pOwoKLy8gaW4gdjQsIHVzZXJzIGhhdmUgdGhlIG9wdGlvbiB0byByZWNlaWV2ZSBuYXRpdmUgRVJDMjBzIG9yIHdyYXBwZWQgRVJDMTE1NSB0b2tlbnMKLy8gaGVyZSwgd2UnbGwgdGFrZSB0aGUgRVJDMjBzClBvb2xTd2FwVGVzdC5UZXN0U2V0dGluZ3MgbWVtb3J5IHRlc3RTZXR0aW5ncyA9CiAgICBQb29sU3dhcFRlc3QuVGVzdFNldHRpbmdzKHt3aXRoZHJhd1Rva2VuczogdHJ1ZSwgc2V0dGxlVXNpbmdUcmFuc2ZlcjogdHJ1ZX0pOwoKYnl0ZXMgbWVtb3J5IGhvb2tEYXRhID0gbmV3IGJ5dGVzKDApOyAvLyBubyBob29rIGRhdGEgb24gdGhlIGhvb2tsZXNzIHBvb2wKc3dhcFJvdXRlci5zd2FwKGtleSwgcGFyYW1zLCB0ZXN0U2V0dGluZ3MsIGhvb2tEYXRhKTsK"}],Fm=`
Swap between tokens on a single pool
Swapping will typically make use of a periphery contract. It is not recommended to directly swap with poolManager.swap
@@ -296,7 +296,6 @@ manager.initialize(pool, startingPrice, hookData);
address token1 = address (0x22 );
address hookAddr = address (0x33 );
-
PoolKey memory pool = PoolKey({
currency0: Currency.wrap (token0),
currency1: Currency.wrap (token1),
@@ -326,4 +325,4 @@ PoolSwapTest.TestSettings memory testSettings
bytes memory hookData = new bytes (0 );
swapRouter.swap(key, params, testSettings, hookData);
-`,Um=({prev:e,next:n})=>g.jsx(ui,{version:Am,title:Bm,description:Mm,html:Fm,prev:e,next:n,codes:Wm}),Vm=({size:e,className:n=""})=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",width:e,height:e,className:n,children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})}),Gm="_component_efeb7_1",Zm="_icon_efeb7_8",Om="_input_efeb7_12",ds={component:Gm,icon:Zm,input:Om},Dm=({value:e,onChange:n})=>{function t(r){n(r.target.value)}return g.jsxs("div",{className:ds.component,children:[g.jsx(Vm,{size:18,className:ds.icon}),g.jsx("input",{className:ds.input,placeholder:"Search",value:e,onChange:t})]})};var Hm="Expected a function",Ra=0/0,Xm="[object Symbol]",Ym=/^\s+|\s+$/g,Km=/^[-+]0x[0-9a-f]+$/i,Qm=/^0b[01]+$/i,$m=/^0o[0-7]+$/i,Jm=parseInt,bm=typeof pr=="object"&&pr&&pr.Object===Object&&pr,qm=typeof self=="object"&&self&&self.Object===Object&&self,e0=bm||qm||Function("return this")(),n0=Object.prototype,t0=n0.toString,r0=Math.max,l0=Math.min,fs=function(){return e0.Date.now()};function s0(e,n,t){var r,l,s,o,i,a,u=0,d=!1,h=!1,m=!0;if(typeof e!="function")throw new TypeError(Hm);n=Pa(n)||0,uo(t)&&(d=!!t.leading,h="maxWait"in t,s=h?r0(Pa(t.maxWait)||0,n):s,m="trailing"in t?!!t.trailing:m);function w(C){var x=r,_=l;return r=l=void 0,u=C,o=e.apply(_,x),o}function v(C){return u=C,i=setTimeout(p,n),d?w(C):o}function k(C){var x=C-a,_=C-u,U=n-x;return h?l0(U,s-_):U}function R(C){var x=C-a,_=C-u;return a===void 0||x>=n||x<0||h&&_>=s}function p(){var C=fs();if(R(C))return c(C);i=setTimeout(p,k(C))}function c(C){return i=void 0,m&&r?w(C):(r=l=void 0,o)}function f(){i!==void 0&&clearTimeout(i),u=0,r=a=l=i=void 0}function y(){return i===void 0?o:c(fs())}function I(){var C=fs(),x=R(C);if(r=arguments,l=this,a=C,x){if(i===void 0)return v(a);if(h)return i=setTimeout(p,n),w(a)}return i===void 0&&(i=setTimeout(p,n)),o}return I.cancel=f,I.flush=y,I}function uo(e){var n=typeof e;return!!e&&(n=="object"||n=="function")}function o0(e){return!!e&&typeof e=="object"}function i0(e){return typeof e=="symbol"||o0(e)&&t0.call(e)==Xm}function Pa(e){if(typeof e=="number")return e;if(i0(e))return Ra;if(uo(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=uo(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=e.replace(Ym,"");var t=Qm.test(e);return t||$m.test(e)?Jm(e.slice(2),t?2:8):Km.test(e)?Ra:+e}var a0=s0;const u0=Ba(a0),c0={leading:!1,trailing:!0};function p0(e,n,t){return j.useCallback(u0(e,n,c0),t)}function d0(e,n){let t=e;for(let r=0;r0;){const[s,o,i]=n.pop();l&&(r=r.slice(0,o-1),l=!1),r+=s;const a=Object.keys(i);if(a.length>0)for(let u=0;un+l)}const m0=["/swap"],g0=["/swap"],y0=["/swap"],v0=["/initialize"],w0=["/initialize"],k0=["/initialize"],S0=["/initialize"],C0=["/initialize"],I0=["/initialize"],j0=["/create-liquidity"],x0=["/create-liquidity"],E0=["/create-liquidity"],N0=["/create-liquidity"],_0=["/create-liquidity"],R0=["/create-liquidity"],La={swap:m0,trade:g0,swapping:y0,pool:v0,initialize:w0,init:k0,create:S0,pair:C0,factory:I0,liquidity:j0,LP:x0,lp:E0,provide:N0,provision:_0,supply:R0},Ta={"/swap":["swap","trade","swapping"],"/initialize":["pool","initialize","init","create","pair","factory"],"/create-liquidity":["liquidity","LP","lp","provide","provision","supply"]},dp=[];for(const e of Object.keys(Ta))dp.push(...Ta[e]);const fp={};for(const e of dp)d0(fp,e);function P0(e){return Array.from(new Set(e))}function L0(e){const n=[],t=h0(fp,e.toLowerCase());for(const r of t)La[r]&&n.push(...La[r]);return n}const T0="_component_196j1_1",z0="_updates_196j1_8",A0="_category_196j1_13",B0="_search_196j1_16",M0="_listItem_196j1_20",W0="_label_196j1_28",F0="_header_196j1_31",U0="_youTube_196j1_34",V0="_youTubeLogo_196j1_40",Pe={component:T0,updates:z0,category:A0,search:B0,listItem:M0,label:W0,header:F0,youTube:U0,youTubeLogo:V0},G0=["2023/11/13 - Make snippets concise","2023/10/18 - Initial V4 Snippets"];function Z0(){const[e,n]=j.useState(""),[t,r]=Bh(),[l,s]=j.useState(null);j.useEffect(()=>{const d=t.get("q");d!=null&&d.length>0&&(n(d),o(d,!1))},[]);function o(d,h){const m=d.trim();if(m.length==0){s(null),h&&r({q:""});return}const w=P0(m.split(" ")),v={};for(const k of w){const R=L0(k);for(const p of R)v[p]=!0}s(v),h&&r({q:m})}const i=p0(d=>o(d,!0),500,[]);function a(d){n(d),i(d)}function u(){return l?Object.keys(l).length==0?g.jsx("div",{children:"No results"}):g.jsx("ul",{className:Pe.list,children:hl.filter(({path:d})=>l[d]).map(({path:d,title:h})=>g.jsx("li",{className:Pe.listItem,children:g.jsx("a",{href:d,children:h})},d))}):g.jsx(g.Fragment,{children:ai.map(({routes:d,title:h},m)=>g.jsxs("div",{children:[h&&g.jsx("h3",{className:Pe.category,children:h}),g.jsx("ul",{className:Pe.list,children:d.map(({path:w,title:v})=>g.jsx("li",{className:Pe.listItem,children:g.jsx("a",{href:w,children:v})},w))})]},m))})}return g.jsxs("div",{className:Pe.component,children:[g.jsx(pp,{title:"Uniswap v4 by Example | 0.8.22",description:"Learn Uniswap v4 using Solidity"}),g.jsx("h1",{className:Pe.header,children:g.jsx("a",{href:"/",children:"Uniswap v4 by Example"})}),g.jsx("div",{className:Pe.subHeader,children:"v0.8.22"}),g.jsxs("div",{className:Pe.main,children:[g.jsxs("p",{children:["An introduction to integrating and using"," ",g.jsx("a",{href:"https://github.com/uniswap/v4-core",children:"Uniswap v4"})," through simple examples"]}),g.jsx("div",{className:Pe.updates,children:G0.map((d,h)=>g.jsx("div",{children:d},h))}),g.jsx("div",{className:Pe.search,children:g.jsx(Dm,{value:e,onChange:a})}),u()]})]})}const O0=[{path:"/create-liquidity",component:Nm},{path:"/initialize",component:zm},{path:"/swap",component:Um},{path:"",component:Z0}];function za(){const{state:e,init:n}=si();return j.useLayoutEffect(()=>{n({width:window.document.body.clientWidth})},[]),e.initialized?g.jsx(Ah,{basename:{}.VITE_PUBLIC_URL,children:g.jsx(ym,{children:g.jsx(Lh,{children:O0.map(t=>{const{prev:r,next:l}=Yh(t.path);return g.jsx(cp,{path:t.path,element:Ha.createElement(t.component,{prev:r,next:l})},t.path)})})})}):null}const D0=document.getElementById("root"),H0=Jc(D0),Aa=document.getElementById("root");Aa.hasChildNodes()?$c(Aa,g.jsx(Sa,{children:g.jsx(za,{})})):H0.render(g.jsx(Sa,{children:g.jsx(za,{})}));
+`,Um=({prev:e,next:n})=>g.jsx(ui,{version:Am,title:Mm,description:Bm,html:Fm,prev:e,next:n,codes:Wm}),Vm=({size:e,className:n=""})=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",width:e,height:e,className:n,children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})}),Gm="_component_efeb7_1",Zm="_icon_efeb7_8",Om="_input_efeb7_12",ds={component:Gm,icon:Zm,input:Om},Dm=({value:e,onChange:n})=>{function t(r){n(r.target.value)}return g.jsxs("div",{className:ds.component,children:[g.jsx(Vm,{size:18,className:ds.icon}),g.jsx("input",{className:ds.input,placeholder:"Search",value:e,onChange:t})]})};var Hm="Expected a function",Ra=0/0,Xm="[object Symbol]",Ym=/^\s+|\s+$/g,Km=/^[-+]0x[0-9a-f]+$/i,Qm=/^0b[01]+$/i,$m=/^0o[0-7]+$/i,Jm=parseInt,bm=typeof pr=="object"&&pr&&pr.Object===Object&&pr,qm=typeof self=="object"&&self&&self.Object===Object&&self,e0=bm||qm||Function("return this")(),n0=Object.prototype,t0=n0.toString,r0=Math.max,l0=Math.min,fs=function(){return e0.Date.now()};function s0(e,n,t){var r,l,s,o,i,a,u=0,d=!1,h=!1,m=!0;if(typeof e!="function")throw new TypeError(Hm);n=Pa(n)||0,uo(t)&&(d=!!t.leading,h="maxWait"in t,s=h?r0(Pa(t.maxWait)||0,n):s,m="trailing"in t?!!t.trailing:m);function w(C){var x=r,_=l;return r=l=void 0,u=C,o=e.apply(_,x),o}function v(C){return u=C,i=setTimeout(p,n),d?w(C):o}function k(C){var x=C-a,_=C-u,U=n-x;return h?l0(U,s-_):U}function R(C){var x=C-a,_=C-u;return a===void 0||x>=n||x<0||h&&_>=s}function p(){var C=fs();if(R(C))return c(C);i=setTimeout(p,k(C))}function c(C){return i=void 0,m&&r?w(C):(r=l=void 0,o)}function f(){i!==void 0&&clearTimeout(i),u=0,r=a=l=i=void 0}function y(){return i===void 0?o:c(fs())}function I(){var C=fs(),x=R(C);if(r=arguments,l=this,a=C,x){if(i===void 0)return v(a);if(h)return i=setTimeout(p,n),w(a)}return i===void 0&&(i=setTimeout(p,n)),o}return I.cancel=f,I.flush=y,I}function uo(e){var n=typeof e;return!!e&&(n=="object"||n=="function")}function o0(e){return!!e&&typeof e=="object"}function i0(e){return typeof e=="symbol"||o0(e)&&t0.call(e)==Xm}function Pa(e){if(typeof e=="number")return e;if(i0(e))return Ra;if(uo(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=uo(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=e.replace(Ym,"");var t=Qm.test(e);return t||$m.test(e)?Jm(e.slice(2),t?2:8):Km.test(e)?Ra:+e}var a0=s0;const u0=Ma(a0),c0={leading:!1,trailing:!0};function p0(e,n,t){return j.useCallback(u0(e,n,c0),t)}function d0(e,n){let t=e;for(let r=0;r0;){const[s,o,i]=n.pop();l&&(r=r.slice(0,o-1),l=!1),r+=s;const a=Object.keys(i);if(a.length>0)for(let u=0;un+l)}const m0=["/swap"],g0=["/swap"],y0=["/swap"],v0=["/initialize"],w0=["/initialize"],k0=["/initialize"],S0=["/initialize"],C0=["/initialize"],I0=["/initialize"],j0=["/create-liquidity"],x0=["/create-liquidity"],E0=["/create-liquidity"],N0=["/create-liquidity"],_0=["/create-liquidity"],R0=["/create-liquidity"],La={swap:m0,trade:g0,swapping:y0,pool:v0,initialize:w0,init:k0,create:S0,pair:C0,factory:I0,liquidity:j0,LP:x0,lp:E0,provide:N0,provision:_0,supply:R0},Ta={"/swap":["swap","trade","swapping"],"/initialize":["pool","initialize","init","create","pair","factory"],"/create-liquidity":["liquidity","LP","lp","provide","provision","supply"]},dp=[];for(const e of Object.keys(Ta))dp.push(...Ta[e]);const fp={};for(const e of dp)d0(fp,e);function P0(e){return Array.from(new Set(e))}function L0(e){const n=[],t=h0(fp,e.toLowerCase());for(const r of t)La[r]&&n.push(...La[r]);return n}const T0="_component_196j1_1",z0="_updates_196j1_8",A0="_category_196j1_13",M0="_search_196j1_16",B0="_listItem_196j1_20",W0="_label_196j1_28",F0="_header_196j1_31",U0="_youTube_196j1_34",V0="_youTubeLogo_196j1_40",Pe={component:T0,updates:z0,category:A0,search:M0,listItem:B0,label:W0,header:F0,youTube:U0,youTubeLogo:V0},G0=["2023/11/13 - Make snippets concise","2023/10/18 - Initial V4 Snippets"];function Z0(){const[e,n]=j.useState(""),[t,r]=Mh(),[l,s]=j.useState(null);j.useEffect(()=>{const d=t.get("q");d!=null&&d.length>0&&(n(d),o(d,!1))},[]);function o(d,h){const m=d.trim();if(m.length==0){s(null),h&&r({q:""});return}const w=P0(m.split(" ")),v={};for(const k of w){const R=L0(k);for(const p of R)v[p]=!0}s(v),h&&r({q:m})}const i=p0(d=>o(d,!0),500,[]);function a(d){n(d),i(d)}function u(){return l?Object.keys(l).length==0?g.jsx("div",{children:"No results"}):g.jsx("ul",{className:Pe.list,children:hl.filter(({path:d})=>l[d]).map(({path:d,title:h})=>g.jsx("li",{className:Pe.listItem,children:g.jsx("a",{href:d,children:h})},d))}):g.jsx(g.Fragment,{children:ai.map(({routes:d,title:h},m)=>g.jsxs("div",{children:[h&&g.jsx("h3",{className:Pe.category,children:h}),g.jsx("ul",{className:Pe.list,children:d.map(({path:w,title:v})=>g.jsx("li",{className:Pe.listItem,children:g.jsx("a",{href:w,children:v})},w))})]},m))})}return g.jsxs("div",{className:Pe.component,children:[g.jsx(pp,{title:"Uniswap v4 by Example | 0.8.22",description:"Learn Uniswap v4 using Solidity"}),g.jsx("h1",{className:Pe.header,children:g.jsx("a",{href:"/",children:"Uniswap v4 by Example"})}),g.jsx("div",{className:Pe.subHeader,children:"v0.8.22"}),g.jsxs("div",{className:Pe.main,children:[g.jsxs("p",{children:["An introduction to integrating and using"," ",g.jsx("a",{href:"https://github.com/uniswap/v4-core",children:"Uniswap v4"})," through simple examples"]}),g.jsx("div",{className:Pe.updates,children:G0.map((d,h)=>g.jsx("div",{children:d},h))}),g.jsx("div",{className:Pe.search,children:g.jsx(Dm,{value:e,onChange:a})}),u()]})]})}const O0=[{path:"/create-liquidity",component:Nm},{path:"/initialize",component:zm},{path:"/swap",component:Um},{path:"",component:Z0}];function za(){const{state:e,init:n}=si();return j.useLayoutEffect(()=>{n({width:window.document.body.clientWidth})},[]),e.initialized?g.jsx(Ah,{basename:{}.VITE_PUBLIC_URL,children:g.jsx(ym,{children:g.jsx(Lh,{children:O0.map(t=>{const{prev:r,next:l}=Yh(t.path);return g.jsx(cp,{path:t.path,element:Ha.createElement(t.component,{prev:r,next:l})},t.path)})})})}):null}const D0=document.getElementById("root"),H0=Jc(D0),Aa=document.getElementById("root");Aa.hasChildNodes()?$c(Aa,g.jsx(Sa,{children:g.jsx(za,{})})):H0.render(g.jsx(Sa,{children:g.jsx(za,{})}));
diff --git a/create-liquidity/index.html b/create-liquidity/index.html
index a919caeb..cb1e4538 100644
--- a/create-liquidity/index.html
+++ b/create-liquidity/index.html
@@ -28,7 +28,7 @@
gtag("config", "UA-133759045-1")
-
+
diff --git a/index.html b/index.html
index a919caeb..cb1e4538 100644
--- a/index.html
+++ b/index.html
@@ -28,7 +28,7 @@
gtag("config", "UA-133759045-1")
-
+
diff --git a/initialize/index.html b/initialize/index.html
index a919caeb..cb1e4538 100644
--- a/initialize/index.html
+++ b/initialize/index.html
@@ -28,7 +28,7 @@
gtag("config", "UA-133759045-1")
-
+
diff --git a/swap/index.html b/swap/index.html
index a919caeb..cb1e4538 100644
--- a/swap/index.html
+++ b/swap/index.html
@@ -28,7 +28,7 @@
gtag("config", "UA-133759045-1")
-
+